/* Gulf-style luxury storefront — dark theme, gold accents, EN/AR */
.theme-gulf {
    --gold: #d4af37;
    --gold-dim: #9a7b2e;
    --gold-bright: #f0dc82;
    --gold-glow: rgba(212, 175, 55, 0.35);
    --bg: #0c0c0c;
    --bg-elevated: #141414;
    --bg-card: #1a1a1a;
    --bg-card-hover: #222;
    --bg-warm: #18140f;
    --ink: #f5f2eb;
    --ink-muted: #a8a29a;
    --accent: var(--gold);
    --accent-dark: var(--gold-dim);
    --accent-soft: rgba(212, 175, 55, 0.12);
    --white: #fff;
    --border: rgba(212, 175, 55, 0.22);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 16px 48px rgba(0, 0, 0, 0.55);
    --font-sans: "Tajawal", system-ui, sans-serif;
    --font-serif: "El Messiri", Georgia, serif;
    --space: clamp(1rem, 4vw, 2rem);
    --container: 76rem;
    --radius: 4px;
    --radius-lg: 14px;
    --header-h: 4.25rem;
}

.theme-gulf.lang-en {
    --font-serif: "Playfair Display", "El Messiri", Georgia, serif;
}

.theme-gulf.lang-ar {
    --font-serif: "El Messiri", Georgia, serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    text-align: start;
}

.lang-ar body {
    font-size: 1.1rem;
    line-height: 1.75;
}

.skip-link {
    position: absolute;
    inset-inline-start: -9999px;
    top: 0;
    z-index: 200;
    padding: 0.75rem 1rem;
    background: var(--gold);
    color: #111;
    font-weight: 600;
}

.skip-link:focus {
    inset-inline-start: var(--space);
    top: var(--space);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gold-bright);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--white);
}

.container {
    width: min(100% - var(--space) * 2, var(--container));
    margin-inline: auto;
}

.narrow {
    max-width: 38rem;
}

/* Top bar */
.top-bar {
    background: #050505;
    color: var(--ink-muted);
    font-size: 0.8rem;
    border-bottom: 1px solid var(--border-subtle);
}

.top-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1.25rem;
    min-height: 2.5rem;
    padding-block: 0.4rem;
}

.top-bar__promo {
    margin: 0;
    color: var(--gold-bright);
    letter-spacing: 0.04em;
}

.lang-ar .top-bar__promo {
    letter-spacing: 0.02em;
}

.top-bar__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.top-bar__link {
    color: var(--ink-muted);
    text-decoration: none;
}

.top-bar__link:hover {
    color: var(--gold);
}

.top-bar__link--wa {
    color: #25d366;
}

.top-bar__link--wa:hover {
    color: #4dff8f;
}

@media (max-width: 640px) {
    .top-bar__inner {
        justify-content: center;
        text-align: center;
    }

    .top-bar__actions {
        justify-content: center;
    }
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(12, 12, 12, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
    padding-block: 0.5rem;
    position: relative;
}

.header-right {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.35rem);
    flex: 1;
    justify-content: flex-end;
}

.logo {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3.5vw, 1.85rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--ink);
    text-decoration: none;
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 50%, var(--gold-dim) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 40px var(--gold-glow);
}

.logo:hover {
    filter: brightness(1.15);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.lang-switcher__sep {
    color: var(--border);
    user-select: none;
}

.lang-switcher__link {
    text-decoration: none;
    color: var(--ink-muted);
    padding: 0.3rem 0.45rem;
    border-radius: 4px;
}

.lang-switcher__link:hover {
    color: var(--gold);
    background: var(--accent-soft);
}

.lang-switcher__link.is-active {
    color: var(--gold-bright);
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    padding: 0;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    background: var(--bg-elevated);
    color: var(--gold-bright);
    cursor: pointer;
    font-size: 1.05rem;
    line-height: 1;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.theme-toggle:hover {
    border-color: var(--gold);
    background: var(--accent-soft);
    color: var(--gold);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 2px;
}

.theme-toggle__moon {
    display: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold);
    border-radius: 1px;
}

.site-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
    align-items: center;
    justify-content: flex-end;
}

.site-nav a {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink-muted);
}

.lang-ar .site-nav a {
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.9rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--gold);
}

