/**
 * Almira Bebek Companion - Module Styles
 * Conditional: Cart gifts, Cross-sell, FBT, Popup, Bundles, Wizards, Checkout
 * Depends on companion-core.css (variables, drawer, toast)
 * @package Almira_Bebek_Companion
 */

/* ==========================================================================
   ABC MODAL ARMOR — Theme-proof overlay & modal positioning
   These use !important to guarantee modals work regardless of theme CSS.
   ========================================================================== */

/* ── Backdrops ── */
.abc-wz__backdrop,
.abc-gf__backdrop,
.abc-sw__backdrop,
.abc-atc-backdrop,
.abc-bundle-modal__backdrop,
.abc-modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    z-index: 99997 !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.abc-wz__backdrop.active,
.abc-gf__backdrop.active,
.abc-sw__backdrop.active,
.abc-atc-backdrop.active,
.abc-bundle-modal__backdrop.active,
.abc-modal-backdrop.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* ── Modal wrappers ── */
.abc-wz,
.abc-gf,
.abc-sw,
.abc-atc-popup,
.abc-bundle-modal,
.abc-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 16px !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99998 !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-sizing: border-box !important;
}

.abc-wz.open,
.abc-gf.open,
.abc-sw.open,
.abc-atc-popup.open,
.abc-bundle-modal.open,
.abc-modal.open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* ── Containers (the visible card) ── */
.abc-wz__container,
.abc-gf__container,
.abc-sw__container,
.abc-atc-popup__container,
.abc-bundle-modal__container,
.abc-modal__container {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 22px !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25) !important;
    max-height: 90vh !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
    /* Prevent theme from stretching */
    margin: 0 auto !important;
    float: none !important;
}

.abc-wz__container  { max-width: 640px !important; }
.abc-gf__container  { max-width: 460px !important; }
.abc-sw__container  { max-width: 460px !important; }

/* ── Scroll body inside modals ── */
.abc-wz__body,
.abc-gf__body,
.abc-sw__body {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto !important;
    min-height: 0 !important;
}

/* ── Headers inside modals ── */
.abc-wz__header,
.abc-gf__header,
.abc-sw__header {
    flex: 0 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
}

/* ── Footers / Actions inside modals ── */
.abc-wz__footer,
.abc-gf__actions,
.abc-sw__actions {
    flex: 0 0 auto !important;
    position: relative !important;
    z-index: 2 !important;
}

/* ── Close buttons ── */
.abc-wz__close,
.abc-gf__close,
.abc-sw__close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 10 !important;
    background: rgba(0,0,0,0.06) !important;
    border: none !important;
    border-radius: 50% !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    line-height: 1 !important;
    color: #374151 !important;
    transition: background 0.2s !important;
}

.abc-wz__close:hover,
.abc-gf__close:hover,
.abc-sw__close:hover {
    background: rgba(0,0,0,0.12) !important;
}

/* ── Body scroll lock ── */
body.abc-wz-open,
body.abc-gf-open,
body.abc-sw-open,
body.abc-atc-open,
body.abc-bundle-open,
body.abc-modal-open {
    overflow: hidden !important;
    position: relative !important;
}

/* ── Mobile bottom-sheet ── */
@media (max-width: 768px) {
    .abc-wz,
    .abc-gf,
    .abc-sw {
        align-items: flex-end !important;
        padding: 0 !important;
    }

    .abc-wz__container,
    .abc-gf__container,
    .abc-sw__container {
        max-width: 100% !important;
        max-height: 92vh !important;
        border-radius: 22px 22px 0 0 !important;
        width: 100% !important;
    }
}

/* ── Form element reset inside modals (prevent theme defaults) ── */
.abc-wz button,
.abc-wz input,
.abc-wz select,
.abc-wz textarea,
.abc-gf button,
.abc-gf input,
.abc-gf select,
.abc-gf textarea,
.abc-sw button,
.abc-sw input,
.abc-sw select,
.abc-sw textarea {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
}

.abc-wz input[type="text"],
.abc-wz input[type="number"],
.abc-wz input[type="email"],
.abc-wz select,
.abc-gf input[type="text"],
.abc-gf input[type="number"],
.abc-gf input[type="email"],
.abc-gf select,
.abc-sw input[type="text"],
.abc-sw input[type="number"],
.abc-sw input[type="email"],
.abc-sw select {
    height: 48px !important;
    padding: 8px 14px !important;
    border: 1.5px solid #D1D5DB !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: #111827 !important;
    outline: none !important;
    transition: border-color 0.2s !important;
}

.abc-wz input:focus,
.abc-gf input:focus,
.abc-sw input:focus,
.abc-wz select:focus,
.abc-gf select:focus,
.abc-sw select:focus {
    border-color: #6366F1 !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}

/* ── Range input styling ── */
.abc-gf input[type="range"],
.abc-sw input[type="range"],
.abc-wz input[type="range"] {
    -webkit-appearance: none !important;
    appearance: none !important;
    height: 6px !important;
    background: #E5E7EB !important;
    border-radius: 6px !important;
    border: none !important;
    outline: none !important;
    padding: 0 !important;
}

.abc-gf input[type="range"]::-webkit-slider-thumb,
.abc-sw input[type="range"]::-webkit-slider-thumb,
.abc-wz input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    width: 22px !important;
    height: 22px !important;
    background: #6366F1 !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important;
}

/* ==========================================================================
   END — ABC MODAL ARMOR
   ========================================================================== */

/* ==========================================================================
   GIFT SECTION — Progress Bar + Milestone Grid v4
   ========================================================================== */

.abc-gifts {
    background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
    border: 1.5px solid #FCD34D;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
    overflow: hidden;
}

/* Header row */
.abc-gifts__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.abc-gifts__icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(251, 191, 36, 0.25);
    border-radius: 10px;
    font-size: 16px;
    flex-shrink: 0;
}

.abc-gifts__info { flex: 1; min-width: 0; }

.abc-gifts__title {
    font-size: 13px;
    font-weight: 700;
    color: #92400E;
    margin: 0;
    line-height: 1.2;
}

.abc-gifts__subtitle {
    font-size: 11px;
    color: #B45309;
    margin-top: 1px;
    line-height: 1.3;
}

.abc-gifts__subtitle strong { color: #92400E; font-weight: 700; }

.abc-gifts__count {
    font-size: 11px;
    font-weight: 700;
    color: #92400E;
    background: rgba(251, 191, 36, 0.3);
    padding: 2px 7px;
    border-radius: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ─── Progress Track (simple, no dots) ───────────── */
.abc-gifts__track {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    border: 1px solid rgba(251, 191, 36, 0.3);
    overflow: hidden;
    margin-bottom: 10px;
}

.abc-gifts__fill {
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    background: linear-gradient(90deg, #F59E0B, #D97706);
    border-radius: 6px;
    transition: width 0.6s ease;
}

.abc-gifts__fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    animation: abc-shimmer 2.5s ease-in-out infinite;
}

@keyframes abc-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ─── Milestone Grid ─────────────────────────────── */
.abc-gifts__milestones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 6px;
}

.abc-gifts__ms {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(251, 191, 36, 0.2);
    transition: all 0.2s;
}

/* Check icon circle */
.abc-gifts__ms-check {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.abc-gifts__ms-text {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    overflow: hidden;
}

.abc-gifts__ms-amount {
    font-size: 12px;
    font-weight: 700;
}

.abc-gifts__ms-name {
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    max-width: 100%;
}

/* ── States ── */

/* Earned */
.abc-gifts__ms--earned {
    background: rgba(209, 250, 229, 0.5);
    border-color: #A7F3D0;
}

.abc-gifts__ms--earned .abc-gifts__ms-check {
    background: #10B981;
    color: #fff;
}

.abc-gifts__ms--earned .abc-gifts__ms-amount { color: #059669; }
.abc-gifts__ms--earned .abc-gifts__ms-name { color: #047857; }

/* Next target */
.abc-gifts__ms--next {
    background: rgba(254, 243, 199, 0.8);
    border-color: #FCD34D;
    animation: abc-ms-pulse 2s ease-in-out infinite;
}

.abc-gifts__ms--next .abc-gifts__ms-check {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
}

.abc-gifts__ms--next .abc-gifts__ms-amount { color: #92400E; }
.abc-gifts__ms--next .abc-gifts__ms-name { color: #B45309; }

@keyframes abc-ms-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251,191,36,0.3); }
    50% { box-shadow: 0 0 0 4px rgba(251,191,36,0); }
}

/* Locked */
.abc-gifts__ms--locked .abc-gifts__ms-check {
    background: #E5E7EB;
    color: #9CA3AF;
}

.abc-gifts__ms--locked .abc-gifts__ms-amount { color: #9CA3AF; }
.abc-gifts__ms--locked .abc-gifts__ms-name { color: #D1D5DB; }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 480px) {
    .abc-gifts { padding: 10px 12px; }
    .abc-gifts__head { margin-bottom: 8px; }
    .abc-gifts__milestones {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
    .abc-gifts__ms { padding: 5px 6px; gap: 4px; }
    .abc-gifts__ms-check { width: 20px; height: 20px; min-width: 20px; }
    .abc-gifts__ms-check svg { width: 10px; height: 10px; }
    .abc-gifts__ms-amount { font-size: 11px; }
    .abc-gifts__ms-name { font-size: 9px; }
}

@keyframes abc-spin {
    to { transform: rotate(360deg); }
}


/* ==========================================================================
   CROSS-SELL SECTION
   ========================================================================== */

.abc-xsell {
    background: var(--abc-bg);
    border: 2px solid var(--abc-border);
    border-radius: var(--abc-radius);
    padding: 24px;
    margin-top: 24px;
    box-shadow: var(--abc-shadow-sm);
}

.abc-xsell__header {
    text-align: center;
    margin-bottom: 24px;
}

.abc-xsell__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--abc-text);
    margin: 0 0 8px;
}

.abc-xsell__icon { font-size: 24px; }

.abc-xsell__subtitle {
    font-size: 14px;
    color: var(--abc-text-muted);
    margin: 0;
}

.abc-xsell__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 768px) {
    .abc-xsell__grid { grid-template-columns: repeat(4, 1fr); }
}

.abc-xsell__card {
    background: var(--abc-bg);
    border: 1px solid var(--abc-border);
    border-radius: var(--abc-radius-sm);
    overflow: hidden;
    transition: all 0.25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.abc-xsell__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--abc-shadow);
    border-color: var(--abc-primary);
}

.abc-xsell__card--in-cart {
    border-color: var(--abc-success);
    background: linear-gradient(180deg, #ECFDF5 0%, var(--abc-bg) 100%);
}

.abc-xsell__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: var(--abc-primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    z-index: 1;
}

.abc-xsell__card--in-cart .abc-xsell__badge { background: var(--abc-success); }

.abc-xsell__image {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--abc-bg-light);
}

.abc-xsell__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.abc-xsell__card:hover .abc-xsell__image img { transform: scale(1.05); }

.abc-xsell__info {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.abc-xsell__name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--abc-text);
    line-height: 1.4;
    text-decoration: none;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.abc-xsell__name:hover { color: var(--abc-primary); }

.abc-xsell__price {
    font-size: 15px;
    font-weight: 700;
    color: var(--abc-primary);
    margin-top: auto;
}

.abc-xsell__price del {
    color: var(--abc-text-muted);
    font-weight: 400;
    font-size: 12px;
    margin-right: 4px;
}

.abc-xsell__price ins { text-decoration: none; }

.abc-xsell__action { padding: 0 14px 14px; }

.abc-xsell__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.abc-xsell__btn svg { flex-shrink: 0; }

.abc-xsell__btn--add {
    color: #fff;
    background: linear-gradient(135deg, var(--abc-primary) 0%, var(--abc-primary-dark) 100%);
    box-shadow: 0 3px 10px rgba(20, 184, 166, 0.3);
}

.abc-xsell__btn--add:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.4);
}

.abc-xsell__btn--add:active { transform: translateY(0); }

.abc-xsell__btn--add:disabled,
.abc-xsell__btn--add.loading {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.abc-xsell__btn--add.loading::before {
    content: '';
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: abc-spin 0.7s linear infinite;
}

.abc-xsell__btn--add.success { background: var(--abc-success); }

.abc-xsell__btn--in-cart {
    color: #065F46;
    background: #D1FAE5;
    cursor: default;
}

.abc-xsell__btn--link {
    color: var(--abc-text);
    background: var(--abc-bg-light);
    border: 1px solid var(--abc-border);
}

.abc-xsell__btn--link:hover {
    background: var(--abc-bg);
    border-color: var(--abc-primary);
    color: var(--abc-primary);
}


/* ==========================================================================
   ADMIN STYLES
   ========================================================================== */

.abc-settings-wrap { max-width: 900px; }
.abc-settings-wrap h1 { margin-bottom: 20px; }
.abc-tabs { margin-bottom: 20px; }

.abc-settings-form .form-table th {
    width: 200px;
    padding: 20px 10px 20px 0;
}

.abc-thresholds-table { max-width: 600px; }
.abc-thresholds-table th { text-align: left; padding: 10px; background: #f6f7f7; }
.abc-thresholds-table td { padding: 10px; }
.abc-thresholds-table .select2-container { min-width: 250px !important; }



/* ==========================================================================
   PDP — BIRLIKTE SIKÇA SATIN ALINAN (FBT v2)
   Screenshot-style: gradient header, AI badge, set discount
   ========================================================================== */

.abc-fbt {
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #FFF8F0 0%, #F0F4FF 40%, #F5F0FF 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* ── Header ── */
.abc-fbt__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 20px 20px 0;
}

.abc-fbt__header-left {
    flex: 1;
    min-width: 0;
}

.abc-fbt__title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 18px;
    font-weight: 800;
    color: #1F2937;
    margin: 0 0 8px;
    line-height: 1.3;
}

.abc-fbt__title-icon {
    font-size: 20px;
}

.abc-fbt__ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    background: linear-gradient(135deg, #F97316 0%, #FB923C 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    white-space: nowrap;
}

.abc-fbt__reasons {
    font-size: 13px;
    color: #6B7280;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.abc-fbt__reason-tag {
    font-size: 12px;
    color: #6B7280;
}

.abc-fbt__reason-sep {
    color: #D1D5DB;
}

.abc-fbt__header-right {
    flex-shrink: 0;
}

.abc-fbt__discount-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    font-size: 12px;
    font-weight: 800;
    border-radius: 10px;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    white-space: nowrap;
}

/* ── Body ── */
.abc-fbt__body {
    padding: 16px 20px 20px;
}

