/* 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: 100%;
    margin-inline: auto;
    padding-inline: var(--space);
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1320px;
    }
}

.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: 1.5rem;
    min-height: var(--header-h);
    padding-block: 0.5rem;
    position: relative;
}

.header-right {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 1.5vw, 1.35rem);
    flex-shrink: 0;
    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: nowrap;
    gap: 0.5rem 1.5rem;
    align-items: center;
    justify-content: flex-end;
}

.site-nav a {
    font-size: 0.85rem;
    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);
}

/* Combined login + register group */
.nav-auth-group {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-auth-sep {
    color: var(--border);
    font-size: 0.7rem;
    user-select: none;
    opacity: 0.6;
}

/* Register CTA pill button in nav */
.nav-register-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    padding: 0.38rem 1.05rem !important;
    border: 1px solid var(--gold) !important;
    border-radius: 999px !important;
    color: var(--gold) !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.2s !important;
    line-height: 1.4;
    white-space: nowrap;
}

.nav-register-btn:hover,
.nav-register-btn:focus-visible {
    background: var(--gold) !important;
    color: #1a1508 !important;
    box-shadow: 0 0 18px var(--gold-glow) !important;
    transform: translateY(-1px) !important;
}

.lang-ar .nav-register-btn {
    text-transform: none !important;
    letter-spacing: 0.02em !important;
    font-size: 0.88rem !important;
}

@media (min-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 900px) {
    .nav-register-btn {
        display: inline-block !important;
        width: auto !important;
        border-bottom: none !important;
        padding: 0.45rem 1.2rem !important;
        margin-top: 0.35rem;
    }
}

.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: 42rem;
}

.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: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(1rem, 3vw, 2.5rem);
    padding-block: 1rem;
    padding-inline: 0.5rem;
    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;
    white-space: nowrap;
}

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

@media (max-width: 640px) {
    .trust-strip__inner {
        gap: clamp(0.25rem, 2vw, 1rem);
        font-size: clamp(0.55rem, 2.6vw, 0.85rem);
        justify-content: space-evenly;
    }
    .trust-strip__item {
        gap: 0.35rem;
    }
}

/* 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: 1.5rem;
    margin-top: 1rem;
}

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

@media (max-width: 768px) {
    .cat-slider-wrap {
        position: relative;
        margin-inline: -1rem;
        padding-inline: 1rem;
    }
    .category-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0.75rem;
        padding-bottom: 1.5rem;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .category-grid::-webkit-scrollbar {
        display: none;
    }
    .cat-tile {
        flex: 0 0 calc(50% - 0.375rem);
        scroll-snap-align: start;
        min-width: 0;
    }
    .cat-dots {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        margin-top: -0.5rem;
    }
}
    .cat-tile__media {
        aspect-ratio: 3 / 4;
    }
    .cat-tile__body {
        padding: 0.7rem 0.75rem 0.9rem;
        gap: 0.15rem;
    }
    .cat-tile__title {
        font-size: 0.95rem;
        line-height: 1.25;
    }
    .cat-tile__sub {
        display: none;
    }
    .cat-tile__count {
        font-size: 0.72rem;
        color: var(--gold);
    }
}

/* ── Dots indicator (mobile only) ── */
.cat-dots { display: none; }

@media (max-width: 640px) {
    .cat-slider-wrap { position: relative; }
    .cat-dots {
        display: flex;
        justify-content: center;
        gap: 7px;
        margin-top: 0.9rem;
    }
    .cat-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--border);
        transition: background 0.25s, transform 0.25s;
        cursor: pointer;
    }
    .cat-dot.is-active {
        background: var(--gold);
        transform: scale(1.3);
        width: 22px;
        border-radius: 99px;
    }
}

@keyframes cat-hint {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50%       { opacity: 1;   transform: translateX(4px); }
}

.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.25s, transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    min-width: 0; /* Important for grid/flex */
}

