﻿:root {
    --tw-bg: #f7f9fd;
    --tw-bg-decor: #eaf5ff;
    --tw-bg-soft: #f8fbff;
    --tw-surface: #ffffff;
    --tw-surface-alt: #f1f5fd;
    --tw-text: #0f172a;
    --tw-muted: #64748b;
    --tw-border: #e2e8f0;
    --tw-primary: #1d4ed8;
    --tw-primary-light: #3b82f6;
    --tw-accent: #0d9488;
    --tw-warning: #f59e0b;
    --tw-danger: #dc2626;
    --tw-radius: 18px;
    --tw-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
    --tw-shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
    --tw-topbar-bg: rgba(255, 255, 255, 0.92);
    --tw-topbar-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    --tw-brand-text-start: #1e293b;
    --tw-brand-text-end: #334155;
    --tw-nav-text: #475569;
    --tw-hero-start: #dbeafe;
    --tw-hero-mid: #f0fdfa;
    --tw-hero-end: #fef9c3;
    --tw-soft-bg: #ecfeff;
    --tw-soft-bg-hover: #cffafe;
    --tw-soft-text: #0f766e;
    --tw-outline-border: #bfdbfe;
    --tw-footer-bg: #0f172a;
    --tw-footer-text: #cbd5e1;
    --tw-footer-muted: #94a3b8;

    /* Derived from the active theme's variables (injected by App.razor), so every
       template - light or dark - gets matching gradients, glass and focus rings. */
    --tw-brand-gradient: linear-gradient(135deg, var(--tw-primary), color-mix(in srgb, var(--tw-primary) 45%, var(--tw-accent)));
    --tw-glass: color-mix(in srgb, var(--tw-surface) 90%, transparent);
    --tw-glass-border: color-mix(in srgb, var(--tw-border) 78%, transparent);
    --tw-ring: color-mix(in srgb, var(--tw-primary) 26%, transparent);
    --tw-hover-tint: color-mix(in srgb, var(--tw-primary) 9%, var(--tw-surface));
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--tw-text);
    scroll-behavior: smooth;
}

html {
    background-color: var(--tw-bg);
}

/* Transparent so the fixed decorative layers below show through. */
body {
    background: transparent;
}

::selection {
    background: color-mix(in srgb, var(--tw-primary) 22%, transparent);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--tw-primary) 70%, transparent);
    outline-offset: 2px;
}

/* ── Page Background ──
   Two fixed, non-interactive layers behind all content: soft theme-coloured glows,
   then flowing "silk" ribbons drawn by SVG masks so they take the theme colours. */
.web-shell::before,
.web-shell::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.web-shell::before {
    background:
        radial-gradient(60% 55% at 100% 0%, color-mix(in srgb, var(--tw-primary) 13%, transparent), transparent 70%),
        radial-gradient(55% 50% at 0% 100%, color-mix(in srgb, var(--tw-accent) 11%, transparent), transparent 70%),
        radial-gradient(45% 40% at 12% 8%, color-mix(in srgb, var(--tw-bg-decor) 85%, transparent), transparent 75%),
        linear-gradient(180deg, var(--tw-bg-soft), var(--tw-bg));
}

.web-shell::after {
    background: linear-gradient(135deg, color-mix(in srgb, var(--tw-primary) 24%, transparent), color-mix(in srgb, var(--tw-accent) 20%, transparent));
    -webkit-mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Cpath d='M800 0H330c40 70 120 120 230 140c110 20 170 90 240 190z' fill-opacity='.5'/%3E%3Cpath d='M800 0H470c30 60 90 95 170 110c70 13 120 50 160 110z' fill-opacity='.55'/%3E%3Cpath d='M250 0c60 110 190 170 330 190c100 14 160 70 220 150' fill='none' stroke='%23000' stroke-width='26' stroke-opacity='.2' stroke-linecap='round'/%3E%3Cpath d='M150 0c80 150 230 230 400 250c110 13 180 70 250 160' fill='none' stroke='%23000' stroke-width='12' stroke-opacity='.16' stroke-linecap='round'/%3E%3Cpath d='M60 0c90 190 270 300 470 320c120 12 200 70 270 170' fill='none' stroke='%23000' stroke-width='5' stroke-opacity='.14'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Cg transform='rotate(180 400 300)'%3E%3Cpath d='M800 0H330c40 70 120 120 230 140c110 20 170 90 240 190z' fill-opacity='.45'/%3E%3Cpath d='M250 0c60 110 190 170 330 190c100 14 160 70 220 150' fill='none' stroke='%23000' stroke-width='22' stroke-opacity='.18' stroke-linecap='round'/%3E%3Cpath d='M120 0c80 160 240 240 420 260c110 12 190 70 260 170' fill='none' stroke='%23000' stroke-width='8' stroke-opacity='.14' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat, no-repeat;
    -webkit-mask-position: top right, bottom left;
    -webkit-mask-size: min(820px, 96vw) auto, min(680px, 88vw) auto;
    mask-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Cpath d='M800 0H330c40 70 120 120 230 140c110 20 170 90 240 190z' fill-opacity='.5'/%3E%3Cpath d='M800 0H470c30 60 90 95 170 110c70 13 120 50 160 110z' fill-opacity='.55'/%3E%3Cpath d='M250 0c60 110 190 170 330 190c100 14 160 70 220 150' fill='none' stroke='%23000' stroke-width='26' stroke-opacity='.2' stroke-linecap='round'/%3E%3Cpath d='M150 0c80 150 230 230 400 250c110 13 180 70 250 160' fill='none' stroke='%23000' stroke-width='12' stroke-opacity='.16' stroke-linecap='round'/%3E%3Cpath d='M60 0c90 190 270 300 470 320c120 12 200 70 270 170' fill='none' stroke='%23000' stroke-width='5' stroke-opacity='.14'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 600'%3E%3Cg transform='rotate(180 400 300)'%3E%3Cpath d='M800 0H330c40 70 120 120 230 140c110 20 170 90 240 190z' fill-opacity='.45'/%3E%3Cpath d='M250 0c60 110 190 170 330 190c100 14 160 70 220 150' fill='none' stroke='%23000' stroke-width='22' stroke-opacity='.18' stroke-linecap='round'/%3E%3Cpath d='M120 0c80 160 240 240 420 260c110 12 190 70 260 170' fill='none' stroke='%23000' stroke-width='8' stroke-opacity='.14' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");
    mask-repeat: no-repeat, no-repeat;
    mask-position: top right, bottom left;
    mask-size: min(820px, 96vw) auto, min(680px, 88vw) auto;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ── Web Topbar ── */
.web-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--tw-topbar-bg) 80%, transparent);
    border-bottom: 1px solid var(--tw-glass-border);
    backdrop-filter: saturate(170%) blur(18px);
    -webkit-backdrop-filter: saturate(170%) blur(18px);
    box-shadow: var(--tw-topbar-shadow);
    padding: 0.7rem 0;
    transition: box-shadow 0.3s ease;
}

/* Hairline brand gradient along the bottom edge of the header. */
.web-topbar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--tw-primary) 55%, transparent) 30%, color-mix(in srgb, var(--tw-accent) 55%, transparent) 70%, transparent);
    opacity: 0.6;
    pointer-events: none;
}

.web-topbar.scrolled {
    box-shadow: 0 6px 30px rgba(15, 23, 42, 0.1);
}

/* ── Brand ── */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    max-width: 100%;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 800;
    text-decoration: none;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: var(--tw-brand-gradient);
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--tw-primary) 32%, transparent);
    font-size: 0.95rem;
    letter-spacing: -0.5px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-logo-wrap {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--tw-primary) 14%, transparent);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--tw-primary) 18%, transparent);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand:hover .brand-mark,
.brand:hover .brand-logo-wrap {
    transform: rotate(-4deg) scale(1.05);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--tw-primary) 28%, transparent);
}

.brand-logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.brand-text {
    display: block;
    min-width: 0;
    max-width: 100%;
    font-size: 1.12rem;
    line-height: 1.05;
    letter-spacing: -0.01em;
    white-space: nowrap;
    background: linear-gradient(135deg, var(--tw-brand-text-start), var(--tw-brand-text-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Desktop Nav ── */
/* Links sit in a soft pill "track"; the active page is a filled brand-gradient pill. */
.desktop-nav {
    gap: 0.15rem;
    align-items: center;
    padding: 0.3rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--tw-surface-alt) 72%, transparent);
    border: 1px solid var(--tw-glass-border);
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--tw-surface) 70%, transparent);
}

.desktop-nav a {
    padding: 0.48rem 1.05rem;
    color: var(--tw-nav-text);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 999px;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
    position: relative;
}

.desktop-nav a:hover {
    color: var(--tw-primary);
    background: var(--tw-surface);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--tw-primary) 14%, transparent);
    transform: translateY(-1px);
}

.desktop-nav a.nav-active {
    color: #fff;
    background: var(--tw-brand-gradient);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--tw-primary) 32%, transparent);
    font-weight: 700;
    border-bottom: none !important;
    text-decoration: none !important;
}

.desktop-nav a.nav-active:hover {
    color: #fff;
    background: var(--tw-brand-gradient);
}

/* Laptops: a logged-in menu has 8 links plus the avatar, so the pills tighten
   to keep the menu on one line and the brand name visible (measured with the
   longer Bangla labels). */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .desktop-nav {
        gap: 0.1rem;
        padding: 0.25rem;
    }

    .desktop-nav a {
        padding: 0.45rem 0.72rem;
        font-size: 0.86rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .desktop-nav a {
        padding: 0.42rem 0.44rem;
        font-size: 0.79rem;
    }

    /* Prefixed with .web-topbar so they outrank the base rules that follow. */
    .web-topbar .top-actions {
        gap: 0.3rem;
    }

    .web-topbar .icon-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .web-topbar .header-avatar-link {
        --avatar-size: 36px;
    }

    .web-topbar .language-toggle {
        min-width: 54px;
        height: 36px;
        padding: 0 0.5rem;
    }

    .web-topbar .brand-text {
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

/* ── Top Actions ── */
.top-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    flex: 0 0 auto;
}

.language-toggle {
    min-width: 70px;
    height: 40px;
    padding: 0 0.88rem;
    border: 1px solid color-mix(in srgb, var(--tw-primary) 14%, var(--tw-border));
    border-radius: 999px;
    background: var(--tw-surface);
    color: var(--tw-nav-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.36rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.language-toggle:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--tw-primary) 28%, var(--tw-border));
    background: var(--tw-hover-tint);
    color: var(--tw-primary);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--tw-primary) 16%, transparent);
}

.icon-link {
    width: 40px;
    height: 40px;
    border: 1px solid var(--tw-border);
    background: var(--tw-surface);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--tw-nav-text);
    font-size: 1.1rem;
    transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.icon-link:hover {
    border-color: color-mix(in srgb, var(--tw-primary) 45%, var(--tw-border));
    color: var(--tw-primary);
    background: var(--tw-hover-tint);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--tw-primary) 20%, transparent);
}

/* ── Customer Avatar ──
   One square box (--avatar-size) with overflow hidden, so the image is always a perfect circle
   whatever its own width/height is, and the box can never be squeezed by the flex row. */
.header-avatar-link {
    --avatar-size: 40px;
    width: var(--avatar-size);
    height: var(--avatar-size);
    min-width: var(--avatar-size);
    min-height: var(--avatar-size);
    aspect-ratio: 1 / 1;
    flex: 0 0 var(--avatar-size);
    box-sizing: border-box;
    padding: 0;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid color-mix(in srgb, var(--tw-primary) 45%, var(--tw-border));
    background: var(--tw-surface);
    display: block;
    line-height: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-avatar-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--tw-primary) 22%, transparent);
}

.header-avatar {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: var(--tw-surface);
}

.account-avatar-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.account-avatar {
    width: 96px;
    height: 96px;
    min-width: 96px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: var(--tw-surface);
    border: 3px solid color-mix(in srgb, var(--tw-primary) 30%, var(--tw-border));
}

.profile-image-picker {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.profile-image-preview {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--tw-border);
    background: var(--tw-surface);
}

.profile-image-picker-body {
    min-width: 0;
}

.profile-image-choose {
    margin: 0;
}

.profile-image-choose.disabled {
    opacity: 0.55;
    pointer-events: none;
}

.profile-image-remove {
    color: #dc2626;
}

.logout-confirm-button {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

/* ── Main Content ── */
.web-content {
    min-height: calc(100vh - 130px);
    padding-bottom: 86px;
    /* The page background comes from the fixed .web-shell layers. */
    background: transparent;
}

/* ── Page Hero / Section ── */
.page-section {
    padding: 1.1rem 0.95rem;
}

.page-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.page-intro h1 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 0 0 0.5rem;
}

.page-intro h1::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    margin: 0.7rem auto 0;
    border-radius: 999px;
    background: var(--tw-brand-gradient);
}

h1:focus,
h1:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.page-intro p {
    color: var(--tw-muted);
    font-size: 1rem;
    margin: 0;
}

/* ── Hero Wrap ── */
.hero-wrap {
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(125deg, var(--tw-hero-start), var(--tw-hero-mid) 55%, var(--tw-hero-end));
    box-shadow: var(--tw-shadow);
    padding: 1.5rem;
    position: relative;
}

.hero-wrap::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--tw-primary) 12%, transparent);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    gap: 1.2rem;
}

.hero-card {
    border-radius: var(--tw-radius);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 1.2rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    z-index: 1;
}

.hero-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.hero-card h1 {
    font-family: "Plus Jakarta Sans", sans-serif;
    margin: 0 0 0.55rem;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-card p {
    color: var(--tw-muted);
    margin: 0 0 0.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.hero-badges span {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: color-mix(in srgb, var(--tw-primary) 10%, white);
    color: var(--tw-primary);
    border: 1px solid color-mix(in srgb, var(--tw-primary) 24%, white);
}

.hero-image-card {
    border-radius: var(--tw-radius);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 1.2rem;
    display: grid;
    place-items: center;
    position: relative;
    z-index: 1;
}

/* ── Section Title ── */
.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0 0 1.15rem;
}

.section-title h2 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
}

