/* ============================================== */
/*    اسدال - PREMIUM ABAYA STORE - SAUDI MARKET  */
/*         Design System v2.0 - Complete Rebuild   */
/* ============================================== */

/* --- 1. Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

/* --- 2. Design Tokens --- */
:root {
    /* Brand Colors - from اسدال logo */
    --clr-bg:           #F7EFE6;   /* warm cream - logo background */
    --clr-bg-alt:       #EFE4D8;   /* slightly darker cream */
    --clr-surface:      #FFFFFF;   /* white cards */
    --clr-surface-warm: #FDF8F4;   /* warm white */

    /* Text */
    --clr-text-primary:   #2B1810;  /* dark brown - near black */
    --clr-text-secondary: #6B4C3B;  /* medium brown */
    --clr-text-muted:     #A07860;  /* light brown */

    /* Brand - Dark Brown from Logo */
    --clr-brand:       #3D1F14;   /* exact logo dark brown */
    --clr-brand-dark:  #2A1309;   /* deeper brown */
    --clr-brand-mid:   #6B3A28;   /* medium brown */
    --clr-brand-light: #F0E4DA;   /* very light brown tint */

    /* Gold Accent */
    --clr-gold:        #C4965A;   /* warm gold */
    --clr-gold-light:  #E8C99A;   /* light gold */
    --clr-gold-dark:   #A07040;   /* deep gold */

    /* Semantic */
    --clr-success:  #2D7A4F;
    --clr-danger:   #B03030;
    --clr-warning:  #C47A20;
    --clr-info:     #2563A8;
    --clr-border:   #DFD0C0;
    --clr-border-light: #EFE4D8;

    /* Typography */
    --font-main: 'Tajawal', sans-serif;
    --font-logo: 'Noto Naskh Arabic', serif;

    /* Spacing */
    --space-xs:  4px;
    --space-sm:  8px;
    --space-md:  16px;
    --space-lg:  24px;
    --space-xl:  40px;
    --space-2xl: 80px;

    /* Border Radius */
    --radius-xs:  4px;
    --radius-sm:  8px;
    --radius-md:  16px;
    --radius-lg:  24px;
    --radius-xl:  32px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs:   0 1px 3px rgba(61,31,20,0.06);
    --shadow-sm:   0 4px 12px rgba(61,31,20,0.08);
    --shadow-md:   0 8px 24px rgba(61,31,20,0.10);
    --shadow-lg:   0 16px 40px rgba(61,31,20,0.14);
    --shadow-xl:   0 24px 60px rgba(61,31,20,0.18);
    --shadow-gold: 0 8px 24px rgba(196,150,90,0.25);

    /* Transitions */
    --transition-fast:   all 0.18s ease;
    --transition:        all 0.28s ease;
    --transition-slow:   all 0.45s ease;

    /* Header Height */
    --header-h: 76px;
}

/* ============================================== */
/* --- 3. CSS Reset & Base ---                     */
/* ============================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    direction: rtl;
    text-align: right;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    background-color: var(--clr-bg);
    color: var(--clr-text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul, ol { list-style: none; }

input, button, select, textarea {
    font-family: var(--font-main);
    font-size: inherit;
}

/* ============================================== */
/* --- 4. Layout Utilities ---                     */
/* ============================================== */
.container {
    width: 92%;
    max-width: 1320px;
    margin-inline: auto;
}

.section-padding { padding-block: var(--space-2xl); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.grid { display: grid; }

/* ============================================== */
/* --- 5. Typography ---                           */
/* ============================================== */
.brand-name-ar {
    font-family: var(--font-logo);
    font-weight: 700;
    color: var(--clr-gold);
    letter-spacing: 0.5px;
}

.brand-name {
    font-family: var(--font-logo);
    font-weight: 700;
    color: var(--clr-brand);
}

.section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--clr-text-primary);
    position: relative;
    padding-right: 18px;
    line-height: 1.3;
}

.section-title::before {
    content: '';
    position: absolute;
    right: 0; top: 10%; bottom: 10%;
    width: 5px;
    background: linear-gradient(180deg, var(--clr-gold) 0%, var(--clr-brand) 100%);
    border-radius: var(--radius-full);
}

.section-header {
    margin-bottom: var(--space-xl);
    text-align: right;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--clr-text-secondary);
    margin-top: var(--space-sm);
}

