:root {
    --py-blue: #006b9c;
    --py-blue-dark: #075486;
    --py-blue-ink: #063f66;
    --py-blue-soft: #eaf6ff;
    --py-pink: #e40046;
    --py-pink-soft: #fff0f5;
    --py-text: #334;
    --py-muted: #60788d;
    --py-line: #ecebeb;
    --py-bg: #f9f9f9;
    --py-white: #ffffff;
    --color-primary: #006b9c;
    --color-primary-dark: #075486;
    --color-accent: #e40046;
    --color-text: #24313c;
    --color-muted: #60788d;
    --color-bg: #f4f8fb;
    --color-border: #dce8f0;
    --radius-card: 16px;
    --container-width: 1180px;
}

body.pyatochka-site {
    background: #fff;
    color: var(--py-text);
    font-family: "Open Sans", Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    text-rendering: optimizeLegibility;
}

.pyatochka-site a {
    color: var(--py-blue);
}

.pyatochka-site a:hover,
.pyatochka-site a:focus {
    color: var(--py-blue-dark);
}

.pyatochka-pre-header {
    background: #fff;
    color: #24313c !important;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    font-weight: 600;
}

.pyatochka-pre-header a,
.pyatochka-pre-header span,
.pyatochka-pre-header i {
    color: #24313c;
}

.pyatochka-pre-header a,
.pyatochka-cart-line .bx-basket-block a,
.pyatochka-catalog-seo-contact a {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.pyatochka-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -0.25em;
}

.pyatochka-pre-header .pyatochka-icon {
    margin-right: 6px;
    color: #24313c;
}

.pyatochka-pre-header .pyatochka-icon-whatsapp {
    color: #128c4a;
}

.pyatochka-header {
    border-bottom: 0;
    box-shadow: none;
    background: #fff;
}

.pyatochka-header .container {
    position: relative;
}

.pyatochka-logo {
    display: block;
    min-height: 0;
    padding: 0;
    color: var(--py-blue-dark);
    text-decoration: none;
    line-height: 0;
}

.pyatochka-header .site-logo.pyatochka-logo {
    float: left;
    min-height: 0;
    margin-right: 34px;
    padding: 1px 0;
}

.pyatochka-logo-mark,
.pyatochka-footer-brand .pyatochka-logo-mark {
    border: 0;
    border-radius: 0;
    object-fit: contain;
    background: #fff;
    box-shadow: none;
}

.pyatochka-header .pyatochka-logo-mark {
    display: block;
    width: 312px;
    height: 104px;
    max-width: none;
}

.pyatochka-footer-brand .pyatochka-logo-mark {
    width: 58px;
    height: 58px;
}

.pyatochka-wordmark {
    display: block;
    color: var(--py-blue-ink);
    font-family: "Source Sans 3", "Open Sans", Arial, sans-serif;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    text-transform: uppercase;
}

.pyatochka-wordmark small {
    display: block;
    margin-top: 6px;
    color: var(--py-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: none;
}

.pyatochka-nav {
    float: right;
}

.pyatochka-nav > ul {
    float: left;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pyatochka-nav > ul > li {
    float: left;
}

.pyatochka-nav > ul > li > a {
    display: block;
    padding: 34px 15px 32px;
    color: #24313c !important;
    background: transparent;
    font-family: "PT Sans Narrow", "Open Sans", Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.pyatochka-nav > ul > li > a:hover,
.pyatochka-nav > ul > li > a:focus,
.pyatochka-nav > ul > li.active > a {
    color: #063f66 !important;
    background: transparent;
}

.pyatochka-nav > ul > li.active > a {
    box-shadow: inset 0 -3px 0 var(--py-pink);
}

.pyatochka-nav .menu-search {
    position: relative;
    padding: 32px 0 30px 12px;
}

.pyatochka-nav .menu-search .sep {
    display: inline-block;
    width: 1px;
    height: 26px;
    margin: 0 18px 0 4px;
    vertical-align: middle;
    background: #eaeaea;
}

.pyatochka-nav .search-btn {
    color: #b7bdc3;
    cursor: pointer;
    font-size: 17px;
}

.pyatochka-nav .search-box {
    display: none;
    position: absolute;
    top: 82px;
    right: 0;
    width: 300px;
    padding: 15px;
    background: #fff;
    box-shadow: 5px 5px rgba(91, 91, 91, 0.2);
    z-index: 1000;
}

.pyatochka-nav .menu-search:hover .search-box,
.pyatochka-nav .menu-search:focus-within .search-box {
    display: block;
}

.pyatochka-nav #horizontal-multilevel-menu,
.pyatochka-nav #horizontal-multilevel-menu ul {
    width: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    float: none;
    background: transparent;
    list-style: none;
    font-size: 15px;
}

.pyatochka-nav #horizontal-multilevel-menu > li {
    float: left;
}

.pyatochka-nav #horizontal-multilevel-menu > li > a {
    display: block;
    padding: 34px 16px 32px;
    color: #767f88;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
}

.pyatochka-nav #horizontal-multilevel-menu > li:hover > a,
.pyatochka-nav #horizontal-multilevel-menu > li.item-selected > a,
.pyatochka-nav #horizontal-multilevel-menu > li > a.root-item-selected {
    color: var(--py-blue);
    background: transparent;
}

.pyatochka-nav #horizontal-multilevel-menu li ul {
    top: 88px;
    width: 220px;
    border: 0;
    border-top: solid 3px var(--py-blue);
    background: #fff;
    box-shadow: 5px 5px rgba(91, 91, 91, 0.2);
    z-index: 999;
}

.pyatochka-nav #horizontal-multilevel-menu li:hover > ul {
    display: block;
}

.pyatochka-nav #horizontal-multilevel-menu li ul a {
    padding: 9px 15px;
    color: #767f88;
    font-weight: 400;
    text-align: left;
    text-transform: none;
}

.pyatochka-menu-toggle {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 1px solid var(--py-line);
    background: var(--py-white);
    color: var(--py-blue);
}

.pyatochka-cart-line {
    float: right;
    min-width: 150px;
    margin: 29px 0 0 22px;
}

