/* ─── NESEN STORE DESIGN SYSTEM & CORE STYLES ─────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Outfit:wght@300;400;500;600;700&family=El+Messiri:wght@400;500;600;700&family=Almarai:wght@300;400;700&display=swap');

:root {
    /* Color Palette */
    --c-bg: #090908;
    --c-surface: #12110F;
    --c-cream: #FAF7F2;
    --c-cream-dim: #C5BCAB;
    --c-gold: #D4AF37;
    --c-gold-light: #F3E5AB;
    --c-gold-dark: #AA8B2C;
    --c-border: rgba(212, 175, 55, 0.15);
    --c-border-cream: rgba(250, 247, 242, 0.08);
    --c-glass-bg: rgba(9, 9, 8, 0.75);
    --c-glass-border: rgba(212, 175, 55, 0.1);
    
    /* Easing */
    --ease-silk: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-sharp: cubic-bezier(0.76, 0, 0.24, 1);
    
    /* Layout */
    --max-width: 1320px;
}

/* ─── GLOBAL RESET & ACCESSIBILITY ──────────────────────────── */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 100px; 
}

body {
    background-color: var(--c-bg);
    background-image: radial-gradient(circle at 50% 0%, #171512 0%, var(--c-bg) 70%);
    color: var(--c-cream);
    overflow-x: hidden;
    cursor: auto;
}

/* Disable custom cursor on touch devices */
@media (pointer: coarse), (max-width: 1024px) {
    body, a, button, .product-card, .filter-btn { cursor: auto !important; }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 2rem;
    z-index: 100000;
    padding: 0.8rem 1.5rem;
    background: var(--c-gold);
    color: var(--c-bg);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: top 0.3s var(--ease-silk);
}
.skip-link:focus { top: 1rem; }

/* Focus outlines */
a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible {
    outline: 2px solid var(--c-gold-light);
    outline-offset: 4px;
}

/* ─── TYPOGRAPHY & RTL SUPPORT ──────────────────────────────── */
body[data-lang="en"] { 
    font-family: 'Outfit', sans-serif; 
}
body[data-lang="ar"] { 
    font-family: 'Almarai', sans-serif; 
    direction: rtl; 
}

h1, h2, h3, h4, 
.hero-title, .about-title, .cat-title, .editorial-quote, .fallback-logo, .dash-title {
    font-family: 'Cormorant Garamond', serif;
}

body[data-lang="ar"] h1, 
body[data-lang="ar"] h2, 
body[data-lang="ar"] h3,
body[data-lang="ar"] h4,
body[data-lang="ar"] .hero-title, 
body[data-lang="ar"] .about-title, 
body[data-lang="ar"] .cat-title,
body[data-lang="ar"] .editorial-quote,
body[data-lang="ar"] .fallback-logo, 
body[data-lang="ar"] .dash-title {
    font-family: 'El Messiri', sans-serif;
}

/* ─── CUSTOM CURSOR (OPTIMIZED & HARDWARE ACCELERATED) ───────── */
.cursor, .cursor-ring {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 99999;
    will-change: transform;
    opacity: 0;
    transform: translate3d(-100px, -100px, 0); /* Start off-screen */
}

.cursor {
    width: 8px;
    height: 8px;
    background: var(--c-gold);
    border-radius: 50%;
    transition: transform 0.1s var(--ease-silk), opacity 0.3s ease;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 50%;
    margin-left: -16px; /* Center with inner dot (40px ring vs 8px cursor) */
    margin-top: -16px;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                width 0.3s var(--ease-silk), 
                height 0.3s var(--ease-silk), 
                border-color 0.3s ease, 
                opacity 0.3s ease;
}

.cursor.hovered {
    transform: scale(1.5) translate3d(0, 0, 0);
    background: var(--c-cream);
}

.cursor-ring.hovered {
    border-color: rgba(250, 247, 242, 0.8);
    background: rgba(250, 247, 242, 0.04);
}

@media (pointer: coarse), (max-width: 1024px) {
    .cursor, .cursor-ring { display: none !important; }
}

/* ─── PERFORMANCE GRAIN ANIMATION (GPU HEAVY FIX) ───────────── */
.grain {
    display: none;
    position: fixed;
    top: -50px;
    left: -50px;
    width: calc(100% + 100px);
    height: calc(100% + 100px);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9000;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    animation: grainShift 8s steps(10) infinite;
}

@keyframes grainShift {
    0%, 100% { transform: translate3d(0, 0, 0); }
    10% { transform: translate3d(-1%, -1%, 0); }
    20% { transform: translate3d(1%, -2%, 0); }
    30% { transform: translate3d(-2%, 1%, 0); }
    40% { transform: translate3d(2%, -1%, 0); }
    50% { transform: translate3d(-1%, 2%, 0); }
    60% { transform: translate3d(1%, 1%, 0); }
    70% { transform: translate3d(-2%, -2%, 0); }
    80% { transform: translate3d(2%, 2%, 0); }
    90% { transform: translate3d(-1%, 1%, 0); }
}

@media (max-width: 768px) {
    .grain { display: none; } /* Disable grain completely on mobile for massive CPU/battery savings */
}

/* ─── STICKY HEADER & NAVIGATION ────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.6s var(--ease-silk);
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    padding: 1rem 4rem;
    background: var(--c-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-glass-border);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1001;
}

.brand-logo {
    height: 46px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    background: #fff;
    border-radius: 6px;
    padding: 4px 8px;
    transition: transform 0.4s var(--ease-silk);
}
.logo:hover .brand-logo {
    transform: scale(1.05);
}

.fallback-logo {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: var(--c-cream);
    text-transform: uppercase;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    position: relative;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-cream-dim);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1px;
    background: var(--c-gold);
    transition: width 0.4s var(--ease-silk);
}

.nav-link:hover {
    color: var(--c-gold-light);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 1001;
}

.lang-toggle {
    background: transparent;
    border: 1px solid var(--c-border);
    color: var(--c-cream-dim);
    padding: 8px 18px;
    font-family: inherit;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 4px;
    outline: none;
}

.lang-toggle:hover {
    border-color: var(--c-gold);
    color: var(--c-bg);
    background: var(--c-gold);
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--c-cream);
    padding: 0.5rem;
    outline: none;
}

/* ─── HERO SECTION ───────────────────────────────────────────── */
.hero {
    height: 90vh;
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    position: relative;
    overflow: hidden;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 6rem 4rem 6rem;
    z-index: 2;
}

body[data-lang="ar"] .hero-left {
    padding: 0 6rem 4rem 6rem;
}

.hero-right {
    position: relative;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.03);
    animation: heroReveal 2.5s var(--ease-silk) forwards;
}

