/* ========================================================
   🐝 SWEET HARVEST COLLECTIVE: DARK LUXURY DIGITAL SYSTEM
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400&family=Amiri:ital,wght@0,400;0,700;1,400&family=Tajawal:wght@300;400;500;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@700&family=Cairo:wght@700&family=IBM+Plex+Sans+Arabic:wght@400&family=Tajawal:wght@400&display=swap');

:root {
    /* Brand Color Palette: Moody Charcoal, Honey Gold & Amber */
    --primary-gold: #E5A93B;
    --primary-amber: #F4B41A;
    --bg-main: #121212;
    --bg-card: #1C1C1C;
    --border-glass: rgba(229, 169, 59, 0.12);
    --border-gold-focus: rgba(244, 180, 26, 0.4);
    
    /* Typography Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #E6DFD3;
    --text-muted: #888888;
    
    /* Fonts */
    --font-sans: 'Montserrat', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Borders & Decor */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-round: 50%;
    
    /* Drop Shadows & Glows */
    --shadow-soft: 0 10px 45px rgba(0, 0, 0, 0.65);
    --shadow-glow: 0 0 25px rgba(229, 169, 59, 0.25);
    --shadow-btn: 0 4px 15px rgba(229, 169, 59, 0.35);
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Base Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    background-image: 
        /* Droplet 1 (Gloss droplet at top-left) */
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.45) 0%, rgba(229, 169, 59, 0.16) 4%, rgba(124, 81, 0, 0.08) 10%, transparent 15%),
        /* Droplet 2 (Gloss droplet at bottom-right) */
        radial-gradient(circle at 85% 65%, rgba(255, 255, 255, 0.4) 0%, rgba(229, 169, 59, 0.12) 3%, rgba(124, 81, 0, 0.06) 8%, transparent 12%),
        /* Droplet 3 (Atmospheric blurred droplet at bottom-left for depth of field) */
        radial-gradient(circle at 18% 78%, rgba(255, 255, 255, 0.2) 0%, rgba(229, 169, 59, 0.08) 6%, rgba(124, 81, 0, 0.04) 15%, transparent 22%),
        /* Vignette gradient that fades into the dark corners */
        radial-gradient(circle at 50% 50%, rgba(28, 28, 28, 0.45) 0%, rgba(18, 18, 18, 0.98) 100%),
        /* Repeating SVG honeycomb pattern with exactly 3% stroke opacity */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 0 L56 16.16 L56 48.49 L28 64.65 L0 48.49 L0 16.16 Z M28 98 L56 81.84 L56 49.51 L28 33.35 L0 49.51 L0 81.84 Z' fill='none' stroke='%23E5A93B' stroke-width='0.6' stroke-opacity='0.03'/%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat;
    background-attachment: fixed, fixed, fixed, fixed, scroll;
    color: var(--text-primary);
    line-height: 1.65;
    direction: inherit;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Typography Elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

p {
    font-family: var(--font-sans);
    color: var(--text-secondary);
}

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

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-gold);
    color: #121212;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    min-height: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-btn);
    transition: var(--transition-smooth);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
    transform: skewX(-25deg);
}

.btn:hover::before {
    animation: shine 0.75s;
}

@keyframes shine {
    100% { left: 125%; }
}

.btn:hover {
    background: var(--primary-amber);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(244, 180, 26, 0.55);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: #121212;
    box-shadow: var(--shadow-btn);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* 1. Announcement Bar */
.announcement-bar {
    background-color: #0b0b0b;
    color: var(--primary-gold);
    text-align: center;
    padding: 10px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(229, 169, 59, 0.15);
    z-index: 1001;
    position: relative;
}

/* 2. Horizontal Header Layout */
.site-header {
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

body.home-page .site-header {
    position: absolute;
    top: 39px; /* Offset by announcement bar */
    left: 0;
    background: transparent;
    border-bottom: 1px solid rgba(229, 169, 59, 0.15);
}

body.home-page .site-header.scrolled {
    position: fixed;
    top: 0;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(229, 169, 59, 0.25);
    box-shadow: var(--shadow-soft);
}

body:not(.home-page) .site-header {
    position: sticky;
    top: 0;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(229, 169, 59, 0.25);
    box-shadow: var(--shadow-soft);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-bee {
    width: 28px !important;
    height: 28px !important;
    transform: scale(1) rotate(0deg);
    transition: transform 0.5s ease;
}

.logo:hover .logo-bee {
    transform: scale(1.15) rotate(-10deg);
}

.brand-text {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 3px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2.2rem;
}

.nav-links a {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--primary-gold);
    text-transform: uppercase;
    padding: 8px 0;
    position: relative;
}

.nav-links a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 8px rgba(229, 169, 59, 0.4);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background: var(--primary-gold);
    transition: var(--transition-smooth);
}

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

/* User utilities with stacked tags */
.user-utilities {
    display: flex;
    gap: 1.5rem;
}

.utility-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    transition: var(--transition-smooth);
    text-decoration: none;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    gap: 4px;
}

