:root {
    /* Colors - Logo Blue Theme */
    --primary: #002855; /* Royal Blue (Logo) */
    --primary-dark: #001f44;
    --primary-light: #004080;
    --primary-glow: rgba(0, 40, 85, 0.4);
    --secondary: #f4f6f8; /* Light Gray background */
    --secondary-light: #ffffff;
    --secondary-dark: #e9ecef;
    --accent: #534bae; /* Secondary Accent Blue */
    --accent-rose: #e8b4b8;
    --accent-wood: #8b7355;
    /* Backgrounds - Light Theme */
    --bg-dark: #ffffff; /* White */
    --bg-darker: #f8f9fa; /* Off-white */
    --bg-card: #ffffff; /* White Cards */
    --bg-card-hover: #fcfcfc;
    --bg-gradient: linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%);
    /* Text */
    --text-primary: #212529; /* Dark */
    --text-secondary: #495057;
    --text-muted: #6c757d;
    /* Borders */
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 40, 85, 0.3);
    --border-glow: rgba(0, 40, 85, 0.5);
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #002855 0%, #004080 100%); /* Blue Gradient */
    --gradient-gold-shine: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    --gradient-dark: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    --gradient-card: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    --gradient-hero: radial-gradient(ellipse at 30% 20%, rgba(0, 40, 85, 0.05) 0%, transparent 50%), radial-gradient(ellipse at 70% 80%, rgba(0, 40, 85, 0.03) 0%, transparent 50%);
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.1);
    --shadow-gold: 0 0 40px rgba(0, 40, 85, 0.15);
    --shadow-gold-lg: 0 0 80px rgba(0, 40, 85, 0.2);
    --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.5);
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Tajawal', 'Segoe UI', sans-serif;
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    /* Premium Variables for Cart/Checkout */
    --p-bg-card: #ffffff;
    --p-border: rgba(0,0,0,0.1);
    --p-text: #212529;
    --p-text-muted: #6c757d;
    --p-gold: #002855; /* Replaced Gold with Blue */
}

/* ============ Base Styles ============ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background: var(--primary);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--primary-light);
    }

/* RTL Support */
body.rtl {
    direction: rtl;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

input, textarea, select {
    font-family: inherit;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ============ Preloader ============ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

    .preloader.hidden {
        opacity: 0;
        visibility: hidden;
    }

.loader {
    text-align: center;
}

.perfume-bottle {
    width: 80px;
    height: 130px;
    position: relative;
    animation: floatLoader 2.5s ease-in-out infinite;
}

.bottle-body {
    width: 80px;
    height: 100px;
    background: var(--gradient-gold);
    border-radius: 15px 15px 25px 25px;
    position: absolute;
    bottom: 0;
    box-shadow: var(--shadow-gold);
}

    .bottle-body::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--gradient-gold-shine);
        animation: shine 2s ease-in-out infinite;
    }

.bottle-cap {
    width: 40px;
    height: 30px;
    background: linear-gradient(180deg, #dceefb 0%, #a8c0d3 100%); /* Silver cap */
    border-radius: 8px 8px 0 0;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes floatLoader {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ============ Typography ============ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.3;
}

.display-text {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* ============ Header & Navigation ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-base);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

    .header::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--primary), transparent);
        opacity: 0.3;
    }

    .header.scrolled {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-md);
    }

.navbar {
    height: 85px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 1.75rem;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    position: relative;
}

.logo-text {
    color: var(--text-primary);
    text-shadow: none;
}

.logo-accent {
    color: var(--primary);
    text-shadow: none;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--space-sm) 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    letter-spacing: 0.02em;
    transition: color var(--transition-fast);
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gradient-gold);
        transition: width var(--transition-base);
        border-radius: var(--radius-full);
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary);
    }

        .nav-link:hover::after,
        .nav-link.active::after {
            width: 100%;
        }

    .nav-link i {
        font-size: 0.7rem;
        transition: transform var(--transition-fast);
    }

    .nav-link:hover i {
        transform: rotate(180deg);
    }

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-width: 220px;
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
    list-style: none;
    backdrop-filter: blur(20px);
}

    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
        border: 6px solid transparent;
        border-bottom-color: var(--border-color);
    }

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 15px);
}

.dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    font-size: 0.9rem;
}

    .dropdown-menu li a:hover {
        background: rgba(0, 40, 85, 0.05);
        color: var(--primary);
        padding-left: var(--space-xl);
    }

/* Nav Right */
.nav-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.85rem;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(0, 40, 85, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
}

.lang-btn {
    color: var(--text-muted);
    transition: color var(--transition-fast);
    padding: var(--space-xs);
}

    .lang-btn:hover,
    .lang-btn.active {
        color: var(--primary);
    }

.lang-divider {
    color: var(--text-muted);
    font-size: 0.7rem;
}

/* Icon Buttons */
.nav-icon-btn {
    width: 60px;
    height: 46px;
    border-radius: var(--radius-full);
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

    .nav-icon-btn::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-gold);
        opacity: 0;
        transition: opacity var(--transition-fast);
    }

    .nav-icon-btn:hover {
        border-color: var(--primary);
        color: #fff;
        transform: scale(1.05);
    }

        .nav-icon-btn:hover::before {
            opacity: 1;
        }

        .nav-icon-btn:hover i {
            position: relative;
            z-index: 1;
        }

.cart-count {
    position: absolute;
    top: 4px;
    right: 10px;
    min-width: 11px;
    height: 15px;
    background: var(--primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 8px rgba(0, 40, 85, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    width: 46px;
    height: 46px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

    .mobile-menu-btn:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    backdrop-filter: blur(30px);
}

    .search-overlay.active {
        opacity: 1;
        visibility: visible;
    }

.search-container {
    width: 100%;
    max-width: 700px;
    padding: var(--space-xl);
    position: relative;
}

.search-input {
    width: 100%;
    padding: var(--space-lg) var(--space-2xl);
    padding-right: 70px;
    background: #f8f9fa;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-xl);
    color: var(--text-primary);
    font-size: 1.25rem;
    transition: all var(--transition-fast);
}

    .search-input:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: var(--shadow-gold);
    }

    .search-input::placeholder {
        color: var(--text-muted);
    }

.search-btn {
    position: absolute;
    right: var(--space-2xl);
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-gold);
    border: none;
    color: #fff;
    width: 54px;
    height: 54px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 1.25rem;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-gold);
}

    .search-btn:hover {
        transform: translateY(-50%) scale(1.1);
        box-shadow: var(--shadow-gold-lg);
    }

.search-close {
    position: absolute;
    top: -60px;
    right: var(--space-xl);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.75rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

    .search-close:hover {
        color: var(--primary);
        transform: rotate(90deg);
    }

/* ============ Hero Section ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 85px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-dark);
}

    .hero-bg::before {
        content: '';
        position: absolute;
        inset: 0;
        background: var(--gradient-hero);
        opacity: 0.8;
    }

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.title-line {
    display: block;
}

    .title-line.accent {
        color: var(--primary);
        /* No hard shadow for light theme, maybe a soft glow */
        text-shadow: 0 0 30px rgba(0, 40, 85, 0.1);
    }

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.8;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    overflow: hidden;
}

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.5s ease;
    }

    .btn:hover::before {
        left: 100%;
    }

.btn-primary {
    background: var(--gradient-gold);
    color: #fff;
    box-shadow: var(--shadow-gold);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-gold-lg);
    }

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

    .btn-outline:hover {
        background: rgba(0, 40, 85, 0.05);
        transform: translateY(-3px);
        box-shadow: var(--shadow-gold);
    }

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* Hero Image */
.hero-image {
    position: relative;
    height: 600px;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

    .hero-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: drop-shadow(0 30px 60px rgba(0, 40, 85, 0.2));
        animation: heroFloat 6s ease-in-out infinite;
    }

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 40, 85, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    animation: scrollBounce 2s ease-in-out infinite;
}

    .scroll-indicator::after {
        content: '';
        width: 1px;
        height: 40px;
        background: linear-gradient(180deg, var(--primary), transparent);
    }

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

