/* ============================================================
   TAJ BY DANA — واجهة أمامية (Dark / Light)
   ============================================================ */

html {
    --ink: #0a0908;
    --beige: #eadccd;
    --white: #ffffff;
    --ink-rgb: 10, 9, 8;
    --beige-rgb: 234, 220, 205;
    --white-rgb: 255, 255, 255;
    --radius: 20px;
    --radius-lg: 32px;
    --radius-oval: clamp(28px, 5vw, 40px);
    --radius-pill: 999px;
    --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    /* مقاييس مرنة — تتكيف مع الشاشة تلقائياً */
    --container-pad: clamp(16px, 4.5vw, 24px);
    --section-y: clamp(44px, 8vw, 76px);
    --gap-block: clamp(16px, 3vw, 28px);
    --text-h1: clamp(1.75rem, 4.5vw + 0.5rem, 3.375rem);
    --text-h2: clamp(1.5rem, 3.2vw + 0.4rem, 2.75rem);
    --text-body: clamp(0.9375rem, 1.5vw + 0.5rem, 1.0625rem);
    --touch-min: 44px;
}

html[data-theme="dark"] {
    --bg: var(--ink);
    --bg-soft: var(--ink);
    --card: var(--ink);
    --card-2: var(--ink);
    --line: rgba(var(--beige-rgb), 0.16);
    --text: var(--beige);
    --muted: rgba(var(--beige-rgb), 0.72);
    --primary: var(--beige);
    --primary-2: var(--beige);
    --accent: var(--beige);
    --gold: var(--beige);
    --nav-bg: rgba(var(--beige-rgb), 0.94);
    --nav-panel-bg: rgba(var(--beige-rgb), 0.98);
    --nav-border: rgba(var(--ink-rgb), 0.16);
    --nav-text: var(--ink);
    --nav-muted: rgba(var(--ink-rgb), 0.68);
    --nav-hover: rgba(var(--ink-rgb), 0.08);
    --nav-active: rgba(var(--ink-rgb), 0.12);
    --nav-control-bg: var(--white);
    --nav-cta-bg: var(--ink);
    --nav-cta-text: var(--beige);
    --nav-shadow: 0 18px 54px rgba(var(--ink-rgb), .2);
    --surface: rgba(var(--beige-rgb), 0.08);
    --surface-hover: rgba(var(--beige-rgb), 0.14);
    --hero-overlay: none;
    --body-gradient-1: rgba(var(--beige-rgb), 0.08);
    --body-gradient-2: rgba(var(--beige-rgb), 0.04);
    --section-wash: rgba(var(--beige-rgb), .02);
    --btn-primary-text: var(--ink);
    --shadow: 0 24px 70px rgba(var(--ink-rgb), 0.55);
    --shadow-sm: 0 8px 24px rgba(var(--ink-rgb), 0.35);
    --card-shine: rgba(var(--beige-rgb), 0.06);
    --card-glow: rgba(var(--beige-rgb), 0.12);
    --box-bg: var(--ink);
    --box-bg-soft: var(--ink);
    --box-border: color-mix(in srgb, var(--primary) 24%, var(--line));
    --box-inset: inset 0 1px 0 rgba(var(--beige-rgb), 0.07);
    --box-tint: linear-gradient(135deg, color-mix(in srgb, var(--primary) 10%, transparent), transparent 55%);
    --chip-bg: rgba(var(--beige-rgb), 0.06);
    --chip-border: var(--line);
    --float-bg: rgba(var(--ink-rgb), 0.92);
    --footer-bg: rgba(var(--ink-rgb), 0.88);
}

html[data-theme="light"] {
    --bg: var(--white);
    --bg-soft: var(--white);
    --card: var(--white);
    --card-2: var(--white);
    --line: rgba(var(--ink-rgb), 0.16);
    --text: #5a4944;
    --muted: #5a4944;
    --primary: #5a4944;
    --primary-2: #5a4944;
    --accent: #5a4944;
    --gold: #5a4944;
    --nav-bg: rgba(var(--white-rgb), 0.94);
    --nav-panel-bg: rgba(var(--white-rgb), 0.98);
    --nav-border: rgba(90, 73, 68, 0.14);
    --nav-text: #5a4944;
    --nav-muted: #5a4944;
    --nav-hover: rgba(90, 73, 68, 0.08);
    --nav-active: rgba(90, 73, 68, 0.12);
    --nav-control-bg: var(--white);
    --nav-cta-bg: var(--ink);
    --nav-cta-text: var(--beige);
    --nav-shadow: 0 16px 48px rgba(var(--ink-rgb), .1);
    --surface: rgba(var(--ink-rgb), 0.06);
    --surface-hover: rgba(var(--ink-rgb), 0.1);
    --hero-overlay: none;
    --body-gradient-1: transparent;
    --body-gradient-2: transparent;
    --section-wash: transparent;
    --btn-primary-text: var(--beige);
    --shadow: 0 20px 50px rgba(var(--ink-rgb), 0.1);
    --shadow-sm: 0 8px 22px rgba(var(--ink-rgb), 0.08);
    --card-shine: rgba(var(--ink-rgb), 0.04);
    --card-glow: rgba(var(--ink-rgb), 0.08);
    --box-bg: var(--white);
    --box-bg-soft: var(--white);
    --box-border: color-mix(in srgb, var(--primary) 20%, rgba(var(--ink-rgb), 0.12));
    --box-inset: inset 0 1px 0 rgba(var(--beige-rgb), 0.95);
    --box-tint: linear-gradient(135deg, color-mix(in srgb, var(--primary) 7%, transparent), transparent 55%);
    --chip-bg: rgba(var(--ink-rgb), 0.06);
    --chip-border: rgba(var(--ink-rgb), 0.12);
    --float-bg: rgba(var(--white-rgb), 0.94);
    --footer-bg: rgba(var(--white-rgb), 0.92);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    font-size: var(--text-body);
    background:
        radial-gradient(circle at 12% 8%, var(--body-gradient-1), transparent 42%),
        radial-gradient(circle at 88% 4%, var(--body-gradient-2), transparent 36%),
        var(--bg);
    color: var(--text);
    line-height: 1.7;
    direction: ltr;
    overflow-x: clip;
    /* RTL + Arabic font are driven by the html lang/dir attributes */
    transition: background .35s ease, color .35s ease;
    -webkit-text-size-adjust: 100%;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }

/* Icons (Phosphor) */
.site-icon {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    flex-shrink: 0;
    speak: never;
}
.pill-ico { opacity: .85; }
.hero-float-head {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}
.hero-float-head strong,
.hero-float-head span {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}
.hero-float-ico { color: var(--primary); }
.trust-ico .site-icon { font-size: 20px; }
.point-ico .site-icon { font-size: 14px; }
.story-badge-ico { color: var(--primary); }
.chip-ico { opacity: .9; }
.badge-ico { opacity: .9; }
.cta-ico { opacity: .85; }
.insight-arrow .site-icon { color: var(--primary); }
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.status-pill.is-available .status-ico,
.status-pill.is-unavailable .status-ico { color: var(--primary); }
.btn-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-ico { opacity: .85; }
.detail-info .btn-with-icon { margin-bottom: 18px; }

.container {
    width: min(1180px, calc(100% - var(--container-pad) * 2));
    margin-inline: auto;
    padding-inline:
        max(var(--container-pad), env(safe-area-inset-left, 0px))
        max(var(--container-pad), env(safe-area-inset-right, 0px));
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: var(--touch-min);
    padding: 13px 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: var(--btn-primary-text);
    box-shadow: none;
}
.btn-primary:hover { transform: translateY(-2px); }
.btn-sm {
    padding: 10px 18px;
    font-size: 13px;
}
.btn-ghost {
    background: var(--surface);
    border-color: var(--line);
    color: var(--text);
}
.btn-ghost:hover {
    border-color: var(--primary);
    background: var(--surface-hover);
    color: var(--primary);
}

/* ==================== Header ==================== */
.site-header {
    position: fixed;
    top: 12px;
    inset-inline: 0;
    z-index: 200;
    padding: 0;
    pointer-events: none;
}
html,
body {
    background-color: var(--bg);
}
.header-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
    padding: 8px 14px;
    border: 1px solid var(--nav-border);
    border-radius: 999px;
    background: var(--nav-bg);
    backdrop-filter: blur(18px);
    overflow: hidden;
    color: var(--nav-text);
    box-shadow: var(--nav-shadow);
    transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
    pointer-events: auto;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.brand-logo {
    height: 48px;
    width: auto;
    max-width: min(168px, 46vw);
    object-fit: contain;
    object-position: center;
    flex-shrink: 0;
    border-radius: 0;
    box-shadow: none;
    filter: none;
    transition: opacity .25s ease, transform .25s ease;
}

.brand-logo--light {
    display: none;
}
html[data-theme="light"] .brand-logo--dark {
    display: none;
}
html[data-theme="light"] .brand-logo--light {
    display: block;
}
html[data-theme="dark"] .brand-logo--dark {
    display: block;
}
.brand:hover .brand-logo {
    transform: scale(1.03);
    opacity: 0.96;
}
html[data-theme="light"] .home-slide h1,
html[data-theme="light"] .home-slide p {
    color: #5a4944;
    -webkit-text-stroke: 0;
    paint-order: normal;
    text-shadow: none;
}
html[data-theme="light"] .grad {
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    color: #5a4944;
}
html[data-theme="light"] .kicker,
html[data-theme="light"] .desc,
html[data-theme="light"] .footer-tagline,
html[data-theme="light"] .footer-nav a,
html[data-theme="light"] .footer-heading,
html[data-theme="light"] .copyright,
html[data-theme="light"] .page-breadcrumb,
html[data-theme="light"] .products-page-head-copy p {
    color: #5a4944;
}
html[data-theme="light"] .header-nav a,
html[data-theme="light"] .header-nav a:hover,
html[data-theme="light"] .header-nav a.is-active,
html[data-theme="light"] .lang-switch,
html[data-theme="light"] .theme-switch {
    color: #5a4944;
}
html[data-theme="light"] .lang-switch,
html[data-theme="light"] .theme-switch,
html[data-theme="light"] .nav-toggle {
    background: var(--white);
    border-color: rgba(90, 73, 68, 0.14);
}
html[data-theme="light"] .nav-toggle span {
    background: #5a4944;
}
html[data-theme="light"] .btn-header {
    background: #5a4944;
    border-color: #5a4944;
    color: var(--white);
}
html[data-theme="light"] .btn-header:hover {
    background: #5a4944;
    border-color: #5a4944;
    color: var(--white);
    opacity: 0.92;
}
html[data-theme="dark"] .lang-switch,
html[data-theme="dark"] .theme-switch,
html[data-theme="dark"] .nav-toggle {
    background: var(--white);
    border-color: rgba(var(--ink-rgb), 0.12);
}
.brand-text {
    display: none;
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.header-nav a {
    padding: 10px 16px;
    min-height: var(--touch-min);
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: var(--nav-muted);
    font-weight: 800;
    font-size: 14px;
    transition: color .2s ease, background .2s ease;
}
.header-nav a:hover {
    color: var(--nav-text);
    background: var(--nav-hover);
}
.header-nav a.is-active {
    color: var(--nav-text);
    background: var(--nav-active);
    border: 1px solid var(--nav-border);
}

.header-tools {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(var(--ink-rgb), 0.55);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    pointer-events: none;
}
.nav-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
body.nav-open { overflow: hidden; }

html[lang="ar"] {
    --font: 'Tajawal', 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
}
html[dir="rtl"] body {
    direction: rtl;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--nav-border);
    background: var(--nav-control-bg);
    color: var(--nav-text);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .02em;
    flex-shrink: 0;
    transition: background .25s ease, border-color .25s ease;
}
.lang-switch:hover {
    border-color: var(--nav-text);
    background: var(--nav-active);
}