.utility-item svg {
    width: 20px !important;
    height: 20px !important;
    stroke: var(--primary-gold);
    transition: var(--transition-smooth);
}

.utility-item:hover svg {
    stroke: var(--primary-amber);
    transform: translateY(-2px);
}

.utility-item:hover {
    color: var(--primary-amber);
    text-shadow: 0 0 8px rgba(244, 180, 26, 0.3);
}

.utility-item span:last-child {
    font-family: var(--font-sans);
    text-transform: uppercase;
}

.utility-item.cart-btn {
    position: relative;
}

.utility-item .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary-amber);
    color: #121212;
    font-size: 0.65rem;
    font-weight: 900;
    width: 16px;
    height: 16px;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(244, 180, 26, 0.5);
    border: 1px solid #121212;
}

/* 3. Hero Section (Above the fold) */
.hero-premium {
    height: 90vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 90px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-content {
    text-align: left;
}

.hero-content h1 {
    font-family: var(--font-sans);
    font-size: 3.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    line-height: 1.1;
}

.hero-content p.tagline {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-content p.description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-content .btn {
    padding: 16px 45px;
    font-size: 1rem;
}

/* Right Column (Hero Centerpiece Jar) */
.hero-centerpiece {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-centerpiece img {
    max-width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft), 0 0 50px rgba(229, 169, 59, 0.15);
    border: 1px solid rgba(229, 169, 59, 0.15);
}

.hero-glow-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(229, 169, 59, 0.12) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: -1;
}

/* Hero Scroll Down pulse */
.hero-scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: scrollPulse 2s infinite ease-in-out;
}

.hero-scroll-indicator span {
    width: 1px;
    height: 20px;
    background: var(--primary-gold);
}

@keyframes scrollPulse {
    0% { transform: translate(-50%, 0); opacity: 0.4; }
    50% { transform: translate(-50%, 6px); opacity: 1; }
    100% { transform: translate(-50%, 0); opacity: 0.4; }
}

/* 4. Showcase Section */
.showcase-section {
    padding: 6rem 0;
}

/* Stylized honey dipper horizontal divider */
.showcase-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
}

.dipper-graphic {
    width: 60px;
    height: 2px;
    background: var(--primary-gold);
    position: relative;
    margin-bottom: 20px;
}

.dipper-graphic::before {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: var(--radius-round);
    background: var(--primary-gold);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.showcase-divider h2 {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: 2.2rem;
    letter-spacing: 3px;
    color: var(--text-primary);
    text-transform: uppercase;
}

/* Premium Horizontal Slider layout */
.showcase-slider-wrapper {
    position: relative;
    width: 100%;
}

.showcase-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 2rem;
    padding: 1.5rem 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-gold) rgba(229, 169, 59, 0.05);
}

/* Custom scrollbar styling for Chrome/Safari/Edge */
.showcase-grid::-webkit-scrollbar {
    height: 6px;
}

.showcase-grid::-webkit-scrollbar-track {
    background: rgba(229, 169, 59, 0.05);
    border-radius: var(--radius-lg);
}

.showcase-grid::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: var(--radius-lg);
    transition: background var(--transition-fast);
}

.showcase-grid::-webkit-scrollbar-thumb:hover {
    background: var(--primary-amber);
}

.showcase-card {
    scroll-snap-align: start;
    flex-shrink: 0;
    flex: 0 0 350px;
}

