/*
Theme Name: Atyab Aljohrah - أطياب الجوهرة
Theme URI: https://atyabaljohrah.com
Author: Atyab Aljohrah
Author URI: https://atyabaljohrah.com
Description: قالب ووردبريس فاخر لمتجر أطياب الجوهرة للعطور العربية الأصيلة. تصميم أنيق مع دعم كامل لـ WooCommerce واللغة العربية RTL. يتميز بخلفية رمادية داكنة أنيقة وتصميم عصري يعكس فخامة العطور العربية.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atyab-aljohrah
Tags: e-commerce, woocommerce, rtl-language-support, custom-logo, custom-menu, featured-images, translation-ready, arabic

Atyab Aljohrah WordPress Theme - Premium Arabic Perfume Store
اصالة الماضي واناقة الحاضر
*/

/* =====================================================
   TABLE OF CONTENTS
   =====================================================
   1. CSS Variables & Brand Colors
   2. Reset & Base Styles
   3. Typography
   4. Layout & Container
   5. Header & Navigation
   6. Hero Section
   7. Categories Section
   8. Products Grid
   9. Product Cards
   10. Buttons & CTAs
   11. Footer
   12. WooCommerce Overrides
   13. Animations
   14. Responsive Design
   15. RTL Support
   ===================================================== */

/* =====================================================
   1. CSS VARIABLES & BRAND COLORS
   ===================================================== */
:root {
    /* Primary - Elegant Dark Gray */
    --charcoal: #2C3E50;
    --charcoal-rgb: 44, 62, 80;
    --charcoal-light: #3D5166;
    --charcoal-dark: #1A252F;
    
    /* Secondary - Elegant White/Silver Accent */
    --gold: #FFFFFF;
    --gold-rgb: 255, 255, 255;
    --gold-light: #F5F5F5;
    --gold-dark: #E0E0E0;
    --gold-shimmer: #FAFAFA;
    
    /* Luxury Grays */
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    
    /* Functional Colors */
    --success: #22c55e;
    --warning: #fbbf24;
    --error: #ef4444;
    --info: #3b82f6;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 4px 20px rgba(var(--gold-rgb), 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

/* =====================================================
   2. RESET & BASE STYLES
   ===================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: var(--gray-100);
    background-color: var(--charcoal);
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* =====================================================
   3. TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.02em;
    color: var(--gray-100);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
    h3 { font-size: 2rem; }
}

p {
    margin-bottom: var(--spacing-md);
}

.text-gold {
    color: var(--gold);
}

.text-gold-gradient {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =====================================================
   4. LAYOUT & CONTAINER
   ===================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

@media (min-width: 640px) {
    .container {
        padding-left: var(--spacing-lg);
        padding-right: var(--spacing-lg);
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: var(--spacing-xl);
        padding-right: var(--spacing-xl);
    }
}

.section {
    padding: var(--spacing-3xl) 0;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--gray-400);
    text-align: center;
    max-width: 42rem;
    margin: 0 auto var(--spacing-2xl);
}

/* =====================================================
   5. HEADER & NAVIGATION
   ===================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    transition: all var(--transition-slow);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(26, 37, 47, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 6rem;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.site-logo img {
    height: 3.5rem;
    width: auto;
    transition: transform var(--transition-normal);
}

.site-logo:hover img {
    transform: scale(1.05);
}

.site-logo-text {
    display: none;
}

@media (min-width: 640px) {
    .site-logo-text {
        display: block;
    }
}

.site-logo-text h1 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0;
}

.site-logo-text p {
    font-size: 0.75rem;
    color: var(--gold);
    margin-bottom: 0;
}

/* Main Navigation */
.main-navigation {
    display: none;
}

@media (min-width: 1024px) {
    .main-navigation {
        display: flex;
        align-items: center;
        gap: var(--spacing-xl);
    }
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.main-navigation a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-300);
    padding: var(--spacing-sm) 0;
    position: relative;
    transition: color var(--transition-normal);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--gold);
}

.main-navigation .current-menu-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: var(--radius-full);
}

/* Dropdown Menu */
.main-navigation .sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: rgba(26, 37, 47, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-xl);
}

.main-navigation li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-navigation .sub-menu a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: background var(--transition-normal);
}