.theme-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--nav-border);
    background: var(--nav-control-bg);
    color: var(--nav-text);
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
    transition: background .25s ease, border-color .25s ease;
}
.theme-switch:hover { background: var(--nav-active); border-color: var(--nav-text); }
.theme-switch-icons {
    position: relative;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
}
.theme-switch-icons svg {
    width: 18px;
    height: 18px;
    position: absolute;
    transition: opacity .25s ease, transform .25s ease;
}
html[data-theme="dark"] .icon-sun { opacity: 1; transform: scale(1); }
html[data-theme="dark"] .icon-moon { opacity: 0; transform: scale(.6); }
html[data-theme="light"] .icon-sun { opacity: 0; transform: scale(.6); }
html[data-theme="light"] .icon-moon { opacity: 1; transform: scale(1); }
.btn-header {
    background: var(--nav-cta-bg);
    color: var(--nav-cta-text);
    border-color: var(--nav-cta-bg);
    padding: 9px 17px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
    min-height: 38px;
    box-shadow: none;
}
.btn-header .btn-ico { opacity: .92; }
.btn-header:hover {
    background: var(--nav-text);
    color: var(--nav-cta-text);
    border-color: var(--nav-text);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--nav-border);
    background: var(--nav-control-bg);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.nav-toggle span {
    width: 18px;
    height: 2px;
    background: var(--nav-text);
    border-radius: 2px;
    transition: transform .25s ease, opacity .25s ease;
}

/* ==================== Hero — Premium ==================== */
.hero {
    position: relative;
    padding: 28px 0 36px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: heroOrbFloat 8s ease-in-out infinite alternate;
}
.hero-orb-1 {
    width: 420px;
    height: 420px;
    top: -120px;
    right: -80px;
    background: color-mix(in srgb, var(--primary) 35%, transparent);
}
.hero-orb-2 {
    width: 320px;
    height: 320px;
    bottom: -80px;
    left: 10%;
    background: color-mix(in srgb, var(--accent) 28%, transparent);
    animation-delay: 1.5s;
}
.hero-mesh {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(color-mix(in srgb, var(--line) 50%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--line) 50%, transparent) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse at 30% 40%, var(--ink) 15%, transparent 65%);
    opacity: .45;
}
@keyframes heroOrbFloat {
    from { transform: translate(0, 0); }
    to { transform: translate(-16px, 12px); }
}

.hero-stage {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    padding: 36px 32px;
    border-radius: calc(var(--radius-oval) + 4px);
    background:
        radial-gradient(circle at 100% 0%, var(--card-glow), transparent 45%),
        var(--box-bg);
    border: 1px solid var(--box-border);
    box-shadow: var(--shadow), var(--box-inset);
    backdrop-filter: blur(12px);
}
.hero-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.hero-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
}
.dot-live {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px color-mix(in srgb, var(--primary) 48%, transparent);
    animation: livePulse 1.8s ease infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .6; transform: scale(.85); }
}
.hero h1 {
    font-size: var(--text-h1);
    line-height: 1.08;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.hero .grad {
    display: block;
    margin-top: 4px;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-copy > p {
    color: var(--muted);
    font-size: 17px;
    max-width: 500px;
    margin-bottom: 26px;
    line-height: 1.75;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.btn-glow {
    box-shadow: none;
}
.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.hero-tags span {
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.hero-tags span:hover {
    color: var(--primary);
    border-color: color-mix(in srgb, var(--primary) 40%, transparent);
}

.hero-showcase {
    position: relative;
    min-height: 360px;
    display: grid;
    place-items: center;
    animation: heroReveal 1s ease both;
}
.hero-ring {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px dashed color-mix(in srgb, var(--primary) 35%, transparent);
    animation: heroSpin 22s linear infinite;
}
.hero-ring::before {
    content: "";
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}
@keyframes heroSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.hero-media-shell {
    position: relative;
    z-index: 2;
    padding: 8px;
    border-radius: var(--radius-oval);
    background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 35%, transparent), color-mix(in srgb, var(--accent) 15%, transparent));
    box-shadow: var(--shadow);
}
.hero-media-frame {
    position: relative;
    width: min(280px, 72vw);
    aspect-ratio: 3 / 3.6;
    border-radius: calc(var(--radius-oval) - 6px);
    overflow: hidden;
    background: var(--card-2);
}
.hero-video,
.hero-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroKenBurns 14s ease-in-out infinite alternate;
}
.hero-fallback { position: absolute; inset: 0; z-index: 0; }
.hero-video { position: relative; z-index: 1; }
.hero-video.is-hidden,
.hero-fallback.is-hidden { display: none; }
.hero-media-shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(115deg, transparent 30%, rgba(var(--beige-rgb), 0.2) 48%, transparent 66%);
    transform: translateX(-120%);
    animation: heroShine 5s ease-in-out infinite;
    pointer-events: none;
}
.hero-media-gradient {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
}
.hero-float {
    position: absolute;
    z-index: 4;
    padding: 12px 16px;
    border-radius: var(--radius-pill);
    background: var(--float-bg);
    backdrop-filter: blur(14px);
    border: 1px solid var(--box-border);
    box-shadow: var(--shadow-sm);
    animation: heroFloat 5s ease-in-out infinite;
}
.hero-float strong,
.hero-float span {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}
.hero-float small {
    font-size: 10px;
    color: var(--muted);
    font-weight: 600;
}
.hero-float-a { top: 8%; left: 0; animation-delay: .3s; }
.hero-float-b { bottom: 10%; right: -4px; animation-delay: .8s; }
@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes heroReveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroKenBurns {
    from { transform: scale(1.05); }
    to { transform: scale(1.12); }
}
@keyframes heroShine {
    0%, 70%, 100% { transform: translateX(-120%); }
    40% { transform: translateX(120%); }
}

.hero-metrics {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 24px;
    border-radius: var(--radius-pill);
    background: var(--box-tint), var(--box-bg);
    border: 1px solid var(--box-border);
    box-shadow: var(--shadow-sm), var(--box-inset);
    overflow-x: auto;
}
.metric {
    flex: 1;
    min-width: 100px;
    text-align: center;
}
.metric-num {
    display: block;
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.metric-lbl {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
}
.metric-divider {
    width: 1px;
    height: 32px;
    background: var(--line);
    flex-shrink: 0;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border: 1px solid var(--chip-border);
    border-radius: var(--radius-pill);
    background: var(--chip-bg);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 0;
}

/* ==================== Trust Strip ==================== */
.trust-strip-wrap { padding: 8px 0 24px; }
.trust-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 24px;
    border-radius: var(--radius-pill);
    background: var(--box-tint), var(--box-bg);
    border: 1px solid var(--box-border);
    box-shadow: var(--shadow-sm), var(--box-inset);
    overflow-x: auto;
}
.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 140px;
}
.trust-ico {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary) 28%, transparent);
    flex-shrink: 0;
}
.trust-strip-item strong {
    display: block;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}
.trust-strip-item span {
    font-size: 12px;
    color: var(--muted);
}
.trust-strip-divider {
    width: 1px;
    height: 36px;
    background: var(--line);
    flex-shrink: 0;
}

/* ==================== Why Bento ==================== */
.why-section { padding-top: 48px; }
.why-head { margin-bottom: 28px; }
.why-head h2 { font-size: clamp(28px, 4vw, 42px); margin-top: 8px; }
.kicker {
    color: var(--primary);
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 700;
}
.why-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    grid-auto-rows: minmax(220px, auto);
    gap: 18px;
}
.why-card {
    position: relative;
    padding: 26px;
    border-radius: var(--radius-oval);
    background: var(--box-tint), var(--box-bg);
    border: 1px solid var(--box-border);
    box-shadow: var(--shadow-sm), var(--box-inset);
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
    overflow: hidden;
}
.why-card:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--primary) 40%, transparent);
    box-shadow: var(--shadow);
}
.why-card-has-img {
    padding: 0;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--box-bg);
}
.why-card-hero {
    grid-row: span 2;
    min-height: 100%;
}
.why-card-hero.why-card-has-img { min-height: 460px; }
.why-card-wide.why-card-has-img { min-height: 220px; }
.why-card-media {
    position: absolute;
    inset: 0;
    margin: 0;
    overflow: hidden;
    border-radius: inherit;
}
.why-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}
.why-card:hover .why-card-media img { transform: scale(1.06); }
.why-card-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.08) 55%,
        rgba(0, 0, 0, 0.38) 100%
    );
    pointer-events: none;
}
html[data-theme="light"] .why-card-scrim {
    background: linear-gradient(
        180deg,
        rgba(var(--ink-rgb), 0) 0%,
        rgba(var(--ink-rgb), 0.06) 55%,
        rgba(var(--ink-rgb), 0.28) 100%
    );
}
.why-card-body {
    position: relative;
    z-index: 2;
    margin: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(var(--ink-rgb), 0.5);
    backdrop-filter: blur(12px) saturate(1.1);
    -webkit-backdrop-filter: blur(12px) saturate(1.1);
    border: 1px solid rgba(var(--beige-rgb), 0.1);
    max-width: 92%;
}
html[data-theme="light"] .why-card-body {
    background: rgba(var(--beige-rgb), 0.72);
    border-color: rgba(var(--beige-rgb), 0.8);
    box-shadow: 0 6px 18px rgba(var(--ink-rgb), 0.07);
}
.why-card-wide { grid-column: span 2; }
.why-card-wide .why-card-body {
    margin-inline-end: auto;
    max-width: min(300px, 44%);
}
.why-card-has-img h3 {
    font-size: 17px;
    margin-bottom: 6px;
    line-height: 1.25;
}
.why-card-has-img h4 {
    font-size: 15px;
    margin-bottom: 4px;
    line-height: 1.25;
}
.why-card-has-img p {
    font-size: 12px;
    line-height: 1.5;
}
.why-card h3 { font-size: 24px; margin-bottom: 12px; line-height: 1.3; }
.why-card h4 { font-size: 18px; margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: 14px; line-height: 1.65; margin-bottom: 0; }
.why-card-has-img h3,
.why-card-has-img h4 {
    color: var(--beige);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}
.why-card-has-img p {
    color: rgba(var(--beige-rgb), 0.88);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.22);
}
html[data-theme="light"] .why-card-has-img h3,
html[data-theme="light"] .why-card-has-img h4 {
    color: var(--text);
    text-shadow: none;
}
html[data-theme="light"] .why-card-has-img p {
    color: var(--muted);
    text-shadow: none;
}
.why-card-hero .why-card-body {
    margin-top: auto;
}
.why-card-hero .btn {
    margin-top: 8px;
    padding: 8px 14px;
    font-size: 12px;
    align-self: flex-start;
}

