/* Стили для попапов системы костюмов */
.suit-popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.87) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    opacity: 0;
    animation: fadeIn 0.3s ease-out forwards;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.suit-popup,
.suit-popup * {
    font-family: 'PT Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
    box-sizing: border-box;
}

.suit-popup {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4) !important;
    max-width: 500px !important;
    width: 100% !important;
    padding: 32px !important;
    text-align: center !important;
    transform: scale(0.8) translateY(20px);
    animation: popupSlideIn 0.3s ease-out 0.1s forwards;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1000000 !important;
}

.suit-popup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #000000, #333333, #000000);
}

.suit-popup-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    animation: iconBounce 0.5s ease-out 0.3s;
}

.suit-popup-icon.success {
    background: #000000;
    color: #ffffff;
}

.suit-popup-icon.promo {
    background: #f5f5f5;
    color: #000000;
    border: 2px solid #000000;
}

.suit-popup-icon.selector {
    background: #000000;
    color: #ffffff;
}

.suit-popup-title {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.suit-popup-message {
    font-size: 16px;
    color: #666666;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.suit-popup-details {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 16px;
    margin: 20px 0;
    border-left: 4px solid #000000;
}

.suit-popup-item {
    display: flex;
    align-items: center;
    margin: 8px 0;
    font-size: 14px;
    color: #333333;
}

.suit-popup-item::before {
    content: '•';
    margin-right: 8px;
    color: #000000;
    font-weight: bold;
}

.suit-popup-discount {
    background: #000000;
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    margin: 16px 0;
}

.suit-popup-warning {
    background: #fff8e1;
    color: #f57c00;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    margin: 16px 0;
    border: 1px solid #ffcc02;
}

.suit-popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #666666;
    transition: all 0.2s ease;
    font-weight: 400;
    line-height: 1;
}

.suit-popup-close:hover {
    background: #eeeeee;
    color: #000000;
}

/* Стили для селектора размеров */
.size-selector-container {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    justify-content: center;
}

.size-selector-group {
    flex: 1;
    text-align: left;
}

.size-selector-label {
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
    display: block;
}

.size-selector {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    color: #333333;
    background: #ffffff;
    transition: border-color 0.2s ease;
    cursor: pointer;
}

.size-selector:focus {
    outline: none;
    border-color: #000000;
}

.size-selector:hover {
    border-color: #cccccc;
}

/* Кнопки для селектора размеров */
.suit-popup-buttons {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    justify-content: center;
}

.suit-popup-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.suit-popup-btn-primary {
    background: #000000;
    color: #ffffff;
}

.suit-popup-btn-primary:hover {
    background: #333333;
}

.suit-popup-btn-primary:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.suit-popup-btn-secondary {
    background: #f5f5f5;
    color: #666666;
    border: 1px solid #e0e0e0;
}

.suit-popup-btn-secondary:hover {
    background: #eeeeee;
    color: #333333;
}

/* Анимации */
@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes popupSlideIn {
    to {
        transform: scale(1) translateY(0);
    }
}

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 480px) {
    .suit-popup-overlay {
        padding: 16px;
    }
    
    .suit-popup {
        padding: 24px;
        max-width: 100%;
        border-radius: 12px;
    }
    
    .suit-popup-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 16px;
    }
    
    .suit-popup-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .suit-popup-message {
        font-size: 15px;
        margin-bottom: 16px;
    }
    
    .suit-popup-details {
        padding: 14px;
        margin: 16px 0;
    }
    
    .suit-popup-item {
        font-size: 13px;
        margin: 6px 0;
    }
    
    .suit-popup-discount {
        padding: 10px 16px;
        font-size: 15px;
        margin: 14px 0;
    }
    
    .size-selector-container {
        flex-direction: column;
        gap: 16px;
    }
    
    .suit-popup-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .suit-popup-btn {
        min-width: auto;
        width: 100%;
    }
}

@media (max-width: 360px) {
    .suit-popup {
        padding: 20px;
    }
    
    .suit-popup-title {
        font-size: 17px;
    }
    
    .suit-popup-message {
        font-size: 14px;
    }
    
    .suit-popup-item {
        font-size: 12px;
    }
}

