* {
    letter-spacing: -0.01em !important;
}

/*------------------------- OTHER ------------------------- */
    /* line */
            .dotted-line {
              height: 1px;
              background-image: repeating-linear-gradient(
                to right,
                #673147 0px,
                #673147 1px,
                transparent 1px,
                transparent 5px /* 1px dash + 4px gap = 5px повтор */
              );
            }
            
/*------------------------- HEADER ------------------------- */
    /* points */  
            .btn-catalog {
              position: relative;
              display: flex;
              align-items: center;
              width: 100%;
              padding: 8px 16px 0px 0;
              box-sizing: border-box;
            }
            
            .btn-catalog::before,
            .btn-catalog::after {
              content: "";
              position: absolute;
              top: 17px;
              right: 1.5px;
              width: 13px;
              height: 1px;
              background-color: #673147;
              transform: translateY(-50%);
              transition: transform 0.3s ease;
            }
            
            .btn-catalog::after {
              transform: translateY(-50%) rotate(90deg);
            }
            
            .btn-catalog[aria-expanded="true"]::after {
              transform: translateY(-50%) rotate(0deg);
            }
            
            .sub-catalog {
              display: none !important;
            }
            
            .sub-catalog.sub-catalog_open {
              display: flex !important;
            }


/*------------------------- BUTTONS ------------------------- */
    /* outline */
            .btn-outline::before {
              content: "";
              position: absolute;
              inset: 0;
              width: 36px;
              height: 36px;
              background: url("data:image/svg+xml,%3Csvg width='36' height='36' viewBox='0 0 36 36' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath d='M18 35V36C17.842 36 17.6844 35.9972 17.5273 35.9932L17.5527 34.9941C17.7012 34.998 17.8506 35 18 35ZM18.4717 35.9932C18.3149 35.9972 18.1577 36 18 36V35C18.1494 35 18.2988 34.998 18.4473 34.9941L18.4717 35.9932ZM13.1689 34.3037C13.4524 34.3876 13.7399 34.4649 14.0293 34.5342L13.7959 35.5049C13.4894 35.4315 13.1859 35.3505 12.8857 35.2617L13.1689 34.3037ZM23.1133 35.2617C22.8131 35.3505 22.5096 35.4316 22.2031 35.5049L21.9707 34.5342C22.2601 34.4649 22.5476 34.3876 22.8311 34.3037L23.1133 35.2617ZM9.11719 32.498C9.36969 32.6531 9.62674 32.8014 9.8877 32.9434L9.41016 33.8213C9.1335 33.6708 8.86139 33.513 8.59375 33.3486L9.11719 32.498ZM27.4053 33.3486C27.1376 33.513 26.8655 33.6708 26.5889 33.8213L26.1123 32.9434C26.3733 32.8014 26.6303 32.6531 26.8828 32.498L27.4053 33.3486ZM5.66895 29.7021C5.8731 29.9172 6.0828 30.1269 6.29785 30.3311L5.95312 30.6934L5.63574 31.0293L5.60938 31.0557C5.38164 30.8395 5.15955 30.6174 4.94336 30.3896L5.66895 29.7021ZM30.9941 30.3311L31.0557 30.3896C30.8395 30.6174 30.6174 30.8395 30.3896 31.0557L30.0459 30.6943L29.7021 30.3311C29.9172 30.1269 30.1269 29.9172 30.3311 29.7021L30.9941 30.3311ZM3.05664 26.1123C3.19862 26.3733 3.3469 26.6303 3.50195 26.8828L2.65039 27.4053C2.48604 27.1376 2.32823 26.8655 2.17773 26.5889L3.05664 26.1123ZM33.8213 26.5889C33.6708 26.8655 33.513 27.1376 33.3486 27.4053L32.498 26.8828C32.6531 26.6303 32.8014 26.3733 32.9434 26.1123L33.8213 26.5889ZM1.46582 21.9707C1.53507 22.2601 1.61245 22.5476 1.69629 22.8311L0.737305 23.1133C0.648523 22.8131 0.567464 22.5096 0.494141 22.2031L1.46582 21.9707ZM35.5049 22.2031C35.4316 22.5096 35.3505 22.8131 35.2617 23.1133L34.3037 22.8311C34.3876 22.5476 34.4649 22.2601 34.5342 21.9707L35.5049 22.2031ZM0 18C0 17.842 0.001811 17.6844 0.00585938 17.5273L1.00586 17.5527C1.00203 17.7012 1 17.8506 1 18C1 18.1494 1.00203 18.2988 1.00586 18.4473L0.00585938 18.4717C0.0018277 18.3149 0 18.1577 0 18ZM35.9932 17.5273C35.9972 17.6844 36 17.842 36 18C36 18.1577 35.9972 18.3149 35.9932 18.4717L34.9941 18.4473C34.998 18.2988 35 18.1494 35 18C35 17.8506 34.998 17.7012 34.9941 17.5527L35.9932 17.5273ZM1.69629 13.1689C1.61245 13.4524 1.53507 13.7399 1.46582 14.0293L0.494141 13.7959C0.567479 13.4894 0.648509 13.1859 0.737305 12.8857L1.69629 13.1689ZM35.2617 12.8857C35.3505 13.1859 35.4315 13.4894 35.5049 13.7959L34.5342 14.0293C34.4649 13.7399 34.3876 13.4524 34.3037 13.1689L35.2617 12.8857ZM2.65039 8.59375L3.50195 9.11719C3.3469 9.36969 3.19862 9.62674 3.05664 9.8877L2.17773 9.41016C2.31465 9.15849 2.45707 8.91024 2.60547 8.66602L2.65039 8.59375ZM33.3486 8.59375C33.513 8.86139 33.6708 9.1335 33.8213 9.41016L32.9434 9.8877C32.8014 9.62674 32.6531 9.36969 32.498 9.11719L33.3486 8.59375ZM5.9541 5.30566L6.29785 5.66895C6.0828 5.8731 5.8731 6.0828 5.66895 6.29785L4.94336 5.60938C5.15955 5.38164 5.38164 5.15955 5.60938 4.94336L5.9541 5.30566ZM30.3896 4.94336C30.6174 5.15955 30.8395 5.38164 31.0557 5.60938L30.6943 5.9541L30.6934 5.95312L30.3311 6.29785C30.1269 6.0828 29.9172 5.8731 29.7021 5.66895L30.0459 5.30566L30.3896 4.94336ZM9.8877 3.05664C9.62674 3.19862 9.36969 3.3469 9.11719 3.50195L8.59375 2.65039C8.86138 2.48603 9.13351 2.32824 9.41016 2.17773L9.8877 3.05664ZM26.5889 2.17773C26.8655 2.32823 27.1376 2.48604 27.4053 2.65039L26.8828 3.50195C26.6303 3.3469 26.3733 3.19862 26.1123 3.05664L26.5889 2.17773ZM14.0293 1.46582C13.7399 1.53507 13.4524 1.61245 13.1689 1.69629L12.8857 0.737305C13.1859 0.648509 13.4894 0.567479 13.7959 0.494141L14.0293 1.46582ZM22.2031 0.494141C22.5096 0.567464 22.8131 0.648523 23.1133 0.737305L22.8311 1.69629C22.5476 1.61245 22.2601 1.53507 21.9707 1.46582L22.2031 0.494141ZM18 0C18.1577 0 18.3149 0.0018277 18.4717 0.00585938L18.4473 1.00586C18.2988 1.00203 18.1494 1 18 1C17.8506 1 17.7012 1.00203 17.5527 1.00586L17.5273 0.00585938C17.6844 0.001811 17.842 0 18 0Z' fill='%23673147'/%3E %3C/svg%3E")
                no-repeat center / 36px 36px;
              opacity: 0.5;
              transition: opacity 0.2s ease;
              pointer-events: none;
            }
            
            .btn-outline:hover::before {
              opacity: 1;
            }
            
            .btn-outline-1::before {
              content: "";
              position: absolute;
              inset: 0;
              width: 161px;
              height: 37px;
              background: url("data:image/svg+xml,%3Csvg width='161' height='37' viewBox='0 0 161 37' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath d='M18 35V36C17.842 36 17.6844 35.9972 17.5273 35.9932L17.5527 34.9941C17.7012 34.998 17.8506 35 18 35ZM18.4717 35.9932C18.3149 35.9972 18.1577 36 18 36V35C18.1494 35 18.2988 34.998 18.4473 34.9941L18.4717 35.9932ZM13.1689 34.3037C13.4524 34.3876 13.7399 34.4649 14.0293 34.5342L13.7959 35.5049C13.4894 35.4315 13.1859 35.3505 12.8857 35.2617L13.1689 34.3037ZM23.1133 35.2617C22.8131 35.3505 22.5096 35.4316 22.2031 35.5049L21.9707 34.5342C22.2601 34.4649 22.5476 34.3876 22.8311 34.3037L23.1133 35.2617ZM9.11719 32.498C9.36969 32.6531 9.62674 32.8014 9.8877 32.9434L9.41016 33.8213C9.1335 33.6708 8.86139 33.513 8.59375 33.3486L9.11719 32.498ZM27.4053 33.3486C27.1376 33.513 26.8655 33.6708 26.5889 33.8213L26.1123 32.9434C26.3733 32.8014 26.6303 32.6531 26.8828 32.498L27.4053 33.3486ZM5.66895 29.7021C5.8731 29.9172 6.0828 30.1269 6.29785 30.3311L5.95312 30.6934L5.63574 31.0293L5.60938 31.0557C5.38164 30.8395 5.15955 30.6174 4.94336 30.3896L5.66895 29.7021ZM30.9941 30.3311L31.0557 30.3896C30.8395 30.6174 30.6174 30.8395 30.3896 31.0557L30.0459 30.6943L29.7021 30.3311C29.9172 30.1269 30.1269 29.9172 30.3311 29.7021L30.9941 30.3311ZM3.05664 26.1123C3.19862 26.3733 3.3469 26.6303 3.50195 26.8828L2.65039 27.4053C2.48604 27.1376 2.32823 26.8655 2.17773 26.5889L3.05664 26.1123ZM33.8213 26.5889C33.6708 26.8655 33.513 27.1376 33.3486 27.4053L32.498 26.8828C32.6531 26.6303 32.8014 26.3733 32.9434 26.1123L33.8213 26.5889ZM1.46582 21.9707C1.53507 22.2601 1.61245 22.5476 1.69629 22.8311L0.737305 23.1133C0.648523 22.8131 0.567464 22.5096 0.494141 22.2031L1.46582 21.9707ZM35.5049 22.2031C35.4316 22.5096 35.3505 22.8131 35.2617 23.1133L34.3037 22.8311C34.3876 22.5476 34.4649 22.2601 34.5342 21.9707L35.5049 22.2031ZM0 18C0 17.842 0.001811 17.6844 0.00585938 17.5273L1.00586 17.5527C1.00203 17.7012 1 17.8506 1 18C1 18.1494 1.00203 18.2988 1.00586 18.4473L0.00585938 18.4717C0.0018277 18.3149 0 18.1577 0 18ZM35.9932 17.5273C35.9972 17.6844 36 17.842 36 18C36 18.1577 35.9972 18.3149 35.9932 18.4717L34.9941 18.4473C34.998 18.2988 35 18.1494 35 18C35 17.8506 34.998 17.7012 34.9941 17.5527L35.9932 17.5273ZM1.69629 13.1689C1.61245 13.4524 1.53507 13.7399 1.46582 14.0293L0.494141 13.7959C0.567479 13.4894 0.648509 13.1859 0.737305 12.8857L1.69629 13.1689ZM35.2617 12.8857C35.3505 13.1859 35.4315 13.4894 35.5049 13.7959L34.5342 14.0293C34.4649 13.7399 34.3876 13.4524 34.3037 13.1689L35.2617 12.8857ZM2.65039 8.59375L3.50195 9.11719C3.3469 9.36969 3.19862 9.62674 3.05664 9.8877L2.17773 9.41016C2.31465 9.15849 2.45707 8.91024 2.60547 8.66602L2.65039 8.59375ZM33.3486 8.59375C33.513 8.86139 33.6708 9.1335 33.8213 9.41016L32.9434 9.8877C32.8014 9.62674 32.6531 9.36969 32.498 9.11719L33.3486 8.59375ZM5.9541 5.30566L6.29785 5.66895C6.0828 5.8731 5.8731 6.0828 5.66895 6.29785L4.94336 5.60938C5.15955 5.38164 5.38164 5.15955 5.60938 4.94336L5.9541 5.30566ZM30.3896 4.94336C30.6174 5.15955 30.8395 5.38164 31.0557 5.60938L30.6943 5.9541L30.6934 5.95312L30.3311 6.29785C30.1269 6.0828 29.9172 5.8731 29.7021 5.66895L30.0459 5.30566L30.3896 4.94336ZM9.8877 3.05664C9.62674 3.19862 9.36969 3.3469 9.11719 3.50195L8.59375 2.65039C8.86138 2.48603 9.13351 2.32824 9.41016 2.17773L9.8877 3.05664ZM26.5889 2.17773C26.8655 2.32823 27.1376 2.48604 27.4053 2.65039L26.8828 3.50195C26.6303 3.3469 26.3733 3.19862 26.1123 3.05664L26.5889 2.17773ZM14.0293 1.46582C13.7399 1.53507 13.4524 1.61245 13.1689 1.69629L12.8857 0.737305C13.1859 0.648509 13.4894 0.567479 13.7959 0.494141L14.0293 1.46582ZM22.2031 0.494141C22.5096 0.567464 22.8131 0.648523 23.1133 0.737305L22.8311 1.69629C22.5476 1.61245 22.2601 1.53507 21.9707 1.46582L22.2031 0.494141ZM18 0C18.1577 0 18.3149 0.0018277 18.4717 0.00585938L18.4473 1.00586C18.2988 1.00203 18.1494 1 18 1C17.8506 1 17.7012 1.00203 17.5527 1.00586L17.5273 0.00585938C17.6844 0.001811 17.842 0 18 0Z' fill='%23673147'/%3E %3C/svg%3E")
                no-repeat center / 161px 37px;
              opacity: 0.5;
              transition: opacity 0.2s ease;
              pointer-events: none;
            }
            
            .btn-outline-1:hover::before {
              opacity: 1;
            }