.pyatochka-cart-line .bx-basket {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border: 1px solid #ecebeb;
    border-radius: 16px;
    background: #fff;
    color: var(--py-blue-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pyatochka-cart-line .bx-basket:hover,
.pyatochka-cart-line .bx-basket:focus-within {
    border-color: rgba(0, 107, 156, 0.45);
    box-shadow: 0 4px 14px rgba(6, 63, 102, 0.08);
}

.pyatochka-cart-line .bx-basket-block {
    margin: 0;
}

.pyatochka-cart-line .fa,
.pyatochka-cart-line .glyphicon {
    color: var(--py-blue);
}

.pyatochka-main {
    min-height: 52vh;
    padding-bottom: 0;
    background: #f9f9f9;
}

.pyatochka-shop-slider {
    margin-bottom: 35px;
}

.pyatochka-shop-slider .carousel-slider .item {
    position: relative;
    height: 580px;
    min-height: 580px;
    background-color: #032d47;
    background-position: center center;
    background-size: cover;
}

.pyatochka-shop-slider .carousel-slider .item:before {
    content: "";
    position: absolute;
    inset: 0;
    display: none;
    background: none;
}

.pyatochka-shop-slider .carousel-slider .container {
    position: relative;
    z-index: 2;
}

.pyatochka-shop-slider .carousel-position-four {
    top: 57px;
}

.pyatochka-shop-slider .carousel-item-four {
    background-image: url("assets/pages/img/shop-slider/slide1/bg.jpg");
}

.pyatochka-shop-slider .carousel-item-five {
    background-image: url("assets/pages/img/shop-slider/slide2/bg.jpg");
}

.pyatochka-shop-slider .carousel-item-six {
    background-image: url("assets/pages/img/shop-slider/slide3/bg.jpg");
}

.pyatochka-shop-slider .carousel-title-v3,
.pyatochka-shop-slider .carousel-title-v4,
.pyatochka-shop-slider .carousel-subtitle-v2,
.pyatochka-shop-slider .carousel-subtitle-v3,
.pyatochka-shop-slider .carousel-subtitle-v4 {
    letter-spacing: 0;
}

.pyatochka-shop-slider .carousel-title-v3,
.pyatochka-shop-slider .carousel-title-v4 {
    font-family: "Source Sans 3", "Open Sans", Arial, sans-serif;
    font-weight: 800;
    line-height: 1.05;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.pyatochka-shop-slider .carousel-title-v3 {
    font-size: 60px;
}

.pyatochka-shop-slider .carousel-subtitle-v2,
.pyatochka-shop-slider .carousel-subtitle-v3 {
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.45;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.pyatochka-shop-slider .color-blue,
.pyatochka-shop-slider .carousel-subtitle-v4 {
    color: #bfeaff;
}

.pyatochka-shop-slider .carousel-btn {
    background: var(--py-blue);
    color: #fff;
    border-radius: 4px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(6, 63, 102, 0.24);
}

.pyatochka-shop-slider .carousel-btn:hover {
    background: var(--py-pink);
}

.pyatochka-btn,
.btn.btn-primary,
.pyatochka-site .btn-primary,
.pyatochka-site .btn-default.add2cart,
.pyatochka-site .product-item .add2cart {
    border-color: var(--py-blue);
    background: var(--py-blue);
    color: #fff;
}

.pyatochka-btn:hover,
.btn.btn-primary:hover,
.pyatochka-site .btn-primary:hover,
.pyatochka-site .btn-default.add2cart:hover,
.pyatochka-site .product-item .add2cart:hover {
    border-color: var(--py-blue-dark);
    background: var(--py-blue-dark);
    color: #fff;
}

.pyatochka-section {
    padding: 0 0 42px;
}

.pyatochka-section h1,
.pyatochka-section h2,
.sale-product h2 {
    margin: 0 0 24px;
    color: #3e4d5c;
    font-family: "Open Sans", Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 400;
    text-transform: uppercase;
}

.sale-product h2:after,
.pyatochka-section h1:after {
    content: none;
}

.pyatochka-note {
    padding: 18px 20px;
    border: 1px solid var(--py-line);
    border-radius: 8px;
    background: var(--py-white);
    color: var(--py-muted);
}

.pyatochka-products-section .product-item-container,
.pyatochka-products-section .product-item,
.catalog-section .product-item-container,
.catalog-section .product-item {
    background: #fff;
}

.pyatochka-site .product-item {
    position: relative;
    min-height: 405px;
    margin-bottom: 30px;
    padding: 12px 12px 16px;
    border: 1px solid #ecebeb;
    border-radius: 0;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.pyatochka-site .product-item:hover {
    border-color: #fff;
    box-shadow: 5px 5px rgba(234, 234, 234, 0.9);
}

.pyatochka-site .product-item-image-wrapper,
.pyatochka-site .product-item-image-slider,
.pyatochka-site .product-item-image-original,
.pyatochka-site .product-item-image-alternative {
    background-color: #fff;
}

.pyatochka-site .product-item-title {
    min-height: 42px;
    margin: 12px 0 8px;
    color: #3e4d5c;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
}

.pyatochka-site .product-item-title a {
    color: #3e4d5c;
}

.pyatochka-site .product-item-title a:hover {
    color: var(--py-blue);
}

.pyatochka-site .product-item-price-current {
    color: var(--py-blue);
    font-size: 21px;
    font-weight: 700;
}

.pyatochka-site .product-item-hidden,
.pyatochka-site .product-item:hover .product-item-hidden {
    display: block !important;
    opacity: 1 !important;
}

.pyatochka-site .product-item-price-container {
    margin-bottom: 14px;
}

.pyatochka-site .product-item-button-container .btn {
    border-color: var(--py-blue);
    background: #fff;
    color: var(--py-blue);
    min-width: 0;
    min-height: 0;
    border-radius: 0;
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
}

.pyatochka-site .product-item-button-container .btn:hover {
    border-color: var(--py-blue);
    background: var(--py-blue);
    color: #fff;
}

.pyatochka-steps.steps-block-red {
    background: var(--py-blue);
}

.pyatochka-steps .steps-block-col i,
.pyatochka-steps .steps-block-col h2,
.pyatochka-steps .steps-block-col em {
    color: #fff;
}

.pyatochka-steps .steps-block-col span {
    border-left-color: rgba(255, 255, 255, 0.28);
    background: none !important;
}

.pyatochka-service-strip {
    border-top: 1px solid var(--py-line);
    border-bottom: 1px solid var(--py-line);
    background: #fff;
}

.pyatochka-service-strip .row > div {
    display: flex;
    min-height: 92px;
    align-items: center;
    gap: 12px;
    color: var(--py-text);
}

.pyatochka-service-strip i {
    color: var(--py-blue);
    font-size: 28px;
}

.pyatochka-service-strip strong {
    display: block;
    color: var(--py-blue-ink);
    font-weight: 700;
}

.pyatochka-service-strip span {
    color: var(--py-muted);
}

.pyatochka-footer {
    padding: 38px 0 24px;
    background: #24313c;
    color: #cfcfcf;
}

.pyatochka-footer a {
    color: #fff;
}

.pyatochka-footer h2,
.pyatochka-footer h4 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}

.pyatochka-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pyatochka-footer li {
    margin-bottom: 7px;
}

.pyatochka-footer-brand {
    display: flex;
    gap: 14px;
    align-items: center;
}

.pyatochka-footer-brand .pyatochka-logo-mark {
    flex: 0 0 auto;
}

.pyatochka-footer-brand strong,
.pyatochka-footer-brand span {
    display: block;
}

.pyatochka-footer-brand strong {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
}

.pyatochka-footer-brand span {
    color: #d8e5ee;
    line-height: 1.45;
}

.pyatochka-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    color: #bfeaff;
}

.pyatochka-hero-card {
    display: flex;
    min-height: 280px;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2edf4;
    background: linear-gradient(135deg, #fff, var(--py-blue-soft));
}

.pyatochka-hero-card img {
    max-width: 76%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

@media (max-width: 767px) {
    body.pyatochka-site {
        font-size: 14px;
    }

    .pyatochka-pre-header {
        display: none;
    }

    .pyatochka-header {
        min-height: 0;
    }

    .pyatochka-header .site-logo.pyatochka-logo {
        float: none;
        display: inline-block;
        min-height: 91px;
        margin: 0;
        padding: 4px 48px 4px 0;
    }

    .pyatochka-header .pyatochka-logo-mark {
        width: 250px;
        height: 83px;
    }

    .pyatochka-logo span {
        font-size: 22px;
    }

    .pyatochka-wordmark small {
        max-width: 180px;
        font-size: 11px;
    }

    .pyatochka-header .pyatochka-menu-toggle {
        position: absolute;
        top: 21px;
        right: 15px;
        margin: 0;
        z-index: 5;
    }

    .pyatochka-shop-slider {
        margin-bottom: 26px;
    }

    .pyatochka-shop-slider .carousel-slider .item {
        height: 340px;
        min-height: 340px;
    }

    .pyatochka-shop-slider .carousel-position-four {
        top: 34px;
    }

    .pyatochka-shop-slider .carousel-slider .carousel-title-v3 {
        font-size: 31px;
        line-height: 1.1;
        word-break: normal;
        overflow-wrap: normal;
    }

    .pyatochka-shop-slider .carousel-subtitle-v2,
    .pyatochka-shop-slider .carousel-subtitle-v3 {
        padding: 0 16px;
        font-size: 17px;
    }

    .pyatochka-nav {
        float: none;
        clear: both;
    }

    .pyatochka-nav > ul {
        float: none;
        width: 100%;
    }

    .pyatochka-nav #horizontal-multilevel-menu {
        width: 100%;
    }

    .pyatochka-nav #horizontal-multilevel-menu > li {
        float: none;
    }

    .pyatochka-nav > ul > li {
        float: none;
    }

    .pyatochka-nav > ul > li > a,
    .pyatochka-nav #horizontal-multilevel-menu > li > a {
        padding: 12px 0;
    }

    .pyatochka-nav .menu-search {
        display: none;
    }

    .pyatochka-header .top-cart-block.pyatochka-cart-line {
        position: static;
        float: none;
        clear: both;
        min-width: 0;
        margin: 0 0 12px;
    }

    .pyatochka-cart-line .bx-basket {
        width: 100%;
        justify-content: center;
    }

    .pyatochka-section {
        padding-bottom: 30px;
    }

    .pyatochka-section h1,
    .pyatochka-section h2,
    .sale-product h2 {
        font-size: 24px;
    }

    .pyatochka-site .product-item {
        min-height: 376px;
    }

    .pyatochka-service-strip .row > div {
        min-height: 70px;
    }

    .pyatochka-footer {
        padding-top: 30px;
    }
}

.pyatochka-site .container {
    max-width: var(--container-width);
}

.pyatochka-site a:focus-visible,
.pyatochka-site button:focus-visible,
.pyatochka-site input:focus-visible,
.pyatochka-site select:focus-visible,
.pyatochka-site textarea:focus-visible,
.pyatochka-site [role="button"]:focus-visible {
    outline: 3px solid rgba(0, 107, 156, 0.28);
    outline-offset: 2px;
}

.pyatochka-site .btn,
.pyatochka-site button,
.pyatochka-site input[type="submit"],
.pyatochka-site input[type="button"] {
    min-height: 44px;
}

.pyatochka-nav .search-box .input-group {
    display: flex;
    gap: 8px;
}

.pyatochka-nav .search-box .form-control,
.pyatochka-search-form input[type="search"] {
    min-height: 44px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    box-shadow: none;
}

.pyatochka-nav .search-box .input-group-btn {
    display: block;
    width: auto;
}

.pyatochka-shop-slider {
    margin-bottom: 38px;
}

.pyatochka-shop-slider.pyatochka-shop-slider-bottom {
    margin-top: 24px;
    margin-bottom: 0;
}

.pyatochka-shop-slider .carousel-slider .item {
    height: 520px;
    min-height: 520px;
}

.pyatochka-shop-slider .carousel-slider .item:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(3, 45, 71, 0.72), rgba(0, 107, 156, 0.42) 48%, rgba(255, 255, 255, 0.08));
}