/* Темы для разных типов попапов */
.suit-popup.theme-replacement {
    border-top: 4px solid #000000;
}

.suit-popup.theme-promo {
    border-top: 4px solid #333333;
}

.suit-popup.theme-selector {
    border-top: 4px solid #000000;
}

/* Анимация закрытия */
.suit-popup-overlay.closing {
    animation: fadeOut 0.2s ease-out forwards;
}

.suit-popup-overlay.closing .suit-popup {
    animation: popupSlideOut 0.2s ease-out forwards;
}

@keyframes fadeOut {
    to { opacity: 0; }
}

@keyframes popupSlideOut {
    to {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }
}













/* ========================================
   СОВРЕМЕННЫЙ CSS ДЛЯ КОРЗИНЫ TILDA
   Цветовая схема: Белый основной, Серые оттенки, Красный акцент (#bb2200)
========================================== */

:root {
  /* Основная цветовая палитра */
  --primary-red: #bb2200;
  --primary-red-hover: #a01d00;
  --primary-red-light: rgba(187, 34, 0, 0.1);
  
  /* Градации серого - БЕЛЫЙ ОСНОВНОЙ */
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --border-gray: #dee2e6;
  --text-gray: #6c757d;
  --text-dark: #495057;
  --text-darkest: #212529;
  
  /* Тени */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  
  /* Скругления */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;
  
  /* Переходы */
  --transition-fast: 0.15s ease-out;
  --transition-normal: 0.3s ease-out;
  --transition-slow: 0.5s ease-out;
}

/* ========================================
   ОБЩИЕ СТИЛИ
========================================== */
.uploadcare-dialog.uploadcare-active {
    z-index: 9999999;
}

.payment-tools-container #buttonsContainer button {
    box-sizing: border-box;
}
.t-store__card__img {
   border-radius: 20px !important;
}

/* ========================================
   ИКОНКА КОРЗИНЫ
========================================== */
.t706__body_cartwinshowed .t706__carticon {
    display: none;
}

.t706__carticon {
    display: none;
    position: fixed;
    right: 50px;
    top: 100px;
    z-index: 4000;
    transition: var(--transition-normal);
}

.t706__carticon_showed {
    display: block;
    animation: slideInRight 0.4s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.t706__carticon_neworder .t706__carticon-text {
    cursor: pointer;
    opacity: 1;
    pointer-events: auto;
}

.t706__cartwin-prodamount,
.t706__cartwin-prodamount-currency {
    white-space: nowrap;
}

@media screen and (min-width: 960px) {
    .t706__carticon:hover .t706__carticon-text {
        cursor: pointer;
        opacity: 1 !important;
        pointer-events: auto;
    }

    .t706__carticon-imgwrap:hover {
        transform: scale(1.1);
        box-shadow: var(--shadow-lg);
    }
}

.t706__carticon-text {
    background: var(--text-darkest);
    border-radius: var(--radius-md);
    box-sizing: border-box;
    color: var(--white);
    font-size: 15px;
    font-weight: 500;
    opacity: 0;
    padding: 10px 14px;
    pointer-events: none;
    position: absolute;
    right: 130%;
    top: 50%;
    transform: translateX(0) translateY(-50%);
    transition: all var(--transition-normal);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
}

.t706__carticon-text:after {
    border: 10px solid transparent;
    border-left-color: var(--text-darkest);
    content: "";
    height: 0;
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
}

.t706__carticon_neworder .t706__carticon-imgwrap {
    animation: modernPulse 0.7s ease-out;
}

@keyframes modernPulse {
    0% { 
        transform: scale(1); 
    }
    60% { 
        transform: scale(1.25); 
        box-shadow: var(--shadow-xl); 
    }
    100% { 
        transform: scale(1); 
    }
}

.t706__carticon-wrapper {
    position: relative;
}

.t706__carticon-imgwrap {
    background: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    height: 80px;
    overflow: hidden;
    position: relative;
    transition: all var(--transition-normal);
    width: 80px;
    will-change: transform;
    border: 2px solid var(--light-gray);
}

.t706__carticon-imgwrap:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.t706__bgimg {
    background-position: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.t706__carticon-img {
    stroke: var(--text-darkest);
    height: 40px;
    padding: 18px 20px 22px;
    width: 40px;
    transition: var(--transition-fast);
}

.t706__carticon-counter {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-hover) 100%);
    border-radius: var(--radius-full);
    bottom: -3px;
    box-sizing: border-box;
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    height: 30px;
    line-height: 30px;
    min-width: 30px;
    padding: 0 5px;
    position: absolute;
    right: -3px;
    text-align: center;
    width: auto;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--white);
}