.main-navigation .sub-menu a:hover {
    background: var(--charcoal-light);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.header-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-full);
    color: var(--gray-300);
    transition: all var(--transition-normal);
}

.header-icon-btn:hover {
    background: var(--charcoal-light);
    color: var(--gold);
}

.cart-count {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    width: 1.25rem;
    height: 1.25rem;
    background: var(--gold);
    color: var(--charcoal);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Navigation */
.mobile-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 20rem;
    height: 100vh;
    background: var(--charcoal);
    border-left: 1px solid rgba(var(--gold-rgb), 0.2);
    z-index: var(--z-modal);
    transition: right var(--transition-normal);
    overflow-y: auto;
    padding: var(--spacing-xl);
}

.mobile-navigation.active {
    right: 0;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: calc(var(--z-modal) - 1);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-navigation ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.mobile-navigation a {
    display: block;
    padding: var(--spacing-md);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--gray-300);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.mobile-navigation a:hover,
.mobile-navigation .current-menu-item a {
    background: var(--charcoal-light);
    color: var(--gold);
}

/* =====================================================
   6. HERO SECTION
   ===================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg, var(--charcoal-dark) 0%, var(--charcoal) 100%);
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(var(--gold-rgb), 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        var(--charcoal-dark) 0%, 
        rgba(var(--charcoal-rgb), 0.9) 50%, 
        var(--charcoal) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-md);
}

/* Decorative Lines */
.hero-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}

.hero-line-top { top: 5rem; }
.hero-line-bottom { bottom: 5rem; }

/* Decorative Diamond Elements */
.hero-diamond {
    position: absolute;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.hero-diamond svg {
    width: 100%;
    height: 100%;
}

.hero-diamond-left {
    top: 25%;
    left: 2.5rem;
    width: 6rem;
    height: 6rem;
}

.hero-diamond-right {
    bottom: 25%;
    right: 2.5rem;
    width: 5rem;
    height: 5rem;
    animation-delay: 1s;
}

/* Divider Ornament */
.divider-ornament {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    max-width: 15rem;
    margin: 0 auto var(--spacing-2xl);
}

.divider-ornament::before,
.divider-ornament::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider-ornament svg {
    width: 1rem;
    height: 1rem;
    color: var(--gold);
}

/* Hero Logo */
.hero-logo {
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.hero-logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12rem;
    height: 12rem;
    background: var(--gold);
    opacity: 0.1;
    border-radius: var(--radius-full);
    filter: blur(60px);
    animation: pulse-gold 2s infinite;
}

@media (min-width: 768px) {
    .hero-logo-glow {
        width: 16rem;
        height: 16rem;
    }
}

.hero-logo img {
    height: 9rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

@media (min-width: 768px) {
    .hero-logo img {
        height: 12rem;
    }
}

/* Hero Brand Name */
.hero-brand-name {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .hero-brand-name {
        font-size: 3rem;
    }
}

.hero-brand-name-en {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--gray-400);
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
    .hero-brand-name-en {
        font-size: 1.5rem;
    }
}

/* Hero Tagline */
.hero-tagline {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 20px rgba(var(--gold-rgb), 0.3);
}

@media (min-width: 768px) {
    .hero-tagline {
        font-size: 2.25rem;
    }
}

.hero-tagline-line {
    width: 8rem;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
    margin: var(--spacing-md) auto var(--spacing-xl);
    border-radius: var(--radius-full);
}

/* Hero Description */
.hero-description {
    font-size: 1.125rem;
    font-weight: 300;
    color: var(--gray-400);
    max-width: 42rem;
    margin: 0 auto var(--spacing-2xl);
    line-height: 1.8;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    justify-content: center;
    margin-bottom: var(--spacing-2xl);
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator-inner {
    width: 1.5rem;
    height: 2.5rem;
    border: 2px solid var(--gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: var(--spacing-sm);
}

.scroll-indicator-dot {
    width: 0.375rem;
    height: 0.75rem;
    background: var(--gold);
    border-radius: var(--radius-full);
    animation: pulse 2s infinite;
}

/* Bottom Gradient */
.hero-bottom-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 10rem;
    background: linear-gradient(to top, var(--charcoal), transparent);
}

/* =====================================================
   7. CATEGORIES SECTION
   ===================================================== */
.categories-section {
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.category-card {
    padding: var(--spacing-lg);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    background: rgba(61, 81, 102, 0.5);
    text-align: center;
    transition: all var(--transition-slow);
}

.category-card:hover {
    border-color: var(--gold);
    background: var(--charcoal-light);
    transform: translateY(-4px);
}

.category-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto var(--spacing-md);
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.2), rgba(var(--gold-rgb), 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
}

.category-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-100);
    margin-bottom: var(--spacing-xs);
    transition: color var(--transition-normal);
}

