/* ==========================================================================
   TOOHFA STORE - Luxury Home Decor E-Commerce
   Design System & Master Stylesheet
   Colors: Deep Green (#183C32), Cream/Ivory (#F7F3EB), Gold (#C5A46D), Charcoal (#292720)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
    --primary: #183C32;
    --primary-light: #235345;
    --primary-dark: #0f2b23;
    --primary-rgb: 24, 60, 50;

    --gold: #C5A46D;
    --gold-light: #d8bc8c;
    --gold-dark: #a98852;
    --gold-rgb: 197, 164, 109;

    --cream: #F7F3EB;
    --cream-light: #FAF8F4;
    --cream-dark: #ede6d8;

    --charcoal: #292720;
    --charcoal-light: #3e3b33;
    --text-muted: #737067;
    --text-light: #9c988e;

    --white: #FFFFFF;
    --border-color: #E6DFD3;
    --border-light: #f0ebe2;

    --success: #2E7D32;
    --error: #C62828;
    --warning: #F57C00;
    --info: #0288D1;

    --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
    --font-en: 'Playfair Display', Georgia, serif;
    --font-handwriting: 'Dancing Script', cursive;

    --shadow-sm: 0 2px 8px rgba(24, 60, 50, 0.06);
    --shadow-md: 0 6px 20px rgba(24, 60, 50, 0.08);
    --shadow-lg: 0 12px 36px rgba(24, 60, 50, 0.12);
    --shadow-gold: 0 8px 24px rgba(197, 164, 109, 0.25);
    --shadow-card: 0 4px 16px rgba(41, 39, 32, 0.05);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    direction: rtl;
    text-align: right;
    font-size: 16px;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-ar);
    color: var(--charcoal);
    background-color: var(--cream-light);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

::selection {
    background-color: var(--gold);
    color: var(--white);
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    outline: none;
    transition: var(--transition-base);
}

input, select, textarea {
    font-family: inherit;
    outline: none;
}

ul {
    list-style: none;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--cream);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: var(--radius-full);
    border: 2px solid var(--cream);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

/* --------------------------------------------------------------------------
   3. Luxury Startup Splash Screen / Preloader (White Background & Animated Logo Entry)
   -------------------------------------------------------------------------- */
#preloader {
    position: fixed;
    inset: 0;
    background-color: #FFFFFF;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

/* Luxury Logo Animated Entry */
.preloader-logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.preloader-emblem {
    width: 130px;
    height: 100px;
    margin-bottom: 1.25rem;
    animation: splashEmblemEntry 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.preloader-roof {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: drawStroke 1.4s ease forwards 0.2s;
}

.preloader-leaves {
    opacity: 0;
    transform-origin: 80px 95px;
    transform: scale(0.6);
    animation: leafSprout 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards 0.6s;
}

.preloader-title-toohfa {
    font-family: var(--font-en);
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 10px;
    color: var(--primary);
    line-height: 1;
    margin-right: -10px;
    opacity: 0;
    transform: translateY(18px);
    animation: splashTextFadeUp 0.8s ease forwards 0.7s;
}

.preloader-sub-store {
    font-family: var(--font-en);
    font-size: 1.05rem;
    letter-spacing: 14px;
    color: var(--gold-dark);
    font-weight: 700;
    margin-top: 0.5rem;
    margin-right: -14px;
    opacity: 0;
    transform: translateY(15px);
    animation: splashTextFadeUp 0.8s ease forwards 0.9s;
}

.preloader-slogan {
    font-family: var(--font-ar);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 0.75rem;
    letter-spacing: 1px;
    opacity: 0;
    animation: splashTextFadeUp 0.8s ease forwards 1.1s;
}

/* Elegant Slim Progress Bar */
.preloader-progress-track {
    width: 180px;
    height: 3px;
    background: rgba(197, 164, 109, 0.18);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards 0.8s;
}

.preloader-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold) 0%, var(--primary) 100%);
    border-radius: 9999px;
    animation: progressFill 1.8s cubic-bezier(0.4, 0, 0.2, 1) forwards 0.3s;
}