/*------------------------- FOOTER ------------------------- */
    /* form */
            .uc-footer div[style*="font-size: 13px"] {
                  font-size: 10px !important;
                  line-height: 1.35;
                }
            
            .uc-footer .t-submit {
              background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cpath d='M10.1995 12.4727L14.5354 8L10.1995 3.52734L9.48071 4.22265L12.6487 7.49218L1.46509 7.49217L1.46509 8.49217L12.6682 8.49218L9.48071 11.7773L10.1995 12.4727Z' fill='white'/%3E %3C/svg%3E");
              background-repeat: no-repeat;
              background-position: center;
              background-size: 16px 16px;
            }
            
    /* points */            
              @media (max-width: 1200px) {
              .footer-btn-catalog,
              .footer-btn-customer,
              .footer-btn-docs {
                position: relative;
                display: flex;
                align-items: center;
                width: 100%;
                padding: 10px 16px 10px 0;
                box-sizing: border-box;
                cursor: pointer;
              }
            
              .footer-btn-catalog::before,
              .footer-btn-catalog::after,
              .footer-btn-customer::before,
              .footer-btn-customer::after,
              .footer-btn-docs::before,
              .footer-btn-docs::after {
                content: "";
                position: absolute;
                top: 50%;
                right: 1.5px;
                width: 13px;
                height: 1px;
                background-color: #673147;
                transform: translateY(-50%);
                transition: transform 0.3s ease;
              }
            
              .footer-btn-catalog::after,
              .footer-btn-customer::after,
              .footer-btn-docs::after {
                transform: translateY(-50%) rotate(90deg);
              }
            
              .footer-btn-catalog[aria-expanded="true"]::after,
              .footer-btn-customer[aria-expanded="true"]::after,
              .footer-btn-docs[aria-expanded="true"]::after {
                transform: translateY(-50%) rotate(0deg);
              }
            
              .footer-sub-catalog,
              .footer-sub-customer,
              .footer-sub-docs {
                display: none !important;
              }
            
              .footer-sub-catalog.sub_open,
              .footer-sub-customer.sub_open,
              .footer-sub-docs.sub_open {
                display: flex !important;
              }
            }