.category-card:hover .category-name {
    color: var(--gold);
}

.category-name-en {
    font-size: 0.875rem;
    color: var(--gray-400);
}

/* =====================================================
   8. PRODUCTS GRID
   ===================================================== */
.products-section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 0L40 20L20 40L0 20L20 0z' fill='%23FFFFFF' fill-opacity='0.03'/%3E%3C/svg%3E");
    background-size: 40px 40px;
    opacity: 0.5;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* =====================================================
   9. PRODUCT CARDS
   ===================================================== */
.product-card {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: linear-gradient(145deg, var(--charcoal-light), var(--charcoal));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-slow);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(var(--gold-rgb), 0.2);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--charcoal-light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--charcoal), transparent 40%);
    opacity: 0.6;
}

.product-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(var(--gold-rgb), 0.2);
    color: var(--gold);
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
}

.product-info {
    padding: var(--spacing-lg);
}

.product-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-100);
    margin-bottom: var(--spacing-xs);
    transition: color var(--transition-normal);
}

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

.product-name-en {
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: var(--spacing-md);
}

.product-price {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.product-price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
}

.product-price-old {
    font-size: 0.875rem;
    color: var(--gray-500);
    text-decoration: line-through;
}

/* =====================================================
   10. BUTTONS & CTAs
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--charcoal);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 30px rgba(var(--gold-rgb), 0.5);
    color: var(--charcoal);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--transition-slow);
}

.btn-primary:hover::after {
    left: 100%;
}

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

.btn-secondary:hover {
    background: var(--gold);
    color: var(--charcoal);
}

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: 1.125rem;
}

/* =====================================================
   11. FOOTER
   ===================================================== */
.site-footer {
    background: var(--charcoal-dark);
    border-top: 1px solid rgba(var(--gold-rgb), 0.2);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    max-width: 20rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    height: 3rem;
}

.footer-logo-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.footer-logo-text p {
    font-size: 0.75rem;
    color: var(--gold);
    margin-bottom: 0;
}

.footer-description {
    font-size: 0.875rem;
    color: var(--gray-400);
    line-height: 1.8;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--spacing-lg);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--gray-400);
    transition: color var(--transition-normal);
}

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

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    color: var(--gray-400);
    margin-bottom: var(--spacing-sm);
}

.footer-contact-item svg {
    width: 1rem;
    height: 1rem;
    color: var(--gold);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    color: var(--gray-400);
    transition: all var(--transition-normal);
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--charcoal);
}

.footer-bottom {
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(var(--gold-rgb), 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: right;
    }
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-payments img {
    height: 1.5rem;
    opacity: 0.7;
    transition: opacity var(--transition-normal);
}

.footer-payments img:hover {
    opacity: 1;
}

/* =====================================================
   12. WOOCOMMERCE OVERRIDES
   ===================================================== */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(4, 1fr);
    }
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: linear-gradient(145deg, var(--charcoal-light), var(--charcoal));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-slow);
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    margin: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Cairo', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-100);
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-xs);
    margin: 0;
}

.woocommerce ul.products li.product .price {
    font-family: 'Cairo', sans-serif;
    color: var(--gold);
    font-size: 1.125rem;
    font-weight: 700;
    padding: 0 var(--spacing-md);
}

.woocommerce ul.products li.product .price del {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.woocommerce ul.products li.product .price ins {
    text-decoration: none;
}

.woocommerce ul.products li.product .button {
    display: block;
    margin: var(--spacing-md);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--charcoal);
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.woocommerce ul.products li.product .button:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-gold);
}

/* WooCommerce Badges */
.woocommerce span.onsale {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    left: auto;
    min-width: auto;
    min-height: auto;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(var(--gold-rgb), 0.2);
    color: var(--gold);
    font-family: 'Cairo', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    border: 1px solid rgba(var(--gold-rgb), 0.3);
    line-height: 1.5;
}