/* Category grid container adjustments */
.discover-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 جنب بعض على الكمبيوتر */
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .discover-grid {
        display: flex !important; /* تحويل لـ flex للموبايل */
        overflow-x: auto; /* سكرول يمين وشمال */
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        gap: 0.75rem;
        margin-inline: -1rem; /* توسيع لملء الشاشة */
        padding-inline: 1rem;
        scrollbar-width: none; /* إخفاء شريط السكرول في فايرفوكس */
    }
    .discover-grid::-webkit-scrollbar {
        display: none; /* إخفاء شريط السكرول في كروم */
    }
    .discover-grid .cat-tile {
        flex: 0 0 calc(50% - 0.375rem); /* اتنين جنب بعض على موبايل */
        scroll-snap-align: start;
    }
}

.cat-tile:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.45), 0 0 0 1px rgba(212,175,55,0.2);
}

.cat-tile__media {
    aspect-ratio: 4 / 3;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
/* subtle shimmer overlay */
.cat-tile__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
}

.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__media--khinat {
    background: linear-gradient(145deg, #d4af37, #8b6914);
    position: relative;
}

.cat-tile__media--khinat::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3), rgba(139, 105, 20, 0.5));
    z-index: 1;
}

.cat-tile__media--khinat::after {
    content: "Khanaat";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.cat-tile__body {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    background: var(--bg-card);
}

.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);
}

.cat-tile__count {
    display: none;
}

/* 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(1rem, 2.5vw, 1.3rem);
    margin: 0 0 0.5rem;
    color: var(--ink);
}

.product-detail {
    padding-top: 1.5rem !important;
}

.product-detail-grid {
    gap: 2rem !important;
}

.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 {
    padding-block: clamp(3rem, 6vw, 4.5rem);
    text-align: center;
    background: radial-gradient(circle at center top, var(--bg-elevated) 0%, var(--bg) 100%);
    border-bottom: 1px solid var(--border);
}

.page-hero--compact h1 {
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    margin-bottom: 0.75rem;
    color: var(--white);
    background: linear-gradient(135deg, var(--white) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.page-hero--compact .page-lead {
    margin-inline: auto;
    font-size: 1.15rem;
    color: var(--ink-muted);
}

/* Mobile First Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .product-card__title {
        font-size: 0.9rem !important;
    }
    .product-card__notes {
        font-size: 0.75rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .product-card__price {
        font-size: 0.85rem !important;
    }
    .product-card__content {
        padding: 0.75rem !important;
    }
    .product-card__btn-quick span {
        display: none;
    }
    .product-card__btn-quick {
        padding: 0.5rem !important;
    }
}

/* Removed duplicate product-card styles to resolve conflicts with the refined design at the end of the file. */

.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: 1rem;
}

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

/* Abstract bottle visuals */
/* Visual helpers removed - handled by extreme redesign at end of file */

/* 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;
}

/* Collection Controls */
.collection-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.collection-search {
    width: 100%;
    max-width: 540px;
}

.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrap input {
    width: 100%;
    padding: 1rem 1.5rem;
    padding-inline-end: 3.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--ink);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.search-input-wrap input:focus {
    border-color: var(--gold);
    background: var(--bg-elevated);
    box-shadow: 0 0 0 4px var(--accent-soft), 0 8px 24px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.search-submit {
    position: absolute;
    inset-inline-end: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: #111;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.search-submit:hover {
    background: var(--gold-bright);
    transform: scale(1.1);
}

/* Filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0;
}

.filter-pill {
    padding: 0.65rem 1.5rem;
    font-size: 0.8rem;
    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: all 0.3s ease;
}

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

.filter-pill:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-1px);
    background: var(--accent-soft);
}

.filter-pill.is-active {
    color: #1a1508;
    background: linear-gradient(145deg, var(--gold-bright), var(--gold));
    border-color: var(--gold);
    box-shadow: 0 8px 20px var(--gold-glow);
}

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

/* Extreme Product Detail Redesign */
.product-detail {
    padding-block: clamp(4rem, 10vw, 8rem);
    background: radial-gradient(circle at center top, var(--bg-card) 0%, var(--bg) 100%);
    position: relative;
    overflow: hidden;
}

.product-detail::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, var(--gold-glow), transparent 70%);
    opacity: 0.1;
    pointer-events: none;
}