/* ============================================== */
/* --- 6. Buttons ---                              */
/* ============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 11px 24px;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    line-height: 1.4;
}

.btn-primary {
    background: var(--clr-brand);
    color: var(--clr-bg);
    border-color: var(--clr-brand);
}
.btn-primary:hover {
    background: var(--clr-brand-dark);
    border-color: var(--clr-brand-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--clr-bg);
}

.btn-gold {
    background: var(--clr-gold);
    color: var(--clr-brand);
    border-color: var(--clr-gold);
    font-weight: 800;
}
.btn-gold:hover {
    background: var(--clr-gold-dark);
    border-color: var(--clr-gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    color: var(--clr-brand-dark);
}

.btn-outline {
    background: transparent;
    color: var(--clr-brand);
    border-color: var(--clr-brand);
}
.btn-outline:hover {
    background: var(--clr-brand);
    color: var(--clr-bg);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    border-color: #25D366;
}
.btn-whatsapp:hover {
    background: #1EAF55;
    border-color: #1EAF55;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37,211,102,0.3);
    color: #fff;
}

.btn-add-cart {
    background: var(--clr-bg);
    color: var(--clr-brand);
    border: 1.5px solid var(--clr-brand);
    font-weight: 700;
}
.btn-add-cart:hover,
.product-card:hover .btn-add-cart {
    background: var(--clr-brand);
    color: var(--clr-bg);
    border-color: var(--clr-brand);
}

.btn-lg { padding: 14px 32px; font-size: 1.05rem; border-radius: var(--radius-md); }
.btn-sm { padding: 7px 16px; font-size: 0.85rem; }
.btn-full { width: 100%; }
.btn-pill { border-radius: var(--radius-full); }

/* ============================================== */
/* --- 7. Header ---                               */
/* ============================================== */
.site-header {
    background: rgba(247, 239, 230, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    border-bottom: 1px solid var(--clr-border);
    box-shadow: 0 2px 20px rgba(61,31,20,0.07);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: var(--space-md);
}

.header-right  { flex: 1; display: flex; align-items: center; gap: var(--space-md); }
.header-center { flex: 2; display: flex; align-items: center; justify-content: center; }
.header-left   { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: var(--space-md); }

/* Logo */
.header-logo-img {
    height: 54px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.header-logo-img:hover {
    transform: scale(1.04);
    filter: drop-shadow(0 4px 12px rgba(61,31,20,0.2));
}

/* Desktop Nav */
.main-nav {
    display: flex;
    gap: 32px;
    list-style: none;
}
.main-nav a {
    font-weight: 700;
    font-size: 1rem;
    color: var(--clr-text-primary);
    position: relative;
    padding-bottom: 4px;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 0%; height: 2px;
    background: linear-gradient(90deg, var(--clr-brand), var(--clr-gold));
    transition: width 0.3s ease;
    border-radius: var(--radius-full);
}
.main-nav a:hover { color: var(--clr-brand); }
.main-nav a:hover::after { width: 100%; }

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 1.2rem;
}
.header-icons a {
    color: var(--clr-text-primary);
    transition: var(--transition);
}
.header-icons a:hover { color: var(--clr-brand); transform: scale(1.12); }

/* Search */
.header-search-form {
    display: flex;
    align-items: center;
    background: var(--clr-bg-alt);
    border-radius: var(--radius-full);
    padding: 6px 14px;
    border: 1.5px solid transparent;
    transition: var(--transition);
    gap: 8px;
}
.header-search-form:focus-within {
    border-color: var(--clr-brand);
    background: var(--clr-surface);
    box-shadow: var(--shadow-sm);
}
.header-search-form input {
    border: none;
    background: none;
    outline: none;
    width: 130px;
    font-size: 0.88rem;
    color: var(--clr-text-primary);
    transition: var(--transition);
}
.header-search-form input::placeholder { color: var(--clr-text-muted); }
.header-search-form input:focus { width: 175px; }
.header-search-form button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--clr-text-secondary);
    font-size: 0.95rem;
    padding: 0;
    display: flex;
    align-items: center;
}
.header-search-form button:hover { color: var(--clr-brand); }

/* Cart Badge */
.cart-icon-wrapper { position: relative; display: inline-flex; }
.cart-badge {
    position: absolute;
    top: -7px; right: -9px;
    background: var(--clr-gold);
    color: var(--clr-brand);
    font-size: 0.68rem;
    font-weight: 900;
    border-radius: var(--radius-full);
    width: 17px; height: 17px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 6px rgba(61,31,20,0.25);
    transition: var(--transition);
}