@keyframes splashEmblemEntry {
    0% {
        opacity: 0;
        transform: translateY(-25px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes drawStroke {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes leafSprout {
    0% {
        opacity: 0;
        transform: scale(0.4);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes splashTextFadeUp {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressFill {
    0% { width: 0%; }
    50% { width: 65%; }
    100% { width: 100%; }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* --------------------------------------------------------------------------
   4. Announcement Top Bar & Marquee
   -------------------------------------------------------------------------- */
.announcement-bar {
    background-color: var(--primary-dark);
    color: var(--cream);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(197, 164, 109, 0.2);
    position: relative;
    z-index: 101;
}

.announcement-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.announcement-marquee {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-track {
    display: inline-flex;
    gap: 3rem;
    animation: marquee-rtl 35s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.marquee-item i {
    color: var(--gold);
}

@keyframes marquee-rtl {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    padding-inline-start: 1rem;
    border-inline-start: 1px solid rgba(247, 243, 235, 0.2);
}

.lang-switcher a {
    color: var(--cream);
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.lang-switcher a.active,
.lang-switcher a:hover {
    opacity: 1;
    color: var(--gold);
}

/* --------------------------------------------------------------------------
   5. Header & Navigation
   -------------------------------------------------------------------------- */
.header {
    background-color: rgba(247, 243, 235, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
    padding: 0.25rem 0;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0.75rem 0;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    user-select: none;
}

.logo-icon-wrapper {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    padding: 6px;
    border: 1px solid var(--gold);
    box-shadow: 0 2px 10px rgba(24, 60, 50, 0.15);
}

.logo-svg {
    width: 100%;
    height: 100%;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-name {
    font-family: var(--font-en);
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary);
}

.logo-subtitle {
    font-size: 0.68rem;
    letter-spacing: 2px;
    color: var(--gold-dark);
    font-weight: 600;
    margin-top: 2px;
}

/* Nav Menu */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--charcoal);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: var(--gold);
    transition: width var(--transition-base);
}

.nav-item:hover .nav-link,
.nav-item.active .nav-link {
    color: var(--primary);
}

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

.nav-link i {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    right: -150px;
    width: 750px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition-base);
    z-index: 1000;
    pointer-events: none;
}

.has-mega-menu:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.5fr;
    gap: 1.5rem;
}

.mega-menu-col h4 {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--gold);
}

.mega-menu-col ul li {
    margin-bottom: 0.5rem;
}

.mega-menu-col ul li a {
    color: var(--charcoal-light);
    font-size: 0.88rem;
    transition: color var(--transition-fast), padding-right var(--transition-fast);
}

.mega-menu-col ul li a:hover {
    color: var(--gold-dark);
    padding-right: 4px;
}

.mega-menu-featured {
    border-right: 1px solid var(--border-light);
    padding-right: 1.5rem;
}

.mega-menu-banner {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    height: 100%;
}

.mega-menu-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mega-menu-banner-text {
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    padding: 1rem;
    background: linear-gradient(to top, rgba(24, 60, 50, 0.9), transparent);
    color: var(--white);
}

.mega-menu-banner-text span {
    font-size: 0.75rem;
    background: var(--gold);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.mega-menu-banner-text h5 {
    font-size: 1rem;
    margin-top: 4px;
}

/* Header Action Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.header-action-btn,
.cart-toggle,
.search-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background-color: var(--white);
    border: 1px solid var(--border-color);
    font-size: 1.05rem;
    position: relative;
    transition: var(--transition-fast);
}

.header-action-btn:hover,
.cart-toggle:hover,
.search-toggle:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.action-badge,
.cart-count,
.wishlist-count {
    position: absolute;
    top: -4px;
    left: -4px;
    min-width: 20px;
    height: 20px;
    border-radius: var(--radius-full);
    background-color: var(--gold);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle,
.hamburger-menu {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1.5px solid var(--gold);
    border-radius: 10px;
    padding: 0;
    color: var(--primary);
    font-size: 1.35rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(24, 60, 50, 0.08);
    transition: var(--transition-fast);
    flex-shrink: 0;
    z-index: 100;
}

.mobile-menu-toggle svg,
.hamburger-menu svg {
    stroke: var(--primary);
    transition: stroke var(--transition-fast);
}

.mobile-menu-toggle:hover,
.hamburger-menu:hover {
    background-color: var(--cream-light);
    border-color: var(--primary);
}

.mobile-menu-toggle:hover svg,
.hamburger-menu:hover svg {
    stroke: var(--gold-dark);
}

/* --------------------------------------------------------------------------
   6. Hero Slider
   -------------------------------------------------------------------------- */
.hero-slider {
    position: relative;
    height: clamp(520px, 80vh, 750px);
    overflow: hidden;
    background-color: var(--charcoal);
}

.slides-container,
.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 7s ease-out;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(24, 60, 50, 0.85) 0%,
        rgba(24, 60, 50, 0.65) 45%,
        rgba(24, 60, 50, 0.3) 100%
    );
}

.slide-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
    color: var(--cream);
    padding-inline-start: 1rem;
}

.slide-subtitle {
    display: inline-block;
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.slide-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.25;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-desc {
    font-size: 1.15rem;
    color: var(--cream-dark);
    margin-bottom: 2rem;
    font-weight: 400;
    font-style: normal;
    font-family: var(--font-ar);
    opacity: 0.95;
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: rgba(247, 243, 235, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(247, 243, 235, 0.4);
    color: var(--white);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    background-color: var(--gold);
    color: var(--white);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow.slider-prev,
.slider-arrow.prev {
    right: 2rem;
}

.slider-arrow.slider-next,
.slider-arrow.next {
    left: 2rem;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slider-dot,
.slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(247, 243, 235, 0.4);
    border: 2px solid transparent;
    transition: var(--transition-base);
    padding: 0;
}

.slider-dot.active,
.slider-dots .dot.active {
    background-color: var(--gold);
    width: 32px;
    border-radius: 12px;
}

.slider-progress {
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    z-index: 10;
}

.slider-progress-bar {
    height: 100%;
    width: 0;
    background: var(--gold);
    transition: width 0.1s linear;
}

/* --------------------------------------------------------------------------
   7. Buttons & Component Utilities
   -------------------------------------------------------------------------- */
.btn,
.btn-primary,
.slide-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-align: center;
}

.btn-primary,
.slide-cta {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-gold);
    border: 1px solid var(--gold-light);
}

.btn-primary:hover,
.slide-cta:hover {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(197, 164, 109, 0.4);
    color: var(--white);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, #b8955a 100%);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-dark {
    background-color: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    background-color: var(--primary-light);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold-dark);
    border: 2px solid var(--gold);
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    color: var(--white);
}

.btn-outline-dark {
    background: transparent;
    color: var(--charcoal);
    border: 2px solid var(--charcoal);
}

.btn-outline-dark:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem auto;
}

.section-badge {
    display: inline-block;
    padding: 0.35rem 1.2rem;
    background-color: rgba(197, 164, 109, 0.15);
    color: var(--gold-dark);
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
    position: relative;
    padding-bottom: 0.75rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--gold), var(--primary));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-style: normal;
    font-weight: 500;
    margin-top: 0.75rem;
    font-family: var(--font-ar);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. Features / Guarantees Bar
   -------------------------------------------------------------------------- */
.features-bar {
    background-color: var(--white);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 5;
}

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

.feature-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.25rem 1.5rem;
    background: var(--cream-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
    background-color: var(--white);
}

.feature-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(24, 60, 50, 0.1) 0%, rgba(197, 164, 109, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary);
    border: 1px solid rgba(197, 164, 109, 0.3);
    transition: var(--transition-fast);
}

.feature-card:hover .feature-icon {
    background: var(--primary);
    color: var(--gold);
    transform: rotate(5deg) scale(1.05);
}

.feature-text h4 {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.feature-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-en);
}

/* --------------------------------------------------------------------------
   9. Categories Grid Section
   -------------------------------------------------------------------------- */
.categories-section {
    padding: 5rem 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.category-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 280px;
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
}

.category-card.category-large {
    grid-column: span 2;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover img {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(24, 60, 50, 0.88) 0%, rgba(24, 60, 50, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--white);
    transition: var(--transition-base);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(24, 60, 50, 0.95) 0%, rgba(24, 60, 50, 0.35) 60%, transparent 100%);
}

.category-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.category-overlay p {
    font-size: 0.9rem;
    color: var(--gold-light);
    font-family: var(--font-ar);
    font-style: normal;
    margin-bottom: 0.75rem;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gold);
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition-base);
}