/* Размеры иконки */
.t706__carticon_sm .t706__carticon-imgwrap {
    height: 60px;
    width: 60px;
}

.t706__carticon_sm .t706__carticon-counter {
    bottom: -6px;
    font-size: 14px;
    height: 24px;
    line-height: 24px;
    min-width: 24px;
    right: -6px;
}

.t706__carticon_sm .t706__carticon-img {
    height: 34px;
    padding: 12px 13px 14px;
    width: 34px;
}

.t706__carticon_lg .t706__carticon-imgwrap {
    height: 100px;
    width: 100px;
}

.t706__carticon_lg .t706__carticon-img {
    height: 50px;
    padding: 22px 25px 28px;
    width: 50px;
}

/* ========================================
   ОКНО КОРЗИНЫ - БЕЛЫЙ ФОН
========================================== */
.t706__cartwin {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    bottom: 0;
    display: none;
    height: 100%;
    left: 0;
    overflow-y: auto;
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 4002;
}

.t706__cartwin_showed {
    display: block;
    z-index: 100001;
}

.t706__body_cartwinshowed {
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}

@supports (-webkit-touch-callout: none) {
    .t706__body_cartwinshowed {
        height: -webkit-fill-available;
        min-height: -webkit-fill-available;
    }
}

.t706__cartwin-content {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-sizing: border-box;
    margin: 65px auto;
    max-width: 560px;
    min-height: 300px;
    overflow: auto;
    padding: 40px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
    from {
        transform: translateY(60px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.t706__cartwin-close {
    color: var(--white);
    cursor: pointer;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 1;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    padding: 10px;
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}

.t706__cartwin-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.t706 .t706__close {
    height: 43px;
    right: 10px;
    top: 10px;
    width: 43px;
}

.t706 .t706__close-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 0;
    padding: 10px;
    width: 23px;
    transition: var(--transition-fast);
}

.t706 .t706__close-button:hover {
    transform: scale(1.1);
}

/* ========================================
   ВЕРХНЯЯ И НИЖНЯЯ ЧАСТИ КОРЗИНЫ - БЕЛЫЕ
========================================== */
.t706__cartwin-top {
    border-bottom: 2px solid var(--light-gray);
    padding: 0 0 30px;
    background: var(--white);
}

.t706__cartwin-bottom {
    border-top: 2px solid var(--light-gray);
    padding-top: 30px;
    background: var(--white);
}

/* ========================================
   ТОВАРЫ В КОРЗИНЕ - СОХРАНЯЕМ ЛОГИКУ TILDA
========================================== */
.t706__cartwin-products,
.t706__product {
    display: table;
    width: 100%;
}

.t706__product {
    height: 50px;
    vertical-align: middle;
    background: var(--white);
    transition: var(--transition-fast);
    margin-bottom: 8px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
}

.t706__product:hover {
    box-shadow: var(--shadow-sm);
    border-color: var(--light-gray);
    background: var(--light-gray);
}

.t706__product-thumb {
    display: table-cell;
    height: 100px;
    padding-right: 20px;
    vertical-align: middle;
    width: 70px;
}

.t706__product-imgdiv {
    background-color: var(--light-gray);
    background-position: 50%;
    background-size: cover;
    border-radius: var(--radius-sm);
    height: 70px;
    width: 70px;
    border: 1px solid var(--border-gray);
}

.t706__product-title {
    color: var(--text-darkest);
    display: table-cell;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 0;
    vertical-align: middle;
}

.t706__product-title a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.t706__product-title a:hover {
    color: var(--primary-red);
}

.t706__product-amount--portion .t706__product-portion,
.t706__product-title__option,
.t706__product-title__portion {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-gray);
}

.t706__product-amount--portion .t706__product-portion {
    display: inline-block;
}

.t706__product-plusminus {
    color: var(--text-darkest);
    display: table-cell;
    padding: 13px 20px 16px 10px;
    vertical-align: middle;
    white-space: nowrap;
    width: 80px;
}

.t706__product-quantity {
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-sm);
    color: var(--text-darkest);
    font-size: 16px;
    line-height: 16px;
    margin: 0 5px;
    padding: 2px 5px;
    background: var(--white);
    transition: var(--transition-fast);
}