.product-detail-grid {
    display: grid;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: clamp(4rem, 8vw, 10rem);
    }
}

.product-detail-visual-wrap {
    position: sticky;
    top: calc(var(--header-h) + 2.5rem);
    perspective: 1000px;
}

.product-detail-visual {
    aspect-ratio: 1;
    width: 85%;
    margin: 0 auto;
    border-radius: 30px;
    border: 1px solid var(--border-subtle);
    background: #fff;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media (max-width: 768px) {
    .product-detail-visual-wrap {
        margin-bottom: 0.5rem;
        position: static;
    }
    .product-detail-copy h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.1 !important;
    }
    .product-detail-copy {
        padding-top: 0.5rem;
    }
    .product-detail {
        padding-top: 0.5rem !important;
    }
}

.product-detail-visual:hover {
    transform: rotateY(-5deg) rotateX(5deg);
}

.product-detail-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.05), transparent 60%);
    pointer-events: none;
}

.product-detail-copy {
    display: flex;
    flex-direction: column;
}

.product-cat {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--gold);
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.product-cat::after {
    content: "";
    height: 1px;
    width: 60px;
    background: var(--gold);
    opacity: 0.3;
}

.product-detail-copy h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.product-notes--large {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    border-inline-start: 3px solid var(--gold);
    padding-inline-start: 1rem;
}

.product-detail-desc {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ink-muted);
    margin-bottom: 2rem;
    max-width: 40rem;
}

.product-price--large {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--gold-bright);
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

/* Redesigned Variant Selection */
.variant-pills {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.variant-pill {
    cursor: pointer;
    position: relative;
}

.variant-pill__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.variant-pill:hover .variant-pill__body {
    border-color: var(--gold);
    transform: translateY(-6px);
    background: rgba(212, 175, 55, 0.08);
}

.variant-pill.is-active .variant-pill__body {
    background: linear-gradient(135deg, var(--gold-bright), var(--gold));
    border-color: var(--gold);
    color: #000;
    box-shadow: 0 15px 35px var(--gold-glow);
}

.variant-pill__label {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.variant-pill__price {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 600;
}

.variant-pill.is-active .variant-pill__price {
    opacity: 1;
    font-weight: 900;
}

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

.qty-input {
    width: 6rem;
    height: 72px;
    padding: 0 1rem;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    color: #000000;
    font-size: 1.4rem;
    font-weight: 800;
    text-align: center;
    outline: none;
    transition: all 0.3s;
}

.qty-input:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 4px var(--accent-soft);
}

.product-detail-copy .btn-primary {
    height: 72px;
    padding-inline: 5rem;
    border-radius: 20px;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    flex-grow: 1;
    box-shadow: 0 20px 40px var(--gold-glow);
}

.product-detail-copy .btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 25px 50px var(--gold-glow);
}