/* ==================== Lifestyle Showcase ==================== */
.showcase-section { padding: 0 0 48px; }
.showcase-stage {
    position: relative;
    min-height: clamp(420px, 68vh, 620px);
    border-radius: var(--radius-oval);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.showcase-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    transition: transform .7s ease, opacity .45s ease;
    filter: saturate(1.05);
}
.showcase-stage.is-switching .showcase-bg {
    transform: scale(1.12);
    opacity: .85;
}
.showcase-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to inline-end, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.35) 100%),
        linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
}
html[data-theme="light"] .showcase-overlay {
    background:
        linear-gradient(to inline-end, rgba(var(--ink-rgb), 0.5) 0%, rgba(var(--ink-rgb), 0.1) 45%, rgba(var(--ink-rgb), 0.25) 100%),
        linear-gradient(180deg, transparent 55%, rgba(var(--ink-rgb), 0.35) 100%);
}
.showcase-layout {
    position: relative;
    z-index: 2;
    min-height: min(72vh, 620px);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 32px;
    padding-block: 48px;
}
.showcase-nav {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    justify-self: end;
}
.showcase-copy {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    max-width: 420px;
    color: var(--beige);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.showcase-copy .kicker { color: var(--accent); }
.showcase-pill {
    width: 88px;
    height: 44px;
    padding: 4px;
    border-radius: var(--radius-pill);
    border: 2px solid rgba(var(--beige-rgb), 0.45);
    background: rgba(var(--beige-rgb), 0.12);
    backdrop-filter: blur(8px);
    cursor: pointer;
    overflow: hidden;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, width .25s ease;
}
.showcase-pill img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-pill);
}
.showcase-pill:hover {
    transform: scale(1.06);
    border-color: rgba(var(--beige-rgb), 0.8);
}
.showcase-pill.is-active {
    width: 104px;
    border-color: var(--beige);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 50%, transparent), 0 8px 24px rgba(0, 0, 0, 0.35);
}
.showcase-copy h2 {
    font-size: clamp(28px, 4vw, 44px);
    margin: 10px 0 14px;
    line-height: 1.15;
}
.showcase-copy p {
    color: rgba(var(--beige-rgb), 0.88);
    margin-bottom: 22px;
    font-size: 16px;
}

.section { padding: var(--section-y) 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .kicker { color: var(--primary); font-size: 13px; letter-spacing: 2px; font-weight: 700; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); margin: 8px 0; }
.section-head p { color: var(--muted); max-width: 600px; margin-inline: auto; }

/* ==================== Story — Premium ==================== */
.story { padding: 64px 0; }
.story-panel {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
    padding: 36px;
    border-radius: calc(var(--radius-oval) + 6px);
    background:
        radial-gradient(circle at 0% 0%, var(--card-glow), transparent 42%),
        radial-gradient(circle at 100% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 38%),
        var(--box-bg);
    border: 1px solid var(--box-border);
    box-shadow: var(--shadow), var(--box-inset);
    overflow: hidden;
    position: relative;
}
.story-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 6%, transparent), transparent 50%);
    pointer-events: none;
}
.story-visual {
    position: relative;
    min-height: 420px;
    z-index: 1;
}
.story-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    top: 10%;
    left: 20%;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary) 45%, transparent), transparent 70%);
    filter: blur(40px);
    animation: storyGlow 6s ease-in-out infinite alternate;
}
@keyframes storyGlow {
    from { transform: translate(0, 0) scale(1); opacity: .7; }
    to { transform: translate(12px, -10px) scale(1.08); opacity: 1; }
}
.story-main {
    position: absolute;
    inset: 0 48px 48px 0;
    border-radius: var(--radius-oval);
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--line));
    box-shadow: var(--shadow);
}
.story-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}
.story-panel:hover .story-main img { transform: scale(1.06); }
.story-main-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, transparent 40%, rgba(var(--beige-rgb), 0.15) 50%, transparent 62%);
    pointer-events: none;
}
.story-orbit {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 168px;
    height: 168px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--box-bg);
    box-shadow: var(--shadow-sm), 0 0 0 1px color-mix(in srgb, var(--primary) 35%, transparent);
    animation: storyOrbit 5s ease-in-out infinite;
    z-index: 2;
}
.story-orbit img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@keyframes storyOrbit {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.story-float-badge {
    position: absolute;
    top: 16%;
    left: -8px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--radius-pill);
    background: var(--float-bg);
    backdrop-filter: blur(14px);
    border: 1px solid var(--box-border);
    box-shadow: var(--shadow-sm);
    text-align: start;
    animation: storyOrbit 4.5s ease-in-out infinite reverse;
}
.story-float-badge strong {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}
.story-float-badge span {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
}
.story-float-chip {
    position: absolute;
    bottom: 22%;
    right: 0;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    box-shadow: var(--shadow-sm);
}
.story-content {
    position: relative;
    z-index: 1;
    padding-inline: 8px;
}
.story-content h2 {
    font-size: clamp(28px, 3.8vw, 42px);
    line-height: 1.2;
    margin: 10px 0 16px;
    font-weight: 800;
}
.story-content h2 .grad {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.story-content > p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 520px;
}
.story-points {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}
.story-points li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 14px;
    font-weight: 600;
    transition: border-color .25s ease, transform .25s ease;
}
.story-points li:hover {
    border-color: color-mix(in srgb, var(--primary) 40%, transparent);
    transform: translateX(-4px);
}
.point-ico {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 10px;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 14%, transparent);
    flex-shrink: 0;
}
.story-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 28px;
}

/* ==================== Products Gallery ==================== */
.products-section { padding-top: 64px; }
.products-stage {
    padding: 32px;
    border-radius: calc(var(--radius-oval) + 6px);
    background:
        radial-gradient(circle at 0% 0%, var(--card-glow), transparent 42%),
        radial-gradient(circle at 100% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 38%),
        var(--box-bg);
    border: 1px solid var(--box-border);
    box-shadow: var(--shadow), var(--box-inset);
    overflow: hidden;
}
.products-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.products-head-copy h2 {
    font-size: clamp(28px, 4vw, 44px);
    margin: 8px 0 10px;
    line-height: 1.1;
}
.products-head-copy h2 .grad {
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.products-head-copy p {
    color: var(--muted);
    max-width: 480px;
    font-size: 15px;
}
.products-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.products-stat {
    min-width: 88px;
    padding: 12px 16px;
    border-radius: var(--radius-pill);
    text-align: center;
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
}
.products-stat strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}
.products-stat span {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
}

/* Spotlight — featured product */
.product-spotlight {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
    align-items: center;
    padding: 22px;
    margin-bottom: 24px;
    border-radius: var(--radius-oval);
    background: var(--box-tint), var(--box-bg-soft);
    border: 1px solid var(--box-border);
    box-shadow: var(--shadow-sm), var(--box-inset);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.product-spotlight:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--primary) 40%, transparent);
    box-shadow: var(--shadow);
}
.spotlight-visual {
    position: relative;
    min-height: 280px;
    display: grid;
    place-items: center;
}
.spotlight-ring {
    position: absolute;
    width: min(88%, 320px);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px dashed color-mix(in srgb, var(--primary) 35%, transparent);
    animation: heroSpin 24s linear infinite;
}
.spotlight-frame {
    position: relative;
    z-index: 1;
    width: min(78%, 300px);
    aspect-ratio: 3 / 3.6;
    padding: 7px;
    border-radius: var(--radius-oval);
    background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 30%, transparent), color-mix(in srgb, var(--accent) 12%, transparent));
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.spotlight-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-oval) - 8px);
    transition: transform .7s ease;
}
.product-spotlight:hover .spotlight-frame img { transform: scale(1.06); }
.spotlight-shine {
    position: absolute;
    inset: 7px;
    border-radius: calc(var(--radius-oval) - 8px);
    background: linear-gradient(115deg, transparent 35%, rgba(var(--beige-rgb), 0.18) 50%, transparent 65%);
    pointer-events: none;
}
.spotlight-badge {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 800;
    background: var(--primary);
    color: var(--btn-primary-text);
    box-shadow: var(--shadow-sm);
}
.spotlight-badge.soldout {
    background: var(--primary);
    color: var(--btn-primary-text);
}
.spotlight-copy {
    position: relative;
    z-index: 1;
    padding: 8px 8px 8px 0;
}
.spotlight-copy h3 {
    font-size: clamp(22px, 3vw, 32px);
    margin: 8px 0 12px;
    line-height: 1.25;
    font-weight: 800;
}
.spotlight-copy > p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 16px;
}
.spotlight-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.color-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
}
.color-chip::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c);
    box-shadow: 0 0 0 1px var(--line);
}
.spotlight-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.spotlight-price small {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.spotlight-price strong {
    font-size: 26px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

/* Catalog grid — يملأ عرض السكشن بالكامل */
.products-catalog {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 20px;
    align-items: stretch;
}
[data-animate].in-view .catalog-tile {
    animation: cardIn .6s ease both;
    animation-delay: var(--delay, 0s);
}
@keyframes cardIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.catalog-tile {
    display: block;
    width: 100%;
    min-width: 0;
    height: auto;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: var(--text);
    transition: none;
}
.catalog-tile:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}
.catalog-visual {
    display: block;
    width: 100%;
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 8px;
    background: var(--panel);
}
.catalog-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: none;
}
.catalog-name {
    display: block;
    margin-top: 12px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 0;
}
.catalog-tile:hover .catalog-visual img { transform: none; }
.catalog-visual-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, color-mix(in srgb, var(--bg) 75%, transparent) 100%);
    pointer-events: none;
}
.catalog-tag {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    z-index: 2;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 800;
    background: var(--primary);
    color: var(--btn-primary-text);
}
.catalog-tag.soldout {
    background: var(--primary);
    color: var(--btn-primary-text);
}
.catalog-float {
    position: absolute;
    bottom: 12px;
    inset-inline: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-pill);
    background: var(--float-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--box-border);
}
.catalog-float-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}
.catalog-swatches {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}
.catalog-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 18px 18px;
    flex: 1;
}
.catalog-body h3 {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
}
.catalog-body p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    flex: 1;
}
.catalog-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin-top: 4px;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 800;
    color: var(--primary);
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.catalog-tile:hover .catalog-cta {
    color: var(--btn-primary-text);
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-color: transparent;
}
.catalog-tile.is-soldout { opacity: .86; }
.catalog-tile.is-soldout:hover { transform: none; }
.catalog-tile.is-soldout .catalog-cta {
    color: var(--muted);
    background: var(--chip-bg);
    border-color: var(--chip-border);
}
.product-spotlight.is-soldout { opacity: .88; }
.product-spotlight.is-soldout:hover { transform: none; }

.products-foot {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.swatches { display: flex; gap: 6px; flex-wrap: nowrap; flex-shrink: 0; }
.swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--box-bg);
    box-shadow: 0 0 0 1px var(--line);
    transition: transform .2s ease;
    background: var(--swatch, var(--primary));
}
.swatch:hover { transform: scale(1.15); }
.product-color-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}
.product-color-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
}
.product-color-swatch {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}
.product-color-name {
    color: var(--text);
}
.qty-pill {
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    color: var(--muted);
    background: var(--surface);
    border: 1px solid var(--line);
}
.qty { color: var(--muted); font-size: 13px; }