.pyatochka-shop-slider .carousel-slider .container {
    z-index: 3;
}

.pyatochka-shop-slider .carousel-position-four {
    top: 52px;
    right: auto;
    left: 15px;
    max-width: 760px;
    text-align: left;
}

.pyatochka-shop-slider .carousel-title-v3 {
    margin-bottom: 14px;
    border-bottom: 0;
    color: #fff;
    font-size: 46px;
    text-align: left;
}

.pyatochka-hero-brand {
    display: inline-block;
    color: #fff;
}

.pyatochka-hero-h1 {
    max-width: 760px;
    margin: 0 0 18px;
    color: #fff;
    font-family: "Source Sans 3", "Open Sans", Arial, sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

.pyatochka-site .pyatochka-shop-slider .carousel-position-four .pyatochka-hero-h1 {
    margin: 0 0 18px;
    color: #fff;
    font-family: "Source Sans 3", "Open Sans", Arial, sans-serif;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.08;
    text-transform: none;
}

.pyatochka-shop-slider .carousel-subtitle-v2 {
    max-width: 650px;
    margin: 0 0 24px;
    color: #f5fbff;
    font-size: 19px;
    line-height: 1.5;
    text-align: left;
}

.pyatochka-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.pyatochka-shop-slider .carousel-btn {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    line-height: 1.2;
}

.pyatochka-shop-slider .pyatochka-hero-secondary {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    box-shadow: none;
}

.pyatochka-shop-slider .pyatochka-hero-secondary:hover,
.pyatochka-shop-slider .pyatochka-hero-secondary:focus {
    border-color: #fff;
    background: #fff;
    color: var(--color-primary);
}

.pyatochka-hero-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 760px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pyatochka-hero-benefits li {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 700;
}

.pyatochka-products-section .row,
.catalog-section .row[data-entity="items-row"],
.catalog-section .product-item-list-row,
.catalog-top .row[data-entity="items-row"],
.catalog-top .product-item-list-row,
.pyatochka-search-page .row[data-entity="items-row"] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-right: 0;
    margin-left: 0;
}

.pyatochka-products-section .row.margin-bottom-40 {
    display: block;
}

.pyatochka-products-section .sale-product {
    float: none;
    width: 100%;
    max-width: none;
}

.pyatochka-products-section .sale-product > .row,
.pyatochka-products-section [data-entity="items-row"],
.pyatochka-products-section .product-item-list-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-right: 0;
    margin-left: 0;
}