.category-card:hover .category-link {
    transform: translateY(0);
    opacity: 1;
}

/* --------------------------------------------------------------------------
   10. Products Section & Product Cards
   -------------------------------------------------------------------------- */
.products-section {
    padding: 5rem 0;
    background-color: var(--cream);
}

/* Category Filter Tabs */
.filter-tabs,
.category-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-tab,
.filter-btn {
    padding: 0.6rem 1.6rem;
    border-radius: var(--radius-full);
    background-color: var(--white);
    color: var(--charcoal);
    font-size: 0.92rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    transition: var(--transition-base);
}

.filter-tab:hover,
.filter-btn:hover,
.filter-tab.active,
.filter-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.8rem;
    margin-bottom: 3rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Product Card */
.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1.05;
    background-color: #f7f6f2;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-image.lazy {
    filter: blur(8px);
    opacity: 0.7;
}

.product-image.loaded {
    filter: blur(0);
    opacity: 1;
}

/* Badges */
.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    z-index: 2;
    letter-spacing: 0.5px;
}

.product-badge.sale {
    background-color: var(--error);
}

.product-badge.new {
    background-color: var(--primary);
}

.discount-tag {
    position: absolute;
    top: 2.8rem;
    right: 1rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    background-color: var(--gold);
    color: var(--white);
    z-index: 2;
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--charcoal-light);
    font-size: 1rem;
    z-index: 2;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.wishlist-btn:hover,