/* ==================== Products Page ==================== */
.products-page {
    position: relative;
    padding: clamp(112px, 10vw, 138px) 0 clamp(48px, 8vw, 72px);
    overflow: hidden;
}
.products-page-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.products-page-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .4;
}
.products-page-orb-1 {
    width: min(480px, 80vw);
    height: min(480px, 80vw);
    top: -160px;
    inset-inline-end: -100px;
    background: color-mix(in srgb, var(--primary) 30%, transparent);
}
.products-page-orb-2 {
    width: min(360px, 60vw);
    height: min(360px, 60vw);
    bottom: 10%;
    inset-inline-start: -80px;
    background: color-mix(in srgb, var(--accent) 25%, transparent);
}
.products-page .container {
    position: relative;
    z-index: 1;
}
.page-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}
.page-breadcrumb a {
    color: var(--muted);
    transition: color .2s ease;
}
.page-breadcrumb a:hover { color: var(--primary); }
.page-breadcrumb span:last-child { color: var(--text); }
.page-breadcrumb .site-icon { opacity: .6; }
.products-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.products-page-head-copy h1 {
    font-size: clamp(1.75rem, 4.5vw, 2.75rem);
    margin: 8px 0 10px;
    line-height: 1.15;
    font-weight: 800;
}
.products-page-head-copy h1 .grad {
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--primary-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.products-page-head-copy p {
    color: var(--muted);
    max-width: 520px;
    font-size: 15px;
    line-height: 1.7;
}
.products-page-stage {
    padding: clamp(22px, 4vw, 32px);
    border-radius: calc(var(--radius-oval) + 4px);
    background:
        radial-gradient(circle at 0% 0%, var(--card-glow), transparent 40%),
        var(--box-bg);
    border: 1px solid var(--box-border);
    box-shadow: var(--shadow), var(--box-inset);
}
html[data-theme="light"] .products-page-stage {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    border-color: rgba(var(--ink-rgb), 0.1);
}
html[data-theme="light"] .products-page-orb {
    opacity: 0.12;
}
.products-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.products-filter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    font-size: 13px;
    font-weight: 700;
    color: var(--muted);
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.products-filter .site-icon { opacity: .85; }
.products-filter:hover {
    color: var(--text);
    border-color: color-mix(in srgb, var(--primary) 30%, transparent);
}
.products-filter.is-active {
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 12%, var(--chip-bg));
    border-color: color-mix(in srgb, var(--primary) 35%, transparent);
}
.products-filter-count {
    min-width: 22px;
    height: 22px;
    padding: 0 7px;
    border-radius: var(--radius-pill);
    display: inline-grid;
    place-items: center;
    font-size: 11px;
    font-weight: 800;
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    color: var(--primary);
}
.products-page-result {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}
.products-group-list {
    display: grid;
    gap: clamp(26px, 4vw, 40px);
}
.products-group {
    min-width: 0;
}
.products-group + .products-group {
    padding-top: clamp(22px, 4vw, 34px);
    border-top: 1px solid var(--line);
}
.products-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}
.products-group-head h2 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    line-height: 1.12;
    font-weight: 900;
    letter-spacing: 0;
}
.products-group-head span {
    min-width: 34px;
    height: 30px;
    padding: 0 11px;
    border-radius: var(--radius-pill);
    display: inline-grid;
    place-items: center;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary) 24%, transparent);
    font-size: 12px;
    font-weight: 900;
}
.products-catalog-page {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.products-page-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.insights-head {
    margin-bottom: 24px;
}
.insights-head h2 {
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    margin-top: 8px;
    font-weight: 800;
}

.insights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.insight {
    position: relative;
    display: block;
    width: 100%;
    text-align: inherit;
    font: inherit;
    color: inherit;
    border-radius: var(--radius-oval);
    padding: 0 0 24px;
    background: var(--box-tint), var(--box-bg);
    border: 1px solid var(--box-border);
    box-shadow: var(--shadow-sm), var(--box-inset);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    cursor: pointer;
    overflow: hidden;
    appearance: none;
    -webkit-appearance: none;
}
.insight:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}
.insight-media {
    height: 160px;
    overflow: hidden;
    margin-bottom: 16px;
}
.insight-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.insight:hover .insight-media img { transform: scale(1.05); }
.insight-top,
.insight h3,
.insight p { padding-inline: 24px; }
.insight:hover {
    transform: translateY(-5px);
    border-color: color-mix(in srgb, var(--primary) 40%, transparent);
    box-shadow: var(--shadow);
}
.insight-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.insight-date {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--primary);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: color-mix(in srgb, var(--primary) 12%, transparent);
}
.insight-arrow {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 14px;
    color: var(--primary);
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
    transition: transform .3s ease, background .3s ease;
}
.insight:hover .insight-arrow {
    transform: rotate(-45deg) scale(1.05);
    background: color-mix(in srgb, var(--primary) 15%, transparent);
}
.insight h3 { margin: 0 0 10px; font-size: 18px; font-weight: 800; line-height: 1.4; }
.insight p { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 0; }

/* Insight modal */
.insight-modal[hidden] {
    display: none !important;
}
.insight-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
}
.insight-modal.is-open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}
.insight-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--ink-rgb), 0.72);
    backdrop-filter: blur(8px);
}
html[data-theme="light"] .insight-modal-overlay {
    background: rgba(var(--ink-rgb), 0.45);
}
.insight-modal-panel {
    position: relative;
    z-index: 1;
    width: min(640px, 100%);
    max-height: min(90vh, 860px);
    overflow: hidden auto;
    border-radius: var(--radius-oval);
    background: var(--box-bg);
    border: 1px solid var(--box-border);
    box-shadow: var(--shadow);
    transform: translateY(16px) scale(.98);
    transition: transform .32s cubic-bezier(.22, 1, .36, 1);
    -webkit-overflow-scrolling: touch;
}
.insight-modal.is-open .insight-modal-panel {
    transform: translateY(0) scale(1);
}
.insight-modal-close {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 1px solid var(--box-border);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--float-bg);
    backdrop-filter: blur(12px);
    color: var(--text);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}
.insight-modal-close:hover { transform: scale(1.05); }
.insight-modal-close .site-icon { color: var(--muted); }
.insight-modal-hero {
    position: relative;
    height: clamp(200px, 38vw, 280px);
    overflow: hidden;
}
.insight-modal-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.insight-modal-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.55) 100%);
    pointer-events: none;
}
.insight-modal-date {
    position: absolute;
    bottom: 16px;
    inset-inline-end: 16px;
    z-index: 2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--beige);
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(var(--beige-rgb), 0.18);
}
.insight-modal-body {
    padding: clamp(22px, 4vw, 32px);
}
.insight-modal-title {
    font-size: clamp(1.25rem, 3vw, 1.625rem);
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 12px;
}
.insight-modal-lead {
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.65;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.insight-modal-content p {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 14px;
}
.insight-modal-content p:last-child { margin-bottom: 0; }
.insight-modal-foot {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
body.insight-modal-open { overflow: hidden; }

.empty {
    text-align: center;
    border: 1px dashed color-mix(in srgb, var(--primary) 35%, var(--line));
    border-radius: var(--radius-oval);
    color: var(--muted);
    padding: 70px 28px;
    background:
        radial-gradient(circle at 50% 0%, var(--card-glow), transparent 55%),
        var(--box-bg);
    box-shadow: var(--shadow-sm), var(--box-inset);
}
.empty h3 { color: var(--text); margin-bottom: 8px; font-size: 22px; }
.cta {
    position: relative;
    border-radius: var(--radius-oval);
    text-align: center;
    padding: 64px 48px;
    overflow: hidden;
    border: 1px solid var(--box-border);
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--box-bg) 88%, transparent), color-mix(in srgb, var(--box-bg) 72%, transparent)),
        var(--cta-bg, none) center / cover no-repeat,
        var(--box-bg);
    box-shadow: var(--shadow), var(--box-inset);
    transition: background .35s ease, border-color .35s ease;
}
.cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, transparent 20%, color-mix(in srgb, var(--bg) 55%, transparent) 100%);
    pointer-events: none;
}
.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 40%, color-mix(in srgb, var(--card-shine) 50%, transparent) 50%, transparent 60%);
    pointer-events: none;
}
.cta h2 { font-size: clamp(26px, 4vw, 42px); margin-bottom: 10px; position: relative; z-index: 1; }
.cta p { color: var(--muted); margin-bottom: 28px; position: relative; z-index: 1; max-width: 520px; margin-inline: auto  auto; }
.cta .btn { position: relative; z-index: 1; }

[data-animate] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
}
[data-animate].in-view {
    opacity: 1;
    transform: translateY(0);
}

.footer {
    position: relative;
    padding: clamp(48px, 8vw, 72px) 0 clamp(24px, 4vw, 36px);
    margin-top: clamp(24px, 4vw, 40px);
    overflow: hidden;
}
.footer-bg {
    display: none;
}
.footer-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .45;
}
.footer-orb-1 {
    width: min(420px, 70vw);
    height: min(420px, 70vw);
    top: -120px;
    inset-inline-start: -80px;
    background: color-mix(in srgb, var(--primary) 35%, transparent);
}
.footer-orb-2 {
    width: min(320px, 55vw);
    height: min(320px, 55vw);
    bottom: -100px;
    inset-inline-end: -60px;
    background: color-mix(in srgb, var(--accent) 28%, transparent);
}
.footer-shell {
    position: relative;
    z-index: 1;
    border-radius: var(--radius-oval);
    padding: clamp(28px, 5vw, 44px);
    background: transparent;
    border: 0;
    box-shadow: none;
}
.footer-main {
    display: grid;
    grid-template-columns: 1.35fr .85fr .95fr .75fr;
    gap: clamp(24px, 4vw, 36px);
    align-items: start;
}
.footer-brand-col .footer-brand {
    margin-bottom: 14px;
}
.footer-brand-col .footer-brand .brand-logo {
    height: 44px;
}
.footer-tagline {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
    max-width: 34ch;
    margin-bottom: 20px;
}
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}
.footer-social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--primary);
    background: transparent;
    border: 1px solid var(--chip-border);
    transition: transform .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
}
.footer-social-btn:hover {
    transform: translateY(-3px);
    background: transparent;
    border-color: color-mix(in srgb, var(--primary) 35%, transparent);
}
.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    background: transparent;
    border: 1px solid var(--chip-border);
}
.footer-badges .site-icon { color: var(--primary); opacity: .9; }
.footer-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: .02em;
}
.footer-heading-ico { color: var(--primary); opacity: .9; }
.footer-nav,
.footer-contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-nav li + li,
.footer-contact-list li + li { margin-top: 8px; }
.footer-nav a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    transition: color .2s ease, transform .2s ease;
}
.footer-nav a:hover {
    color: var(--text);
    transform: translateX(-4px);
}
.footer-nav-ico {
    color: var(--primary);
    opacity: .8;
}
.footer-contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border-radius: calc(var(--radius-oval) - 12px);
    background: transparent;
    border: 1px solid var(--chip-border);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
a.footer-contact-card:hover {
    border-color: color-mix(in srgb, var(--primary) 35%, transparent);
    transform: translateY(-2px);
    box-shadow: none;
}
.footer-contact-card.is-static { cursor: default; }
.footer-contact-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: var(--primary);
    background: transparent;
    border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent);
}
.footer-contact-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.footer-contact-text small {
    font-size: 11px;
    color: var(--muted);
    font-weight: 600;
}
.footer-contact-text strong {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    word-break: break-word;
}
.footer-col-aside {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.footer-hours p {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    padding: 12px 14px;
    border-radius: calc(var(--radius-oval) - 12px);
    background: transparent;
    border: 1px solid var(--chip-border);
}
.footer-cta-mini {
    padding: 16px;
    border-radius: calc(var(--radius-oval) - 12px);
    background: transparent;
    border: 1px solid color-mix(in srgb, var(--primary) 22%, var(--chip-border));
}
.footer-cta-mini p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 12px;
}
.footer-cta-mini .btn { width: 100%; justify-content: center; }
.footer-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: clamp(24px, 4vw, 32px);
    padding-top: 20px;
    border-top: 1px solid var(--line);
}
.footer-copy-line {
    color: var(--muted);
    font-size: 13px;
    margin: 0;
}
.footer-bar-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.footer-bar-links a {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: color .2s ease;
}
.footer-bar-links a:hover { color: var(--primary); }
.footer-bar-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--line);
}