/* Plain section headings (Home, Product details) get the larger display size. */
.section-title > h2:not([class]) {
    font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Brand accent bar in front of every section heading. */
.section-title > :is(h1, h2, h3),
.section-title > div > :is(h1, h2):first-child {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}

.section-title > :is(h1, h2, h3)::before,
.section-title > div > :is(h1, h2):first-child::before {
    content: '';
    flex: 0 0 5px;
    width: 5px;
    height: 1.05em;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--tw-primary), var(--tw-accent));
}

.section-title a {
    color: var(--tw-primary);
    font-size: 0.86rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: gap 0.2s ease;
}

.section-title a:hover {
    gap: 0.5rem;
}

/* "View all" style links become pills with an arrow that slides on hover. */
.section-title > a {
    flex: 0 0 auto;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    font-size: 0.82rem;
    white-space: nowrap;
    background: color-mix(in srgb, var(--tw-primary) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--tw-primary) 18%, transparent);
    transition: gap 0.2s ease, color 0.2s ease, background-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.section-title > a::after {
    content: "\ea6c";
    font-family: "remixicon";
    font-weight: normal;
    line-height: 1;
}

.section-title > a:hover {
    color: #fff;
    background: var(--tw-brand-gradient);
    border-color: transparent;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--tw-primary) 26%, transparent);
    transform: translateY(-1px);
}

/* ── Grids ── */
.grid-2, .grid-3, .grid-4 {
    display: grid;
    gap: 0.9rem;
}

/* ── Cards ── */
.category-card,
.product-card,
.info-card,
.checkout-panel,
.card-panel,
.search-panel {
    background: var(--tw-surface);
    border: 1px solid var(--tw-border);
    border-radius: var(--tw-radius);
    box-shadow: var(--tw-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Glass surfaces for every panel except the product card, which keeps its own look. */
.category-card,
.info-card,
.checkout-panel,
.card-panel,
.search-panel {
    background: var(--tw-glass);
    border-color: var(--tw-glass-border);
    box-shadow: inset 0 1px 0 color-mix(in srgb, var(--tw-surface) 70%, transparent), var(--tw-shadow);
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--tw-primary) 30%, var(--tw-border));
    box-shadow: 0 18px 40px color-mix(in srgb, var(--tw-primary) 16%, transparent);
}

.category-card {
    position: relative;
    overflow: hidden;
    padding: 1.1rem 1rem;
    text-align: center;
    cursor: pointer;
}

/* Gradient strip that draws in along the top edge on hover. */
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tw-brand-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card h3 {
    font-size: 0.98rem;
    font-weight: 700;
    margin: 0 0 0.2rem;
    transition: color 0.2s ease;
}

.category-card:hover h3 {
    color: var(--tw-primary);
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--tw-shadow-lg);
}

.category-card p {
    margin: 0;
    color: var(--tw-muted);
    font-size: 0.84rem;
}

/* ── Product Card ── */

.product-thumb {
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, color-mix(in srgb, var(--tw-border) 82%, white), color-mix(in srgb, var(--tw-surface-alt) 76%, white));
    display: grid;
    place-items: center;
    color: var(--tw-muted);
    overflow: hidden;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.05);
}

.product-body {
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1 1 auto;
}

.product-body h3 {
    margin: 0 0 0.3rem;
    font-size: 0.95rem;
    font-weight: 700;
}

.product-body p {
    margin: 0;
    color: var(--tw-muted);
    font-size: 0.8rem;
}

.product-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.product-sold-count {
    flex-shrink: 0;
    color: var(--tw-muted);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    text-align: right;
}

.price-row {
    margin-top: 0.7rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-weight: 800;
    font-size: 1rem;
    color: var(--tw-primary);
}

.price-old {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 0.82rem;
    margin-left: 0.35rem;
    font-weight: 500;
}

.product-actions,
.hero-product-actions {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.product-actions-inline {
    margin-top: 0;
    justify-content: flex-end;
}

.product-action-order {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 38px;
    padding: 0.48rem 0.78rem;
    border: 1px solid transparent;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--tw-primary), var(--tw-primary-light));
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    cursor: pointer;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--tw-primary) 24%, transparent);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.product-action-order:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: saturate(1.04);
    box-shadow: 0 14px 26px color-mix(in srgb, var(--tw-primary) 30%, transparent);
}

.product-action-order span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 641px) {
    .shop-order-button i {
        display: none;
    }
}

.product-action-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--tw-border) 92%, white);
    background: linear-gradient(180deg, var(--tw-surface), color-mix(in srgb, var(--tw-surface-alt) 68%, white));
    color: color-mix(in srgb, var(--tw-text) 76%, #334155);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.product-action-icon:hover:not(:disabled) {
    transform: translateY(-1px);
    color: var(--tw-primary);
    border-color: color-mix(in srgb, var(--tw-primary) 34%, white);
    background: linear-gradient(180deg, var(--tw-surface), color-mix(in srgb, var(--tw-primary) 10%, white));
    box-shadow: 0 10px 20px color-mix(in srgb, var(--tw-primary) 16%, transparent);
}

.product-action-icon i,
.product-action-order i {
    font-size: 1rem;
    line-height: 1;
}

.product-action-icon.wishlist-active {
    color: #dc2626;
    background: linear-gradient(135deg, #fff1f2, #fee2e2);
    border-color: #fecdd3;
}

.product-action-icon.wishlist-active:hover:not(:disabled) {
    color: #b91c1c;
    background: linear-gradient(135deg, #ffe4e6, #fecdd3);
    box-shadow: 0 10px 20px rgba(220, 38, 38, 0.14);
}

.product-action-icon.cart-active {
    color: #1d4ed8;
    background: linear-gradient(135deg, #eef4ff, #dbeafe);
    border-color: #bfdbfe;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.14);
}

.product-action-icon.cart-active:hover:not(:disabled) {
    color: #1e40af;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

/* ── Buttons ── */
.btn-main,
.btn-soft,
.btn-outline {
    border: 0;
    border-radius: 999px;
    font-weight: 700;
    padding: 0.6rem 1.05rem;
    font-size: 0.84rem;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-main {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: var(--tw-brand-gradient);
    color: #fff;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--tw-primary) 30%, transparent);
}

/* Light sweep across the button on hover. */
.btn-main::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 45%;
    z-index: -1;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.32), transparent);
    transform: skewX(-18deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px color-mix(in srgb, var(--tw-primary) 34%, transparent);
}

.btn-main:hover::after {
    left: 120%;
}

.btn-soft {
    background: var(--tw-soft-bg);
    color: var(--tw-soft-text);
}

.btn-soft:hover {
    background: var(--tw-soft-bg-hover);
}

.btn-outline {
    border: 1px solid var(--tw-outline-border);
    background: var(--tw-surface);
    color: var(--tw-primary);
}

.btn-outline:hover {
    background: var(--tw-hover-tint);
    border-color: var(--tw-primary);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--tw-primary) 14%, transparent);
}

.btn-lg {
    padding: 0.75rem 1.4rem;
    font-size: 0.95rem;
    border-radius: 999px;
}

.btn-link {
    background: none;
    border: none;
    color: var(--tw-primary);
    text-decoration: none;
    font-weight: 600;
}

.btn-link:hover {
    text-decoration: underline;
}

.continue-shopping-link:hover,
.continue-shopping-link:focus {
    text-decoration: none !important;
    color: #dc2626 !important;
}

.spinner-border {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-rotate 0.75s linear infinite;
}

@keyframes spinner-rotate {
    to { transform: rotate(360deg); }
}

.btn-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--tw-border);
    border-radius: 10px;
    background: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #64748b;
}

.btn-icon:hover {
    border-color: var(--tw-danger);
    color: var(--tw-danger);
    background: #fef2f2;
}

.btn-icon.wishlist-active {
    border-color: var(--tw-danger);
    color: var(--tw-danger);
    background: #fef2f2;
}

/* ── Flash Banner ── */
.flash-banner {
    border-radius: 20px;
    padding: 1.2rem;
    background: linear-gradient(135deg, #fee2e2, #ffedd5);
    border: 1px solid #fecaca;
}

.flash-banner h2 {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.flash-banner p {
    margin: 0;
    color: #7f1d1d;
}

/* ── Search / Checkout / Card Panel ── */
.search-panel,
.checkout-panel,
.card-panel {
    padding: 1.2rem;
}

.shop-search-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.shop-search-row .search-box {
    flex: 1 1 auto;
}

/* Opens the filter drawer below the lg breakpoint, where the sidebar is hidden. */
.shop-inline-filter-btn {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0 1rem;
    border: 0;
    border-radius: 999px;
    background: var(--tw-brand-gradient);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--tw-primary) 28%, transparent);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.shop-inline-filter-btn i {
    font-size: 0.92rem;
}

.shop-inline-filter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px color-mix(in srgb, var(--tw-primary) 36%, transparent);
}

.shop-inline-filter-count {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    color: var(--tw-primary);
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 800;
}
.search-box {
    position: relative;
}

/* Search icon drawn inside the pill-shaped input. */
.search-box::before {
    content: "\f0d1";
    font-family: "remixicon";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.05rem;
    line-height: 1;
    color: var(--tw-muted);
    pointer-events: none;
    transition: color 0.2s ease;
}

.search-box:focus-within::before {
    color: var(--tw-primary);
}

.search-box input {
    width: 100%;
    border-radius: 999px;
    border: 1px solid var(--tw-border);
    background: var(--tw-surface);
    color: var(--tw-text);
    padding: 0.72rem 1.1rem 0.72rem 2.6rem;
    font-size: 0.92rem;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box input:hover {
    border-color: color-mix(in srgb, var(--tw-primary) 30%, var(--tw-border));
}

.search-box input:focus {
    outline: none;
    border-color: var(--tw-primary);
    box-shadow: 0 0 0 4px var(--tw-ring);
}

.filter-grid {
    display: grid;
    gap: 0.7rem;
    margin-top: 0.75rem;
}

.filter-grid select {
    border: 1px solid var(--tw-border);
    border-radius: 10px;
    padding: 0.6rem;
    background: #fff;
    font-size: 0.9rem;
}

/* ── Cart Item ── */
.cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 0.7rem;
    padding: 0.85rem;
    border: 1px solid var(--tw-border);
    border-radius: 14px;
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.cart-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.qty-control {
    display: inline-flex;
    gap: 0.35rem;
    align-items: center;
    background: #f8fafc;
    border-radius: 10px;
    padding: 0.2rem;
}

.qty-control button {
    border: 0;
    background: #fff;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.15s ease;
    display: grid;
    place-items: center;
}

.qty-control button:hover {
    background: var(--tw-primary);
    color: #fff;
}

.qty-control span {
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin: 0.4rem 0;
    color: #334155;
    font-size: 0.92rem;
}

.summary-row.total {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--tw-text);
    border-top: 1px solid var(--tw-border);
    padding-top: 0.6rem;
    margin-top: 0.6rem;
}

.checkout-grid {
    display: grid;
    gap: 1rem;
}

.checkout-grid input,
.checkout-grid textarea,
.checkout-grid select {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--tw-border);
    padding: 0.65rem 0.8rem;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-grid input:focus,
.checkout-grid textarea:focus,
.checkout-grid select:focus {
    outline: none;
    border-color: var(--tw-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.shipping-options-compact {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.7rem;
}

.shipping-options-compact > small {
    flex: 0 0 100%;
    margin-bottom: 0;
}

.shipping-option-card {
    flex: 1 1 220px;
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--tw-border);
    border-radius: 14px;
    background: var(--tw-surface);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.shipping-option-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.08);
    transform: translateY(-1px);
}

.shipping-option-card.selected {
    border-color: #93c5fd;
    background: linear-gradient(180deg, #ffffff, #eff6ff);
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.12);
}

.shipping-option-card input[type="radio"] {
    margin: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--tw-primary);
}

.shipping-option-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.12rem;
    text-align: left;
}

.shipping-option-copy strong {
    font-size: 0.88rem;
    color: var(--tw-text);
}

.shipping-option-copy small {
    line-height: 1.35;
}

.shipping-option-price {
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--tw-primary);
    white-space: nowrap;
}

/* ── Empty Block ── */
.empty-block {
    padding: 3rem 1.5rem;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: var(--tw-radius);
    text-align: center;
}

.empty-block i {
    font-size: 2.5rem;
    color: #94a3b8;
    margin-bottom: 0.8rem;
}

.empty-block p {
    color: var(--tw-muted);
    margin: 0 0 1rem;
}

/* ── Product Detail ── */
.product-detail-grid {
    display: grid;
    gap: 1.5rem;
}

.product-gallery {
    border-radius: var(--tw-radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--tw-border);
}

.product-gallery img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

.product-info h1 {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.3rem;
}

.product-info .sku {
    color: var(--tw-muted);
    font-size: 0.84rem;
    margin-bottom: 0.8rem;
}

.product-info .description {
    color: #334155;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.product-text-block {
    white-space: pre-wrap;
    word-break: break-word;
}

.product-short-description {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.product-full-description {
    color: #334155;
    line-height: 1.8;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.stock-badge.in-stock {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.stock-badge.out-of-stock {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.stock-badge.low-stock {
    background: #fef9c3;
    color: #854d0e;
}

/* ── Order Tracking ── */
.order-status-tracker {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    position: relative;
}

.order-status-tracker::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--tw-border);
    z-index: 0;
}

.order-status-tracker .status-step {
    display: grid;
    place-items: center;
    gap: 0.4rem;
    position: relative;
    z-index: 1;
    font-size: 0.78rem;
    color: var(--tw-muted);
}

.order-status-tracker .status-step .step-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--tw-border);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 0.9rem;
}

