body.cabina-premium {
    background: #ffffff;
}
body.cabina-premium header {
    box-shadow: none;
}
body.cabina-premium #item-16675895979620 {
    background: rgb(255 255 255 / 50%);
    backdrop-filter: blur(10px);
}
body.cabina-premium #item-14960529410 {
    display: none;
}
body.cabina-premium header + div.body {
    margin-top: 66px;
}

/* #item-16675895979622 {
    display: none;
} */
#item-17580131252720 {
    z-index: 6;
}
/* .calc-img-section .ba-section-items > div {
    width: 50%;
} */
.ba-gridbox-page > .ba-wrapper:nth-child(2) {
    position: relative;
}
.calc-img-section .ba-section-items .ba-item-image-field {
    left: 0;
    width: 50%!important;
}

#item-16675895979622 > .ba-menu-wrapper > .main-menu > .integration-wrapper > ul > li > *:not(ul):not(div) {
    font-family: 'Gilroy';
    color: #0E1F2A;
}
.header-right .weston-search:before, 
.header-right .weston-user-login:before, 
.header-right .weston-cart:before {
    color: #0E1F2A;
}
#item-1668165765660 .ba-search-wrapper input, 
#item-1668165765660 .ba-search-wrapper input::placeholder {
    color: #0E1F2A;
}
#item-1667590593479 .ba-button-wrapper a {
    color: #0E1F2A;
}
.wst-profile .weston-user-login:before {
    color: #0E1F2A;
}
.wst-profile, .btn-profile, .wst-cart a span {
    color: #0E1F2A;
}

.breadcrumbs {
    position: absolute;
    width: calc(100% - 20px)!important;
    left: 20px;
}
.wst-prod-line h1:before, .wst-prod-line h2:before {
    display: none;
}
.wst-articul * {
    font-family: "Gilroy";
    font-size: 14px;
    line-height: 18px;
    font-weight: 300;
    color: #929292;
}
body:not(.gridbox) .wst-sku-block {
    top: 0;
}
.wst-start-text p {
    max-width: 100%;
    color: #929292;
    font-size: 18px;
    font-style: normal;
    letter-spacing: 0px;
    line-height: 28px;
    text-decoration: none;
    text-align: left;
    text-transform: none;
}
.wst-sku .make-me-order {
    margin-right: 10px !important;
}
.switcher {
    display: none;
}
.wst-prod-desc {
    border-top: 0;
    padding-top: 0;
}
.wst-feature .ba-field-group-wrapper {
    flex-direction: column;
}
.wst-feature .ba-field-group-wrapper .ba-field-wrapper {
    flex-direction: row;
    gap: 0;
    border-bottom: 1px solid #C8C8C8;
}

.ba-add-to-cart-extra-option[data-ind='7'] {
    display: none!important;
}



/* Галерея товара з макетом 1-2-1 - Start */
.instagram-wrapper.simple-gallery-masonry-layout {
    display: grid !important;
    grid-template-columns: 1fr 1fr!important;
    gap: 9px;
    max-width: 100%;
    grid-auto-rows: auto;
}

.instagram-wrapper.simple-gallery-masonry-layout .ba-instagram-image {
    overflow: hidden;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-wrapper.simple-gallery-masonry-layout .ba-instagram-image:nth-child(1) {
    grid-column: 1 / 3; /* Займає обидві колонки */
}

.instagram-wrapper.simple-gallery-masonry-layout .ba-instagram-image:nth-child(2) {
    grid-column: 1 / 2; /* Займає першу колонку */
}

.instagram-wrapper.simple-gallery-masonry-layout .ba-instagram-image:nth-child(3) {
    grid-column: 2 / 3; /* Займає другу колонку */
}

.instagram-wrapper.simple-gallery-masonry-layout .ba-instagram-image:nth-child(4) {
    grid-column: 1 / 3; /* Займає обидві колонки */
}

.instagram-wrapper.simple-gallery-masonry-layout .ba-instagram-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1480px) {
    .instagram-wrapper.simple-gallery-masonry-layout {
        gap: 8px;
    }
}