.t706__product-quantity:hover {
    border-color: var(--primary-red);
    cursor: pointer;
}

.t706__product-quantity_editing:hover {
    border: 1px solid transparent;
}

.t706__product-quantity-inp {
    background-color: rgba(0, 0, 0, 0.05);
    display: inline;
    font-size: 16px;
    outline: none;
    padding-bottom: 2px;
    padding-top: 2px;
    width: 25px;
    border-radius: var(--radius-sm);
}

.t706__product-minus,
.t706__product-plus {
    cursor: pointer;
    display: inline-block;
    height: 16px;
    opacity: 0.4;
    position: relative;
    width: 16px;
    transition: var(--transition-fast);
}

.t706__product-minus:hover,
.t706__product-plus:hover {
    opacity: 1;
    transform: scale(1.2);
}

.t706__product-minus img,
.t706__product-plus img {
    height: 16px;
    position: absolute;
    top: 2px;
    width: 16px;
    transition: var(--transition-fast);
}

.t706__product-amount,
.t706__product-amount--portion {
    color: var(--text-darkest);
    display: table-cell;
    font-size: 16px;
    padding: 15px 0;
    vertical-align: middle;
    white-space: nowrap;
    width: 80px;
}

.t706__product-amount--portion .t706__product-amount {
    display: block;
    padding-bottom: 0;
}

.t706__product-del {
    cursor: pointer;
    display: inline-block;
    height: 20px;
    opacity: 0.4;
    width: 20px;
    transition: var(--transition-fast);
}

.t706__product:hover .t706__product-del,
.t706__product:hover .t706__product-minus,
.t706__product:hover .t706__product-plus {
    opacity: 1;
}

.t706__product-del:hover {
    transform: scale(1.1);
}

.t706__product-del-wrapper {
    display: table-cell;
    padding: 15px 0 15px 15px;
    vertical-align: middle;
    width: 20px;
}

/* ========================================
   ИТОГОВЫЕ СУММЫ - БЕЛЫЙ ФОН
========================================== */
.t706__cartwin-prodamount-wrap {
    color: var(--text-darkest);
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 20px;
    text-align: right;
    background: var(--white);
}

.t706__cartwin-orderbtn {
    font-size: 16px;
    height: 50px;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-hover) 100%);
    border: none;
    border-radius: var(--radius-md);
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.t706__cartwin-orderbtn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.t706__cartdata {
    display: none;
}

.t706__cartwin-totalamount-wrap {
    color: var(--text-darkest);
    display: none;
    font-weight: 600;
    overflow-wrap: break-word;
    padding-top: 15px;
    text-align: right;
    background: var(--white);
}

.t706 .t-form__inputsbox_flex .t706__cartwin-totalamount-wrap {
    width: 100%;
}

.t706__cartwin-totalamount-info_value {
    display: inline-block;
    margin-left: 5px;
    color: var(--primary-red);
    font-weight: 700;
}

.t706__cartwin-prodamount-currency,
.t706__cartwin-prodamount-price {
    display: inline-block;
}

.t706__cartwin-prodamount-currency + .t706__cartwin-prodamount-price:before,
.t706__cartwin-prodamount-price + .t706__cartwin-prodamount-currency:before {
    content: "";
    padding-left: 5px;
}

.t706__submit_disable {
    opacity: 0.5;
    pointer-events: none;
}