.wishlist-btn.active {
    background-color: #ffebee;
    color: #e53935;
    transform: scale(1.1);
}

/* Quick View Overlay Button */
.product-actions-overlay {
    position: absolute;
    inset-inline: 1rem;
    bottom: 1rem;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(15px);
    transition: var(--transition-base);
    z-index: 2;
}

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

.btn-quick-view {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
    transition: var(--transition-fast);
}

.btn-quick-view:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Product Info */
.product-info {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    color: #fbc02d;
    margin-bottom: 0.5rem;
}

.rating-value {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-inline-start: 0.2rem;
}

.product-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.2rem;
    transition: color var(--transition-fast);
}

.product-card:hover .product-name {
    color: var(--primary);
}

.product-name-fr {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: var(--font-en);
    font-style: italic;
    margin-bottom: 0.9rem;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
    margin-top: auto;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.old-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.btn-add-to-cart {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.92rem;
    transition: var(--transition-base);
}

.btn-add-to-cart:hover {
    background-color: var(--gold-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 164, 109, 0.35);
}

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

/* --------------------------------------------------------------------------
   11. Promotional Banner Section
   -------------------------------------------------------------------------- */
.promo-banner {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    color: var(--white);
    text-align: center;
}

.promo-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: scale(1.05);
}

.promo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(24, 60, 50, 0.92) 0%,
        rgba(24, 60, 50, 0.8) 100%
    );
}

.promo-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.promo-badge {
    display: inline-block;
    padding: 0.35rem 1.4rem;
    border-radius: var(--radius-full);
    background-color: rgba(197, 164, 109, 0.25);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 1px;
}

.promo-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.promo-content p {
    font-size: 1.2rem;
    color: var(--cream-dark);
    font-family: var(--font-en);
    font-style: italic;
    margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   12. New Arrivals Grid
   -------------------------------------------------------------------------- */
.new-arrivals-section {
    padding: 5rem 0;
}

.new-arrivals-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: repeat(2, 240px);
    gap: 1.5rem;
}

.arrival-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.arrival-card.arrival-large {
    grid-row: span 2;
}

.arrival-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.arrival-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(24, 60, 50, 0.9) 0%, rgba(24, 60, 50, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: var(--white);
}

.arrival-tag {
    font-size: 0.75rem;
    padding: 2px 10px;
    background: var(--gold);
    color: var(--white);
    border-radius: 4px;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 0.5rem;
}

.arrival-overlay h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.arrival-overlay p {
    font-size: 0.85rem;
    color: var(--cream-dark);
    font-family: var(--font-en);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.arrival-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   13. Stats Counters
   -------------------------------------------------------------------------- */
.stats-section {
    background-color: var(--primary);
    color: var(--white);
    padding: 4.5rem 0;
    border-top: 1px solid rgba(197, 164, 109, 0.2);
    border-bottom: 1px solid rgba(197, 164, 109, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(197, 164, 109, 0.15);
    transition: var(--transition-base);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: var(--gold);
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.stat-number {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    font-family: var(--font-ar);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--cream-dark);
    margin-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   14. Testimonials Slider
   -------------------------------------------------------------------------- */
.testimonials-section {
    padding: 5rem 0;
    background-color: var(--cream-light);
}

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 2.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
}

.testimonial-stars {
    color: #fbc02d;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.testimonial-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--charcoal);
    font-style: italic;
    margin-bottom: 1.75rem;
    position: relative;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--gold) 100%);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.testimonial-info {
    text-align: right;
}

.testimonial-info h4,
.testimonial-info h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
}

.testimonial-info span,
.testimonial-role {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
}

.testimonial-dot,
.testimonials-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    transition: var(--transition-base);
}

.testimonial-dot.active,
.testimonials-dots .dot.active {
    background: var(--gold);
    width: 28px;
    border-radius: 12px;
}

/* --------------------------------------------------------------------------
   15. Instagram Feed Grid
   -------------------------------------------------------------------------- */
.instagram-section {
    padding: 3rem 0;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}

.instagram-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    display: block;
}