/*------------------------- СТИЛИЗАЦИЯ СТРАНИЦЫ СТАТЬИ ------------------------- */
    /* Скрываем стандартную стрелку */
        .t-cms__page-header__back-button svg {
            display: none !important;
        }
    /* Настраиваем кнопку */
        .t-cms__page-header__back-button {
            width: 48px !important;
            height: 48px !important;
            padding: 0 !important;
            display: flex !important;
            align-items: center;
            justify-content: center;
            background: transparent !important;
            border: none !important;
        }
    /* Своя иконка */
        .t-cms__page-header__back-button::before {
            content: "";
            width: 22px;
            height: 22px;
            display: block;
        
            background-color: #673147;
        
            -webkit-mask: url("https://static.tildacdn.com/tild6333-3639-4932-a135-343331393661/photo.svg") center / contain no-repeat;
            mask: url("https://static.tildacdn.com/tild6333-3639-4932-a135-343331393661/photo.svg") center / contain no-repeat;
        
            transition: background-color .2s linear;
        }
    /* Hover */
        .t-cms__page-header__back-button:hover::before {
            background-color: #b398a3;
        }
    /* СТИЛИЗАЦИЯ НИЖНЕГО КРАЯ ЗАГОЛОВКА */
        .t-cms__page-header {
            --t-cms-contrast-color: transparent!important;
        }
        .t-cms__page-header::before {
            content: "";
            position: absolute;
            width: calc(100% - 40px);
            left: 0;
            top: 41px;
            margin-left:20px;
            margin-right: 20px;
            bottom: 0;
            height: 1px;
            background-image: repeating-linear-gradient(
                to right,
                #673147 0,
                #673147 1px,
                transparent 1px,
                transparent 5px
            );
            background-repeat: no-repeat;
            background-size: 100% 1px;
            pointer-events: none;
            opacity: 1!important;
        }
        
    /* КАРТОЧКА ТОВАРА */
    .t-store__prod-snippet__container {
        padding-bottom: 0px!important;
        padding-top: 0px!important;
    }
    
    .t-store__prod-popup__slider.js-store-prod-slider.t-store__prod-popup__col-left {
        margin: 0px !important;
    }
    
    .t-store__prod-popup__info.t-align_left.t-store__prod-popup__col-right {
        margin: 40px !important;
    }
    
    .t-store__prod-popup__name {
        font-weight: 400 !important;
        font-size: 25px !important;
        font-family: 'CGTimesCyr', Arial !important;
    }
    
    .t-store__prod-popup__sku {
        font-size: 10px !important;
        opacity: 0.6 !important;
    }
    
    .t-store__prod-popup__price {
        font-size: 15px !important;
    }
    
    .t-store__prod-popup__title-wrapper {
        margin-bottom: 15px !important;
    }
    
     .t-store__prod-popup__price_old {
        font-size: 15px !important;
    }
    
    .t-store .t-product__option {
        margin-bottom: 15px !important;
        margin-top: 15px !important;
    }
    
    .t-store__prod-popup__btn-wrapper {
        margin-bottom: 35px !important;
        margin-top: 20px !important;
    }
    
    .js-product-edition-option-name.t-product__option-title.t-typography__options {
        opacity: 0.8 !important;
    }
    