/* ============ Section Styles ============ */
.section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.section-dark {
    background: var(--bg-darker);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
    color: var(--text-primary);
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
        height: 3px;
        background: var(--gradient-gold);
        border-radius: var(--radius-full);
    }

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.view-all {
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

    .view-all:hover {
        gap: var(--space-sm);
    }

    .view-all i {
        transition: transform var(--transition-fast);
    }

    .view-all:hover i {
        transform: translateX(5px);
    }

/* ============ Categories Section ============ */
.categories-section {
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

    .categories-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    }

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.category-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-slow);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

    .category-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--gradient-gold);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform var(--transition-base);
    }

    .category-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at center, rgba(0, 40, 85, 0.05) 0%, transparent 70%);
        opacity: 0;
        transition: opacity var(--transition-base);
    }

    .category-card:hover {
        transform: translateY(-10px);
        border-color: var(--border-hover);
        box-shadow: var(--shadow-lg), var(--shadow-gold);
    }

        .category-card:hover::before {
            transform: scaleX(1);
        }

        .category-card:hover::after {
            opacity: 1;
        }

.category-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(0, 40, 85, 0.1) 0%, rgba(0, 40, 85, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 2.25rem;
    color: var(--primary);
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.category-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    position: relative;
    z-index: 1;
    color: var(--text-primary);
}

.category-count {
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

.category-hover {
    position: absolute;
    bottom: var(--space-lg);
    right: var(--space-lg);
    width: 44px;
    height: 44px;
    background: var(--gradient-gold);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transform: translateX(60px);
    opacity: 0;
    transition: all var(--transition-base);
}

.category-card:hover .category-hover {
    transform: translateX(0);
    opacity: 1;
}

/* ============ Products Section ============ */
.products-section {
    padding: var(--space-4xl) 0;
}

    .products-section.bg-dark {
        background: var(--bg-darker);
    }

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-xl);
}

/* Product Card */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-slow);
    position: relative;
    box-shadow: var(--shadow-sm);
}

    .product-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(180deg, transparent 50%, rgba(0, 40, 85, 0.02) 100%);
        opacity: 0;
        transition: opacity var(--transition-base);
        pointer-events: none;
        z-index: 1;
    }

    .product-card:hover {
        transform: translateY(-10px);
        border-color: var(--border-hover);
        box-shadow: var(--shadow-lg), var(--shadow-gold);
    }

        .product-card:hover::before {
            opacity: 1;
        }