.order-status-tracker .status-step.completed .step-dot {
    background: var(--tw-accent);
}

.order-status-tracker .status-step.active .step-dot {
    background: var(--tw-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.order-status-tracker .status-step.active {
    color: var(--tw-primary);
    font-weight: 700;
}

.order-status-tracker .status-step.completed {
    color: var(--tw-accent);
    font-weight: 600;
}

/* ── Footer ── */
.web-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(50% 80% at 100% 0%, color-mix(in srgb, var(--tw-primary) 16%, transparent), transparent 70%),
        radial-gradient(40% 70% at 0% 100%, color-mix(in srgb, var(--tw-accent) 12%, transparent), transparent 70%),
        var(--tw-footer-bg);
    color: var(--tw-footer-text);
    padding: 3rem 0 0;
    margin-top: 0;
}

.web-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--tw-brand-gradient);
    opacity: 0.85;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

.footer-brand .brand {
    margin-bottom: 0.8rem;
}

.footer-brand .brand .brand-text {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.footer-desc {
    color: var(--tw-footer-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0.8rem 0 1rem;
    max-width: 320px;
}

.footer-social {
    display: flex;
    gap: 0.6rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: grid;
    place-items: center;
    color: var(--tw-footer-muted);
    transition: all 0.25s ease;
}

.footer-social a:hover {
    background: var(--tw-brand-gradient);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px color-mix(in srgb, var(--tw-primary) 30%, transparent);
}

.footer-links h4 {
    color: #fff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.8rem;
}

.footer-links a {
    display: block;
    color: var(--tw-footer-muted);
    font-size: 0.88rem;
    padding: 0.3rem 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-contact h4 {
    color: #fff;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.8rem;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--tw-footer-muted);
    font-size: 0.88rem;
    margin: 0 0 0.6rem;
}

.footer-contact p i {
    margin-top: 3px;
    color: var(--tw-primary);
}

.footer-contact a {
    color: var(--tw-footer-muted);
    transition: color 0.2s ease;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.2rem 0;
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.55rem 1.4rem;
    font-size: 0.84rem;
    color: #64748b;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

/* Copyright · Powered by · site-sale contact, all centered on one line when there is room */
.footer-bottom-item {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.3rem 0.45rem;
}

.footer-bottom-item + .footer-bottom-item::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-right: 0.95rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tw-primary, #6366f1), var(--tw-accent, #ec4899));
}

.footer-bottom-item > i {
    color: var(--tw-accent, #ec4899);
}

.footer-bottom-item a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--tw-footer-muted, #cbd5e1);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom-item a:hover {
    color: #fff;
}

.footer-powered strong {
    color: var(--tw-footer-muted, #cbd5e1);
}

@media (max-width: 767px) {
    .footer-bottom {
        flex-direction: column;
    }

    .footer-bottom-item + .footer-bottom-item::before {
        display: none;
    }
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.35rem 1rem;
        align-items: start;
    }

    .footer-brand,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .shipping-option-card {
        flex-basis: 100%;
    }
}

.footer-payments {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.footer-payments span {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    font-size: 0.78rem;
}

/* ── Mobile Bottom Nav ── */
.mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: color-mix(in srgb, var(--tw-surface) 86%, transparent);
    backdrop-filter: saturate(170%) blur(16px);
    -webkit-backdrop-filter: saturate(170%) blur(16px);
    border-top: 1px solid var(--tw-glass-border);
    height: 64px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    z-index: 110;
    box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.06);
}

.mobile-bottom-nav a {
    display: grid;
    place-items: center;
    font-size: 0.7rem;
    color: var(--tw-muted);
    transition: color 0.2s ease;
    position: relative;
}

.mobile-bottom-nav a:hover,
.mobile-bottom-nav a.mnav-active {
    color: var(--tw-primary);
}

.mobile-bottom-nav a.mnav-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: var(--tw-brand-gradient);
}

.mobile-bottom-nav i {
    font-size: 1.15rem;
    transition: transform 0.2s ease;
}

.mobile-bottom-nav a.mnav-active i {
    transform: translateY(-1px);
}

/* ── Skeleton Loader ── */
.skeleton {
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
    border-radius: 12px;
}

.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
    100% { transform: translateX(100%); }
}

/* ── Animations ── */
.fade-up {
    animation: fadeUp 0.45s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Dashboard Stats ── */
.stat-card {
    background: #fff;
    border: 1px solid var(--tw-border);
    border-radius: var(--tw-radius);
    padding: 1.2rem;
    box-shadow: var(--tw-shadow);
}

.stat-card .stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
}

.stat-card .stat-value {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 0.2rem;
}

.stat-card .stat-label {
    color: var(--tw-muted);
    font-size: 0.84rem;
    margin: 0;
}