.copyright {
    margin-top: 20px;
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    opacity: .8;
}

.detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 50px 0;
}
.product-detail-page {
    padding-top: clamp(8px, 2vw, 22px) !important;
}
.product-detail-page.container {
    width: min(1120px, calc(100% - var(--container-pad) * 2));
}
.product-detail-page .detail {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(24px, 4vw, 44px);
    padding: 0 0 clamp(44px, 7vw, 82px);
}
.product-detail-page .gallery {
    width: 100%;
    max-width: 860px;
    margin-inline: auto;
}
.gallery .main {
    aspect-ratio: 1;
    padding: 0;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 0;
    box-shadow: none;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}
.gallery .main .placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}
.gallery .main .placeholder { display: grid; place-items: center; font-size: 90px; opacity: .5; }
.product-detail-page .gallery .main {
    width: 100%;
    height: clamp(520px, 74vh, 820px);
    aspect-ratio: auto;
}
.main-color-name {
    margin-top: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}
.thumbs { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.detail-panel {
    padding: 32px;
    border-radius: var(--radius-oval);
    background:
        linear-gradient(160deg, color-mix(in srgb, var(--primary) 8%, transparent), transparent 50%),
        var(--box-bg);
    border: 1px solid var(--box-border);
    box-shadow: var(--shadow-sm), var(--box-inset);
    align-self: start;
}
.product-detail-page .detail-panel {
    width: min(760px, 100%);
    margin-inline: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.detail-info h1 { font-size: 34px; margin-bottom: 10px; font-weight: 800; }
.detail-info .price {
    font-size: 32px;
    margin: 14px 0 18px;
    padding: 14px 22px;
    border-radius: var(--radius-pill);
    display: inline-block;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 18%, transparent), color-mix(in srgb, var(--accent) 10%, transparent));
    border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
}
.detail-info .desc { color: var(--muted); margin: 18px 0; line-height: 1.75; }
.product-detail-page .spec {
    align-items: flex-start;
    border-radius: 16px;
}
.product-detail-page .spec--colors {
    flex-direction: column;
    gap: 12px;
}
.product-detail-page .spec--colors .k {
    min-width: 0;
    width: auto;
}
.product-detail-page .product-color-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 148px), 1fr));
    gap: 8px;
}
.product-detail-page .product-color-item {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: transparent;
    min-width: 0;
}
html[data-theme="light"] .product-detail-page .detail-panel {
    background: transparent;
    box-shadow: none;
    border-color: transparent;
}
html[data-theme="light"] .product-detail-page .spec {
    background: var(--white);
    border-color: rgba(var(--ink-rgb), 0.1);
}
html[data-theme="light"] .product-detail-page .product-color-item {
    background: var(--white);
    border-color: rgba(var(--ink-rgb), 0.1);
}
html[data-theme="light"] .product-detail-page .detail-info .btn-ghost {
    background: var(--white);
    border-color: rgba(var(--ink-rgb), 0.1);
}
html[data-theme="light"] .product-detail-page .detail-info .btn-ghost:hover {
    background: var(--white);
    border-color: rgba(var(--ink-rgb), 0.2);
    color: var(--text);
}
html[data-theme="light"] .product-detail-page .detail-info .price {
    background: var(--white);
    border-color: rgba(var(--ink-rgb), 0.1);
}
.spec {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px 18px;
    margin-bottom: 10px;
    border-radius: var(--radius-pill);
    background: var(--chip-bg);
    border: 1px solid var(--chip-border);
}
.thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    align-items: flex-start;
}
.product-detail-page .thumbs {
    width: min(860px, 100%);
    margin: clamp(14px, 2vw, 20px) auto 0;
}
.thumb-option {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    min-width: 0;
}
.thumb-btn {
    width: 100%;
    max-width: 96px;
    aspect-ratio: 1;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    background: none;
    cursor: pointer;
    overflow: hidden;
    flex-shrink: 0;
    transition: border-color .2s ease, transform .2s ease;
    appearance: none;
    -webkit-appearance: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
.thumb-media {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
    border-radius: 10px;
    box-shadow: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}
.thumb-btn .thumb-media:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}
.thumb-btn.active,
.thumb-btn:hover {
    border-color: var(--primary);
}
.thumb-btn:disabled {
    cursor: wait;
    opacity: .72;
}
.thumb-btn.is-error {
    border-color: var(--line);
}
.thumb-color-name {
    max-width: 100%;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    overflow-wrap: anywhere;
}
.detail-actions {
    margin-top: 26px;
}
.detail-actions .btn { width: 100%; max-width: 360px; }
.spec .swatches { flex-wrap: wrap; }
.spec .k { color: var(--muted); min-width: 90px; font-weight: 600; font-size: 13px; }

/* ============================================================
   Responsive — Tablet & Mobile
   ============================================================ */

/* ——— Tablet (≤1024px) ——— */
@media (max-width: 1024px) {
    .header-shell {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto;
        align-items: center;
        gap: 12px;
        border-radius: calc(var(--radius-oval) - 8px);
        padding: 10px 14px;
        position: relative;
        overflow: visible;
    }
    .header-tools {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
    }
    .header-shell > .brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }
    .nav-toggle { display: flex; }
    .header-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border-radius: var(--radius-oval);
        border: 1px solid var(--nav-border);
        background: var(--nav-panel-bg);
        backdrop-filter: blur(18px);
        box-shadow: var(--shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
        z-index: 50;
    }
    .header-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    .header-nav .nav-link,
    .header-nav a {
        min-height: var(--touch-min);
        justify-content: flex-start;
    }
    .site-header { position: fixed; top: max(8px, env(safe-area-inset-top, 0px)); }
    .btn-header { display: none; }

    .hero-stage,
    .story-panel,
    .detail,
    .product-spotlight {
        grid-template-columns: 1fr;
    }
    .hero-stage {
        padding: clamp(20px, 4vw, 28px);
        gap: var(--gap-block);
    }
    .hero-showcase {
        min-height: auto;
        padding-block: 12px;
    }
    .hero-ring {
        width: min(300px, 78vw);
        height: min(300px, 78vw);
    }
    .hero-float-a { inset-inline-start: 4%; top: 4%; }
    .hero-float-b { inset-inline-end: 4%; bottom: 6%; }

    .hero-metrics {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        border-radius: var(--radius-oval);
        padding: 16px;
    }
    .metric-divider { display: none; }
    .metric { min-width: 0; }

    .trust-strip {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        border-radius: var(--radius-oval);
        padding: 16px;
    }
    .trust-strip-divider { display: none; }
    .trust-strip-item { min-width: 0; }

    .why-bento {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--gap-block);
    }
    .why-card-hero {
        grid-column: 1 / -1;
        grid-row: auto;
    }
    .why-card-wide { grid-column: 1 / -1; }
    .why-card-hero.why-card-has-img { min-height: 340px; }

    .showcase-layout {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        min-height: min(65vh, 560px);
        padding-block: clamp(28px, 5vw, 48px);
        gap: 16px;
    }
    .showcase-copy {
        justify-self: stretch;
        max-width: 100%;
    }
    .showcase-nav {
        justify-self: stretch;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 6px;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .showcase-nav::-webkit-scrollbar { display: none; }
    .showcase-pill { flex-shrink: 0; }

    .showcase-overlay {
        background:
            linear-gradient(to inline-end, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.08) 45%, rgba(0, 0, 0, 0.15) 100%),
            linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.65) 100%);
    }
    html[data-theme="light"] .showcase-overlay {
        background:
            linear-gradient(to inline-end, rgba(var(--ink-rgb), 0.38) 0%, rgba(var(--ink-rgb), 0.06) 45%, rgba(var(--ink-rgb), 0.12) 100%),
            linear-gradient(180deg, transparent 20%, rgba(var(--ink-rgb), 0.55) 100%);
    }

    .story-panel { padding: clamp(20px, 4vw, 28px); gap: var(--gap-block); }
    .story-visual { min-height: clamp(280px, 45vw, 360px); }
    .story-main { inset: 0 clamp(24px, 8vw, 48px) clamp(24px, 8vw, 48px) 0; }

    .products-stage { padding: clamp(20px, 4vw, 28px); }
    .products-head {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .products-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        width: 100%;
    }
    .products-stat { min-width: 0; }
    .products-catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--gap-block);
    }

    .spotlight-visual { min-height: clamp(220px, 40vw, 280px); }
    .spotlight-frame { width: min(260px, 70vw); }
    .spotlight-copy { padding: 0; }

    .insights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .insights .insight:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 480px;
        justify-self: center;
        width: 100%;
    }

    .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .footer-brand-col { grid-column: 1 / -1; }

    .products-page-head {
        flex-direction: column;
        align-items: stretch;
    }
    .products-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .products-filters::-webkit-scrollbar { display: none; }
    .products-filter { flex-shrink: 0; }

    .detail-panel { padding: clamp(20px, 4vw, 28px); }
    .gallery .main { border-radius: 0; }
}