@keyframes heroReveal {
    from { transform: scale(1.1); opacity: 0; }
    to { transform: scale(1.0); opacity: 1; }
}

.hero-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--c-bg) 0%, rgba(9, 9, 8, 0.4) 50%, transparent 100%);
    z-index: 1;
}

body[data-lang="ar"] .hero-img-overlay {
    background: linear-gradient(to left, var(--c-bg) 0%, rgba(9, 9, 8, 0.4) 50%, transparent 100%);
}

.hero-top-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: linear-gradient(to bottom, rgba(9, 9, 8, 0.9) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 1.5rem;
    animation: fadeUp 1.2s 0.2s var(--ease-silk) both;
}

.hero-eyebrow-line {
    width: 40px;
    height: 1px;
    background: var(--c-gold);
    transition: width 0.4s ease;
}

.hero:hover .hero-eyebrow-line {
    width: 60px;
}

.hero-eyebrow span {
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--c-gold);
    font-weight: 500;
}

.hero-title {
    font-size: clamp(3.2rem, 5.5vw, 5.2rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--c-cream);
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeUp 1.2s 0.4s var(--ease-silk) both;
}

.hero-title em {
    font-style: italic;
    font-weight: 300;
    color: var(--c-gold-light);
    display: block;
}

.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--c-cream-dim);
    line-height: 1.8;
    max-width: 420px;
    margin-bottom: 3rem;
    animation: fadeUp 1.2s 0.6s var(--ease-silk) both;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: fadeUp 1.2s 0.8s var(--ease-silk) both;
}