.nav-cart {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-cart__icon {
    display: inline-flex;
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    color: inherit;
}

.nav-cart__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.nav-cart__label {
    line-height: 1.2;
}

.nav-cart .cart-badge {
    display: inline-block;
    min-width: 1.25rem;
    padding: 0 0.35rem;
    font-size: 0.68rem;
    line-height: 1.25rem;
    text-align: center;
    background: var(--gold);
    color: #111;
    border-radius: 999px;
    vertical-align: middle;
    font-weight: 700;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }

    .site-nav {
        position: absolute;
        inset-inline: 0;
        top: 100%;
        background: var(--bg-elevated);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        padding: 1rem var(--space) 1.25rem;
        display: none;
    }

    .site-nav.is-open {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.35rem;
    }

    .site-nav a {
        display: block;
        padding: 0.55rem 0;
        border-bottom: 1px solid var(--border-subtle);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.95rem 2rem;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: var(--radius);
    transition: background 0.2s, color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.lang-ar .btn {
    text-transform: none;
    letter-spacing: 0.03em;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(145deg, var(--gold-bright), var(--gold) 45%, var(--gold-dim));
    color: #1a1508;
    box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
    filter: brightness(1.08);
    transform: translateY(-2px);
    color: #1a1508;
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--accent-soft);
    color: var(--gold-bright);
}

.btn-outline--light {
    border-color: rgba(255, 255, 255, 0.35);
    color: var(--ink);
}

.btn-outline--light:hover {
    border-color: var(--gold);
    color: var(--gold-bright);
    background: rgba(212, 175, 55, 0.08);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: var(--accent-soft);
}

.text-link {
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    color: var(--gold-bright);
}

.text-link:hover {
    color: var(--white);
}

.text-link--gold {
    color: var(--gold);
}

.btn-text {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--ink-muted);
    text-decoration: underline;
    cursor: pointer;
}

.btn-text:hover {
    color: var(--gold);
}

/* Hero */
.hero {
    position: relative;
    min-height: min(78vh, 36rem);
    display: flex;
    align-items: center;
    padding-block: clamp(2.75rem, 6vw, 3.75rem);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 80% at 50% 0%, rgba(212, 175, 55, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 50% at 100% 100%, rgba(90, 70, 30, 0.25), transparent),
        linear-gradient(180deg, #12100c 0%, var(--bg) 100%);
    z-index: 0;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.9;
    z-index: 0;
}

.hero-shine {
    position: absolute;
    inset-inline-end: -20%;
    top: -30%;
    width: 70%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.08), transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 34rem;
}

.hero-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 0.65rem;
}

.lang-ar .hero-eyebrow {
    letter-spacing: 0.18em;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 9vw, 5rem);
    font-weight: 600;
    line-height: 1.05;
    margin: 0 0 1.35rem;
    color: var(--ink);
}

.hero-title__gold {
    display: inline-block;
    background: linear-gradient(120deg, var(--gold-bright), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lang-ar .hero-title__gold {
    font-weight: 700;
}

.hero-lead {
    font-size: 1.02rem;
    color: var(--ink-muted);
    margin: 0 0 1.65rem;
    max-width: 28rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.hero-actions .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.76rem;
}

/* Trust strip */
.trust-strip {
    background: var(--bg-elevated);
    border-block: 1px solid var(--border-subtle);
}

.trust-strip__inner {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-block: 1rem;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-muted);
}

.trust-strip__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.trust-strip__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 12px var(--gold-glow);
}

@media (max-width: 640px) {
    .trust-strip__inner {
        grid-template-columns: 1fr;
        text-align: start;
        justify-items: stretch;
    }

    .trust-strip__item {
        justify-content: flex-start;
    }

    [dir="rtl"] .trust-strip__item {
        justify-content: flex-end;
        flex-direction: row-reverse;
    }
}

/* Category tiles */
.section--categories {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
}

.section-head--left {
    text-align: start;
}

.section-head--left .section-sub {
    margin-inline: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 900px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
}