.instagram-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.instagram-overlay {
    position: absolute;
    inset: 0;
    background: rgba(24, 60, 50, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    opacity: 0;
    transition: var(--transition-base);
}

.instagram-item:hover img {
    transform: scale(1.1);
}

.instagram-item:hover .instagram-overlay {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   16. Newsletter Section
   -------------------------------------------------------------------------- */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 4.5rem 0;
    color: var(--white);
}

.newsletter-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.newsletter-text p {
    font-size: 1rem;
    color: var(--cream-dark);
}

.newsletter-text-fr {
    font-size: 0.85rem;
    color: var(--gold-light);
    font-family: var(--font-en);
    font-style: italic;
    margin-top: 0.25rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-input-wrapper {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-full);
    padding: 0.4rem;
    box-shadow: var(--shadow-lg);
}

.newsletter-input-wrapper input {
    flex: 1;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    color: var(--charcoal);
    background: transparent;
}

.newsletter-input-wrapper .btn {
    flex-shrink: 0;
}

.newsletter-privacy {
    font-size: 0.78rem;
    color: rgba(247, 243, 235, 0.7);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.footer {
    background-color: var(--charcoal);
    color: var(--cream-light);
    margin-top: auto;
}

.footer-top {
    padding: 5rem 0 3rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.footer-logo-name {
    font-family: var(--font-en);
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--white);
}

.footer-logo-sub {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 2px;
}

.footer-about {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: var(--transition-fast);
}

.footer-socials a:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
    border-color: var(--gold);
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.4rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 35px;
    height: 2px;
    background-color: var(--gold);
}

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

.footer-links a {
    color: var(--text-light);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition-fast), padding-right var(--transition-fast);
}

.footer-links a i {
    font-size: 0.65rem;
    color: var(--gold);
}

.footer-links a:hover {
    color: var(--gold);
    padding-right: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-contact li i {
    color: var(--gold);
    margin-top: 4px;
    font-size: 1rem;
}

.footer-payment {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-payment h5 {
    font-size: 0.85rem;
    color: var(--white);
    margin-bottom: 0.6rem;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    color: var(--cream-dark);
}

.payment-badge i {
    color: var(--gold);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.4rem;
}

/* --------------------------------------------------------------------------
   18. Cart Drawer (RTL Slide from Left)
   -------------------------------------------------------------------------- */
.cart-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(24, 60, 50, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.cart-overlay.open,
.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    max-width: 440px;
    background-color: var(--white);
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform var(--transition-base);
}

.cart-drawer.open,
.cart-drawer.active {
    transform: translateX(0);
}

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--cream-light);
}

.cart-drawer-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.cart-drawer-header h3 i {
    color: var(--gold);
}

.cart-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    color: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition-fast);
}

.cart-close:hover {
    background-color: var(--primary);
    color: var(--white);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--text-muted);
}

.cart-empty i {
    font-size: 3.5rem;
    color: var(--border-color);
    margin-bottom: 1rem;
}

.cart-empty p {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.2rem;
}

.cart-empty span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-en);
    margin-bottom: 1.5rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--cream-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    position: relative;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--white);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.2rem;
}

.cart-item-name-fr {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-en);
}

.cart-item-price {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0.4rem 0;
}

.cart-item-quantity {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    padding: 2px 6px;
}

.cart-qty-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--primary);
}

.cart-qty-value {
    font-size: 0.85rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    color: #e53935;
    font-size: 1rem;
    padding: 0.5rem;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.cart-item-remove:hover {
    opacity: 1;
}

.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--cream-light);
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
}

.cart-total-price,
.cart-total-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

/* --------------------------------------------------------------------------
   19. Search Overlay
   -------------------------------------------------------------------------- */
.search-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(24, 60, 50, 0.96);
    backdrop-filter: blur(16px);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.search-overlay.open {
    opacity: 1;
    visibility: visible;
}

.search-overlay-content {
    max-width: 680px;
    width: 100%;
    color: var(--white);
    text-align: center;
    position: relative;
}

.search-close {
    position: absolute;
    top: -3.5rem;
    left: 0;
    font-size: 1.8rem;
    color: var(--cream);
    transition: var(--transition-fast);
}

.search-close:hover {
    color: var(--gold);
    transform: rotate(90deg);
}

.search-overlay-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.search-overlay-content p {
    font-size: 0.95rem;
    color: var(--gold-light);
    font-family: var(--font-en);
    font-style: italic;
    margin-bottom: 2rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-full);
    padding: 0.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.search-input-wrapper input {
    flex: 1;
    border: none;
    font-size: 1.15rem;
    color: var(--charcoal);
    padding: 0.6rem 0;
}

.search-btn {
    font-size: 1.3rem;
    color: var(--primary);
    padding-inline-start: 1rem;
}

.search-suggestions,
.popular-searches {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.search-tag {
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--cream);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-tag:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.search-results {
    max-height: 380px;
    overflow-y: auto;
    margin-top: 1.5rem;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-4px);
}