.abc-fbt__products {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.abc-fbt__products::-webkit-scrollbar {
    display: none;
}

/* ── Product Card ── */
.abc-fbt__card {
    position: relative;
    flex: 1 1 120px;
    min-width: 110px;
    max-width: 180px;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.abc-fbt__card.selected {
    border-color: var(--color-primary, #14B8A6);
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.15);
}

.abc-fbt__card--context {
    border-color: var(--color-primary, #14B8A6);
    background: rgba(20, 184, 166, 0.04);
}

/* Checkbox */
.abc-fbt__card-check {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 3;
    cursor: pointer;
}

.abc-fbt__check {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.abc-fbt__checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,0.9);
    border: 2px solid #D1D5DB;
    border-radius: 6px;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
}

.abc-fbt__checkmark svg {
    opacity: 0;
    transform: scale(0);
    transition: all 0.15s;
    color: white;
}

.abc-fbt__check:checked + .abc-fbt__checkmark {
    background: var(--color-primary, #14B8A6);
    border-color: var(--color-primary, #14B8A6);
}

.abc-fbt__check:checked + .abc-fbt__checkmark svg {
    opacity: 1;
    transform: scale(1);
}

.abc-fbt__card-check--locked {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--color-primary, #14B8A6);
    border-radius: 6px;
    color: white;
}

.abc-fbt__card-check--link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: rgba(255,255,255,0.9);
    border-radius: 6px;
    color: #9CA3AF;
    text-decoration: none;
    backdrop-filter: blur(4px);
}

/* Card image */
.abc-fbt__card-img {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: #FAFAFA;
}

.abc-fbt__card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
    padding: 8px;
}

.abc-fbt__card:hover .abc-fbt__card-img img {
    transform: scale(1.05);
}

/* Card info */
.abc-fbt__card-info {
    padding: 8px 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.abc-fbt__card-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    line-height: 1.4;
}

.abc-fbt__card-name:hover {
    color: var(--color-primary, #14B8A6);
}

.abc-fbt__card-price {
    font-size: 14px;
    font-weight: 700;
    color: #F97316;
    margin-top: auto;
}

.abc-fbt__card-price del {
    color: #9CA3AF;
    font-weight: 400;
    font-size: 11px;
}

.abc-fbt__card-price ins {
    text-decoration: none;
}

.abc-fbt__card-goto {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-primary, #14B8A6);
    text-decoration: none;
}

.abc-fbt__card-variant-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 600;
    color: #D97706;
    background: #FEF3C7;
    padding: 3px 8px;
    border-radius: 6px;
    margin-top: 4px;
}

.abc-fbt__card-check--variable {
    cursor: pointer;
}

/* ── Plus / Equals connectors ── */
.abc-fbt__plus-sign {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    font-size: 18px;
    font-weight: 700;
    color: #9CA3AF;
}

.abc-fbt__equals {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    font-size: 20px;
    font-weight: 700;
    color: #6B7280;
}

/* ── Totals + CTA Panel ── */
.abc-fbt__totals-panel {
    flex: 1 1 200px;
    min-width: 200px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 16px;
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF9C3 100%);
    border-radius: 16px;
    margin-left: 4px;
}

.abc-fbt__totals-old {
    font-size: 14px;
    color: #9CA3AF;
    text-decoration: line-through;
}

.abc-fbt__totals-current {
    font-size: 26px;
    font-weight: 800;
    color: #1F2937;
    line-height: 1.1;
}

.abc-fbt__totals-savings {
    font-size: 13px;
    font-weight: 600;
    color: #059669;
    font-style: italic;
}

.abc-fbt__add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 48px;
    margin-top: 8px;
    font-size: 15px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
    transition: all 0.2s;
}

.abc-fbt__add-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
}

.abc-fbt__add-btn:active {
    transform: translateY(0);
}

.abc-fbt__add-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.abc-fbt__add-btn.success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

/* ── Mobile ≤768px ── */
@media (max-width: 768px) {
    .abc-fbt {
        border-radius: 16px;
    }

    .abc-fbt__header {
        flex-direction: column;
        gap: 8px;
        padding: 16px 14px 0;
    }

    .abc-fbt__title {
        font-size: 15px;
        gap: 6px;
    }

    .abc-fbt__reasons {
        font-size: 11px;
    }

    .abc-fbt__body {
        padding: 12px 14px 16px;
    }

    /* Switch to CSS grid for perfect symmetry */
    .abc-fbt__products {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        overflow-x: visible;
    }

    /* Hide connectors on mobile */
    .abc-fbt__plus-sign,
    .abc-fbt__equals {
        display: none;
    }

    .abc-fbt__card {
        min-width: 0;
        max-width: none;
        border-radius: 12px;
    }

    .abc-fbt__card-info {
        padding: 6px 8px 10px;
        min-height: 0;
    }

    .abc-fbt__card-name {
        font-size: 11px;
        -webkit-line-clamp: 2;
        line-height: 1.35;
    }

    .abc-fbt__card-price {
        font-size: 13px;
    }

    .abc-fbt__card-price del {
        font-size: 10px;
    }

    .abc-fbt__card-variant-badge {
        font-size: 9px;
        padding: 2px 6px;
    }

    .abc-fbt__card-img img {
        padding: 4px;
    }

    .abc-fbt__checkmark {
        width: 20px;
        height: 20px;
    }

    .abc-fbt__card-check--locked {
        width: 20px;
        height: 20px;
    }

    /* Totals panel spans full width below cards */
    .abc-fbt__totals-panel {
        grid-column: 1 / -1;
        width: 100%;
        max-width: none;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px 12px;
        margin-left: 0;
        margin-top: 4px;
        padding: 14px;
        border-radius: 12px;
    }

    .abc-fbt__totals-old {
        font-size: 13px;
    }

    .abc-fbt__totals-current {
        font-size: 22px;
    }

    .abc-fbt__totals-savings {
        font-size: 12px;
    }

    .abc-fbt__add-btn {
        width: 100%;
        flex-basis: 100%;
        height: 44px;
        font-size: 14px;
        margin-top: 4px;
        border-radius: 12px;
    }

    .abc-fbt__discount-badge {
        font-size: 11px;
        padding: 5px 12px;
        border-radius: 8px;
    }
}

/* ── Dark Mode ── */
html[data-theme="dark"] .abc-fbt {
    background: linear-gradient(135deg, #1F1B16 0%, #1A1E2E 40%, #1E182E 100%);
}

html[data-theme="dark"] .abc-fbt__title {
    color: #F3F4F6;
}

html[data-theme="dark"] .abc-fbt__card {
    background: #1F2937;
    border-color: #374151;
}

html[data-theme="dark"] .abc-fbt__card.selected {
    border-color: var(--color-primary, #14B8A6);
}

html[data-theme="dark"] .abc-fbt__card--context {
    background: rgba(20, 184, 166, 0.08);
}

html[data-theme="dark"] .abc-fbt__card-name {
    color: #D1D5DB;
}

html[data-theme="dark"] .abc-fbt__totals-panel {
    background: linear-gradient(135deg, #292524 0%, #1C1917 100%);
}

html[data-theme="dark"] .abc-fbt__totals-current {
    color: #F3F4F6;
}

html[data-theme="dark"] .abc-fbt__checkmark {
    background: rgba(55, 65, 81, 0.9);
    border-color: #4B5563;
}

html[data-theme="dark"] .abc-fbt__card-check--link {
    background: rgba(55, 65, 81, 0.9);
}


/* ==========================================================================

/* ==========================================================================
   ADD-TO-CART POPUP
   Centered modal with added product + recommendations.
   ========================================================================== */

.abc-atc-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99996;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.abc-atc-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.abc-atc-popup {
    position: fixed;
    inset: 0;
    z-index: 99997;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--page-gutter, 16px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.abc-atc-popup.open {
    opacity: 1;
    visibility: visible;
}

.abc-atc-popup__container {
    background: var(--abc-bg);
    border-radius: var(--card-radius, 20px);
    box-shadow: var(--card-shadow, 0 20px 60px rgba(0,0,0,0.18));
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.abc-atc-popup.open .abc-atc-popup__container {
    transform: translateY(0) scale(1);
}

/* --- Header --- */
.abc-atc-popup__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--abc-border);
    flex-shrink: 0;
}

.abc-atc-popup__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    color: var(--abc-text);
    margin: 0;
}

.abc-atc-popup__check-icon {
    color: var(--abc-success);
    flex-shrink: 0;
}

.abc-atc-popup__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: var(--abc-bg-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--abc-text-muted);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.abc-atc-popup__close:hover {
    background: var(--abc-border);
    color: var(--abc-text);
}

/* --- Body --- */
.abc-atc-popup__body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0;
}

.abc-atc-popup__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.abc-atc-popup__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--abc-border);
    border-top-color: var(--abc-primary);
    border-radius: 50%;
    animation: abc-spin 0.8s linear infinite;
}

/* --- Added product row --- */
.abc-atc-added {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    background: var(--abc-bg-light);
    border-bottom: 1px solid var(--abc-border);
}

.abc-atc-added__img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--abc-border);
}

.abc-atc-added__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abc-atc-added__info {
    flex: 1;
    min-width: 0;
}

.abc-atc-added__name {
    font-size: 14px;
    font-weight: 600;
    color: var(--abc-text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.abc-atc-added__price {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary, var(--abc-primary));
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.abc-atc-added__price del {
    font-size: 13px;
    font-weight: 500;
    color: var(--abc-text-muted);
}

.abc-atc-added__meta {
    text-align: right;
    flex-shrink: 0;
    min-width: 90px;
}

.abc-atc-added__count {
    display: block;
    font-size: 12px;
    color: var(--abc-text-muted);
}

.abc-atc-added__subtotal {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--abc-text);
    margin-top: 4px;
}

/* --- Recommendations --- */
.abc-atc-recos {
    padding: 18px 22px 22px;
}

.abc-atc-recos__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 10px;
}

.abc-atc-recos__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--abc-text);
    margin: 0;
}

.abc-atc-recos__title svg {
    color: #F43F5E;
    flex-shrink: 0;
}

.abc-atc-recos__add-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--color-primary, var(--abc-primary));
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.abc-atc-recos__add-all:hover {
    background: var(--abc-primary-dark);
    transform: translateY(-1px);
}

.abc-atc-recos__add-all-count {
    background: rgba(255,255,255,0.3);
    padding: 1px 7px;
    border-radius: 6px;
    font-size: 11px;
}

/* --- Recommendation grid --- */
.abc-atc-recos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* --- Single reco card --- */
.abc-atc-reco {
    position: relative;
    background: var(--abc-bg);
    border: 1.5px solid var(--abc-border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.abc-atc-reco:hover {
    border-color: var(--color-primary, var(--abc-primary));
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.abc-atc-reco.selected {
    border-color: var(--color-primary, var(--abc-primary));
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.15);
}

.abc-atc-reco.added {
    opacity: 0.55;
    pointer-events: none;
}

/* Selection checkbox */
.abc-atc-reco__select {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 3;
    cursor: pointer;
}

.abc-atc-reco__check {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.abc-atc-reco__checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.9);
    border: 2px solid var(--abc-border);
    border-radius: 7px;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.abc-atc-reco__checkmark svg {
    opacity: 0;
    transform: scale(0);
    transition: all 0.15s ease;
    color: #fff;
}

.abc-atc-reco__check:checked + .abc-atc-reco__checkmark {
    background: var(--color-primary, var(--abc-primary));
    border-color: var(--color-primary, var(--abc-primary));
}

.abc-atc-reco__check:checked + .abc-atc-reco__checkmark svg {
    opacity: 1;
    transform: scale(1);
}

/* Product image */
.abc-atc-reco__img {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--abc-bg-light);
}

.abc-atc-reco__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.abc-atc-reco:hover .abc-atc-reco__img img {
    transform: scale(1.05);
}

/* Product body */
.abc-atc-reco__body {
    padding: 10px 12px 6px;
    flex: 1;
}

.abc-atc-reco__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 12px;
    font-weight: 500;
    color: var(--abc-text);
    text-decoration: none;
    line-height: 1.4;
    min-height: 34px;
}

.abc-atc-reco__name:hover {
    color: var(--color-primary, var(--abc-primary));
}

.abc-atc-reco__price {
    font-size: 13px;
    font-weight: 700;
    color: var(--abc-text);
    margin-top: 4px;
}

.abc-atc-reco__price del {
    color: var(--abc-text-muted);
    font-weight: 400;
    font-size: 11px;
}

.abc-atc-reco__price ins {
    text-decoration: none;
    color: #DC2626;
}

/* Action button */
.abc-atc-reco__action {
    padding: 0 12px 12px;
}

.abc-atc-reco__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    height: 34px;
    font-size: 12px;
    font-weight: 600;
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    line-height: 1;
}

.abc-atc-reco__btn--add {
    background: var(--color-primary, var(--abc-primary));
    color: #fff;
}

.abc-atc-reco__btn--add:hover {
    background: var(--abc-primary-dark);
    transform: translateY(-1px);
}

.abc-atc-reco__btn--add.loading {
    opacity: 0.7;
    pointer-events: none;
}

.abc-atc-reco__btn--view {
    background: var(--abc-bg-light);
    color: var(--abc-text);
    border: 1px solid var(--abc-border);
}

.abc-atc-reco__btn--view:hover {
    background: var(--abc-border);
}

.abc-atc-reco__btn--added {
    background: #F0FDF4;
    color: var(--abc-success);
    pointer-events: none;
}

/* --- Footer CTAs --- */
.abc-atc-popup__footer {
    display: flex;
    gap: 10px;
    padding: 16px 22px;
    border-top: 1px solid var(--abc-border);
    background: var(--abc-bg-light);
    flex-shrink: 0;
}

.abc-atc-popup__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 48px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
    line-height: 1;
}

.abc-atc-popup__btn--secondary {
    background: var(--abc-bg);
    color: var(--abc-text);
    border: 1.5px solid var(--abc-border);
}

.abc-atc-popup__btn--secondary:hover {
    background: var(--abc-bg-light);
    border-color: var(--abc-text-muted);
}