/* ========================================
   МОБИЛЬНАЯ АДАПТИВНОСТЬ - ИСПРАВЛЕНО
========================================== */
@media screen and (max-width: 960px) {
    .t706__carticon {
        right: 20px;
    }
}

@media screen and (max-width: 640px) {
    .t706__cartwin-content {
        max-width: 460px;
    }

    .t706__carticon-imgwrap,
    .t706__carticon_lg .t706__carticon-imgwrap {
        height: 60px;
        width: 60px;
    }

    .t706__carticon-counter,
    .t706__carticon_lg .t706__carticon-counter {
        bottom: -6px;
        font-size: 14px;
        height: 24px;
        line-height: 24px;
        min-width: 24px;
        right: -6px;
    }

    .t706__carticon-img,
    .t706__carticon_lg .t706__carticon-img {
        height: 34px;
        padding: 12px 13px 14px;
        width: 34px;
    }

    /* МОБИЛЬНАЯ АДАПТАЦИЯ - СОХРАНЯЕМ ОРИГИНАЛЬНУЮ ЛОГИКУ TILDA */
    .t706__product {
        display: table;
        margin: 35px 0;
        position: relative;
    }

    .t706__product-thumb {
        height: auto;
        vertical-align: top;
    }

    .t706__product-title {
        box-sizing: border-box;
        display: block;
        padding-bottom: 10px;
        padding-right: 30px;
        padding-top: 0;
        vertical-align: top;
        width: 100%;
    }

    .t706__product-amount,
    .t706__product-plusminus {
        display: inline-block;
        padding: 0 20px 0 0;
        vertical-align: bottom;
        width: auto;
    }

    .t706__product-del {
        padding: 0;
        position: absolute;
        right: 0;
        top: 0;
    }
}

@media screen and (max-width: 560px) {
    .t706__cartwin-content {
        margin: 50px auto 0;
        max-width: 100%;
        min-height: calc(100vh - 50px);
    }

    @supports (-webkit-touch-callout: none) {
        .t706__cartwin-content {
            height: -webkit-fill-available;
            min-height: -webkit-fill-available;
        }
    }

    .t706__cartwin-close {
        background-color: var(--text-darkest);
        display: table;
        height: 50px;
        left: 0;
        right: 0;
        top: 0;
        width: 100%;
        border-radius: 0;
    }

    .t706__cartwin-close-wrapper {
        display: table-cell;
        font-size: 0;
        padding-right: 20px;
        text-align: right;
        vertical-align: middle;
        width: 100%;
    }

    .t706 .t706__close {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        background: var(--text-darkest);
        height: 50px;
        left: 0;
        position: fixed;
        right: 0;
        top: 0;
        width: 100%;
        z-index: 2;
        border-radius: 0;
    }

    .t706 .t706__close-button {
        margin-right: 10px;
        padding: 10px;
        width: 16px;
    }

    .t706__cartwin-close-icon {
        width: 16px;
    }

    .t706__close .t706__cartwin-close-icon {
        height: 16px;
    }

    /* МОБИЛЬНЫЕ ТОВАРЫ - ОРИГИНАЛЬНАЯ ЛОГИКА TILDA С МИНИМАЛЬНЫМИ УЛУЧШЕНИЯМИ */
    .t706__product {
        margin: 35px 0;
        padding: 0;
    }

    .t706__product-thumb {
        padding-right: 20px;
    }

    .t706__product-imgdiv {
        height: 70px;
        width: 70px;
    }

    .t706__product-title {
        padding-bottom: 10px;
        padding-right: 30px;
        padding-top: 0;
    }

    .t706__product-plusminus {
        padding: 0 20px 0 0;
    }

    .t706__product-quantity {
        margin: 0 5px;
        padding: 2px 5px;
    }

    .t706__product-minus,
    .t706__product-plus {
        height: 16px;
        width: 16px;
        position: relative;
        opacity: 0.4;
        background: none;
        border: none;
        display: inline-block;
    }

    .t706__product-minus img,
    .t706__product-plus img {
        height: 16px;
        width: 16px;
        position: absolute;
        top: 2px;
    }

    .t706__product-amount {
        padding: 0 20px 0 0;
    }

    .t706__product-del-wrapper {
        padding: 0;
    }

    .t706__product-del {
        height: 20px;
        width: 20px;
        position: absolute;
        right: 0;
        top: 0;
    }
}