/* ——— Mobile (≤640px) ——— */
@media (max-width: 640px) {
    :root {
        --section-y: clamp(36px, 10vw, 52px);
        --mob-box-pad: 12px;
        --mob-box-pad-sm: 10px;
        --mob-edge: max(var(--mob-box-pad), env(safe-area-inset-right, 0px));
    }

    /* عرض كامل — padding مرة واحدة فقط (بدون فراغ أسود على الجوانب) */
    .container {
        width: 100%;
        max-width: 100%;
        padding-inline:
            max(var(--mob-box-pad), env(safe-area-inset-left, 0px))
            max(var(--mob-box-pad), env(safe-area-inset-right, 0px));
    }

    .site-header {
        position: relative;
        top: auto;
        padding-top: max(6px, env(safe-area-inset-top, 0px));
        padding-bottom: 8px;
        background: var(--bg);
    }
    .brand-text small { display: none; }
    .brand-logo {
        height: 42px;
        max-width: min(150px, 44vw);
    }

    .hero { padding: 12px 0 24px; }
    .hero-stage {
        display: flex;
        flex-direction: column;
        padding: 0;
        gap: 0;
        overflow: hidden;
    }
    .hero-showcase {
        order: -1;
        min-height: auto;
        padding: 18px 16px 10px;
    }
    .hero-copy {
        padding: var(--mob-box-pad) var(--mob-box-pad) var(--mob-box-pad);
    }
    .hero-copy > p { font-size: 1rem; margin-bottom: 20px; }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn { width: 100%; }
    .hero-tags { gap: 6px; }
    .hero-tags span { font-size: 11px; padding: 6px 12px; }
    .hero-float { padding: 10px 12px; font-size: 10px; }
    .hero-float strong, .hero-float span { font-size: 15px; }
    .hero-metrics {
        grid-template-columns: repeat(2, 1fr);
        padding: var(--mob-box-pad-sm);
        gap: 8px;
    }
    .metric { padding: 10px 8px; }
    .metric-num { font-size: 17px; }

    .trust-strip {
        grid-template-columns: 1fr 1fr;
        padding: var(--mob-box-pad-sm);
        gap: 8px;
    }
    .trust-strip-item { padding: 10px 8px; gap: 10px; }
    .trust-ico { width: 36px; height: 36px; }

    .why-bento { grid-template-columns: 1fr; }
    .why-head h2 { font-size: var(--text-h2); }
    .why-card:not(.why-card-has-img) { padding: var(--mob-box-pad); }
    .why-card-has-img { min-height: 280px; }
    .why-card-hero.why-card-has-img { min-height: 320px; }
    .why-card-body {
        margin: 8px;
        padding: 10px 12px;
        border-radius: 12px;
        max-width: 94%;
    }
    .why-card-has-img h3 { font-size: 16px; }
    .why-card-has-img h4 { font-size: 14px; }
    .why-card-has-img p { font-size: 11px; }

    .showcase-section {
        padding: 0 var(--mob-box-pad) 28px;
    }
    .showcase-stage {
        display: flex;
        flex-direction: column;
        min-height: clamp(440px, 88vh, 580px);
        border-radius: 20px;
        border: 1px solid var(--box-border);
        box-shadow: var(--shadow-sm);
        overflow: hidden;
    }
    .showcase-bg {
        transform: scale(1);
        background-position: center center;
        background-size: cover;
    }
    .showcase-stage.is-switching .showcase-bg {
        transform: scale(1.04);
        opacity: 0.92;
    }
    .showcase-layout {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        flex: 1;
        width: 100%;
        max-width: 100%;
        min-height: clamp(440px, 88vh, 580px);
        margin: 0;
        padding: 16px var(--mob-box-pad) max(16px, env(safe-area-inset-bottom, 0px));
        gap: 14px;
    }
    .showcase-copy { max-width: none; }
    .showcase-copy h2 { font-size: var(--text-h2); margin-bottom: 8px; }
    .showcase-copy p { margin-bottom: 12px; font-size: 14px; line-height: 1.65; }
    .showcase-copy .btn { width: 100%; }
    .showcase-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        overflow: visible;
        width: 100%;
        padding-bottom: 0;
    }
    .showcase-pill {
        flex: 1 1 calc(20% - 8px);
        min-width: 56px;
        max-width: 72px;
        width: auto;
        height: 44px;
        min-height: 44px;
    }
    .showcase-pill.is-active {
        width: auto;
        max-width: 80px;
        flex-grow: 1.1;
    }

    .story-panel { padding: var(--mob-box-pad); gap: 14px; }
    .story-content { padding-inline: 0; }
    .story-orbit { width: 112px; height: 112px; }
    .story-float-badge { padding: 10px 14px; left: 0; }
    .story-float-chip { font-size: 11px; padding: 8px 14px; }
    .story-actions { flex-direction: column; }
    .story-actions .btn { width: 100%; }

    .products-section { padding-top: var(--section-y); }
    .products-section > .container {
        padding-inline: var(--mob-box-pad);
        width: 100%;
    }
    .products-stage {
        padding: var(--mob-box-pad);
        border-radius: 20px;
        border: 1px solid var(--box-border);
        background: var(--box-tint), var(--box-bg);
        box-shadow: var(--shadow-sm), var(--box-inset);
        overflow: hidden;
    }
    .products-head,
    .products-stats,
    .products-foot {
        padding-inline: 0;
    }
    .products-head {
        gap: 12px;
        margin-bottom: 14px;
    }
    .products-head-copy h2 { font-size: var(--text-h2); }
    .products-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-bottom: 16px;
    }
    .products-stat {
        padding: 10px 6px;
        border-radius: 14px;
        background: var(--surface);
        border: 1px solid var(--line);
    }
    .products-stat strong { font-size: 16px; }
    .products-stat span { font-size: 10px; }
    .product-spotlight {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin-bottom: 16px;
        border-radius: 18px;
        overflow: hidden;
        border: 1px solid var(--box-border);
        background: var(--box-bg-soft);
        box-shadow: var(--shadow-sm);
    }
    .product-spotlight .spotlight-visual {
        min-height: clamp(220px, 52vw, 280px);
        width: 100%;
        background: radial-gradient(circle at 50% 35%, var(--card-glow), transparent 62%);
    }
    .product-spotlight .spotlight-frame {
        width: min(190px, 52vw);
    }
    .product-spotlight .spotlight-copy {
        padding: 14px;
        width: 100%;
    }
    .product-spotlight .spotlight-copy > p {
        font-size: 13px;
        line-height: 1.65;
        margin-bottom: 12px;
    }
    .spotlight-foot {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding-top: 14px;
        border-top: 1px solid var(--line);
    }
    .spotlight-price strong { font-size: 24px; }
    .spotlight-foot .btn {
        width: 100%;
        min-height: 46px;
        font-size: 14px;
        font-weight: 700;
        padding: 12px 18px;
        text-align: center;
        justify-content: center;
    }
    .products-catalog {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        background: transparent;
    }
    .catalog-tile {
        border-radius: 0;
        border: 0;
        box-shadow: none;
        overflow: visible;
        background: transparent;
    }
    .catalog-visual { aspect-ratio: 3 / 4.1; }
    .catalog-name { font-size: 14px; }
    .products-foot {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-top: 20px;
        padding-top: 18px;
        border-top: 1px solid var(--line);
    }
    .products-foot .btn-primary {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 48px;
        font-size: 14px;
        font-weight: 800;
        padding: 14px 20px;
        justify-content: center;
    }
    .products-foot .btn-ghost {
        min-height: 44px;
        font-size: 12px;
        font-weight: 700;
        padding: 11px 10px;
        justify-content: center;
        text-align: center;
    }
    .products-foot .btn-with-icon .btn-ico { display: none; }
    .products-foot .btn-with-icon { gap: 0; }

    /* Products page — نفس تجربة قسم المنتجات */
    .products-page {
        padding-top: 12px;
        padding-bottom: var(--section-y);
    }
    .products-page > .container {
        padding-inline: var(--mob-box-pad);
        width: 100%;
    }
    .products-page .page-breadcrumb {
        margin-bottom: 12px;
        font-size: 12px;
    }
    .products-page-head {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 14px;
    }
    .products-page-head-copy h1 { font-size: var(--text-h2); }
    .products-page-head-copy p {
        font-size: 14px;
        line-height: 1.65;
        max-width: none;
    }
    .products-page-head .products-stats {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .products-page-stage {
        padding: var(--mob-box-pad);
        border-radius: 20px;
        border: 1px solid var(--box-border);
        background: var(--box-tint), var(--box-bg);
        box-shadow: var(--shadow-sm), var(--box-inset);
        overflow: hidden;
    }
    html[data-theme="light"] .products-page-stage {
        background: var(--white);
        box-shadow: var(--shadow-sm);
        border-color: rgba(var(--ink-rgb), 0.1);
    }
    .products-page .products-filters {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 14px;
        padding-bottom: 14px;
        border-bottom: 1px solid var(--line);
    }
    .products-page .products-filter {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        padding: 10px 6px;
        min-height: 58px;
        font-size: 11px;
        text-align: center;
    }
    .products-page .products-filter .site-icon {
        font-size: 15px;
        opacity: 0.9;
    }
    .products-page .products-filter-count {
        min-width: 20px;
        height: 20px;
        font-size: 10px;
    }
    .products-page-result {
        margin-bottom: 12px;
        font-size: 12px;
    }
    .products-page .empty {
        padding: 36px 14px;
        border-radius: 16px;
    }
    .products-page .empty .btn {
        width: 100%;
        min-height: 46px;
        margin-top: 14px !important;
        justify-content: center;
    }
    .products-catalog-page {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
    .products-page-foot {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 20px;
        padding-top: 18px;
        border-top: 1px solid var(--line);
    }
    .products-page-foot .btn-primary {
        width: 100%;
        min-height: 48px;
        font-size: 14px;
        font-weight: 800;
        padding: 14px 20px;
        justify-content: center;
    }
    .products-page-foot .btn-ghost {
        width: 100%;
        min-height: 44px;
        font-size: 13px;
        font-weight: 700;
        padding: 11px 16px;
        justify-content: center;
    }
    .products-page-foot .btn-with-icon .btn-ico { display: none; }
    .products-page-foot .btn-with-icon { gap: 0; }

    .insights { grid-template-columns: 1fr; }
    .insights .insight:last-child:nth-child(odd) {
        grid-column: auto;
        max-width: none;
    }

    .insight-top,
    .insight h3,
    .insight p { padding-inline: var(--mob-box-pad); }
    .insight { padding-bottom: 0; }

    .cta {
        padding: clamp(24px, 6vw, 36px) var(--mob-box-pad);
        border-radius: var(--radius-oval);
    }
    .cta h2 { font-size: var(--text-h2); }

    .footer-shell { padding: var(--mob-box-pad); }
    .footer-main { grid-template-columns: 1fr; gap: 20px; }
    .footer-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-tagline { max-width: none; }

    .detail { gap: 0; padding-block: 0; }
    .product-detail-page.container {
        padding-inline: 0;
        width: 100%;
    }
    .product-detail-page .gallery .main {
        height: clamp(420px, 70svh, 680px);
        border-radius: 0;
        border-inline: none;
    }
    .product-detail-page .detail-panel {
        padding: 0;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
    .product-detail-page .detail-info {
        padding: var(--mob-box-pad) var(--mob-box-pad) var(--section-y);
    }
    .product-detail-page .thumbs {
        padding-inline: var(--mob-box-pad);
    }
    .detail-info h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
    .detail-info .price { font-size: clamp(1.35rem, 5vw, 1.75rem); }
    .hero-float-a,
    .hero-float-b { display: none; }
    .hero-metrics { overflow: visible; }
    .metric { min-width: 0; }

    .footer-nav a {
        min-height: var(--touch-min);
        padding: 10px 0;
    }
    a.footer-contact-card { padding: 10px 12px; }
    .footer-social-btn {
        width: 44px;
        height: 44px;
    }

    .insight-modal-close {
        width: 44px;
        height: 44px;
    }
    .insight-modal-foot {
        flex-direction: column;
        align-items: stretch;
    }
    .insight-modal-foot .btn { width: 100%; justify-content: center; }

    .detail-actions .btn { width: 100%; max-width: none; }
    .detail-info .btn-with-icon { width: 100%; justify-content: center; }
    .spec {
        flex-wrap: wrap;
        gap: 10px;
        border-radius: 14px;
        padding: 12px 14px;
    }
    .spec .k { min-width: 0; width: 100%; }
    .product-detail-page .spec--colors {
        flex-direction: column;
        align-items: stretch;
    }
    .product-detail-page .spec--colors .k {
        width: auto;
    }
    .product-detail-page .product-color-list {
        grid-template-columns: 1fr;
    }
    .product-detail-page .product-color-item {
        width: 100%;
    }
    .catalog-float-price { white-space: normal; font-size: 13px; }

    .theme-switch-label { display: none; }

    .thumbs {
        display: grid;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
        overflow-x: visible;
        padding-bottom: 4px;
    }
    .thumb-option { width: 100%; }
    .thumb-btn { max-width: 58px; }
    .thumb-media { width: 100%; height: 100%; }
}

/* ——— Small phones (≤400px) ——— */
@media (max-width: 400px) {
    .hero-metrics,
    .trust-strip {
        grid-template-columns: 1fr;
    }
    .showcase-pill {
        flex: 1 1 calc(33.333% - 8px);
        max-width: none;
    }
    .products-stat strong { font-size: 14px; }
    .hero-ring { display: none; }
    .hero-media-frame { width: min(220px, 76vw); }
    .catalog-name { font-size: 13px; }
}

@media (hover: none) and (pointer: coarse) {
    .catalog-tile:hover,
    .product-spotlight:hover,
    .why-card:hover,
    .insight:hover,
    .product-card:hover,
    .footer-social-btn:hover,
    a.footer-contact-card:hover {
        transform: none;
    }
    .catalog-tile:active {
        opacity: .92;
    }
}

@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;
    }
}