/* Float arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-round);
    background: rgba(28, 28, 28, 0.85);
    border: 1px solid var(--border-glass);
    color: var(--primary-gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.slider-arrow:hover {
    background: var(--primary-gold);
    color: #121212;
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px rgba(229, 169, 59, 0.4);
    transform: translateY(-50%) scale(1.05);
}

.slider-arrow.prev {
    left: -24px;
}

.slider-arrow.next {
    right: -24px;
}

[dir="rtl"] .slider-arrow.prev {
    left: auto;
    right: -24px;
}

[dir="rtl"] .slider-arrow.next {
    right: auto;
    left: -24px;
}

[dir="rtl"] .slider-arrow svg {
    transform: scaleX(-1);
}

@media (max-width: 1280px) {
    .slider-arrow.prev {
        left: 0;
    }
    .slider-arrow.next {
        right: 0;
    }
    [dir="rtl"] .slider-arrow.prev {
        left: auto;
        right: 0;
    }
    [dir="rtl"] .slider-arrow.next {
        right: auto;
        left: 0;
    }
}

@media (max-width: 1024px) {
    .showcase-card {
        flex: 0 0 300px;
    }
}

@media (max-width: 768px) {
    .showcase-card {
        flex: 0 0 82%;
    }
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    .slider-arrow.prev {
        left: -10px;
    }
    .slider-arrow.next {
        right: -10px;
    }
    [dir="rtl"] .slider-arrow.prev {
        left: auto;
        right: -10px;
    }
    [dir="rtl"] .slider-arrow.next {
        right: auto;
        left: -10px;
    }
}

.showcase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.showcase-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.showcase-card a.image-link {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.showcase-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.showcase-card h3 {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-top: 0.5rem;
    text-transform: uppercase;
}

/* 5. Trust Badges Row */
.trust-badges-section {
    background: #161616;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    padding: 3rem 0;
}

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

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.trust-icon {
    font-size: 2.2rem;
    color: var(--primary-gold);
}

.trust-item h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-primary);
    text-transform: uppercase;
}

.trust-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    max-width: 280px;
}

/* 6. Product Grid (Best Sellers & Catalog) */
.best-sellers-section {
    padding: 6rem 0;
    background-color: #101010;
}

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

.showcase-grid .product-card {
    scroll-snap-align: start;
    flex-shrink: 0;
    flex: 0 0 295px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.product-card a {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
}

.product-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: var(--transition-smooth);
    display: block;
}

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

.product-card h3 {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.stars-rating {
    color: var(--primary-amber);
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    display: flex;
    gap: 2px;
}

.product-card .price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 0.8rem;
}

.product-card .weight-tag {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    background: rgba(229, 169, 59, 0.1);
    border: 1px solid rgba(229, 169, 59, 0.15);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    align-self: flex-start;
}

/* Category Catalog Search & Filters */
#category-filter-buttons button {
    border-radius: var(--radius-sm) !important;
    padding: 10px 24px !important;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: transparent;
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    box-shadow: none;
    transition: var(--transition-smooth) !important;
}

#category-filter-buttons button:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
    transform: translateY(-1px);
}

#category-filter-buttons button.active-filter {
    background: var(--primary-gold) !important;
    border-color: var(--primary-gold) !important;
    color: #121212 !important;
    box-shadow: var(--shadow-btn) !important;
}

/* 7. Split Story Section */
.split-story-section {
    display: flex;
    min-height: 500px;
    background: #141414;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

.story-image-side {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

.story-text-side {
    flex: 1;
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #181818;
}

.story-text-side h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
    font-family: var(--font-sans);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.story-text-side p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* 8. Single Product Detail View */
.product-single {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 3rem;
    border-radius: var(--radius-md);
    margin-top: 2rem;
    margin-bottom: 4rem;
    box-shadow: var(--shadow-soft);
}

.product-single-image {
    flex: 1 1 450px;
}

.product-single-image img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-soft);
}

.product-single-details {
    flex: 1 1 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-single h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.product-single-price {
    font-size: 2rem;
    color: var(--primary-gold);
    font-weight: 800;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.disclaimer-box {
    background-color: rgba(244, 180, 26, 0.08);
    border-left: 4px solid var(--primary-amber);
    padding: 1.25rem;
    margin-top: 2rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Accordion FAQs */
details {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

details:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-glow);
}

details[open] {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-soft);
}

details summary {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    outline: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

details summary::-webkit-details-marker {
    display: none;
}

details summary .icon {
    transition: transform var(--transition-smooth);
    color: var(--primary-gold);
    font-size: 1.2rem;
}

details[open] summary .icon {
    transform: rotate(45deg);
}

details p {
    margin-top: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    cursor: default;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    0% { opacity: 0; transform: translateY(-4px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* 9. Checkout & Cart Pages */
.checkout-table-wrapper {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-glass);
    box-shadow: var(--shadow-soft);
}

/* Inputs and Forms focusing */
.form-group {
    margin-bottom: 1.5rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    background-color: #1a1a1a;
    color: var(--text-primary);
    transition: all var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-amber);
    box-shadow: var(--shadow-glow);
}

/* 10. Admin Dashboard Design */
.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 2.5rem;
    margin-bottom: 4rem;
}

.admin-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 10px;
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-secondary);
    position: relative;
    transition: var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
    color: var(--primary-gold);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    height: 3px;
    width: 100%;
    bottom: -11px;
    left: 0;
    background: var(--primary-gold);
    box-shadow: 0 0 8px rgba(229, 169, 59, 0.5);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

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

.kpi-card {
    background: #181818;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.kpi-card::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 100%;
    left: 0;
    top: 0;
    background: var(--primary-gold);
}

.kpi-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.kpi-value {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    background: #181818;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 800px;
}

.admin-table th, .admin-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-glass);
}

.admin-table th {
    background-color: #101010;
    color: var(--primary-gold);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.admin-table tbody tr:hover {
    background-color: rgba(229, 169, 59, 0.02);
}

.status-badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
}

.status-pending { background-color: rgba(244, 180, 26, 0.12); color: var(--primary-amber); border: 1px solid rgba(244, 180, 26, 0.2); }
.status-processing { background-color: rgba(229, 169, 59, 0.15); color: var(--primary-gold); border: 1px solid rgba(229, 169, 59, 0.25); }
.status-completed { background-color: rgba(46, 125, 50, 0.15); color: #4CAF50; border: 1px solid rgba(46, 125, 50, 0.25); }
.status-cancelled { background-color: rgba(198, 40, 40, 0.15); color: #FF5252; border: 1px solid rgba(198, 40, 40, 0.25); }

/* Chart Visualization */
.chart-container {
    background: #181818;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-sm);
    padding: 2rem;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
}

.chart-bar-row {
    display: grid;
    grid-template-columns: 120px 1fr 80px;
    align-items: center;
    gap: 1rem;
}

.chart-bar-wrapper {
    background: #252525;
    height: 12px;
    border-radius: var(--radius-round);
    overflow: hidden;
}

.chart-bar-fill {
    height: 100%;
    background: var(--primary-gold);
    box-shadow: 0 0 8px rgba(229, 169, 59, 0.4);
    border-radius: var(--radius-round);
    width: 0;
}

/* 11. Footer */
.site-footer {
    background-color: #0b0b0b;
    color: var(--text-muted);
    padding: 4rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid var(--border-glass);
    flex-shrink: 0;
}

.site-footer .footer-links {
    margin-bottom: 2rem;
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.site-footer .footer-links a {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-footer .footer-links a:hover {
    color: var(--primary-gold);
}

.site-footer p {
    font-size: 0.75rem;
    letter-spacing: 1px;
}

/* Floating widgets */
.whatsapp-float {
    position: fixed;
    width: 56px;
    height: 56px;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-gold);
    color: #121212;
    border-radius: var(--radius-round);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-btn);
    z-index: 999;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    background-color: var(--primary-amber);
    transform: scale(1.1) rotate(15deg);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(229, 169, 59, 0.15);
    border-radius: var(--radius-round);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold);
}

/* Responsive Rules */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Showcase grid responsive override handled by flex basis */
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .split-story-section {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .site-header {
        padding: 0 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.6rem;
    }
}

/* 12. Custom Inline SVG Icons Styling */
.feature-svg {
    width: 48px !important;
    height: 48px !important;
}
.card-svg {
    width: 48px;
    height: 48px;
}
.feature-svg, .card-svg {
    display: inline-block;
    vertical-align: middle;
    stroke: var(--primary-gold);
    fill: none;
    transform: translateY(0) scale(1);
    transition: stroke var(--transition-smooth), transform var(--transition-smooth), filter var(--transition-smooth);
}

.trust-item:hover .feature-svg,
.card-svg:hover {
    stroke: var(--primary-amber) !important;
    transform: translateY(-4px) scale(1.06);
    filter: drop-shadow(0 0 8px rgba(244, 180, 26, 0.45));
}

/* 13. KPI Badge Card Styling */
.kpi-badge-card {
    flex: 1 1 200px;
    padding: 2rem;
    background: #181818;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-smooth), transform var(--transition-smooth), box-shadow var(--transition-smooth);
    text-align: center;
}

.kpi-badge-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}

.kpi-badge-card:hover .card-svg {
    stroke: var(--primary-amber) !important;
    transform: translateY(-4px) scale(1.08);
    filter: drop-shadow(0 0 8px rgba(244, 180, 26, 0.45));
}

/* 14. LTR/RTL Bidirectional Adjustments */
[dir="rtl"] {
    --font-serif: 'Amiri', serif;
    --font-sans: 'Tajawal', sans-serif;
    direction: rtl;
    text-align: right;
}

[dir="rtl"] * {
    letter-spacing: 0 !important;
}

[dir="rtl"] .whatsapp-float {
    left: 30px;
    right: auto;
}

[dir="rtl"] .hero-content {
    text-align: right;
}

[dir="rtl"] .story-text-side {
    text-align: right;
}

/* 15. Premium Shared Card Layout */
.premium-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 2.5rem;
    color: var(--text-primary);
}

/* 16. Mobile View Responsive Overrides */
@media (max-width: 991px) {
    body.home-page .site-header {
        position: relative;
        top: 0;
        background: rgba(18, 18, 18, 0.95);
        border-bottom: 1px solid rgba(229, 169, 59, 0.2);
    }

    .hero-premium {
        height: auto;
        min-height: auto;
        padding-top: 5rem;
        padding-bottom: 4rem;
    }
    
    .hero-centerpiece img {
        height: 320px;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .premium-card {
        padding: 1.5rem;
    }
    
    .admin-card {
        padding: 1.5rem;
    }
    
    /* Header optimizations to prevent layout breaks */
    .nav-bar {
        height: 70px;
    }
    
    .brand-text {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .utility-item > span:last-child {
        display: none;
    }
    
    .user-utilities {
        gap: 1.1rem;
    }
    
    /* Section paddings and single product layout */
    .story-text-side {
        padding: 3rem 1.5rem;
    }
    
    .product-single {
        padding: 1.5rem;
        gap: 2rem;
    }
    
    .product-single h1 {
        font-size: 1.8rem;
    }
    
    .product-single-image img {
        max-height: 320px;
    }
}

@media (max-width: 480px) {
    .brand-text {
        display: none;
    }
}

/* ========================================================
   🛒 PREMIUM SLIDE-IN CART DRAWER STYLES
   ======================================================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.cart-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    width: 440px;
    max-width: 100%;
    height: 100%;
    background: rgba(28, 28, 28, 0.98);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* LTR layout */
[dir="ltr"] .cart-drawer {
    right: 0;
    transform: translateX(100%);
    border-left: 1px solid var(--border-glass);
}
[dir="ltr"] .cart-drawer.open {
    transform: translateX(0);
}

/* RTL layout */
[dir="rtl"] .cart-drawer {
    left: 0;
    transform: translateX(-100%);
    border-right: 1px solid var(--border-glass);
}
[dir="rtl"] .cart-drawer.open {
    transform: translateX(0);
}

/* Header inside drawer */
.cart-drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-drawer-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-family: var(--font-sans);
    letter-spacing: 1px;
    font-weight: 700;
    color: var(--primary-gold);
}
.cart-drawer-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}
.cart-drawer-close:hover {
    color: var(--primary-gold);
}