.abc-atc-popup__btn--primary {
    background: linear-gradient(135deg, var(--color-cta, #F97316) 0%, #E8660B 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.abc-atc-popup__btn--primary:hover {
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    transform: translateY(-1px);
}

/* --- Popup: body scroll lock --- */
body.abc-atc-open {
    overflow: hidden;
}

/* --- Popup: mobile --- */
@media (max-width: 600px) {
    .abc-atc-popup {
        align-items: flex-end;
        padding: 0;
    }

    .abc-atc-popup__container {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
    }

    .abc-atc-popup.open .abc-atc-popup__container {
        transform: translateY(0);
    }

    /* --- Header: Mobile --- */
    .abc-atc-popup__header {
        padding: 16px;
    }

    .abc-atc-popup__title {
        font-size: 18px;
        gap: 10px;
    }

    .abc-atc-popup__title svg {
        width: 24px;
        height: 24px;
    }

    .abc-atc-popup__close {
        width: 38px;
        height: 38px;
    }

    .abc-atc-popup__close svg {
        width: 22px;
        height: 22px;
    }

    /* --- Added Product Row: Mobile Optimized --- */
    .abc-atc-added {
        flex-wrap: wrap;
        gap: 12px;
        padding: 16px;
    }

    .abc-atc-added__img {
        width: 72px;
        height: 72px;
        border-radius: 12px;
    }

    .abc-atc-added__info {
        flex: 1;
        min-width: 120px;
    }

    .abc-atc-added__name {
        font-size: 15px;
        white-space: normal;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .abc-atc-added__price {
        font-size: 16px;
        margin-top: 6px;
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        align-items: center;
    }

    .abc-atc-added__price del {
        font-size: 13px;
        color: var(--abc-text-muted);
    }

    .abc-atc-added__meta {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 12px;
        margin-top: 4px;
        border-top: 1px dashed var(--abc-border);
        text-align: left;
    }

    .abc-atc-added__count {
        font-size: 13px;
        font-weight: 500;
    }

    .abc-atc-added__subtotal {
        font-size: 16px;
        font-weight: 800;
        color: var(--abc-text);
    }

    /* --- Recommendations: Mobile --- */
    .abc-atc-recos__grid {
        grid-template-columns: 1fr;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding-bottom: 4px;
    }

    .abc-atc-reco {
        min-width: 150px;
        max-width: 170px;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    /* --- Footer: Mobile FULL WIDTH BUTTONS --- */
    .abc-atc-popup__footer {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 16px !important;
        padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .abc-atc-popup__btn {
        flex: none !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        height: 54px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        border-radius: 14px !important;
    }

    .abc-atc-popup__btn--secondary {
        order: 2;
    }

    .abc-atc-popup__btn--primary {
        order: 1;
    }

    .abc-atc-recos {
        padding: 16px;
    }
}

/* --- Popup: dark mode --- */
html[data-theme="dark"] .abc-atc-popup__container {
    background: var(--abc-bg);
}

html[data-theme="dark"] .abc-atc-reco {
    background: #374151;
    border-color: #4B5563;
}

html[data-theme="dark"] .abc-atc-added {
    background: #374151;
}

html[data-theme="dark"] .abc-atc-popup__footer {
    background: #374151;
}

html[data-theme="dark"] .abc-atc-popup__btn--secondary {
    background: #1F2937;
    border-color: #4B5563;
    color: #F9FAFB;
}

html[data-theme="dark"] .abc-atc-reco__checkmark {
    background: rgba(55, 65, 81, 0.9);
    border-color: #4B5563;
}


/* ==========================================================================
   PREMIUM CHECKOUT — REMOVED (v2.4.0)
   Theme handles all checkout styling. Plugin only styles .abc-* components.
   ========================================================================== */

/* ==========================================================================

/* ==========================================================================
   BUNDLES — GRID (Shortcode)
   ========================================================================== */

.abc-bundles {
    margin: 32px 0;
}

.abc-bundles__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.abc-bundles__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--_bg, var(--abc-bg));
    border: 1.5px solid var(--_border, var(--abc-border));
    border-radius: var(--_radius, var(--card-radius, 18px));
    padding: 28px 18px 22px;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    outline: none;
    font-family: inherit;
    width: 100%;
}

.abc-bundles__card:hover,
.abc-bundles__card:focus-visible {
    border-color: var(--color-primary, var(--abc-primary));
    box-shadow: var(--_shadow, var(--card-shadow, 0 2px 12px rgba(0,0,0,.06))), 0 0 0 3px rgba(20, 184, 166, 0.1);
    transform: translateY(-3px);
}

/* Badge */
.abc-bundles__badge {
    position: absolute;
    top: -10px;
    right: 14px;
    background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    letter-spacing: 0.02em;
}

.abc-bundles__emoji {
    font-size: 36px;
    line-height: 1;
    margin-bottom: 10px;
}

.abc-bundles__title {
    font-size: 16px;
    font-weight: 800;
    color: var(--_text, var(--abc-text));
    margin: 0 0 6px;
}

.abc-bundles__desc {
    font-size: 13px;
    color: var(--_muted, var(--abc-text-muted));
    margin: 0 0 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.abc-bundles__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.abc-bundles__count {
    font-size: 12px;
    color: var(--_muted, var(--abc-text-muted));
    background: var(--_bg-light, var(--abc-bg-light));
    padding: 3px 10px;
    border-radius: 20px;
}

.abc-bundles__price {
    font-size: 13px;
    font-weight: 700;
    color: var(--_text, var(--abc-text));
}

.abc-bundles__price del {
    font-weight: 400;
    font-size: 11px;
    color: var(--_muted, var(--abc-text-muted));
    margin-right: 4px;
}

.abc-bundles__cta-hint {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary, var(--abc-primary));
    opacity: 0;
    transition: opacity 0.2s ease;
}

.abc-bundles__card:hover .abc-bundles__cta-hint {
    opacity: 1;
}

/* Mobile: 2 col */
@media (max-width: 768px) {
    .abc-bundles__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .abc-bundles__card {
        padding: 24px 14px 18px;
    }

    .abc-bundles__emoji {
        font-size: 28px;
    }

    .abc-bundles__title {
        font-size: 14px;
    }

    .abc-bundles__cta-hint {
        opacity: 1;
    }
}

/* ==========================================================================
   BUNDLES — MODAL
   ========================================================================== */

.abc-bundle-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99997;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.abc-bundle-modal__backdrop.active {
    opacity: 1;
    visibility: visible;
}

.abc-bundle-modal {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--_gutter, var(--page-gutter, 16px));
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.abc-bundle-modal.open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.abc-bundle-modal__container {
    background: var(--_bg, var(--abc-bg));
    border-radius: var(--_radius, var(--card-radius, 20px));
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.abc-bundle-modal.open .abc-bundle-modal__container {
    transform: translateY(0) scale(1);
}

/* Header */
.abc-bundle-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--_border, var(--abc-border));
}

.abc-bundle-modal__title {
    font-size: 18px;
    font-weight: 800;
    color: var(--_text, var(--abc-text));
    margin: 0;
}

.abc-bundle-modal__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--_bg-light, var(--abc-bg-light));
    border-radius: 10px;
    cursor: pointer;
    color: var(--_muted, var(--abc-text-muted));
    transition: background 0.2s ease;
}

.abc-bundle-modal__close:hover {
    background: var(--_border, var(--abc-border));
}

/* Body */
.abc-bundle-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.abc-bundle-modal__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

/* Products inside modal */
.abc-bundle-modal__products {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.abc-bundle-modal__product {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px;
    background: var(--_bg-light, var(--abc-bg-light));
    border-radius: 14px;
    border: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.abc-bundle-modal__product:hover {
    border-color: var(--_border, var(--abc-border));
}

.abc-bundle-modal__product--variable {
    border-left: 3px solid #D97706;
}

.abc-bundle-modal__product--oos {
    opacity: 0.5;
    border-left: 3px solid var(--abc-danger, #DC2626);
}

.abc-bundle-modal__product-img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: var(--_bg, var(--abc-bg));
}

.abc-bundle-modal__product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abc-bundle-modal__product-info {
    flex: 1;
    min-width: 0;
}

.abc-bundle-modal__product-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--_text, var(--abc-text));
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.abc-bundle-modal__product-name:hover {
    color: var(--color-primary, var(--abc-primary));
}

.abc-bundle-modal__product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--_text, var(--abc-text));
    margin-top: 2px;
}

.abc-bundle-modal__product-price del {
    font-weight: 400;
    font-size: 12px;
    color: var(--_muted, var(--abc-text-muted));
}

.abc-bundle-modal__product-price ins {
    text-decoration: none;
    color: #DC2626;
}

.abc-bundle-modal__product-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    margin-top: 4px;
}

.abc-bundle-modal__product-tag--ok {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.abc-bundle-modal__product-tag--warn {
    background: rgba(217, 119, 6, 0.1);
    color: #D97706;
}

.abc-bundle-modal__product-tag--oos {
    background: rgba(220, 38, 38, 0.08);
    color: #DC2626;
}

.abc-bundle-modal__product-goto {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-primary, var(--abc-primary));
    text-decoration: none;
    margin-top: 2px;
    margin-left: 8px;
}

/* Totals */
.abc-bundle-modal__totals {
    border-top: 1px solid var(--_border, var(--abc-border));
    padding-top: 16px;
}

.abc-bundle-modal__totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: var(--_text, var(--abc-text));
}

.abc-bundle-modal__total-old {
    text-decoration: line-through;
    color: var(--_muted, var(--abc-text-muted));
}

.abc-bundle-modal__totals-row--saving {
    color: #059669;
}

.abc-bundle-modal__total-saving {
    font-weight: 700;
    color: #059669;
}

.abc-bundle-modal__totals-row--final {
    border-top: 2px solid var(--_text, var(--abc-text));
    margin-top: 6px;
    padding-top: 10px;
    font-weight: 800;
    font-size: 16px;
}

.abc-bundle-modal__total-final {
    font-size: 20px;
    color: var(--color-cta, #F97316);
}

/* Notice */
.abc-bundle-modal__notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(217, 119, 6, 0.08);
    color: #92400E;
    font-size: 12px;
    line-height: 1.4;
    padding: 10px 14px;
    border-radius: 10px;
    margin-top: 14px;
}

.abc-bundle-modal__notice svg {
    flex-shrink: 0;
    margin-top: 1px;
}

/* Footer */
.abc-bundle-modal__footer {
    padding: 16px 24px;
    border-top: 1px solid var(--_border, var(--abc-border));
    background: var(--_bg-light, var(--abc-bg-light));
}

.abc-bundle-modal__add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--color-cta, #F97316) 0%, #E8660B 100%);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
    transition: all 0.25s ease;
    font-family: inherit;
}

.abc-bundle-modal__add-btn:hover {
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    transform: translateY(-1px);
}

.abc-bundle-modal__add-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.abc-bundle-modal__add-btn.success {
    background: linear-gradient(135deg, var(--abc-success, #10B981) 0%, #059669 100%);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

/* Scroll lock */
body.abc-bundle-open {
    overflow: hidden;
}

/* Mobile */
@media (max-width: 600px) {
    .abc-bundle-modal {
        align-items: flex-end;
        padding: 0;
    }

    .abc-bundle-modal__container {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
    }

    .abc-bundle-modal.open .abc-bundle-modal__container {
        transform: translateY(0);
    }

    .abc-bundle-modal__header {
        padding: 16px 20px;
    }

    .abc-bundle-modal__body {
        padding: 16px 20px;
    }

    .abc-bundle-modal__footer {
        padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    }
}

/* Dark mode */
html[data-theme="dark"] .abc-bundles__card {
    background: #1F2937;
    border-color: #374151;
}

html[data-theme="dark"] .abc-bundles__card:hover {
    border-color: var(--abc-primary);
}

html[data-theme="dark"] .abc-bundle-modal__container {
    background: var(--abc-bg);
}

html[data-theme="dark"] .abc-bundle-modal__product {
    background: #374151;
}

html[data-theme="dark"] .abc-bundle-modal__footer {
    background: #374151;
}

/* ==========================================================================

   BUNDLES — MODAL
   ========================================================================== */

.abc-bundle-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99997;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.abc-bundle-modal__backdrop.active {
    opacity: 1;
    visibility: visible;
}

.abc-bundle-modal {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--_gutter, var(--page-gutter, 16px));
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.abc-bundle-modal.open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.abc-bundle-modal__container {
    background: var(--_bg, var(--abc-bg));
    border-radius: var(--_radius, var(--card-radius, 20px));
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 560px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.abc-bundle-modal.open .abc-bundle-modal__container {
    transform: translateY(0) scale(1);
}

/* Header */
.abc-bundle-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--_border, var(--abc-border));
}

.abc-bundle-modal__title {
    font-size: 18px;
    font-weight: 800;
    color: var(--_text, var(--abc-text));
    margin: 0;
}

.abc-bundle-modal__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--_bg-light, var(--abc-bg-light));
    border-radius: 10px;
    cursor: pointer;
    color: var(--_muted, var(--abc-text-muted));
    transition: background 0.2s ease;
}

.abc-bundle-modal__close:hover {
    background: var(--_border, var(--abc-border));
}

/* Body */
.abc-bundle-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.abc-bundle-modal__loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

/* Products inside modal */
.abc-bundle-modal__products {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.abc-bundle-modal__product {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px;
    background: var(--_bg-light, var(--abc-bg-light));
    border-radius: 14px;
    border: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.abc-bundle-modal__product:hover {
    border-color: var(--_border, var(--abc-border));
}

.abc-bundle-modal__product--variable {
    border-left: 3px solid #D97706;
}

.abc-bundle-modal__product--oos {
    opacity: 0.5;
    border-left: 3px solid var(--abc-danger, #DC2626);
}

.abc-bundle-modal__product-img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: var(--_bg, var(--abc-bg));
}

.abc-bundle-modal__product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abc-bundle-modal__product-info {
    flex: 1;
    min-width: 0;
}

.abc-bundle-modal__product-name {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--_text, var(--abc-text));
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.abc-bundle-modal__product-name:hover {
    color: var(--color-primary, var(--abc-primary));
}

.abc-bundle-modal__product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--_text, var(--abc-text));
    margin-top: 2px;
}

.abc-bundle-modal__product-price del {
    font-weight: 400;
    font-size: 12px;
    color: var(--_muted, var(--abc-text-muted));
}

.abc-bundle-modal__product-price ins {
    text-decoration: none;
    color: #DC2626;
}

.abc-bundle-modal__product-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    margin-top: 4px;
}

.abc-bundle-modal__product-tag--ok {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.abc-bundle-modal__product-tag--warn {
    background: rgba(217, 119, 6, 0.1);
    color: #D97706;
}

.abc-bundle-modal__product-tag--oos {
    background: rgba(220, 38, 38, 0.08);
    color: #DC2626;
}

.abc-bundle-modal__product-goto {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-primary, var(--abc-primary));
    text-decoration: none;
    margin-top: 2px;
    margin-left: 8px;
}

/* Totals */
.abc-bundle-modal__totals {
    border-top: 1px solid var(--_border, var(--abc-border));
    padding-top: 16px;
}

.abc-bundle-modal__totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 14px;
    color: var(--_text, var(--abc-text));
}

.abc-bundle-modal__total-old {
    text-decoration: line-through;
    color: var(--_muted, var(--abc-text-muted));
}

.abc-bundle-modal__totals-row--saving {
    color: #059669;
}

.abc-bundle-modal__total-saving {
    font-weight: 700;
    color: #059669;
}

.abc-bundle-modal__totals-row--final {
    border-top: 2px solid var(--_text, var(--abc-text));
    margin-top: 6px;
    padding-top: 10px;
    font-weight: 800;
    font-size: 16px;
}

.abc-bundle-modal__total-final {
    font-size: 20px;
    color: var(--color-cta, #F97316);
}

/* Notice */
.abc-bundle-modal__notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(217, 119, 6, 0.08);
    color: #92400E;
    font-size: 12px;
    line-height: 1.4;
    padding: 10px 14px;
    border-radius: 10px;
    margin-top: 14px;
}

.abc-bundle-modal__notice svg {
    flex-shrink: 0;
    margin-top: 1px;
}

/* Footer */
.abc-bundle-modal__footer {
    padding: 16px 24px;
    border-top: 1px solid var(--_border, var(--abc-border));
    background: var(--_bg-light, var(--abc-bg-light));
}

.abc-bundle-modal__add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--color-cta, #F97316) 0%, #E8660B 100%);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
    transition: all 0.25s ease;
    font-family: inherit;
}

.abc-bundle-modal__add-btn:hover {
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    transform: translateY(-1px);
}

.abc-bundle-modal__add-btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