/* ── Badge Styles ── */
.badge-status {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-status.pending { background: #fef3c7; color: #92400e; }
.badge-status.confirmed { background: #dbeafe; color: #1e40af; }
.badge-status.processing { background: #e0e7ff; color: #3730a3; }
.badge-status.shipped { background: #e0f2fe; color: #075985; }
.badge-status.delivered { background: #dcfce7; color: #166534; }
.badge-status.cancelled { background: #fee2e2; color: #991b1b; }
.badge-status.refunded { background: #f3e8ff; color: #6b21a8; }
.badge-status.paid { background: #dcfce7; color: #166534; }
.badge-status.unpaid { background: #fee2e2; color: #991b1b; }

/* ── Blog ── */
.blog-card {
    background: #fff;
    border: 1px solid var(--tw-border);
    border-radius: var(--tw-radius);
    overflow: hidden;
    box-shadow: var(--tw-shadow);
    transition: transform 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--tw-shadow-lg);
}

.blog-card-image,
.blog-card-image img {
    width: 100%;
    border-radius: 6px;
}

.blog-card-image img {
    display: block;
}

.blog-card .blog-body {
    padding: 1rem;
}

.blog-card .blog-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
}

.blog-card .blog-body p {
    color: var(--tw-muted);
    font-size: 0.86rem;
    margin: 0 0 0.5rem;
    line-height: 1.6;
}

.blog-card .blog-body small {
    color: #94a3b8;
}

/* ── Responsive ── */
@media (min-width: 576px) {
    .page-section { padding: 1.6rem 1.1rem; }
    .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-detail-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
    .hero-grid { grid-template-columns: 1.2fr 0.8fr; }
    .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .checkout-grid { grid-template-columns: 1.2fr 0.8fr; }
    .footer-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .hero-card h1 { font-size: 2.2rem; }
    .carousel-slide-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
}

@media (min-width: 992px) {
    .web-content { padding-bottom: 0; }
    .page-section { padding: 2rem 0; }
}

#blazor-error-ui {
    color-scheme: light only;
    background: #fff7ed;
    border-top: 1px solid #fdba74;
    bottom: 0;
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* ── Cart Badge ── */
.cart-link {
    position: relative;
}

.go-top-button {
    position: fixed;
    right: 16px;
    bottom: 26px;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--tw-brand-gradient);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 32px color-mix(in srgb, var(--tw-primary) 26%, transparent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease, box-shadow 0.22s ease;
    z-index: 260;
}

.go-top-button.visible {
    opacity: 0.5;
    visibility: visible;
    transform: translateY(0);
}

.go-top-button:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px color-mix(in srgb, var(--tw-primary) 34%, transparent);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    background: #dc2626;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 999px;
    display: grid;
    place-items: center;
    padding: 0 4px;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.4);
    line-height: 1;
}

/* ── Mobile Menu Toggle ── */
.mobile-menu-toggle {
    background: var(--tw-surface);
    border: 1px solid var(--tw-border);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    color: var(--tw-nav-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-toggle:hover {
    border-color: var(--tw-primary);
    color: var(--tw-primary);
    background: var(--tw-hover-tint);
}

/* ── Mobile Overlay ── */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* ── Mobile Slideout ──
   Opens from the left. The hero block uses the active theme's brand gradient, and each
   menu link gets its own colored icon tile (--nav-tone) so the list scans quickly. */
.mobile-slideout {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: var(--tw-surface);
    z-index: 210;
    box-shadow: 10px 0 40px rgba(15, 23, 42, 0.22);
    transform: translateX(-104%);
    visibility: hidden;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.38s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    display: flex;
    flex-direction: column;
}

.mobile-slideout.open {
    transform: translateX(0);
    visibility: visible;
}

.mobile-slideout-hero {
    position: relative;
    flex-shrink: 0;
    padding: 1.1rem 1rem 1rem;
    background:
        radial-gradient(circle at 92% 8%, rgba(255, 255, 255, 0.28), transparent 38%),
        radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--tw-accent) 70%, transparent), transparent 55%),
        var(--tw-brand-gradient);
    color: #fff;
    overflow: hidden;
}

.mobile-slideout-hero::after {
    content: "";
    position: absolute;
    right: -48px;
    bottom: -60px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 26px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.mobile-slideout-header {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.mobile-slideout-header .brand {
    min-width: 0;
    color: #fff;
}

.mobile-slideout-header .brand-text {
    color: #fff;
    background: none;
    -webkit-text-fill-color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-slideout-header .brand-mark,
.mobile-slideout-header .brand-logo-wrap {
    background: rgba(255, 255, 255, 0.95);
    color: var(--tw-primary);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.18);
}

.mobile-slideout-close {
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mobile-slideout-close:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: rotate(90deg);
}

.mobile-profile-card {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.8rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #fff;
    text-decoration: none;
}

.mobile-profile-card:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.24);
}

.mobile-profile-card .header-avatar {
    width: 46px;
    height: 46px;
    min-width: 46px;
    flex: 0 0 46px;
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.mobile-profile-card span {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.mobile-profile-card strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mobile-profile-card small {
    opacity: 0.85;
    font-size: 0.75rem;
    font-weight: 600;
}

.mobile-profile-card > i {
    font-size: 1.3rem;
    opacity: 0.85;
}

.mobile-guest-card {
    position: relative;
    z-index: 1;
    padding: 0.8rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.mobile-guest-card p {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    line-height: 1.45;
    opacity: 0.95;
}

.mobile-guest-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.mobile-guest-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 0.6rem;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: background 0.2s ease;
}

.mobile-guest-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
}

.mobile-guest-btn.primary {
    background: #fff;
    color: var(--tw-primary);
    border-color: #fff;
}

.mobile-guest-btn.primary:hover {
    color: var(--tw-primary);
    background: rgba(255, 255, 255, 0.9);
}

.mobile-slideout-nav {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    flex: 1 0 auto;
    padding: 0.85rem 0.75rem 0.9rem;
}

.mobile-nav-label {
    margin: 0.75rem 0.45rem 0.3rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--tw-muted);
}

.mobile-slideout-nav a {
    --nav-tone: var(--tw-primary);
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.6rem;
    border-radius: 14px;
    color: var(--tw-text);
    font-weight: 600;
    font-size: 0.93rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mobile-slideout-nav a i {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    font-size: 1.08rem;
    color: var(--nav-tone);
    background: color-mix(in srgb, var(--nav-tone) 14%, var(--tw-surface));
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.mobile-slideout-nav a span {
    flex: 1;
    min-width: 0;
}

.mobile-slideout-nav a:hover {
    background: color-mix(in srgb, var(--nav-tone) 8%, var(--tw-surface));
    color: var(--nav-tone);
    transform: translateX(3px);
}

.mobile-slideout-nav a.nav-active {
    background: color-mix(in srgb, var(--nav-tone) 12%, var(--tw-surface));
    color: var(--nav-tone);
}

.mobile-slideout-nav a.nav-active::before {
    content: "";
    position: absolute;
    left: -0.75rem;
    top: 18%;
    bottom: 18%;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--nav-tone);
}

.mobile-slideout-nav a.nav-active i {
    color: #fff;
    background: var(--nav-tone);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--nav-tone) 35%, transparent);
}

.mobile-nav-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-style: normal;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    background: var(--nav-tone);
}

.nav-tone-indigo { --nav-tone: #6366f1 !important; }
.nav-tone-sky { --nav-tone: #0ea5e9 !important; }
.nav-tone-pink { --nav-tone: #ec4899 !important; }
.nav-tone-amber { --nav-tone: #f59e0b !important; }
.nav-tone-violet { --nav-tone: #8b5cf6 !important; }
.nav-tone-emerald { --nav-tone: #10b981 !important; }
.nav-tone-teal { --nav-tone: #14b8a6 !important; }
.nav-tone-blue { --nav-tone: #3b82f6 !important; }
.nav-tone-orange { --nav-tone: #f97316 !important; }
.nav-tone-cyan { --nav-tone: #06b6d4 !important; }
.nav-tone-lime { --nav-tone: #65a30d !important; }
.nav-tone-slate { --nav-tone: #64748b !important; }

.mobile-slideout-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.85rem 0.9rem calc(0.85rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--tw-border);
    background: var(--tw-surface-alt);
    position: sticky;
    bottom: 0;
}

.mobile-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 0.5rem;
    border-radius: 12px;
    border: 1px solid var(--tw-border);
    background: var(--tw-surface);
    color: var(--tw-text);
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.mobile-footer-btn:only-child {
    grid-column: 1 / -1;
}

.mobile-footer-btn:hover {
    border-color: var(--tw-primary);
    color: var(--tw-primary);
}

.mobile-footer-btn.danger {
    color: #dc2626;
    border-color: color-mix(in srgb, #dc2626 30%, var(--tw-border));
    background: color-mix(in srgb, #dc2626 6%, var(--tw-surface));
}

.mobile-footer-btn.danger:hover {
    color: #fff;
    background: #dc2626;
    border-color: #dc2626;
}

.mobile-footer-btn.whatsapp {
    color: #fff;
    background: #25d366;
    border-color: #25d366;
}

.mobile-footer-btn.whatsapp:hover {
    color: #fff;
    background: #1ebe5b;
}

/* The left-hand menu button sits before the brand; the brand then pushes the actions right. */
@media (max-width: 991.98px) {
    .web-topbar .brand {
        margin-right: auto;
    }

    /* The container's Bootstrap gap-3 (16px, !important) is too wide here; keep 8px. */
    .web-topbar .mobile-menu-toggle + .brand {
        margin-left: -0.5rem;
    }
}

/* ── WhatsApp Floating Chat ── */
/* Same size, right edge and bottom offset as .go-top-button at every breakpoint, so the two
   round buttons sit in one vertical line (WhatsApp below, go-top 12px above it). */
.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 26px;
    /* Below the menu overlay (200) so the open side nav covers it. */
    z-index: 195;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.whatsapp-float-icon {
    position: relative;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #2fe07a, #1ebe5b);
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 14px 30px rgba(30, 190, 91, 0.42);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.whatsapp-float-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    z-index: -1;
    animation: whatsapp-pulse 2.4s ease-out infinite;
}

.whatsapp-float-label {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    background: var(--tw-surface);
    color: var(--tw-text);
    border: 1px solid var(--tw-border);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: var(--tw-shadow);
    opacity: 0;
    transform: translateX(10px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.whatsapp-float:hover .whatsapp-float-icon,
.whatsapp-float:focus-visible .whatsapp-float-icon {
    transform: scale(1.07);
    box-shadow: 0 18px 36px rgba(30, 190, 91, 0.5);
}

.whatsapp-float:hover .whatsapp-float-label,
.whatsapp-float:focus-visible .whatsapp-float-label {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsapp-pulse {
    0% { transform: scale(1); opacity: 0.55; }
    70% { transform: scale(1.55); opacity: 0; }
    100% { transform: scale(1.55); opacity: 0; }
}

/* Stack the go-top button above the WhatsApp button: 26px + 48px + 12px gap. */
.go-top-button.with-whatsapp {
    bottom: 86px;
}

/* Below the lg breakpoint the bottom nav (64px) is visible, so lift both buttons above it. */
@media (max-width: 991.98px) {
    .whatsapp-float {
        bottom: 84px;
    }

    .whatsapp-float-label {
        display: none;
    }

    .go-top-button {
        bottom: 84px;
    }

    .go-top-button.with-whatsapp {
        bottom: 144px;
    }
}

/* Phones: go-top shrinks to 44px at 14px from the edge (see the 640px block); match it. */
@media (max-width: 640px) {
    .whatsapp-float {
        right: 14px;
    }

    .whatsapp-float-icon {
        width: 44px;
        height: 44px;
        font-size: 1.35rem;
    }

    .go-top-button.with-whatsapp {
        bottom: 140px;
    }
}

/* ── Order tracking: per-item Review link (delivered orders, signed-in buyer) ── */
.order-item-row {
    align-items: center;
    gap: 0.75rem;
}

.order-item-row .order-item-info {
    flex: 1;
    min-width: 0;
}

.order-review-link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(245, 158, 11, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.order-review-link:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.4);
}

.order-review-link.is-reviewed {
    background: color-mix(in srgb, #f59e0b 14%, var(--tw-surface));
    color: #b45309;
    box-shadow: none;
    border: 1px solid color-mix(in srgb, #f59e0b 35%, transparent);
}

.order-review-link.is-reviewed:hover {
    color: #92400e;
}

/* ── Password Toggle ── */
.password-toggle {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 6px 10px;
    font-size: 1.1rem;
    z-index: 5;
    transition: color 0.2s ease;
}
.password-toggle:hover {
    color: var(--tw-primary);
}

/* ── Product Image Zoom ── */
.product-thumb.zoomable {
    cursor: zoom-in;
}
.product-thumb.zoomable img {
    transition: transform 0.35s ease;
}
.product-thumb.zoomable:hover img {
    transform: scale(1.15);
}

/* ── Lightbox ── */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: zoom-out;
    animation: fadeIn 0.2s ease;
}
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 60px rgba(0,0,0,0.5);
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ── Form Controls ── */
.form-control {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--tw-border);
    padding: 0.65rem 0.8rem;
    font-size: 0.92rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: var(--tw-surface);
    color: var(--tw-text);
}
.form-control:hover {
    border-color: color-mix(in srgb, var(--tw-primary) 30%, var(--tw-border));
}
.form-control:focus {
    outline: none;
    border-color: var(--tw-primary);
    box-shadow: 0 0 0 4px var(--tw-ring);
}
.form-label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
}
.form-select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--tw-border);
    padding: 0.5rem 0.6rem;
    background: #fff;
    font-size: 0.88rem;
}

/* ── Alerts ── */
.alert {
    border-radius: 10px;
    font-size: 0.88rem;
}
.alert-success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.alert-danger {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.required-star {
    color: var(--tw-danger);
    font-weight: 800;
}

.register-form .form-control.modified.invalid {
    border-color: var(--tw-danger);
    box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.14);
}

.register-form .validation-message {
    display: block;
    margin-top: 0.35rem;
    color: var(--tw-danger);
    font-size: 0.84rem;
    font-weight: 600;
}

/* ── Modal ── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}
.modal-panel {
    background: var(--tw-surface);
    border-radius: var(--tw-radius);
    box-shadow: var(--tw-shadow-lg);
    width: 90%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    animation: fadeUp 0.25s ease;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--tw-border);
}
.modal-body {
    padding: 1.25rem;
}
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--tw-border);
}
.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #94a3b8;
    cursor: pointer;
    padding: 0 0.3rem;
    line-height: 1;
}
.btn-close:hover {
    color: var(--tw-text);
}

/* ── Shop Filters ──
   One filter body is rendered twice: in the sticky desktop sidebar and in the drawer
   used below the lg breakpoint (left-side drawer on tablets and phones).
   Each option carries a --ftone color so sections and lists read at a glance. */
.ftone-indigo { --ftone: #6366f1; }
.ftone-sky { --ftone: #0ea5e9; }
.ftone-pink { --ftone: #ec4899; }
.ftone-amber { --ftone: #f59e0b; }
.ftone-violet { --ftone: #8b5cf6; }
.ftone-emerald { --ftone: #10b981; }
.ftone-orange { --ftone: #f97316; }
.ftone-cyan { --ftone: #06b6d4; }

.filter-sidebar {
    flex: 0 0 280px;
    width: 280px;
    position: sticky;
    /* Clears the sticky header instead of sliding under it. */
    top: 5.25rem;
    max-height: calc(100vh - 6.5rem);
    display: flex;
    flex-direction: column;
    background: var(--tw-surface);
    border: 1px solid var(--tw-glass-border);
    border-radius: 22px;
    box-shadow: var(--tw-shadow);
    overflow: hidden;
}

.filter-sidebar > .filter-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.35rem 1rem 1rem;
}

.filter-sidebar-head,
.shop-filter-drawer-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    color: #fff;
    background:
        radial-gradient(circle at 100% 0%, rgba(255, 255, 255, 0.26), transparent 42%),
        var(--tw-brand-gradient);
    overflow: hidden;
}

.filter-sidebar-head::after,
.shop-filter-drawer-header::after {
    content: "";
    position: absolute;
    right: -34px;
    bottom: -46px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 20px solid rgba(255, 255, 255, 0.09);
    pointer-events: none;
}

.filter-head-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 1rem;
}

.filter-head-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.filter-head-text strong {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.02rem;
    line-height: 1.2;
}

.filter-head-text small {
    font-size: 0.76rem;
    opacity: 0.88;
}

.filter-head-reset {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.74rem;
    font-weight: 800;
    transition: background 0.2s ease;
}

.filter-head-reset:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Sections */
.filter-section {
    padding: 0.95rem 0 1rem;
}

.filter-section + .filter-section {
    border-top: 1px dashed var(--tw-border);
}

.filter-section-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.7rem;
}

.filter-section-icon {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
    background: linear-gradient(145deg, var(--ftone), color-mix(in srgb, var(--ftone) 62%, #000));
    box-shadow: 0 6px 14px color-mix(in srgb, var(--ftone) 30%, transparent);
}

.filter-section-head h5 {
    flex: 1;
    margin: 0;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: var(--tw-text);
}

.filter-section-clear {
    padding: 0.15rem 0.5rem;
    border: 0;
    border-radius: 999px;
    background: color-mix(in srgb, #dc2626 9%, var(--tw-surface));
    color: #dc2626;
    font-size: 0.7rem;
    font-weight: 800;
}

.filter-section-clear:hover {
    background: color-mix(in srgb, #dc2626 16%, var(--tw-surface));
}

/* Native radios stay in the DOM for keyboard/screen-reader use but are visually hidden. */
.filter-option input,
.filter-pill input,
.filter-tile input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.filter-option:focus-within,
.filter-pill:focus-within,
.filter-tile:focus-within {
    outline: 2px solid var(--tw-ring);
    outline-offset: 2px;
}

/* Category list */
.filter-option-list {
    display: grid;
    gap: 0.3rem;
    max-height: 264px;
    overflow-y: auto;
    padding-right: 0.15rem;
}

.filter-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.55rem;
    border-radius: 12px;
    border: 1px solid transparent;
    color: var(--tw-text);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.filter-option:hover {
    background: color-mix(in srgb, var(--ftone) 7%, var(--tw-surface));
}

.filter-option-avatar {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    overflow: hidden;
    background: color-mix(in srgb, var(--ftone) 15%, var(--tw-surface));
    color: var(--ftone);
    font-size: 0.8rem;
    font-weight: 800;
}

.filter-option-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.filter-option-text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-option-check {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 0.8rem;
    color: #fff;
    background: var(--ftone);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.filter-option.is-selected {
    background: color-mix(in srgb, var(--ftone) 11%, var(--tw-surface));
    border-color: color-mix(in srgb, var(--ftone) 32%, transparent);
    color: var(--ftone);
    font-weight: 800;
}

.filter-option.is-selected .filter-option-check {
    opacity: 1;
    transform: scale(1);
}

/* Brand pills */
.filter-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.filter-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--tw-border);
    background: var(--tw-surface);
    color: var(--tw-text);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.filter-pill span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.filter-pill img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
}

.filter-pill:hover {
    border-color: #ec4899;
    color: #db2777;
}

.filter-pill.is-selected {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    box-shadow: 0 8px 18px rgba(236, 72, 153, 0.3);
}

/* Price */
.filter-price-inputs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: end;
    gap: 0.45rem;
}

.filter-price-field {
    display: grid;
    gap: 0.3rem;
    margin: 0;
}

.filter-price-field small {
    color: var(--tw-muted);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.filter-price-field > span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0 0.6rem;
    height: 40px;
    border-radius: 12px;
    border: 1px solid var(--tw-border);
    background: var(--tw-surface);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-price-field > span:focus-within {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.filter-price-field em {
    font-style: normal;
    font-size: 0.72rem;
    font-weight: 800;
    color: #d97706;
}

.filter-price-field input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--tw-text);
    font-size: 0.88rem;
    font-weight: 700;
    -moz-appearance: textfield;
}

.filter-price-field input::-webkit-outer-spin-button,
.filter-price-field input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.filter-price-sep {
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--tw-muted);
}

.filter-preset-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.65rem;
}

.filter-preset {
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    border: 1px dashed color-mix(in srgb, #f59e0b 55%, var(--tw-border));
    background: color-mix(in srgb, #f59e0b 6%, var(--tw-surface));
    color: #b45309;
    font-size: 0.74rem;
    font-weight: 800;
    transition: background 0.18s ease, color 0.18s ease;
}

.filter-preset:hover {
    background: color-mix(in srgb, #f59e0b 14%, var(--tw-surface));
}

.filter-preset.is-selected {
    border-style: solid;
    border-color: transparent;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    box-shadow: 0 6px 14px rgba(245, 158, 11, 0.3);
}

.filter-price-summary {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.6rem;
    color: var(--tw-muted);
    font-size: 0.76rem;
    font-weight: 600;
}

/* Availability + sort tiles */
.filter-tile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
}

.filter-tile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
    padding: 0.5rem 0.55rem;
    border-radius: 13px;
    border: 1px solid var(--tw-border);
    background: var(--tw-surface);
    color: var(--tw-text);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.filter-tile:hover {
    border-color: color-mix(in srgb, var(--ftone) 45%, var(--tw-border));
    transform: translateY(-1px);
}

.filter-tile-icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: color-mix(in srgb, var(--ftone) 14%, var(--tw-surface));
    color: var(--ftone);
    font-size: 0.95rem;
    transition: background 0.18s ease, color 0.18s ease;
}

.filter-tile-text {
    min-width: 0;
    overflow-wrap: anywhere;
}

.filter-tile.is-selected {
    border-color: var(--ftone);
    background: color-mix(in srgb, var(--ftone) 10%, var(--tw-surface));
    color: var(--ftone);
}

.filter-tile.is-selected .filter-tile-icon {
    background: var(--ftone);
    color: #fff;
    box-shadow: 0 6px 12px color-mix(in srgb, var(--ftone) 32%, transparent);
}

/* Search panel + active filter chips */
.shop-search-panel {
    padding: 0.85rem;
}

.active-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--tw-border);
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    padding: 0.28rem 0.3rem 0.28rem 0.65rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--tw-primary) 9%, var(--tw-surface));
    border: 1px solid color-mix(in srgb, var(--tw-primary) 24%, var(--tw-border));
    color: var(--tw-primary);
    font-size: 0.76rem;
    font-weight: 700;
}

.active-filter-chip > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.active-filter-chip button {
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    flex: 0 0 20px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--tw-primary) 16%, var(--tw-surface));
    color: var(--tw-primary);
    font-size: 0.8rem;
    transition: background 0.18s ease, color 0.18s ease;
}

.active-filter-chip button:hover {
    background: var(--tw-primary);
    color: #fff;
}

.active-filter-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.3rem 0.6rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #dc2626;
    font-size: 0.76rem;
    font-weight: 800;
}

.active-filter-clear:hover {
    background: color-mix(in srgb, #dc2626 9%, var(--tw-surface));
}

/* Drawer (below lg) */
.shop-filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.26s ease;
    /* Above the bottom nav, go-top and WhatsApp buttons. */
    z-index: 280;
}

.shop-filter-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Opens from the left, like the main mobile side nav. */
.shop-filter-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(380px, 88vw);
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--tw-surface);
    box-shadow: 16px 0 44px rgba(15, 23, 42, 0.24);
    transform: translateX(-104%);
    visibility: hidden;
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.34s ease;
    z-index: 290;
}

.shop-filter-drawer.open {
    transform: translateX(0);
    visibility: visible;
}

.shop-filter-drawer-close {
    position: relative;
    z-index: 1;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 1.2rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.shop-filter-drawer-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.shop-filter-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.25rem 1rem 0.5rem;
}

.shop-filter-drawer-body .filter-option-list {
    max-height: none;
    overflow: visible;
}

.shop-filter-drawer-footer {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem;
    padding: 0.8rem 1rem calc(0.8rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--tw-border);
    background: var(--tw-surface-alt);
}

.filter-footer-reset,
.filter-footer-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 46px;
    padding: 0 1rem;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.filter-footer-reset {
    border: 1px solid var(--tw-border);
    background: var(--tw-surface);
    color: var(--tw-text);
}

.filter-footer-reset:hover {
    border-color: #dc2626;
    color: #dc2626;
}

.filter-footer-apply {
    border: 0;
    background: var(--tw-brand-gradient);
    color: #fff;
    box-shadow: 0 10px 22px color-mix(in srgb, var(--tw-primary) 30%, transparent);
}

.filter-footer-apply:hover {
    transform: translateY(-1px);
}

/* Hairline scrollbars for the filter lists. Chrome/Edge/Safari ignore ::-webkit-scrollbar
   once scrollbar-width is set, so the standard property is only a Firefox fallback. */
.filter-sidebar > .filter-body::-webkit-scrollbar,
.filter-option-list::-webkit-scrollbar,
.shop-filter-drawer-body::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

.filter-sidebar > .filter-body::-webkit-scrollbar-track,
.filter-option-list::-webkit-scrollbar-track,
.shop-filter-drawer-body::-webkit-scrollbar-track {
    background: transparent;
}

.filter-sidebar > .filter-body::-webkit-scrollbar-thumb,
.filter-option-list::-webkit-scrollbar-thumb,
.shop-filter-drawer-body::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: color-mix(in srgb, var(--tw-primary) 35%, transparent);
}

@supports not selector(::-webkit-scrollbar) {
    .filter-sidebar > .filter-body,
    .filter-option-list,
    .shop-filter-drawer-body {
        scrollbar-width: thin;
        scrollbar-color: color-mix(in srgb, var(--tw-primary) 35%, transparent) transparent;
    }
}

/* Tablet + mobile: sidebar hidden, filters live in the drawer. */
@media (max-width: 991.98px) {
    .filter-sidebar {
        display: none;
    }

    .shop-layout {
        display: block !important;
    }

    .shop-inline-filter-btn {
        display: inline-flex;
    }
}

/* Next to the 280px sidebar, four columns would squeeze the cards; use three until 1400px. */
@media (min-width: 992px) and (max-width: 1399.98px) {
    .shop-layout .grid-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Portrait tablets get a third product column now that the sidebar is gone. */
@media (min-width: 768px) and (max-width: 991.98px) {
    .shop-layout .grid-4 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .shop-search-panel {
        padding: 0.65rem;
    }

    .shop-inline-filter-btn {
        padding: 0 0.85rem;
    }

    .shop-search-row {
        gap: 0.5rem;
    }
}

/* ── Responsive Mobile Bottom Nav ── */
@media (max-width: 576px) {
    .mobile-bottom-nav a span {
        font-size: 0.6rem;
    }
    .mobile-bottom-nav i {
        font-size: 1rem;
    }
}

/* ── Hero Carousel ── */
.hero-carousel {
    position: relative;
    overflow: hidden;
}
.carousel-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: inherit;
}
.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}
.carousel-slide {
    min-width: 100%;
    flex: 0 0 100%;
    padding: 0;
    display: flex;
    align-items: stretch;
    min-height: 320px;
    box-sizing: border-box;
}
.carousel-slide-grid {
    width: 100%;
    display: grid;
    gap: 1rem;
    align-items: center;
}
.carousel-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.48rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(102, 102, 102, 0.72);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}
.carousel-content h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}
.carousel-content p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}
.carousel-content .price-row {
    margin: 0.5rem 0;
}
.carousel-visuals {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
    grid-template-rows: repeat(2, minmax(110px, 1fr));
    gap: 0.8rem;
    min-height: 220px;
}
.carousel-visual-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    display: grid;
    place-items: center;
}
.carousel-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.carousel-visual-card i {
    font-size: 2rem;
    color: rgba(255,255,255,0.8);
}
.carousel-visual-card.tile-main {
    grid-row: span 2;
    min-height: 100%;
}
.carousel-visual-card.tile-stack {
    min-height: 122px;
}
.carousel-visual-card.tile-stack-top {
    grid-column: 2;
    grid-row: 1;
}
.carousel-visual-card.tile-stack-bottom {
    grid-column: 2;
    grid-row: 2;
}
.carousel-dots {
    position: absolute;
    bottom: 1.4rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}
.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: color-mix(in srgb, var(--tw-primary) 30%, transparent);
    cursor: pointer;
    transition: background 0.25s ease, opacity 0.25s ease, transform 0.25s ease, width 0.25s ease;
    opacity: 0.7;
}
.carousel-dots .dot.active {
    background: var(--tw-brand-gradient);
    width: 26px;
    border-radius: 5px;
    opacity: 1;
}

.carousel-dots .dot:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: color-mix(in srgb, var(--tw-surface) 78%, transparent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid color-mix(in srgb, var(--tw-surface) 90%, transparent);
    color: var(--tw-primary);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 3;
    box-shadow: 0 14px 28px color-mix(in srgb, var(--tw-primary) 18%, transparent);
}
.carousel-prev:hover, .carousel-next:hover {
    background: var(--tw-brand-gradient);
    color: #fff;
    transform: translateY(-50%) scale(1.06);
}
.carousel-prev { left: 0.5rem; }
.carousel-next { right: 0.5rem; }

.hero-banner-carousel {
    width: 100%;
    min-height: clamp(360px, 62vw, 620px);
    background: linear-gradient(180deg, var(--tw-surface) 0%, var(--tw-surface-alt) 100%);
    border-top: 1px solid var(--tw-glass-border);
    border-bottom: 1px solid var(--tw-glass-border);
    box-shadow: 0 24px 50px color-mix(in srgb, var(--tw-primary) 10%, transparent);
}

/* Desktop: the banner floats as a rounded card aligned with the page content
   (container-lg content widths), instead of running edge to edge. */
@media (min-width: 992px) {
    .hero-banner-carousel {
        width: calc(100% - 2rem);
        max-width: 936px;
        margin: 1.4rem auto 0;
        border: 1px solid var(--tw-glass-border);
        border-radius: 28px;
        box-shadow: 0 30px 70px color-mix(in srgb, var(--tw-primary) 14%, transparent), 0 2px 0 color-mix(in srgb, var(--tw-surface) 60%, transparent) inset;
    }

    /* Height follows the card width at the banners' own ~2.2:1 shape, so a
       narrower card never crops the artwork's sides. */
    .hero-banner-carousel,
    .hero-banner-carousel .hero-banner-slide {
        min-height: 0;
    }

    .hero-banner-carousel .carousel-viewport {
        min-height: 0;
        aspect-ratio: 2.2 / 1;
    }
}

@media (min-width: 1200px) {
    .hero-banner-carousel {
        max-width: 1116px;
    }
}

@media (min-width: 1400px) {
    .hero-banner-carousel {
        max-width: 1296px;
    }
}

.hero-banner-slide {
    position: relative;
    min-height: clamp(360px, 62vw, 620px);
}

.carousel-fade-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.018);
    transition: opacity 0.95s ease, transform 1.25s ease, visibility 0s linear 0.95s;
}

.carousel-fade-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
    transition: opacity 0.95s ease, transform 1.25s ease;
}

.hero-banner-media,
.hero-banner-media img {
    width: 100%;
    height: 100%;
}

.hero-banner-media {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.hero-banner-media img {
    object-fit: cover;
    object-position: center center;
    filter: saturate(0.96) contrast(1.02);
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 38%, rgba(255, 255, 255, 0) 74%);
}

.hero-banner-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.45rem;
    max-width: min(620px, calc(100% - 48px));
    padding: clamp(28px, 7vw, 72px) clamp(24px, 6vw, 84px);
}