.search-result-img {
    width: 55px;
    height: 55px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.search-result-info h4 {
    font-size: 1rem;
    color: var(--white);
}

.search-result-info p {
    font-size: 0.75rem;
    color: var(--cream-dark);
    margin-bottom: 0.2rem;
}

.search-result-price {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold);
}

/* --------------------------------------------------------------------------
   20. Quick View Modal
   -------------------------------------------------------------------------- */
.quick-view-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-base);
}

.quick-view-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-backdrop,
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(24, 60, 50, 0.6);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-base);
}

.modal-overlay.open,
.modal-overlay.active,
.quick-view-modal.open .modal-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-content,
.quick-view-content {
    position: relative;
    z-index: 2;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 1fr 1fr;
    transform: scale(0.95);
    transition: transform var(--transition-base);
}

.quick-view-modal.open .modal-content,
.quick-view-modal.open .quick-view-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--cream-light);
    border: 1px solid var(--border-color);
    color: var(--charcoal);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background-color: var(--primary);
    color: var(--white);
}

.modal-image,
.quick-view-image {
    background-color: #f7f6f2;
    position: relative;
}

.modal-image img,
.quick-view-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 380px;
}

.modal-details,
.quick-view-details {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.modal-category,
.quick-view-category {
    font-size: 0.85rem;
    color: var(--gold-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-product-name,
.quick-view-details h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.modal-product-name-fr,
.quick-view-name-fr {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: var(--font-en);
    font-style: italic;
    margin-bottom: 1rem;
}

.modal-price-row,
.quick-view-price {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.modal-current-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

.modal-description,
.quick-view-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.75rem;
}

.modal-quantity,
.quick-view-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.qty-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--cream-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 4px 10px;
}

.modal-qty-value {
    min-width: 30px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
}

.quick-view-meta {
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.quick-view-meta span i {
    color: var(--gold);
    margin-inline-end: 0.5rem;
}

/* --------------------------------------------------------------------------
   21. Mobile Menu Drawer
   -------------------------------------------------------------------------- */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(24, 60, 50, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background: var(--white);
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    padding: 1.5rem;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--cream-light);
    color: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.mobile-nav-list li {
    margin-bottom: 1rem;
}

.mobile-nav-list a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-nav-list a.active,
.mobile-nav-list a:hover {
    color: var(--primary);
}

.mobile-submenu,
.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-right: 1rem;
    border-right: 2px solid var(--gold);
    margin-top: 0.5rem;
}

.mobile-submenu li,
.submenu li {
    margin-bottom: 0.5rem;
}

.mobile-submenu a,
.submenu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.mobile-menu-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.mobile-menu-socials {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mobile-menu-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--cream-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

/* --------------------------------------------------------------------------
   22. WhatsApp Floating Button & Back to Top
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   22. Luxury WhatsApp Floating Customer Support Widget
   -------------------------------------------------------------------------- */
.whatsapp-widget-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    direction: ltr; /* Keeps icon on right, pill expanding to left */
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.1rem;
    box-shadow: 0 8px 24px rgba(18, 140, 126, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.85);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    position: relative;
    text-decoration: none;
    cursor: pointer;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 12px 30px rgba(18, 140, 126, 0.55);
    color: var(--white);
}

.whatsapp-status-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #00E676;
    border: 2px solid var(--white);
    box-shadow: 0 0 8px #00E676;
    animation: whatsapp-glow 2s infinite;
}

.whatsapp-pill-badge {
    background: rgba(24, 60, 50, 0.95);
    backdrop-filter: blur(8px);
    color: var(--white);
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-ar);
    direction: rtl;
    text-align: right;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(197, 164, 109, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.whatsapp-pill-badge i {
    color: var(--gold);
    font-size: 0.8rem;
}

@keyframes whatsapp-glow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.15); }
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-base);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-4px);
}

/* --------------------------------------------------------------------------
   23. Cookie Consent Banner
   -------------------------------------------------------------------------- */
.cookie-consent {
    position: fixed;
    bottom: 0;
    inset-inline: 0;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    padding: 1.25rem 0;
    z-index: 9990;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1280px;
    margin: 0 auto;
    padding-inline: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.cookie-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.92rem;
    color: var(--charcoal);
}