/* ========================================
   ФОРМЫ - БЕЛЫЙ ФОН
========================================== */
.t706__orderform {
    margin-bottom: 20px;
    margin-top: 20px;
    background: var(--white);
}

.t706 .t-form .t-descr_md,
.t706 .t706__cartwin-totalamount-wrap.t-descr_xl {
    font-size: 16px;
}

.t706 .t-form .t-input,
.t706 .t-form .t-select {
    height: 56px;
    border: 2px solid var(--border-gray);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: var(--transition-fast);
}

.t706 .t-form .t-input:focus,
.t706 .t-form .t-select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px var(--primary-red-light);
    outline: none;
}

.t706 .t-form input.t-input {
    transform: translateZ(0);
}

.t706 .t-form .t-input.t-input-phonemask {
    height: 100%;
}

.t706 .t-input-group {
    margin-bottom: 20px;
}

.t706 .t-input-block textarea {
    padding-top: 17px;
    transform: translateZ(0);
    border: 2px solid var(--border-gray);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: var(--transition-fast);
}

.t706 .t-input-block textarea:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px var(--primary-red-light);
    outline: none;
}

.t706 .t-input-title {
    padding-bottom: 5px;
    color: var(--text-darkest);
    font-weight: 600;
}

.t706 .t-input-subtitle {
    padding-bottom: 15px;
    color: var(--text-gray);
}

.t706 .t-input-group_rd .t-input-subtitle {
    padding-bottom: 5px;
}

.t706 .t-datepicker__wrapper,
.t706 .t-inputtime {
    max-width: 245px;
}

.t706 .t-form__submit {
    display: block;
    height: 100%;
    margin-bottom: 10px;
    margin-top: 30px;
    text-align: center;
    vertical-align: middle;
    width: 100%;
}

.t706 .t-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-hover) 100%);
    border: none;
    border-radius: var(--radius-md);
    color: var(--white);
    font-weight: 600;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-md);
}

.t706 .t-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.t706 .t-submit:disabled {
    cursor: auto;
    opacity: 0.6;
    transform: none;
}

.t706 .t-form__inputsbox_flex .t-form__errorbox-middle {
    margin-top: 0;
}

.t706 .t-form_bbonly .t-form__errorbox-wrapper {
    margin-bottom: 0;
    margin-top: 10px;
}

.t706 .t-form_bbonly .t-input-title {
    margin-bottom: 0;
    padding-bottom: 0;
}

.t706 .t-form_bbonly .t-input-subtitle {
    padding-bottom: 0;
    padding-top: 5px;
}

.t706 .t-form_bbonly .t-input-group {
    margin-bottom: 35px;
}

.t706__form-bottom-text {
    margin-bottom: 60px;
    margin-top: 20px;
    text-align: center;
    color: var(--text-gray);
}

.t706__form-upper-text {
    padding-bottom: 10px;
    padding-top: 30px;
    color: var(--text-darkest);
}

.t706 .t-form__successbox {
    padding-bottom: 70px;
    padding-top: 70px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
}

.t706__body_cartwinshowed .t396__artboard {
    z-index: 0;
}

/* ========================================
   ОСТАЛЬНЫЕ КОМПОНЕНТЫ
========================================== */

/* Удаленные товары */
.t706__product-deleted {
    display: table;
    position: relative;
    transform: scale(1);
    width: 100%;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid var(--border-gray);
}

.t706__product-deleted-wrapper {
    display: table-cell;
    position: relative;
    vertical-align: middle;
    width: 100%;
}

.t706__product-deleted__timer {
    color: var(--text-gray);
    display: flex;
    font-size: 14px;
    width: 100%;
}

.t706__product-deleted__timer__left {
    display: flex;
    align-items: center;
    flex: 1;
}

.t706__product-deleted__timer__counter {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 24px;
    margin-right: 15px;
    min-height: 24px;
    min-width: 24px;
    position: relative;
}