.hero-banner-content h2 {
    margin: 0;
    font-size: clamp(1.05rem, 2vw, 1.8rem);
    line-height: 1.18;
    font-weight: 600;
    color: rgba(98, 98, 98, 0.82);
    text-wrap: balance;
}

.hero-banner-content p,
.hero-banner-subtitle {
    margin: 0;
    max-width: 560px;
    color: rgba(112, 112, 112, 0.74);
    font-size: clamp(0.78rem, 1.15vw, 0.95rem);
    line-height: 1.45;
}

/* ── Product Card Hover ── */
.product-card {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.14);
    border-color: color-mix(in srgb, var(--tw-primary) 18%, var(--tw-border));
    background: color-mix(in srgb, var(--tw-surface) 90%, white);
}

.btn-order-now {
    min-height: 40px;
    padding: 0.56rem 0.95rem;
    border: 1px solid transparent;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--tw-primary), var(--tw-primary-light));
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    cursor: pointer;
    box-shadow: 0 12px 24px color-mix(in srgb, var(--tw-primary) 22%, transparent);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.btn-order-now:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: saturate(1.04);
    box-shadow: 0 14px 28px color-mix(in srgb, var(--tw-primary) 28%, transparent);
}

/* ── Gradient Button Overrides ── */
.btn-main {
    background: var(--tw-brand-gradient) !important;
    border: none !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}
.btn-soft {
    background: linear-gradient(135deg, color-mix(in srgb, var(--tw-surface) 92%, white), color-mix(in srgb, var(--tw-soft-bg) 78%, white)) !important;
    border: 1px solid var(--tw-border) !important;
    color: var(--tw-primary) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.btn-soft:hover:not(:disabled) {
    transform: translateY(-1px);
    background: linear-gradient(135deg, color-mix(in srgb, var(--tw-primary) 8%, white), color-mix(in srgb, var(--tw-soft-bg-hover) 72%, white)) !important;
    border-color: var(--tw-outline-border) !important;
    box-shadow: 0 8px 18px color-mix(in srgb, var(--tw-primary) 16%, transparent);
}

.btn-main:disabled,
.product-action-order:disabled,
.product-action-icon:disabled,
.btn-soft:disabled,
.btn-outline:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.stock-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.stock-badge.in-stock {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.stock-badge.out-of-stock {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ── FAQ Accordion ── */
.faq-grid {
    display: grid;
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto;
}
.faq-card {
    background: var(--tw-surface);
    border: 1px solid var(--tw-border);
    border-radius: var(--tw-radius);
    overflow: hidden;
    box-shadow: var(--tw-shadow);
    transition: box-shadow 0.2s ease;
}
.faq-card:hover {
    box-shadow: var(--tw-shadow-lg);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    transition: background 0.2s ease;
    user-select: none;
}
.faq-question::-webkit-details-marker {
    display: none;
}
.faq-question:hover {
    background: var(--tw-surface-alt);
}
.faq-question i {
    font-size: 1.3rem;
    color: var(--tw-muted);
    transition: transform 0.25s ease;
}
.faq-card[open] .faq-question i {
    transform: rotate(180deg);
}
.faq-card[open] .faq-question {
    background: var(--tw-surface-alt);
    border-bottom: 1px solid var(--tw-border);
}
.faq-answer {
    padding: 1rem 1.25rem;
    color: var(--tw-muted);
    line-height: 1.7;
    font-size: 0.92rem;
}
.faq-answer p {
    margin: 0;
}

/* ── About Page ── */
.about-hero-image {
    border-radius: 12px;
    overflow: hidden;
    background: var(--tw-surface-alt);
}
.about-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}
.about-bullets {
    display: grid;
    gap: 0.6rem;
}
.about-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--tw-muted);
}
.about-bullets li i {
    color: var(--tw-accent);
    font-size: 1.1rem;
    margin-top: 2px;
}

/* ── Shipping Policy Page ── */
.stack-grid {
    display: grid;
    gap: 0.75rem;
    max-width: 800px;
    margin: 0 auto;
}
.shipping-card {
    transition: box-shadow 0.2s ease;
}
.shipping-card:hover {
    box-shadow: var(--tw-shadow-lg);
}
.shipping-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    color: var(--tw-primary);
    font-size: 1.3rem;
}

/* ── Multi Product Hero Carousel ── */
.hero-products-viewport {
    padding: 0;
}

.hero-products-slide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
    gap: 1.5rem;
    align-items: stretch;
    padding: 20px;
    min-height: 360px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(250, 204, 21, 0.14), transparent 28%),
        linear-gradient(145deg, #fffdf8 0%, #f7eedc 55%, #f3e5cc 100%);
    box-shadow: 0 26px 60px rgba(148, 120, 73, 0.14);
}

.hero-products-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.85rem;
}

.hero-products-copy h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    color: #2f2416;
    line-height: 1.05;
    margin: 0;
}

.hero-products-copy p,
.hero-products-subtitle {
    color: #6f5a3a;
    margin: 0;
}

.hero-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    align-content: center;
}