.product-image {
    position: relative;
    height: 320px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform var(--transition-slow);
    }

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
}

    .product-badge.sale {
        background: linear-gradient(135deg, #e74c3c, #c0392b);
        color: white;
        box-shadow: 0 4px 15px rgba(231, 76, 60, 0.4);
    }

    .product-badge.new {
        background: var(--gradient-gold);
        color: #fff;
        box-shadow: var(--shadow-gold);
    }

.product-actions {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex;
    gap: var(--space-sm);
    opacity: 0;
    transition: all var(--transition-base);
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.action-btn {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .action-btn:hover {
        background: var(--primary);
        border-color: var(--primary);
        color: #fff;
        transform: scale(1.15);
        box-shadow: var(--shadow-gold);
    }

.product-info {
    padding: var(--space-lg);
    position: relative;
    z-index: 1;
}

.product-brand {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: var(--space-xs);
}

.product-name {
    font-size: 1.15rem;
    font-weight: 600;
    margin: var(--space-xs) 0 var(--space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    color: var(--text-primary);
}

    .product-name a {
        transition: color var(--transition-fast);
    }

        .product-name a:hover {
            color: var(--primary);
        }

.product-price {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.current-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
}

.old-price {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--primary);
    font-size: 0.8rem;
}

    .product-rating i {
        font-size: 0.7rem;
    }

    .product-rating span {
        color: var(--text-muted);
    }

/* ============ Features Section ============ */
.features-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    position: relative;
}

    .features-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.feature-card {
    text-align: center;
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

    .feature-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 3px;
        background: var(--gradient-gold);
        transition: width var(--transition-base);
    }

    .feature-card:hover {
        border-color: var(--border-hover);
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
    }

        .feature-card:hover::before {
            width: 100%;
        }

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 40, 85, 0.1) 0%, rgba(0, 40, 85, 0.05) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 1.75rem;
    color: var(--primary);
    transition: all var(--transition-base);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.feature-card h3 {
    font-size: 1.15rem;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============ Newsletter Section ============ */
.newsletter-section {
    padding: var(--space-4xl) 0;
    background: var(--gradient-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

    .newsletter-section::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle at 30% 50%, rgba(0, 40, 85, 0.03) 0%, transparent 50%);
        animation: rotateGradient 30s linear infinite;
    }

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.newsletter-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.newsletter-text h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.newsletter-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.newsletter-form {
    display: flex;
    gap: var(--space-md);
    flex: 1;
    max-width: 500px;
}

    .newsletter-form input {
        flex: 1;
        padding: var(--space-md) var(--space-lg);
        background: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        color: var(--text-primary);
        font-size: 1rem;
        transition: all var(--transition-fast);
    }

        .newsletter-form input:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: var(--shadow-gold);
        }

/* ============ Footer ============ */
.footer {
    background: var(--bg-darker);
    padding: var(--space-4xl) 0 0;
    position: relative;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--primary), transparent);
    }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-desc {
    color: var(--text-secondary);
    margin: var(--space-lg) 0;
    font-size: 0.95rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 44px;
    height: 44px;
    background: rgba(0, 40, 85, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all var(--transition-fast);
}

    .social-link:hover {
        background: var(--primary);
        border-color: var(--primary);
        color: #fff;
        transform: translateY(-3px);
        box-shadow: var(--shadow-gold);
    }

.footer-links h4,
.footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    font-weight: 600;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: var(--space-sm);
}

.footer-links a,
.footer-contact li {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

    .footer-links a:hover {
        color: var(--primary);
        padding-left: var(--space-sm);
    }

.footer-contact i {
    color: var(--primary);
    width: 20px;
    font-size: 0.9rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border-color);
}

    .footer-bottom p {
        color: var(--text-muted);
        font-size: 0.85rem;
    }

.payment-methods {
    display: flex;
    gap: var(--space-md);
    font-size: 2rem;
    color: var(--text-muted);
}

/* ============ Toast Notifications ============ */
.toast-container {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.toast {
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    animation: slideIn 0.3s ease;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    color: var(--text-primary);
}

    .toast.success {
        border-color: #27ae60;
    }

        .toast.success i {
            color: #27ae60;
        }

    .toast.error {
        border-color: #e74c3c;
    }

        .toast.error i {
            color: #e74c3c;
        }

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============ Animations ============ */
.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

    .animate-fade-up.delay-1 {
        animation-delay: 0.2s;
    }

    .animate-fade-up.delay-2 {
        animation-delay: 0.4s;
    }

.animate-fade-left {
    animation: fadeLeft 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============ Responsive Design ============ */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-subtitle {
        margin: 0 auto var(--space-2xl);
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 85px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-dark);
        padding: var(--space-xl);
        transform: translateX(-100%);
        transition: transform var(--transition-base);
        overflow-y: auto;
    }

    body.rtl .nav-menu {
        transform: translateX(100%);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: var(--space-lg);
        align-items: stretch;
    }

    .nav-link {
        font-size: 1.15rem;
        padding: var(--space-md);
        border-bottom: 1px solid var(--border-color);
    }

    .dropdown-menu {
        position: static;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: var(--space-md) 0 0 var(--space-lg);
        opacity: 1;
        visibility: visible;
    }

        .dropdown-menu::before {
            display: none;
        }

        .dropdown-menu li a {
            padding: var(--space-sm) 0;
        }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        width: 100%;
        max-width: none;
        flex-direction: column;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .product-image {
        height: 250px;
    }

    .toast-container {
        right: var(--space-md);
        left: var(--space-md);
    }

    body.rtl .toast-container {
        left: var(--space-md);
    }
}