/* ─── BUTTONS ────────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.1rem 2.8rem;
    background: var(--c-gold);
    color: var(--c-bg);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: all 0.4s var(--ease-silk);
    border-radius: 4px;
    border: none;
    outline: none;
}

.btn-primary svg {
    transition: transform 0.4s var(--ease-silk);
}

.btn-primary:hover {
    background: var(--c-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover svg {
    transform: translateX(6px);
}

body[data-lang="ar"] .btn-primary:hover svg {
    transform: translateX(-6px) scaleX(-1);
}

body[data-lang="ar"] .btn-primary svg {
    transform: scaleX(-1);
}

.btn-ghost {
    display: inline-block;
    padding: 0 0 4px 0;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--c-cream);
    text-decoration: none;
    border-bottom: 1px solid var(--c-border);
    transition: all 0.3s var(--ease-silk);
    outline: none;
    background: transparent;
}

.btn-ghost:hover {
    color: var(--c-gold-light);
    border-color: var(--c-gold-light);
    padding-bottom: 6px;
}

.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    right: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    animation: fadeUp 1.2s 1s var(--ease-silk) both;
    z-index: 3;
}

body[data-lang="ar"] .scroll-hint {
    right: auto;
    left: 4rem;
}

.scroll-hint span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-cream-dim);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--c-gold), transparent);
    animation: scrollPulse 2.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transform-origin: top;
}

@keyframes scrollPulse {
    0% { transform: scaleY(0); opacity: 0; }
    50% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; transform-origin: bottom; }
}

/* ─── MARQUEE STRIP ──────────────────────────────────────────── */
.marquee-strip {
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    overflow: hidden;
    padding: 1.2rem 0;
    background: #0d0c0a;
}

.marquee-track {
    display: flex;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 0 3rem;
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--c-cream-dim);
    white-space: nowrap;
}

.marquee-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--c-gold);
}

@keyframes marqueeScroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

/* ─── ABOUT SECTION ──────────────────────────────────────────── */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: var(--max-width);
    margin: 6rem auto;
    padding: 0 4rem;
    gap: 6rem;
    align-items: center;
}

.about-image-col {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--c-border-cream);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    aspect-ratio: 4/5;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2s var(--ease-silk);
}

.about-image-col:hover .about-img {
    transform: scale(1.05);
}

.about-img-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--c-surface);
    border-top: 1px solid var(--c-border);
    border-left: 1px solid var(--c-border);
    padding: 2rem 2.5rem;
    z-index: 10;
}

body[data-lang="ar"] .about-img-badge {
    right: auto;
    left: 0;
    border-left: none;
    border-right: 1px solid var(--c-border);
}

.about-img-badge span {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 3.5rem;
    font-weight: 300;
    font-style: italic;
    color: var(--c-gold);
    line-height: 0.9;
}

body[data-lang="ar"] .about-img-badge span {
    font-family: 'El Messiri', sans-serif;
    font-size: 2.8rem;
}

.about-img-badge p {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--c-cream-dim);
    margin-top: 0.5rem;
}

.about-content-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.label {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 2rem;
    font-weight: 600;
}

.label::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--c-gold);
}

body[data-lang="ar"] .label::before {
    display: none;
}
body[data-lang="ar"] .label::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--c-gold);
}

.about-title {
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--c-cream);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.about-title em {
    font-style: italic;
    color: var(--c-gold-light);
}

.about-body {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--c-cream-dim);
    line-height: 1.9;
    margin-bottom: 3rem;
}

.brand-signature {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: invert(1);
    align-self: flex-start;
    opacity: 0.8;
}

body[data-lang="ar"] .brand-signature {
    align-self: flex-end;
}

/* ─── PRODUCTS & CATEGORIES ─────────────────────────────────── */
.collections {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 5rem 4rem;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--c-border);
}

body[data-lang="ar"] .section-label {
    flex-direction: row-reverse;
}
body[data-lang="ar"] .section-label::after {
    display: none;
}
body[data-lang="ar"] .section-label::before {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--c-border);
}

.cat-title {
    font-size: clamp(2.5rem, 4vw, 4.2rem);
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1;
    color: var(--c-cream);
    margin-bottom: 3rem;
}

.cat-title em {
    font-style: italic;
    color: var(--c-cream-dim);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.product-frame {
    position: relative;
    overflow: hidden;
    background: var(--c-surface);
    aspect-ratio: 4/5;
    border-radius: 8px;
    border: 1px solid var(--c-border-cream);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Carousel Slider */
.product-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    width: 100%;
    height: 100%;
}

.product-carousel::-webkit-scrollbar {
    display: none; /* Safari/Chrome */
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    overflow: hidden;
}

.product-img-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-silk);
    display: block;
}

.img-fallback {
    object-fit: contain !important;
    background: #fff;
    padding: 2rem;
}

.product-card:hover .product-img-el {
    transform: scale(1.06);
}

/* Overlay & Buttons */
.product-frame::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 9, 8, 0.85) 0%, rgba(9, 9, 8, 0.2) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s var(--ease-silk);
    pointer-events: none;
    z-index: 5;
}

.product-card:hover .product-frame::after {
    opacity: 1;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    transform: translate3d(0, 15px, 0);
    opacity: 0;
    transition: all 0.5s var(--ease-silk);
    z-index: 10;
}

.product-card:hover .product-overlay {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.product-overlay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--c-gold);
    color: var(--c-bg);
    padding: 0.85rem 1.8rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.product-overlay-btn:hover {
    background: var(--c-gold-light);
    transform: scale(1.02);
}

/* Carousel Nav Controls */
.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    opacity: 0;
    transition: opacity 0.3s var(--ease-silk);
    pointer-events: none;
    z-index: 8;
}

.product-card:hover .carousel-nav {
    opacity: 1;
    pointer-events: auto;
}

.carousel-nav button {
    background: rgba(9, 9, 8, 0.6);
    color: var(--c-cream);
    border: 1px solid rgba(250, 247, 242, 0.15);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    cursor: pointer;
    outline: none;
}

.carousel-nav button:hover {
    background: var(--c-gold);
    color: var(--c-bg);
    border-color: var(--c-gold);
}

.carousel-dots {
    position: absolute;
    bottom: 5.5rem;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.3s var(--ease-silk);
    z-index: 7;
}

.product-card:hover .carousel-dots {
    opacity: 1;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(250, 247, 242, 0.35);
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--c-gold);
    width: 18px;
    border-radius: 3px;
}

/* Badges */
.tag-new {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--c-gold);
    color: var(--c-bg);
    padding: 4px 12px;
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 600;
    z-index: 6;
    border-radius: 2px;
}

body[data-lang="ar"] .tag-new {
    left: auto;
    right: 1rem;
}

/* Metadata */
.product-meta {
    padding: 1.2rem 0.5rem 0 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: transform 0.4s var(--ease-silk);
}

.product-card:hover .product-meta {
    transform: translate3d(0, -4px, 0);
}

.product-meta > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

body[data-lang="ar"] .product-meta > div {
    text-align: right;
}

.product-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--c-cream);
    letter-spacing: 0.01em;
    transition: color 0.3s ease;
}

body[data-lang="ar"] .product-name {
    font-family: 'El Messiri', sans-serif;
    font-size: 1.15rem;
}

.product-card:hover .product-name {
    color: var(--c-gold-light);
}

.product-category {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--c-gold);
}

.product-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--c-cream-dim);
}

/* Touch Fallbacks (No Hover) */
@media (hover: none) {
    .product-overlay { opacity: 1; transform: translate3d(0, 0, 0); padding: 1.5rem; }
    .product-frame::after { opacity: 0.75; }
    .carousel-nav { display: none; }
    .carousel-dots { opacity: 1; bottom: 5rem; }
}

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

/* ─── FEATURES SYSTEM ────────────────────────────────────────── */
.features {
    max-width: var(--max-width);
    margin: 4rem auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--c-border);
}

.feature-item {
    padding: 4rem 2.5rem;
    border-right: 1px solid var(--c-border);
    position: relative;
    overflow: hidden;
    transition: background 0.4s var(--ease-silk), transform 0.4s var(--ease-silk);
}

body[data-lang="ar"] .feature-item {
    border-right: none;
    border-left: 1px solid var(--c-border);
}

.feature-item:last-child {
    border-right: none;
}

body[data-lang="ar"] .feature-item:last-child {
    border-left: none;
}

.feature-item:hover {
    background: rgba(212, 175, 55, 0.02);
    transform: translate3d(0, -5px, 0);
}

.feature-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.8rem;
    font-weight: 400;
    font-style: italic;
    color: var(--c-gold);
    display: block;
    margin-bottom: 2rem;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--c-cream);
    margin-bottom: 1rem;
}

.feature-desc {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--c-cream-dim);
    line-height: 1.7;
}

.feature-line {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--c-gold);
    transition: width 0.6s var(--ease-silk);
}

.feature-item:hover .feature-line {
    width: 100%;
}

/* ─── EDITORIAL SECTION ──────────────────────────────────────── */
.editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: var(--max-width);
    margin: 6rem auto;
    padding: 0 4rem;
    border: 1px solid var(--c-border);
}

.editorial-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem;
    border-right: 1px solid var(--c-border);
}

body[data-lang="ar"] .editorial-text {
    border-right: none;
    border-left: 1px solid var(--c-border);
}

.editorial-quote {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 300;
    font-style: italic;
    color: var(--c-cream);
    line-height: 1.3;
    margin-bottom: 2.5rem;
}

.editorial-attribution {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--c-gold);
    font-weight: 600;
}

.editorial-attribution::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--c-gold);
}

body[data-lang="ar"] .editorial-attribution::before {
    display: none;
}
body[data-lang="ar"] .editorial-attribution::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--c-gold);
}

.editorial-image {
    position: relative;
    overflow: hidden;
}

.editorial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2.5s var(--ease-silk);
}

.editorial:hover .editorial-img {
    transform: scale(1.03);
}

/* ─── CATALOG VIEW (DYNAMIC STOREFRONT) ──────────────────────── */
#catalog-view {
    display: none;
    padding: 140px 4rem 6rem;
    max-width: var(--max-width);
    margin: 0 auto;
    min-height: 100vh;
}

.catalog-title {
    text-align: center;
    margin-bottom: 3rem;
}

.catalog-filters {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--c-border);
    color: var(--c-cream-dim);
    padding: 0.7rem 1.8rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 30px;
    transition: all 0.3s var(--ease-silk);
    cursor: pointer;
    outline: none;
}

.filter-btn.active, .filter-btn:hover {
    border-color: var(--c-gold);
    color: var(--c-bg);
    background: var(--c-gold);
}

.price-label {
    font-size: 0.7rem;
    color: var(--c-gold);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0 0.5rem;
    font-weight: 600;
}

#catalog-grid {
    transition: opacity 0.3s var(--ease-silk), transform 0.3s var(--ease-silk);
    margin-top: 3rem;
}

/* ─── ANIMATION SYSTEM ───────────────────────────────────────── */
.reveal, .reveal-left {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 1s var(--ease-silk), transform 1s var(--ease-silk);
}

.reveal-left {
    transform: translate3d(-30px, 0, 0);
}

body[data-lang="ar"] .reveal-left {
    transform: translate3d(30px, 0, 0);
}

.reveal.visible, .reveal-left.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@keyframes fadeUp {
    from { opacity: 0; transform: translate3d(0, 20px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.pop-in {
    animation: fadeUp 0.6s var(--ease-silk) both;
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer {
    background: #050505;
    border-top: 1px solid var(--c-border);
    padding: 6rem 4rem 3rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 5rem;
    max-width: var(--max-width);
    margin: 0 auto 5rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid var(--c-border);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand p {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--c-cream-dim);
    line-height: 1.8;
    margin: 1.5rem 0 2rem 0;
    max-width: 300px;
}

.footer-wa-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: #FFF;
    padding: 0.9rem 2rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.footer-wa-cta:hover {
    background: #20ba59;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.footer-col-title {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--c-gold);
    margin-bottom: 2rem;
    display: block;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    position: relative;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--c-cream-dim);
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: var(--c-gold);
    transition: width 0.3s var(--ease-silk);
}

.footer-links a:hover {
    color: var(--c-cream);
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

body[data-lang="ar"] .footer-bottom {
    flex-direction: row-reverse;
}

.footer-bottom p {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: rgba(250, 247, 242, 0.3);
    text-transform: uppercase;
}

/* Floating WhatsApp Widget */
.floating-wa {
    position: fixed;
    bottom: 2.5rem;
    right: 2.5rem;
    width: 58px;
    height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
    z-index: 999;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: waPulse 2.5s infinite;
}

@keyframes waPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

body[data-lang="ar"] .floating-wa {
    right: auto;
    left: 2.5rem;
}

.floating-wa:hover {
    transform: scale(1.1);
    animation: none;
}

.floating-tooltip {
    position: absolute;
    right: 70px;
    background: var(--c-surface);
    color: var(--c-cream);
    border: 1px solid var(--c-border);
    padding: 8px 16px;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    border-radius: 4px;
    font-weight: 500;
}

body[data-lang="ar"] .floating-tooltip {
    right: auto;
    left: 70px;
}

.floating-wa:hover .floating-tooltip {
    opacity: 1;
}

.loading-state {
    text-align: center;
    padding: 5rem;
    color: var(--c-gold);
    font-size: 0.8rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    grid-column: 1 / -1;
}

/* ─── RESPONSIVE STYLING ─────────────────────────────────────── */
@media (max-width: 1200px) {
    .nav { padding: 1.5rem 2rem; }
    .nav.scrolled { padding: 1rem 2rem; }
    .hero-left { padding: 0 3rem 4rem 3rem; }
    .about, .editorial { gap: 3rem; padding: 0 2rem; }
    .features { margin: 4rem 2rem; }
}

@media (max-width: 1024px) {
    /* Mobile Menu Drawer style */
    .menu-toggle { display: block; }
    
    .nav-center {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(9, 9, 8, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transform: translate3d(0, -100%, 0);
        transition: transform 0.5s var(--ease-silk);
        z-index: 1000;
    }
    
    .nav-center.menu-active {
        transform: translate3d(0, 0, 0);
    }
    
    .nav-link { font-size: 1.15rem; }
    
    .hero { grid-template-columns: 1fr; height: auto; min-height: 80vh; padding-top: 100px; }
    .hero-right { display: none; }
    .hero-left { text-align: center; align-items: center; padding: 4rem 2rem; }
    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url('https://images.unsplash.com/photo-1553062407-98eeb64c6a62?q=80&w=1200&auto=format&fit=crop') no-repeat center center / cover;
        opacity: 0.15;
        z-index: 0;
    }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-eyebrow, .hero-actions { justify-content: center; }
    
    .about { grid-template-columns: 1fr; text-align: center; gap: 4rem; }
    .about-image-col { max-width: 500px; margin: 0 auto; }
    .about-content-col { align-items: center; }
    .label { justify-content: center; }
    
    .features { grid-template-columns: 1fr 1fr; }
    .feature-item { border-right: none; border-bottom: 1px solid var(--c-border); }
    .feature-item:nth-child(even) { border-left: none; }
    body[data-lang="ar"] .feature-item { border-left: none; border-bottom: 1px solid var(--c-border); }
    .feature-item:nth-last-child(-n+2) { border-bottom: none; }
    
    .editorial { grid-template-columns: 1fr; }
    .editorial-text { border-right: none; border-bottom: 1px solid var(--c-border); padding: 4rem 2rem; align-items: center; text-align: center; }
    body[data-lang="ar"] .editorial-text { border-left: none; }
    .editorial-image { aspect-ratio: 16/9; }
    
    .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .footer-brand { grid-column: span 2; align-items: center; text-align: center; }
    
    #catalog-view { padding: 120px 2rem 4rem; }
}

@media (max-width: 640px) {
    .nav { padding: 1.2rem 1.5rem; }
    .hero-title { font-size: 2.8rem; }
    .features { grid-template-columns: 1fr; margin: 3rem 1.5rem; }
    .feature-item { border-bottom: 1px solid var(--c-border); padding: 3rem 1.5rem; }
    .feature-item:last-child { border-bottom: none; }
    
    .footer { padding: 4rem 1.5rem 2rem; }
    .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-brand { grid-column: span 1; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
    
    .product-grid { grid-template-columns: 1fr; }
    .floating-wa { bottom: 1.5rem; right: 1.5rem; width: 50px; height: 50px; }
    body[data-lang="ar"] .floating-wa { left: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