.pyatochka-products-section .catalog-section,
.catalog-section .product-item-small-card,
.catalog-top .product-item-small-card {
    float: none;
    width: 100%;
    max-width: none;
}

.catalog-section .product-item-small-card,
.catalog-top .product-item-small-card {
    grid-column: 1 / -1;
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
}

.catalog-section .product-item-big-card,
.catalog-top .product-item-big-card {
    float: none;
    width: auto;
    max-width: none;
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
}

.catalog-section .product-item-big-card > .row,
.catalog-top .product-item-big-card > .row {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-left: 0;
}

.catalog-section .product-item-big-card > .row > [class*="col-"],
.catalog-top .product-item-big-card > .row > [class*="col-"] {
    float: none;
    width: 100%;
    max-width: none;
    padding-right: 0;
    padding-left: 0;
}

.catalog-section .row[class*="product-item-list-col-"],
.catalog-section .product-item-small-card > .row,
.catalog-top .row[class*="product-item-list-col-"],
.catalog-top .product-item-small-card > .row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-right: 0;
    margin-left: 0;
}

.pyatochka-products-section [data-entity="items-row"]:before,
.pyatochka-products-section [data-entity="items-row"]:after,
.pyatochka-products-section .product-item-list-row:before,
.pyatochka-products-section .product-item-list-row:after,
.pyatochka-products-section .row[class*="product-item-list-col-"]:before,
.pyatochka-products-section .row[class*="product-item-list-col-"]:after,
.pyatochka-products-section .product-item-small-card > .row:before,
.pyatochka-products-section .product-item-small-card > .row:after,
.catalog-section .row[class*="product-item-list-col-"]:before,
.catalog-section .row[class*="product-item-list-col-"]:after,
.catalog-section .product-item-small-card > .row:before,
.catalog-section .product-item-small-card > .row:after,
.catalog-top .row[class*="product-item-list-col-"]:before,
.catalog-top .row[class*="product-item-list-col-"]:after,
.catalog-top .product-item-small-card > .row:before,
.catalog-top .product-item-small-card > .row:after {
    display: none;
    content: none;
}

.pyatochka-products-section .product-item-container,
.catalog-section .product-item-container,
.catalog-top .product-item-container,
.pyatochka-search-page .product-item-container,
.pyatochka-products-section [class*="col-"],
.catalog-section [class*="col-"],
.catalog-top [class*="col-"],
.pyatochka-search-page [class*="col-"] {
    width: auto;
    max-width: none;
    min-height: 100%;
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
}