.cat-tile {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.cat-tile:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cat-tile__media {
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
}

.cat-tile__media--all {
    background: linear-gradient(145deg, #2a2418, #1a1610);
}

.cat-tile__media--women {
    background: linear-gradient(145deg, #4a3048, #1f1418);
}

.cat-tile__media--men {
    background: linear-gradient(145deg, #2c3540, #12161a);
}

.cat-tile__media--unisex {
    background: linear-gradient(145deg, #3d4a38, #161a14);
}

.cat-tile__body {
    padding: 1.1rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cat-tile__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ink);
}

.cat-tile:hover .cat-tile__title {
    color: var(--gold-bright);
}

.cat-tile__sub {
    font-size: 0.85rem;
    color: var(--ink-muted);
}

/* Sections */
.section {
    padding-block: clamp(3.5rem, 9vw, 6rem);
}

.featured {
    background: var(--bg);
}

.section-head {
    text-align: center;
    margin-bottom: 2.75rem;
}

.section-head h2,
.page-hero h1,
.product-detail-copy h1 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(2rem, 5vw, 2.9rem);
    margin: 0 0 0.5rem;
    color: var(--ink);
}

.section-sub,
.page-lead {
    margin: 0;
    color: var(--ink-muted);
    font-size: 1.05rem;
    max-width: 36rem;
}

.section-head .section-sub {
    margin-inline: auto;
}

.section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

.page-hero {
    padding-block: clamp(2.75rem, 6vw, 4.25rem);
    border-bottom: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
}

.page-hero--compact .page-lead {
    max-width: 34rem;
}

/* Product grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(16.5rem, 1fr));
    gap: 1.75rem;
}

.product-grid--large {
    grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
}

.product-card {
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.25s;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: var(--border);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.15);
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex-grow: 1;
}

.product-card__frame {
    position: relative;
    padding: 1rem;
    background: linear-gradient(180deg, #222 0%, var(--bg-card) 100%);
}

.product-card__meta {
    padding: 0 1.15rem 1.35rem;
}

.product-card h3 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    line-height: 1.25;
    color: var(--ink);
}

.product-card-link:hover h3 {
    color: var(--gold-bright);
}

.product-cat {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 0.35rem;
}

.lang-ar .product-cat {
    letter-spacing: 0.06em;
    text-transform: none;
    font-size: 0.8rem;
}

.product-notes {
    font-size: 0.9rem;
    color: var(--ink-muted);
    margin: 0 0 0.6rem;
    line-height: 1.5;
}

.product-notes--large {
    font-size: 1.02rem;
}

.product-price {
    font-weight: 700;
    margin: 0;
    font-variant-numeric: tabular-nums;
    color: var(--gold-bright);
    font-size: 1.1rem;
}

.product-price--large {
    font-size: 1.45rem;
    margin-top: 1.1rem;
}

/* Abstract bottle visuals */
.product-visual {
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #252525, #121212);
    border: 1px solid var(--border-subtle);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: box-shadow 0.25s;
}

.product-card:hover .product-visual {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 32px rgba(212, 175, 55, 0.08);
}

.product-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 35% 15%, rgba(212, 175, 55, 0.15), transparent 45%);
    pointer-events: none;
}

.product-visual::after {
    content: "";
    position: absolute;
    inset: 18% 32%;
    border-radius: 2px 2px 42% 42%;
    opacity: 0.9;
    box-shadow: inset 0 -12px 32px rgba(0, 0, 0, 0.45);
}

.product-visual--velvet-oud::after {
    background: linear-gradient(180deg, #3d2c24, #1a1410);
}

.product-visual--citrus-dore::after {
    background: linear-gradient(180deg, #f5e6c8, #d4a84b);
}

.product-visual--noir-epice::after {
    background: linear-gradient(180deg, #2c2c2c, #0d0d0d);
}

.product-visual--jardin-minuit::after {
    background: linear-gradient(180deg, #e8dce8, #6b4d6b);
}

.product-visual--mer-sel::after {
    background: linear-gradient(180deg, #c5d4e0, #6a8fa3);
}

.product-visual--cuir-royal::after {
    background: linear-gradient(180deg, #5c4033, #2a1f1a);
}

.product-visual--hero {
    max-height: 34rem;
}

.product-detail-visual-wrap {
    position: relative;
}

.product-detail-visual-wrap::after {
    content: "";
    position: absolute;
    inset: -8%;
    background: radial-gradient(ellipse at center, var(--gold-glow), transparent 70%);
    z-index: -1;
    border-radius: 50%;
    opacity: 0.5;
}

/* Promise */
.promise {
    background: linear-gradient(160deg, #161008 0%, #0a0908 50%, #12100c 100%);
    color: #e7e5e4;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
}

.promise::before {
    content: "";
    position: absolute;
    inset-inline-end: -15%;
    top: -50%;
    width: 55%;
    height: 140%;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.1), transparent 60%);
    pointer-events: none;
}

.promise a {
    color: var(--gold-bright);
}

.promise-inner {
    display: grid;
    gap: 2.75rem;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .promise-inner {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.promise h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.9rem, 4vw, 2.45rem);
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--white);
}

.promise p {
    color: var(--ink-muted);
    margin: 0 0 1.5rem;
}

.promise-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.promise-list li {
    display: flex;
    gap: 1rem;
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 1rem;
    align-items: baseline;
}

[dir="rtl"] .promise-list li {
    flex-direction: row-reverse;
    text-align: start;
}

.promise-list span {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    color: var(--gold);
    flex-shrink: 0;
}

/* Filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 2.75rem;
}

.filter-pill {
    padding: 0.55rem 1.2rem;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ink-muted);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    background: var(--bg-card);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.lang-ar .filter-pill {
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.88rem;
}

.filter-pill:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.filter-pill.is-active {
    color: #1a1508;
    background: linear-gradient(145deg, var(--gold-bright), var(--gold));
    border-color: var(--gold);
}

.empty-state {
    text-align: center;
    color: var(--ink-muted);
    padding: 3.5rem 1rem;
}

/* Product detail */
.product-detail {
    padding-block: clamp(2.25rem, 5vw, 3.5rem);
}

.product-detail-grid {
    display: grid;
    gap: 2.75rem;
    align-items: center;
}

@media (min-width: 900px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: clamp(2rem, 5vw, 4.5rem);
    }
}

.product-detail-desc {
    color: var(--ink-muted);
    margin: 1rem 0 0;
}

.add-form {
    margin-top: 1.85rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

.qty-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 0.5rem;
}

.lang-ar .qty-label {
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 0.82rem;
}

.add-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.qty-input {
    width: 4.25rem;
    padding: 0.7rem;
    font: inherit;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    color: var(--ink);
}

/* Product variants — button-style options */
.variant-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1rem;
    max-width: 28rem;
}

.variant-pill {
    position: relative;
    display: inline-flex;
    cursor: pointer;
    margin: 0;
    font: inherit;
}

.variant-pill__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

.variant-pill__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    min-width: 5.25rem;
    padding: 0.65rem 1rem;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    background: var(--bg-card);
    color: var(--ink-muted);
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.variant-pill:hover .variant-pill__body {
    border-color: var(--gold);
    color: var(--gold);
}

.variant-pill.is-active .variant-pill__body,
.variant-pill:focus-within .variant-pill__body {
    color: #1a1508;
    background: linear-gradient(145deg, var(--gold-bright), var(--gold));
    border-color: var(--gold);
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.25);
}

.variant-pill__label {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.2;
}

.lang-ar .variant-pill__label {
    font-size: 0.95rem;
}

.variant-pill__price {
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
    opacity: 0.92;
}

.variant-pill.is-active .variant-pill__price {
    color: #1a1508;
    opacity: 1;
}

.related h2 {
    font-family: var(--font-serif);
    font-size: 1.85rem;
    font-weight: 600;
    margin: 0 0 1.75rem;
}

/* Prose */
.prose-section .lead-paragraph {
    font-size: 1.22rem;
    line-height: 1.7;
}

.prose-section p {
    color: var(--ink-muted);
}

/* Contact */
.contact-grid {
    display: grid;
    gap: 2.75rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact-aside p {
    margin: 0 0 1.35rem;
    color: var(--ink-muted);
}

.contact-form label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 0.4rem;
    margin-top: 1.1rem;
}

.lang-ar .contact-form label {
    text-transform: none;
    letter-spacing: 0.03em;
    font-size: 0.82rem;
}

.contact-form label:first-of-type {
    margin-top: 0;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font: inherit;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    background: var(--bg-card);
    color: var(--ink);
}

.contact-form button {
    margin-top: 1.6rem;
}

.alert {
    padding: 1.1rem 1.35rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
    border-color: rgba(34, 197, 94, 0.25);
}

.alert-error {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.25);
}

.alert ul {
    margin: 0;
    padding-inline-start: 1.25rem;
}

.alert code {
    font-size: 0.85em;
    background: rgba(0, 0, 0, 0.25);
    padding: 0.1em 0.35em;
    border-radius: 4px;
}

/* Cart */
.cart-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cart-line {
    display: grid;
    grid-template-columns: 5rem 1fr auto;
    gap: 1.35rem;
    align-items: start;
    padding: 1.6rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.cart-line-qty {
    margin: 0.35rem 0 0;
    font-size: 0.92rem;
    color: var(--ink-muted);
    font-variant-numeric: tabular-nums;
}

.cart-line-visual {
    text-decoration: none;
    min-height: 6.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border-subtle);
}

.cart-line-info h2 {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.4rem;
    line-height: 1.3;
}

.cart-line-info h2 a {
    color: inherit;
    text-decoration: none;
}

.cart-line-info h2 a:hover {
    color: var(--gold);
}

.cart-line-actions {
    text-align: end;
}

.cart-total {
    margin-top: 2.25rem;
    padding-top: 1.6rem;
    border-top: 2px solid var(--gold);
}

.cart-total p {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    font-size: 1.28rem;
    margin: 0 0 1rem;
    color: var(--ink);
}

.cart-total span {
    color: var(--gold-bright);
    font-weight: 700;
}

.cart-note {
    font-size: 0.92rem !important;
    color: var(--ink-muted) !important;
    display: block !important;
    margin-bottom: 1.5rem !important;
    font-weight: 400 !important;
}

.cart-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
    margin-top: 0.5rem;
}