/* 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-logo img {
    height: 60px;
    width: auto;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-nav a {
    color: var(--ink-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--gold);
}

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

@media (max-width: 559px) {
    .footer-grid {
        text-align: center;
        gap: 2rem;
    }
    .footer-col--brand {
        margin-inline: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .footer-bottom {
        text-align: center;
    }
    .footer-col span[dir="ltr"] {
        display: inline-block;
    }
}

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

@media (min-width: 560px) and (max-width: 1023px) {
    .footer-grid {
        grid-template-columns: 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-social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-social .social-link {
    color: var(--ink-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-social .social-link:hover {
    color: var(--gold);
}

.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;
    flex: 1;
    justify-content: flex-end;
    margin: 0;
}

.header-search__input {
    width: clamp(140px, 18vw, 240px);
    height: 38px;
    padding: 0 2.5rem 0 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    color: var(--white);
    font-size: 0.85rem;
    transition: all 0.3s;
}

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

.header-search__btn {
    position: absolute;
    right: 0.8rem;
    background: none;
    border: none;
    padding: 0;
    color: var(--gold);
    display: flex;
    cursor: pointer;
    z-index: 2;
}

[dir="rtl"] .header-search__btn {
    right: auto;
    left: 0.8rem;
}
    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: clamp(160px, 20vw, 300px);
    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-inner {
        flex-wrap: wrap;
    }
    .header-search {
        position: relative;
        width: 100%;
        order: 99;
        margin: 0.5rem 0 0;
        padding: 0.25rem 0 0;
        background: transparent;
        border: none;
        box-shadow: none;
        display: block;
    }
    .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: 0.6rem;
        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;
    }
}

@media (max-width: 640px) {
    .modal-configure {
        width: 90%;
        border-radius: 12px;
        max-height: 75dvh;
        overflow-y: auto;
    }
    .modal-configure__header {
        display: none !important;
    }
    .modal-configure__image-col {
        display: none !important;
    }
    .modal-configure__details-col {
        padding: 0.5rem 0.75rem 0.75rem !important;
    }
    .modal-header-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.15rem;
        gap: 0.4rem;
    }
    .modal-configure__title {
        font-size: 0.85rem;
        margin-bottom: 0;
        line-height: 1.1;
        max-width: 65%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 700;
        color: var(--ink);
    }
    .modal-configure__price-top {
        font-size: 0.85rem !important;
        font-weight: 700;
        color: var(--gold-bright);
        flex-shrink: 0;
    }
    .modal-options-row {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
}

/* Global Visual Utilities */
.product-visual {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1a1a1a;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-visual::after {
    content: '✦';
    font-size: 2.5rem;
    color: rgba(212, 175, 55, 0.1);
    z-index: 0;
}

.product-visual[style*="background-image"]::after {
    display: none;
}

/* Definitive Premium Product Card — Luxury Redesign */
.product-card {
    position: relative !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    max-height: 480px !important; /* طول مناسب لاستيعاب الأحجام */
}

.product-card__inner {
    background: var(--bg-card) !important; 
    border: 1px solid var(--border-subtle) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: var(--shadow-sm) !important;
    text-decoration: none !important;
    color: inherit !important;
}

@media (max-width: 640px) {
    .product-card {
        max-height: 380px !important; /* تصغير للموبايل */
    }
}

.product-card:hover .product-card__inner {
    transform: translateY(-5px) !important;
    border-color: var(--gold) !important;
}

.product-card__media {
    position: relative !important;
    width: 100% !important;
    padding-top: 100% !important; 
    background: #fff !important;
}

@media (max-width: 640px) {
    .product-card__media {
        padding-top: 85% !important;
    }
    .product-card__content {
        padding: 0.6rem 0.5rem 0.25rem !important;
    }
    .product-card__title {
        font-size: 0.85rem !important;
    }
}

.product-card__extra {
    padding: 0 0.75rem 0.75rem !important;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-card__footer {
    display: none !important; /* إخفاء الفوتر القديم لرفع المحتوى للأعلى */
}

.product-card__btn-quick {
    width: 100% !important;
    height: 38px !important;
    background: var(--gold) !important;
    color: #000 !important;
    border: none !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
    font-size: 0.75rem !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    transition: all 0.2s !important;
}

.page-hero--compact {
    padding-block: 1.5rem !important;
}

.section {
    padding-block: 1.5rem !important;
}

.product-card__image-wrap {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
}

.product-card__image {
    width: 100% !important;
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.product-card:hover .product-card__image {
    transform: scale(1.12) !important;
}

.product-card__overlay {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.product-card:hover .product-card__overlay {
    opacity: 1 !important;
}

.product-card__view-text {
    color: #fff !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    border: 1.5px solid #fff !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 999px !important;
    transform: translateY(10px) !important;
    transition: transform 0.4s ease !important;
}

.product-card:hover .product-card__view-text {
    transform: translateY(0) !important;
}

.product-card__badge {
    position: absolute !important;
    top: 1rem !important;
    left: 1rem !important;
    background: linear-gradient(135deg, #f0dc82, #d4af37) !important;
    color: #000 !important;
    font-size: 0.65rem !important;
    font-weight: 900 !important;
    padding: 0.4rem 0.9rem !important;
    border-radius: 6px !important;
    z-index: 10 !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3) !important;
    text-transform: uppercase !important;
}

.product-card__badge--offer {
    top: auto !important;
    bottom: 1rem !important;
    background: linear-gradient(135deg, #ff4d4d, #b30000) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(255, 77, 77, 0.3) !important;
}

.product-card__content {
    padding: 1rem 0.75rem !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    background: transparent !important;
}

.product-card__title {
    margin: 0 0 0.3rem 0 !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--ink) !important;
    font-family: var(--font-serif) !important;
    line-height: 1.2 !important;
}

.product-card__notes {
    font-size: 0.75rem !important;
    color: var(--ink-muted) !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.4 !important;
    flex-grow: 1 !important;
}

.product-card__price {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    color: var(--gold) !important;
    margin-top: auto !important;
}

.product-card__footer {
    padding: 0 0.75rem 1.25rem !important;
    background: transparent !important;
}

.product-card__btn-quick {
    width: 100% !important;
    height: 42px !important;
    background: var(--gold) !important;
    color: #000 !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    font-size: 0.8rem !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.4rem !important;
    transition: all 0.3s ease !important;
}

.product-card__btn-quick:hover {
    transform: scale(1.03) !important;
    filter: brightness(1.1) !important;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3) !important;
}

/* Redesigned Quick Add Modal */
.modal-configure {
    border: none;
    padding: 0;
    background: transparent;
    max-width: 800px;
    width: 95%;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

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

.modal-configure__content {
    background: #fff;
    position: relative;
}

.modal-configure__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
}

.modal-configure__close:hover {
    background: #333;
}

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

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

.modal-configure__image-col {
    flex: 1;
    background: #f9f9f9;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-visual-container {
    width: 100%;
    aspect-ratio: 1;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-configure__details-col {
    flex: 1.2;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.modal-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
    font-family: inherit;
}

.modal-price {
    font-size: 1.8rem;
    color: #000;
    margin-bottom: 2rem;
    font-weight: 700;
}

.modal-section {
    margin-bottom: 2rem;
}

.modal-section-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: #000;
    margin-bottom: 1rem;
    font-weight: 600;
}

#selected-variant-label {
    color: #000 !important;
    font-weight: 800;
    display: inline-block;
}

.dark #selected-variant-label,
.daylight #selected-variant-label {
    color: #000 !important;
}

.variant-grid-modern {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.variant-pill-modern {
    cursor: pointer;
}

.variant-pill-modern input {
    display: none;
}

.variant-pill-modern .pill-content {
    display: block;
    padding: 0.75rem 1.25rem;
    border: 1px solid #d1d5db;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #000;
    background: #fff;
    transition: all 0.2s ease;
    min-width: 80px;
    text-align: center;
    line-height: 1.2;
}

.variant-pill-modern input:checked + .pill-content {
    background: #d4af37;
    border-color: #d4af37;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.variant-pill__price {
    display: block;
    font-size: 0.75rem;
    margin-top: 2px;
    opacity: 0.8;
}

.modal-qty-wrapper {
    margin-bottom: 2rem;
}

.modal-qty-controls {
    display: inline-flex;
    align-items: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    overflow: hidden;
}

.modal-qty-controls .qty-btn {
    width: 44px;
    height: 44px;
    background: #fff;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-qty-controls .qty-btn:hover {
    background: #f3f4f6;
}

.modal-qty-controls input {
    width: 50px;
    height: 44px;
    border: none;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000 !important;
    background: #fff !important;
    -webkit-text-fill-color: #000 !important;
    opacity: 1 !important;
    -moz-appearance: textfield;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-btn {
    width: 100%;
    padding: 1.1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.1s, opacity 0.2s;
}

.modal-btn:active {
    transform: scale(0.98);
}

.modal-btn--add {
    background: #d4af37;
    color: #fff;
}

.modal-btn--buy {
    background: #111;
    color: #fff;
}

.modal-btn:hover {
    opacity: 0.9;
}


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

/* Consolidating styles into the Redesigned Quick Add Modal section below */

/* 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;
}

/* Checkout & Cart Modern Layout (Deyar/EasyOrders Style) */
.checkout-section,
.checkout-layout {
    padding-block: clamp(2rem, 5vw, 4rem);
    background: var(--bg);
}

.checkout-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

@media (min-width: 900px) {
    .checkout-container {
        flex-direction: row;
        gap: 3rem;
    }
}

.checkout-main {
    flex: 1;
    width: 100%;
}

.checkout-sidebar {
    width: 100%;
}

@media (min-width: 900px) {
    .checkout-sidebar {
        width: 380px;
        flex-shrink: 0;
    }
}

.stick-to-top {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
    z-index: 10;
}

.checkout-summary-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 3vw, 1.75rem);
    box-shadow: var(--shadow-md);
}

.summary-line-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.summary-line-item__img {
    background-color: var(--bg-elevated);
    position: relative;
    border-radius: 8px;
}

.summary-line-item__img::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid var(--border-subtle);
    border-radius: inherit;
    pointer-events: none;
}