@media (max-width: 480px) {
    .categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* RTL Specific */
body.rtl .product-badge {
    left: auto;
    right: var(--space-md);
}

body.rtl .category-hover {
    right: auto;
    left: var(--space-lg);
    transform: translateX(-60px);
}

body.rtl .category-card:hover .category-hover {
    transform: translateX(0);
}

body.rtl .search-btn {
    right: auto;
    left: var(--space-2xl);
}

body.rtl .dropdown-menu li a:hover {
    padding-left: var(--space-lg);
    padding-right: var(--space-xl);
}

body.rtl .footer-links a:hover {
    padding-left: 0;
    padding-right: var(--space-sm);
}

body.rtl .view-all:hover i {
    transform: translateX(-5px);
}

/* Placeholder Images Notice */
.img-placeholder {
    background: linear-gradient(135deg, rgba(0, 40, 85, 0.05) 0%, rgba(0, 40, 85, 0.02) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- CART PAGE STYLES --- */
.cart-section {
    padding-bottom: 5rem;
}

.cart-layout-premium {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2.5rem;
}

/* Cart Table */
.cart-items-container {
    background: var(--p-bg-card);
    border: 1px solid var(--p-border);
    border-radius: 20px;
    overflow: hidden;
}

.cart-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 50px;
    padding: 1.5rem;
    background: rgba(0, 40, 85, 0.03);
    border-bottom: 1px solid var(--p-border);
    font-weight: 600;
    color: var(--p-text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cart-item-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 50px;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    align-items: center;
    transition: 0.3s;
}

    .cart-item-row:last-child {
        border-bottom: none;
    }

    .cart-item-row:hover {
        background: rgba(0, 40, 85, 0.01);
    }

.col-product {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.product-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--p-border);
}

    .product-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.product-details h3 {
    margin: 0 0 0.3rem;
    font-size: 1rem;
    color: var(--p-text);
}

.product-details .brand {
    font-size: 0.8rem;
    color: var(--p-text-muted);
    display: block;
}

.mobile-price {
    display: none;
    color: var(--p-gold);
    font-weight: 700;
    margin-top: 0.5rem;
}

.price, .total-price {
    font-weight: 600;
    font-size: 1.1rem;
}

.total-price {
    color: var(--p-gold);
}

    .total-price small {
        font-size: 0.8rem;
        color: var(--p-text-muted);
    }

/* Qty Selector */
.qty-selector-premium {
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50px;
    display: inline-flex;
    padding: 4px;
}

.qty-form {
    display: flex;
    align-items: center;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--p-text);
    cursor: pointer;
    transition: 0.2s;
}

    .qty-btn:hover:not(:disabled) {
        background: var(--p-gold);
        color: #fff;
    }

    .qty-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

.qty-input {
    width: 40px;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--p-text);
    font-weight: 700;
}

.remove-btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(231, 76, 60, 0.3);
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    cursor: pointer;
    transition: 0.3s;
}

    .remove-btn-icon:hover {
        background: #e74c3c;
        color: #fff;
    }

.cart-actions-row {
    padding: 1.5rem;
    text-align: left;
}

body.rtl .cart-actions-row {
    text-align: right;
}