/* Single Product */
.woocommerce div.product {
    background: transparent;
}

.woocommerce div.product div.images {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--charcoal-light);
}

.woocommerce div.product .product_title {
    font-family: 'Cairo', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-100);
}

.woocommerce div.product p.price {
    font-family: 'Cairo', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-family: 'Cairo', sans-serif;
    color: var(--gray-400);
    line-height: 1.8;
}

.woocommerce div.product form.cart .button {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--charcoal);
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    padding: var(--spacing-md) var(--spacing-2xl);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.woocommerce div.product form.cart .button:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-gold);
}

/* Cart */
.woocommerce-cart table.cart {
    border-collapse: collapse;
}

.woocommerce-cart table.cart th {
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    color: var(--gold);
    background: var(--charcoal-light);
    padding: var(--spacing-md);
}

.woocommerce-cart table.cart td {
    font-family: 'Cairo', sans-serif;
    color: var(--gray-300);
    padding: var(--spacing-md);
    border-bottom: 1px solid rgba(var(--gold-rgb), 0.1);
}

.woocommerce-cart .cart_totals {
    background: var(--charcoal-light);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
}

.woocommerce-cart .cart_totals h2 {
    font-family: 'Cairo', sans-serif;
    color: var(--gold);
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
    font-family: 'Cairo', sans-serif;
    color: var(--gray-300);
    padding: var(--spacing-md);
}

.woocommerce a.button.wc-forward,
.woocommerce button.button.alt {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%) !important;
    color: var(--charcoal) !important;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    border-radius: var(--radius-lg);
}

/* Checkout */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout #order_review_heading {
    font-family: 'Cairo', sans-serif;
    color: var(--gold);
}

.woocommerce form .form-row label {
    font-family: 'Cairo', sans-serif;
    color: var(--gray-300);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    font-family: 'Cairo', sans-serif;
    background: var(--charcoal-light);
    border: 1px solid rgba(var(--gold-rgb), 0.2);
    color: var(--gray-100);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.2);
    outline: none;
}

/* Messages */
.woocommerce-message,
.woocommerce-info {
    background: var(--charcoal-light);
    border-top-color: var(--gold);
    color: var(--gray-300);
    font-family: 'Cairo', sans-serif;
}

.woocommerce-message::before,
.woocommerce-info::before {
    color: var(--gold);
}

.woocommerce-error {
    background: var(--charcoal-light);
    border-top-color: var(--error);
    color: var(--gray-300);
    font-family: 'Cairo', sans-serif;
}

/* =====================================================
   13. ANIMATIONS
   ===================================================== */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes pulse-gold {
    0%, 100% { box-shadow: 0 0 0 0 rgba(var(--gold-rgb), 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(var(--gold-rgb), 0.2); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-shimmer {
    background: linear-gradient(90deg, transparent, rgba(var(--gold-rgb), 0.3), transparent);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

.animate-pulse-gold {
    animation: pulse-gold 2s infinite;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* =====================================================
   14. RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 767px) {
    .hero-section {
        min-height: auto;
        padding: var(--spacing-3xl) 0;
    }
    
    .hero-diamond {
        display: none;
    }
    
    .section {
        padding: var(--spacing-2xl) 0;
    }
}

/* =====================================================
   15. RTL SUPPORT
   ===================================================== */
html[dir="rtl"] body,
body.rtl {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .main-navigation .sub-menu,
body.rtl .main-navigation .sub-menu {
    right:30%;
    left: auto;
}

html[dir="rtl"] .mobile-navigation,
body.rtl .mobile-navigation {
    right: -100%;
    left: auto;
}

html[dir="rtl"] .mobile-navigation.active,
body.rtl .mobile-navigation.active {
    right: 0;
}

html[dir="rtl"] .woocommerce span.onsale,
body.rtl .woocommerce span.onsale {
    right: var(--spacing-md);
    left: auto;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.grid { display: grid; }

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

.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: var(--spacing-xl); }

.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }

.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Loading Spinner */
.loading-spinner {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid var(--charcoal-light);
    border-top-color: var(--gold);
    border-radius: var(--radius-full);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}