@media (max-width: 1279px) {
    /* Ховаємо grid-галерею на мобільних */
    .instagram-wrapper.simple-gallery-masonry-layout {
        display: none !important;
    }
}
/* Галерея товара з макетом 1-2-1 - End */

/* Мобільний слайдер галереї - Start */
.product-gallery-mobile {
    display: none;
    width: 100%;
    margin: 20px 0;
}

.product-gallery-mobile .simple-slider-wrapper {
    position: relative;
    width: 100%;
}

.product-gallery-mobile .simple-slider-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    border-radius: 8px;
}

.product-gallery-mobile .simple-slide {
    display: none;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}

.product-gallery-mobile .simple-slide.active {
    display: block;
}

.product-gallery-mobile .simple-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wst-colors .ba-field-group-wrapper {
    display: flex;
    gap: 10px;
}
.wst-colors .color-option {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}
.wst-colors .color-option span {
    font-family: 'Gilroy';
    font-size: 14px;
    font-weight: 300;
    color: #0E1F2A;
}
.wst-colors .color-option img {
    border-radius: 50%;
    border: 1px solid #fff;
    transition: all 0.3s ease;
}
.wst-colors .color-option:hover img {
    border: 1px solid #0E1F2A;
}
.wst-colors .color-option.active img {
    border: 1px solid #0E1F2A;
}
.wst-colors .ba-field-content {
    text-decoration: none!important;
}
.wst-sizes .ba-item {
    width: max-content;
}
.wst-sizes .ba-item-field a {
    color: #0E1F2A;
    transition: all 0.3s ease;
}
.wst-sizes .ba-item-field a:hover {
    text-decoration: underline;
}