.cookie-text i {
    font-size: 1.6rem;
    color: var(--gold);
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-link {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   24. Toast Notifications
   -------------------------------------------------------------------------- */
.toast-container {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.4rem;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border-right: 4px solid var(--primary);
    font-size: 0.95rem;
    color: var(--charcoal);
    pointer-events: auto;
    transform: translateX(-120%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    opacity: 0;
    min-width: 300px;
    max-width: 420px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.dismissing {
    transform: translateX(-120%);
    opacity: 0;
}

.toast-success {
    border-right-color: var(--success);
}
.toast-success i:first-child {
    color: var(--success);
}

.toast-error {
    border-right-color: var(--error);
}
.toast-error i:first-child {
    color: var(--error);
}

.toast-info {
    border-right-color: var(--info);
}
.toast-info i:first-child {
    color: var(--info);
}

.toast-message {
    flex: 1;
    font-weight: 600;
}

.toast-close {
    color: var(--text-light);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.toast-close:hover {
    color: var(--charcoal);
}

/* --------------------------------------------------------------------------
   25. Scroll Animations (data-animate)
   -------------------------------------------------------------------------- */
[data-animate] {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-up"] {
    transform: translateY(35px);
}

[data-animate="fade-left"] {
    transform: translateX(35px);
}

[data-animate="fade-right"] {
    transform: translateX(-35px);
}

[data-animate="zoom-in"] {
    transform: scale(0.9);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0) scale(1);
}

.category-card,
.product-card {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* --------------------------------------------------------------------------
   26. Interior Pages Banner & Shared Components
   -------------------------------------------------------------------------- */
.page-banner {
    position: relative;
    padding: 5rem 0;
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(24, 60, 50, 0.9) 0%, rgba(24, 60, 50, 0.75) 100%);
}

.page-banner-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.page-banner h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.page-banner p {
    font-size: 1.1rem;
    color: var(--gold-light);
    font-family: var(--font-ar);
    font-style: normal;
    margin-bottom: 1rem;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--cream-dark);
}

.breadcrumb a {
    color: var(--white);
}

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

/* --------------------------------------------------------------------------
   27. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
    .mega-menu {
        width: 680px;
        right: -80px;
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none !important;
    }

    .mobile-menu-toggle,
    .hamburger-menu {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .category-card.category-large {
        grid-column: span 1;
    }

    .new-arrivals-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .arrival-card.arrival-large {
        grid-row: span 1;
        height: 320px;
    }

    .arrival-card {
        height: 240px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .newsletter-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-privacy {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modal-content,
    .quick-view-content {
        grid-template-columns: 1fr;
    }

    .modal-image img,
    .quick-view-image img {
        min-height: 260px;
        max-height: 320px;
    }
}

@media (max-width: 768px) {
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    .announcement-bar {
        font-size: 0.78rem;
    }

    .header-wrapper {
        padding: 0.5rem 0;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0.5rem !important;
    }

    .mobile-menu-toggle,
    .hamburger-menu {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 40px !important;
        height: 40px !important;
    }

    .header-action-btn,
    .cart-toggle,
    .search-toggle {
        width: 38px !important;
        height: 38px !important;
    }

    .logo-name {
        font-size: 1.35rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.85rem !important;
    }

    .product-info {
        padding: 0.85rem;
    }

    .slider-arrow {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 50px;
        height: 50px;
        font-size: 1.7rem;
    }

    .back-to-top {
        bottom: 1.25rem;
        left: 1.25rem;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
    }

    .category-card {
        min-height: 180px !important;
    }

    .category-card h3 {
        font-size: 1rem !important;
    }

    .category-card p {
        display: none !important;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
    }

    .product-card .product-name {
        font-size: 0.92rem;
    }

    .product-card .current-price {
        font-size: 0.95rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* Force visibility of animated elements on mobile viewports so products are never hidden */
    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .toast-container {
        left: 1rem;
        right: 1rem;
        top: 1rem;
    }

    .toast {
        min-width: 100%;
    }
}


/* --------------------------------------------------------------------------
   28. Official Toohfa Brand Emblem & Typography (toohfastore.com)
   -------------------------------------------------------------------------- */
.brand-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    line-height: 1;
    user-select: none;
}

.brand-emblem-svg {
    width: 52px;
    height: 48px;
    margin-bottom: 2px;
    transition: transform var(--transition-fast);
}

.brand-logo-container:hover .brand-emblem-svg {
    transform: scale(1.05);
}

.brand-title-toohfa {
    font-family: var(--font-en);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: var(--primary);
    line-height: 1;
    margin-top: 1px;
}

.brand-sub-store {
    font-family: var(--font-en);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 5px;
    color: var(--gold-dark);
    line-height: 1;
    margin-top: 2px;
    text-align: center;
    width: 100%;
}

.brand-tagline-ar {
    font-size: 0.68rem;
    color: var(--charcoal);
    font-weight: 500;
    margin-top: 3px;
    opacity: 0.85;
}

/* --------------------------------------------------------------------------
   29. Admin Dashboard Component Styles
   -------------------------------------------------------------------------- */
.admin-body {
    background-color: #f4f6f8;
    color: #2c3e50;
    font-family: var(--font-ar);
    min-height: 100vh;
}

.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: var(--primary-dark);
    color: var(--cream);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(197, 164, 109, 0.2);
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar-brand {
    padding: 0.5rem 0.5rem 1.5rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    text-align: center;
}

.admin-nav-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-md);
    color: var(--cream-dark);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background: rgba(197, 164, 109, 0.2);
    color: var(--white);
    border-right: 3px solid var(--gold);
}