/* ===================== Streamlined Home ===================== */
.home-carousel {
    position: relative;
    height: clamp(620px, 88svh, 820px);
    min-height: 620px;
    overflow: hidden;
    background: var(--ink);
    isolation: isolate;
    margin-bottom: -2px;
}
.home-carousel::after {
    display: none;
}
.home-carousel-track,
.home-slide {
    position: absolute;
    inset: 0;
}
.home-slide {
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: opacity .9s ease, visibility .9s ease;
}
.home-slide.is-active {
    opacity: 1;
    visibility: visible;
}
.home-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: none;
    transform: scale(1.02);
}
.home-slide.is-active img {
    animation: homeSlideDrift 9.5s ease-in-out both;
}
.home-slide-shade {
    display: none;
}
html[dir="rtl"] .home-slide-shade {
    display: none;
}
html[dir="ltr"] .home-slide-shade {
    display: none;
}
.home-slide-copy {
    position: absolute;
    inset-inline: 0;
    bottom: clamp(82px, 14vh, 136px);
    z-index: 3;
    width: min(var(--container), calc(100% - 64px));
    max-width: none;
    margin-inline: auto;
}
html[dir="rtl"] .home-slide-copy {
    text-align: right;
}
html[dir="ltr"] .home-slide-copy {
    text-align: left;
}
.home-slide h1 {
    max-width: 720px;
    margin: 0;
    color: var(--beige);
    font-size: clamp(40px, 4.2vw, 68px);
    line-height: .88;
    font-weight: 900;
    letter-spacing: 0;
    -webkit-text-stroke: 1px rgba(var(--ink-rgb), .34);
    paint-order: stroke fill;
    text-shadow:
        0 2px 2px rgba(var(--ink-rgb), .82),
        0 12px 28px rgba(var(--ink-rgb), .76),
        0 30px 64px rgba(var(--ink-rgb), .68);
}
.home-slide p {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--beige);
    font-size: clamp(16px, 1.25vw, 21px);
    line-height: 1.75;
    font-weight: 700;
    text-align: inherit;
    text-shadow:
        0 1px 1px rgba(var(--ink-rgb), .9),
        0 8px 20px rgba(var(--ink-rgb), .72),
        0 20px 44px rgba(var(--ink-rgb), .62);
}
html[dir="rtl"] .home-slide h1,
html[dir="rtl"] .home-slide p {
    margin-inline-start: 0;
    margin-inline-end: auto;
}
html[dir="ltr"] .home-slide h1,
html[dir="ltr"] .home-slide p {
    margin-inline-start: 0;
    margin-inline-end: auto;
}
@keyframes homeSlideDrift {
    from { transform: scale(1.02); }
    to { transform: scale(1.075); }
}

@media (min-width: 981px) and (max-height: 820px) {
    .home-carousel {
        height: min(86svh, 700px);
        min-height: 640px;
    }
    .home-slide-copy {
        bottom: clamp(76px, 11vh, 104px);
    }
    .home-slide h1 {
        font-size: clamp(38px, 3.5vw, 56px);
    }
    .home-slide p {
        margin-top: 18px;
        font-size: 17px;
    }
}

.home-best-sellers,
.home-products,
.home-new,
.home-sale {
    position: relative;
    z-index: 5;
    background:
        linear-gradient(180deg, var(--section-wash), transparent 42%),
        var(--bg);
}
.home-best-sellers {
    padding-top: 46px;
}
.home-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 22px;
}
.home-section-head h2 {
    margin: 0;
    font-size: 42px;
    line-height: 1.08;
    letter-spacing: 0;
}
.home-product-grid {
    display: grid;
    gap: 18px;
}
.home-product-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.home-product-card {
    display: block;
    color: var(--text);
}
.home-product-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 8px;
    background: var(--panel);
}
.home-product-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-product-card-name {
    display: block;
    margin-top: 12px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
}
.home-category-stack {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}
.home-section-head--categories {
    margin-bottom: 0;
}
.home-section-head--categories h2 {
    font-size: 38px;
}
.home-category-grid {
    display: grid;
    gap: 18px;
}
.home-category-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.home-category-grid--1 {
    grid-template-columns: 1fr;
}
.home-category-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.home-category-card {
    display: block;
    color: var(--text);
}
.home-category-grid--1 .home-category-card {
    min-height: 0;
}
.home-category-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
}
.home-category-card::after {
    display: none;
}
.home-category-card span {
    display: block;
    margin-top: 12px;
    color: var(--text);
    font-size: 20px;
    line-height: 1.35;
    font-weight: 800;
    letter-spacing: 0;
}
.home-sale {
    padding-top: 16px;
}
.catalog-tag--sale {
    background: var(--primary);
    color: var(--btn-primary-text);
}
.catalog-tag--new {
    background: var(--primary);
    color: var(--btn-primary-text);
}
.catalog-tag--bestseller {
    background: var(--primary);
    color: var(--btn-primary-text);
}

@media (max-width: 980px) {
    .home-carousel {
        height: 78svh;
        min-height: 560px;
        max-height: 720px;
    }
    .home-slide-copy {
        bottom: clamp(70px, 11vh, 104px);
        width: calc(100% - 48px);
    }
    .home-slide h1 {
        font-size: clamp(32px, 5.5vw, 48px);
    }
    .home-slide p {
        max-width: 520px;
        font-size: 16px;
    }
    .home-product-grid--three,
    .home-category-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-category-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-carousel {
        height: 74svh;
        min-height: 520px;
        max-height: 640px;
    }
    .home-slide-copy {
        inset-inline: 0;
        width: calc(100% - 48px);
        bottom: clamp(58px, 10vh, 78px);
    }
    .home-slide h1 {
        font-size: clamp(28px, 10vw, 36px);
        line-height: .92;
    }
    .home-slide p {
        max-width: 310px;
        margin-top: 14px;
        font-size: 14px;
        line-height: 1.65;
        font-weight: 700;
    }
    .home-section-head {
        display: block;
        margin-bottom: 18px;
    }
    .home-section-head h2 {
        font-size: 31px;
    }
    .home-section-head--categories h2 {
        font-size: 29px;
    }
    .home-product-grid--scroll {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 14px;
        margin-inline: 0;
        padding: 2px 0 12px;
        max-width: 100%;
    }
    .home-product-grid--scroll::-webkit-scrollbar {
        display: none;
    }
    .home-product-grid--scroll .home-product-card {
        flex: 0 0 min(76vw, 292px);
        scroll-snap-align: start;
    }
    .home-category-grid--1,
    .home-category-grid--2,
    .home-category-grid--3 {
        display: grid;
        overflow: visible;
        gap: 10px;
        margin-inline: 0;
        padding: 0;
        max-width: 100%;
    }
    .home-category-grid--1 {
        grid-template-columns: 1fr;
    }
    .home-category-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .home-category-grid--3 {
        grid-template-columns: 1fr;
    }
    .products-catalog-page {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 14px;
        margin-inline: 0;
        padding: 2px 0 12px;
        max-width: 100%;
    }
    .products-catalog-page::-webkit-scrollbar {
        display: none;
    }
    .products-catalog-page .catalog-tile {
        flex: 0 0 min(76vw, 292px);
        scroll-snap-align: start;
    }
    .home-category-card {
        min-height: 0;
    }
    .home-category-grid--1 .home-category-card {
        min-height: 0;
    }
    .home-category-card span {
        font-size: 17px;
    }
    .products-page {
        padding-top: 18px;
    }
    .product-detail-page {
        padding-top: 18px !important;
    }
    .products-page .products-filters {
        display: flex;
        grid-template-columns: none;
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-inline: 0;
        padding-inline: 0;
        max-width: 100%;
    }
    .products-page .products-filters::-webkit-scrollbar {
        display: none;
    }
    .products-page .products-filter {
        flex: 0 0 auto;
        flex-direction: row;
        min-height: 46px;
        padding: 10px 14px;
        font-size: 12px;
        scroll-snap-align: start;
    }
    .products-page .products-catalog-page {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 14px;
        margin-inline: 0;
        padding: 2px 0 12px;
        max-width: 100%;
    }
    .products-page .products-catalog-page::-webkit-scrollbar {
        display: none;
    }
    .products-page .products-catalog-page .catalog-tile {
        flex: 0 0 min(76vw, 292px);
        scroll-snap-align: start;
    }
    .products-group-head {
        margin-bottom: 12px;
    }
    .products-group-head h2 {
        font-size: 23px;
    }
}

/* ===================== Integrated Header + Full Hero ===================== */
.site-header {
    position: relative;
    top: auto;
    inset-inline: 0;
    z-index: 200;
    padding: max(16px, env(safe-area-inset-top, 0px)) 0 12px;
    background: transparent;
    pointer-events: none;
}

.page-home .site-header {
    position: fixed;
    top: max(18px, env(safe-area-inset-top, 0px));
    padding: 0;
}

.header-shell {
    width: min(1200px, calc(100% - 48px));
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    overflow: visible;
    gap: clamp(14px, 2vw, 28px);
    color: var(--nav-text);
    pointer-events: auto;
}

html[data-theme="dark"] .header-shell {
    color: var(--beige);
}

html[data-theme="light"] .header-shell {
    color: #5a4944;
}

.page-home .header-shell {
    color: var(--beige);
    text-shadow:
        0 1px 2px rgba(var(--ink-rgb), .92),
        0 8px 22px rgba(var(--ink-rgb), .78);
}

.header-nav {
    gap: clamp(8px, 1.4vw, 18px);
}

.header-nav a,
html[data-theme="light"] .header-nav a,
html[data-theme="light"] .header-nav a:hover,
html[data-theme="light"] .header-nav a.is-active {
    position: relative;
    min-height: 40px;
    padding: 6px 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: 14px;
    font-weight: 800;
    text-shadow: inherit;
    transition: opacity .2s ease, transform .2s ease;
}

.header-nav a:hover,
.header-nav a.is-active {
    background: transparent;
    color: inherit;
    opacity: .78;
}

.header-nav a.is-active::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 5px;
    height: 1px;
    background: currentColor;
}

.lang-switch,
.theme-switch,
.nav-toggle,
.btn-header,
html[data-theme="light"] .lang-switch,
html[data-theme="light"] .theme-switch,
html[data-theme="light"] .nav-toggle,
html[data-theme="light"] .btn-header,
html[data-theme="dark"] .lang-switch,
html[data-theme="dark"] .theme-switch,
html[data-theme="dark"] .nav-toggle {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: inherit;
    text-shadow: inherit;
}

.lang-switch:hover,
.theme-switch:hover,
.btn-header:hover {
    background: transparent;
    border-color: transparent;
    color: inherit;
    opacity: .78;
}