@media (max-width: 600px) {
    .cart-line {
        grid-template-columns: 1fr;
    }

    .cart-line-visual {
        max-width: 8rem;
    }

    .cart-line-actions {
        text-align: start;
    }
}

/* WhatsApp float */
.wa-float {
    position: fixed;
    inset-inline-end: 1.25rem;
    bottom: 1.5rem;
    z-index: 150;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.wa-float:hover {
    transform: scale(1.08);
    color: #fff;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}

.wa-float__icon {
    display: flex;
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, #080808 0%, #030303 100%);
    color: var(--ink-muted);
    padding-block: 3.5rem 1.75rem;
    margin-top: 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-grid {
    display: grid;
    gap: 2.25rem;
}

@media (min-width: 560px) and (max-width: 899px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 900px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }
}

.footer-col--brand {
    max-width: 22rem;
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold-bright);
}

.footer-tagline {
    margin: 0.55rem 0 0;
    font-size: 0.95rem;
    line-height: 1.55;
}

.footer-wa {
    margin: 1.25rem 0 0;
}

.footer-wa__btn {
    display: inline-block;
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: #25d366;
    border-radius: var(--radius);
}

.footer-wa__btn:hover {
    color: #fff;
    filter: brightness(1.08);
}

.footer-heading {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin: 0 0 0.5rem;
}

.lang-ar .footer-heading {
    letter-spacing: 0.06em;
    text-transform: none;
    font-size: 0.8rem;
}

.footer-bottom {
    margin-top: 2.75rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.86rem;
}

.footer-bottom p {
    margin: 0;
    line-height: 1.55;
    color: var(--ink-muted);
}

/* —— Ahmed Fatouh–style shipping strip —— */
.announce-bar {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.04), rgba(212, 175, 55, 0.12));
    border-bottom: 1px solid var(--border-subtle);
}