.admin-nav-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--gold);
}

.admin-main {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    min-width: 0;
}

.admin-topbar {
    background: var(--white);
    padding: 1rem 2rem;
    border-bottom: 1px solid #e1e8ed;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.admin-content-area {
    padding: 2rem;
    flex: 1;
}

/* KPI Cards */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kpi-info h4 {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.kpi-info .kpi-value {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.kpi-info .kpi-trend {
    font-size: 0.75rem;
    color: var(--success);
    margin-top: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.kpi-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(24, 60, 50, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.kpi-icon-box.gold {
    background: rgba(197, 164, 109, 0.15);
    color: var(--gold-dark);
}

.kpi-icon-box.blue {
    background: rgba(2, 136, 209, 0.12);
    color: var(--info);
}

.kpi-icon-box.green {
    background: rgba(46, 125, 50, 0.12);
    color: var(--success);
}

/* Admin Card / Tables */
.admin-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f5;
    margin-bottom: 2rem;
}

.admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f3f6;
}

.admin-card-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-table-container {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
    font-size: 0.92rem;
}

.admin-table th {
    background-color: #f8fafb;
    color: var(--charcoal);
    font-weight: 700;
    padding: 0.9rem 1rem;
    border-bottom: 2px solid #eef2f5;
    white-space: nowrap;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid #f0f3f6;
    vertical-align: middle;
}

.admin-table tr:hover td {
    background-color: #fafbfc;
}

.table-img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: #f0f0f0;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.status-badge.pending {
    background: #fff8e1;
    color: #f57f17;
}

.status-badge.confirmed {
    background: #e1f5fe;
    color: #0288d1;
}

.status-badge.shipping {
    background: #ede7f6;
    color: #512da8;
}

.status-badge.delivered {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-badge.cancelled {
    background: #ffebee;
    color: #c62828;
}

/* Action Buttons inside Table */
.action-btn-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border: 1px solid #e0e5eb;
    background: var(--white);
    color: var(--charcoal);
    transition: var(--transition-fast);
}

.action-btn:hover {
    background: #f4f6f8;
}

.action-btn.delete:hover {
    background: #ffebee;
    color: #c62828;
    border-color: #ffcdd2;
}

.action-btn.view:hover {
    background: #e8f5e9;
    color: var(--primary);
    border-color: var(--primary-light);
}

/* Admin Modals */
.admin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(24, 60, 50, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.admin-modal-overlay.active {
    display: flex;
}

.admin-modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    animation: zoomIn 0.25s ease;
}

.admin-modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #eef2f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-modal-body {
    padding: 1.5rem;
}

.admin-modal-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #eef2f5;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    background: #fafbfc;
}

@media (max-width: 992px) {
    .admin-layout {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        display: none;
    }
    .kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    .admin-content-area {
        padding: 1rem;
    }
}


/* --------------------------------------------------------------------------
   30. Admin Direct Image Uploader & Category Management
   -------------------------------------------------------------------------- */
.upload-dropzone {
    border: 2px dashed #cfd8dc;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    text-align: center;
    background: #fafbfc;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
}

.upload-dropzone:hover,
.upload-dropzone.dragover {
    border-color: var(--gold);
    background: #fdfbf7;
}

.upload-dropzone i {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.image-preview-container {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid var(--gold);
    margin: 1rem auto 0 auto;
    display: none;
}

.image-preview-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-container .remove-img-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(198, 40, 40, 0.9);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    cursor: pointer;
}

/* Admin Secret Login Screen */
.admin-login-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.admin-login-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    max-width: 440px;
    width: 100%;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gold);
    text-align: center;
    animation: zoomIn 0.3s ease;
}

.admin-login-box h3 {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 800;
    margin-top: 1rem;
    margin-bottom: 0.3rem;
}

.admin-login-box p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.admin-login-input {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid #dfe3e8;
    background: #f8fafb;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    transition: border-color var(--transition-fast);
}

.admin-login-input:focus {
    border-color: var(--gold);
    background: var(--white);
}