.btn-header {
    min-height: 40px;
    padding: 6px 2px;
    font-weight: 800;
}

.nav-toggle {
    border-radius: 0;
}

.nav-toggle span,
html[data-theme="light"] .nav-toggle span {
    background: currentColor;
    box-shadow: 0 1px 2px rgba(var(--ink-rgb), .8);
}

.nav-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.home-carousel {
    height: clamp(640px, 92svh, 860px);
    min-height: 640px;
    max-height: none;
    background: var(--bg);
}

.home-slide-shade,
html[dir="rtl"] .home-slide-shade,
html[dir="ltr"] .home-slide-shade {
    display: none;
}

.home-slide-copy {
    width: min(1180px, calc(100% - 64px));
    bottom: clamp(82px, 13svh, 136px);
    isolation: isolate;
}

.home-slide-copy::before {
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    inset-block: clamp(-34px, -3vw, -22px);
    inset-inline-start: clamp(-48px, -3vw, -24px);
    width: min(920px, calc(100% + 96px));
    height: calc(100% + clamp(68px, 7vw, 112px));
    background-image: url("../images/site/hero-content-backdrop.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

html[dir="rtl"] .home-slide-copy::before {
    inset-inline-start: auto;
    inset-inline-end: clamp(-48px, -3vw, -24px);
}

.home-slide-copy h1,
.home-slide-copy p {
    position: relative;
    z-index: 1;
}

.home-slide h1,
html[data-theme="light"] .home-slide h1 {
    max-width: min(780px, 100%);
    color: #fff;
    font-size: clamp(44px, 5.2vw, 82px);
    line-height: .92;
    font-weight: 900;
    letter-spacing: 0;
    text-wrap: balance;
    -webkit-text-stroke: .55px rgba(90, 73, 68, .32);
    paint-order: stroke fill;
    text-shadow:
        0 1px 1px rgba(var(--ink-rgb), .76),
        1px 0 0 rgba(var(--ink-rgb), .36),
        -1px 0 0 rgba(var(--ink-rgb), .36),
        0 3px 8px rgba(var(--ink-rgb), .42);
}

.home-slide p,
html[data-theme="light"] .home-slide p {
    max-width: min(660px, 100%);
    color: #fff;
    font-size: clamp(16px, 1.3vw, 21px);
    line-height: 1.75;
    font-weight: 800;
    text-wrap: pretty;
    -webkit-text-stroke: .18px rgba(90, 73, 68, .28);
    paint-order: stroke fill;
    text-shadow:
        0 1px 1px rgba(var(--ink-rgb), .68),
        1px 0 0 rgba(var(--ink-rgb), .28),
        -1px 0 0 rgba(var(--ink-rgb), .28),
        0 3px 8px rgba(var(--ink-rgb), .34);
}

html[dir="rtl"] .home-slide h1,
html[dir="rtl"] .home-slide p {
    margin-inline-start: 0;
    margin-inline-end: auto;
    text-align: right;
}

html[dir="ltr"] .home-slide h1,
html[dir="ltr"] .home-slide p {
    margin-inline-start: 0;
    margin-inline-end: auto;
    text-align: left;
}

@media (min-width: 1025px) {
    .page-home .header-nav {
        gap: 11px;
    }

    .page-home .header-nav a,
    html[data-theme="light"] .page-home .header-nav a,
    html[data-theme="dark"] .page-home .header-nav a {
        font-size: 12px;
    }

    html[dir="rtl"] .page-home .header-nav {
        justify-content: flex-end;
    }

    html[dir="ltr"] .page-home .header-nav {
        justify-content: flex-start;
    }
}

@media (max-width: 1024px) {
    .site-header {
        top: auto;
        padding: max(14px, env(safe-area-inset-top, 0px)) 0 10px;
        background: transparent;
    }

    .page-home .site-header {
        top: max(16px, env(safe-area-inset-top, 0px));
        padding: 0;
    }

    .header-shell {
        width: calc(100% - 32px);
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .header-nav {
        top: calc(100% + 16px);
        padding: 14px;
        border-radius: 18px;
        border: 1px solid rgba(var(--ink-rgb), .12);
        background: rgba(var(--beige-rgb), .96);
        color: var(--ink);
        box-shadow: 0 18px 40px rgba(var(--ink-rgb), .18);
        text-shadow: none;
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    html[data-theme="light"] .header-nav {
        background: rgba(var(--white-rgb), .96);
        color: #5a4944;
        border-color: rgba(90, 73, 68, .16);
        box-shadow: 0 18px 38px rgba(var(--ink-rgb), .12);
    }

    html[data-theme="dark"] .header-nav {
        background: rgba(var(--beige-rgb), .95);
        color: var(--ink);
        border-color: rgba(var(--ink-rgb), .14);
    }

    .page-home .header-nav,
    html[data-theme="dark"] .page-home .header-nav {
        background: rgba(var(--beige-rgb), .92);
        color: var(--ink);
        border-color: rgba(var(--ink-rgb), .14);
        box-shadow: 0 20px 46px rgba(var(--ink-rgb), .26);
    }

    html[data-theme="light"] .page-home .header-nav {
        background: rgba(var(--white-rgb), .94);
        color: #5a4944;
        border-color: rgba(90, 73, 68, .18);
        box-shadow: 0 18px 42px rgba(var(--ink-rgb), .14);
    }

    .header-nav a,
    html[data-theme="light"] .header-nav a,
    html[data-theme="dark"] .header-nav a {
        justify-content: flex-start;
        min-height: 46px;
        padding: 9px 12px;
        border-radius: 12px;
        color: inherit;
        border: 1px solid transparent;
        background: transparent;
    }

    .header-nav a:hover,
    .header-nav a.is-active,
    html[data-theme="light"] .header-nav a:hover,
    html[data-theme="light"] .header-nav a.is-active,
    html[data-theme="dark"] .header-nav a:hover,
    html[data-theme="dark"] .header-nav a.is-active {
        opacity: 1;
        background: rgba(var(--ink-rgb), .07);
        border-color: rgba(var(--ink-rgb), .1);
        border-radius: 12px;
    }

    .header-nav a.is-active::after {
        display: none;
    }

    html[dir="rtl"] .header-nav a {
        justify-content: flex-end;
    }
}

@media (max-width: 640px) {
    .site-header {
        position: relative;
        top: auto;
        padding: max(12px, env(safe-area-inset-top, 0px)) 0 10px;
        background: transparent;
    }

    .page-home .site-header {
        position: fixed;
        top: max(16px, env(safe-area-inset-top, 0px));
        padding: 0;
    }

    .header-shell {
        width: calc(100% - 28px);
    }

    .header-tools {
        gap: 8px;
    }

    .lang-switch,
    .theme-switch,
    .nav-toggle {
        width: 38px;
        min-width: 38px;
        height: 38px;
        padding: 0;
    }

    .brand-logo {
        height: 42px;
        max-width: min(146px, 42vw);
    }

    .home-carousel {
        height: 100vh;
        height: 100svh;
        min-height: 100vh;
        min-height: 100svh;
        max-height: none;
    }

    @supports (height: 100dvh) {
        .home-carousel {
            height: 100dvh;
            min-height: 100dvh;
        }
    }

    .home-slide-copy {
        width: calc(100% - 36px);
        bottom: max(72px, calc(56px + env(safe-area-inset-bottom, 0px)));
    }

    .home-slide-copy::before {
        inset-block: -26px;
        inset-inline-start: -28px;
        width: calc(100% + 56px);
        height: calc(100% + 74px);
    }

    html[dir="rtl"] .home-slide-copy::before {
        inset-inline-start: auto;
        inset-inline-end: -28px;
    }

    .home-slide h1,
    html[data-theme="light"] .home-slide h1 {
        font-size: clamp(38px, 13vw, 58px);
        line-height: .94;
        -webkit-text-stroke-width: .75px;
    }

    .home-slide p,
    html[data-theme="light"] .home-slide p {
        max-width: min(340px, 100%);
        margin-top: 14px;
        font-size: 15px;
        line-height: 1.65;
        -webkit-text-stroke-width: .2px;
    }
}

/* ===================== Home Section Refinements ===================== */
.page-home .section {
    padding-block: clamp(20px, 3.4vw, 34px);
}

.page-home .home-best-sellers {
    padding-top: clamp(22px, 3vw, 30px);
}

.page-home .home-section-head {
    margin-bottom: 12px;
}

.page-home .home-category-stack {
    gap: 10px;
    margin-top: 12px;
}

.page-home .home-product-grid,
.page-home .home-category-grid {
    gap: 12px;
}

.page-home .home-product-card-img,
.page-home .home-category-card img {
    border-radius: 14px;
}

html[data-theme="light"] .page-home .home-slide h1,
html[data-theme="light"] .page-home .home-slide p {
    color: #fff;
    -webkit-text-stroke-color: rgba(90, 73, 68, .3);
    text-shadow:
        0 1px 1px rgba(90, 73, 68, .34),
        1px 0 0 rgba(90, 73, 68, .2),
        -1px 0 0 rgba(90, 73, 68, .2),
        0 2px 4px rgba(var(--ink-rgb), .16);
}

html[data-theme="light"] .page-home .home-slide h1 {
    -webkit-text-stroke-width: .45px;
}

html[data-theme="light"] .page-home .home-slide p {
    -webkit-text-stroke-width: .14px;
}

@media (min-width: 1025px) {
    .page-home .section > .container {
        width: min(1260px, calc(100% - 32px));
    }

    .page-home .header-nav {
        gap: 9px;
    }

    .page-home .header-nav a,
    html[data-theme="light"] .page-home .header-nav a,
    html[data-theme="dark"] .page-home .header-nav a {
        font-size: 11.5px;
    }
}

@media (max-width: 640px) {
    .page-home .section {
        padding-block: 18px;
    }

    .page-home .home-section-head {
        margin-bottom: 10px;
    }

    .page-home .home-category-stack {
        gap: 10px;
        margin-top: 10px;
    }

    .page-home .home-product-grid--scroll {
        gap: 10px;
    }

    .page-home .home-product-grid--scroll .home-product-card,
    .page-home .products-catalog-page .catalog-tile {
        flex-basis: min(82vw, 316px);
    }
}

/* Larger imagery for the Collection section */
.page-home .home-products > .container {
    width: min(1360px, calc(100% - 20px));
}

.page-home .home-products .home-category-grid {
    gap: 10px;
}

.page-home .home-products .home-category-card img {
    aspect-ratio: 16 / 10;
    border-radius: 16px;
}

.page-home .home-products .home-category-card span {
    margin-top: 14px;
    font-size: clamp(22px, 2.1vw, 28px);
    line-height: 1.22;
    font-weight: 850;
}

.page-home .home-products .home-category-grid--1 .home-category-card img {
    aspect-ratio: 16 / 9.4;
}

@media (max-width: 640px) {
    .page-home .home-products > .container {
        padding-inline: 8px;
    }

    .page-home .home-products .home-category-grid {
        gap: 8px;
    }

    .page-home .home-products .home-category-card img,
    .page-home .home-products .home-category-grid--1 .home-category-card img {
        aspect-ratio: 4 / 3;
        border-radius: 16px;
    }

    .page-home .home-products .home-category-card span {
        margin-top: 10px;
        font-size: clamp(18px, 5vw, 22px);
        line-height: 1.25;
    }
}