.abc-bundle-modal__add-btn.success {
    background: linear-gradient(135deg, var(--abc-success, #10B981) 0%, #059669 100%);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

/* Scroll lock */
body.abc-bundle-open {
    overflow: hidden;
}

/* Mobile */
@media (max-width: 600px) {
    .abc-bundle-modal {
        align-items: flex-end;
        padding: 0;
    }

    .abc-bundle-modal__container {
        max-width: 100%;
        max-height: 90vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
    }

    .abc-bundle-modal.open .abc-bundle-modal__container {
        transform: translateY(0);
    }

    .abc-bundle-modal__header {
        padding: 16px 20px;
    }

    .abc-bundle-modal__body {
        padding: 16px 20px;
    }

    .abc-bundle-modal__footer {
        padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    }
}

/* Dark mode */
html[data-theme="dark"] .abc-bundles__card {
    background: #1F2937;
    border-color: #374151;
}

html[data-theme="dark"] .abc-bundles__card:hover {
    border-color: var(--abc-primary);
}

html[data-theme="dark"] .abc-bundle-modal__container {
    background: var(--abc-bg);
}

html[data-theme="dark"] .abc-bundle-modal__product {
    background: #374151;
}

html[data-theme="dark"] .abc-bundle-modal__footer {
    background: #374151;
}

/* ==========================================================================
   CHECKOUT ORDER BUMP
   ========================================================================== */

.abc-bump {
    margin: 0 0 24px;
}

.abc-bump__inner {
    background: var(--_bg, var(--abc-bg));
    border: 2px dashed var(--color-cta, #F97316);
    border-radius: var(--_radius, var(--card-radius, 18px));
    padding: 20px;
    position: relative;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.abc-bump--active .abc-bump__inner {
    border-style: solid;
    border-color: var(--color-cta, #F97316);
    background: rgba(249, 115, 22, 0.04);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.abc-bump--disabled .abc-bump__inner {
    opacity: 0.55;
    pointer-events: none;
}

/* Badge */
.abc-bump__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--color-cta, #F97316) 0%, #E8660B 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 5px 12px;
    border-radius: 8px;
    margin-bottom: 14px;
}

.abc-bump__badge svg {
    flex-shrink: 0;
}

/* Product row */
.abc-bump__product {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.abc-bump__img {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--_border, var(--abc-border));
    background: var(--_bg-light, var(--abc-bg-light));
}

.abc-bump__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abc-bump__info {
    flex: 1;
    min-width: 0;
}

.abc-bump__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--_text, var(--abc-text));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.abc-bump__price {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-cta, #F97316);
}

.abc-bump__price del {
    color: var(--_muted, var(--abc-text-muted));
    font-weight: 400;
    font-size: 13px;
    margin-right: 4px;
}

.abc-bump__price ins {
    text-decoration: none;
}

.abc-bump__desc {
    font-size: 13px;
    color: var(--_muted, var(--abc-text-muted));
    margin-top: 4px;
    line-height: 1.4;
}

/* Toggle */
.abc-bump__toggle {
    border-top: 1px solid var(--_border, var(--abc-border));
    padding-top: 14px;
}

.abc-bump__label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.abc-bump__check {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.abc-bump__checkmark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--_bg, var(--abc-bg));
    border: 2px solid var(--_border, var(--abc-border));
    border-radius: 9px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.abc-bump__checkmark svg {
    opacity: 0;
    transform: scale(0);
    transition: all 0.15s ease;
    color: #fff;
}

.abc-bump__check:checked + .abc-bump__checkmark {
    background: var(--color-cta, #F97316);
    border-color: var(--color-cta, #F97316);
}

.abc-bump__check:checked + .abc-bump__checkmark svg {
    opacity: 1;
    transform: scale(1);
}

.abc-bump__label-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--_text, var(--abc-text));
    transition: color 0.2s ease;
}

.abc-bump--active .abc-bump__label-text {
    color: var(--color-cta, #F97316);
}

.abc-bump__stock-out {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--abc-danger, #DC2626);
    padding: 6px 14px;
    background: rgba(220, 38, 38, 0.06);
    border-radius: 8px;
}

/* Loading state */
.abc-bump.loading .abc-bump__checkmark {
    position: relative;
}

.abc-bump.loading .abc-bump__checkmark svg {
    display: none;
}

.abc-bump.loading .abc-bump__checkmark::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid var(--_border, var(--abc-border));
    border-top-color: var(--color-cta, #F97316);
    border-radius: 50%;
    animation: abc-spin 0.7s linear infinite;
}

/* Mobile */
@media (max-width: 768px) {
    .abc-bump__inner {
        padding: 16px;
    }

    .abc-bump__img {
        width: 60px;
        height: 60px;
    }

    .abc-bump__name {
        font-size: 14px;
    }

    .abc-bump__price {
        font-size: 15px;
    }
}

/* Dark mode */
html[data-theme="dark"] .abc-bump__inner {
    background: var(--abc-bg);
    border-color: var(--color-cta, #F97316);
}

html[data-theme="dark"] .abc-bump--active .abc-bump__inner {
    background: rgba(249, 115, 22, 0.08);
}

html[data-theme="dark"] .abc-bump__checkmark {
    background: #374151;
    border-color: #4B5563;
}

/* ==========================================================================

/* ==========================================================================
   LEGAL CHECKBOXES (Checkout)
   ========================================================================== */

.abc-legal-checkboxes {
    background: var(--_bg-light, var(--abc-bg-light));
    border: 1px solid var(--_border, var(--abc-border));
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
}

.abc-legal-checkbox {
    margin-bottom: 16px;
}

.abc-legal-checkbox:last-child {
    margin-bottom: 0;
}

.abc-legal-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    line-height: 1.5;
}

.abc-legal-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.abc-legal-checkmark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--abc-bg);
    border: 2px solid var(--abc-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.abc-legal-checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

.abc-legal-input:checked ~ .abc-legal-checkmark {
    background: var(--abc-primary);
    border-color: var(--abc-primary);
}

.abc-legal-input:checked ~ .abc-legal-checkmark::after {
    transform: rotate(45deg) scale(1);
}

.abc-legal-input:focus ~ .abc-legal-checkmark {
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

.abc-legal-label:hover .abc-legal-checkmark {
    border-color: var(--abc-primary);
}

.abc-legal-text {
    flex: 1;
    font-size: 13px;
    color: var(--_muted, var(--abc-text-muted));
    line-height: 1.6;
}

.abc-legal-link {
    color: var(--_primary, var(--abc-primary));
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(20, 184, 166, 0.4);
}

.abc-legal-link:hover {
    color: var(--_primary-dk, var(--abc-primary-dark));
    text-decoration-color: currentColor;
}

.abc-legal-text .required {
    color: var(--abc-danger);
    text-decoration: none;
    font-weight: bold;
}

/* ==========================================================================

   LEGAL CHECKBOXES (Checkout)
   ========================================================================== */

.abc-legal-checkboxes {
    background: var(--_bg-light, var(--abc-bg-light));
    border: 1px solid var(--_border, var(--abc-border));
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
}

.abc-legal-checkbox {
    margin-bottom: 16px;
}

.abc-legal-checkbox:last-child {
    margin-bottom: 0;
}

.abc-legal-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    line-height: 1.5;
}

.abc-legal-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.abc-legal-checkmark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    background: var(--abc-bg);
    border: 2px solid var(--abc-border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-top: 2px;
}

.abc-legal-checkmark::after {
    content: '';
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.2s ease;
}

.abc-legal-input:checked ~ .abc-legal-checkmark {
    background: var(--abc-primary);
    border-color: var(--abc-primary);
}

.abc-legal-input:checked ~ .abc-legal-checkmark::after {
    transform: rotate(45deg) scale(1);
}

.abc-legal-input:focus ~ .abc-legal-checkmark {
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

.abc-legal-label:hover .abc-legal-checkmark {
    border-color: var(--abc-primary);
}

.abc-legal-text {
    flex: 1;
    font-size: 13px;
    color: var(--_muted, var(--abc-text-muted));
    line-height: 1.6;
}

.abc-legal-link {
    color: var(--_primary, var(--abc-primary));
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: rgba(20, 184, 166, 0.4);
}

.abc-legal-link:hover {
    color: var(--_primary-dk, var(--abc-primary-dark));
    text-decoration-color: currentColor;
}

.abc-legal-text .required {
    color: var(--abc-danger);
    text-decoration: none;
    font-weight: bold;
}

/* ==========================================================================
   LEGAL MODALS
   ========================================================================== */

.abc-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.abc-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.abc-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.abc-modal.open {
    opacity: 1;
    visibility: visible;
}

.abc-modal__container {
    background: var(--abc-bg);
    border-radius: var(--abc-radius);
    box-shadow: var(--abc-shadow-lg);
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.abc-modal.open .abc-modal__container {
    transform: translateY(0);
}

.abc-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--abc-border);
    flex-shrink: 0;
}

.abc-modal__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--abc-text);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.abc-modal__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--abc-bg-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--abc-text-muted);
    transition: all 0.2s ease;
}

.abc-modal__close:hover {
    background: var(--abc-border);
    color: var(--abc-text);
}

.abc-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
    overscroll-behavior: contain;
}

.abc-modal__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--abc-text-muted);
}

.abc-modal__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--abc-border);
    border-top-color: var(--abc-primary);
    border-radius: 50%;
    animation: abc-spin 0.8s linear infinite;
    margin-bottom: 16px;
}

.abc-modal__footer {
    padding: 16px 24px;
    border-top: 1px solid var(--abc-border);
    background: var(--abc-bg-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-shrink: 0;
    border-radius: 0 0 var(--abc-radius) var(--abc-radius);
}

.abc-modal__note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--abc-text-muted);
    margin: 0;
}

.abc-modal__note svg {
    flex-shrink: 0;
    color: var(--abc-warning);
}

.abc-modal__btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: var(--abc-primary);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.abc-modal__btn:hover {
    background: var(--abc-primary-dark);
}

/* Legal Document Styles (inside modal) */
.abc-legal-doc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--abc-text);
}

.abc-legal-doc h2 {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 8px;
    color: var(--abc-text);
}

.abc-legal-doc h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 24px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--abc-border);
    color: var(--abc-text);
}

.abc-legal-doc h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 16px 0 8px;
    color: var(--abc-text-muted);
}

.abc-legal-doc p {
    margin: 0 0 12px;
}

.abc-legal-doc ul {
    margin: 0 0 12px;
    padding-left: 20px;
}

.abc-legal-doc li {
    margin-bottom: 6px;
}

.abc-legal-date {
    text-align: center;
    color: var(--abc-text-muted);
    font-size: 13px;
    margin-bottom: 20px !important;
}

.abc-legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    font-size: 13px;
}

.abc-legal-table td,
.abc-legal-table th {
    padding: 10px 12px;
    border: 1px solid var(--abc-border);
    text-align: left;
}

.abc-legal-table th {
    background: var(--abc-bg-light);
    font-weight: 600;
}

.abc-legal-table td:first-child {
    width: 140px;
    color: var(--abc-text-muted);
}

.abc-legal-items thead th {
    background: var(--abc-primary);
    color: #fff;
    font-weight: 600;
}

.abc-legal-items tfoot td {
    background: var(--abc-bg-light);
}

.abc-legal-items tfoot tr.total td {
    background: var(--abc-bg);
    font-weight: 700;
}

.abc-legal-sig {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--abc-border);
    text-align: center;
    font-style: italic;
    color: var(--abc-text-muted);
}

/* Body scroll lock when modal open */
body.abc-modal-open {
    overflow: hidden;
}

/* Mobile responsive for modals */
@media (max-width: 600px) {
    .abc-modal {
        padding: 10px;
    }
    
    .abc-modal__container {
        max-height: 95vh;
        border-radius: var(--abc-radius-sm);
    }
    
    .abc-modal__header,
    .abc-modal__body,
    .abc-modal__footer {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .abc-modal__footer {
        flex-direction: column;
        text-align: center;
    }
    
    .abc-modal__btn {
        width: 100%;
    }
    
    .abc-legal-table td:first-child {
        width: auto;
    }
    
    .abc-legal-checkboxes {
        padding: 16px;
    }
}

/* ==========================================================================

   WIZARD — BABY PREP (v1.1.0)
   ========================================================================== */

/* Trigger button */
.abc-wz-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary, #14B8A6) 0%, #0D9488 100%);
    border: none;
    border-radius: var(--_radius, var(--card-radius, 16px));
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.3);
    transition: all 0.25s ease;
    font-family: inherit;
}

.abc-wz-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
}