.announce-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 2.35rem;
    padding-block: 0.35rem;
}

.announce-bar__spark {
    color: var(--gold);
    font-size: 0.75rem;
    opacity: 0.9;
}

.announce-bar__text {
    margin: 0;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gold-bright);
    letter-spacing: 0.03em;
}

.lang-ar .announce-bar__text {
    letter-spacing: 0.02em;
}

/* —— Diamond-style hero headline —— */
.hero-title--mega {
    font-size: clamp(2rem, 6.2vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.55rem;
}

.hero-subline {
    margin: 0 0 0.85rem;
    font-family: var(--font-serif);
    font-size: clamp(1rem, 2.35vw, 1.3rem);
    font-weight: 600;
    color: var(--gold);
}

/* Discover split heading */
.section--discover {
    padding-block: clamp(2.5rem, 6vw, 3.5rem);
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 175, 55, 0.06), transparent);
}

.section-head--split {
    text-align: center;
}

.section-title-split {
    margin: 0 0 0.75rem;
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.15;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    gap: 0.35rem 0.65rem;
}

.section-title-split__pre {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 500;
    color: var(--ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.lang-ar .section-title-split__pre {
    text-transform: none;
    letter-spacing: 0.04em;
}

.section-title-split__em {
    font-size: clamp(2rem, 5vw, 3.25rem);
    background: linear-gradient(120deg, var(--gold-bright), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-cta-inline {
    margin: 1rem 0 0;
}

/* Category counts (Ahmed Fatouh–style) */
.cat-tile__count {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gold);
    margin: 0.2rem 0 0.15rem;
}

/* Feature pills */
.section--features {
    background: var(--bg-elevated);
    border-block: 1px solid var(--border-subtle);
}

.feature-pills {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: 0.65rem;
}

.feature-pills li {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink-muted);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: border-color 0.2s, color 0.2s;
}

.feature-pills li:hover {
    border-color: var(--gold);
    color: var(--ink);
}

/* Product rows + section headers */
.section-head--row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin-bottom: 2rem;
    text-align: start;
}

.section-head--row .section-sub {
    margin-top: 0.35rem;
}

.section--products-row {
    padding-block: clamp(2.75rem, 6vw, 4rem);
}

.section--alt {
    background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg) 100%);
}