.pyatochka-site .product-item {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 100%;
    min-height: 470px;
    flex-direction: column;
    margin-bottom: 0;
    padding: 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pyatochka-site .product-item:hover,
.pyatochka-site .product-item:focus-within {
    border-color: rgba(0, 107, 156, 0.34);
    box-shadow: 0 12px 34px rgba(36, 49, 60, 0.09);
}

.bx-no-touch .pyatochka-site .product-item-container.hover .product-item,
.bx-no-touch.pyatochka-site .product-item-container.hover .product-item,
.pyatochka-site .product-item-container.hover .product-item {
    position: relative;
    right: auto;
    left: auto;
    width: 100%;
    padding: 16px;
    -webkit-animation: none;
    animation: none;
}

.bx-no-touch .pyatochka-site .product-item-container.hover .product-item .product-item-image-wrapper,
.bx-no-touch.pyatochka-site .product-item-container.hover .product-item .product-item-image-wrapper,
.pyatochka-site .product-item-container.hover .product-item .product-item-image-wrapper {
    padding-top: 0;
}

.pyatochka-site .product-item-image-wrapper,
.pyatochka-site .product-item-image-slider {
    aspect-ratio: 1 / 1;
    min-height: 0;
    margin-bottom: 14px;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.pyatochka-site .product-item-image-wrapper {
    height: 0 !important;
    padding-top: 100% !important;
}

.pyatochka-preview-loading .pyatochka-site .product-item-image-original,
.pyatochka-preview-loading .pyatochka-site .product-item-image-alternative,
.pyatochka-preview-loading .pyatochka-site .product-item-image-slider {
    background-image: none !important;
}

.pyatochka-site .product-item-image-original,
.pyatochka-site .product-item-image-alternative,
.pyatochka-site .product-item-image-slider {
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.pyatochka-site img.pyatochka-neutral-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    background: var(--color-bg);
}

.pyatochka-site .product-item-title {
    min-height: 44px;
    margin: 0 0 8px;
    color: var(--color-text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
}

.pyatochka-site .product-item-title a {
    display: block;
    color: var(--color-text);
    white-space: normal;
    overflow-wrap: anywhere;
}

.pyatochka-card-description {
    min-height: 42px;
    margin: 0 0 12px;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.45;
}

.pyatochka-stock-badge {
    display: inline-flex;
    width: fit-content;
    min-height: 28px;
    align-items: center;
    margin: 0 0 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eaf7ee;
    color: #25763a;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.pyatochka-stock-badge.is-out {
    background: #f4f6f8;
    color: #7b8791;
}

.pyatochka-home-categories-section {
    padding-top: 0;
}

.pyatochka-home-categories-section .container {
    padding-top: 0;
}

.pyatochka-home-categories-section h2 {
    margin: 0 0 18px;
    background: #fff;
    color: #3e4d5c;
    font-family: "Open Sans", Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.pyatochka-site .product-item-detail-tab-link span {
    background: #fff;
    color: #172b3a;
}

.pyatochka-catalog-with-sidebar {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.pyatochka-catalog-with-sidebar-main {
    min-width: 0;
    grid-column: 2;
}

.pyatochka-catalog-sidebar {
    grid-column: 1;
    grid-row: 1;
    position: sticky;
    top: 18px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #fff;
}

.pyatochka-catalog-sidebar h2 {
    margin: 0;
    padding: 16px 18px;
    border-bottom: 1px solid var(--color-border);
    background: #f4f8fb;
    color: #172b3a;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
}

.pyatochka-catalog-sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pyatochka-catalog-sidebar li + li {
    border-top: 1px solid #e9edf2;
}

.pyatochka-catalog-sidebar a {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    color: #24313c;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.pyatochka-catalog-sidebar a:hover,
.pyatochka-catalog-sidebar a:focus,
.pyatochka-catalog-sidebar a[aria-current="page"] {
    background: #eaf6ff;
    color: var(--color-primary-dark);
}

.pyatochka-catalog-sidebar a[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--color-accent);
}

.pyatochka-catalog-sidebar-arrow {
    flex: 0 0 auto;
    color: var(--color-primary);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

@media (max-width: 991px) {
    .pyatochka-catalog-with-sidebar {
        grid-template-columns: 1fr;
    }

    .pyatochka-catalog-with-sidebar-main,
    .pyatochka-catalog-sidebar {
        grid-column: auto;
        grid-row: auto;
    }

    .pyatochka-catalog-sidebar {
        position: static;
    }

    .pyatochka-catalog-sidebar ul {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pyatochka-catalog-sidebar li {
        border-top: 1px solid #e9edf2;
    }

    .pyatochka-catalog-sidebar li:nth-child(2n) {
        border-left: 1px solid #e9edf2;
    }
}

@media (max-width: 520px) {
    .pyatochka-catalog-sidebar ul {
        grid-template-columns: 1fr;
    }

    .pyatochka-catalog-sidebar li:nth-child(2n) {
        border-left: 0;
    }
}

.pyatochka-category-list {
    max-width: 520px;
    margin: 0 0 38px;
    border-top: 1px solid #e9edf2;
    background: #fff;
}

.pyatochka-category-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pyatochka-category-list li {
    margin: 0;
    border-bottom: 1px solid #e9edf2;
}

.pyatochka-category-list a {
    display: flex;
    min-height: 56px;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
    color: #3e4d5c;
    background: #fff;
    font-family: "Open Sans", Arial, "Helvetica Neue", Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease, background-color 0.2s ease, padding-left 0.2s ease;
}

.pyatochka-category-list a:hover,
.pyatochka-category-list a:focus {
    color: var(--color-primary);
    background: #f7fbfe;
    padding-left: 22px;
}

.pyatochka-category-arrow {
    flex: 0 0 auto;
    color: var(--color-primary);
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}

.pyatochka-category-name {
    min-width: 0;
    overflow-wrap: anywhere;
}

.pyatochka-home-shop-layout {
    min-width: 0;
}

.pyatochka-home-categories-sidebar {
    display: none;
    background: #fff;
}

.pyatochka-home-categories-sidebar h2 {
    background: #fff;
    color: #172b3a;
}

.pyatochka-home-products {
    min-width: 0;
}

.pyatochka-site .product-item-price-container {
    margin-top: auto;
    margin-bottom: 12px;
}

.pyatochka-site .product-item-price-current {
    color: var(--color-primary);
    font-size: 22px;
    font-weight: 800;
}

.pyatochka-site .product-item-button-container {
    margin-top: 0;
}

.pyatochka-site .product-item-button-container .btn,
.pyatochka-site .product-item .add2cart {
    display: inline-flex;
    width: 100%;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.pyatochka-site .product-item-button-container .btn.disabled,
.pyatochka-site .product-item-button-container .btn.pyatochka-disabled-buy {
    border-color: #cfd8df;
    background: #eef3f6;
    color: #7b8791;
    cursor: not-allowed;
}

.pyatochka-hidden-unavailable,
.pyatochka-empty-gift,
.pyatochka-duplicate-product {
    display: none !important;
}

.pyatochka-breadcrumbs-bar {
    border-top: 1px solid #edf3f7;
    border-bottom: 1px solid #edf3f7;
    background: #f8fbfd;
}

.pyatochka-breadcrumbs {
    margin: 0;
    padding: 12px 0;
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.4;
}

.pyatochka-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pyatochka-breadcrumbs li {
    display: inline-flex;
    min-width: 0;
    align-items: center;
}

.pyatochka-breadcrumbs li + li:before {
    content: "/";
    margin-right: 9px;
    color: #9aa8b3;
}

.pyatochka-breadcrumbs a {
    color: var(--color-primary);
    font-weight: 700;
}

.pyatochka-breadcrumbs span[aria-current="page"] {
    color: #526979;
}

.pyatochka-detail {
    padding: 22px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: #fff;
}

.pyatochka-detail .product-item-detail-slider-container,
.pyatochka-detail .product-item-detail-info-container {
    background: #fff;
}

.pyatochka-detail .product-item-detail-slider-container {
    max-width: 560px;
}

.pyatochka-detail .product-item-detail-slider-container.popup {
    max-width: none;
}

.pyatochka-detail .product-item-detail-slider-container.popup .product-item-detail-slider-images-container {
    right: 0;
}

.pyatochka-detail .product-item-detail-slider-container.popup .product-item-detail-slider-close {
    right: 4px;
}

.pyatochka-detail .product-item-detail-slider-block {
    padding-top: 100%;
    border: 1px solid #edf3f7;
    border-radius: 12px;
    background: var(--color-bg);
    overflow: hidden;
}

.pyatochka-detail .product-item-detail-slider-images-container {
    overflow: hidden;
}

.pyatochka-detail .product-item-detail-slider-image,
.pyatochka-detail .product-item-detail-slider-image img {
    border-radius: 14px;
    background-color: var(--color-bg);
}

.pyatochka-detail .product-item-detail-slider-image img {
    object-fit: contain;
}

.pyatochka-more-photo-gallery {
    max-width: 560px;
    margin: 12px 0 0;
}

.pyatochka-detail.pyatochka-custom-gallery-ready .product-item-detail-slider-controls-block {
    display: none !important;
}

.pyatochka-more-photo-gallery-title {
    display: none;
}

.pyatochka-more-photo-gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pyatochka-more-photo-button {
    display: block;
    width: 76px;
    height: 76px;
    min-width: 0;
    padding: 4px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.pyatochka-more-photo-button:hover,
.pyatochka-more-photo-button:focus,
.pyatochka-more-photo-button.is-active {
    border-color: var(--color-primary);
}

.pyatochka-more-photo-button img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    border-radius: 5px;
    object-fit: contain;
    background: var(--color-bg);
}

.pyatochka-detail-fulfillment {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
    margin-top: 20px;
}

.pyatochka-detail-fulfillment div {
    min-width: 0;
    min-height: 88px;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-bg);
}

.pyatochka-detail-fulfillment strong,
.pyatochka-detail-fulfillment span {
    display: block;
}

.pyatochka-detail-fulfillment strong {
    margin-bottom: 6px;
    color: var(--color-text);
    font-weight: 800;
    line-height: 1.25;
}

.pyatochka-detail-fulfillment span {
    color: var(--color-muted);
    line-height: 1.4;
    overflow-wrap: normal;
    word-break: normal;
}

.pyatochka-detail-extra-tabs {
    margin-top: 24px;
    padding: 22px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: #fff;
}

.pyatochka-detail-extra-tabs h2 {
    margin: 22px 0 10px;
    color: var(--color-text);
    font-size: 20px;
    font-weight: 800;
    text-transform: none;
}

.pyatochka-detail-extra-tabs h2:first-child {
    margin-top: 0;
}

.pyatochka-detail-extra-tabs p,
.pyatochka-detail-extra-tabs li {
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.55;
}

.pyatochka-contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
    gap: 24px;
}

.pyatochka-contact-primary,
.pyatochka-contact-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: #fff;
}

.pyatochka-contact-primary {
    display: grid;
    gap: 20px;
    align-content: start;
    padding: 24px;
}

.pyatochka-contact-logo {
    display: flex;
    width: 132px;
    height: 132px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #fff;
}

.pyatochka-contact-primary .pyatochka-contact-logo {
    width: min(100%, 280px);
    height: 110px;
}

.pyatochka-contact-logo img {
    width: 112px;
    height: 112px;
    object-fit: contain;
}

.pyatochka-contact-primary .pyatochka-contact-logo img {
    width: 250px;
    max-width: 92%;
    height: 84px;
}

.pyatochka-contact-primary h2,
.pyatochka-contact-card h2 {
    margin: 0 0 10px;
    color: var(--color-text);
    font-size: 20px;
    font-weight: 800;
    text-transform: none;
}

.pyatochka-contact-primary p,
.pyatochka-contact-card p {
    margin: 0;
    color: var(--color-muted);
    line-height: 1.55;
}

.pyatochka-contact-cta {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    margin-top: 18px;
    padding-right: 20px;
    padding-left: 20px;
}

.pyatochka-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pyatochka-contact-card {
    min-height: 170px;
    padding: 22px;
}

.pyatochka-contact-card > i,
.pyatochka-contact-card > .pyatochka-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 10px;
    background: var(--color-bg);
    color: var(--color-primary);
    font-size: 20px;
}

.pyatochka-contact-card > .pyatochka-icon {
    box-sizing: border-box;
    padding: 10px;
    stroke-width: 2;
}

.pyatochka-contact-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pyatochka-contact-links li + li {
    margin-top: 8px;
}

.pyatochka-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 8px;
    font-size: 13px;
    font-weight: 700;
}

.pyatochka-whatsapp-link i,
.pyatochka-whatsapp-link .pyatochka-icon {
    color: #128c4a;
    font-size: 15px;
}

.pyatochka-whatsapp-link .pyatochka-icon,
.pyatochka-contact-cta .pyatochka-icon {
    width: 16px;
    height: 16px;
}

.pyatochka-contact-cta {
    gap: 7px;
}

.bx_sitemap .bx_sitemap_li_title a,
.bx_sitemap .bx_sitemap_li_title a span {
    color: #315c7d !important;
    font-size: 15px;
}

.pyatochka-site [id$="_quant_measure"] {
    color: #767676 !important;
}

.pyatochka-search-page .container,
.pyatochka-section > .container {
    padding-top: 30px;
}

.pyatochka-search-form {
    display: flex;
    gap: 10px;
    max-width: 620px;
    margin-bottom: 24px;
}

.pyatochka-search-form input[type="search"] {
    flex: 1 1 auto;
    padding: 10px 12px;
}

.pyatochka-search-title {
    margin-top: 12px;
    text-transform: none;
}

.pyatochka-empty-cart-note {
    margin-top: 16px;
    color: var(--color-muted);
    font-size: 16px;
}

.pyatochka-empty-cart-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding-right: 20px;
    padding-left: 20px;
}

.pyatochka-link-disabled {
    color: #9ba8b3;
}

@media (min-width: 992px) {
    .pyatochka-products-section .sale-product > .row,
    .pyatochka-products-section [data-entity="items-row"],
    .pyatochka-products-section .product-item-list-row,
    .catalog-section .row[data-entity="items-row"],
    .catalog-section .product-item-list-row,
    .catalog-top .row[data-entity="items-row"],
    .catalog-top .product-item-list-row,
    .catalog-section .row[class*="product-item-list-col-"],
    .catalog-section .product-item-small-card > .row,
    .catalog-top .row[class*="product-item-list-col-"],
    .catalog-top .product-item-small-card > .row,
    .pyatochka-search-page .row[data-entity="items-row"] {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .pyatochka-products-section .product-item-small-card > .row > [class*="col-"],
    .catalog-section .product-item-small-card > .row > [class*="col-"],
    .catalog-top .product-item-small-card > .row > [class*="col-"],
    .pyatochka-search-page [data-entity="items-row"] > [class*="col-"] {
        display: flex;
    }

    .pyatochka-products-section .product-item-container,
    .catalog-section .product-item-container,
    .catalog-top .product-item-container,
    .pyatochka-search-page .product-item-container {
        display: flex;
        height: 100%;
        flex: 1 1 auto;
    }

    .pyatochka-site .product-item {
        height: auto;
        flex: 1 1 auto;
    }

    .pyatochka-card-description {
        display: -webkit-box;
        min-height: calc(1.45em * 5);
        max-height: calc(1.45em * 5);
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
    }
}

@media (min-width: 1400px) {
    .pyatochka-home-shop-section > .container {
        width: calc(100% - 60px);
        max-width: 1440px;
    }
}

@media (min-width: 1200px) {
    .pyatochka-home-shop-layout {
        display: grid;
        grid-template-columns: 270px minmax(0, 1fr);
        gap: 30px;
        align-items: start;
    }

    .pyatochka-home-categories-sidebar {
        display: block;
        position: sticky;
        top: 18px;
        z-index: 20;
        max-height: calc(100vh - 36px);
        overflow-y: auto;
        padding-bottom: 2px;
        background: #fff;
    }

.pyatochka-home-categories-sidebar h2 {
        margin: 0 0 10px;
        color: #3e4d5c;
        font-family: "Open Sans", Arial, "Helvetica Neue", Helvetica, sans-serif;
        font-size: 20px;
        font-weight: 800;
        letter-spacing: 0;
        line-height: 1.2;
        text-transform: uppercase;
        background: #fff;
    }

    .pyatochka-home-categories-sidebar .pyatochka-category-list {
        max-width: none;
        margin: 0;
        border: 1px solid #e9edf2;
        border-bottom: 0;
    }

    .pyatochka-home-categories-sidebar .pyatochka-category-list a {
        min-height: 42px;
        gap: 8px;
        padding: 10px 12px;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.25;
    }

    .pyatochka-home-categories-sidebar .pyatochka-category-list a:hover,
    .pyatochka-home-categories-sidebar .pyatochka-category-list a:focus {
        padding-left: 16px;
    }

    .pyatochka-home-categories-sidebar .pyatochka-category-arrow {
        font-size: 18px;
    }

    .pyatochka-home-categories-section-mobile {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .pyatochka-products-section .sale-product > .row,
    .pyatochka-products-section [data-entity="items-row"],
    .pyatochka-products-section .product-item-list-row,
    .catalog-section .row[data-entity="items-row"],
    .catalog-section .product-item-list-row,
    .catalog-top .row[data-entity="items-row"],
    .catalog-top .product-item-list-row,
    .catalog-section .row[class*="product-item-list-col-"],
    .catalog-section .product-item-small-card > .row,
    .catalog-top .row[class*="product-item-list-col-"],
    .catalog-top .product-item-small-card > .row,
    .pyatochka-search-page .row[data-entity="items-row"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .pyatochka-pre-header {
        display: block;
        padding: 8px 0;
    }

    .pyatochka-pre-header .additional-shop-info,
    .pyatochka-pre-header .additional-nav {
        width: 100%;
        text-align: left;
    }

    .pyatochka-pre-header .additional-nav ul {
        float: none !important;
    }

    .pyatochka-pre-header ul {
        margin-bottom: 0;
    }

    .pyatochka-pre-header li {
        margin-top: 3px;
        margin-bottom: 3px;
    }

    .pyatochka-header .site-logo.pyatochka-logo {
        min-height: 91px;
        padding-top: 4px;
        padding-bottom: 4px;
    }

    .pyatochka-header .pyatochka-logo-mark {
        width: 250px;
        height: 83px;
    }

    .pyatochka-shop-slider .carousel-slider .item {
        height: 520px;
        min-height: 520px;
    }

    .pyatochka-shop-slider .carousel-position-four {
        top: 28px;
        right: 18px;
        left: 18px;
        max-width: none;
    }

    .pyatochka-shop-slider .carousel-title-v3 {
        font-size: 30px;
    }

    .pyatochka-hero-h1 {
        font-size: 27px;
        line-height: 1.12;
    }

    .pyatochka-site .pyatochka-shop-slider .carousel-position-four .pyatochka-hero-h1 {
        margin-bottom: 12px;
        font-size: 26px;
        line-height: 1.12;
    }

    .pyatochka-shop-slider .carousel-subtitle-v2 {
        margin-bottom: 16px;
        padding: 0;
        font-size: 15px;
        line-height: 1.38;
    }

    .pyatochka-hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 14px;
    }

    .pyatochka-shop-slider .carousel-btn {
        width: 100%;
        min-height: 46px;
        padding: 10px 8px;
        font-size: 15px;
        text-align: center;
    }

    .pyatochka-hero-benefits {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 6px;
    }

    .pyatochka-hero-benefits li {
        min-height: 44px;
        justify-content: center;
        padding: 6px;
        font-size: 12px;
        line-height: 1.25;
        text-align: center;
    }

    .pyatochka-products-section .sale-product > .row,
    .pyatochka-products-section [data-entity="items-row"],
    .pyatochka-products-section .product-item-list-row,
    .catalog-section .row[data-entity="items-row"],
    .catalog-section .product-item-list-row,
    .catalog-top .row[data-entity="items-row"],
    .catalog-top .product-item-list-row,
    .catalog-section .row[class*="product-item-list-col-"],
    .catalog-section .product-item-small-card > .row,
    .catalog-top .row[class*="product-item-list-col-"],
    .catalog-top .product-item-small-card > .row,
    .pyatochka-search-page .row[data-entity="items-row"] {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .pyatochka-site .product-item {
        min-height: 0;
    }

    .pyatochka-detail {
        padding: 16px;
        border-radius: 12px;
    }

    .pyatochka-detail-fulfillment,
    .pyatochka-contact-layout,
    .pyatochka-contact-grid {
        grid-template-columns: 1fr;
    }

    .pyatochka-detail-extra-tabs,
    .pyatochka-contact-primary,
    .pyatochka-contact-card {
        border-radius: 12px;
    }

    .pyatochka-search-form {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* Production usability and local SEO refinements. */
.pyatochka-nav .search-btn {
    display: inline-flex;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #526979;
}

.pyatochka-nav .search-btn:hover,
.pyatochka-nav .search-btn:focus,
.pyatochka-nav .search-btn[aria-expanded="true"] {
    background: #f1f7fb;
    color: var(--color-primary-dark);
}

.pyatochka-nav .search-box.is-open,
.pyatochka-nav .search-btn[aria-expanded="true"] + .search-box {
    display: block;
}

.pyatochka-detail.pyatochka-gallery-loading .product-item-detail-slider-controls-block,
.pyatochka-detail.pyatochka-custom-gallery-ready .product-item-detail-slider-controls-block {
    display: none !important;
}

.pyatochka-detail .product-item-detail-buy-button,
.pyatochka-detail .btn.btn-primary {
    border-color: #075f96;
    background: #075f96;
    color: #fff;
}

body.pyatochka-site a.btn.btn-default.product-item-detail-buy-button {
    border-color: #075f96 !important;
    background: #075f96 !important;
    color: #fff !important;
}

.pyatochka-detail .product-item-detail-buy-button {
    display: flex;
    width: 100%;
    max-width: none;
    min-height: 50px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    text-align: center;
}

.pyatochka-detail-fulfillment span,
.pyatochka-empty-cart-note {
    color: #4c6273;
}

.pyatochka-site .bx-sbb-empty-cart-text {
    color: #24313c !important;
}

.pyatochka-order-delivery-note {
    margin: 18px 0 0;
    padding: 14px 16px;
    border-left: 4px solid var(--color-primary);
    border-radius: 8px;
    background: #eef7fc;
    color: #314b5f;
    font-size: 15px;
    line-height: 1.5;
}

.pyatochka-site .product-item-amount-field,
.pyatochka-site .basket-item-amount-filed {
    min-width: 48px;
    min-height: 40px;
}

.pyatochka-site .product-item-amount-field-btn-minus,
.pyatochka-site .product-item-amount-field-btn-plus,
.pyatochka-site .basket-item-amount-btn-minus,
.pyatochka-site .basket-item-amount-btn-plus {
    display: inline-flex;
    min-width: 40px;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pyatochka-detail .product-item-amount-field-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.pyatochka-detail .product-item-amount-description-container {
    flex: 0 0 100%;
}

.pyatochka-catalog-seo {
    max-width: 980px;
    margin: 46px auto 10px;
    padding: 28px 30px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: #f8fbfd;
    color: #344d60;
}

.pyatochka-catalog-seo h2 {
    margin: 0 0 16px;
    color: var(--color-text);
    font-size: 25px;
    font-weight: 800;
    line-height: 1.25;
    text-transform: none;
}

.pyatochka-catalog-seo p {
    margin: 0 0 12px;
    line-height: 1.65;
}

.pyatochka-catalog-seo ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
    padding: 0;
    list-style: none;
}

.pyatochka-catalog-seo li {
    padding: 12px 14px 12px 34px;
    border-radius: 9px;
    background: #fff;
    color: #304b5e;
    position: relative;
}

.pyatochka-catalog-seo li:before {
    content: "✓";
    position: absolute;
    top: 11px;
    left: 13px;
    color: #167b39;
    font-weight: 800;
}

.pyatochka-catalog-seo-contact {
    padding-top: 14px;
    border-top: 1px solid var(--color-border);
    font-weight: 700;
}

.bx_sitemap .bx_sitemap_li_title,
.bx_sitemap .bx_sitemap_li_title a,
.bx_sitemap .bx_sitemap_li_title a span {
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
}

.pyatochka-detail .product-item-detail-slider-container.popup {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 54px !important;
    background: rgba(244, 248, 251, 0.98) !important;
    z-index: 10050 !important;
}

.pyatochka-detail .product-item-detail-slider-container.popup .product-item-detail-slider-block {
    width: min(900px, calc(100vw - 108px));
    height: calc(100vh - 108px);
    margin: 0 auto;
    padding-top: 0 !important;
    background: #fff;
}

.pyatochka-detail .product-item-detail-slider-container.popup .product-item-detail-slider-images-container {
    inset: 0 !important;
}

.pyatochka-detail .product-item-detail-slider-container.popup .product-item-detail-slider-close {
    top: 10px !important;
    right: 14px !important;
    min-width: 44px;
    min-height: 44px;
}

@media (max-width: 767px) {
    .pyatochka-pre-header {
        padding: 6px 0;
    }

    .pyatochka-pre-header .row {
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
        gap: 8px;
        margin: 0;
    }

    .pyatochka-pre-header .additional-shop-info,
    .pyatochka-pre-header .additional-nav {
        float: none !important;
        width: auto;
        min-width: 0;
        padding: 0;
    }

    .pyatochka-pre-header .additional-shop-info {
        grid-column: 1;
        grid-row: 1;
    }

    .pyatochka-pre-header .additional-nav {
        grid-column: 2;
        grid-row: 1;
    }

    .pyatochka-pre-header ul.list-inline {
        margin-right: 0;
        margin-left: 0;
    }

    .pyatochka-pre-header ul.list-inline > li {
        display: flex !important;
        min-width: 0;
        align-items: flex-start;
        margin: 2px 0;
        font-size: 14px;
        line-height: 1.35;
    }

    .pyatochka-pre-header li a,
    .pyatochka-pre-header li span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .pyatochka-pre-header li a {
        display: inline-flex;
        min-height: 24px;
        align-items: center;
    }

    .pyatochka-header .site-logo.pyatochka-logo {
        min-height: 68px;
        padding: 3px 52px 3px 0;
    }

    .pyatochka-header .pyatochka-logo-mark {
        width: 190px;
        height: 63px;
    }

    .pyatochka-header .pyatochka-menu-toggle {
        top: 12px;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
    }

    .pyatochka-nav .menu-search {
        display: block;
        padding: 8px 0 14px;
    }

    .pyatochka-nav .menu-search .sep {
        display: none;
    }

    .pyatochka-nav .search-box {
        position: static;
        width: 100%;
        margin-top: 6px;
        box-shadow: none;
    }

    .pyatochka-catalog-seo {
        margin-top: 30px;
        padding: 20px 18px;
        border-radius: 12px;
    }

    .pyatochka-catalog-seo h2 {
        font-size: 21px;
    }

    .pyatochka-catalog-seo ul {
        grid-template-columns: 1fr;
    }

    .pyatochka-detail .product-item-detail-slider-container.popup {
        padding: 48px 12px 12px !important;
    }

    .pyatochka-detail .product-item-detail-slider-container.popup .product-item-detail-slider-block {
        width: calc(100vw - 24px);
        height: calc(100vh - 60px);
    }
}

@media (min-width: 360px) and (max-width: 767px) {
    .pyatochka-products-section .sale-product > .row,
    .pyatochka-products-section [data-entity="items-row"],
    .pyatochka-products-section .product-item-list-row,
    .catalog-section .row[data-entity="items-row"],
    .catalog-section .product-item-list-row,
    .catalog-top .row[data-entity="items-row"],
    .catalog-top .product-item-list-row,
    .catalog-section .row[class*="product-item-list-col-"],
    .catalog-section .product-item-small-card > .row,
    .catalog-top .row[class*="product-item-list-col-"],
    .catalog-top .product-item-small-card > .row,
    .pyatochka-search-page .row[data-entity="items-row"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .pyatochka-products-section .product-item-container,
    .catalog-section .product-item-container,
    .catalog-top .product-item-container,
    .pyatochka-search-page .product-item-container,
    .pyatochka-products-section [data-entity="items-row"] > [class*="col-"],
    .catalog-section [data-entity="items-row"] > [class*="col-"],
    .catalog-top [data-entity="items-row"] > [class*="col-"],
    .pyatochka-search-page [data-entity="items-row"] > [class*="col-"] {
        display: flex;
        height: 100%;
    }

    .pyatochka-site .product-item,
    .bx-no-touch .pyatochka-site .product-item-container.hover .product-item,
    .bx-no-touch.pyatochka-site .product-item-container.hover .product-item,
    .pyatochka-site .product-item-container.hover .product-item {
        min-height: 420px;
        padding: 10px;
    }

    .pyatochka-site .product-item-image-wrapper,
    .pyatochka-site .product-item-image-slider {
        margin-bottom: 10px;
    }

    .pyatochka-site .product-item-title {
        display: -webkit-box;
        min-height: calc(1.3em * 3);
        max-height: calc(1.3em * 3);
        margin-bottom: 6px;
        overflow: hidden;
        font-size: 14px;
        line-height: 1.3;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .pyatochka-card-description {
        display: -webkit-box;
        min-height: calc(1.35em * 3);
        max-height: calc(1.35em * 3);
        margin-bottom: 8px;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.35;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .pyatochka-stock-badge {
        min-height: 24px;
        margin-bottom: 7px;
        padding: 3px 7px;
        font-size: 10px;
    }

    .pyatochka-site .product-item-price-container {
        margin-bottom: 8px;
    }

    .pyatochka-site .product-item-price-current {
        font-size: 18px;
    }

    .pyatochka-site .product-item-button-container .btn,
    .pyatochka-site .product-item .add2cart {
        min-height: 44px;
        padding-right: 4px;
        padding-left: 4px;
        font-size: 11px;
    }
}

.pyatochka-catalog-root .bx_sitemap {
    display: none !important;
}

.pyatochka-catalog-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 24px 0 38px;
}

.pyatochka-catalog-category-card {
    display: flex;
    min-width: 0;
    min-height: 350px;
    flex-direction: column;
    padding: 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: #fff;
    color: var(--color-text) !important;
    text-decoration: none !important;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pyatochka-catalog-category-card:hover,
.pyatochka-catalog-category-card:focus {
    transform: translateY(-3px);
    border-color: rgba(0, 107, 156, 0.42);
    box-shadow: 0 12px 34px rgba(36, 49, 60, 0.1);
}

.pyatochka-catalog-category-image {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.pyatochka-catalog-category-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.pyatochka-catalog-category-name {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.pyatochka-catalog-category-count {
    display: block;
    margin-top: auto;
    color: #526979;
    font-size: 14px;
    font-weight: 700;
}

.pyatochka-catalog-products-title {
    margin: 0 0 22px;
    color: var(--color-text);
    font-size: 25px;
    font-weight: 800;
    text-transform: none;
}

@media (min-width: 768px) and (max-width: 991px) {
    .pyatochka-catalog-category-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .pyatochka-site .bx-title {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .pyatochka-catalog-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin: 18px 0 30px;
    }

    .pyatochka-catalog-category-card {
        min-height: 270px;
        padding: 10px;
        border-radius: 12px;
    }

    .pyatochka-catalog-category-image {
        margin-bottom: 10px;
        border-radius: 9px;
    }

    .pyatochka-catalog-category-name {
        font-size: 14px;
        line-height: 1.28;
    }

    .pyatochka-catalog-category-count {
        font-size: 12px;
    }
}