.product-gallery-mobile .simple-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.product-gallery-mobile .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.product-gallery-mobile .dot.active {
    background: var(--primary, #007bff);
}

@media (max-width: 1279px) {
    .product-gallery-mobile {
        display: block;
    }
}

@media (min-width: 1280px) {
    .product-gallery-mobile {
        display: none !important;
    }
}
/* Мобільний слайдер галереї - End */

.ba-add-to-cart-extra-options > .ba-add-to-cart-extra-option[data-ind="7"], 
.ba-add-to-cart-extra-options > .ba-add-to-cart-extra-option[data-ind="1"], 
.ba-add-to-cart-extra-options > .ba-add-to-cart-extra-option[data-ind="28"], 
.ba-add-to-cart-extra-options > .ba-add-to-cart-extra-option[data-ind="5"], 
.ba-add-to-cart-extra-options > .ba-add-to-cart-extra-option[data-ind="11"], 
.ba-add-to-cart-extra-options > .ba-add-to-cart-extra-option[data-ind="6"], 
.ba-add-to-cart-extra-options > .ba-add-to-cart-extra-option[data-ind="92"], 
.ba-add-to-cart-extra-options > .ba-add-to-cart-extra-option[data-ind="10"], 
.ba-add-to-cart-extra-options > .ba-add-to-cart-extra-option[data-ind="27"], 
.ba-add-to-cart-extra-options > .ba-add-to-cart-extra-option[data-ind="32"], 
.ba-add-to-cart-extra-options > .ba-add-to-cart-extra-option[data-ind="33"], 
.ba-add-to-cart-extra-options > .ba-add-to-cart-extra-option[data-ind="97"], 
.ba-add-to-cart-extra-options > .ba-add-to-cart-extra-option[data-ind="100"],
.ba-add-to-cart-extra-options > .ba-add-to-cart-extra-option[data-ind="103"] {
    width: calc(50% - 20px) !important;
    max-width: 372px !important;
}
.ba-add-to-cart-extra-option[data-ind="32"] {
    margin-right: 20px;
}
.wst-prod-col .ba-item-add-to-cart .ba-custom-select input {
    font-family: "Gilroy" !important;
    color: #0E1F2A !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 16px !important;
    padding-left: 5px;
    background: none;
    height: 40px;
    border: 0px solid var(--border);
    border-bottom: 1px solid #C8C8C8;
    border-radius: 0px;
}
.wst-prod-col .ba-item-add-to-cart .ba-custom-select .ba-icon-caret-down:before {
    font-size: 7px;
    color: #0E1F2A;
}
.wst-prod-col .ba-item-add-to-cart .ba-add-to-cart-row-label {
    font-family: 'Gilroy';
    font-size: 16px;
    font-weight: 300;
    color: #0E1F2A;
}
.ba-add-to-cart-extra-option {
    margin-bottom: 23px;
}
.wk-3 .ba-add-to-cart-extra-option[data-ind="27"] ul {
    width: 200%;
}
.wst-instuction .ba-field-content {
    text-decoration: none!important;
}
.wst-instuction a {
    color: #0E1F2A;
    font-family: "Gilroy";
    font-size: 18px;
    font-weight: 400;
    line-height: 155%;
    text-align: left;
    text-decoration: none!important;
}
.wst-instuction a:hover {
    color: #0E1F2A;
    text-decoration: underline!important;
}
.wst-instuction .download-icon {
    margin-right: 10px;
}
.wst-prod-desc p {
    color: #929292;
    font-family: 'Gilroy';
    font-size: 18px;
    font-weight: 400;
    line-height: 135%;
}
.cant-order {
    font-family: "Gilroy";
    font-size: 17px;
    align-items: center;
}

/* Pop Up - Start */
.pop-up-print {
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}
.pop-up-top-line {
    position: absolute;
    z-index: 9;
    top: 30px;
    left: 30px; 
}
.pop-up-print .screenshot-box {
    /* .pop-up-print — колонковий флекс із height: 100vh, тому дочірні елементи
       за замовчуванням стискаються (flex-shrink: 1). У звичайному магазині це не вадить:
       вміст вилізає за бокс і потрапляє в область прокрутки обгортки.
       Але тут стоїть overflow: hidden — стиснутий бокс просто обрізав вміст,
       переповнення не виникало, і при низькому вікні прокручувати було нічого */
    flex-shrink: 0;
    padding: 0;
    border-radius: 34px;
    overflow: hidden;
    /* overflow-y: scroll; */
}
.configurator-p2 {
    margin: 0;
}
.pop-up-bottom-line {
    width: auto;
    background: none;
    padding: 0;
}
/* У преміумі смуга кнопок лежить усередині .calculator-your-order — вузької колонки
   (~492px), а базове правило store-page.css дає їй width: 1050px, бо там вона сусід
   .screenshot-box. Через це кнопки виїжджали за екран (x до 1736 при вікні 1440) */
.pop-up-print .pop-up-bottom-line {
    width: 100%;
    max-width: none;
}
.pop-up-print .calculator-your-order {
    background: #ffffff !important;
    padding: 32px;
}
.import-data-p1 {
    padding: 0px;
}
/* right: -439px був обрахований під стару геометрію, коли .close-pop-up був маленьким
   елементом. Зараз це смуга width: 1050px із justify-content: flex-end, тому зсув
   виносив хрестик за екран (x ≈ 1684 при вікні 1440) і тягнув управо нижню
   смугу з кнопками через горизонтальне переповнення */
.pop-up-print .close-pop-up {
    top: 50px;
    right: 0;
}
.pop-up-print .close-pop-up .ba-icon-close {
    color: #0E1F2A;
    font-size: 40px;
}
.pop-up-product-name {
    color: #0E1F2A;
    font-family: 'Gilroy';
    font-size: 36px;
    line-height: 32px;
    font-weight: 500;
}
.pop-up-print .import-data-p1 > h3 {
    color: #000 !important;
    font-family: 'Gilroy';
    font-size: 24px;
    line-height: 24px;
    font-weight: 400;
}
.result-for-p2 .result-name {
    color: #000 !important;
    font-family: 'Gilroy';
    font-size: 18px;
    line-height: 18px;
    font-weight: 400;
}
.result-for-p2 .result-value {
    color: #767676 !important;
    font-family: 'Gilroy';
    font-size: 18px;
    line-height: 18px;
    font-weight: 400;
}
.import-data-p1 h3 {
    margin-bottom: 30px !important;
}
.import-data-p1 .result-for-p2.numbs:nth-child(6) {
    margin-top: 40px;
}
.import-data-p1 .result-for-p2.numbs:nth-child(n+6) {
    flex-direction: column;
}

/* Для el-wk5-tr-gr-gd перевизначаємо стилі */
body.el-wk5-tr-gr-gd .import-data-p1 .result-for-p2.numbs:nth-child(6) {
    margin-top: 0;
    flex-direction: row;
}
body.el-wk5-tr-gr-gd .import-data-p1 .result-for-p2.numbs:nth-child(n+6):nth-child(-n+7) {
    flex-direction: row;
}
body.el-wk5-tr-gr-gd .import-data-p1 .result-for-p2.numbs:nth-child(8) {
    margin-top: 40px;
}
body.el-wk5-tr-gr-gd .import-data-p1 .result-for-p2.numbs:nth-child(n+8) {
    flex-direction: column;
}
  
.result-for-p2 {
    margin-bottom: 12px;
}
.pop-up-bottom-line {
    justify-content: start;
    gap: 30px;
    margin-top: 36px;
}
.temp-jpg, .print-button {
    background: none;
    padding: 0;
    color: #000;
}
.pop-up-pdf {
    background: #0E1F2A;
    font-family: 'Gilroy';
    font-size: 14px;
    line-height: 18px;
    font-weight: 500;
}
.pop-up-print .final-price-p2 {
    padding: 15px 0 0 0;
    font-family: 'Gilroy';
    font-size: 24px;
    line-height: 24px;
    font-weight: 400;
}
.final-price-p2 .price-text {
    font-weight: 400;
}
.pop-up-print .configurator-img {
    width: 70%;
    /* min-height: 680px; */
    min-height: max-content;
}
.configurator-img img.active, .config-base img.active {
    width: 100%;
    height: 100%;
    position: relative;
}
.config-text {
    display: none;
}

/* Мобільний попап — повернення базової поведінки.
   Мобільна верстка попапа описана в store-page.css, @media (max-width: 667px).
   Цей файл підключається ПІЗНІШЕ, а його правила вище стоять БЕЗ медіазапиту.
   Медіазапит не додає специфічності, тому при рівній специфічності вигравав цей файл
   і ламав мобільний вигляд: хрестик їхав за екран (right: -439px),
   а overflow: hidden при height: calc(100vh - 49px) вбивав скрол — кнопки замовлення
   ставали недосяжні. Десктопний преміум-вигляд цей блок не зачіпає */
@media (max-width: 667px) {
    .pop-up-print .close-pop-up {
        top: 15px;
        right: 15px;
    }
    .pop-up-print .screenshot-box {
        overflow-x: hidden;
        overflow-y: scroll;
        border-radius: 0;
    }
    .pop-up-top-line {
        position: static;
        top: auto;
        left: auto;
    }
    .pop-up-print .calculator-your-order {
        /* padding: 32px з десктопного правила зсував смугу кнопок на 32px
           управо, і правий край виходив за екран.
           box-sizing: border-box — без нього блок був content-box і розтягувався
           до 390 + 2×16 = 422px при екрані 390 */
        box-sizing: border-box;
        padding: 16px;
    }
}
/* Pop Up - End */