/* Backdrop */
.abc-wz__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 99997;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.abc-wz__backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Modal */
.abc-wz {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--_gutter, var(--page-gutter, 16px));
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.abc-wz.open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.abc-wz__container {
    background: var(--_bg, var(--abc-bg, #fff));
    border-radius: var(--_radius, var(--card-radius, 22px));
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 640px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.abc-wz.open .abc-wz__container {
    transform: translateY(0) scale(1);
}

/* Header */
.abc-wz__header {
    padding: 20px 24px 12px;
    border-bottom: 1px solid var(--_border, var(--abc-border, #E5E7EB));
}

.abc-wz__header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.abc-wz__title {
    font-size: 18px;
    font-weight: 800;
    color: var(--_text, var(--abc-text, #111827));
    margin: 0;
}

.abc-wz__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--_bg-light, var(--abc-bg-light, #F3F4F6));
    border-radius: 10px;
    cursor: pointer;
    color: var(--_muted, var(--abc-text-muted, #6B7280));
    transition: background 0.2s ease;
}

.abc-wz__close:hover {
    background: var(--_border, var(--abc-border, #E5E7EB));
}

/* Progress bar */
.abc-wz__progress {
    height: 4px;
    background: var(--_bg-light, var(--abc-bg-light, #F3F4F6));
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.abc-wz__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary, #14B8A6), var(--color-cta, #F97316));
    border-radius: 4px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.abc-wz__step-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--_muted, var(--abc-text-muted, #6B7280));
    text-align: center;
}

/* Body */
.abc-wz__body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

/* Steps */
.abc-wz__step {
    display: none;
}

.abc-wz__step--active {
    display: block;
    animation: abc-wz-fade-in 0.3s ease;
}

@keyframes abc-wz-fade-in {
    from { opacity: 0; transform: translateX(12px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Step 1: Category Grid */
.abc-wz__cats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.abc-wz__cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 12px 16px;
    background: var(--_bg-light, var(--abc-bg-light, #F9FAFB));
    border: 2px solid transparent;
    border-radius: var(--_radius, var(--card-radius, 16px));
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    outline: none;
}

.abc-wz__cat-card:hover {
    border-color: var(--_border, var(--abc-border, #D1D5DB));
    background: var(--_bg, var(--abc-bg, #fff));
}

.abc-wz__cat-card.selected {
    border-color: var(--color-primary, #14B8A6);
    background: rgba(20, 184, 166, 0.06);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}

.abc-wz__cat-emoji {
    font-size: 32px;
    line-height: 1;
    margin-bottom: 8px;
}

.abc-wz__cat-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--_text, var(--abc-text, #111827));
    margin-bottom: 4px;
}

.abc-wz__cat-desc {
    font-size: 11px;
    color: var(--_muted, var(--abc-text-muted, #6B7280));
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Step 2: Product Cards */
.abc-wz__products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.abc-wz__prod-card {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    background: var(--_bg-light, var(--abc-bg-light, #F9FAFB));
    border: 2px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.abc-wz__prod-card:hover {
    border-color: var(--_border, var(--abc-border, #D1D5DB));
}

.abc-wz__prod-card.selected {
    border-color: var(--color-primary, #14B8A6);
    background: rgba(20, 184, 166, 0.04);
}

.abc-wz__prod-card--variable {
    cursor: default;
    opacity: 0.8;
}

.abc-wz__prod-card--oos {
    opacity: 0.45;
    pointer-events: none;
}

/* Product check indicator */
.abc-wz__prod-check {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    border: 2px solid var(--_border, var(--abc-border, #D1D5DB));
    background: var(--_bg, var(--abc-bg, #fff));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.abc-wz__prod-check svg {
    opacity: 0;
    transform: scale(0);
    transition: all 0.15s ease;
    color: #fff;
}

.abc-wz__prod-card.selected .abc-wz__prod-check {
    background: var(--color-primary, #14B8A6);
    border-color: var(--color-primary, #14B8A6);
}

.abc-wz__prod-card.selected .abc-wz__prod-check svg {
    opacity: 1;
    transform: scale(1);
}

/* Essential star */
.abc-wz__prod-star {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 14px;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.15));
}

.abc-wz__prod-img {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: var(--_bg, var(--abc-bg, #fff));
    border: 1px solid var(--_border, var(--abc-border, #E5E7EB));
}

.abc-wz__prod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abc-wz__prod-info {
    flex: 1;
    min-width: 0;
}

.abc-wz__prod-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--_text, var(--abc-text, #111827));
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
    line-height: 1.3;
}

.abc-wz__prod-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-cta, #F97316);
}

.abc-wz__prod-price del {
    font-weight: 400;
    font-size: 11px;
    color: var(--_muted, var(--abc-text-muted, #9CA3AF));
}

.abc-wz__prod-price ins {
    text-decoration: none;
}

.abc-wz__prod-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 5px;
    margin-top: 4px;
}

.abc-wz__prod-tag--var {
    background: rgba(217, 119, 6, 0.1);
    color: #D97706;
}

.abc-wz__prod-tag--oos {
    background: rgba(220, 38, 38, 0.08);
    color: #DC2626;
}

.abc-wz__prod-goto {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-primary, #14B8A6);
    text-decoration: none;
    margin-top: 2px;
}

/* Step 3: Summary */
.abc-wz__summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.abc-wz__sum-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: var(--_bg-light, var(--abc-bg-light, #F9FAFB));
    border-radius: 12px;
}

.abc-wz__sum-img {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--_border, var(--abc-border, #E5E7EB));
}

.abc-wz__sum-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abc-wz__sum-name {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--_text, var(--abc-text, #111827));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.abc-wz__sum-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--_text, var(--abc-text, #111827));
    flex-shrink: 0;
}

.abc-wz__sum-var {
    font-size: 11px;
    color: #D97706;
    font-weight: 600;
}

/* Totals */
.abc-wz__totals {
    border-top: 1px solid var(--_border, var(--abc-border, #E5E7EB));
    padding-top: 14px;
}

.abc-wz__totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 14px;
    color: var(--_text, var(--abc-text, #111827));
}

.abc-wz__totals-row del {
    color: var(--_muted, var(--abc-text-muted, #9CA3AF));
}

.abc-wz__totals-row--saving {
    color: #059669;
}

.abc-wz__totals-row--saving span:last-child {
    font-weight: 700;
}

.abc-wz__totals-row--final {
    border-top: 2px solid var(--_text, var(--abc-text, #111827));
    margin-top: 6px;
    padding-top: 10px;
    font-weight: 800;
    font-size: 16px;
}

.abc-wz__totals-row--final span:last-child {
    font-size: 20px;
    color: var(--color-cta, #F97316);
}

.abc-wz__sum-notice {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: rgba(217, 119, 6, 0.08);
    color: #92400E;
    font-size: 12px;
    line-height: 1.4;
    padding: 10px 14px;
    border-radius: 10px;
    margin-top: 14px;
}

.abc-wz__sum-notice svg {
    flex-shrink: 0;
    margin-top: 1px;
}

/* Footer */
.abc-wz__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--_border, var(--abc-border, #E5E7EB));
    background: var(--_bg-light, var(--abc-bg-light, #F9FAFB));
}

.abc-wz__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.abc-wz__btn--back {
    background: var(--_bg, var(--abc-bg, #fff));
    color: var(--_muted, var(--abc-text-muted, #6B7280));
    border: 1px solid var(--_border, var(--abc-border, #E5E7EB));
}

.abc-wz__btn--back:hover {
    background: var(--_border, var(--abc-border, #E5E7EB));
}

.abc-wz__btn--next {
    background: linear-gradient(135deg, var(--color-primary, #14B8A6) 0%, #0D9488 100%);
    color: #fff;
    margin-left: auto;
    box-shadow: 0 4px 14px rgba(20, 184, 166, 0.25);
}

.abc-wz__btn--next:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.35);
}

.abc-wz__btn--next:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.abc-wz__btn--add {
    background: linear-gradient(135deg, var(--color-cta, #F97316) 0%, #E8660B 100%);
    color: #fff;
    flex: 1;
    justify-content: center;
    height: 48px;
    font-size: 15px;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.3);
}

.abc-wz__btn--add:hover:not(.loading) {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.abc-wz__btn--add.loading {
    opacity: 0.7;
    pointer-events: none;
}

.abc-wz__btn--add.success {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

/* Scroll lock */
body.abc-wz-open {
    overflow: hidden;
}

/* Mobile */
@media (max-width: 600px) {
    .abc-wz {
        align-items: flex-end;
        padding: 0;
    }

    .abc-wz__container {
        max-width: 100%;
        max-height: 92vh;
        border-radius: 22px 22px 0 0;
        transform: translateY(100%);
    }

    .abc-wz.open .abc-wz__container {
        transform: translateY(0);
    }

    .abc-wz__header {
        padding: 16px 18px 10px;
    }

    .abc-wz__body {
        padding: 16px 18px;
    }

    .abc-wz__cats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .abc-wz__cat-card {
        padding: 16px 10px 12px;
    }

    .abc-wz__cat-emoji {
        font-size: 26px;
    }

    .abc-wz__products-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .abc-wz__footer {
        padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
    }
}

/* Dark mode */
html[data-theme="dark"] .abc-wz__container {
    background: var(--abc-bg, #1F2937);
}

html[data-theme="dark"] .abc-wz__cat-card {
    background: #374151;
}

html[data-theme="dark"] .abc-wz__cat-card:hover {
    border-color: #4B5563;
    background: #1F2937;
}

html[data-theme="dark"] .abc-wz__cat-card.selected {
    background: rgba(20, 184, 166, 0.1);
}

html[data-theme="dark"] .abc-wz__prod-card {
    background: #374151;
}

html[data-theme="dark"] .abc-wz__prod-check {
    background: #374151;
    border-color: #4B5563;
}

html[data-theme="dark"] .abc-wz__sum-item {
    background: #374151;
}

html[data-theme="dark"] .abc-wz__footer {
    background: #374151;
}

html[data-theme="dark"] .abc-wz__btn--back {
    background: #1F2937;
    border-color: #4B5563;
    color: #9CA3AF;
}

/* ==========================================================================

   WIZARD — ADMIN PREVIEW (v1.1.0)
   ========================================================================== */

.abc-wz-preview {
    margin-top: 30px;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    background: #F9FAFB;
}

.abc-wz-preview__header {
    padding: 18px 24px;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border-bottom: 1px solid #BAE6FD;
}

.abc-wz-preview__header h3 {
    margin: 0 0 4px;
    font-size: 16px;
}

.abc-wz-preview__header .description {
    margin: 0;
}

.abc-wz-preview__frame {
    display: flex;
    justify-content: center;
    padding: 28px 24px;
    background: repeating-conic-gradient(#E5E7EB 0% 25%, transparent 0% 50%) 50%/20px 20px;
}

.abc-wz-preview__phone {
    width: 375px;
    min-height: 480px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 8px 30px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
}

/* Topbar */
.abc-wz-preview__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 8px;
    border-bottom: none;
}

.abc-wz-preview__topbar-title {
    font-size: 14px;
    font-weight: 800;
    color: #111827;
}

.abc-wz-preview__steps-nav {
    display: flex;
    gap: 6px;
}

.abc-wz-preview__step-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid #D1D5DB;
    background: #fff;
    color: #9CA3AF;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-family: inherit;
}

.abc-wz-preview__step-dot:hover {
    border-color: #14B8A6;
    color: #14B8A6;
}

.abc-wz-preview__step-dot.active {
    background: #14B8A6;
    border-color: #14B8A6;
    color: #fff;
}

.abc-wz-preview__step-dot.done {
    background: #D1FAE5;
    border-color: #10B981;
    color: #059669;
}

/* Progress */
.abc-wz-preview__progress {
    height: 3px;
    background: #F3F4F6;
    margin: 0 18px 0;
}

.abc-wz-preview__progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #14B8A6, #F97316);
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* Steps */
.abc-wz-preview__step {
    display: none;
    padding: 12px 18px 16px;
    flex: 1;
    overflow-y: auto;
    max-height: 380px;
}

.abc-wz-preview__step.active {
    display: block;
    animation: abc-wz-fade-in 0.25s ease;
}

.abc-wz-preview__step-title {
    font-size: 11px;
    font-weight: 600;
    color: #6B7280;
    text-align: center;
    margin-bottom: 12px;
}

/* Step 1: Cat cards */
.abc-wz-preview__cats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.abc-wz-preview__cat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 6px 10px;
    background: #F9FAFB;
    border: 1.5px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    outline: none;
}

.abc-wz-preview__cat:hover {
    border-color: #D1D5DB;
    background: #fff;
}

.abc-wz-preview__cat.selected {
    border-color: #14B8A6;
    background: rgba(20, 184, 166, 0.06);
    box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.12);
}

.abc-wz-preview__cat-emoji {
    font-size: 22px;
    margin-bottom: 4px;
}

.abc-wz-preview__cat-name {
    font-size: 11px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}

.abc-wz-preview__cat-count {
    font-size: 9px;
    color: #9CA3AF;
}

/* Step 2: Product rows */
.abc-wz-preview__products {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.abc-wz-preview__prod {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: #F9FAFB;
    border: 1.5px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
}

.abc-wz-preview__prod:hover {
    border-color: #D1D5DB;
}

.abc-wz-preview__prod.selected {
    border-color: #14B8A6;
    background: rgba(20, 184, 166, 0.04);
}

.abc-wz-preview__prod--var {
    cursor: default;
    border-left: 2px solid #D97706;
}

.abc-wz-preview__prod--oos {
    opacity: 0.4;
    pointer-events: none;
}

.abc-wz-preview__prod-img {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.abc-wz-preview__prod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abc-wz-preview__prod-info {
    flex: 1;
    min-width: 0;
}

.abc-wz-preview__prod-name {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.abc-wz-preview__prod-price {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #F97316;
}

.abc-wz-preview__prod-price del {
    color: #9CA3AF;
    font-weight: 400;
    font-size: 10px;
}

.abc-wz-preview__prod-price ins {
    text-decoration: none;
}

.abc-wz-preview__prod-badge {
    font-size: 9px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    flex-shrink: 0;
}

.abc-wz-preview__prod-badge--var {
    background: rgba(217, 119, 6, 0.1);
    color: #D97706;
}

.abc-wz-preview__prod-badge--oos {
    background: rgba(220, 38, 38, 0.06);
    color: #DC2626;
}

.abc-wz-preview__prod-tick {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1.5px solid #D1D5DB;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
    color: #fff;
}

.abc-wz-preview__prod-tick svg {
    opacity: 0;
    transform: scale(0);
    transition: all 0.15s ease;
}

.abc-wz-preview__prod.selected .abc-wz-preview__prod-tick {
    background: #14B8A6;
    border-color: #14B8A6;
}

.abc-wz-preview__prod.selected .abc-wz-preview__prod-tick svg {
    opacity: 1;
    transform: scale(1);
}

/* Step 3: Summary */
.abc-wz-preview__summary {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

.abc-wz-preview__sum-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 8px;
    background: #F9FAFB;
    border-radius: 8px;
    font-size: 11px;
}

.abc-wz-preview__sum-name {
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-right: 8px;
}

.abc-wz-preview__sum-amt {
    font-weight: 700;
    color: #111827;
    flex-shrink: 0;
}

/* Preview totals */
.abc-wz-preview__totals {
    border-top: 1px solid #E5E7EB;
    padding-top: 8px;
}

.abc-wz-preview__totals-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    padding: 3px 0;
    color: #374151;
}

.abc-wz-preview__totals-row del {
    color: #9CA3AF;
}

.abc-wz-preview__totals-row--saving {
    color: #059669;
}

.abc-wz-preview__totals-row--saving span:last-child {
    font-weight: 700;
}

.abc-wz-preview__totals-row--final {
    border-top: 1.5px solid #111827;
    margin-top: 4px;
    padding-top: 6px;
    font-weight: 800;
    font-size: 13px;
}

.abc-wz-preview__totals-row--final span:last-child {
    font-size: 15px;
    color: #F97316;
}

/* Footer */
.abc-wz-preview__footer {
    padding: 12px 18px;
    border-top: 1px solid #E5E7EB;
    background: #F9FAFB;
    margin-top: auto;
}

.abc-wz-preview__footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    background: linear-gradient(135deg, #F97316, #E8660B);
    color: #fff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(249,115,22,.25);
}

/* ==========================================================================

   GIFT FINDER (v1.2.0)
   ========================================================================== */

/* Trigger */
.abc-gf-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #EC4899 0%, #DB2777 100%);
    border: none;
    border-radius: var(--_radius, var(--card-radius, 16px));
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(236, 72, 153, 0.3);
    transition: all 0.25s ease;
    font-family: inherit;
}

.abc-gf-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

/* Backdrop */
.abc-gf__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99997;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.abc-gf__backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Modal */
.abc-gf {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--_gutter, var(--page-gutter, 16px));
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.abc-gf.open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.abc-gf__container {
    background: var(--_bg, var(--abc-bg, #fff));
    border-radius: var(--_radius, var(--card-radius, 22px));
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.abc-gf.open .abc-gf__container {
    transform: translateY(0) scale(1);
}

/* Header */
.abc-gf__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px 12px;
    border-bottom: 1px solid var(--_border, var(--abc-border, #E5E7EB));
}

.abc-gf__title {
    font-size: 17px;
    font-weight: 800;
    color: var(--_text, var(--abc-text, #111827));
    margin: 0;
    flex: 1;
}

.abc-gf__liked {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(236, 72, 153, 0.08);
    padding: 5px 10px;
    border-radius: 20px;
    transition: transform 0.2s ease;
}

.abc-gf__liked.pulse {
    animation: abc-gf-pulse 0.4s ease;
}

@keyframes abc-gf-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.abc-gf__liked-icon {
    font-size: 14px;
}

.abc-gf__liked-count {
    font-size: 13px;
    font-weight: 800;
    color: #DB2777;
}

.abc-gf__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--_bg-light, var(--abc-bg-light, #F3F4F6));
    border-radius: 10px;
    cursor: pointer;
    color: var(--_muted, var(--abc-text-muted, #6B7280));
    transition: background 0.2s ease;
}

.abc-gf__close:hover {
    background: var(--_border, var(--abc-border, #E5E7EB));
}

/* Filters */
.abc-gf__filters {
    padding: 14px 20px;
    border-bottom: 1px solid var(--_border, var(--abc-border, #E5E7EB));
    background: var(--_bg-light, var(--abc-bg-light, #FAFAFA));
}

.abc-gf__filter-group {
    margin-bottom: 10px;
}

.abc-gf__chips {
    display: flex;
    gap: 6px;
}

.abc-gf__chip {
    flex: 1;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--_muted, var(--abc-text-muted, #6B7280));
    background: var(--_bg, var(--abc-bg, #fff));
    border: 1.5px solid var(--_border, var(--abc-border, #E5E7EB));
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    font-family: inherit;
}

.abc-gf__chip:hover {
    border-color: #F9A8D4;
}

.abc-gf__chip.active {
    background: rgba(236, 72, 153, 0.06);
    border-color: #EC4899;
    color: #DB2777;
}

.abc-gf__filter-row {
    display: flex;
    gap: 12px;
    margin-bottom: 10px;
}

.abc-gf__filter-item {
    flex: 1;
}

.abc-gf__filter-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--_muted, var(--abc-text-muted, #9CA3AF));
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.abc-gf__range-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.abc-gf__range {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #E5E7EB;
    border-radius: 4px;
    outline: none;
}

.abc-gf__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #EC4899;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(236,72,153,.3);
}

.abc-gf__range-val {
    min-width: 22px;
    font-size: 13px;
    font-weight: 800;
    color: #EC4899;
    text-align: center;
}

.abc-gf__budget-inputs {
    display: flex;
    align-items: center;
    gap: 6px;
}

.abc-gf__budget-inputs input {
    width: 70px;
    padding: 6px 8px;
    font-size: 12px;
    font-weight: 600;
    border: 1.5px solid var(--_border, var(--abc-border, #E5E7EB));
    border-radius: 8px;
    text-align: center;
    font-family: inherit;
    outline: none;
    background: var(--_bg, var(--abc-bg, #fff));
    color: var(--_text, var(--abc-text, #111827));
}

.abc-gf__budget-inputs input:focus {
    border-color: #EC4899;
}

.abc-gf__budget-inputs span {
    color: #9CA3AF;
    font-size: 12px;
}

.abc-gf__filter-apply {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #EC4899, #DB2777);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.abc-gf__filter-apply:hover {
    box-shadow: 0 4px 12px rgba(236,72,153,.3);
}

/* Body / Stack */
.abc-gf__body {
    flex: 1;
    position: relative;
    min-height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abc-gf__stack {
    position: relative;
    width: 85%;
    aspect-ratio: 3/4;
    max-height: 340px;
}

/* Card */
.abc-gf__card {
    position: absolute;
    inset: 0;
    background: var(--_bg, var(--abc-bg, #fff));
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    border: 1.5px solid var(--_border, var(--abc-border, #E5E7EB));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    transition: box-shadow 0.2s ease;
    will-change: transform;
}

.abc-gf__card:active {
    cursor: grabbing;
}

.abc-gf__card--behind {
    pointer-events: none;
    transform: scale(0.94) translateY(8px);
    opacity: 0.5;
    z-index: 0;
}

.abc-gf__card--top {
    z-index: 2;
}

.abc-gf__card--swiping-left .abc-gf__card-overlay--left {
    opacity: 1;
}

.abc-gf__card--swiping-right .abc-gf__card-overlay--right {
    opacity: 1;
}

/* Card content */
.abc-gf__card-img {
    flex: 1;
    overflow: hidden;
    position: relative;
    background: #F9FAFB;
}

.abc-gf__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Swipe overlay indicators */
.abc-gf__card-overlay {
    position: absolute;
    top: 16px;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
    z-index: 5;
}

.abc-gf__card-overlay--left {
    left: 16px;
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
}

.abc-gf__card-overlay--right {
    right: 16px;
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
}

.abc-gf__card-info {
    padding: 14px 16px;
    border-top: 1px solid var(--_border, var(--abc-border, #F3F4F6));
}

.abc-gf__card-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--_text, var(--abc-text, #111827));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 4px;
}

.abc-gf__card-price {
    display: block;
    font-size: 16px;
    font-weight: 800;
    color: var(--color-cta, #F97316);
}

.abc-gf__card-price del {
    font-size: 12px;
    font-weight: 400;
    color: var(--_muted, var(--abc-text-muted, #9CA3AF));
}

.abc-gf__card-price ins {
    text-decoration: none;
}

/* Empty state */
.abc-gf__empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--_muted, var(--abc-text-muted, #9CA3AF));
}

.abc-gf__empty p {
    font-size: 14px;
    font-weight: 600;
    margin: 12px 0;
}

.abc-gf__reload {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(135deg, #EC4899, #DB2777);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
}

/* Swipe hint */
.abc-gf__swipe-hint {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.abc-gf__swipe-hint-left,
.abc-gf__swipe-hint-right {
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 8px;
    opacity: 0.7;
}

.abc-gf__swipe-hint-left {
    color: #EF4444;
    background: rgba(239,68,68,.08);
}

.abc-gf__swipe-hint-right {
    color: #10B981;
    background: rgba(16,185,129,.08);
}

/* Actions */
.abc-gf__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 12px 20px;
}

.abc-gf__action {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    text-decoration: none;
}

.abc-gf__action:hover {
    transform: scale(1.1);
}

.abc-gf__action:active {
    transform: scale(0.95);
}

.abc-gf__action--skip {
    background: #fff;
    color: #EF4444;
    border: 2px solid #FCA5A5;
}

.abc-gf__action--skip:hover {
    background: #FEF2F2;
    box-shadow: 0 6px 20px rgba(239,68,68,.15);
}

.abc-gf__action--like {
    background: linear-gradient(135deg, #EC4899, #DB2777);
    color: #fff;
    width: 64px;
    height: 64px;
    box-shadow: 0 4px 18px rgba(236,72,153,.3);
}

.abc-gf__action--like:hover {
    box-shadow: 0 6px 24px rgba(236,72,153,.4);
}

.abc-gf__action--like.added {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 4px 18px rgba(16,185,129,.3);
}

.abc-gf__action--link {
    background: #fff;
    color: #6B7280;
    border: 2px solid #E5E7EB;
    width: 40px;
    height: 40px;
}

/* Counter */
.abc-gf__counter {
    text-align: center;
    padding: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--_muted, var(--abc-text-muted, #9CA3AF));
    border-top: 1px solid var(--_border, var(--abc-border, #E5E7EB));
}

/* Swipe exit animations */
.abc-gf__card--exit-left {
    transition: transform 0.35s ease, opacity 0.35s ease;
    transform: translateX(-120%) rotate(-15deg) !important;
    opacity: 0;
}

.abc-gf__card--exit-right {
    transition: transform 0.35s ease, opacity 0.35s ease;
    transform: translateX(120%) rotate(15deg) !important;
    opacity: 0;
}

/* Loading spinner in stack */
.abc-gf__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: absolute;
    inset: 0;
}

.abc-gf__loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #F3F4F6;
    border-top-color: #EC4899;
    border-radius: 50%;
    animation: abc-spin 0.7s linear infinite;
}

@keyframes abc-spin {
    to { transform: rotate(360deg); }
}

/* Scroll lock */
body.abc-gf-open {
    overflow: hidden;
}

/* Mobile */
@media (max-width: 600px) {
    .abc-gf {
        align-items: flex-end;
        padding: 0;
    }

    .abc-gf__container {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 22px 22px 0 0;
        transform: translateY(100%);
    }

    .abc-gf.open .abc-gf__container {
        transform: translateY(0);
    }

    .abc-gf__header {
        padding: 14px 16px 10px;
    }

    .abc-gf__filters {
        padding: 10px 16px;
    }

    .abc-gf__body {
        min-height: 260px;
    }

    .abc-gf__stack {
        width: 88%;
        max-height: 280px;
    }

    .abc-gf__actions {
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    }
}

/* Dark mode */
html[data-theme="dark"] .abc-gf__container {
    background: var(--abc-bg, #1F2937);
}

html[data-theme="dark"] .abc-gf__filters {
    background: #374151;
}

html[data-theme="dark"] .abc-gf__chip {
    background: #1F2937;
    border-color: #4B5563;
}

html[data-theme="dark"] .abc-gf__card {
    background: #374151;
    border-color: #4B5563;
}

html[data-theme="dark"] .abc-gf__action--skip {
    background: #374151;
    border-color: #6B7280;
}

html[data-theme="dark"] .abc-gf__budget-inputs input {
    background: #1F2937;
    border-color: #4B5563;
    color: #E5E7EB;
}

/* ==========================================================================

   GIFT FINDER — ADMIN PREVIEW (v1.2.0)
   ========================================================================== */

.abc-gf-preview {
    margin-top: 30px;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    background: #F9FAFB;
}

.abc-gf-preview__filters {
    display: flex;
    gap: 6px;
    padding: 10px 18px;
    border-bottom: 1px solid #F3F4F6;
}

.abc-gf-preview__chip {
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 700;
    border: 1.5px solid #E5E7EB;
    border-radius: 8px;
    color: #6B7280;
    background: #fff;
}

.abc-gf-preview__chip--active {
    border-color: #EC4899;
    color: #DB2777;
    background: rgba(236,72,153,.06);
}

.abc-gf-preview__stack {
    position: relative;
    width: 200px;
    height: 260px;
    margin: 20px auto;
}

.abc-gf-preview__card {
    position: absolute;
    inset: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    border: 1px solid #E5E7EB;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.abc-gf-preview__card--bg {
    background: #F3F4F6;
}

.abc-gf-preview__card-img {
    flex: 1;
    overflow: hidden;
    background: #F9FAFB;
}

.abc-gf-preview__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abc-gf-preview__card-info {
    padding: 10px;
    border-top: 1px solid #F3F4F6;
}

.abc-gf-preview__card-name {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.abc-gf-preview__card-price {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #F97316;
}

.abc-gf-preview__card-price del {
    color: #9CA3AF;
    font-weight: 400;
    font-size: 10px;
}

.abc-gf-preview__card-price ins {
    text-decoration: none;
}

.abc-gf-preview__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 16px;
}

.abc-gf-preview__action {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: default;
}

.abc-gf-preview__action--skip {
    background: #FEF2F2;
    color: #EF4444;
    border: 2px solid #FCA5A5;
}

.abc-gf-preview__action--like {
    background: linear-gradient(135deg, #EC4899, #DB2777);
    color: #fff;
    width: 48px;
    height: 48px;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(236,72,153,.25);
}

/* ==========================================================================

   STYLE WIZARD — KOMBİN (v1.3.0)
   ========================================================================== */

/* Trigger */
.abc-sw-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    border: none;
    border-radius: var(--_radius, var(--card-radius, 16px));
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
    transition: all 0.25s ease;
    font-family: inherit;
}

.abc-sw-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

/* Backdrop */
.abc-sw__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99997;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.abc-sw__backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Modal */
.abc-sw {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--_gutter, var(--page-gutter, 16px));
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.abc-sw.open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.abc-sw__container {
    background: var(--_bg, var(--abc-bg, #fff));
    border-radius: var(--_radius, var(--card-radius, 22px));
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(24px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.abc-sw.open .abc-sw__container {
    transform: translateY(0) scale(1);
}

/* Header */
.abc-sw__header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 20px 12px;
    border-bottom: 1px solid var(--_border, var(--abc-border, #E5E7EB));
}

.abc-sw__title {
    font-size: 17px;
    font-weight: 800;
    color: var(--_text, var(--abc-text, #111827));
    margin: 0;
    flex: 1;
}

.abc-sw__liked {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(139, 92, 246, 0.08);
    padding: 5px 10px;
    border-radius: 20px;
    transition: transform 0.2s ease;
}

.abc-sw__liked.pulse {
    animation: abc-sw-pulse 0.4s ease;
}

@keyframes abc-sw-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.abc-sw__liked-icon {
    font-size: 14px;
}

.abc-sw__liked-count {
    font-size: 13px;
    font-weight: 800;
    color: #7C3AED;
}

.abc-sw__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--_bg-light, var(--abc-bg-light, #F3F4F6));
    border-radius: 10px;
    cursor: pointer;
    color: var(--_muted, var(--abc-text-muted, #6B7280));
    transition: background 0.2s ease;
}

.abc-sw__close:hover {
    background: var(--_border, var(--abc-border, #E5E7EB));
}

/* Filters */
.abc-sw__filters {
    padding: 12px 20px;
    border-bottom: 1px solid var(--_border, var(--abc-border, #E5E7EB));
    background: var(--_bg-light, var(--abc-bg-light, #FAFAFA));
}

.abc-sw__chips {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.abc-sw__chip {
    flex: 1;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--_muted, var(--abc-text-muted, #6B7280));
    background: var(--_bg, var(--abc-bg, #fff));
    border: 1.5px solid var(--_border, var(--abc-border, #E5E7EB));
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
    font-family: inherit;
}

.abc-sw__chip:hover {
    border-color: #C4B5FD;
}

.abc-sw__chip.active {
    background: rgba(139, 92, 246, 0.06);
    border-color: #8B5CF6;
    color: #7C3AED;
}

.abc-sw__filter-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.abc-sw__filter-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--_muted, var(--abc-text-muted, #9CA3AF));
    letter-spacing: 0.5px;
}

.abc-sw__range {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #E5E7EB;
    border-radius: 4px;
    outline: none;
}

.abc-sw__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #8B5CF6;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(139,92,246,.3);
}

.abc-sw__range-val {
    min-width: 22px;
    font-size: 13px;
    font-weight: 800;
    color: #8B5CF6;
    text-align: center;
}

.abc-sw__filter-apply {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 7px 14px;
    font-size: 11px;
    font-weight: 700;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.abc-sw__filter-apply:hover {
    box-shadow: 0 4px 12px rgba(139,92,246,.3);
}

/* Body / Stack */
.abc-sw__body {
    flex: 1;
    position: relative;
    min-height: 320px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.abc-sw__stack {
    position: relative;
    width: 88%;
    max-width: 340px;
    aspect-ratio: 4/5;
    max-height: 360px;
}

/* Outfit Card */
.abc-sw__card {
    position: absolute;
    inset: 0;
    background: var(--_bg, var(--abc-bg, #fff));
    border-radius: 20px;
    box-shadow: var(--_shadow, var(--card-shadow, 0 4px 20px rgba(0,0,0,.08)));
    border: 1.5px solid var(--_border, var(--abc-border, #E5E7EB));
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    will-change: transform;
}

.abc-sw__card:active {
    cursor: grabbing;
}

.abc-sw__card--behind {
    pointer-events: none;
    transform: scale(0.94) translateY(8px);
    opacity: 0.5;
    z-index: 0;
}

.abc-sw__card--top {
    z-index: 2;
}

/* Card overlay hints */
.abc-sw__card-overlay {
    position: absolute;
    top: 12px;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    opacity: 0;
    transition: opacity 0.15s ease;
    pointer-events: none;
    z-index: 5;
}

.abc-sw__card-overlay--left {
    left: 12px;
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
}

.abc-sw__card-overlay--right {
    right: 12px;
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
}

.abc-sw__card--swiping-left .abc-sw__card-overlay--left { opacity: 1; }
.abc-sw__card--swiping-right .abc-sw__card-overlay--right { opacity: 1; }

/* Card title */
.abc-sw__card-title {
    padding: 12px 14px 8px;
    font-size: 14px;
    font-weight: 800;
    color: var(--_text, var(--abc-text, #111827));
    text-align: center;
}

/* Collage: 3 products side by side */
.abc-sw__collage {
    display: flex;
    gap: 4px;
    padding: 0 10px;
    flex: 1;
    min-height: 0;
}

.abc-sw__collage-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    border-radius: 10px;
    overflow: hidden;
    background: var(--_bg-light, var(--abc-bg-light, #F9FAFB));
    border: 1px solid var(--_border, var(--abc-border, #F3F4F6));
}

.abc-sw__collage-img {
    flex: 1;
    overflow: hidden;
    min-height: 80px;
}

.abc-sw__collage-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abc-sw__collage-name {
    display: block;
    padding: 4px 6px;
    font-size: 9px;
    font-weight: 600;
    color: var(--_muted, var(--abc-text-muted, #6B7280));
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Card footer */
.abc-sw__card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-top: 1px solid var(--_border, var(--abc-border, #F3F4F6));
}

.abc-sw__card-total {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-cta, #F97316);
}

.abc-sw__card-total del {
    font-size: 12px;
    color: #9CA3AF;
    font-weight: 400;
}

.abc-sw__card-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: #fff;
    border-radius: 6px;
}

/* Actions */
.abc-sw__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 12px 20px;
}

.abc-sw__action {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
}

.abc-sw__action:hover { transform: scale(1.1); }
.abc-sw__action:active { transform: scale(0.95); }

.abc-sw__action--skip {
    background: #fff;
    color: #EF4444;
    border: 2px solid #FCA5A5;
}

.abc-sw__action--skip:hover {
    background: #FEF2F2;
}

.abc-sw__action--like {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: #fff;
    width: 64px;
    height: 64px;
    box-shadow: 0 4px 18px rgba(139,92,246,.3);
}

.abc-sw__action--like:hover {
    box-shadow: 0 6px 24px rgba(139,92,246,.4);
}

.abc-sw__action--like.added {
    background: linear-gradient(135deg, #10B981, #059669);
    box-shadow: 0 4px 18px rgba(16,185,129,.3);
}

/* Counter */
.abc-sw__counter {
    text-align: center;
    padding: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--_muted, var(--abc-text-muted, #9CA3AF));
    border-top: 1px solid var(--_border, var(--abc-border, #E5E7EB));
}

/* Empty */
.abc-sw__empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--_muted, var(--abc-text-muted, #9CA3AF));
}

.abc-sw__empty p {
    font-size: 14px;
    font-weight: 600;
    margin: 12px 0;
}

.abc-sw__reload {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: inherit;
}

/* SET card: single big hero image */
.abc-sw__set-hero {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 160px;
    background: var(--_bg-light, var(--abc-bg-light, #F9FAFB));
}

.abc-sw__set-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.abc-sw__set-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 800;
    background: rgba(139, 92, 246, 0.92);
    color: #fff;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 3;
}

.abc-sw__set-gallery {
    display: flex;
    gap: 3px;
    padding: 4px 10px;
}

.abc-sw__set-gallery img {
    flex: 1;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--_border, var(--abc-border, #F3F4F6));
}

.abc-sw__card-name {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--_text, var(--abc-text, #111827));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

/* COMBO card already has collage — no extra styles needed */

/* SET card footer: stacked name + price */
.abc-sw__card--set .abc-sw__card-footer {
    align-items: flex-start;
}

.abc-sw__card--set .abc-sw__card-footer > div {
    flex: 1;
    min-width: 0;
}

.abc-sw__card--set .abc-sw__card-total {
    font-size: 15px;
}

.abc-sw__card--set .abc-sw__card-total del {
    font-size: 11px;
}

.abc-sw__card--set .abc-sw__card-total ins {
    text-decoration: none;
}

/* Admin preview: set card */
.abc-sw-preview__set-hero {
    overflow: hidden;
    position: relative;
}

.abc-sw-preview__set-hero img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.abc-sw-preview__set-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 3px 7px;
    font-size: 8px;
    font-weight: 800;
    background: rgba(139, 92, 246, 0.92);
    color: #fff;
    border-radius: 4px;
}

/* Exit animations */
.abc-sw__card--exit-left {
    transition: transform 0.35s ease, opacity 0.35s ease;
    transform: translateX(-120%) rotate(-15deg) !important;
    opacity: 0;
}

.abc-sw__card--exit-right {
    transition: transform 0.35s ease, opacity 0.35s ease;
    transform: translateX(120%) rotate(15deg) !important;
    opacity: 0;
}

/* Loading */
.abc-sw__loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: absolute;
    inset: 0;
}

.abc-sw__loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #F3F4F6;
    border-top-color: #8B5CF6;
    border-radius: 50%;
    animation: abc-spin 0.7s linear infinite;
}

body.abc-sw-open {
    overflow: hidden;
}

/* Mobile */
@media (max-width: 600px) {
    .abc-sw {
        align-items: flex-end;
        padding: 0;
    }

    .abc-sw__container {
        max-width: 100%;
        max-height: 95vh;
        border-radius: 22px 22px 0 0;
        transform: translateY(100%);
    }

    .abc-sw.open .abc-sw__container {
        transform: translateY(0);
    }

    .abc-sw__body {
        min-height: 280px;
    }

    .abc-sw__stack {
        width: 90%;
        max-height: 300px;
    }

    .abc-sw__actions {
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    }
}

/* Dark mode */
html[data-theme="dark"] .abc-sw__container {
    background: var(--abc-bg, #1F2937);
}

html[data-theme="dark"] .abc-sw__filters {
    background: #374151;
}

html[data-theme="dark"] .abc-sw__chip {
    background: #1F2937;
    border-color: #4B5563;
}

html[data-theme="dark"] .abc-sw__card {
    background: #374151;
    border-color: #4B5563;
}

html[data-theme="dark"] .abc-sw__collage-item {
    background: #1F2937;
    border-color: #4B5563;
}

html[data-theme="dark"] .abc-sw__action--skip {
    background: #374151;
    border-color: #6B7280;
}

/* ==========================================================================

   STYLE WIZARD — ADMIN PREVIEW (v1.3.0)
   ========================================================================== */

.abc-sw-preview {
    margin-top: 30px;
    border: 2px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
    background: #F9FAFB;
}

.abc-sw-preview__card-wrap {
    display: flex;
    justify-content: center;
    padding: 16px 18px;
}

.abc-sw-preview__card {
    width: 240px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    border: 1px solid #E5E7EB;
    overflow: hidden;
}

.abc-sw-preview__card-title {
    padding: 10px 12px 6px;
    font-size: 12px;
    font-weight: 800;
    color: #111827;
    text-align: center;
}

.abc-sw-preview__collage {
    display: flex;
    gap: 3px;
    padding: 0 8px;
}

.abc-sw-preview__collage-item {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #F9FAFB;
    border: 1px solid #F3F4F6;
    text-align: center;
}

.abc-sw-preview__collage-item img {
    width: 100%;
    height: 70px;
    object-fit: cover;
}

.abc-sw-preview__collage-item span {
    display: block;
    font-size: 8px;
    font-weight: 600;
    color: #6B7280;
    padding: 3px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.abc-sw-preview__card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-top: 1px solid #F3F4F6;
}

.abc-sw-preview__card-price {
    font-size: 13px;
    font-weight: 800;
    color: #F97316;
}

.abc-sw-preview__card-price del {
    font-size: 10px;
    color: #9CA3AF;
    font-weight: 400;
}

.abc-sw-preview__card-price ins {
    text-decoration: none;
}

.abc-sw-preview__card-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 3px 8px;
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: #fff;
    border-radius: 5px;
}

/* ==========================================================================
   LOYALTY SYSTEM
   ========================================================================== */

/* ── Cart / Checkout earn preview row ── */
.abc-loyalty-earn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #FEF3C7, #FFFBEB);
    border: 1px solid #FCD34D;
    border-radius: var(--abc-radius, 14px);
    font-size: 14px;
    color: #92400E;
    line-height: 1.4;
}

.abc-loyalty-earn__icon {
    font-size: 20px;
    flex-shrink: 0;
}

.abc-loyalty-earn__text {
    flex: 1;
}

.abc-loyalty-earn__text strong {
    font-weight: 700;
    color: #78350F;
}

.abc-loyalty-earn__tip {
    flex-shrink: 0;
    cursor: help;
    color: #B45309;
    opacity: 0.7;
    position: relative;
}

.abc-loyalty-earn__tip:hover {
    opacity: 1;
}

.abc-loyalty-earn__tip svg {
    display: block;
}

/* ── My Account Loyalty Card ── */
.abc-loyalty-card {
    position: relative;
    padding: 28px 24px 24px;
    margin-bottom: 32px;
    border-radius: 20px;
    background: var(--abc-loyalty-bg, linear-gradient(135deg, #F3F4F6, #E5E7EB));
    border: 1.5px solid var(--abc-loyalty-border, #D1D5DB);
    color: var(--abc-loyalty-color, #1F2937);
    overflow: hidden;
}

/* Subtle shine overlay */
.abc-loyalty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    border-radius: 20px 20px 0 0;
    pointer-events: none;
}

/* ── Tier color tokens ── */
.abc-loyalty--bronze {
    --abc-loyalty-bg: linear-gradient(135deg, #FEF3C7, #F3E8D0);
    --abc-loyalty-border: #D4A76A;
    --abc-loyalty-color: #78350F;
    --abc-loyalty-accent: #B45309;
    --abc-loyalty-bar: #D97706;
}

.abc-loyalty--silver {
    --abc-loyalty-bg: linear-gradient(135deg, #F1F5F9, #E2E8F0);
    --abc-loyalty-border: #94A3B8;
    --abc-loyalty-color: #334155;
    --abc-loyalty-accent: #475569;
    --abc-loyalty-bar: #64748B;
}

.abc-loyalty--gold {
    --abc-loyalty-bg: linear-gradient(135deg, #FEF9C3, #FDE68A);
    --abc-loyalty-border: #F59E0B;
    --abc-loyalty-color: #78350F;
    --abc-loyalty-accent: #D97706;
    --abc-loyalty-bar: #F59E0B;
}

.abc-loyalty--diamond {
    --abc-loyalty-bg: linear-gradient(135deg, #DBEAFE, #BFDBFE);
    --abc-loyalty-border: #3B82F6;
    --abc-loyalty-color: #1E3A5F;
    --abc-loyalty-accent: #2563EB;
    --abc-loyalty-bar: #3B82F6;
}

.abc-loyalty--platinum {
    --abc-loyalty-bg: linear-gradient(135deg, #1E1B4B, #312E81);
    --abc-loyalty-border: #6366F1;
    --abc-loyalty-color: #E0E7FF;
    --abc-loyalty-accent: #A5B4FC;
    --abc-loyalty-bar: #818CF8;
}

/* ── Card header ── */
.abc-loyalty-card__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.abc-loyalty-card__icon {
    font-size: 28px;
}

.abc-loyalty-card__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    color: inherit;
}

/* ── Tier badge ── */
.abc-loyalty-card__tier {
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.abc-loyalty-card__tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    background: rgba(0,0,0,0.08);
    color: var(--abc-loyalty-accent, inherit);
}

.abc-loyalty--platinum .abc-loyalty-card__tier-badge {
    background: rgba(255,255,255,0.15);
}

/* ── Points ── */
.abc-loyalty-card__points {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.abc-loyalty-card__points-label {
    font-size: 14px;
    opacity: 0.7;
}

.abc-loyalty-card__points-value {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1;
    color: var(--abc-loyalty-accent, inherit);
}

/* ── Progress ── */
.abc-loyalty-card__progress {
    position: relative;
    z-index: 1;
}

.abc-loyalty-card__progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 13px;
}

.abc-loyalty-card__progress-label {
    font-weight: 600;
}

.abc-loyalty-card__progress-remaining {
    opacity: 0.7;
}

.abc-loyalty-card__progress-bar {
    height: 10px;
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.abc-loyalty--platinum .abc-loyalty-card__progress-bar {
    background: rgba(255,255,255,0.15);
}

.abc-loyalty-card__progress-fill {
    height: 100%;
    border-radius: 10px;
    background: var(--abc-loyalty-bar, #6366F1);
    transition: width 0.6s ease;
    min-width: 2%;
}

.abc-loyalty-card__progress-pct {
    text-align: right;
    font-size: 12px;
    font-weight: 700;
    margin-top: 4px;
    opacity: 0.6;
}

/* ── Max tier ── */
.abc-loyalty-card__max {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0,0,0,0.06);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.abc-loyalty--platinum .abc-loyalty-card__max {
    background: rgba(255,255,255,0.12);
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .abc-loyalty-card {
        padding: 20px 16px 18px;
        border-radius: 16px;
    }

    .abc-loyalty-card__points-value {
        font-size: 28px;
    }

    .abc-loyalty-card__title {
        font-size: 16px;
    }
}

/* ==========================================================================
   COUPON BOX
   ========================================================================== */

.abc-coupon-box {
    margin-bottom: 16px;
}

/* ── Input row ── */
.abc-coupon-box__input-row {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid #D1D5DB;
    border-radius: var(--abc-radius, 14px);
    overflow: hidden;
    background: #fff;
    transition: border-color 0.2s;
}

.abc-coupon-box__input-row:focus-within {
    border-color: #6366F1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.abc-coupon-box__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    color: #9CA3AF;
    flex-shrink: 0;
}

.abc-coupon-box__input {
    flex: 1;
    height: 48px !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    font-size: 14px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 8px !important;
    min-width: 0;
    color: #111827 !important;
}

.abc-coupon-box__input::placeholder {
    text-transform: none;
    letter-spacing: 0;
    color: #9CA3AF;
}

.abc-coupon-box__apply {
    flex-shrink: 0;
    height: 48px;
    padding: 0 20px;
    border: none !important;
    background: #6366F1 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.2s;
    border-radius: 0 !important;
    line-height: 48px !important;
}

.abc-coupon-box__apply:hover {
    background: #4F46E5 !important;
}

.abc-coupon-box__apply:disabled {
    background: #A5B4FC !important;
    cursor: not-allowed;
}

/* ── Feedback message ── */
.abc-coupon-box__msg {
    padding: 10px 14px;
    margin-top: 8px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.abc-coupon-box__msg--success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.abc-coupon-box__msg--error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* ── Applied coupon chips ── */
.abc-coupon-box__applied {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.abc-coupon-box__applied:empty {
    display: none;
}

.abc-coupon-box__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px 6px 14px;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    border: 1px solid #C7D2FE;
    border-radius: 50px;
    font-size: 13px;
    color: #3730A3;
    transition: opacity 0.2s;
}

.abc-coupon-box__chip-code {
    font-weight: 700;
    letter-spacing: 0.5px;
    font-family: monospace;
    font-size: 12px;
}

.abc-coupon-box__chip-discount {
    font-weight: 600;
    color: #059669;
    font-size: 12px;
}

.abc-coupon-box__chip-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: none !important;
    background: rgba(0,0,0,0.08) !important;
    border-radius: 50% !important;
    cursor: pointer;
    color: #6B7280 !important;
    padding: 0 !important;
    transition: background 0.2s;
    flex-shrink: 0;
}

.abc-coupon-box__chip-remove:hover {
    background: rgba(220,38,38,0.15) !important;
    color: #DC2626 !important;
}

.abc-coupon-box__chip-remove svg {
    display: block;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .abc-coupon-box__apply {
        padding: 0 14px;
        font-size: 13px !important;
    }

    .abc-coupon-box__input {
        font-size: 13px !important;
    }
}

/* ==========================================================================
   RETURNS — Modal + Account Page + Cards
   ========================================================================== */

/* ── Modal backdrop + wrapper (same armor pattern as wizards) ── */
.abc-ret__backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99997 !important;
    background: rgba(0,0,0,0.5) !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.abc-ret__backdrop.active {
    opacity: 1;
    visibility: visible;
}

.abc-ret {
    position: fixed !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99998 !important;
    padding: 16px !important;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.abc-ret.open {
    pointer-events: auto;
    opacity: 1;
}

.abc-ret__container {
    position: relative !important;
    background: #fff !important;
    border-radius: 22px !important;
    box-shadow: 0 25px 60px rgba(0,0,0,0.25) !important;
    max-width: 560px !important;
    width: 100% !important;
    max-height: 90vh !important;
    display: flex;
    flex-direction: column;
    overflow: hidden !important;
}

body.abc-ret-open {
    overflow: hidden !important;
}

/* ── Header ── */
.abc-ret__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #F3F4F6;
}

.abc-ret__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    color: #111827;
}

.abc-ret__close {
    width: 36px;
    height: 36px;
    border: none !important;
    background: #F3F4F6 !important;
    border-radius: 50% !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    padding: 0 !important;
    transition: background 0.2s;
}
.abc-ret__close:hover {
    background: #E5E7EB !important;
}

/* ── Step indicator ── */
.abc-ret__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 16px 24px;
}

.abc-ret__step {
    display: flex;
    align-items: center;
    gap: 6px;
}

.abc-ret__step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: #E5E7EB;
    color: #6B7280;
    transition: all 0.3s;
}

.abc-ret__step.active .abc-ret__step-num {
    background: #6366F1;
    color: #fff;
}
.abc-ret__step.completed .abc-ret__step-num {
    background: #059669;
    color: #fff;
}

.abc-ret__step-label {
    font-size: 13px;
    color: #6B7280;
    font-weight: 500;
}
.abc-ret__step.active .abc-ret__step-label {
    color: #111827;
    font-weight: 600;
}

.abc-ret__step-line {
    width: 32px;
    height: 2px;
    background: #D1D5DB;
    margin: 0 8px;
}

/* ── Body ── */
.abc-ret__body {
    padding: 0 24px 16px;
    overflow-y: auto;
    flex: 1;
    min-height: 200px;
}

.abc-ret__panel-desc {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 12px;
}

/* ── Reasons (Step 1) ── */
.abc-ret__reasons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.abc-ret__reason-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1.5px solid #E5E7EB;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0;
}
.abc-ret__reason-option:hover {
    border-color: #A5B4FC;
    background: #F5F3FF;
}
.abc-ret__reason-option:has(input:checked) {
    border-color: #6366F1;
    background: #EEF2FF;
}

.abc-ret__reason-option input[type="radio"] {
    margin: 0 !important;
    width: 18px !important;
    height: 18px !important;
    accent-color: #6366F1;
}

.abc-ret__reason-label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

/* ── Items (Step 2) ── */
.abc-ret__items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.abc-ret__items-loading {
    text-align: center;
    padding: 24px;
    color: #9CA3AF;
    font-size: 14px;
}

.abc-ret__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid #E5E7EB;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.2s;
    margin: 0;
}
.abc-ret__item:hover {
    border-color: #A5B4FC;
}
.abc-ret__item:has(input:checked) {
    border-color: #6366F1;
    background: #EEF2FF;
}

.abc-ret__item-check {
    margin: 0 !important;
    width: 18px !important;
    height: 18px !important;
    accent-color: #6366F1;
    flex-shrink: 0;
}

.abc-ret__item-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.abc-ret__item-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.abc-ret__item-img--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F3F4F6;
    font-size: 20px;
}

.abc-ret__item-details {
    flex: 1;
    min-width: 0;
}

.abc-ret__item-name {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.abc-ret__item-qty-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}

.abc-ret__item-qty-label {
    font-size: 12px;
    color: #6B7280;
}

.abc-ret__item-qty {
    height: 28px !important;
    padding: 2px 6px !important;
    border: 1px solid #D1D5DB !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    background: #fff !important;
    min-width: 50px;
}

.abc-ret__item-qty-max {
    font-size: 12px;
    color: #9CA3AF;
}

/* ── Summary (Step 3) ── */
.abc-ret__summary {
    padding: 14px 16px;
    background: #F9FAFB;
    border-radius: 14px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.6;
}
.abc-ret__summary-section {
    margin-bottom: 8px;
}
.abc-ret__summary-section:last-child {
    margin-bottom: 0;
}
.abc-ret__summary ul {
    margin: 4px 0 0 18px;
    padding: 0;
    font-size: 13px;
}

.abc-ret__field {
    margin-bottom: 14px;
}
.abc-ret__field-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.abc-ret__method-options {
    display: flex;
    gap: 10px;
}
.abc-ret__method-option {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border: 1.5px solid #E5E7EB;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
    margin: 0;
}
.abc-ret__method-option:has(input:checked) {
    border-color: #6366F1;
    background: #EEF2FF;
}
.abc-ret__method-option input[type="radio"] {
    margin: 0 !important;
    accent-color: #6366F1;
}

.abc-ret__textarea {
    width: 100% !important;
    padding: 10px 14px !important;
    border: 1.5px solid #D1D5DB !important;
    border-radius: 14px !important;
    font-size: 14px !important;
    resize: vertical;
    min-height: 60px;
    background: #fff !important;
    font-family: inherit;
}
.abc-ret__textarea:focus {
    border-color: #6366F1 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12) !important;
}

/* ── Feedback message ── */
.abc-ret__msg {
    margin: 0 24px 12px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
}
.abc-ret__msg--success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}
.abc-ret__msg--error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* ── Footer ── */
.abc-ret__footer {
    display: flex;
    justify-content: space-between;
    padding: 16px 24px;
    border-top: 1px solid #F3F4F6;
    gap: 10px;
}

.abc-ret__btn {
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none !important;
    transition: background 0.2s;
}
.abc-ret__btn--back {
    background: #F3F4F6 !important;
    color: #374151 !important;
}
.abc-ret__btn--back:hover {
    background: #E5E7EB !important;
}
.abc-ret__btn--next,
.abc-ret__btn--submit {
    background: #6366F1 !important;
    color: #fff !important;
    margin-left: auto;
}
.abc-ret__btn--next:hover,
.abc-ret__btn--submit:hover {
    background: #4F46E5 !important;
}
.abc-ret__btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── Mobile ── */
@media (max-width: 768px) {
    .abc-ret {
        align-items: flex-end !important;
        padding: 0 !important;
    }
    .abc-ret__container {
        max-width: 100% !important;
        max-height: 92vh !important;
        border-radius: 22px 22px 0 0 !important;
        width: 100% !important;
    }
    .abc-ret__step-label {
        display: none;
    }
    .abc-ret__method-options {
        flex-direction: column;
    }
}

/* ═══════════════════════════════════════════════════════════
   ACCOUNT RETURNS PAGE — "İadelerim"
   ═══════════════════════════════════════════════════════════ */

.abc-ret-page__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
}

.abc-ret-page__empty {
    padding: 32px;
    text-align: center;
    color: #6B7280;
    background: #F9FAFB;
    border-radius: 16px;
}

.abc-ret-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── Return card ── */
.abc-ret-card {
    border: 1.5px solid #E5E7EB;
    border-radius: 16px;
    overflow: hidden;
}

.abc-ret-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #F9FAFB;
    border-bottom: 1px solid #E5E7EB;
}

.abc-ret-card__id {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

/* ── Status badge ── */
.abc-ret-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.abc-ret-badge--pending {
    background: #FEF3C7;
    color: #92400E;
}
.abc-ret-badge--approved {
    background: #D1FAE5;
    color: #065F46;
}
.abc-ret-badge--rejected {
    background: #FEE2E2;
    color: #991B1B;
}
.abc-ret-badge--completed {
    background: #EDE9FE;
    color: #5B21B6;
}

/* ── Card body ── */
.abc-ret-card__body {
    padding: 14px 18px;
}

.abc-ret-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 13px;
    color: #374151;
    margin-bottom: 10px;
}

.abc-ret-card__items {
    font-size: 13px;
    margin-bottom: 8px;
}
.abc-ret-card__items ul {
    margin: 4px 0 0 18px;
    padding: 0;
}
.abc-ret-card__items li {
    margin-bottom: 2px;
}

.abc-ret-card__note,
.abc-ret-card__admin-note {
    font-size: 13px;
    margin-top: 8px;
    padding: 8px 12px;
    background: #F9FAFB;
    border-radius: 10px;
}
.abc-ret-card__admin-note {
    background: #EEF2FF;
    border: 1px solid #C7D2FE;
}

/* ── Order actions button styling ── */
.woocommerce-orders-table__cell-order-actions a.abc_return {
    background: #F3F4F6;
    color: #374151;
    border: 1px solid #D1D5DB;
}
.woocommerce-orders-table__cell-order-actions a.abc_return:hover {
    background: #6366F1;
    color: #fff;
    border-color: #6366F1;
}

/* ==========================================================================
   CART SAVER MODAL
   ========================================================================== */

.abc-csm__backdrop {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99997 !important;
    background: rgba(0,0,0,0.45) !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s, visibility 0.35s;
    backdrop-filter: blur(4px);
}
.abc-csm__backdrop.active {
    opacity: 1;
    visibility: visible;
}

.abc-csm {
    position: fixed !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 99998 !important;
    padding: 16px !important;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    transition: opacity 0.35s, transform 0.35s;
}
.abc-csm.open {
    pointer-events: auto;
    opacity: 1;
    transform: scale(1) translateY(0);
}

.abc-csm__container {
    position: relative !important;
    background: #fff !important;
    border-radius: 24px !important;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2) !important;
    max-width: 420px !important;
    width: 100% !important;
    padding: 32px 28px 28px !important;
    text-align: center;
}

body.abc-csm-open {
    overflow: hidden !important;
}

/* ── Close ── */
.abc-csm__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
    border: none !important;
    background: #F3F4F6 !important;
    border-radius: 50% !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    padding: 0 !important;
    transition: background 0.2s;
}
.abc-csm__close:hover {
    background: #E5E7EB !important;
}

/* ── Icon ── */
.abc-csm__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    background: linear-gradient(135deg, #EEF2FF, #E0E7FF);
    border-radius: 20px;
    color: #6366F1;
    margin-bottom: 16px;
}

/* ── Title + desc ── */
.abc-csm__title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px;
    padding: 0;
}

.abc-csm__desc {
    font-size: 14px;
    color: #6B7280;
    margin: 0 0 20px;
    line-height: 1.5;
}

/* ── Form ── */
.abc-csm__form {
    text-align: left;
}

.abc-csm__input-row {
    margin-bottom: 12px;
}

.abc-csm__input {
    width: 100% !important;
    height: 48px !important;
    padding: 0 16px !important;
    border: 1.5px solid #D1D5DB !important;
    border-radius: 14px !important;
    font-size: 15px !important;
    background: #fff !important;
    color: #111827 !important;
    transition: border-color 0.2s;
    box-shadow: none !important;
    outline: none !important;
}
.abc-csm__input:focus {
    border-color: #6366F1 !important;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.12) !important;
}

.abc-csm__consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #374151;
    margin-bottom: 8px;
    cursor: pointer;
}
.abc-csm__consent input[type="checkbox"] {
    margin-top: 2px !important;
    accent-color: #6366F1;
}

.abc-csm__privacy {
    font-size: 11px;
    color: #9CA3AF;
    margin: 0 0 16px;
    line-height: 1.4;
}

/* ── Message ── */
.abc-csm__msg {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
    text-align: left;
}
.abc-csm__msg--success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}
.abc-csm__msg--error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

/* ── Success state ── */
.abc-csm__success {
    padding: 16px 0;
    text-align: center;
}
.abc-csm__success-icon {
    font-size: 40px;
    margin-bottom: 10px;
}
.abc-csm__success-text {
    font-size: 15px;
    font-weight: 600;
    color: #065F46;
    margin: 0;
}

/* ── Buttons ── */
.abc-csm__actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.abc-csm__btn {
    width: 100%;
    padding: 13px 20px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none !important;
    transition: background 0.2s, transform 0.1s;
}
.abc-csm__btn:active {
    transform: scale(0.98);
}

.abc-csm__btn--primary {
    background: #6366F1 !important;
    color: #fff !important;
}
.abc-csm__btn--primary:hover {
    background: #4F46E5 !important;
}
.abc-csm__btn--primary:disabled {
    background: #A5B4FC !important;
    cursor: not-allowed;
}

.abc-csm__btn--ghost {
    background: transparent !important;
    color: #6B7280 !important;
    font-weight: 500;
}
.abc-csm__btn--ghost:hover {
    background: #F3F4F6 !important;
    color: #374151 !important;
}

/* ── Mobile ── */
@media (max-width: 480px) {
    .abc-csm {
        align-items: flex-end !important;
        padding: 0 !important;
    }
    .abc-csm__container {
        max-width: 100% !important;
        border-radius: 24px 24px 0 0 !important;
        padding: 28px 20px 24px !important;
    }
}

/* ==========================================================================
   MOBILE ADD-TO-CART POPUP — FINAL OVERRIDE (v5.2)
   This MUST be at end of file for highest CSS priority
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* Popup wrapper - bottom sheet style */
    #abc-atc-popup.abc-atc-popup {
        align-items: flex-end !important;
        padding: 0 !important;
    }

    /* Container - full width bottom sheet */
    #abc-atc-popup .abc-atc-popup__container {
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 24px 24px 0 0 !important;
        margin: 0 !important;
    }

    /* Header */
    #abc-atc-popup .abc-atc-popup__header {
        padding: 18px 16px !important;
    }

    #abc-atc-popup .abc-atc-popup__title {
        font-size: 18px !important;
        gap: 10px !important;
    }

    #abc-atc-popup .abc-atc-popup__close {
        width: 40px !important;
        height: 40px !important;
    }

    /* Added product section */
    #abc-atc-popup .abc-atc-added {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 12px !important;
        padding: 16px !important;
    }

    #abc-atc-popup .abc-atc-added__img {
        width: 80px !important;
        height: 80px !important;
        border-radius: 12px !important;
        flex-shrink: 0 !important;
    }

    #abc-atc-popup .abc-atc-added__info {
        flex: 1 !important;
        min-width: 0 !important;
    }

    #abc-atc-popup .abc-atc-added__name {
        font-size: 15px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    #abc-atc-popup .abc-atc-added__price {
        font-size: 17px !important;
        margin-top: 8px !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    #abc-atc-popup .abc-atc-added__price del {
        font-size: 14px !important;
    }

    #abc-atc-popup .abc-atc-added__meta {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding-top: 14px !important;
        margin-top: 6px !important;
        border-top: 1px dashed #E5E7EB !important;
    }

    #abc-atc-popup .abc-atc-added__count {
        font-size: 14px !important;
        font-weight: 500 !important;
    }

    #abc-atc-popup .abc-atc-added__subtotal {
        font-size: 18px !important;
        font-weight: 800 !important;
    }

    /* Footer with buttons - FULL WIDTH STACKED */
    #abc-atc-popup .abc-atc-popup__footer {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        padding: 16px !important;
        padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Buttons - FULL WIDTH */
    #abc-atc-popup .abc-atc-popup__btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        height: 56px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        border-radius: 14px !important;
        box-sizing: border-box !important;
    }

    #abc-atc-popup .abc-atc-popup__btn--primary {
        order: 1 !important;
    }

    #abc-atc-popup .abc-atc-popup__btn--secondary {
        order: 2 !important;
    }

    /* Recommendations */
    #abc-atc-popup .abc-atc-recos {
        padding: 16px !important;
    }

    #abc-atc-popup .abc-atc-recos__grid {
        display: flex !important;
        overflow-x: auto !important;
        gap: 12px !important;
        padding-bottom: 4px !important;
    }

    #abc-atc-popup .abc-atc-reco {
        min-width: 140px !important;
        max-width: 160px !important;
        flex-shrink: 0 !important;
    }
}