.hero-product-card {
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(220, 202, 171, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 14px 32px rgba(95, 70, 35, 0.10);
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 154px;
}

.hero-product-thumb {
    width: 140px;
    height: 140px;
    flex: 0 0 140px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(180deg, #fffaf1, #f2e8d8);
    overflow: hidden;
}

.hero-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-product-body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    flex: 1;
    min-width: 0;
}

.hero-product-category {
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a06f18;
    font-weight: 800;
}

.hero-product-body h3 {
    font-size: 1rem;
    margin: 0;
    color: #2f2416;
}

.hero-product-actions {
    margin-top: 0.35rem;
}

/* ── About Experience ── */
.about-storyboard {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 30%),
        linear-gradient(140deg, #fffdf8 0%, #f8fafc 55%, #eef6ff 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    align-items: center;
}

.about-storyboard-copy h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.04;
    margin: 0.45rem 0 0.8rem;
}

.about-storyboard-copy p {
    color: var(--tw-muted);
    font-size: 1rem;
    max-width: 60ch;
}

.about-storyboard-visual {
    min-height: 320px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, #e0f2fe, #dbeafe);
}

.about-storyboard-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-story-card {
    height: 100%;
}

.about-points {
    display: grid;
    gap: 0.9rem;
}

.about-point {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
}

.about-point i {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.2rem;
    color: var(--tw-primary);
    background: linear-gradient(145deg, #e0f2fe, #dbeafe);
}

.about-point strong {
    display: block;
    margin-bottom: 0.25rem;
}

.about-point p {
    margin: 0;
    color: var(--tw-muted);
}

.about-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.about-stat-card {
    background: #fff;
    border: 1px solid var(--tw-border);
    border-radius: 22px;
    padding: 1.25rem;
    box-shadow: var(--tw-shadow);
    text-align: center;
}

.about-stat-card strong {
    display: block;
    font-size: 1.8rem;
    color: var(--tw-primary);
}

.about-stat-card span {
    color: var(--tw-muted);
    font-size: 0.9rem;
}

/* ── Shipping Experience ── */
.shipping-hero-banner {
    padding: 1.4rem 1.5rem;
    border-radius: 26px;
    background:
        radial-gradient(circle at top right, rgba(34, 197, 94, 0.16), transparent 28%),
        linear-gradient(140deg, #f8fafc 0%, #eff6ff 100%);
    border: 1px solid rgba(148, 163, 184, 0.18);
}

.shipping-hero-banner h1 {
    margin: 0.45rem 0 0.8rem;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.shipping-hero-banner p {
    margin: 0;
    color: var(--tw-muted);
}

.shipping-policy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.shipping-policy-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 1rem;
    padding: 1.15rem;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--tw-border);
    box-shadow: var(--tw-shadow);
}

.shipping-policy-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(145deg, #dcfce7, #dbeafe);
    display: grid;
    place-items: center;
    color: var(--tw-primary);
    font-size: 1.5rem;
}

.shipping-policy-card h2 {
    font-size: 1.1rem;
    margin: 0.25rem 0 0.55rem;
}

.shipping-policy-card p {
    margin: 0;
    color: var(--tw-muted);
}

/* ── Variant Summary ── */
.variant-summary {
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: linear-gradient(145deg, #f8fafc, #eef6ff);
    border: 1px solid #dbeafe;
}

.product-details-actions {
    align-items: center;
    flex-wrap: wrap;
}

.product-gallery-strip {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.product-gallery-thumb {
    width: 72px;
    height: 72px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--tw-border) 88%, white);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.product-gallery-thumb:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--tw-primary) 35%, var(--tw-border));
    box-shadow: 0 14px 26px rgba(37, 99, 235, 0.16);
}

.product-gallery-thumb.active {
    border-color: var(--tw-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14), 0 14px 26px rgba(37, 99, 235, 0.18);
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    .hero-products-slide,
    .about-storyboard {
        grid-template-columns: 1fr;
    }

    .hero-products-slide {
        min-height: auto;
    }

    .shipping-policy-grid,
    .about-stats-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 641px) and (max-width: 991px) {
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .hero-banner-carousel,
    .hero-banner-slide {
        min-height: 0;
        aspect-ratio: 16 / 8.1;
    }

    .carousel-viewport {
        min-height: 0;
        aspect-ratio: 16 / 8.1;
    }

    .hero-banner-media,
    .hero-banner-media img {
        height: 100%;
    }

    .hero-banner-media img {
        object-fit: contain;
        object-position: center center;
    }

    .hero-banner-content {
        max-width: 100%;
        padding: 22px 22px 64px;
    }

    .carousel-prev,
    .carousel-next {
        width: 38px;
        height: 38px;
        font-size: 1.08rem;
        background: color-mix(in srgb, var(--tw-surface) 55%, transparent);
        border-color: color-mix(in srgb, var(--tw-surface) 60%, transparent);
        color: color-mix(in srgb, var(--tw-primary) 85%, transparent);
        box-shadow: 0 10px 20px color-mix(in srgb, var(--tw-primary) 10%, transparent);
    }

    .product-actions,
    .hero-product-actions {
        gap: 0.34rem;
    }

    .product-actions-inline {
        width: 100%;
        justify-content: space-between;
        gap: 0.34rem;
    }

    .product-action-order {
        min-height: 34px;
        padding: 0.42rem 0.52rem;
        font-size: 0.68rem;
        border-radius: 11px;
        gap: 0.22rem;
    }

    .product-action-icon {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        border-radius: 11px;
    }

    .product-action-icon i,
    .product-action-order i {
        font-size: 0.84rem;
    }

    .product-actions-inline .product-action-order {
        flex: 1 1 auto;
        min-width: 0;
    }

    .product-body {
        padding: 0.78rem;
    }

    .product-body h3 {
        font-size: 0.9rem;
        line-height: 1.35;
    }
}

@media (max-width: 640px) {
    .web-topbar .container-lg {
        gap: 0.35rem;
        padding-left: 0.55rem;
        padding-right: 0.55rem;
    }

    .web-topbar .brand {
        flex: 1 1 auto;
        /* leaves room for the icons, the avatar (logged in) and the menu button */
        max-width: calc(100vw - 196px);
        gap: 0.32rem;
    }

    .web-topbar .brand-mark,
    .web-topbar .brand-logo-wrap {
        width: 35px;
        height: 35px;
        flex: 0 0 35px;
    }

    .web-topbar .brand-text {
        font-size: clamp(0.62rem, 3.2vw, 1.02rem);
        line-height: 1.08;
        letter-spacing: -0.01em;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .language-toggle {
        min-width: 54px;
        height: 36px;
        padding: 0 0.56rem;
        font-size: 0.72rem;
    }

    .top-actions {
        gap: 0.28rem;
    }

    .icon-link {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        font-size: 0.96rem;
    }

    /* Keeps the avatar the same size as the other header icons */
    .header-avatar-link {
        --avatar-size: 36px;
    }

    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
        border-radius: 50%;
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .grid-4 > .empty-block {
        grid-column: 1 / -1;
    }

    .hero-banner-carousel,
    .hero-banner-slide {
        min-height: 0;
        aspect-ratio: 16 / 8.1;
    }

    .carousel-viewport {
        min-height: 0;
        aspect-ratio: 16 / 8.1;
    }

    .hero-banner-media,
    .hero-banner-media img {
        height: 100%;
    }

    .hero-banner-media img {
        object-fit: contain;
        object-position: center center;
    }

    .hero-banner-overlay {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.10) 48%, rgba(255, 255, 255, 0.18) 100%);
    }

    .hero-banner-content {
        justify-content: flex-end;
        max-width: 100%;
        padding: 18px 16px 58px;
    }

    .carousel-prev,
    .carousel-next {
        width: 32px;
        height: 32px;
        font-size: 0.96rem;
        background: color-mix(in srgb, var(--tw-surface) 45%, transparent);
        border-color: color-mix(in srgb, var(--tw-surface) 50%, transparent);
        color: color-mix(in srgb, var(--tw-primary) 80%, transparent);
        box-shadow: 0 8px 16px color-mix(in srgb, var(--tw-primary) 8%, transparent);
    }

    .hero-banner-content h2 {
        font-size: 1rem;
    }

    .hero-products-viewport {
        padding: 12px;
    }

    .hero-products-slide {
        padding: 16px;
        min-height: auto;
    }

    .hero-products-grid,
    .shipping-policy-grid,
    .about-stats-strip {
        grid-template-columns: 1fr;
    }

    .hero-product-thumb {
        width: 112px;
        height: 112px;
        flex-basis: 112px;
    }

    .hero-product-card {
        align-items: flex-start;
    }

    .hero-products-copy h2 {
        font-size: 1.65rem;
    }

    .product-actions,
    .hero-product-actions {
        gap: 0.24rem;
    }

    .product-card {
        min-width: 0;
    }

    .product-body {
        padding: 0.72rem;
        gap: 0.32rem;
    }

    .product-body h3 {
        font-size: 0.86rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 2.32em;
    }

    .product-body p {
        font-size: 0.72rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-meta-row {
        gap: 0.35rem;
    }

    .product-sold-count {
        font-size: 0.68rem;
    }

    .price-row {
        margin-top: 0.52rem;
        align-items: flex-start;
        gap: 0.32rem;
    }

    .price {
        font-size: 0.9rem;
    }

    .price-old {
        display: block;
        margin-left: 0;
        margin-top: 0.12rem;
        font-size: 0.72rem;
    }

    .stock-badge,
    .badge {
        padding: 0.24rem 0.46rem;
        font-size: 0.63rem;
    }

    .product-action-order {
        min-height: 32px;
        padding: 0.38rem 0.38rem;
        font-size: 0.56rem;
        border-radius: 10px;
    }

    .product-action-order i {
        display: none;
    }

    .product-action-order span {
        letter-spacing: 0;
    }

    .product-action-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        border-radius: 10px;
    }

    .product-action-icon i,
    .product-action-order i {
        font-size: 0.8rem;
    }

    .product-actions-inline {
        width: 100%;
        justify-content: space-between;
    }

    .product-actions-inline .product-action-order {
        flex: 1 1 auto;
    }

    .go-top-button {
        right: 14px;
        bottom: 84px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
    }
}

@media (min-width: 350px) and (max-width: 400px) {
    .product-actions,
    .hero-product-actions {
        gap: 0.22rem;
    }

    .product-action-order {
        flex: 0 0 30px;
        width: 30px;
        min-width: 30px;
        min-height: 30px;
        padding: 0;
        border-radius: 10px;
    }

    .product-action-order i {
        display: inline-flex !important;
        font-size: 0.76rem;
    }

    .product-action-order span {
        display: none;
    }

    .product-action-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
        border-radius: 10px;
    }

    .product-action-icon i {
        font-size: 0.76rem;
    }

    .product-details-actions .product-action-order,
    .product-related-actions .product-action-order {
        flex: 0 1 auto;
        width: auto;
        min-width: 58px;
        padding-inline: 0.42rem;
    }

    .product-related-actions .product-action-order span {
        display: none;
    }

    .product-related-actions .product-action-order {
        width: 30px;
        min-width: 30px;
        height: 30px;
        padding-inline: 0;
        justify-content: center;
    }

    .product-related-actions .product-action-order i {
        margin-right: 0;
        font-size: 0.76rem;
    }

    .product-details-actions .product-action-order span {
        display: inline;
    }
}

/* ── Glass Product Card (Components/Shared/ProductCard.razor) ──
   The card is an inline-size container: rules under @container react to the card's own
   width, so the same markup works in the 2-up phone grid and the 4-up desktop grid. */
.pcard {
    container-type: inline-size;
    container-name: pcard;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 0.5rem;
    border-radius: 22px;
    background:
        linear-gradient(160deg,
            color-mix(in srgb, var(--tw-surface) 82%, transparent),
            color-mix(in srgb, var(--tw-surface) 62%, transparent));
    border: 1px solid color-mix(in srgb, #fff 55%, var(--tw-glass-border));
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, #fff 70%, transparent),
        0 14px 34px color-mix(in srgb, var(--tw-primary) 10%, rgba(15, 23, 42, 0.08));
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.pcard:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--tw-primary) 34%, transparent);
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, #fff 70%, transparent),
        0 22px 46px color-mix(in srgb, var(--tw-primary) 22%, transparent);
}

/* Media */
.pcard-media {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 50% 28%, color-mix(in srgb, var(--tw-primary) 20%, transparent), transparent 62%),
        radial-gradient(circle at 85% 90%, color-mix(in srgb, #a855f7 22%, transparent), transparent 55%),
        linear-gradient(160deg, color-mix(in srgb, var(--tw-primary) 9%, var(--tw-surface)), color-mix(in srgb, var(--tw-accent) 12%, var(--tw-surface)));
}

.pcard-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
}

.pcard-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.pcard:hover .pcard-image img {
    transform: scale(1.06);
}

.pcard-placeholder {
    display: grid;
    justify-items: center;
    gap: 0.35rem;
    color: var(--tw-primary);
}

.pcard-placeholder i {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    font-size: 1.7rem;
    color: #fff;
    background: linear-gradient(135deg, var(--tw-primary), #a855f7);
    box-shadow: 0 14px 28px color-mix(in srgb, var(--tw-primary) 32%, transparent);
    transition: transform 0.3s ease;
}

.pcard:hover .pcard-placeholder i {
    transform: translateY(-3px) rotate(-6deg);
}

.pcard-placeholder strong {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    opacity: 0.75;
}

/* Soft glowing pedestal under image-less products. */
.pcard-pedestal {
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: 10%;
    height: 14%;
    z-index: 0;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, color-mix(in srgb, var(--tw-primary) 28%, transparent), transparent 70%);
    filter: blur(2px);
}

.pcard-badges {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    max-width: calc(100% - 3.4rem);
}

.pcard-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    max-width: 100%;
    padding: 0.26rem 0.6rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.18);
}

.pcard-badge i {
    font-size: 0.85rem;
}