/* Items List */
.cart-drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.cart-drawer-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

/* Item block */
.cart-drawer-item {
    display: flex;
    gap: 1rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1.25rem;
    align-items: center;
}
.cart-drawer-item img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
}
.cart-drawer-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cart-drawer-item-details h4 {
    margin: 0;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
}
.cart-drawer-item-price {
    font-weight: 700;
    color: var(--primary-gold);
    font-size: 0.95rem;
    font-family: var(--font-sans);
}

/* Qty inside Drawer */
.cart-drawer-qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid rgba(229, 169, 59, 0.2);
    border-radius: var(--radius-sm);
    background: #121212;
    height: 30px;
    width: 85px;
    overflow: hidden;
    margin-top: 5px;
    direction: ltr;
}
.cart-drawer-qty-selector button {
    flex: 1;
    border: none;
    background: none;
    color: #fff;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.cart-drawer-qty-selector button:hover {
    background: #252525;
}
.cart-drawer-qty-selector .drawer-qty-val {
    width: 25px;
    text-align: center;
    font-weight: bold;
    color: #fff;
    font-size: 0.85rem;
}

/* Remove button */
.cart-drawer-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0 5px;
}
.cart-drawer-item-remove:hover {
    color: var(--danger-red);
}

/* Footer inside drawer */
.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-glass);
    background: rgba(20, 20, 20, 0.98);
}
.cart-drawer-subtotal,
.cart-drawer-shipping {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-family: var(--font-sans);
}
.cart-drawer-subtotal strong {
    color: var(--primary-gold);
    font-size: 1.15rem;
}

/* Product Badges */
.product-badge {
    position: absolute;
    top: 1rem;
    background: var(--primary-gold);
    color: #121212;
    padding: 6px 12px;
    font-size: 0.72rem;
    font-weight: 800;
    border-radius: var(--radius-sm);
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    pointer-events: none;
    text-transform: uppercase;
}
.product-badge.out-of-stock-badge {
    background: #e04a4a;
    color: #fff;
}
[dir="rtl"] .product-badge {
    right: 1rem;
    left: auto;
}
[dir="ltr"] .product-badge {
    left: 1rem;
    right: auto;
}

/* 17. Legal Policy Pages Styling overrides */
.legal-policy-body {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-secondary);
    font-family: var(--font-sans);
}
.legal-policy-body p {
    margin-bottom: 1.5rem;
    text-align: justify;
}
.legal-policy-body h2 {
    color: var(--primary-gold) !important;
    font-family: var(--font-serif) !important;
    font-weight: 700 !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.2rem !important;
    font-size: 1.5rem !important;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 8px;
}
.legal-policy-body ul, .legal-policy-body ol {
    margin-bottom: 1.5rem;
}
.legal-policy-body li {
    margin-bottom: 0.6rem;
    line-height: 1.7;
}
[dir="rtl"] .legal-policy-body ul, [dir="rtl"] .legal-policy-body ol {
    padding-right: 1.8rem;
    padding-left: 0;
}
[dir="ltr"] .legal-policy-body ul, [dir="ltr"] .legal-policy-body ol {
    padding-left: 1.8rem;
    padding-right: 0;
}

/* ========================================================
   ✒️ PREMIUM ARABIC TYPOGRAPHY ARCHITECTURE & THEME ACCENTS
   ======================================================== */
h1, h2, .hero-headline {
  font-family: 'Cairo', 'Almarai', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

body, p, .nav-links, .category-labels {
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', sans-serif;
  font-weight: 400;
  letter-spacing: normal; /* Critical: Safeguards Arabic fluid cursive junctions from breaking */
  word-spacing: 2px; /* Employs word-level gaps instead of tracking for breathing room */
}

/* Base Utility Theme Accents */
:root {
  --color-brand-gold: #E5A93B;
  --color-matte-charcoal: #121212;
}

.custom-hex-check {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: var(--bg-card);
  border: 1.5px solid var(--primary-gold);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  transition: all 0.3s ease;
  cursor: pointer;
  vertical-align: middle;
}
.custom-hex-check.active {
  background-color: var(--primary-gold);
}