.t706__product-deleted__timer__title {
    display: inline-flex;
}

.t706__product-deleted__timer__counter__number {
    color: var(--primary-red);
    display: block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    width: 24px;
}

.t706__product-deleted__timer__counter__circle {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transform: rotate(90deg) scaleX(-1);
    width: 100%;
}

.t706__product-deleted__timer__counter__circle circle {
    stroke-dasharray: 100;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    stroke-width: 2px;
    stroke: var(--primary-red);
    fill: none;
    animation: t706_countdown 4s linear infinite forwards;
}

@keyframes t706_countdown {
    0% { stroke-dashoffset: 35; }
    100% { stroke-dashoffset: 102; }
}

.t706__product-deleted__timer__return {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    margin-left: 15px;
    transition: opacity 0.1s ease;
    background: var(--primary-red);
    color: var(--white);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
}

.t706__product-deleted__timer__return:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* Минимальные требования */
.t706 .t706__minimal {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 400;
    background: var(--light-gray);
    padding: 10px 15px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-red);
}

.t706 .t706__minimal span {
    position: relative;
}

.t706 .t706__minimal span:after {
    background: var(--text-gray);
    bottom: 0;
    content: "";
    height: 1px;
    left: 0;
    position: absolute;
    transition: 0.2s;
    width: 0;
}

.t706 .t706__minimal.active span:after {
    width: 100%;
}

/* Всплывающие уведомления */
.t706__bubble-container {
    display: flex;
    align-items: flex-end;
    bottom: 20px;
    flex-direction: column-reverse;
    gap: 10px;
    max-width: 350px;
    position: fixed;
    right: 20px;
    width: calc(100% - 40px);
    z-index: 10000000;
}

.t706__bubble {
    animation: cart-fadeInRight 0.3s ease-out;
    background-color: var(--text-darkest);
    border-radius: var(--radius-md);
    position: relative;
    width: 100%;
    box-shadow: var(--shadow-lg);
}

.t706__bubble-close {
    color: var(--white);
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 3px;
}

.t706__bubble-text {
    color: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    padding: 20px 30px;
}

.t706__bubble-text a {
    color: #ff855d;
    text-decoration: underline;
}

@keyframes cart-fadeInRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes cart-fadeOutRight {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

.t706__bubble_visible {
    animation: cart-fadeInRight 0.3s ease-out forwards;
}

.t706__bubble_hidden {
    animation: cart-fadeOutRight 0.3s ease-in forwards;
}

/* Аутентификация */
.t706__auth {
    background-color: var(--light-gray);
    flex: 1;
    font-size: 16px;
    margin-bottom: 20px;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-gray);
}

.t706__auth__link {
    color: var(--primary-red) !important;
    font-weight: 500;
    text-decoration: underline !important;
}

.t706__auth__flex {
    display: flex;
    align-items: center;
    gap: 16px;
}

.t706__auth__log-in-btn {
    appearance: none;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-sm);
    box-sizing: border-box;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    margin-left: auto;
    outline: none;
    padding: 10px 25px;
    text-align: center;
    white-space: nowrap;
    color: var(--text-darkest);
    transition: var(--transition-fast);
}

.t706__auth__log-in-btn:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--white);
}

/* Предупреждения */
.t706__warning {
    background: #f9aa51;
    color: var(--white);
    margin-bottom: 20px;
    padding: 10px;
    text-align: center;
    border-radius: var(--radius-md);
}

/* Адаптивность форм для мобильных */
@media screen and (max-width: 640px) {
    .t706 .t-form__submit {
        display: block;
        padding-bottom: 20px;
        text-align: center;
        width: 100%;
    }

    .t706 .t-input-block textarea {
        padding-top: 5px;
    }

    .t706 .t-input-block {
        padding-right: 0;
    }

    .t706 .t-submit {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .t706 .t-datepicker__wrapper,
    .t706 .t-inputtime {
        max-width: 100%;
    }

    .t706__orderform {
        margin-bottom: 40px;
    }

    .t706__cartwin-content {
        padding: 20px;
    }
}