/* =================================================================
       БЛОК ДОСТАВКИ
       ================================================================= */
    .delivery-card {
        background: #fff;
        border: 1px solid #e8edf3;
        border-radius: 10px;
        padding: 16px 18px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.04);
        color: #222;
        box-sizing: border-box;
        position: relative;
    }
    
    /* =================================================================
       ЕКСПРЕС ДОСТАВКА - ЛЕЙБЛ
       ================================================================= */
    .express-label {
        position: absolute;
        top: 16px;
        right: 18px;
        margin: 0;
    }
    
    .express-label__btn {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 4px 10px;
        background: #ecfdf5;
        border: 1px solid #a7f3d0;
        border-radius: 10px;
        font-size: 12px;
        font-weight: 500;
        color: #059669;
        cursor: pointer;
        transition: all 0.15s ease;
        min-height: 28px;
    }
    
    .express-label__btn:hover {
        background: #d1fae5;
        border-color: #6ee7b7;
    }
    
    .express-label__icon {
        color: #10b981;
        width: 14px;
        height: 14px;
    }
    
    /* =================================================================
       ЕКСПРЕС ДОСТАВКА - ПОПАП
       ================================================================= */
    .express-popup {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 99999;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    
    .express-popup__overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
    }
    
    .express-popup__content {
        position: relative;
        background: #fff;
        border-radius: 16px;
        padding: 28px 24px;
        max-width: 340px;
        width: 100%;
        text-align: center;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
        animation: expressPopupIn 0.25s ease-out;
    }
    
    @keyframes expressPopupIn {
        from {
            opacity: 0;
            transform: scale(0.9) translateY(10px);
        }
        to {
            opacity: 1;
            transform: scale(1) translateY(0);
        }
    }
    
    .express-popup__close {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 28px;
        height: 28px;
        border: none;
        background: #f3f4f6;
        border-radius: 50%;
        font-size: 18px;
        line-height: 1;
        color: #6b7280;
        cursor: pointer;
        transition: all 0.15s;
    }
    
    .express-popup__close:hover {
        background: #e5e7eb;
        color: #374151;
    }
    
    .express-popup__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 12px;
        animation: expressBounce 0.5s ease-out 0.2s both;
    }
    
    @keyframes expressBounce {
        0% { transform: scale(0); }
        50% { transform: scale(1.2); }
        100% { transform: scale(1); }
    }
    
    .express-popup__title {
        margin: 0 0 8px;
        font-size: 18px;
        font-weight: 700;
        color: #1f2937;
    }
    
    .express-popup__text {
        margin: 0 0 16px;
        font-size: 14px;
        color: #6b7280;
        line-height: 1.5;
    }
    
    .express-popup__info {
        background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
        border-radius: 10px;
        padding: 14px 16px;
        text-align: left;
    }
    
    .express-popup__info p {
        margin: 0;
        font-size: 14px;
        color: #92400e;
        line-height: 1.6;
    }
    
    .express-popup__info p + p {
        margin-top: 6px;
    }
    
    .send-line {
        margin: 0;
        font-size: 14px;
        color: #6b7280;
    }
    
    .send-date {
        font-weight: 600;
        color: #1a1a1a;
    }
    
    .delivery-divider {
        border: none;
        border-top: 1px solid #e5e7eb;
        margin: 12px 0;
    }
    
    .delivery-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .delivery-row {
        display: flex;
        gap: 10px;
        align-items: flex-start;
    }
    
    .delivery-icon {
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
        margin-top: 2px;
        border-radius: 3px;
        object-fit: contain;
    }
    
    .delivery-text { flex: 1; }
    
    .delivery-main {
        font-weight: 500;
        color: #1f2937;
        font-size: 14px;
        line-height: 1.3;
    }
    
    .delivery-sub {
        margin-top: 2px;
        color: #6b7280;
        font-size: 13px;
        line-height: 1.3;
    }
    
    .free-badge {
        display: inline;
        color: #16a34a;
        font-weight: 600;
        font-size: 13px;
    }
    
    .free-hint {
        color: #9ca3af;
        font-size: 12px;
    }
    
    .free-check {
        color: #16a34a;
        margin-right: 4px;
    }
    
    /* Trust Block */
    .trust-block {
        margin-top: 12px;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }
    
    .trust-line {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        color: #595959;
    }

    .trust-line img,
    .trust-line .trust-icon {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        color: #22c55e;
    }
    
    .trust-info-btn {
        width: 16px;
        height: 16px;
        border-radius: 50%;
        border: 1px solid #d1d5db;
        background: #f9fafb;
        color: #9ca3af;
        font-size: 10px;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        line-height: 1;
    }
    
    /* =================================================================
       ВАРІАЦІЇ — ПОКРАЩЕНИЙ ВИГЛЯД
       ================================================================= */
    
    /* Ціна в кнопці — менш помітна (тільки для текстових свотчів) */
    .xts-single-product .xts-variation-swatch:not(.xts-with-bg) .xts-swatch-price,
    .xts-single-product .xts-swatches-single .xts-swatch:not(.xts-with-bg) .xts-swatch-price,
    .variations .xts-variation-swatch:not(.xts-with-bg) .xts-swatch-price {
        color: #9ca3af !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        margin-left: 4px !important;
    }
    
    /* Базовий стиль кнопки варіації — ТІЛЬКИ для текстових свотчів (без кольору) */
    .xts-single-product .xts-variation-swatch:not(.xts-with-bg),
    .xts-single-product .xts-swatches-single .xts-swatch:not(.xts-with-bg) {
        border: 1px solid #e5e7eb !important;
        border-radius: 8px !important;
        padding: 10px 16px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        background-color: #fff !important;
        color: #374151 !important;
        cursor: pointer;
        transition: all 0.15s ease !important;
        min-width: auto !important;
    }
    
    /* Hover для текстових свотчів */
    .xts-single-product .xts-variation-swatch:not(.xts-with-bg):hover,
    .xts-single-product .xts-swatches-single .xts-swatch:not(.xts-with-bg):hover {
        border-color: #d1d5db !important;
        background-color: #f9fafb !important;
    }
    
    /* Вибрана варіація — текстові свотчі */
    .xts-single-product .xts-variation-swatch:not(.xts-with-bg).xts-active,
    .xts-single-product .xts-swatches-single .xts-swatch:not(.xts-with-bg).xts-active,
    .xts-single-product .xts-variation-swatch:not(.xts-with-bg)[data-status="1"].xts-active {
        border-color: #f59e0b !important;
        background-color: #fffbeb !important;
        color: #92400e !important;
        font-weight: 600 !important;
    }
    
    /* Ціна у вибраній варіації */
    .xts-single-product .xts-variation-swatch:not(.xts-with-bg).xts-active .xts-swatch-price {
        color: #b45309 !important;
    }
    
    /* Недоступна варіація — діагональний патерн (тільки текстові) */
    .xts-single-product .xts-variation-swatch:not(.xts-with-bg)[data-status="0"],
    .xts-single-product .xts-swatches-single .xts-swatch:not(.xts-with-bg).xts-disabled,
    .xts-single-product .xts-variation-swatch:not(.xts-with-bg).xts-out-of-stock {
        position: relative !important;
        overflow: hidden !important;
        background-color: #fff !important;
        color: #888 !important;
        cursor: not-allowed !important;
        border-color: #e0e0e0 !important;
    }
    
    /* Діагональні лінії — заповнюють всю кнопку (тільки текстові) */
    .xts-single-product .xts-variation-swatch:not(.xts-with-bg)[data-status="0"]::before,
    .xts-single-product .xts-swatches-single .xts-swatch:not(.xts-with-bg).xts-disabled::before,
    .xts-single-product .xts-variation-swatch:not(.xts-with-bg).xts-out-of-stock::before {
        content: '' !important;
        position: absolute !important;
        top: -50% !important;
        left: -50% !important;
        right: -50% !important;
        bottom: -50% !important;
        width: 200% !important;
        height: 200% !important;
        pointer-events: none !important;
        background: repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 2px,
            rgba(150, 150, 160, 0.4) 2px,
            rgba(150, 150, 160, 0.4) 4px
        ) !important;
        opacity: 0.5 !important;
        border-radius: inherit !important;
    }
    
    /* =================================================================
       КОЛЬОРОВІ СВОТЧІ (xts-with-bg) — стилізація виділення
       ================================================================= */
    
    /* Кольоровий свотч — вибраний (оранжева рамка) */
    .xts-single-product .xts-variation-swatch.xts-with-bg.xts-active {
        box-shadow: 0 0 0 3px #f59e0b !important;
    }
    
    /* Кольоровий свотч — hover */
    .xts-single-product .xts-variation-swatch.xts-with-bg:hover {
        box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.5) !important;
    }
    
    /* Приховуємо текст та ціну в кольорових свотчах */
    .xts-single-product .xts-variation-swatch.xts-with-bg .variation-price,
    .xts-single-product .xts-variation-swatch.xts-with-bg > span:not(:empty) {
        display: none !important;
    }
    
    /* =================================================================
       МОБІЛЬНА ВЕРСІЯ
       ================================================================= */
    @media (max-width: 420px) {
        .delivery-card { padding: 14px; }
        .delivery-main { font-size: 13px; }
        .delivery-icon { width: 16px; height: 16px; flex: 0 0 16px; }
        .trust-line { font-size: 11px; }
        
        /* Мобільні стилі тільки для текстових свотчів */
        .xts-single-product .xts-variation-swatch:not(.xts-with-bg),
        .xts-single-product .xts-swatches-single .xts-swatch:not(.xts-with-bg) {
            padding: 8px 12px !important;
            font-size: 13px !important;
        }
    }
    
    /* =================================================================
       МОБІЛЬНА STICKY КНОПКА "КУПИТИ" (тільки для сторінки товару)
       ================================================================= */
    
    /* Контейнер sticky кнопки */
    .amg-mobile-buy-bar {
        display: none;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 75px;
        z-index: 350;
        background: hsla(0, 0%, 100%, .698);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        height: 60px;
        padding: 0 12px;
        box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
        transition: opacity 0.2s, visibility 0.2s;
    }
    
    /* Ховаємо коли відкритий кошик, меню або попапи */
    body.xts-side-opened .amg-mobile-buy-bar,
    body.xts-cart-opened .amg-mobile-buy-bar,
    body.xts-mobile-menu-opened .amg-mobile-buy-bar,
    body.xts-search-opened .amg-mobile-buy-bar,
    body.xts-close-side .amg-mobile-buy-bar,
    body.popup-open .amg-mobile-buy-bar,
    body.pum-open .amg-mobile-buy-bar,
    html.xts-opened .amg-mobile-buy-bar {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    /* Ховати коли бічна панель відкрита */
    .xts-side-opened ~ .amg-mobile-buy-bar,
    .xts-cart-widget-side:not(.xts-side-hidden) ~ .amg-mobile-buy-bar {
        display: none !important;
    }
    
    /* Показуємо тільки на мобільних */
    @media (max-width: 768px) {
        .single-product .amg-mobile-buy-bar {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        /* Підняти scroll-to-top вище buy bar */
        .single-product .xts-scroll-to-top {
            bottom: 145px !important;
        }

        /* Padding під fixed buy bar (60px) + bottom nav (75px) */
        .single-product .site-content,
        .single-product .xts-content-area {
            padding-bottom: 90px !important;
        }
    }
    
    
    /* Кнопка купити */
    .amg-mobile-buy-bar .amg-buy-btn {
        flex: 1;
        background: #ffba00;
        color: #1f2937;
        border: none;
        border-radius: 10px;
        height: 44px;
        padding: 0 20px;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        transition: background 0.15s;
    }
    
    .amg-mobile-buy-bar .amg-buy-btn:hover,
    .amg-mobile-buy-bar .amg-buy-btn:active {
        background: #e5a800;
    }
    
    .amg-mobile-buy-bar .amg-buy-btn:disabled {
        background: #d1d5db;
        color: #6b7280;
        cursor: wait;
    }
    
    
    /* Режим "в кошику" - кнопки кількості */
    .amg-mobile-buy-bar.in-cart .amg-buy-btn {
        background: #ffba00;
        color: #1f2937;
        flex: 1;
        padding: 0 18px;
    }
    
    .amg-mobile-buy-bar.in-cart .amg-buy-btn:hover {
        background: #e5a800;
    }
    
    .amg-mobile-buy-bar .amg-qty-controls {
        display: none;
        align-items: center;
        gap: 0;
        background: #f3f4f6;
        border-radius: 10px;
        overflow: hidden;
        height: 44px;
    }
    
    .amg-mobile-buy-bar.in-cart .amg-qty-controls {
        display: flex;
    }
    
    .amg-mobile-buy-bar .amg-qty-btn {
        width: 44px;
        height: 44px;
        border: none;
        background: transparent;
        font-size: 20px;
        font-weight: 600;
        color: #374151;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.15s;
        -webkit-tap-highlight-color: transparent;
    }

    .amg-mobile-buy-bar .amg-qty-btn:hover,
    .amg-mobile-buy-bar .amg-qty-btn:focus,
    .amg-mobile-buy-bar .amg-qty-btn:focus-visible {
        background: transparent;
        color: #374151;
        border: none;
        outline: none;
        box-shadow: none;
    }

    .amg-mobile-buy-bar .amg-qty-btn:active {
        background: #d1d5db;
        color: #374151;
        border: none;
        outline: none;
        box-shadow: none;
    }

    .amg-mobile-buy-bar .amg-qty-value {
        min-width: 32px;
        text-align: center;
        font-size: 15px;
        font-weight: 600;
        color: #1f2937;
    }
    
    /* =================================================================
       КЕШБЕК ПОПАП
       ================================================================= */
    .amg-cashback-popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 99999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.25s ease, visibility 0.25s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    
    .amg-cashback-popup-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .amg-cashback-popup {
        background: #fff;
        border-radius: 16px;
        max-width: 400px;
        width: 100%;
        padding: 24px;
        position: relative;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
        transform: translateY(20px) scale(0.95);
        transition: transform 0.25s ease;
    }
    
    .amg-cashback-popup-overlay.active .amg-cashback-popup {
        transform: translateY(0) scale(1);
    }
    
    .amg-cashback-popup-close {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        border: none;
        background: #f3f4f6;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.15s;
        font-size: 18px;
        color: #6b7280;
        line-height: 1;
    }
    
    .amg-cashback-popup-close:hover {
        background: #e5e7eb;
        color: #374151;
    }
    
    .amg-cashback-popup-header {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 16px;
        padding-right: 30px;
    }
    
    .amg-cashback-popup-header img {
        width: 36px;
        height: 36px;
    }
    
    .amg-cashback-popup-header h3 {
        margin: 0;
        font-size: 18px;
        font-weight: 700;
        color: #1f2937;
    }
    
    .amg-cashback-popup-content {
        font-size: 15px;
        line-height: 1.6;
        color: #4b5563;
    }
    
    .amg-cashback-popup-content ol {
        margin: 12px 0 0;
        padding-left: 20px;
    }
    
    .amg-cashback-popup-content li {
        margin-bottom: 8px;
    }
    
    .amg-cashback-popup-content a {
        color: #f59e0b;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.15s;
    }
    
    .amg-cashback-popup-content a:hover {
        color: #d97706;
        text-decoration: underline;
    }
    
    /* Стилі для клікабельного кешбеку - тільки YITH Points */
    .single-product .summary .ywpar_points_rewards strong,
    .single-product .summary .yith-par-message strong,
    .single-product .summary .ywpar-points-earned strong {
        cursor: pointer;
        transition: opacity 0.15s;
    }
    
    .single-product .summary .ywpar_points_rewards strong:hover,
    .single-product .summary .yith-par-message strong:hover,
    .single-product .summary .ywpar-points-earned strong:hover {
        opacity: 0.7;
    }
    
    /* Вирівнювання блоку кешбеку з варіаціями */
    .single-product .summary > .ywpar_points_rewards:first-of-type,
    .single-product .summary > .yith-par-message:first-of-type {
        margin-top: 12px !important;
        margin-bottom: 8px !important;
    }
    
    /* Фікс зсуву сайту при відкритті попапу */
    body.amg-popup-open {
        overflow: hidden !important;
        padding-right: var(--scrollbar-width, 0px) !important;
    }
    
    /* =================================================================
       ПОПАП ТЕРМІНИ ПРИДАТНОСТІ
       ================================================================= */
    .amg-termin-popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
        z-index: 99999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    
    .amg-termin-popup-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .amg-termin-popup {
        background: transparent;
        max-width: 340px;
        width: 100%;
        max-height: calc(100vh - 40px);
        max-height: calc(100dvh - 40px);
        position: relative;
        transform: scale(0.9);
        transition: transform 0.3s ease;
    }
    
    .amg-termin-popup-overlay.active .amg-termin-popup {
        transform: scale(1);
    }
    
    .amg-termin-popup-close {
        position: absolute;
        top: -12px;
        right: -12px;
        width: 32px;
        height: 32px;
        border: none;
        background: #fff;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #374151;
        line-height: 1;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.15s, background 0.15s;
        z-index: 10;
    }
    
    .amg-termin-popup-close:hover {
        background: #f3f4f6;
        transform: scale(1.1);
    }
    
    .amg-termin-popup img {
        width: 100%;
        height: auto;
        max-height: calc(100vh - 60px);
        max-height: calc(100dvh - 60px);
        object-fit: contain;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
        display: block;
    }
    
    @media (max-width: 400px) {
        .amg-termin-popup {
            max-width: calc(100% - 20px);
        }
        
        .amg-termin-popup-close {
            top: -10px;
            right: -10px;
            width: 28px;
            height: 28px;
            font-size: 16px;
        }
    }
    
    /* =================================================================
       ПОПАП ПІДПИСКА НА КОРМ (бічна панель)
       ================================================================= */
    .amg-subs-popup-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 99999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .amg-subs-popup-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .amg-subs-popup {
        position: fixed;
        top: 0;
        right: 0;
        width: 380px;
        max-width: 100%;
        height: 100%;
        background: #fff;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 100000;
    }
    
    .amg-subs-popup-overlay.active .amg-subs-popup {
        transform: translateX(0);
    }
    
    .amg-subs-popup-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        border-bottom: 1px solid #e5e7eb;
        position: sticky;
        top: 0;
        background: #fff;
        z-index: 10;
    }
    
    .amg-subs-popup-header h3 {
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        color: #1f2937;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    .amg-subs-popup-header h3::before {
        content: '';
        display: inline-block;
        width: 18px;
        height: 18px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 4 23 10 17 10'/%3E%3Cpolyline points='1 20 1 14 7 14'/%3E%3Cpath d='M3.51 9a9 9 0 0114.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0020.49 15'/%3E%3C/svg%3E") no-repeat center/contain;
        vertical-align: middle;
    }
    
    .amg-subs-popup-close {
        width: 32px;
        height: 32px;
        border: none;
        background: #f3f4f6;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        color: #6b7280;
        transition: background 0.15s, color 0.15s;
    }
    
    .amg-subs-popup-close:hover {
        background: #e5e7eb;
        color: #374151;
    }
    
    .amg-subs-popup-content {
        padding: 24px 20px;
    }
    
    .amg-subs-popup-question {
        font-size: 17px;
        font-weight: 600;
        color: #1f2937;
        margin: 0 0 12px;
    }
    
    .amg-subs-popup-desc {
        font-size: 14px;
        line-height: 1.6;
        color: #6b7280;
        margin: 0 0 24px;
    }
    
    .amg-subs-benefits {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    .amg-subs-benefit {
        display: flex;
        gap: 12px;
        align-items: flex-start;
    }
    
    .amg-subs-benefit-icon {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
        background: #fef3c7;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }
    
    .amg-subs-benefit-text {
        font-size: 14px;
        line-height: 1.5;
        color: #374151;
        padding-top: 6px;
    }
    
    .amg-subs-popup-footer {
        padding: 20px;
        border-top: 1px solid #e5e7eb;
        position: sticky;
        bottom: 0;
        background: #fff;
    }
    
    .amg-subs-popup-link {
        display: block;
        text-align: center;
        background: #ffba00;
        color: #1f2937;
        font-weight: 600;
        font-size: 15px;
        padding: 14px 24px;
        border-radius: 10px;
        text-decoration: none;
        transition: background 0.15s;
    }
    
    .amg-subs-popup-link:hover {
        background: #e5a800;
        color: #1f2937;
    }
    
    /* Стиль для кнопки-тригера */
    a.info-button {
        cursor: pointer;
    }
    
    @media (max-width: 420px) {
        .amg-subs-popup {
            width: 100%;
        }
        
        .amg-subs-popup-content {
            padding: 20px 16px;
        }
        
        .amg-subs-benefit-icon {
            width: 32px;
            height: 32px;
            font-size: 16px;
        }
    }
    
    /* =================================================================
       QUANTITY - ПОКАЗУВАТИ ТІЛЬКИ КОЛИ ТОВАР В КОШИКУ
       ================================================================= */
    
    /* Quantity — плавна поява (transitions в child theme style.css) */
    .single-product .summary .quantity:not(.amg-qty-visible) {
        max-width: 0 !important;
        opacity: 0 !important;
        overflow: hidden !important;
        border: 0 !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        pointer-events: none;
    }
    .single-product .summary .quantity.amg-qty-visible {
        max-width: 120px !important;
        opacity: 1 !important;
        pointer-events: auto;
    }

    /* Степер кількості — нейтральний: БЕЗ бордера, без помаранчевого hover теми XTS */
    .single-product .summary .quantity .xts-plus,
    .single-product .summary .quantity .xts-minus,
    .single-product .summary .quantity .xts-plus:hover,
    .single-product .summary .quantity .xts-minus:hover,
    .single-product .summary .quantity .xts-plus:focus,
    .single-product .summary .quantity .xts-minus:focus,
    .single-product .summary .quantity .xts-plus:focus-visible,
    .single-product .summary .quantity .xts-minus:focus-visible {
        background: transparent !important;
        color: #374151 !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
    .single-product .summary .quantity .xts-plus:active,
    .single-product .summary .quantity .xts-minus:active {
        background: #eef0f2 !important;
        color: #374151 !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }
