/* ═══════════════════════════════════
   THEME SYSTEM — 4 themes
   ═══════════════════════════════════ */

/* ── DARK (default) ── */
:root,
[data-theme="dark"] {
    --gold: #C9A84C;
    --gold-light: #E8C97A;
    --gold-pale: #F5E5B8;
    --gold-dim: #8A6C2A;
    --accent: var(--gold);
    --accent-light: var(--gold-light);

    --bg: #080808;
    --bg-2: #0F0F0F;
    --bg-3: #161616;
    --bg-4: #1E1E1E;
    --bg-5: #2A2A2A;

    --black: var(--bg);
    --black-2: var(--bg-2);
    --black-3: var(--bg-3);
    --black-4: var(--bg-4);
    --black-5: var(--bg-5);

    --fg: #FAF8F2;
    --fg-dim: rgba(250, 248, 242, 0.6);
    --fg-faint: rgba(250, 248, 242, 0.08);
    --white: var(--fg);
    --white-dim: var(--fg-dim);
    --white-faint: var(--fg-faint);

    --border-col: rgba(201, 168, 76, 0.15);
    --card-border: rgba(201, 168, 76, 0.1);
    --scrollbar-track: #0F0F0F;
    --hero-radial: rgba(201, 168, 76, 0.06);
    --header-scrolled: rgba(8, 8, 8, 0.9);
    --theme-icon: "🌙";
}

/* ── LIGHT ── */
[data-theme="light"] {
    --gold: #A07830;
    --gold-light: #C9A84C;
    --gold-pale: #7A5A1A;
    --gold-dim: #D4AA60;
    --accent: var(--gold);
    --accent-light: var(--gold-light);

    --bg: #FDFAF4;
    --bg-2: #F5F0E6;
    --bg-3: #EDE5D4;
    --bg-4: #E2D8C4;
    --bg-5: #D4C9B0;

    --black: var(--bg);
    --black-2: var(--bg-2);
    --black-3: var(--bg-3);
    --black-4: var(--bg-4);
    --black-5: var(--bg-5);

    --fg: #1A1208;
    --fg-dim: rgba(26, 18, 8, 0.6);
    --fg-faint: rgba(26, 18, 8, 0.06);
    --white: var(--fg);
    --white-dim: var(--fg-dim);
    --white-faint: var(--fg-faint);

    --border-col: rgba(160, 120, 48, 0.2);
    --card-border: rgba(160, 120, 48, 0.15);
    --scrollbar-track: #EDE5D4;
    --hero-radial: rgba(160, 120, 48, 0.08);
    --header-scrolled: rgba(253, 250, 244, 0.92);
    --theme-icon: "☀️";
}

/* ── ROSE ── */
[data-theme="rose"] {
    --gold: #C06080;
    --gold-light: #D88AA0;
    --gold-pale: #F0C8D8;
    --gold-dim: #904060;
    --accent: var(--gold);
    --accent-light: var(--gold-light);

    --bg: #0D0608;
    --bg-2: #140A0D;
    --bg-3: #1C1014;
    --bg-4: #261519;
    --bg-5: #321B21;

    --black: var(--bg);
    --black-2: var(--bg-2);
    --black-3: var(--bg-3);
    --black-4: var(--bg-4);
    --black-5: var(--bg-5);

    --fg: #FDF0F4;
    --fg-dim: rgba(253, 240, 244, 0.6);
    --fg-faint: rgba(253, 240, 244, 0.07);
    --white: var(--fg);
    --white-dim: var(--fg-dim);
    --white-faint: var(--fg-faint);

    --border-col: rgba(192, 96, 128, 0.18);
    --card-border: rgba(192, 96, 128, 0.12);
    --scrollbar-track: #140A0D;
    --hero-radial: rgba(192, 96, 128, 0.07);
    --header-scrolled: rgba(13, 6, 8, 0.92);
    --theme-icon: "🌹";
}

/* ── EMERALD ── */
[data-theme="emerald"] {
    --gold: #2E9C7A;
    --gold-light: #4DC49C;
    --gold-pale: #A8EBD8;
    --gold-dim: #1A6854;
    --accent: var(--gold);
    --accent-light: var(--gold-light);

    --bg: #050D0A;
    --bg-2: #0A1510;
    --bg-3: #101E17;
    --bg-4: #17281F;
    --bg-5: #1F3429;

    --black: var(--bg);
    --black-2: var(--bg-2);
    --black-3: var(--bg-3);
    --black-4: var(--bg-4);
    --black-5: var(--bg-5);

    --fg: #EEFAF6;
    --fg-dim: rgba(238, 250, 246, 0.6);
    --fg-faint: rgba(238, 250, 246, 0.07);
    --white: var(--fg);
    --white-dim: var(--fg-dim);
    --white-faint: var(--fg-faint);

    --border-col: rgba(46, 156, 122, 0.18);
    --card-border: rgba(46, 156, 122, 0.12);
    --scrollbar-track: #0A1510;
    --hero-radial: rgba(46, 156, 122, 0.07);
    --header-scrolled: rgba(5, 13, 10, 0.92);
    --theme-icon: "🌿";
}

/* ── Theme Switcher UI ── */
#theme-switcher {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 5000;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
}

#theme-toggle-btn {
    width: 48px;
    height: 48px;
    background: var(--bg-3);
    border: 1px solid var(--border-col);
    color: var(--accent);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-family: 'Tajawal', sans-serif;
}

#theme-toggle-btn:hover {
    background: var(--accent);
    color: var(--bg);
}

#theme-panel {
    background: var(--bg-3);
    border: 1px solid var(--border-col);
    border-bottom: none;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(.25,.46,.45,.94), opacity 0.3s, padding 0.3s;
    padding-top: 0;
    padding-bottom: 0;
}

#theme-panel.open {
    max-height: 280px;
    opacity: 1;
    padding: 1rem;
}

.theme-panel-label {
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--fg-dim);
    margin-bottom: 0.4rem;
    white-space: nowrap;
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: transparent;
    border: 1px solid transparent;
    color: var(--fg-dim);
    font-family: 'Tajawal', sans-serif;
    font-size: 0.85rem;
    padding: 8px 10px;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
    width: 100%;
    text-align: right;
}

.theme-option:hover { color: var(--fg); background: var(--fg-faint); }
.theme-option.active { border-color: var(--accent); color: var(--accent); }

.theme-swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.15);
}
.swatch-dark    { background: linear-gradient(135deg, #0F0F0F 50%, #C9A84C 50%); }
.swatch-light   { background: linear-gradient(135deg, #FDFAF4 50%, #A07830 50%); }
.swatch-rose    { background: linear-gradient(135deg, #140A0D 50%, #C06080 50%); }
.swatch-emerald { background: linear-gradient(135deg, #0A1510 50%, #2E9C7A 50%); }

/* ── Global transition for theme switch ── */
*, *::before, *::after {
    transition-property: background-color, border-color, color;
    transition-duration: 0.35s;
    transition-timing-function: ease;
}

.gallery-item, .gallery-item img, .product-card, .why-feature,
.hero-content, .btn-primary, .btn-primary::before, .section-title,
.section-label, .stat-item, .testimonial-card, header {
    transition-property: background-color, border-color, color, opacity, transform, box-shadow, filter;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background: var(--black);
    color: var(--white);
    font-family: 'Tajawal', sans-serif;
    font-weight: 400;
    overflow-x: hidden;
    cursor: none;
}

/* Custom Cursor */
#cursor {
    position: fixed;
    width: 12px; height: 12px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, opacity 0.2s;
    transform: translate(-50%, -50%);
}

#cursor-ring {
    position: fixed;
    width: 40px; height: 40px;
    border: 1px solid rgba(201,168,76,0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.35s cubic-bezier(.25,.46,.45,.94), width 0.3s, height 0.3s;
    transform: translate(-50%, -50%);
}

body:has(a:hover) #cursor,
body:has(button:hover) #cursor {
    transform: translate(-50%, -50%) scale(2.5);
    background: var(--gold-light);
}
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring {
    width: 60px; height: 60px; opacity: 0.3;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 2px; }

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9990;
    opacity: 0.5;
}

/* ─── HEADER ─── */
header {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    padding: 0 4rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.4s, backdrop-filter 0.4s, border-bottom 0.4s;
}

header.scrolled {
    background: var(--header-scrolled);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-col);
}

.logo {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 4px;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 2px; right: 0;
    width: 100%; height: 1px;
    background: linear-gradient(to left, var(--gold), transparent);
}

/* Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    z-index: 1100;
}
.nav-hamburger span {
    display: block;
    width: 24px; height: 1.5px;
    background: var(--gold);
    transition: all 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white-dim);
    text-decoration: none;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.3s;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px; right: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

nav a:hover { color: var(--gold-light); }
nav a:hover::after { width: 100%; }

.nav-cta {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    padding: 8px 20px;
    font-size: 0.85rem !important;
    letter-spacing: 2px;
    transition: all 0.3s !important;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--black) !important; }
.nav-cta::after { display: none !important; }

/* ─── CATEGORIES NAV BAR ─── */
.categories-bar {
    position: sticky;
    top: 80px;
    z-index: 900;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border-col);
    backdrop-filter: blur(12px);
    overflow-x: auto;
    scrollbar-width: none;
}
.categories-bar::-webkit-scrollbar { display: none; }

.categories-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.cat-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 24px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--fg-dim);
    font-family: 'Tajawal', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    position: relative;
}
.cat-btn .cat-icon { font-size: 1.1rem; }
.cat-btn:hover { color: var(--accent); }
.cat-btn.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.cat-btn::after { display: none; }

/* ─── HERO ─── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 60%, var(--hero-radial) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, var(--hero-radial) 0%, transparent 60%),
        var(--bg);
}

.hero-particles { position: absolute; inset: 0; overflow: hidden; }

.particle {
    position: absolute;
    width: 2px; height: 2px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: floatParticle var(--dur) var(--delay) infinite ease-in-out;
}

@keyframes floatParticle {
    0%   { opacity: 0; transform: translateY(0) scale(0); }
    20%  { opacity: 0.8; transform: translateY(-30px) scale(1); }
    80%  { opacity: 0.3; transform: translateY(-120px) scale(0.5); }
    100% { opacity: 0; transform: translateY(-180px) scale(0); }
}

.hero-line {
    position: absolute;
    top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(201,168,76,0.2), transparent);
    animation: lineFloat 6s infinite ease-in-out;
}
.hero-line:nth-child(1) { right: 20%; animation-delay: 0s; }
.hero-line:nth-child(2) { right: 50%; animation-delay: 2s; opacity: 0.4; }
.hero-line:nth-child(3) { right: 80%; animation-delay: 4s; }

@keyframes lineFloat {
    0%, 100% { opacity: 0.2; }
    50%       { opacity: 0.5; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 0 2rem;
}

.hero-badge {
    display: inline-block;
    border: 1px solid rgba(201,168,76,0.4);
    color: var(--gold);
    font-size: 0.75rem;
    letter-spacing: 4px;
    padding: 6px 20px;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.3s forwards;
}

.hero h1 {
    font-family: 'Amiri', serif;
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s 0.5s forwards;
}

.hero h1 span {
    color: transparent;
    -webkit-text-stroke: 1px var(--gold);
    display: block;
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--white-dim);
    margin: 1.8rem 0 3rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 0.8s forwards;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s 1s forwards;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
    padding: 14px 36px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold-light);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.25,.46,.45,.94);
}
.btn-primary:hover::before { transform: translateX(0); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-primary span { position: relative; z-index: 1; }

.btn-outline {
    background: transparent;
    color: var(--white);
    padding: 14px 36px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    border: 1px solid rgba(250,248,242,0.25);
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    animation: fadeUp 0.8s 1.5s forwards;
}
.hero-scroll span { font-size: 0.7rem; letter-spacing: 3px; color: var(--white-dim); }

.scroll-line {
    width: 1px; height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(1.1); }
}

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ─── MARQUEE ─── */
.marquee-section {
    border-top: 1px solid rgba(201,168,76,0.15);
    border-bottom: 1px solid rgba(201,168,76,0.15);
    padding: 1.2rem 0;
    overflow: hidden;
    background: var(--black-2);
}
.marquee-track {
    display: flex;
    gap: 0;
    animation: marquee 25s linear infinite;
    white-space: nowrap;
}
.marquee-item {
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--gold);
    padding: 0 2.5rem;
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
}
.marquee-item::after { content: '✦'; font-size: 0.6rem; color: var(--gold-dim); }

@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ─── SECTIONS ─── */
.section {
    padding: 7rem 4rem;
    max-width: 1300px;
    margin: 0 auto;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.7s ease;
}
.section-label.visible { opacity: 1; transform: translateX(0); }
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--gold); flex-shrink: 0; }
.section-label span { font-size: 0.7rem; letter-spacing: 4px; color: var(--gold); text-transform: uppercase; }

.section-title {
    font-family: 'Amiri', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s 0.1s ease;
}
.section-title.visible { opacity: 1; transform: translateY(0); }
.section-title em { font-style: normal; color: var(--gold); }

/* ─── GALLERY ─── */
.gallery-outer { background: var(--black-2); padding: 7rem 0; }
.gallery-inner { max-width: 1300px; margin: 0 auto; padding: 0 4rem; }

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 3px;
    margin-top: 4rem;
}

.gallery-item {
    overflow: hidden;
    position: relative;
    background: var(--black-3);
    opacity: 0;
    transform: scale(0.97);
    transition: all 0.8s cubic-bezier(.25,.46,.45,.94);
}
.gallery-item.visible { opacity: 1; transform: scale(1); }
.gallery-item:nth-child(1) { grid-row: 1 / 3; transition-delay: 0.1s; }
.gallery-item:nth-child(2) { transition-delay: 0.2s; }
.gallery-item:nth-child(3) { transition-delay: 0.35s; }
.gallery-item:nth-child(4) { transition-delay: 0.3s; }
.gallery-item:nth-child(5) { transition-delay: 0.45s; }

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(.25,.46,.45,.94), filter 0.5s;
    filter: brightness(0.85) saturate(0.9);
}
.gallery-item:hover img { transform: scale(1.07); filter: brightness(1) saturate(1.1); }

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8,8,8,0.8) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-label { font-size: 0.8rem; letter-spacing: 3px; color: var(--gold); }

/* ─── FEATURED PRODUCTS ─── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5px;
    margin-top: 4rem;
    background: rgba(201,168,76,0.08);
}

.product-card {
    background: var(--black-2);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}
.product-card.visible { opacity: 1; transform: translateY(0); }

.product-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(201,168,76,0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}
.product-card:hover::before { opacity: 1; }

.product-card::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.5s ease;
}
.product-card:hover::after { width: 100%; }

.product-img-wrap {
    height: 260px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Discount ribbon on image */
.discount-ribbon {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: var(--bg);
    font-family: 'Tajawal', sans-serif;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    padding: 5px 10px;
    z-index: 3;
    line-height: 1;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.discount-ribbon::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    border-top: 5px solid var(--gold-dim);
    border-right: 5px solid transparent;
}

.cat-product-img {
    height: 200px;
    overflow: hidden;
    margin-bottom: 1.2rem;
    background: var(--bg-3);
    position: relative;
}
.product-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(.25,.46,.45,.94);
    filter: brightness(0.9);
}
.product-card:hover .product-img-wrap img { transform: scale(1.06); filter: brightness(1); }

.product-tag { font-size: 0.65rem; letter-spacing: 3px; color: var(--gold); margin-bottom: 0.6rem; }
.product-name { font-family: 'Amiri', serif; font-size: 1.5rem; color: var(--white); margin-bottom: 0.5rem; }
.product-desc { font-size: 0.85rem; color: var(--white-dim); line-height: 1.7; margin-bottom: 1.5rem; }

.product-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }

/* Price block — supports before/after discount */
.product-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.product-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.price-current {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 3px;
}
.price-current .sar-symbol {
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.85;
}
/* SAR symbol image — used everywhere instead of text glyph */
.sar-img {
    height: 0.9em;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    top: -0.05em;
    /* Tint to match accent color across all themes */
    filter: brightness(0) saturate(100%) invert(72%) sepia(40%) saturate(600%) hue-rotate(5deg) brightness(90%);
    opacity: 0.9;
}
/* Per-theme tinting */
[data-theme="dark"]    .sar-img { filter: brightness(0) saturate(100%) invert(72%) sepia(40%) saturate(600%) hue-rotate(5deg) brightness(90%); }
[data-theme="light"]   .sar-img { filter: brightness(0) saturate(100%) invert(35%) sepia(50%) saturate(500%) hue-rotate(15deg) brightness(85%); }
[data-theme="rose"]    .sar-img { filter: brightness(0) saturate(100%) invert(45%) sepia(60%) saturate(400%) hue-rotate(300deg) brightness(90%); }
[data-theme="emerald"] .sar-img { filter: brightness(0) saturate(100%) invert(50%) sepia(60%) saturate(400%) hue-rotate(130deg) brightness(85%); }

.price-old .sar-img { opacity: 0.5; height: 0.75em; }
.price-old {
    font-size: 0.82rem;
    color: var(--fg-dim);
    text-decoration: line-through;
    display: flex;
    align-items: center;
    gap: 2px;
    opacity: 0.7;
}
.price-old .sar-symbol { font-size: 0.72rem; }
.price-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--bg);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 7px;
    border-radius: 2px;
    white-space: nowrap;
}

.product-btn {
    background: transparent;
    border: 1px solid rgba(201,168,76,0.4);
    color: var(--gold);
    padding: 8px 18px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
    transition: all 0.3s;
}
.product-btn:hover { background: var(--gold); color: var(--black); }

/* ─── CATEGORY SECTIONS ─── */
.cat-section {
    padding: 6rem 0;
    border-top: 1px solid var(--border-col);
}
.cat-section:nth-child(even) { background: var(--bg-2); }

.cat-section-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 4rem;
}

.cat-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.cat-section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.cat-section-icon {
    width: 52px; height: 52px;
    border: 1px solid var(--border-col);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: var(--bg-3);
    flex-shrink: 0;
}
.cat-section-name {
    font-family: 'Amiri', serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--white);
}
.cat-section-name em { font-style: normal; color: var(--accent); }

.cat-view-all {
    font-size: 0.78rem;
    letter-spacing: 2px;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
    white-space: nowrap;
}
.cat-view-all:hover { border-bottom-color: var(--accent); }
.cat-view-all::after { display: none; }

.cat-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5px;
    background: var(--border-col);
}

/* Compact product card for category grids */
.cat-product-card {
    background: var(--bg-2);
    padding: 1.8rem 1.5rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
}
.cat-product-card::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 0; height: 1px;
    background: var(--accent);
    transition: width 0.4s ease;
}
.cat-product-card:hover::after { width: 100%; }
.cat-product-card:hover { background: var(--bg-3); }

.cat-product-img {
    height: 200px;
    overflow: hidden;
    margin-bottom: 1.2rem;
    background: var(--bg-3);
    position: relative;
}
.cat-product-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.25,.46,.45,.94);
    filter: brightness(0.88);
}
.cat-product-card:hover .cat-product-img img { transform: scale(1.05); filter: brightness(1); }

.cat-product-label { font-size: 0.6rem; letter-spacing: 3px; color: var(--accent); margin-bottom: 0.4rem; }
.cat-product-name { font-family: 'Amiri', serif; font-size: 1.15rem; color: var(--white); margin-bottom: 0.4rem; }
.cat-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.8rem;
}
.cat-product-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cat-product-price .price-current { font-size: 1rem; }
.cat-product-price .price-old { font-size: 0.75rem; }
.cat-product-price .price-badge { font-size: 0.55rem; padding: 2px 5px; }
.cat-add-btn {
    width: 32px; height: 32px;
    border: 1px solid rgba(201,168,76,0.35);
    background: none;
    color: var(--accent);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-family: 'Tajawal', sans-serif;
}
.cat-add-btn:hover { background: var(--accent); color: var(--bg); }

/* ─── WHY ATHR ─── */
.why-section { background: var(--black-3); }

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    margin-top: 4rem;
}

.why-visual {
    position: relative;
    height: 560px;
}

.why-img-main {
    position: absolute;
    width: 75%; height: 85%;
    top: 0; right: 0;
    overflow: hidden;
}
.why-img-main img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); }

.why-img-accent {
    position: absolute;
    width: 45%; height: 45%;
    bottom: 0; left: 0;
    overflow: hidden;
    border: 3px solid var(--black-3);
}
.why-img-accent img { width: 100%; height: 100%; object-fit: cover; }

.why-gold-box {
    position: absolute;
    top: 50%; left: 5%;
    transform: translateY(-50%);
    background: var(--gold);
    color: var(--black);
    padding: 1.5rem;
    text-align: center;
    z-index: 2;
}
.why-gold-box .num { font-family: 'Amiri', serif; font-size: 2.5rem; font-weight: 700; display: block; }
.why-gold-box .lbl { font-size: 0.65rem; letter-spacing: 3px; display: block; }

.why-features { display: flex; flex-direction: column; gap: 2.5rem; }

.why-feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.7s ease;
}
.why-feature.visible { opacity: 1; transform: translateX(0); }

.why-icon {
    width: 48px; height: 48px;
    border: 1px solid rgba(201,168,76,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.4rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}
.why-feature:hover .why-icon { background: var(--gold); border-color: var(--gold); }
.why-feature-title { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.4rem; }
.why-feature-text { font-size: 0.88rem; color: var(--white-dim); line-height: 1.8; }

/* ─── STATS ─── */
.stats-section {
    background: var(--black);
    border-top: 1px solid rgba(201,168,76,0.1);
    border-bottom: 1px solid rgba(201,168,76,0.1);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1300px;
    margin: 0 auto;
}

.stat-item {
    padding: 4rem 2rem;
    text-align: center;
    border-left: 1px solid rgba(201,168,76,0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease;
}
.stat-item.visible { opacity: 1; transform: translateY(0); }
.stat-item:last-child { border-right: 1px solid rgba(201,168,76,0.1); }
.stat-item::before {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 0; height: 2px;
    background: var(--gold);
    transition: width 1s 0.3s ease;
}
.stat-item.visible::before { width: 100%; }

.stat-num { font-family: 'Amiri', serif; font-size: 3.5rem; font-weight: 700; color: var(--gold); display: block; line-height: 1; margin-bottom: 0.5rem; }
.stat-label { font-size: 0.78rem; letter-spacing: 2px; color: var(--white-dim); }

/* ─── TESTIMONIALS ─── */
.testimonials-outer { background: var(--black-2); padding: 7rem 0; }
.testimonials-inner { max-width: 1300px; margin: 0 auto; padding: 0 4rem; }

.testimonials-slider { position: relative; overflow: hidden; margin-top: 4rem; }
.testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.7s cubic-bezier(.25,.46,.45,.94);
}

.testimonial-card {
    min-width: calc(33.333% - 1.33rem);
    background: var(--bg-3);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    position: relative;
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease, transform 0.3s, box-shadow 0.3s;
}
.testimonial-card.visible { opacity: 1; transform: translateY(0); }
.testimonial-card:hover { border-color: var(--accent); box-shadow: 0 0 40px rgba(0,0,0,0.2); }
.testimonial-card::before {
    content: '"';
    font-family: 'Amiri', serif;
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.1;
    position: absolute;
    top: 0.5rem; right: 1.5rem;
    line-height: 1;
}

.stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 1.2rem; letter-spacing: 3px; }
.testimonial-text { font-size: 0.95rem; color: var(--white-dim); line-height: 1.9; margin-bottom: 1.5rem; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--gold-dim);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 700;
    color: var(--gold-pale);
    flex-shrink: 0;
}
.author-name { font-size: 0.9rem; font-weight: 700; color: var(--white); }
.author-title { font-size: 0.75rem; color: var(--white-dim); }

.slider-controls { display: flex; gap: 1rem; margin-top: 3rem; justify-content: flex-end; }
.slider-btn {
    width: 44px; height: 44px;
    border: 1px solid var(--border-col);
    background: transparent;
    color: var(--accent);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}
.slider-btn:hover { background: var(--accent); color: var(--bg); }

/* ─── NEWSLETTER ─── */
.newsletter-section {
    background: var(--black);
    position: relative;
    overflow: hidden;
    padding: 7rem 4rem;
}
.newsletter-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201,168,76,0.04), transparent);
}
.newsletter-box { max-width: 620px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.newsletter-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.newsletter-box h2 { font-family: 'Amiri', serif; font-size: clamp(2rem, 4vw, 3rem); color: var(--white); margin-bottom: 1rem; }
.newsletter-box p { font-size: 0.95rem; color: var(--white-dim); margin-bottom: 2.5rem; line-height: 1.8; }

.newsletter-form { display: flex; gap: 0; max-width: 480px; margin: 0 auto; }
.newsletter-input {
    flex: 1;
    background: var(--bg-3);
    border: 1px solid var(--border-col);
    border-left: none;
    color: var(--fg);
    padding: 14px 20px;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
    direction: rtl;
}
.newsletter-input:focus { border-color: var(--accent); }
.newsletter-input::placeholder { color: var(--fg-dim); }

.newsletter-submit {
    background: var(--gold);
    color: var(--black);
    border: none;
    padding: 14px 28px;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 1px;
    white-space: nowrap;
    transition: background 0.3s;
    flex-shrink: 0;
}
.newsletter-submit:hover { background: var(--gold-light); }
.newsletter-fine { font-size: 0.72rem; color: var(--fg-dim); margin-top: 1rem; }

/* ─── FOOTER ─── */
footer {
    background: var(--black-2);
    border-top: 1px solid rgba(201,168,76,0.15);
    padding: 4rem;
}

.footer-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo { font-size: 2.4rem; margin-bottom: 1.2rem; display: inline-block; }
.footer-brand p { font-size: 0.85rem; color: var(--white-dim); line-height: 1.9; max-width: 260px; }
.footer-col h5 { font-size: 0.7rem; letter-spacing: 3px; color: var(--gold); margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.8rem; }
.footer-col ul li a { font-size: 0.87rem; color: var(--white-dim); text-decoration: none; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--gold); }

.footer-bottom {
    max-width: 1300px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p { font-size: 0.8rem; color: var(--fg-dim); }
.social-links { display: flex; gap: 1rem; }
.social-link {
    width: 36px; height: 36px;
    border: 1px solid rgba(201,168,76,0.2);
    display: flex; align-items: center; justify-content: center;
    color: var(--white-dim);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); background: rgba(201,168,76,0.05); }

/* ─── LOADER ─── */
.loader {
    position: fixed; inset: 0;
    background: var(--black);
    z-index: 99999;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 2rem;
    transition: opacity 0.6s, visibility 0.6s;
}
.loader.hidden { opacity: 0; visibility: hidden; }

.loader-line {
    width: 120px; height: 1px;
    background: var(--black-5);
    position: relative; overflow: hidden;
}
.loader-line::after {
    content: '';
    position: absolute;
    top: 0; right: -100%;
    height: 100%; width: 100%;
    background: var(--gold);
    animation: loadLine 1.5s ease-in-out infinite;
}
@keyframes loadLine {
    0%   { right: 100%; }
    50%  { right: -100%; }
    100% { right: 100%; }
}

.loader-brand { display: flex; align-items: center; justify-content: center; }
.loader-img {
    width: 220px; height: auto;
    object-fit: contain;
    opacity: 0;
    animation: pulseImg 1.5s ease-in-out infinite;
    filter: brightness(1.1) contrast(1.05);
}
@keyframes pulseImg {
    0%, 100% { opacity: 0.5; transform: scale(0.97); }
    50%       { opacity: 1;   transform: scale(1); }
}

/* ─── HERO SPLIT ─── */
.hero-split {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5rem;
    max-width: 1300px;
    width: 100%;
    padding: 0 4rem;
    margin: 0 auto;
}

.hero-split .hero-content {
    text-align: right;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.9s 0.5s forwards;
}
.hero-split .hero-btns { justify-content: flex-start; flex-direction: row-reverse; }

.hero-brand-frame {
    position: relative;
    display: flex; flex-direction: column; align-items: center;
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 1s 0.7s forwards;
}
@keyframes fadeInLeft { to { opacity: 1; transform: translateX(0); } }

.hero-brand-glow {
    position: absolute; inset: -30px;
    background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(201,168,76,0.12), transparent 70%);
    pointer-events: none;
    animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(0.95); }
    50%       { opacity: 1;   transform: scale(1.05); }
}

.hero-brand-box { position: relative; width: 100%; max-width: 440px; }
.hero-brand-img {
    width: 100%; height: auto; display: block;
    object-fit: contain; position: relative; z-index: 1;
    filter: drop-shadow(0 0 40px rgba(201,168,76,0.2));
}
.hero-brand-border-tl, .hero-brand-border-br { position: absolute; width: 40px; height: 40px; z-index: 2; }
.hero-brand-border-tl { top: -8px; right: -8px; border-top: 1px solid var(--accent); border-right: 1px solid var(--accent); }
.hero-brand-border-br { bottom: -8px; left: -8px; border-bottom: 1px solid var(--accent); border-left: 1px solid var(--accent); }
.hero-brand-tag { margin-top: 1.2rem; font-size: 0.68rem; letter-spacing: 4px; color: var(--accent); opacity: 0.7; }

/* ─── WHY STAMP ─── */
.why-brand-stamp {
    position: absolute;
    bottom: -20px; right: -20px;
    width: 160px;
    background: var(--bg);
    padding: 12px;
    border: 1px solid var(--border-col);
    z-index: 3;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    opacity: 0;
    transform: translateY(10px) scale(0.95);
    transition: all 0.6s 0.6s ease;
}
.why-brand-stamp.visible-stamp { opacity: 1; transform: translateY(0) scale(1); }
.why-brand-img { width: 100%; height: auto; display: block; object-fit: contain; filter: brightness(1.05); }

/* ─── NEWSLETTER WATERMARK ─── */
.newsletter-brand-bg {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none; overflow: hidden;
}
.newsletter-brand-watermark {
    width: 500px; height: auto;
    object-fit: contain;
    opacity: 0.04;
    filter: grayscale(1) brightness(3);
    transform: scale(1.1);
}
[data-theme="light"] .newsletter-brand-watermark { opacity: 0.06; filter: grayscale(1) brightness(0.3); }

/* ─── FOOTER BRAND IMG ─── */
.footer-logo-wrap { margin-bottom: 1.2rem; }
.footer-brand-img {
    width: 140px; height: auto;
    object-fit: contain; display: block;
    filter: brightness(1) contrast(1.05);
    opacity: 0.92;
    transition: opacity 0.3s;
}
.footer-brand-img:hover { opacity: 1; }
[data-theme="light"] .footer-brand-img { filter: brightness(0.85) contrast(1.1); }

/* ── Utilities ── */
.text-gold { color: var(--gold); }
.divider {
    max-width: 1300px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(201,168,76,0.2), transparent);
}

/* ═══════════════════════════════════
   RESPONSIVE — MOBILE FIRST
   ═══════════════════════════════════ */

/* ── Tablet (≤1024px) ── */
@media (max-width: 1024px) {
    .cat-products-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    .why-grid { gap: 3rem; }
    .why-visual { height: 420px; }
}

/* ── Mobile (≤768px) ── */
@media (max-width: 768px) {

    /* Header */
    header { padding: 0 1.5rem; height: 64px; }

    .nav-hamburger { display: flex; }

    nav {
        position: fixed;
        top: 64px; left: 0; right: 0;
        background: var(--bg-2);
        border-bottom: 1px solid var(--border-col);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.3s;
    }
    nav.open {
        max-height: 420px;
        padding: 0.5rem 0;
    }
    nav a {
        width: 100%;
        padding: 0.9rem 1.5rem;
        border-bottom: 1px solid var(--border-col);
        font-size: 0.95rem;
    }
    nav a::after { display: none; }
    .nav-cta {
        margin: 0.5rem 1.5rem;
        width: calc(100% - 3rem);
        text-align: center;
        border: 1px solid var(--gold) !important;
    }

    /* Categories bar */
    .categories-track { justify-content: flex-start; padding: 0 1rem; }
    .cat-btn { padding: 12px 16px; font-size: 0.75rem; }
    .cat-btn .cat-icon { font-size: 1rem; }

    /* Hero */
    .hero-split {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
        gap: 2.5rem;
        text-align: center;
        padding-top: 80px;
    }
    .hero-split .hero-content { text-align: center; }
    .hero-split .hero-btns { justify-content: center; flex-direction: column; align-items: center; gap: 1rem; }
    .hero-brand-frame { order: -1; }
    .hero-brand-box { max-width: 260px; }
    .hero h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
    .hero-sub { font-size: 0.9rem; }

    /* Section padding */
    .section { padding: 4rem 1.5rem; }
    .gallery-inner,
    .testimonials-inner { padding: 0 1.5rem; }

    /* Gallery grid */
    .gallery-outer { padding: 4rem 0; }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: auto; }

    /* Products sections */
    .products-grid { grid-template-columns: 1fr; }
    #products > div { padding: 0 1.5rem; }

    /* Category sections */
    .cat-section-inner { padding: 0 1.5rem; }
    .cat-section { padding: 4rem 0; }
    .cat-section-header { flex-direction: column; align-items: flex-start; }
    .cat-products-grid { grid-template-columns: 1fr 1fr; }
    .cat-product-img { height: 150px; }

    /* WHY SECTION — FIXED */
    .why-section .section { padding: 4rem 1.5rem; }
    .why-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .why-visual {
        height: 280px;
        /* Reset absolute positioning context */
    }
    .why-img-main {
        position: relative;
        width: 100%;
        height: 100%;
        top: auto; right: auto;
    }
    .why-img-accent,
    .why-gold-box,
    .why-brand-stamp {
        display: none;
    }
    .why-features { gap: 1.8rem; }
    .why-feature { gap: 1rem; }
    .why-icon { width: 40px; height: 40px; font-size: 1.1rem; }

    /* Stats */
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { padding: 2.5rem 1rem; }
    .stat-num { font-size: 2.5rem; }
    .stat-item:last-child { border-right: none; }
    .stat-item:nth-child(2) { border-left: none; }

    /* Testimonials */
    .testimonials-outer { padding: 4rem 0; }
    .testimonial-card { min-width: calc(85vw); }
    .slider-controls { justify-content: center; }

    /* Newsletter */
    .newsletter-section { padding: 4rem 1.5rem; }
    .newsletter-form { flex-direction: column; }
    .newsletter-input { border-left: 1px solid var(--border-col); border-top: none; }
    .newsletter-submit { width: 100%; }

    /* FOOTER — FIXED */
    footer { padding: 3rem 1.5rem 2rem; }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    .footer-brand { text-align: center; }
    .footer-brand p { max-width: 100%; }
    .footer-logo-wrap { display: flex; justify-content: center; }
    .footer-col { text-align: center; }
    .footer-col ul { align-items: center; }
    .footer-col h5 { text-align: center; }
    .footer-bottom {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }
    .social-links { justify-content: center; }

    /* Theme switcher */
    #theme-switcher { bottom: 1rem; left: 1rem; }
    #theme-toggle-btn { width: 40px; height: 40px; font-size: 1rem; }
}

/* ── Small Mobile (≤480px) ── */
@media (max-width: 480px) {
    .cat-products-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item:nth-child(1) { grid-column: auto; }
    .hero-brand-box { max-width: 200px; }
    .btn-primary, .btn-outline { padding: 12px 24px; font-size: 0.82rem; }
}