/* Свотчи: квадрат 24×24 со скруглением 2px вместо круга 26px */
.js-product .t-product__option-variants_buttons .t-product__option-checkmark_color {
  width: 24px !important;
  height: 24px !important;
  border-radius: 2px !important;
  border: 1px solid rgba(103, 49, 71, 0.2) !important; /* видно светлые цвета ткани */
}

/* Зазор между свотчами */
.t-product__option-variants_color .t-product__option-item_color {
  margin: 0 10px 0 0 !important;
}

/* Выбранный цвет: винная рамка с зазором вокруг свотча
   (геометрию кольца оставляю тильдовскую, меняю цвет и форму) */
.t-product__option-input:checked + .t-product__option-checkmark_color:before {
  border: 1px solid var(--uc-color-color-bk7wERWr, #673147) !important;
  border-radius: 4px !important;
}

/* ===== Тултип с названием цвета: винный фон ===== */

.t-store__tooltip_black.tooltipster-sidetip .tooltipster-box {
  background: var(--uc-color-color-bk7wERWr, #673147) !important;
  border: none !important;
}

.t-store__tooltip_black .tooltipster-content {
  color: #fff !important;
  font-family: 'Golos Text', Arial, sans-serif !important;
  font-size: 12px !important;
}

/* Стрелка пузыря — в тон фону, для всех положений тултипа */
.t-store__tooltip_black.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background,
.t-store__tooltip_black.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-border {
  border-top-color: var(--uc-color-color-bk7wERWr, #673147) !important;
}

.t-store__tooltip_black.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-background,
.t-store__tooltip_black.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-border {
  border-bottom-color: var(--uc-color-color-bk7wERWr, #673147) !important;
}

.t-store__tooltip_black.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-background,
.t-store__tooltip_black.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-border {
  border-left-color: var(--uc-color-color-bk7wERWr, #673147) !important;
}

.t-store__tooltip_black.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-background,
.t-store__tooltip_black.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-border {
  border-right-color: var(--uc-color-color-bk7wERWr, #673147) !important;
}

/* Пузырь */
.js-product .t-product__option-variants_buttons .t-product__option-item_color:hover .t-product__option-title {
  background-color: var(--uc-color-color-bk7wERWr, #673147) !important;
  color: #fff !important;
}

/* Стрелочка под пузырём */
.js-product .t-product__option-variants_buttons .t-product__option-item_color:hover .t-product__option-title:after {
  border-top-color: var(--uc-color-color-bk7wERWr, #673147) !important;
}


/* ===== Карточка товара: свотчи цвета по макету ===== */

/* Свотч: квадрат ~28px со скруглением, как в макете */
.t-product__option-variants_buttons .t-product__option-checkmark_color {
  width: 28px !important;
  height: 28px !important;
  border-radius: 4px !important;
  border: 1px solid rgba(103, 49, 71, 0.2) !important;
}

/* Выбранный цвет: вместо тильдовского кольца — черта под свотчем */
.t-product__option-input:checked + .t-product__option-checkmark_color:before {
  border: none !important;
  border-radius: 0 !important;
  top: auto !important;
  left: 0 !important;
  bottom: -6px !important;  /* 5px зазора + толщина линии */
  width: 100% !important;
  height: 1px !important;
  background: var(--uc-color-color-bk7wERWr, #673147);
}


form.t-product__option-variants.t-product__option-variants_custom.t-product__option-variants_buttons.t-product__option-variants_color {
    margin: 6px 0px 21px 0px !important
}
    
    /* ===== Карточка товара: кнопки размеров по макету ===== */

/* Прячем тильдовский чекмарк-квадрат */
.t-product__option-variants_simple .t-product__option-checkmark_simple {
  display: none !important;
}

/* Кнопка размера: круг 44px с пунктирным кольцом (штрих 1 / зазор 4) */
.t-product__option-variants_simple .t-product__option-item_simple {
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 5px 0px 0 !important;
  padding: 0 !important;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44'%3E%3Ccircle cx='22' cy='22' r='21.5' fill='none' stroke='%23673147' stroke-width='1' stroke-dasharray='1 4'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  cursor: pointer;
  border: none !important;
}

/* Цифра размера */
.t-product__option-variants_simple .t-product__option-title_simple {
  font-family: 'Golos Text', Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: var(--uc-color-color-bk7wERWr, #673147) !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Активный размер: сплошное кольцо вместо пунктира */
.t-product__option-variants_simple .t-product__option-item_simple.t-product__option-item_active {
  background-image: none !important;
  border: 1px solid var(--uc-color-color-bk7wERWr, #673147) !important;
}

/* Недоступный размер отдельно стилизовать не нужно:
   Тильда вешает t-product__option-item_disabled с opacity .4
   и снимает клики — пунктир и цифра бледнеют сами */

/* Ссылка «Таблица размеров» */
.uc-size-chart-link {
  display: inline-block;
  margin-top: 5px;
  font-family: 'Golos Text', Arial, sans-serif;
  font-size: 12px;
  color: var(--uc-color-color-bk7wERWr, #673147);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: opacity 0.2s ease;
}

.uc-size-chart-link:hover {
  opacity: 0.6;
}

.t-product__option-item_disabled {
    border: none !important;
}
    
 /* ===== Карточка товара: кнопка корзины + избранное ===== */

/* Обёртка: кнопка и избранное в ряд */
.t-store__prod-popup__btn-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 0px;
}

/* «Добавить в корзину»: винная таблетка */
.t-store__prod-popup__btn-wrapper .t-store__prod-popup__btn {
  background-color: var(--uc-color-color-bk7wERWr, #673147) !important;
  border-radius: 100px !important;
  border: none !important;
  height: 36px !important;
  padding: 0 20px !important;
  transition: opacity 0.2s ease !important;
}

.t-store__prod-popup__btn-wrapper .t-store__prod-popup__btn:hover {
  opacity: 0.9;
}

.t-store__prod-popup__btn-wrapper .t-store__prod-popup__btn .t-btnflex__text {
  color: #fff !important;
  font-family: 'Golos Text', Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

/* Избранное: прячем тильдовское сердечко */
.t-store__prod-popup__btn-wrapper .t1002__addBtn svg {
  display: none !important;
}

/* Избранное: круг 36px, кольцо #B398A3 (штрих 1 / зазор 4) + закладка 16px */
.t-store__prod-popup__btn-wrapper .t1002__addBtn {
  flex: 0 0 auto;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  border: none !important; /* гасим тильдовскую серую обводку #e4e4e4 */
  border-radius: 50%;
  background-color: transparent !important;
  background-image:
    url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 2C3.67578 2 3 2.67578 3 3.5V14.4844L8 10.8203L13 14.4844V3.50001C13 2.67579 12.3242 2.00001 11.5 2.00001L4.5 2ZM4.5 3H11.5C11.7812 3 12 3.21875 12 3.5V12.5156L8 9.57813L4 12.5156V3.50001C4 3.21876 4.21875 3 4.5 3Z' fill='%23673147'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='17.5' fill='none' stroke='%23B398A3' stroke-width='1' stroke-dasharray='1 4'/%3E%3C/svg%3E") !important;
  background-position: center, center !important;
  background-size: 16px 16px, 100% 100% !important;
  background-repeat: no-repeat, no-repeat !important;
  transition: transform 0.2s ease;
}

.t-store__prod-popup__btn-wrapper .t1002__addBtn:hover {
  transform: scale(1.05);
}

/* В избранном: залитая закладка, кольцо то же */
.t-store__prod-popup__btn-wrapper .t1002__addBtn_active {
  background-image:
    url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 14.4883L8 10.8203L3 14.4883V3.5C3 2.67188 3.67188 2 4.5 2H11.5C12.3281 2 13 2.67188 13 3.5V14.4883Z' fill='%23673147'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Ccircle cx='18' cy='18' r='17.5' fill='none' stroke='%23B398A3' stroke-width='1' stroke-dasharray='1 4'/%3E%3C/svg%3E") !important;
  background-position: center, center !important;
  background-size: 16px 16px, 100% 100% !important;
  background-repeat: no-repeat, no-repeat !important;
}

/* Пульс при добавлении — тильдовская анимация сердца */
.t-store__prod-popup__btn-wrapper .t1002__addBtn_active.t1002__addBtn_neworder {
  animation: t1002__heart-anim 0.3s;
}

/* ===== Товар: блок «Вам также понравится» ===== */

/* Отступ от фото до заголовка — 100px */
.t-store__relevants__container {
  margin-top: 100px !important;
}

/* Обёртка секции: убираем тильдовские колоночные поля 20px,
   блок встаёт по краям контейнера */
.t-store__relevants__container .t-container .t-col {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Заголовок: H1 из макета. Сбрасываю тильдовский uptitle —
   он капсом и с разрядкой, поэтому text-transform обязателен */
.t-store__relevants__title {
  font-family: var(--t-headline-font, 'CGTimesCyr') !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: 25px !important;
  line-height: 120% !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  color: var(--uc-color-color-bk7wERWr, #673147) !important;
  padding-left: 15px !important;
  padding-bottom: 15px !important;
}

/* Десктоп (от 960px): 5 карточек на всю ширину, зазор 5px */
@media (min-width: 960px) {
  .t-store__relevants-grid-cont .t-store__card-list {
    column-gap: 5px !important; /* только горизонталь: инлайновый row-gap 40px не трогаем */
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .t-store__relevants-grid-cont .t-store__card {
    width: calc(20% - 4px) !important;   /* 4 зазора по 5px, размазанные на 5 карточек */
    max-width: calc(20% - 4px) !important;
    flex: 0 0 calc(20% - 4px) !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* Мобилка (до 959px): карусель, карточка 236px.
   Прокрутку влево-вправо Тильда уже включила (mobile-one-row),
   селектор из трёх классов — чтобы перебить каталожные 50% */
@media (max-width: 959px) {
  .t-store__relevants-grid-cont.t-store__grid-cont_mobile-one-row .t-store__card {
    width: 236px !important;
    min-width: 236px !important;
    max-width: 236px !important;
    flex: 0 0 236px !important;
  }
}

/* ===== «Нет в наличии» ===== */

/* На карточках */
.t-store__card__sold-out-msg {
  color: #C40000 !important;
  font-size: 12px !important;
  font-weight: 400;
  margin-top: 2px !important;
  font-family: 'Golos Text', Arial !important;
}

/* На странице товара (когда распродан весь товар) */
.js-store-prod-sold-out {
  color: #C40000 !important;
  font-size: 12px !important;
  font-weight: 400;
  font-family: 'Golos Text', Arial !important;
}

/* ===== Лейбл «хит» на карточках — как в каталоге ===== */

.t-store__card__mark-wrapper {
  left: 10px !important;
  top: 5px !important;
  right: auto !important;
}

.t-store__card__mark {
  background-color: transparent !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: var(--uc-color-color-bk7wERWr, #673147) !important;
  font-family: var(--t-headline-font, 'CGTimesCyr') !important;
  font-style: italic !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  line-height: 120% !important;
  letter-spacing: -0.01em !important;
}

/* ===== Закладка избранного на карточках — как в каталоге ===== */

.t-store__card__imgwrapper .t1002__addBtn svg {
  display: none !important;
}

.t-store__card__imgwrapper .t1002__addBtn {
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  top: 0 !important;
  right: 0 !important;
  border: none !important;
  background-color: transparent !important;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 2C3.67578 2 3 2.67578 3 3.5V14.4844L8 10.8203L13 14.4844V3.50001C13 2.67579 12.3242 2.00001 11.5 2.00001L4.5 2ZM4.5 3H11.5C11.7812 3 12 3.21875 12 3.5V12.5156L8 9.57813L4 12.5156V3.50001C4 3.21876 4.21875 3 4.5 3Z' fill='%23673147'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 16px 16px !important;
  transition: transform 0.2s ease;
}

.t-store__card__imgwrapper .t1002__addBtn:hover {
  transform: scale(1.1);
}

.t-store__card__imgwrapper .t1002__addBtn.t1002__addBtn_active {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 14.4883L8 10.8203L3 14.4883V3.5C3 2.67188 3.67188 2 4.5 2H11.5C12.3281 2 13 2.67188 13 3.5V14.4883Z' fill='%23673147'/%3E%3C/svg%3E") !important;
}

.t-store__card__textwrapper {
    padding-top: 5px !important;
    padding-left: 10px;
    padding-right: 10px;
}

.t-store__card__price-wrapper {
    margin-top: 2px !important;
}


.t-store__card__price, .t-store__card__price-value, .t-store__card__price-currency {
    font-size: 12px !important;
    font-family: 'Golos Text', Arial !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
}

.t-store__card__price_old, .t-store__prod-popup__price_old {
    color: #673147 !important;
    opacity: 0.4 !important;
}

.t-store__card__price_old {
    margin-left: 8px !important;
}

.js-store-price-wrapper {
    display: flex !important;
}

.t-store__relevants__title {
    letter-spacing: inherit;
    margin: 0px !important;
    padding-left: 0;
}

/* Планшет 981–1240: галерея + инфо жёстко в одну строку.
   Flex вместо тильдовских флоатов — у него не бывает «падения» колонки вниз */
@media (min-width: 981px) and (max-width: 1240px) {
  .js-store-product > .t-container > div {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0px;
  }

  /* Галерея: забирает всю ширину, что остаётся */
  .js-store-product .t-store__prod-popup__col-left {
    flex: 1 1 auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
  }

  /* Инфо-колонка: фиксированные 440px */
  .js-store-product .t-store__prod-popup__col-right {
    flex: 0 0 440px !important;
    width: 300px !important;
    max-width: 300px !important;
    margin: 0 !important;
    float: none !important;
  }
}

 
/* ===== Миниатюры галереи (до 959px): одна прокручиваемая строка ===== */
@media (max-width: 959px) {

  .js-store-product .t-slds__thumbsbullet-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    margin-top: 5px !important;      /* отступ от фото */
    padding: 0 15px !important;      /* поля по краям ленты */
    scrollbar-width: none;           /* прячем скроллбар (Firefox) */
  }

  .js-store-product .t-slds__thumbsbullet-wrapper::-webkit-scrollbar {
    display: none;                   /* прячем скроллбар (Chrome/Safari) */
  }

  /* Миниатюра: 40px, в ленте не сжимается */
  .js-store-product .t-slds__thumbsbullet {
    width: 40px !important;
    min-width: 40px !important;
    flex: 0 0 40px !important;
  }
}

@media (max-width: 959px) {
  /* Окошко миниатюры — в пропорции фото (2:3), а не квадрат:
     кадр помещается целиком, без кропа и «зума» */
  .js-store-product .t-slds__thumbsbullet .t-slds__bgimg {
    padding-bottom: 150% !important;
  }
}
@media (max-width: 959px) {
  .js-store-product .t-slds__thumbsbullet .t-slds__bgimg.t-bgimg {
    height: auto !important;
    padding-bottom: 150% !important;
  } 
}

@media (max-width: 959px) {

  /* Выпускаем черту за пределы миниатюры:
     overflow прятал всё ниже фото, скругление переносим на само фото */
  .js-store-product .t-slds__thumbsbullet {
    overflow: visible !important;
  }

  .js-store-product .t-slds__thumbsbullet .t-slds__bgimg {
    border-radius: 2px;
  }

  /* Рамку превращаем в линию под фото */
  .js-store-product .t-slds__thumbsbullet .t-slds__thumbsbullet-border {
    border: none !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: -6px !important; /* 5px зазора + 1px линии, как у цвета */
    height: 1px !important;
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
  }

  /* У активной миниатюры линия винная */
  .js-store-product .t-slds__thumbsbullet.t-slds__bullet_active .t-slds__thumbsbullet-border {
    background-color: var(--uc-color-color-bk7wERWr, #673147) !important;
  }
}


@media (max-width: 959px) {
  /* Лента миниатюр — до краёв экрана: срез по кромке вьюпорта,
     а не посреди контентной зоны */
  .js-store-product .t-store__prod-popup__slider .t-slds__thumbsbullet-wrapper {
    padding: 0 15px 8px !important; /* поля и запас под черту — внутри ленты */
  }
}

@media screen and (max-width: 560px) {
    .t-store .t-slds__thumbsbullet-wrapper {
        width: calc(100% - 30px) !important;
    }
}

@media (max-width: 959px) {
  /* Лента миниатюр — до краёв экрана: срез по кромке вьюпорта,
     а не посреди контентной зоны */
  .js-store-product .t-store__prod-popup__slider .t-slds__thumbsbullet-wrapper {
    padding: 0 15px 8px !important; /* поля и запас под черту — внутри ленты */
  }
}

/* ===== Мобильная галерея товара v2 (до 959px) — по живой разметке ===== */
@media (max-width: 959px) {

  /* Фото слайда: пропорция из макета (320 × 464.47).
     Скоуп через .t-slds__item — миниатюры не задеваются */
  .js-store-product .t-slds__item .t-slds__bgimg {
    padding-bottom: 145.15% !important;
    background-size: cover !important;
    background-position: center top !important;
  }

  /* Лента слайдов: высота от фото, а не JS-константа.
     Слайды — флоаты с clearfix, auto их обнимает честно */
  .js-store-product .t-slds__items-wrapper {
    height: auto !important;
  }

  /* Стрелки НЕ трогаем: их колонны сами тянутся на высоту слайдера,
     кружок центруется библиотекой. Ломались не они, а фото под ними */

  /* --- Миниатюры --- */

  /* Лента: одна строка со скроллом, до краёв экрана */
  .js-store-product .t-slds__thumbsbullet-wrapper {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    margin-top: 5px !important;
    padding: 0 15px 8px !important; /* 8px снизу — место под черту активной */
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
  }

  .js-store-product .t-slds__thumbsbullet-wrapper::-webkit-scrollbar {
    display: none;
  }

  /* Миниатюра: 40px, пропорция фото 2:3, черта выпускается наружу */
  .js-store-product .t-slds__thumbsbullet {
    width: 40px !important;
    min-width: 40px !important;
    flex: 0 0 40px !important;
    height: auto !important;
    overflow: visible !important;
  }

  .js-store-product .t-slds__thumbsbullet .t-slds__bgimg {
    padding-bottom: 150% !important;
    border-radius: 2px;
  }

  /* Активная миниатюра: черта под фото, как у выбранного цвета */
  .js-store-product .t-slds__thumbsbullet .t-slds__thumbsbullet-border {
    border: none !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: -6px !important;
    height: 1px !important;
    background-color: transparent;
    transition: background-color 0.3s ease-in-out;
  }

  .js-store-product .t-slds__thumbsbullet.t-slds__bullet_active .t-slds__thumbsbullet-border {
    background-color: var(--uc-color-color-bk7wERWr, #673147) !important;
  }
}

/* ===== Стрелки галереи товара: без плашки, винный наконечник ===== */
@media (max-width: 959px) {

  /* Кружок-подложку делаем прозрачным (перебивает инлайновый белый) */
  .js-store-product .t-slds__arrow.t-slds__arrow-withbg {
    background-color: transparent !important;
  }

  /* Наконечник — винный */
  .js-store-product .t-slds__arrow_body svg polyline {
    stroke: var(--uc-color-color-bk7wERWr, #673147) !important;
  }
}

/* Инфо-блок товара на мобилке: поля 15px по краям, 20px сверху, 30px снизу */
@media (max-width: 959px) {
  .t-store__prod-popup__info.t-align_left.t-store__prod-popup__col-right {
    margin: 0 !important;
    padding: 20px 15px 0px 15px !important;
  }
}

/* Подсказка-«рука» у карусели рекомендаций — убрать совсем, на всех ширинах */
.t-store__relevants__container .t-store__scroll-icon-wrapper {
  display: none !important;
}

@media (max-width: 959px) {

  /* 1. Отступ до блока рекомендаций на мобилке — 60px */
  .t-store__relevants__container {
    margin-top: 60px !important;
  }

  /* 3. Колонка секции без боковых полей — карусель начинается от края экрана */
  .t-store__relevants__container .t-container .t-col {
    padding: 0 !important;
  }

  /* Карточки карусели: зазор 5px, собственных отступов нет */
  .t-store__relevants-grid-cont .t-store__card-list {
    column-gap: 5px !important;
  }

  .t-store__relevants-grid-cont.t-store__grid-cont_mobile-one-row .t-store__card {
    margin: 0 !important;
    padding: 0 !important;
  }
}

@media (max-width: 959px) {
  /* Заголовок «Вам также понравится» на мобилке — 18px */
  .t-store__relevants__title {
    font-size: 18px !important;
  }
}

/* Прибитая плашка «Добавить в корзину» на мобилке:
   без маргинов, поля 10px сверху-снизу и 15px по краям */
@media (max-width: 959px) {
  .t-store__prod-popup__btn-wrapper-fixed {
    margin: 0 !important;
    padding: 10px 15px !important;
  }
}

/* Прибитая плашка: без тени, сверху тонкая винная линия (из макета: 1px, 10%) */
@media (max-width: 959px) {
  .t-store__prod-popup__btn-wrapper-fixed {
    box-shadow: none !important;
    border-top: 1px solid rgba(103, 49, 71, 0.1) !important;
  }
}