.btn-link-premium {
    color: var(--p-text-muted);
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

    .btn-link-premium:hover {
        color: var(--p-gold);
        transform: translateX(5px);
        display: inline-block;
    }

/* Cart Summary Card */
.cart-summary-card {
    background: var(--p-bg-card);
    border: 1px solid var(--p-border);
    border-radius: 20px;
    padding: 2rem;
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

    .cart-summary-card h3 {
        font-family: 'Playfair Display', serif;
        margin-bottom: 1.5rem;
        color: var(--p-text);
    }

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--p-text-muted);
    font-size: 0.95rem;
}

    .summary-row .value {
        color: var(--p-text);
        font-weight: 600;
    }

    .summary-row.total {
        font-size: 1.2rem;
        margin-top: 1rem;
        color: var(--p-text);
        font-weight: 700;
    }

        .summary-row.total .gold {
            color: var(--p-gold);
        }

.summary-divider {
    height: 1px;
    background: rgba(0,0,0,0.05);
    margin: 1rem 0;
}

.vat-note {
    font-size: 0.8rem;
    color: var(--p-text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
}

.coupon-area {
    margin-bottom: 1.5rem;
}

.input-group-coupon {
    display: flex;
    gap: 0.5rem;
}

    .input-group-coupon input {
        flex: 1;
        padding: 0.8rem;
        border-radius: 10px;
        background: #f8f9fa;
        border: 1px solid rgba(0,0,0,0.1);
        color: var(--p-text);
    }

.btn-apply {
    background: transparent;
    border: 1px solid var(--p-gold);
    color: var(--p-gold);
    padding: 0 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

    .btn-apply:hover {
        background: var(--p-gold);
        color: #fff;
    }

.btn-checkout-premium {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--p-gold) 0%, #004080 100%);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(0, 40, 85, 0.15);
}

    .btn-checkout-premium:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0, 40, 85, 0.25);
    }

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    color: var(--p-text-muted);
    font-size: 1.5rem;
}

/* Empty Cart */
.empty-cart-premium {
    text-align: center;
    padding: 4rem 0;
}

.empty-icon-box {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(0, 40, 85, 0.05);
    color: var(--p-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem;
}

.empty-cart-premium h2 {
    font-family: 'Playfair Display', serif;
    color: var(--p-text);
    margin-bottom: 0.5rem;
}

.empty-cart-premium p {
    color: var(--p-text-muted);
    margin-bottom: 2rem;
}

.btn-primary-premium {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--p-gold);
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

    .btn-primary-premium:hover {
        background: #004080;
        transform: translateY(-3px);
    }

/* --- CHECKOUT PAGE --- */
.checkout-page-wrapper {
    padding-top: 120px;
    padding-bottom: 5rem;
}

.checkout-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .checkout-header h1 {
        font-family: 'Playfair Display', serif;
        color: var(--p-gold);
        margin-bottom: 0.5rem;
    }

.secure-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
}

.form-section {
    margin-bottom: 3rem;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.step-num {
    width: 36px;
    height: 36px;
    background: var(--p-gold);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.section-title h2 {
    font-family: 'Playfair Display', serif;
    margin: 0;
    font-size: 1.5rem;
    color: var(--p-text);
}

/* Forms Premium */
.form-group-premium {
    margin-bottom: 1.5rem;
}

    .form-group-premium label {
        display: block;
        color: var(--p-text-muted);
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .form-group-premium input, .form-group-premium select, .form-group-premium textarea {
        width: 100%;
        padding: 1rem;
        background: #f8f9fa;
        border: 1px solid rgba(0,0,0,0.1);
        border-radius: 12px;
        color: var(--p-text);
        transition: 0.3s;
    }

        .form-group-premium input:focus {
            border-color: var(--p-gold);
            box-shadow: 0 0 0 3px rgba(0, 40, 85, 0.1);
            outline: none;
        }

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.phone-input-wrapper {
    display: flex;
    background: #f8f9fa;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    overflow: hidden;
}

.country-code {
    padding: 1rem;
    background: #e9ecef;
    color: var(--p-text-muted);
    border-right: 1px solid rgba(0,0,0,0.1);
}

body.rtl .country-code {
    border-right: none;
    border-left: 1px solid rgba(0,0,0,0.1);
}

.phone-input-wrapper input {
    border: none;
    background: transparent;
}

/* Payment Options */
.payment-methods-grid {
    display: grid;
    gap: 1rem;
}

.payment-option {
    cursor: pointer;
}

    .payment-option input {
        display: none;
    }

.payment-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--p-bg-card);
    border: 1px solid var(--p-border);
    border-radius: 16px;
    transition: 0.3s;
}

.radio-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--p-text-muted);
    position: relative;
}