.pcard-badge-best { background: linear-gradient(135deg, #2563eb, #a855f7); }
.pcard-badge-best i { color: #fde047; }
.pcard-badge-featured { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.pcard-badge-new { background: linear-gradient(135deg, #10b981, #0ea5e9); }
.pcard-badge-sale { background: linear-gradient(135deg, #f43f5e, #f97316); }

.pcard-fav {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, #fff 70%, transparent);
    background: color-mix(in srgb, #fff 80%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #e11d48;
    font-size: 1.05rem;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pcard-fav:hover {
    transform: scale(1.08);
}

.pcard-fav.is-active {
    background: linear-gradient(135deg, #f43f5e, #ec4899);
    border-color: transparent;
    color: #fff;
}

.pcard-soldout-ribbon {
    position: absolute;
    left: 50%;
    bottom: 0.6rem;
    z-index: 2;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
}

.pcard.is-soldout .pcard-image img {
    filter: grayscale(0.55);
}

/* Body */
.pcard-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.55rem;
    padding: 0.7rem 0.3rem 0.2rem;
}

.pcard-info {
    display: grid;
    gap: 0.35rem;
}

.pcard-title {
    min-width: 0;
}

.pcard-title h3 {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pcard-title h3 a {
    color: var(--tw-text);
    text-decoration: none;
}

.pcard-title h3 a:hover {
    color: var(--tw-primary);
}

.pcard-category {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-top: 0.15rem;
    color: var(--tw-muted);
    font-size: 0.74rem;
    font-weight: 600;
}

.pcard-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem 0.45rem;
    font-size: 0.72rem;
    color: var(--tw-muted);
}

.pcard-stars {
    display: inline-flex;
    gap: 1px;
    font-size: 0.82rem;
    color: color-mix(in srgb, var(--tw-muted) 45%, transparent);
}

.pcard-stars .is-on {
    color: #f59e0b;
}

.pcard-rating-text strong {
    color: var(--tw-text);
}

.pcard-sold {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    padding: 0.08rem 0.45rem;
    border-radius: 999px;
    background: color-mix(in srgb, #f97316 10%, var(--tw-surface));
    color: #ea580c;
    font-weight: 700;
}

.pcard-price-row {
    display: grid;
    gap: 0.45rem;
}

.pcard-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.15rem 0.45rem;
    padding: 0.45rem 0.65rem;
    border-radius: 14px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--tw-primary) 9%, var(--tw-surface)),
        color-mix(in srgb, #a855f7 12%, var(--tw-surface)));
    border: 1px solid color-mix(in srgb, #fff 60%, var(--tw-glass-border));
}

.pcard-price strong {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--tw-primary);
    background: linear-gradient(135deg, var(--tw-primary), #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pcard-price del {
    font-size: 0.74rem;
    font-weight: 600;
    color: var(--tw-muted);
}

.pcard-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.pcard-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
    border: 1px solid transparent;
}

.pcard-tag-trending {
    background: linear-gradient(135deg, #fde68a, #fdba74);
    color: #7c2d12;
}

.pcard-tag-new {
    background: linear-gradient(135deg, #a7f3d0, #99f6e4);
    color: #065f46;
}

.pcard-tag-stock {
    background: color-mix(in srgb, #10b981 12%, var(--tw-surface));
    border-color: color-mix(in srgb, #10b981 28%, transparent);
    color: #059669;
}

.pcard-tag-out {
    background: color-mix(in srgb, #ef4444 10%, var(--tw-surface));
    border-color: color-mix(in srgb, #ef4444 26%, transparent);
    color: #dc2626;
}

/* Actions */
.pcard-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 0.35rem;
    margin-top: auto;
}

.pcard-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
    min-height: 38px;
    padding: 0 0.6rem;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--tw-primary), #7c3aed);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 10px 20px color-mix(in srgb, var(--tw-primary) 28%, transparent);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.pcard-order span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pcard-order i {
    font-size: 1rem;
}

.pcard-order:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 14px 26px color-mix(in srgb, var(--tw-primary) 36%, transparent);
}

.pcard-icon-btn {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, #fff 60%, var(--tw-glass-border));
    background: color-mix(in srgb, var(--tw-surface) 70%, transparent);
    color: var(--tw-text);
    font-size: 1rem;
    text-decoration: none;
    box-shadow: inset 0 1px 0 color-mix(in srgb, #fff 70%, transparent), 0 6px 14px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pcard-icon-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    color: var(--tw-primary);
    border-color: color-mix(in srgb, var(--tw-primary) 35%, transparent);
}

.pcard-icon-btn.is-active {
    background: linear-gradient(135deg, #10b981, #0ea5e9);
    border-color: transparent;
    color: #fff;
}

.pcard-order:disabled,
.pcard-icon-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

/* Wide cards (desktop 3/4-up, tablet 3-up): title beside rating, price beside tags. */
@container pcard (min-width: 270px) {
    .pcard-price-row {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .pcard-tags {
        flex-direction: column;
        align-items: flex-end;
    }
}

/* Narrow cards (2-up phone grid): tighter spacing, icon-only order button. */
@container pcard (max-width: 215px) {
    .pcard-body {
        gap: 0.45rem;
        padding: 0.55rem 0.15rem 0.1rem;
    }

    .pcard-title h3 {
        font-size: 0.84rem;
    }

    .pcard-price {
        padding: 0.38rem 0.5rem;
    }

    .pcard-price strong {
        font-size: 0.95rem;
    }

    .pcard-order span {
        display: none;
    }

    .pcard-order,
    .pcard-icon-btn {
        min-height: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .pcard-icon-btn {
        width: 34px;
    }

    .pcard-fav {
        width: 32px;
        height: 32px;
        font-size: 0.95rem;
    }

    .pcard-badge {
        font-size: 0.62rem;
        padding: 0.22rem 0.5rem;
    }

    /* Keep the placeholder icon clear of the corner badges. */
    .pcard-placeholder {
        padding-top: 1.6rem;
    }

    .pcard-placeholder i {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        font-size: 1.3rem;
    }
}

@media (max-width: 575.98px) {
    .pcard {
        padding: 0.4rem;
        border-radius: 18px;
    }

    .pcard-media {
        border-radius: 14px;
    }
}


/* ── Product Details (Pages/ProductDetails.razor) ── */
.pd-page {
    display: grid;
    gap: 1.5rem;
}

.pd-toast {
    position: fixed;
    top: 5.5rem;
    left: 50%;
    z-index: 300;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #10b981, #0ea5e9);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 700;
    box-shadow: 0 16px 34px rgba(16, 185, 129, 0.35);
    animation: pd-toast-in 0.3s ease;
}

@keyframes pd-toast-in {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.pd-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--tw-muted);
}

.pd-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--tw-muted);
    text-decoration: none;
    font-weight: 600;
}

.pd-breadcrumb a:hover {
    color: var(--tw-primary);
}

.pd-breadcrumb span {
    min-width: 0;
    max-width: 60vw;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--tw-text);
    font-weight: 700;
}

/* Shared glass panel for the hero and every details section. */
.pd-hero,
.pd-panel {
    background:
        linear-gradient(160deg,
            color-mix(in srgb, var(--tw-surface) 84%, transparent),
            color-mix(in srgb, var(--tw-surface) 64%, transparent));
    border: 1px solid color-mix(in srgb, #fff 55%, var(--tw-glass-border));
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, #fff 70%, transparent),
        0 16px 38px color-mix(in srgb, var(--tw-primary) 10%, rgba(15, 23, 42, 0.07));
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.pd-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 1.75rem;
    padding: 1.25rem;
    border-radius: 28px;
}

.pd-panel {
    border-radius: 20px;
    padding: 1.1rem 1.2rem;
}

/* Gallery */
.pd-gallery {
    min-width: 0;
}

.pd-main-image {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 22px;
    overflow: hidden;
    isolation: isolate;
    cursor: zoom-in;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--tw-primary) 22%, transparent), transparent 60%),
        radial-gradient(circle at 85% 90%, color-mix(in srgb, #a855f7 24%, transparent), transparent 55%),
        linear-gradient(160deg, color-mix(in srgb, var(--tw-primary) 9%, var(--tw-surface)), color-mix(in srgb, var(--tw-accent) 12%, var(--tw-surface)));
}

.pd-main-image.is-empty {
    cursor: default;
}

.pd-main-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.pd-main-image:hover img {
    transform: scale(1.04);
}

.pd-placeholder {
    position: relative;
    z-index: 1;
    padding: 1rem;
    text-align: center;
}

.pd-placeholder i {
    width: 92px;
    height: 92px;
    font-size: 2.6rem;
    border-radius: 28px;
}

.pd-placeholder strong {
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.pd-zoom-hint {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: color-mix(in srgb, #fff 82%, transparent);
    color: var(--tw-primary);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.16);
}

.pd-main-image .pcard-badges {
    top: 0.85rem;
    left: 0.85rem;
}

.pd-thumbs {
    display: flex;
    gap: 0.55rem;
    margin-top: 0.8rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
}

.pd-thumb {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--tw-surface);
    opacity: 0.75;
    transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.pd-thumb.active {
    opacity: 1;
    border-color: var(--tw-primary);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--tw-primary) 26%, transparent);
}

/* Info */
.pd-info {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    min-width: 0;
}

.pd-chip-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.pd-sku {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--tw-muted) 10%, var(--tw-surface));
    color: var(--tw-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.pd-title {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--tw-text);
}

.pd-rating-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    font-size: 0.85rem;
}

.pd-stars {
    font-size: 1.05rem;
}

.pd-review-link {
    color: var(--tw-muted);
    font-weight: 600;
    text-decoration: underline dotted;
}

.pd-review-link:hover {
    color: var(--tw-primary);
}

.pd-short {
    margin: 0;
    color: var(--tw-muted);
    font-size: 0.92rem;
    line-height: 1.6;
}

.pd-price-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--tw-primary) 10%, var(--tw-surface)),
        color-mix(in srgb, #a855f7 14%, var(--tw-surface)));
    border: 1px solid color-mix(in srgb, #fff 60%, var(--tw-glass-border));
}

.pd-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.25rem 0.6rem;
}

.pd-price strong {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--tw-primary);
    background: linear-gradient(135deg, var(--tw-primary), #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pd-price del {
    color: var(--tw-muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.pd-save {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #f43f5e, #f97316);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
}

.pd-stock {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
}

.pd-stock.is-in {
    background: color-mix(in srgb, #10b981 14%, var(--tw-surface));
    color: #059669;
}

.pd-stock.is-low {
    background: color-mix(in srgb, #f59e0b 16%, var(--tw-surface));
    color: #b45309;
}

.pd-stock.is-out {
    background: color-mix(in srgb, #ef4444 12%, var(--tw-surface));
    color: #dc2626;
}

.pd-option-group {
    display: grid;
    gap: 0.45rem;
}

.pd-option-label {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--tw-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.pd-option-label strong {
    color: var(--tw-text);
}

.pd-option-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.pd-option-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 36px;
    padding: 0.3rem 0.85rem;
    border-radius: 12px;
    border: 1.5px solid var(--tw-border);
    background: var(--tw-surface);
    color: var(--tw-text);
    font-size: 0.82rem;
    font-weight: 700;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pd-option-chip:hover {
    border-color: color-mix(in srgb, var(--tw-primary) 50%, var(--tw-border));
}

.pd-option-chip.is-selected {
    border-color: var(--tw-primary);
    background: color-mix(in srgb, var(--tw-primary) 10%, var(--tw-surface));
    color: var(--tw-primary);
    box-shadow: 0 6px 14px color-mix(in srgb, var(--tw-primary) 18%, transparent);
}

.pd-color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(15, 23, 42, 0.18);
}

.pd-buy-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.pd-qty {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.25rem;
    border-radius: 14px;
    border: 1px solid var(--tw-border);
    background: var(--tw-surface);
}

.pd-qty button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: color-mix(in srgb, var(--tw-primary) 9%, var(--tw-surface));
    color: var(--tw-primary);
    font-size: 1rem;
}

.pd-qty button:hover {
    background: var(--tw-primary);
    color: #fff;
}

.pd-qty span {
    min-width: 40px;
    text-align: center;
    font-weight: 800;
    color: var(--tw-text);
}

.pd-total {
    display: grid;
    text-align: right;
}

.pd-total small {
    color: var(--tw-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.pd-total strong {
    color: var(--tw-text);
    font-size: 1.05rem;
}

.pd-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
    gap: 0.55rem;
}

.pd-order,
.pd-cart,
.pd-fav,
.pd-note-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 48px;
    padding: 0 1rem;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.pd-order {
    border: 0;
    background: linear-gradient(135deg, var(--tw-primary), #7c3aed);
    color: #fff;
    box-shadow: 0 14px 28px color-mix(in srgb, var(--tw-primary) 30%, transparent);
}

.pd-order:hover:not(:disabled) {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.pd-cart {
    border: 1.5px solid color-mix(in srgb, var(--tw-primary) 35%, var(--tw-border));
    background: color-mix(in srgb, var(--tw-surface) 80%, transparent);
    color: var(--tw-primary);
}

.pd-cart:hover:not(:disabled) {
    background: color-mix(in srgb, var(--tw-primary) 9%, var(--tw-surface));
}

.pd-cart.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #10b981, #0ea5e9);
    color: #fff;
}

.pd-fav {
    width: 48px;
    padding: 0;
    border: 1.5px solid color-mix(in srgb, #f43f5e 30%, var(--tw-border));
    background: var(--tw-surface);
    color: #e11d48;
    font-size: 1.2rem;
}

.pd-fav.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #f43f5e, #ec4899);
    color: #fff;
}

.pd-order:disabled,
.pd-cart:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.pd-trust {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pd-trust li {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.65rem;
    border-radius: 14px;
    background: color-mix(in srgb, var(--ftone) 8%, var(--tw-surface));
    border: 1px solid color-mix(in srgb, var(--ftone) 18%, transparent);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--tw-text);
}

.pd-trust i {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--ftone);
    color: #fff;
    font-size: 0.95rem;
}

/* Sections */
.pd-section {
    display: grid;
    gap: 0.85rem;
}

.pd-section-head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.pd-section-head h2 {
    flex: 1;
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--tw-text);
}

.pd-section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--tw-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

/* Reviews */
.pd-review-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.pd-review-summary {
    display: grid;
    gap: 1rem;
    position: sticky;
    top: 5.5rem;
}

.pd-review-score {
    display: grid;
    justify-items: center;
    gap: 0.2rem;
    padding: 0.9rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #78350f;
}

.pd-review-score strong {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 2.6rem;
    line-height: 1;
}

.pd-review-score .pcard-stars {
    color: rgba(120, 53, 15, 0.3);
}

.pd-review-score .pcard-stars .is-on {
    color: #d97706;
}

.pd-review-score small {
    font-weight: 700;
}

.pd-review-bars {
    display: grid;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pd-review-bars li {
    display: grid;
    grid-template-columns: 36px 1fr 40px;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--tw-muted);
}

.pd-review-bars li i.ri-star-fill {
    color: #f59e0b;
}

.pd-bar {
    height: 8px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--tw-muted) 16%, transparent);
    overflow: hidden;
}

.pd-bar i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

.pd-review-main {
    display: grid;
    gap: 0.8rem;
    min-width: 0;
}

.pd-review-form {
    display: grid;
    gap: 0.7rem;
}

.pd-review-form h3 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
}

.pd-review-note {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.pd-review-note > i {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--tw-primary), #7c3aed);
    color: #fff;
    font-size: 1.25rem;
}

.pd-review-note > div {
    flex: 1 1 200px;
}

.pd-review-note strong {
    display: block;
    color: var(--tw-text);
}

.pd-review-note p {
    margin: 0.15rem 0 0;
    color: var(--tw-muted);
    font-size: 0.85rem;
}

.pd-note-btn {
    min-height: 40px;
    border: 0;
    background: linear-gradient(135deg, var(--tw-primary), #7c3aed);
    color: #fff;
    font-size: 0.85rem;
}

.pd-note-btn:hover {
    color: #fff;
    transform: translateY(-1px);
}

.pd-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    width: fit-content;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    background: color-mix(in srgb, #10b981 12%, var(--tw-surface));
    color: #059669;
    font-size: 0.74rem;
    font-weight: 800;
}

.pd-verified.small {
    margin-top: 0.4rem;
    font-size: 0.68rem;
}

.pd-star-picker {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.2rem;
}

.pd-star-picker button {
    padding: 0.1rem;
    border: 0;
    background: none;
    color: color-mix(in srgb, var(--tw-muted) 35%, transparent);
    font-size: 1.8rem;
    line-height: 1;
    transition: transform 0.15s ease, color 0.15s ease;
}

.pd-star-picker button:hover {
    transform: scale(1.15);
}

.pd-star-picker button.is-on {
    color: #f59e0b;
}

.pd-star-picker span {
    margin-left: 0.5rem;
    color: var(--tw-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.pd-review-input {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    border: 1px solid var(--tw-border);
    background: var(--tw-surface);
    color: var(--tw-text);
    font-size: 0.9rem;
    resize: vertical;
}

.pd-review-input:focus {
    outline: none;
    border-color: var(--tw-primary);
    box-shadow: 0 0 0 4px var(--tw-ring);
}

.pd-review-message {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
}

.pd-review-message.is-success { color: #059669; }
.pd-review-message.is-error { color: #dc2626; }

.pd-review-submit {
    width: fit-content;
    min-height: 44px;
}

.pd-review-empty {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--tw-muted);
}

.pd-review-empty i {
    font-size: 1.8rem;
    color: var(--tw-primary);
}

.pd-review-empty p {
    margin: 0;
}

.pd-review-list {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pd-review-list li {
    display: flex;
    gap: 0.8rem;
}

.pd-review-list li > div {
    flex: 1;
    min-width: 0;
}

.pd-review-list p {
    margin: 0.4rem 0 0;
    color: var(--tw-text);
    font-size: 0.9rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.pd-review-avatar {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #ec4899);
    color: #fff;
    font-weight: 800;
}

.pd-review-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pd-review-head small {
    color: var(--tw-muted);
}

@media (max-width: 991.98px) {
    .pd-hero {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .pd-main-image {
        max-width: 560px;
        width: 100%;
        margin-inline: auto;
    }

    .pd-review-grid {
        grid-template-columns: 1fr;
    }

    .pd-review-summary {
        position: static;
        grid-template-columns: auto 1fr;
        align-items: center;
    }
}

@media (max-width: 575.98px) {
    .pd-page {
        gap: 1.1rem;
    }

    .pd-hero {
        padding: 0.7rem;
        border-radius: 22px;
    }

    .pd-panel {
        padding: 0.9rem;
        border-radius: 18px;
    }

    .pd-actions {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 48px;
    }

    .pd-order,
    .pd-cart {
        padding: 0 0.6rem;
        font-size: 0.82rem;
    }

    .pd-trust {
        grid-template-columns: 1fr 1fr;
    }

    .pd-trust li {
        font-size: 0.74rem;
        padding: 0.5rem;
    }

    .pd-review-summary {
        grid-template-columns: 1fr;
    }

    .pd-thumb {
        flex-basis: 58px;
        width: 58px;
        height: 58px;
    }
}


/* ── Storefront Glass UI ──
   One visual layer for every content page (cart, checkout, wishlist, account, contact,
   login/registration, FAQ, about, returns, shipping, blog, tracking). It only restyles the
   shared building blocks - surfaces, colors, borders, icons - and leaves spacing and grid
   rules to the existing responsive CSS above, so every breakpoint keeps working. */
:root {
    --glass-surface:
        linear-gradient(160deg,
            color-mix(in srgb, var(--tw-surface) 84%, transparent),
            color-mix(in srgb, var(--tw-surface) 64%, transparent));
    --glass-edge: color-mix(in srgb, #fff 55%, var(--tw-glass-border));
    --glass-shadow:
        inset 0 1px 0 color-mix(in srgb, #fff 70%, transparent),
        0 16px 38px color-mix(in srgb, var(--tw-primary) 10%, rgba(15, 23, 42, 0.07));
    --vivid-gradient: linear-gradient(135deg, var(--tw-primary), #7c3aed 60%, #db2777);
}

/* Eyebrow labels */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--tw-primary) 10%, var(--tw-surface));
    border: 1px solid color-mix(in srgb, var(--tw-primary) 22%, transparent);
    color: var(--tw-primary);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* Page intro → glass hero with a gradient icon tile */
.page-intro {
    position: relative;
    isolation: isolate;
    max-width: 760px;
    padding: 1.4rem 1.25rem 1.3rem;
    border-radius: 26px;
    background:
        radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--tw-primary) 16%, transparent), transparent 45%),
        radial-gradient(circle at 100% 100%, color-mix(in srgb, #db2777 12%, transparent), transparent 45%),
        var(--glass-surface);
    border: 1px solid var(--glass-edge);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    overflow: hidden;
}

.page-intro .eyebrow {
    margin-bottom: 0.6rem;
}

.page-intro h1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.page-intro h1 > i {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--vivid-gradient);
    color: #fff;
    font-size: 1.65rem;
    letter-spacing: 0;
    box-shadow: 0 14px 30px color-mix(in srgb, var(--tw-primary) 32%, transparent);
}

/* Glass panels */
.card-panel,
.checkout-panel,
.info-card,
.cart-item,
.faq-card,
.shipping-policy-card {
    background:
        linear-gradient(90deg, var(--tw-primary), #7c3aed, #db2777) top / 100% 3px no-repeat,
        var(--glass-surface);
    border: 1px solid var(--glass-edge);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(16px) saturate(150%);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
}

.card-panel,
.checkout-panel,
.info-card {
    border-radius: 22px;
}

.info-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card:hover {
    transform: translateY(-3px);
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, #fff 70%, transparent),
        0 20px 42px color-mix(in srgb, var(--tw-primary) 18%, transparent);
}

/* Icons placed before panel headings become small colored tiles. */
:is(.card-panel, .checkout-panel, .info-card) :is(h2, h3, h4, h5) > i:first-child {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    margin-right: 0.35rem;
    border-radius: 10px;
    background: var(--vivid-gradient);
    color: #fff;
    font-size: 1rem;
    vertical-align: middle;
}

/* Empty / loading states */
.empty-block {
    background:
        radial-gradient(circle at 50% 0%, color-mix(in srgb, var(--tw-primary) 12%, transparent), transparent 55%),
        var(--glass-surface);
    border: 1.5px dashed color-mix(in srgb, var(--tw-primary) 30%, var(--tw-border));
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

.empty-block > i {
    width: 72px;
    height: 72px;
    display: inline-grid;
    place-items: center;
    border-radius: 22px;
    background: var(--vivid-gradient);
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 16px 32px color-mix(in srgb, var(--tw-primary) 30%, transparent);
}

/* Buttons */
.btn-main {
    background: linear-gradient(135deg, var(--tw-primary), #7c3aed);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--tw-primary) 30%, transparent);
}

/* .btn-lg used to paint a white background over primary buttons. */
.btn-main.btn-lg {
    background: linear-gradient(135deg, var(--tw-primary), #7c3aed);
    color: #fff;
}

.btn-outline {
    background: color-mix(in srgb, var(--tw-surface) 75%, transparent);
    border-color: color-mix(in srgb, var(--tw-primary) 30%, var(--tw-border));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Forms */
.form-label {
    font-size: 0.85rem;
    color: var(--tw-text);
}

.form-control,
.form-select,
.checkout-grid input,
.checkout-grid textarea,
.checkout-grid select {
    background-color: color-mix(in srgb, var(--tw-surface) 88%, transparent);
    color: var(--tw-text);
    border-color: color-mix(in srgb, var(--tw-border) 90%, transparent);
}

.form-select:focus,
.checkout-grid input:focus,
.checkout-grid textarea:focus,
.checkout-grid select:focus {
    outline: none;
    border-color: var(--tw-primary);
    box-shadow: 0 0 0 4px var(--tw-ring);
}

.required-star {
    color: #e11d48;
}

/* Alerts */
.alert {
    border-radius: 16px;
    border: 1px solid transparent;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-weight: 600;
}

.alert-success {
    background: color-mix(in srgb, #10b981 12%, var(--tw-surface));
    border-color: color-mix(in srgb, #10b981 30%, transparent);
    color: #047857;
}

.alert-danger {
    background: color-mix(in srgb, #ef4444 10%, var(--tw-surface));
    border-color: color-mix(in srgb, #ef4444 28%, transparent);
    color: #b91c1c;
}

/* Cart & checkout */
.cart-item {
    border-radius: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cart-item:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 color-mix(in srgb, #fff 70%, transparent),
        0 18px 36px color-mix(in srgb, var(--tw-primary) 16%, transparent);
}

.cart-item strong {
    color: var(--tw-text);
}

.qty-control {
    background: color-mix(in srgb, var(--tw-primary) 8%, var(--tw-surface));
    border: 1px solid color-mix(in srgb, var(--tw-primary) 16%, transparent);
}

.qty-control button {
    background: var(--tw-surface);
    color: var(--tw-primary);
}

.summary-row {
    color: var(--tw-muted);
    padding: 0.2rem 0;
}

.summary-row + .summary-row {
    border-top: 1px dashed color-mix(in srgb, var(--tw-border) 80%, transparent);
    padding-top: 0.45rem;
}

.summary-row.total {
    border-top: 1px solid var(--tw-border);
    color: var(--tw-text);
}

.summary-row.total > :last-child {
    background: var(--vivid-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* FAQ */
.faq-card {
    border-radius: 20px;
}

.faq-card[open] {
    border-color: color-mix(in srgb, var(--tw-primary) 35%, transparent);
}

.faq-question::before {
    content: "?";
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    margin-right: 0.75rem;
    border-radius: 10px;
    background: var(--vivid-gradient);
    color: #fff;
    font-weight: 800;
}

.faq-question {
    justify-content: flex-start;
    color: var(--tw-text);
}

.faq-question i {
    margin-left: auto;
}

.faq-card[open] .faq-question {
    background: color-mix(in srgb, var(--tw-primary) 6%, transparent);
}

/* Contact / about / tracking info points: each point gets its own color. */
.about-point i {
    color: #fff;
    background: var(--vivid-gradient);
    box-shadow: 0 10px 22px color-mix(in srgb, var(--tw-primary) 24%, transparent);
}

.about-point:nth-child(4n + 2) i { background: linear-gradient(135deg, #10b981, #0ea5e9); }
.about-point:nth-child(4n + 3) i { background: linear-gradient(135deg, #f59e0b, #f97316); }
.about-point:nth-child(4n + 4) i { background: linear-gradient(135deg, #ec4899, #8b5cf6); }

/* Hero banners on about / contact / shipping */
.about-storyboard,
.shipping-hero-banner {
    background:
        radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--tw-primary) 18%, transparent), transparent 40%),
        radial-gradient(circle at 100% 100%, color-mix(in srgb, #db2777 14%, transparent), transparent 42%),
        var(--glass-surface);
    border: 1px solid var(--glass-edge);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.about-storyboard-copy h1,
.shipping-hero-banner h1 {
    background: linear-gradient(135deg, var(--tw-text), var(--tw-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.shipping-policy-card {
    border-radius: 22px;
}

/* Product description text was rendered in the muted color; keep it readable. */
.product-full-description {
    color: var(--tw-text);
}

@media (max-width: 575.98px) {
    .page-intro {
        padding: 1.1rem 0.9rem 1rem;
        border-radius: 22px;
        margin-bottom: 1.25rem;
    }

    .page-intro h1 > i {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
        border-radius: 16px;
    }
}


/* ── Reduced Motion ──
   Visitors who ask the OS for less motion get instant state changes instead of
   lifts, sweeps and slides. */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}