@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* ── Dynamic accent gradient — follows the store's primary/secondary ── */
    --accent-gradient: linear-gradient(135deg, var(--primary, #8b5cf6), var(--secondary, #f97316));

    /* ▒▒▒ Glass surface: uses the store's bg/surface CSS vars + color-mix ▒▒▒ */
    --glass-bg:       color-mix(in srgb, var(--surface, #ffffff) 70%,  transparent);
    --glass-bg-hover: color-mix(in srgb, var(--surface, #ffffff) 90%, transparent);
    --glass-border:   var(--border, rgba(0, 0, 0, 0.08));
    --glass-shadow:   0 8px 32px 0 rgba(0, 0, 0, 0.22);
    --glass-blur:     blur(20px);

    /* ── Layout tokens ── */
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Ambient Glows — follow store primary / secondary ── */
.ambient-glow {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(var(--primary-rgb, 139, 92, 246), 0.14) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}
.ambient-glow-2 {
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(var(--secondary-rgb, 249, 115, 22), 0.10) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

/* ── Floating Glass Header ── */
.glass-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    height: 70px;
    background: color-mix(in srgb, var(--surface, #18181b) 72%, transparent);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border, rgba(255, 255, 255, 0.08));
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 100;
    box-shadow: var(--glass-shadow);
    transition: all 0.3s ease;
}

.header-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.header-nav {
    display: flex;
    gap: 2rem;
}

.header-nav a {
    color: var(--text-muted, #64748b);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--primary, #8b5cf6);
}

.header-actions .btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text, #0f172a);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.header-actions .btn-glass:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(var(--primary-rgb, 139, 92, 246), 0.3);
}

/* Hero Section */
.hero-section {
    padding: 160px 2rem 100px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted, #64748b);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px -10px rgba(var(--primary-rgb, 139, 92, 246), 0.75);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -10px rgba(var(--primary-rgb, 139, 92, 246), 0.9),
                0 0 20px rgba(var(--secondary-rgb, 249, 115, 22), 0.35);
}

/* Bento Box Grid System */
.bento-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.bento-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

/* Glow effect on hover */
.bento-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    padding: 2px; /* Border thickness */
    background: var(--accent-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bento-item:hover {
    transform: translateY(-10px);
    background: var(--glass-bg-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(var(--primary-rgb, 139, 92, 246), 0.15);
}

.bento-item:hover::before {
    opacity: 1;
}

/* Spanning classes */
.col-span-2 { grid-column: span 2; }
.col-span-3 { grid-column: span 3; }
.col-span-4 { grid-column: span 4; }
.row-span-2 { grid-row: span 2; }

/* Bento Content specific */
.bento-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: opacity 0.4s ease, transform 0.6s ease;
    z-index: 0;
}

.bento-item:hover img {
    opacity: 0.6;
    transform: scale(1.05);
}

.bento-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bento-badge {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: auto;
}

.bento-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.bento-price {
    font-size: 1.2rem;
    color: var(--text-muted, #64748b);
    font-weight: 500;
}

/* Product action in bento */
.bento-action {
    margin-top: 1rem;
    align-self: flex-start;
}

.bento-action .btn-cart {
    background: rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--text-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: all 0.2s;
}

.bento-action .btn-cart:hover {
    background: var(--text-primary);
    color: var(--bg-color);
}

/* Typography elements */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

/* Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .col-span-3, .col-span-4 { grid-column: span 2; }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .col-span-2, .col-span-3, .col-span-4 { grid-column: span 1; }
    .hero-title { font-size: 3rem; }
    .glass-header { width: 95%; padding: 0 1rem; }
    .header-nav { display: none; }

    /* Checkout mobile */
    .checkout-step__label { display: none; }
    .checkout-step.is-active .checkout-step__label { display: block; }
    .checkout-step__line { min-width: 20px; max-width: 36px; }
}

/* Unified JS hooks */
.add-to-cart-btn {
    /* Purely for JS to hook into if not using inline alpine */
}
/* ══════════════════════════════════════════════════════════
   Cart Drawer — Premium Side Panel (fully dynamic colors)
   ══════════════════════════════════════════════════════════ */
.glass-sidebar {
    background: color-mix(in srgb, var(--surface, #ffffff) 90%, transparent);
    backdrop-filter: blur(28px) saturate(1.4);
    -webkit-backdrop-filter: blur(28px) saturate(1.4);
    border-left: 1px solid var(--border, rgba(0,0,0,0.08));
    box-shadow: -16px 0 48px rgba(0, 0, 0, 0.1),
                inset 1px 0 0 rgba(var(--primary-rgb, 139,92,246), 0.06);
    color: var(--text, #0f172a);
}

/* Accent pulse line at the drawer edge */
.glass-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(var(--primary-rgb, 139,92,246), 0.8) 40%,
        rgba(var(--secondary-rgb, 249,115,22), 0.8) 70%,
        transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.glass-sidebar-header {
    border-bottom: 1px solid var(--border, rgba(0,0,0,0.08));
    background: color-mix(in srgb, var(--surface, #ffffff) 50%, transparent);
}

.glass-sidebar-footer {
    border-top: 1px solid var(--border, rgba(0,0,0,0.08));
    background: color-mix(in srgb, var(--bg, #f8fafc) 55%, transparent);
}

/* ── Cart Item Card ── */
.glass-cart-item {
    background: color-mix(in srgb, var(--bg, #f8fafc) 60%, transparent);
    border: 1px solid var(--border, rgba(0,0,0,0.08));
    border-radius: var(--radius-md);
    transition: background 0.25s ease, border-color 0.25s ease,
                box-shadow 0.25s ease;
}

.glass-cart-item:hover {
    background: color-mix(in srgb, var(--surface, #ffffff) 75%, transparent);
    border-color: rgba(var(--primary-rgb, 139,92,246), 0.35);
    box-shadow: 0 4px 20px rgba(var(--primary-rgb, 139,92,246), 0.08);
}

/* ══════════════════════════════════════════════════════════
   Footer Glass Surface — dynamic theme colors
   ══════════════════════════════════════════════════════════ */
.glass-footer {
    background: color-mix(in srgb, var(--bg, #f8fafc) 82%, transparent);
    backdrop-filter: blur(14px) saturate(1.2);
    -webkit-backdrop-filter: blur(14px) saturate(1.2);
    border-top: 1px solid var(--border, rgba(0,0,0,0.08));
    padding: 4rem 2rem;
    margin-top: 4rem;
    position: relative;
}

/* Subtle gradient line at footer top */
.glass-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        rgba(var(--primary-rgb, 139,92,246), 0.5) 30%,
        rgba(var(--secondary-rgb, 249,115,22), 0.5) 70%,
        transparent);
    pointer-events: none;
}

/* ----------------------------------------------------------
   Products Page Specifics (Bento & Glass Filters)
   ---------------------------------------------------------- */
.glass-filter-bar {
    background: color-mix(in srgb, var(--surface, #ffffff) 50%, transparent);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    border: 1px solid var(--border, rgba(0,0,0,0.08));
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--glass-shadow);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.glass-filter-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 40%, transparent 60%, rgba(var(--primary-rgb, 139, 92, 246), 0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.glass-input {
    background: color-mix(in srgb, var(--bg, #f8fafc) 60%, transparent);
    border: 1px solid var(--border, rgba(0,0,0,0.08));
    color: var(--text, #0f172a);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.glass-input:focus {
    background: color-mix(in srgb, var(--surface, #ffffff) 90%, transparent);
    border-color: rgba(var(--primary-rgb, 139, 92, 246), 0.5);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 139, 92, 246), 0.1);
    outline: none;
}

.glass-pill {
    background: color-mix(in srgb, var(--bg, #f8fafc) 50%, transparent);
    border: 1px solid var(--border, rgba(0,0,0,0.05));
    color: var(--text-muted, #64748b);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.glass-pill:hover {
    background: color-mix(in srgb, var(--surface, #ffffff) 80%, transparent);
    color: var(--text, #0f172a);
    border-color: rgba(var(--primary-rgb, 139, 92, 246), 0.3);
}

.glass-pill.active {
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb, 139, 92, 246), 0.3);
}

.bento-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Bento Product Card */
.bento-product-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.bento-product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: var(--accent-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 10;
    pointer-events: none;
}

.bento-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), 0 0 30px rgba(var(--primary-rgb, 139, 92, 246), 0.1);
}

.bento-product-card:hover::before {
    opacity: 1;
}

.bento-product-card .product-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.bento-product-card .product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bento-product-card:hover .product-media img {
    transform: scale(1.08);
}

.bento-product-card .product-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.bento-product-card .product-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text, #0f172a);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}

.bento-product-card .product-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text, #0f172a);
    margin-top: auto;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.bento-product-card .product-old-price {
    font-size: 0.9rem;
    color: var(--text-muted, #64748b);
    text-decoration: line-through;
    font-weight: 500;
}

.bento-product-card .btn-add-cart {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.8rem;
    border-radius: var(--radius-md);
    background: color-mix(in srgb, var(--surface, #ffffff) 80%, transparent);
    border: 1px solid var(--border, rgba(0,0,0,0.1));
    color: var(--text, #0f172a);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.bento-product-card .btn-add-cart:hover {
    background: var(--text, #0f172a);
    color: var(--bg, #ffffff);
    border-color: var(--text, #0f172a);
}

.bento-product-card .btn-add-cart:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ----------------------------------------------------------
   Checkout Page Specifics (Glass & Bento)
   ---------------------------------------------------------- */
.glass-panel {
    background: color-mix(in srgb, var(--surface, #ffffff) 60%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border, rgba(0,0,0,0.08));
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 50%, rgba(var(--primary-rgb, 139, 92, 246), 0.2) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Payment Gateway Bento Box */
.payment-bento-item {
    background: color-mix(in srgb, var(--bg, #f8fafc) 40%, transparent);
    border: 2px solid var(--border, rgba(0,0,0,0.05));
    border-radius: var(--radius-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.payment-bento-item:hover {
    border-color: rgba(var(--primary-rgb, 139, 92, 246), 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.payment-bento-item.active {
    border-color: rgba(var(--primary-rgb, 139, 92, 246), 1);
    background: color-mix(in srgb, var(--primary, #8b5cf6) 5%, transparent);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb, 139, 92, 246), 0.1), 0 10px 20px rgba(0,0,0,0.05);
}

.payment-bento-item .payment-radio {
    accent-color: var(--primary);
}

.btn-pulse {
    position: relative;
    overflow: hidden;
}

.btn-pulse::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(var(--primary-rgb, 139, 92, 246), 0.7);
    animation: pulse-ring 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb, 139, 92, 246), 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(var(--primary-rgb, 139, 92, 246), 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb, 139, 92, 246), 0);
    }
}

/* ----------------------------------------------------------
   Checkout — Step Progress Indicator
   ---------------------------------------------------------- */
.checkout-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2.5rem;
    padding: 0 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}
.checkout-steps::-webkit-scrollbar { display: none; }

.checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.checkout-step__dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 800;
    border: 2px solid var(--border, rgba(0,0,0,0.1));
    color: var(--text-muted, #64748b);
    background: color-mix(in srgb, var(--surface, #ffffff) 60%, transparent);
    backdrop-filter: blur(10px);
    transition: all 0.35s ease;
    flex-shrink: 0;
}

.checkout-step.is-done .checkout-step__dot {
    background: linear-gradient(135deg, var(--primary, #8b5cf6), var(--secondary, #f97316));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 3px 12px rgba(var(--primary-rgb, 139,92,246), 0.4);
}

.checkout-step.is-active .checkout-step__dot {
    background: linear-gradient(135deg, var(--primary, #8b5cf6), var(--secondary, #f97316));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 0 5px rgba(var(--primary-rgb, 139,92,246), 0.18),
                0 3px 12px rgba(var(--primary-rgb, 139,92,246), 0.4);
    animation: step-pulse 2.2s ease-in-out infinite;
}

@keyframes step-pulse {
    0%, 100% { box-shadow: 0 0 0 5px rgba(var(--primary-rgb,139,92,246), 0.18), 0 3px 12px rgba(var(--primary-rgb,139,92,246), 0.4); }
    50%       { box-shadow: 0 0 0 9px rgba(var(--primary-rgb,139,92,246), 0.06), 0 3px 12px rgba(var(--primary-rgb,139,92,246), 0.4); }
}

.checkout-step__label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--text-muted, #64748b);
    white-space: nowrap;
    text-align: center;
}

.checkout-step.is-done .checkout-step__label,
.checkout-step.is-active .checkout-step__label {
    color: var(--primary, #8b5cf6);
}

.checkout-step__line {
    flex: 1;
    height: 2px;
    min-width: 28px;
    max-width: 64px;
    background: var(--border, rgba(0,0,0,0.08));
    margin-bottom: 1.1rem;
    position: relative;
    overflow: hidden;
    flex-shrink: 1;
}

.checkout-step__line.is-done::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--primary, #8b5cf6), var(--secondary, #f97316));
}

/* Checkout summary sidebar gradient header */
.checkout-summary-head {
    background: linear-gradient(135deg,
        rgba(var(--primary-rgb, 139,92,246), 0.10) 0%,
        rgba(var(--secondary-rgb, 249,115,22), 0.07) 100%);
    border-bottom: 1px solid var(--border, rgba(0,0,0,0.08));
    padding: 1.1rem 1.4rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: relative;
    overflow: hidden;
}

.checkout-summary-head::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        rgba(var(--primary-rgb,139,92,246), 0.9),
        rgba(var(--secondary-rgb,249,115,22), 0.9));
}

/* Checkout trust badges */
.checkout-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.checkout-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border, rgba(0,0,0,0.08));
    color: var(--text-muted, #64748b);
    background: color-mix(in srgb, var(--surface, #ffffff) 50%, transparent);
}

/* ----------------------------------------------------------
   Home — Products Slider
   ---------------------------------------------------------- */
.slider-section {
    padding: 3rem 0 4rem;
    overflow: hidden;
}

.slider-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.slider-arrows {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.slider-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid var(--border, rgba(0,0,0,0.08));
    background: color-mix(in srgb, var(--surface, #ffffff) 70%, transparent);
    backdrop-filter: blur(10px);
    color: var(--text-muted, #64748b);
}

.slider-arrow:hover {
    background: linear-gradient(135deg, var(--primary, #8b5cf6), var(--secondary, #f97316));
    border-color: transparent;
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(var(--primary-rgb, 139,92,246), 0.35);
}

.slider-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none;
}

.slider-track-wrap {
    padding: 0 2rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.slider-track {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}

.slider-track::-webkit-scrollbar { display: none; }

.slider-card {
    flex: 0 0 calc(25% - 1rem);
    min-width: 220px;
    scroll-snap-align: start;
    background: color-mix(in srgb, var(--surface, #ffffff) 70%, transparent);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border, rgba(0,0,0,0.08));
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                box-shadow 0.35s ease;
}

.slider-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: var(--accent-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
    pointer-events: none;
}

.slider-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15),
                0 0 25px rgba(var(--primary-rgb,139,92,246), 0.12);
}

.slider-card:hover::before { opacity: 1; }

.slider-card__img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.slider-card:hover .slider-card__img { transform: scale(1.06); }

.slider-card__body {
    padding: 1rem 1.1rem 1.1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.slider-card__name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text, #0f172a);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slider-card__price {
    font-size: 1rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: auto;
    padding-top: 0.4rem;
}

.slider-card__btn {
    margin-top: 0.75rem;
    width: 100%;
    padding: 0.6rem;
    border-radius: var(--radius-sm);
    background: color-mix(in srgb, var(--surface, #ffffff) 50%, transparent);
    border: 1px solid var(--border, rgba(0,0,0,0.08));
    color: var(--text, #0f172a);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.slider-card__btn:hover {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb,139,92,246), 0.35);
}

/* Slider fade edges */
.slider-track-wrap::before,
.slider-track-wrap::after {
    content: '';
    position: absolute;
    top: 0; bottom: 1.5rem;
    width: 3rem;
    pointer-events: none;
    z-index: 3;
}

.slider-track-wrap::before {
    left: 2rem;
    background: linear-gradient(90deg, var(--bg, #f8fafc), transparent);
}

.slider-track-wrap::after {
    right: 2rem;
    background: linear-gradient(-90deg, var(--bg, #f8fafc), transparent);
}

/* Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 1.25rem;
}

.slider-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--border, rgba(0,0,0,0.12));
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-dot.active {
    width: 22px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--primary, #8b5cf6), var(--secondary, #f97316));
}

@media (max-width: 1024px) {
    .slider-card { flex: 0 0 calc(33.333% - 1rem); }
}

@media (max-width: 640px) {
    .slider-card { flex: 0 0 75vw; }
    .slider-header { flex-direction: column; align-items: flex-start; gap: 1rem; padding: 0 1rem; }
    .slider-track-wrap { padding: 0 1rem 1.5rem; }
    .slider-track-wrap::before { left: 1rem; }
    .slider-track-wrap::after { right: 1rem; }
}