.product-grid--row {
    grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
}

@media (min-width: 1100px) {
    .product-grid--row {
        grid-template-columns: repeat(4, 1fr);
    }
}

.btn--sm {
    padding: 0.55rem 1.15rem;
    font-size: 0.72rem;
}

.lang-ar .btn--sm {
    font-size: 0.82rem;
}

/* Bestseller badge */
.product-badge {
    position: absolute;
    top: 0.65rem;
    inset-inline-start: 0.65rem;
    z-index: 2;
    padding: 0.28rem 0.55rem;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a1508;
    background: linear-gradient(145deg, var(--gold-bright), var(--gold));
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.lang-ar .product-badge {
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.68rem;
}

/* Bundles CTA */
.section--bundles {
    padding-block: clamp(2.5rem, 6vw, 3.5rem);
}

.bundles-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, #15120e 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 4vw, 2.75rem);
    box-shadow: var(--shadow-md);
}

.bundles-card__copy h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.65rem, 4vw, 2.1rem);
    margin: 0 0 0.5rem;
    color: var(--ink);
}

.bundles-card__text {
    color: var(--ink-muted);
    margin: 0 0 1.35rem;
    max-width: 36rem;
    line-height: 1.65;
}

/* FAQ (Diamond-style accordion) */
.section--faq {
    padding-bottom: clamp(3rem, 8vw, 5rem);
}