/* Mobile menu btn */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--clr-text-primary);
    padding: 4px;
}

/* Mobile logo */
.mobile-logo { display: none; }
.desktop-logo { display: flex; align-items: center; }

/* ============================================== */
/* --- 8. Mobile Nav Dropdown ---                  */
/* ============================================== */
@media (max-width: 992px) {
    .header-right { justify-content: flex-start; }
    .header-center { justify-content: center; }
    .header-left { justify-content: flex-end; }

    .desktop-logo, .desktop-nav, .desktop-icon { display: none !important; }
    .mobile-menu-btn, .mobile-logo { display: flex !important; }
    .mobile-logo .header-logo-img { height: 42px; }

    .desktop-nav.active {
        display: block !important;
        position: absolute;
        top: var(--header-h);
        right: 0; left: 0;
        background: rgba(247,239,230,0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--clr-border);
        box-shadow: var(--shadow-md);
        z-index: 999;
        padding: var(--space-md) 0;
        animation: slideDown 0.25s ease-out;
    }
    .desktop-nav.active .main-nav {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        padding: 0 var(--space-lg) !important;
    }
    .desktop-nav.active .main-nav a {
        display: block;
        padding: 10px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--clr-border-light);
    }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================== */
/* --- 9. Cart Drawer ---                          */
/* ============================================== */
.cart-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(43,24,16,0.45);
    z-index: 1999;
    backdrop-filter: blur(3px);
}
.cart-drawer-overlay.active { display: block; }

.cart-drawer {
    position: fixed;
    top: 0; left: -460px;
    width: 430px; max-width: 100%;
    height: 100%;
    background: var(--clr-surface);
    z-index: 2000;
    box-shadow: var(--shadow-xl);
    transition: left 0.38s cubic-bezier(0.25,0.8,0.25,1);
    display: flex;
    flex-direction: column;
}
.cart-drawer.active { left: 0; }

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--clr-border);
    background: var(--clr-brand);
    color: var(--clr-bg);
}
.cart-drawer-header span:first-child {
    font-weight: 800;
    font-size: 1.15rem;
}
.cart-drawer-header i { color: var(--clr-gold); margin-left: 8px; }
.cart-drawer-close {
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--clr-bg);
    opacity: 0.7;
    transition: var(--transition);
    line-height: 1;
}
.cart-drawer-close:hover { opacity: 1; transform: scale(1.1); }

.cart-drawer-items {
    flex-grow: 1;
    overflow-y: auto;
    padding: var(--space-md) var(--space-xl);
}

.cart-drawer-item {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-md) 0;
    border-bottom: 1px dashed var(--clr-border);
}
.cart-drawer-item img {
    width: 68px; height: 68px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--clr-border);
}
.cart-drawer-item-info { flex-grow: 1; }
.cart-drawer-item-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.35;
}
.cart-drawer-item-price {
    font-size: 0.95rem;
    color: var(--clr-brand);
    font-weight: 800;
}
.cart-drawer-remove {
    background: none;
    border: none;
    color: var(--clr-danger);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    border-radius: var(--radius-xs);
    transition: var(--transition);
}
.cart-drawer-remove:hover { background: #FFF0F0; transform: scale(1.1); }

/* ============================================== */
/* --- 10. Hero Section ---                        */
/* ============================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--header-h));
    min-height: 520px;
    max-height: 800px;
    background: var(--clr-brand);
    overflow: hidden;
}

.hero-swiper { width: 100%; height: 100%; }

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.55;
    transform: scale(1.04);
    transition: transform 6s ease, opacity 0.8s ease;
}
.swiper-slide-active .hero-slide img {
    transform: scale(1);
    opacity: 0.60;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(43,19,9,0.75) 0%,
        rgba(61,31,20,0.50) 50%,
        rgba(196,150,90,0.25) 100%
    );
}

.hero-content {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -40%);
    text-align: center;
    color: #fff;
    z-index: 10;
    width: 88%;
    max-width: 820px;
    opacity: 0;
    transition: all 0.9s ease 0.3s;
}
.swiper-slide-active .hero-content {
    transform: translate(50%, -50%);
    opacity: 1;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-content h1 .brand-name-ar {
    display: block;
    font-family: var(--font-logo);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--clr-gold-light);
    text-shadow: 0 4px 24px rgba(196,150,90,0.6);
    margin-top: 6px;
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(255,255,255,0.88);
    margin-bottom: var(--space-xl);
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.hero-content .btn-primary {
    background: var(--clr-gold);
    color: var(--clr-brand-dark);
    border-color: var(--clr-gold);
    font-size: 1.05rem;
    padding: 14px 36px;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-gold);
}
.hero-content .btn-primary:hover {
    background: var(--clr-gold-dark);
    border-color: var(--clr-gold-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(196,150,90,0.4);
    color: #fff;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    background: rgba(255,255,255,0.15) !important;
    backdrop-filter: blur(8px);
    color: #fff !important;
    width: 46px !important;
    height: 46px !important;
    border-radius: var(--radius-full) !important;
    border: 1px solid rgba(255,255,255,0.25);
    transition: var(--transition) !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1rem !important;
    font-weight: 900 !important;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--clr-gold) !important;
    border-color: var(--clr-gold) !important;
    color: var(--clr-brand) !important;
}

/* Hero Badges */
.hero-badges {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}
.hero-badge {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================== */
/* --- 11. Category Slider ---                     */
/* ============================================== */
.category-card {
    text-align: center;
    display: block;
    padding: 8px;
    cursor: pointer;
}
.category-img-box {
    width: 130px;
    height: 130px;
    margin: 0 auto var(--space-md);
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 3px solid var(--clr-border);
    background: var(--clr-surface-warm);
    transition: var(--transition);
    position: relative;
}
.category-img-box::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-full);
    border: 3px solid transparent;
    transition: var(--transition);
}
.category-img-box img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}
.category-card:hover .category-img-box {
    border-color: var(--clr-gold);
    box-shadow: var(--shadow-gold);
}
.category-card:hover .category-img-box img { transform: scale(1.1); }
.category-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--clr-text-primary);
    transition: var(--transition);
}
.category-card:hover h3 { color: var(--clr-brand); }