.payment-option input:checked + .payment-content {
    border-color: var(--p-gold);
    background: rgba(0, 40, 85, 0.03);
}

    .payment-option input:checked + .payment-content .radio-circle {
        border-color: var(--p-gold);
    }

        .payment-option input:checked + .payment-content .radio-circle::after {
            content: '';
            position: absolute;
            inset: 3px;
            background: var(--p-gold);
            border-radius: 50%;
        }

.payment-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.method-name {
    font-weight: 700;
    color: var(--p-text);
}

.method-desc {
    font-size: 0.85rem;
    color: var(--p-text-muted);
}

.payment-icon {
    font-size: 1.5rem;
    color: var(--p-gold);
}

/* Checkout Sidebar */
.order-summary-card {
    background: var(--p-bg-card);
    border: 1px solid var(--p-border);
    border-radius: 20px;
    padding: 2rem;
    position: sticky;
    top: 120px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.checkout-items-list {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 1.5rem;
}

.loader-placeholder {
    text-align: center;
    padding: 1rem;
    color: var(--p-text-muted);
}

.coupon-section-checkout {
    background: #f8f9fa;
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

    .coupon-section-checkout label {
        font-size: 0.9rem;
        color: var(--p-gold);
        margin-bottom: 0.8rem;
        display: block;
    }

.btn-apply-coupon {
    background: var(--p-gold);
    color: #fff;
    border: none;
    padding: 0 1.2rem;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
}

.coupon-feedback.success {
    color: #2ecc71;
    font-size: 0.85rem;
    display: block;
    margin-top: 0.5rem;
}

.coupon-feedback.error {
    color: #e74c3c;
    font-size: 0.85rem;
    display: block;
    margin-top: 0.5rem;
}

.pricing-summary .price-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    color: var(--p-text-muted);
    font-size: 0.95rem;
}

.pricing-summary .total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--p-text);
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    margin-top: 1rem;
}

.gold-text {
    color: var(--p-gold);
}

.btn-place-order {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
    background: var(--p-gold);
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 2rem;
    box-shadow: 0 5px 20px rgba(0, 40, 85, 0.2);
}

    .btn-place-order:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0, 40, 85, 0.3);
    }

.terms-note {
    font-size: 0.8rem;
    color: var(--p-text-muted);
    text-align: center;
    margin-top: 1.5rem;
}

    .terms-note a {
        color: var(--p-text);
        text-decoration: underline;
    }

/* Responsive */
@media (max-width: 992px) {
    .cart-layout-premium {
        grid-template-columns: 1fr;
    }

    .cart-table-header {
        display: none;
    }

    .cart-item-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        position: relative;
    }

    .col-price.desktop-only {
        display: none;
    }

    .mobile-price {
        display: block;
    }

    .col-qty {
        justify-self: start;
    }

    .col-total {
        justify-self: start;
        font-size: 1.2rem;
        margin-top: 0.5rem;
    }

    .col-action {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }
    /* LTR */
    body.rtl .col-action {
        right: auto;
        left: 1.5rem;
    }
    /* RTL */

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-sidebar {
        order: -1;
    }
}