.container.narrow-wide {
    max-width: 46rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-item__summary {
    padding: 1rem 1.15rem;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    color: var(--ink);
}

.faq-item__summary::-webkit-details-marker {
    display: none;
}

.faq-item__summary::after {
    content: "+";
    float: inline-end;
    color: var(--gold);
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 1;
}

.faq-item[open] .faq-item__summary::after {
    content: "−";
}

.faq-item__body {
    padding: 0 1.15rem 1.15rem;
    color: var(--ink-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    border-top: 1px solid var(--border-subtle);
    padding-top: 0.85rem;
    margin-top: 0;
}

/* Header Search */
.header-search {
    position: relative;
    display: flex;
    align-items: center;
    margin-inline-end: 0.75rem;
}

.header-search__input {
    width: 180px;
    padding: 0.5rem 1rem 0.5rem 2.25rem;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--ink);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    transition: width 0.3s ease, border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

[dir="rtl"] .header-search__input {
    padding: 0.5rem 2.25rem 0.5rem 1rem;
}

.header-search__input:focus {
    width: 240px;
    outline: none;
    border-color: var(--gold);
    background: var(--bg-elevated);
    box-shadow: 0 0 0 3px var(--accent-subtle);
}

.header-search__input::placeholder {
    color: var(--ink-muted);
    transition: opacity 0.2s;
    font-weight: 400;
}

.header-search__input:focus::placeholder {
    opacity: 0.5;
}

.header-search__btn {
    position: absolute;
    inset-inline-start: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: transparent;
    border: none;
    color: var(--ink-muted);
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.header-search__input:focus + .header-search__btn,
.header-search__btn:hover {
    color: var(--gold);
}

@media (max-width: 900px) {
    .header-search {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        padding: 0.65rem 1.25rem;
        background: var(--bg);
        border-bottom: 1px solid var(--border-subtle);
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        z-index: 10;
        display: block; /* Ensure full width behavior */
    }
    .header-search__input {
        width: 100%;
        padding: 0.65rem 1rem 0.65rem 2.5rem;
        background: var(--bg-elevated);
        border: 1px solid var(--border);
    }
    [dir="rtl"] .header-search__input {
        padding: 0.65rem 2.5rem 0.65rem 1rem;
    }
    .header-search__input:focus {
        width: 100%;
    }
    .header-search__btn {
        inset-inline-start: 1.85rem;
        top: 50%;
        transform: translateY(-50%);
    }
}

/* Empty State (e.g., No search results) */
.empty-state {
    text-align: center;
    padding: 4rem 1.5rem;
    font-size: 1.15rem;
    color: var(--ink-muted);
    background: var(--bg-card);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: 2rem auto;
    font-family: var(--font-serif);
    animation: fadeIn 0.4s ease-out;
}

/* Configure Modal */
.modal-configure {
    border: none;
    padding: 0;
    margin: auto;
    background: var(--bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    width: 95%;
    color: var(--ink);
}

.modal-configure::backdrop {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
}

.modal-configure__dialog {
    display: flex;
    flex-direction: column;
}

.modal-configure__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.modal-configure__header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-family: var(--font-serif);
}

.modal-configure__close {
    background: transparent;
    border: none;
    color: var(--ink-muted);
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.2s;
}

.modal-configure__close:hover {
    color: var(--ink);
}

.modal-configure__body {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .modal-configure__body {
        flex-direction: row;
    }
}

.modal-configure__image-col {
    flex: 0 0 40%;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
}

.modal-configure__image-col .product-visual {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius);
}

.modal-configure__details-col {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.modal-configure__title {
    margin: 0 0 1.5rem;
    font-size: 1.25rem;
    font-family: var(--font-serif);
    color: var(--ink);
}

.modal-qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.modal-qty-btn {
    background: var(--bg-elevated);
    border: none;
    color: var(--ink);
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    transition: background 0.2s;
}

.modal-qty-btn:hover {
    background: var(--bg-card-hover);
}

.modal-qty-input {
    width: 3rem;
    text-align: center;
    border: none;
    background: transparent;
    color: var(--ink);
    font-weight: 600;
    -moz-appearance: textfield;
}

.modal-qty-input::-webkit-outer-spin-button,
.modal-qty-input::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}

.modal-configure__footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
}

.variant-pills--modal {
    margin-bottom: 2rem;
}

.variant-pill__price-diff {
    color: #b8860b;
    font-size: 0.85em;
    font-weight: bold;
    background: #ffebcd;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    margin-inline-start: 0.5rem;
    display: inline-block;
}

/* Base Theme Daylight Overrides */
.daylight .variant-pill__price-diff {
    background: #fdf5e6;
    color: #8b6508;
}

/* Product Card custom styles */
.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card__actions {
    margin-top: auto;
    padding: 0 1.15rem 1.35rem; /* matched with meta padding */
}

.btn-quick-configure {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: linear-gradient(145deg, var(--gold-bright), var(--gold) 45%, var(--gold-dim));
    border: none;
    color: #1a1508;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    cursor: pointer;
    box-shadow: 0 4px 15px var(--gold-glow);
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s, filter 0.25s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.lang-ar .btn-quick-configure {
    letter-spacing: 0.03em;
    font-size: 0.95rem;
    text-transform: none;
}

.btn-quick-configure::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.btn-quick-configure:hover {
    filter: brightness(1.08);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}

.btn-quick-configure:hover::before {
    left: 200%;
}

.btn-quick-configure svg {
    margin-inline-end: 8px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-quick-configure:hover svg {
    transform: scale(1.15) rotate(-5deg);
}

/* Modal Refined Layout */
.modal-configure__title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.modal-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.modal-configure__price-top {
    font-weight: 800;
    font-size: 1.15rem;
    white-space: nowrap;
    color: var(--ink);
}

.modal-options-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.modal-variants-wrapper {
    flex: 1;
}

.modal-qty-wrapper {
    flex-shrink: 0;
}

.variant-pills--modal .variant-pill {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

 /* Add the Teal active state as seen in screenshot */
html.daylight .variant-pills--modal .variant-pill.is-active,
.variant-pills--modal .variant-pill.is-active {
    border-color: #54a69c;
    background: #eef8f6; 
    color: #111;
}

html.daylight .variant-pills--modal .variant-pill.is-active .variant-pill__price-diff,
.variant-pills--modal .variant-pill.is-active .variant-pill__price-diff {
    background: transparent;
    border: 1px solid #b8860b;
    color: #b8860b;
    border-radius: 12px;
}