/* Modern Forms */
.form-section {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(1.25rem, 3vw, 2rem);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.form-group-modern {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-modern label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
}

.modern-input {
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 0.95rem 1rem;
    color: var(--ink);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.modern-input:hover {
    border-color: rgba(212, 175, 55, 0.4);
}

.modern-input:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 640px) {
    .form-grid-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

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

.cart-line--modern {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-subtle);
    align-items: center;
}

.cart-line--modern:first-child {
    padding-top: 0;
}

.cart-line--modern:last-child {
    border-bottom: none;
}

.cart-line--modern .cart-line-visual {
    width: 6.5rem;
    height: 6.5rem;
    flex-shrink: 0;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}


/* Hero Slider Styles */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 10s linear;
    z-index: 0;
}
.hero-slide.is-active {
    opacity: 1;
    z-index: 1;
    transform: scale(1.1); /* Subtle movement */
}
.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); /* Overlay for readability */
}

.hero-slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 1px solid var(--gold);
    cursor: pointer;
    transition: all 0.3s ease;
}
.hero-dot.is-active {
    background: var(--gold);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--gold-glow);
}

.hero-content {
    position: relative;
    z-index: 5;
    text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}



/* Offers Section */
.section--offers {
    background: radial-gradient(circle at top, var(--bg-elevated), var(--bg));
    padding-bottom: 5rem;
}
.offers-slider-wrap {
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.offers-slider-wrap::-webkit-scrollbar { display: none; }

.offers-grid {
    display: flex;
    gap: 1.5rem;
    padding: 0.5rem;
}
.offer-card {
    flex: 0 0 320px;
    aspect-ratio: 16 / 9;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}
.offer-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-md), 0 0 20px var(--gold-glow);
    border-color: var(--gold-bright);
}
.offer-card__media {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}
.offer-card:hover .offer-card__media {
    transform: scale(1.1);
}
.offer-card.placeholder .offer-card__media {
    background: linear-gradient(45deg, #111, #222);
    display: flex;
    align-items: center;
    justify-content: center;
}
.offer-placeholder-content {
    text-align: center;
    color: var(--gold-dim);
}
.offer-placeholder-content span {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}
@media (max-width: 600px) {
    .offer-card { flex: 0 0 260px; }
}