/* ============================================== */
/* --- 12. Product Cards ---                       */
/* ============================================== */
.product-card {
    background: var(--clr-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid var(--clr-border);
    position: relative;
    height: 100%;
}
.product-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: rgba(196,150,90,0.4);
}

.discount-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--clr-danger);
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.8rem;
    z-index: 2;
    box-shadow: 0 4px 10px rgba(176,48,48,0.3);
}

.new-badge {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--clr-gold);
    color: var(--clr-brand);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.78rem;
    z-index: 2;
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 square */
    overflow: hidden;
    background: var(--clr-surface-warm);
}
.product-img-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.55s ease;
}
.product-card:hover .product-img-wrapper img { transform: scale(1.07); }

.product-info {
    padding: var(--space-md) var(--space-md) var(--space-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: var(--space-sm);
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--clr-text-primary);
    min-height: 2.8em;
}

.product-price-box {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.current-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--clr-brand);
}
.old-price {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    text-decoration: line-through;
}

.product-actions-row {
    display: flex;
    gap: 8px;
    margin-top: auto;
    width: 100%;
}
.product-actions-row .btn {
    flex: 1;
    padding: 9px 6px;
    font-size: 0.88rem;
}

/* Sold Out */
.btn-sold-out {
    background: var(--clr-bg-alt);
    color: var(--clr-text-muted);
    border: 1px solid var(--clr-border);
    cursor: not-allowed;
    width: 100%;
    padding: 10px;
    text-align: center;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
}

/* ============================================== */
/* --- 13. Section Banners ---                     */
/* ============================================== */
.promo-banner {
    background: linear-gradient(135deg, var(--clr-brand) 0%, var(--clr-brand-mid) 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-2xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(196,150,90,0.25) 0%, transparent 70%);
    border-radius: 50%;
}
.promo-banner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: var(--space-sm); }
.promo-banner p  { font-size: 1.05rem; opacity: 0.88; margin-bottom: var(--space-xl); }

/* ============================================== */
/* --- 14. Features Strip ---                      */
/* ============================================== */
.features-strip {
    background: var(--clr-brand);
    padding: var(--space-xl) 0;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
    color: var(--clr-bg);
}
.feature-icon {
    width: 56px; height: 56px;
    background: rgba(196,150,90,0.15);
    border: 2px solid rgba(196,150,90,0.4);
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--clr-gold);
    transition: var(--transition);
}
.feature-item:hover .feature-icon {
    background: var(--clr-gold);
    color: var(--clr-brand);
    transform: scale(1.08);
}
.feature-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--clr-bg); }
.feature-item p  { font-size: 0.82rem; color: rgba(247,239,230,0.65); line-height: 1.4; }

@media (max-width: 768px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
}

/* ============================================== */
/* --- 15. Shop Page ---                           */
/* ============================================== */
.shop-hero {
    background: linear-gradient(135deg, var(--clr-brand) 0%, var(--clr-brand-mid) 100%);
    padding: var(--space-xl) 0;
    color: #fff;
    text-align: center;
}
.shop-hero h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; margin-bottom: 8px; }
.shop-hero p   { font-size: 1rem; opacity: 0.8; }

.shop-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-xl);
    align-items: start;
    margin-top: var(--space-xl);
}

.shop-sidebar {
    background: var(--clr-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    padding: var(--space-lg);
    position: sticky;
    top: calc(var(--header-h) + 20px);
}
.sidebar-title {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--clr-brand);
    color: var(--clr-brand);
}
.sidebar-list { display: flex; flex-direction: column; gap: 4px; }
.sidebar-list a {
    display: block;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--clr-text-secondary);
    transition: var(--transition);
    border: 1px solid transparent;
}
.sidebar-list a:hover,
.sidebar-list a.active {
    background: var(--clr-brand-light);
    color: var(--clr-brand);
    border-color: var(--clr-border);
    padding-right: 16px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    background: var(--clr-surface);
    padding: 12px var(--space-lg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--clr-border);
}
.results-count { font-size: 0.95rem; font-weight: 600; color: var(--clr-text-secondary); }
.sort-select {
    padding: 8px 16px;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-sm);
    outline: none;
    font-weight: 600;
    background: var(--clr-bg);
    cursor: pointer;
    color: var(--clr-text-primary);
    transition: var(--transition);
}
.sort-select:focus { border-color: var(--clr-brand); }

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--space-2xl);
}
.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--clr-border);
    font-weight: 800;
    background: var(--clr-surface);
    color: var(--clr-text-primary);
    transition: var(--transition);
}
.pagination a:hover,
.pagination span.current {
    background: var(--clr-brand);
    color: var(--clr-bg);
    border-color: var(--clr-brand);
}

/* ============================================== */
/* --- 16. Product Detail Page ---                 */
/* ============================================== */
.product-details-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
    align-items: start;
}
.product-gallery { display: flex; flex-direction: column; gap: var(--space-md); }
.main-product-img {
    width: 100%; height: 500px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    background: var(--clr-surface-warm);
}
.product-thumbnails { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.thumb-img {
    width: 80px; height: 80px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 2px solid var(--clr-border);
    cursor: pointer;
    transition: var(--transition);
}
.thumb-img:hover, .thumb-img.active { border-color: var(--clr-brand); }

.product-meta-details { display: flex; flex-direction: column; gap: var(--space-md); }
.product-meta-category { font-size: 0.9rem; color: var(--clr-gold); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.product-meta-title { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; line-height: 1.25; }
.product-meta-price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--clr-brand);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}
.product-meta-price .old { font-size: 1.1rem; font-weight: 500; color: var(--clr-text-muted); text-decoration: line-through; }
.product-meta-desc { font-size: 1rem; color: var(--clr-text-secondary); line-height: 1.8; }

.product-qty-row { display: flex; align-items: center; gap: var(--space-md); }
.qty-box {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.qty-box button {
    width: 38px; height: 38px;
    background: var(--clr-bg-alt);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--clr-brand);
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.qty-box button:hover { background: var(--clr-brand); color: var(--clr-bg); }
.qty-box input {
    width: 52px; height: 38px;
    border: none;
    text-align: center;
    font-weight: 800;
    font-size: 1rem;
    color: var(--clr-text-primary);
    background: var(--clr-surface);
}

.product-actions-detail { display: flex; gap: var(--space-md); flex-wrap: wrap; }
.product-actions-detail .btn { flex: 1; min-width: 140px; padding: 14px 20px; }

.product-info-box {
    background: var(--clr-surface-warm);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}
.product-info-box-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 10px 0;
    border-bottom: 1px dashed var(--clr-border);
    font-size: 0.9rem;
}
.product-info-box-item:last-child { border-bottom: none; }
.product-info-box-item i { color: var(--clr-gold); font-size: 1.1rem; width: 22px; text-align: center; }
.product-info-box-item span { font-weight: 600; color: var(--clr-text-secondary); }

/* ============================================== */
/* --- 17. Checkout Page ---                       */
/* ============================================== */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    align-items: start;
}
.checkout-box {
    background: var(--clr-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
}
.checkout-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--clr-brand-light);
    color: var(--clr-brand);
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkout-title i { color: var(--clr-gold); }

/* Form Fields */
.form-group { margin-bottom: var(--space-lg); }
.form-label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--clr-text-primary);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-sm);
    outline: none;
    font-family: var(--font-main);
    font-size: 0.95rem;
    color: var(--clr-text-primary);
    background: var(--clr-surface);
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--clr-brand);
    box-shadow: 0 0 0 3px rgba(61,31,20,0.08);
}
.form-row { display: flex; gap: var(--space-md); }
.form-row .form-group { flex: 1; }

/* Payment Methods */
.payment-methods { display: flex; flex-direction: column; gap: var(--space-md); }
.payment-method-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border: 2px solid var(--clr-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    background: var(--clr-surface);
    position: relative;
}
.payment-method-card:hover { border-color: var(--clr-gold); background: var(--clr-brand-light); }
.payment-method-card.selected {
    border-color: var(--clr-brand);
    background: var(--clr-brand-light);
    box-shadow: 0 0 0 3px rgba(61,31,20,0.1);
}
.payment-method-card input[type="radio"] { display: none; }
.payment-radio-circle {
    width: 20px; height: 20px;
    border: 2px solid var(--clr-border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}
.payment-method-card.selected .payment-radio-circle {
    border-color: var(--clr-brand);
    background: var(--clr-brand);
}
.payment-radio-circle::after {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--clr-bg);
    display: none;
}
.payment-method-card.selected .payment-radio-circle::after { display: block; }
.payment-method-logo { height: 32px; object-fit: contain; }
.payment-method-info { flex-grow: 1; }
.payment-method-info h4 { font-size: 0.95rem; font-weight: 800; color: var(--clr-text-primary); margin-bottom: 2px; }
.payment-method-info p  { font-size: 0.8rem; color: var(--clr-text-secondary); }
.payment-badge {
    position: absolute;
    top: -8px; left: 12px;
    background: var(--clr-gold);
    color: var(--clr-brand);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 10px;
    border-radius: var(--radius-full);
}

/* Order Summary */
.order-summary-item {
    display: flex;
    gap: var(--space-md);
    align-items: center;
    padding: var(--space-md) 0;
    border-bottom: 1px dashed var(--clr-border);
}
.order-summary-item:last-child { border-bottom: none; }
.order-summary-item img {
    width: 56px; height: 56px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--clr-border);
}
.order-summary-badge {
    background: var(--clr-brand);
    color: var(--clr-bg);
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 900;
    position: absolute;
    top: -5px; right: -5px;
}
.order-totals { padding-top: var(--space-md); border-top: 2px solid var(--clr-border); }
.order-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}
.order-total-row.grand {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--clr-brand);
    border-top: 1px solid var(--clr-border);
    padding-top: var(--space-md);
    margin-top: 4px;
}

/* Order Success */
.order-success-box {
    text-align: center;
    max-width: 580px;
    margin: var(--space-2xl) auto;
    background: var(--clr-surface);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-gold);
    box-shadow: var(--shadow-gold);
}
.order-success-icon {
    font-size: 4rem;
    color: var(--clr-gold);
    margin-bottom: var(--space-lg);
    animation: pulse 1.5s ease infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%  { transform: scale(1.08); }
}
.order-number-box {
    background: var(--clr-brand-light);
    border: 1px solid var(--clr-border);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--clr-brand);
    margin: var(--space-lg) 0;
}

/* ============================================== */
/* --- 18. Footer ---                              */
/* ============================================== */
.site-footer {
    background: var(--clr-brand);
    padding: var(--space-2xl) 0 0;
    border-top: 4px solid var(--clr-gold);
    margin-top: var(--space-2xl);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}
.footer-logo { height: 60px; border-radius: var(--radius-sm); margin-bottom: var(--space-md); }
.footer-about p {
    font-size: 0.92rem;
    color: rgba(247,239,230,0.72);
    line-height: 1.75;
    margin-bottom: var(--space-lg);
}
.social-links { display: flex; gap: var(--space-md); }
.social-links a {
    width: 38px; height: 38px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(196,150,90,0.3);
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
    color: rgba(247,239,230,0.75);
    transition: var(--transition);
}
.social-links a:hover {
    background: var(--clr-gold);
    border-color: var(--clr-gold);
    color: var(--clr-brand);
    transform: translateY(-3px);
}

.footer-widget h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--clr-bg);
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}
.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0;
    width: 30px; height: 2px;
    background: var(--clr-gold);
    border-radius: var(--radius-full);
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    font-size: 0.9rem;
    color: rgba(247,239,230,0.65);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-links a:hover { color: var(--clr-gold); padding-right: 6px; }
.footer-links li i { color: var(--clr-gold); font-size: 0.85rem; width: 16px; }

.footer-bottom {
    text-align: center;
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(196,150,90,0.2);
    color: rgba(247,239,230,0.45);
    font-size: 0.85rem;
}
.footer-bottom .brand-name-ar { color: var(--clr-gold); }

/* ============================================== */
/* --- 19. Auth Pages (Login/Signup) ---           */
/* ============================================== */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--header-h) - 200px);
    padding: var(--space-xl) 0;
}
.auth-container {
    background: var(--clr-surface);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-md);
    width: 100%;
    max-width: 440px;
    text-align: center;
}
.auth-logo { height: 65px; margin: 0 auto var(--space-lg); border-radius: var(--radius-sm); }
.auth-title { font-size: 1.7rem; font-weight: 800; margin-bottom: 6px; color: var(--clr-brand); }
.auth-subtitle { font-size: 0.95rem; color: var(--clr-text-secondary); margin-bottom: var(--space-xl); }

.auth-input-group { margin-bottom: var(--space-md); text-align: right; }
.auth-input-group label { display: block; font-weight: 700; font-size: 0.88rem; margin-bottom: 6px; color: var(--clr-text-primary); }
.auth-input-group input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
    font-size: 0.95rem;
    color: var(--clr-text-primary);
}
.auth-input-group input:focus { border-color: var(--clr-brand); box-shadow: 0 0 0 3px rgba(61,31,20,0.08); }

.auth-divider { text-align: center; margin: var(--space-md) 0; color: var(--clr-text-muted); font-size: 0.88rem; }
.auth-link { color: var(--clr-brand); font-weight: 700; }
.auth-link:hover { color: var(--clr-gold-dark); text-decoration: underline; }

.alert-error {
    background: #FEE2E2;
    color: #B91C1C;
    padding: 12px var(--space-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    font-weight: 700;
    text-align: right;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.alert-success {
    background: #D1FAE5;
    color: #065F46;
    padding: 12px var(--space-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    font-weight: 700;
    text-align: right;
    font-size: 0.9rem;
}

/* ============================================== */
/* --- 20. Account Page ---                        */
/* ============================================== */
.account-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-xl);
    align-items: start;
    padding: var(--space-xl) 0;
}
.account-sidebar {
    background: var(--clr-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    overflow: hidden;
    position: sticky;
    top: calc(var(--header-h) + 20px);
}
.account-sidebar-header {
    background: var(--clr-brand);
    padding: var(--space-lg);
    color: var(--clr-bg);
    text-align: center;
}
.account-sidebar-header i { font-size: 2rem; color: var(--clr-gold); margin-bottom: 8px; display: block; }
.account-sidebar-header h4 { font-weight: 800; font-size: 1rem; }
.account-sidebar-header p { font-size: 0.82rem; opacity: 0.7; margin-top: 3px; }
.account-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 13px var(--space-lg);
    color: var(--clr-text-secondary);
    font-weight: 600;
    font-size: 0.92rem;
    border-bottom: 1px solid var(--clr-border-light);
    transition: var(--transition);
}
.account-nav-link:hover, .account-nav-link.active {
    background: var(--clr-brand-light);
    color: var(--clr-brand);
    padding-right: calc(var(--space-lg) + 4px);
}
.account-nav-link i { width: 18px; color: var(--clr-gold); }

.order-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 800;
}
.status-pending    { background: #FEF3C7; color: #92400E; }
.status-processing { background: #DBEAFE; color: #1E3A8A; }
.status-shipped    { background: #E0F2FE; color: #0C4A6E; }
.status-delivered  { background: #D1FAE5; color: #065F46; }
.status-cancelled  { background: #FEE2E2; color: #B91C1C; }

/* ============================================== */
/* --- 21. Contact & Misc ---                      */
/* ============================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}
.contact-form-box, .contact-info-wrapper {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
}
.contact-card-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--clr-surface-warm);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    transition: var(--transition);
}
.contact-card-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(196,150,90,0.4);
}
.contact-icon-circle {
    width: 50px; height: 50px;
    background: var(--clr-brand-light);
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: var(--clr-brand);
    flex-shrink: 0;
}
.contact-card-content h4 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }
.contact-card-content p  { color: var(--clr-text-secondary); font-size: 0.9rem; }

/* ============================================== */
/* --- 22. Search Suggestions ---                  */
/* ============================================== */
.search-suggestions-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0; left: 0;
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    overflow: hidden;
    max-height: 320px;
    overflow-y: auto;
}
.search-container { position: relative; }
.suggestion-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 10px var(--space-md);
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--clr-border-light);
}
.suggestion-item:hover { background: var(--clr-brand-light); }
.suggestion-item img { width: 40px; height: 40px; object-fit: cover; border-radius: var(--radius-xs); }
.suggestion-name { font-size: 0.88rem; font-weight: 700; }
.suggestion-type {
    font-size: 0.72rem;
    background: var(--clr-gold);
    color: var(--clr-brand);
    padding: 1px 8px;
    border-radius: var(--radius-full);
    font-weight: 700;
}

/* ============================================== */
/* --- 23. Shipping & FAQ Pages ---                */
/* ============================================== */
.page-hero {
    background: linear-gradient(135deg, var(--clr-brand) 0%, var(--clr-brand-mid) 100%);
    padding: var(--space-2xl) 0;
    text-align: center;
    color: #fff;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: var(--space-sm); }
.page-hero p   { font-size: 1.05rem; opacity: 0.82; }

.shipping-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--space-lg); margin-top: var(--space-xl); }
.shipping-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition);
}
.shipping-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(196,150,90,0.4); }
.shipping-card i { font-size: 2.2rem; color: var(--clr-gold); margin-bottom: var(--space-md); display: block; }
.shipping-card h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: var(--space-sm); }
.shipping-card p { font-size: 0.92rem; color: var(--clr-text-secondary); line-height: 1.7; }

.faq-wrapper { max-width: 800px; margin: var(--space-xl) auto 0; display: flex; flex-direction: column; gap: var(--space-md); }
.faq-item {
    background: var(--clr-surface);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}
.faq-question {
    padding: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    user-select: none;
    transition: var(--transition);
}
.faq-question:hover { background: var(--clr-brand-light); color: var(--clr-brand); }
.faq-answer { max-height: 0; overflow: hidden; transition: all 0.4s cubic-bezier(0.25,0.8,0.25,1); }
.faq-answer-content { padding: var(--space-lg); color: var(--clr-text-secondary); font-size: 0.95rem; line-height: 1.8; border-top: 1px solid var(--clr-border); }
.faq-item.active { border-color: var(--clr-brand); }
.faq-item.active .faq-question { background: var(--clr-brand-light); color: var(--clr-brand); }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-icon { transition: transform 0.3s ease; color: var(--clr-text-muted); }
.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--clr-brand); }

/* ============================================== */
/* --- 24. Responsive - Tablets ---                */
/* ============================================== */
@media (max-width: 992px) {
    .shop-layout { grid-template-columns: 1fr; gap: var(--space-lg); }
    .shop-sidebar { position: static; }
    .sidebar-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }

    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .product-details-layout { grid-template-columns: 1fr; gap: var(--space-xl); }
    .contact-layout { grid-template-columns: 1fr; }
    .account-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .checkout-layout { grid-template-columns: 1fr; }
}

/* ============================================== */
/* --- 25. Responsive - Mobile ---                 */
/* ============================================== */
@media (max-width: 768px) {
    :root { --space-2xl: 48px; }

    .hero-section { height: 80vw; min-height: 360px; max-height: 550px; }
    .hero-content h1 { font-size: 1.7rem; }
    .hero-content h1 .brand-name-ar { font-size: 2.4rem; }

    .section-title { font-size: 1.5rem; }
    .section-title::before { display: none; }
    .section-header { text-align: center; padding-right: 0; }

    .products-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .footer-widget h4::after { right: 50%; transform: translateX(50%); }

    .category-img-box { width: 100px; height: 100px; }

    .main-product-img { height: 280px !important; }

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

    .product-actions-row { flex-direction: column; }
    .product-actions-row .btn { flex: none; width: 100%; }

    .auth-container { padding: var(--space-xl); }

    .checkout-box { padding: var(--space-md); }
    .form-row { flex-direction: column; }

    .shop-toolbar { flex-direction: column; gap: var(--space-sm); align-items: flex-start; }
    .sidebar-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
    .product-info { padding: var(--space-sm); }
    .current-price { font-size: 1.05rem; }
}