/* =====================================================
   DESIGN SYSTEM — E-commerce DZ
   ===================================================== */

:root {
    /* Colors — Feminine warm cream + rose */
    --clr-bg: #faf7f5;
    --clr-bg-alt: #f0ebe6;
    --clr-surface: #ffffff;
    --clr-surface-alt: #f5f0ec;
    --clr-border: rgba(0, 0, 0, 0.07);
    --clr-border-hover: rgba(0, 0, 0, 0.14);
    --clr-text: #1a1a1a;
    --clr-text-muted: #6b6161;
    --clr-text-dim: #9e9494;

    /* Accent — dusty rose */
    --clr-accent: #c4727f;
    --clr-accent-light: #d9929c;
    --clr-accent-dark: #a35a66;

    /* Gradient */
    --grad-accent: linear-gradient(135deg, #c4727f 0%, #d4919b 100%);
    --grad-hero: linear-gradient(160deg, #faf7f5 0%, #f5ece7 40%, #f0e4de 100%);
    --grad-card: linear-gradient(160deg, #ffffff, #fdfbfa);
    --grad-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-main: 'DM Sans', sans-serif;
    --font-ar: 'Cairo', sans-serif;

    /* Sizes */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-md: 1.125rem;
    --fs-lg: 1.25rem;
    --fs-xl: 1.5rem;
    --fs-2xl: 2rem;
    --fs-3xl: 2.75rem;
    --fs-4xl: 3.5rem;
    --fs-hero: clamp(2.5rem, 5vw, 4.5rem);

    /* Spacing */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.25rem;
    --sp-6: 1.5rem;
    --sp-8: 2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;

    /* Borders */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 300ms;
    --duration-slow: 500ms;

    /* Layout */
    --container: 1200px;
    --header-h: 72px;
}

/* =====================================================
   RESET & BASE
   ===================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font-main);
    font-size: var(--fs-base);
    line-height: 1.7;
    color: var(--clr-text);
    background: var(--clr-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo-text,
.hero-title,
.section-title,
.modal-title {
    font-family: var(--font-heading);
}

/* Arabic */
[dir="rtl"] body,
[dir="rtl"] * {
    font-family: var(--font-ar), sans-serif;
}

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

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

ul {
    list-style: none;
}

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

input,
select,
textarea {
    font: inherit;
    color: inherit;
    background: transparent;
    border: none;
    outline: none;
}

::selection {
    background: var(--clr-accent-light);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--clr-bg);
}

::-webkit-scrollbar-thumb {
    background: #d5ccc6;
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--clr-accent-light);
}

/* =====================================================
   LAYOUT
   ===================================================== */

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--sp-6);
}

/* =====================================================
   BUTTONS
   ===================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: var(--sp-3) var(--sp-6);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--fs-sm);
    letter-spacing: 0.02em;
    transition: all var(--duration) var(--ease);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.15), transparent);
    opacity: 0;
    transition: opacity var(--duration) var(--ease);
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: var(--clr-accent);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--clr-accent-dark);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background: var(--clr-accent);
    color: #fff;
}

.btn-accent:hover {
    background: var(--clr-accent-dark);
}

.btn-outline {
    border: 1.5px solid var(--clr-border-hover);
    color: var(--clr-text);
}

.btn-outline:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
    background: rgba(196, 114, 127, 0.05);
}

.btn-ghost {
    color: var(--clr-text-muted);
}

.btn-ghost:hover {
    color: var(--clr-text);
}

.btn-sm {
    padding: var(--sp-2) var(--sp-4);
    font-size: var(--fs-xs);
}

.btn-lg {
    padding: var(--sp-4) var(--sp-8);
    font-size: var(--fs-base);
}

.btn-full {
    width: 100%;
}

.btn-arrow {
    transition: transform var(--duration) var(--ease);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

[dir="rtl"] .btn:hover .btn-arrow {
    transform: translateX(-4px) scaleX(-1);
}

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

/* =====================================================
   HEADER
   ===================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 1000;
    transition: all var(--duration) var(--ease);
    background: rgba(250, 247, 245, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--clr-border);
}

.header.scrolled {
    background: rgba(250, 247, 245, 0.97);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-weight: 800;
    font-size: var(--fs-lg);
    letter-spacing: 0.04em;
}

.logo-icon {
    color: var(--clr-accent);
    font-size: var(--fs-xl);
}

.nav-list {
    display: flex;
    gap: var(--sp-8);
}

.nav-link {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--clr-text-muted);
    position: relative;
    padding: var(--sp-2) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-accent);
    transition: width var(--duration) var(--ease);
}

.nav-link:hover,
.nav-link.active {
    color: var(--clr-text);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}

.btn-lang {
    padding: var(--sp-2) var(--sp-4);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--clr-text-muted);
    transition: all var(--duration) var(--ease);
}

.btn-lang:hover {
    border-color: var(--clr-accent);
    color: var(--clr-accent);
}

/* Hamburger */
.menu-toggle {
    display: none;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--clr-text);
    transition: all var(--duration) var(--ease);
    border-radius: 2px;
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

.menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* =====================================================
   HERO
   ===================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: calc(var(--header-h) + var(--sp-12)) var(--sp-6) var(--sp-12);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../assets/hero-bg.png') center center / cover no-repeat;
    z-index: -2;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(250, 247, 245, 0.4);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Particles removed — clean hero */
.hero-particles,
.hero-particle {
    display: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    padding: var(--sp-2) var(--sp-5);
    background: rgba(196, 114, 127, 0.08);
    border: 1px solid rgba(196, 114, 127, 0.15);
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--clr-accent-dark);
    margin-bottom: var(--sp-8);
    animation: fade-in-up 0.6s var(--ease);
}

.hero-title {
    font-size: var(--fs-hero);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--sp-6);
    color: var(--clr-text);
    animation: fade-in-up 0.6s var(--ease) 0.1s both;
}

.hero-gradient {
    color: var(--clr-accent);
    -webkit-text-fill-color: var(--clr-accent);
}

.hero-subtitle {
    font-size: var(--fs-lg);
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto var(--sp-10);
    line-height: 1.6;
    animation: fade-in-up 0.6s var(--ease) 0.2s both;
}

.hero-cta-group {
    display: flex;
    gap: var(--sp-4);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--sp-16);
    animation: fade-in-up 0.6s var(--ease) 0.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--sp-12);
    animation: fade-in-up 0.6s var(--ease) 0.4s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--fs-3xl);
    font-weight: 800;
    color: var(--clr-accent-dark);
}

.stat-label {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
}

.hero-scroll {
    position: absolute;
    bottom: var(--sp-8);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
    color: var(--clr-text-dim);
    font-size: var(--fs-xs);
    animation: fade-in-up 0.6s var(--ease) 0.5s both;
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid #c8bdb5;
    border-radius: 12px;
    position: relative;
}

.scroll-indicator::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--clr-accent);
    border-radius: 4px;
    animation: scroll-bounce 1.5s ease-in-out infinite;
}

@keyframes scroll-bounce {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 22px;
        opacity: 0.3;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================
   FEATURES 
   ===================================================== */

.features {
    padding: var(--sp-16) 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--clr-border-hover), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--sp-6);
}

.feature-card {
    text-align: center;
    padding: var(--sp-8) var(--sp-6);
    border-radius: var(--radius-lg);
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    transition: all var(--duration-slow) var(--ease);
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--clr-border-hover);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--sp-4);
}

.feature-title {
    font-size: var(--fs-md);
    font-weight: 700;
    margin-bottom: var(--sp-2);
}

.feature-desc {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    line-height: 1.6;
}

/* =====================================================
   SECTION HEADER
   ===================================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--sp-16);
}

.section-badge {
    display: inline-block;
    padding: var(--sp-1) var(--sp-4);
    background: rgba(196, 114, 127, 0.08);
    border: 1px solid rgba(196, 114, 127, 0.15);
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--clr-accent-dark);
    margin-bottom: var(--sp-4);
}

.section-title {
    font-size: var(--fs-3xl);
    font-weight: 800;
    margin-bottom: var(--sp-4);
}

.section-subtitle {
    font-size: var(--fs-md);
    color: var(--clr-text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* =====================================================
   PRODUCTS
   ===================================================== */

.products-section {
    padding: var(--sp-24) 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--sp-6);
}

.product-card {
    border-radius: var(--radius-lg);
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    overflow: hidden;
    transition: all var(--duration-slow) var(--ease);
    position: relative;
}

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

.product-image {
    position: relative;
    height: 280px;
    background: var(--clr-bg-alt);
    overflow: hidden;
}

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

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

.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--clr-text-dim);
    background: linear-gradient(135deg, #f5f0ec, #ebe5df);
}

.product-badge {
    position: absolute;
    top: var(--sp-3);
    left: var(--sp-3);
    padding: var(--sp-1) var(--sp-3);
    background: var(--clr-accent);
    color: #fff;
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: 700;
}

[dir="rtl"] .product-badge {
    left: auto;
    right: var(--sp-3);
}

.product-info {
    padding: var(--sp-5);
}

.product-name {
    font-size: var(--fs-md);
    font-weight: 700;
    margin-bottom: var(--sp-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    margin-bottom: var(--sp-4);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-3);
}

.product-price {
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--clr-accent);
}

.product-price-suffix {
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--clr-text-muted);
}

.btn-order {
    padding: var(--sp-3) var(--sp-5);
    background: var(--clr-accent);
    color: #fff;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--fs-sm);
    transition: all var(--duration) var(--ease);
    box-shadow: var(--shadow-sm);
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    white-space: nowrap;
}

.btn-order:hover {
    background: var(--clr-accent-dark);
    box-shadow: var(--shadow-md);
}

.btn-order svg {
    width: 16px;
    height: 16px;
    transition: transform var(--duration) var(--ease);
}

.btn-order:hover svg {
    transform: translateX(3px);
}

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

[dir="rtl"] .btn-order:hover svg {
    transform: scaleX(-1) translateX(3px);
}

/* =====================================================
   ABOUT
   ===================================================== */

.about-section {
    padding: var(--sp-24) 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-16);
    align-items: center;
}

.about-content .section-badge {
    margin-bottom: var(--sp-4);
}

.about-content .section-title {
    text-align: left;
    margin-bottom: var(--sp-6);
}

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

.about-text {
    color: var(--clr-text-muted);
    margin-bottom: var(--sp-4);
    line-height: 1.8;
}

.about-highlights {
    margin-top: var(--sp-8);
    display: flex;
    flex-direction: column;
    gap: var(--sp-4);
}

.highlight {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    font-weight: 500;
}

.highlight-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(196, 114, 127, 0.1);
    color: var(--clr-accent);
    border-radius: 50%;
    font-size: var(--fs-sm);
    font-weight: 700;
    flex-shrink: 0;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-image-card {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/5;
    border-radius: var(--radius-xl);
    background: linear-gradient(160deg, #f5f0ec, #ebe5df);
    border: 1px solid var(--clr-border);
    position: relative;
    overflow: hidden;
}

.about-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(196, 114, 127, 0.08) 1px, transparent 1px),
        radial-gradient(rgba(196, 114, 127, 0.05) 1px, transparent 1px);
    background-size: 20px 20px, 30px 30px;
    background-position: 0 0, 15px 15px;
}

.about-stat-float {
    position: absolute;
    bottom: var(--sp-6);
    left: var(--sp-6);
    right: var(--sp-6);
    padding: var(--sp-4) var(--sp-5);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-md);
    border: 1px solid var(--clr-border);
    text-align: center;
}

.about-stat-num {
    display: block;
    font-size: var(--fs-2xl);
    font-weight: 800;
    color: var(--clr-accent-dark);
}

.about-stat-label {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
}

/* =====================================================
   CONTACT
   ===================================================== */

.contact-section {
    padding: var(--sp-24) 0;
    background: var(--clr-surface-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-6);
}

.contact-card {
    text-align: center;
    padding: var(--sp-10) var(--sp-6);
    border-radius: var(--radius-lg);
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    transition: all var(--duration) var(--ease);
}

.contact-card:hover {
    transform: translateY(-3px);
    border-color: var(--clr-accent-light);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: var(--sp-4);
}

.contact-card h3 {
    font-weight: 700;
    margin-bottom: var(--sp-2);
}

.contact-card p {
    color: var(--clr-text-muted);
    font-size: var(--fs-sm);
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    padding: var(--sp-16) 0 var(--sp-8);
    border-top: 1px solid var(--clr-border);
}

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

.footer-brand .logo-icon,
.footer-brand .logo-text {
    display: inline;
}

.footer-desc {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    margin-top: var(--sp-4);
    line-height: 1.6;
}

.footer-links h4 {
    font-weight: 700;
    margin-bottom: var(--sp-4);
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links li {
    margin-bottom: var(--sp-2);
}

.footer-links a {
    font-size: var(--fs-sm);
    color: var(--clr-text-dim);
    transition: color var(--duration) var(--ease);
}

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

.footer-social h4 {
    font-weight: 700;
    margin-bottom: var(--sp-4);
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.social-links {
    display: flex;
    gap: var(--sp-3);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--clr-surface-alt);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-muted);
    transition: all var(--duration) var(--ease);
}

.social-link:hover {
    background: var(--clr-accent);
    color: #fff;
    border-color: var(--clr-accent);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: var(--sp-8);
    border-top: 1px solid var(--clr-border);
    text-align: center;
    font-size: var(--fs-sm);
    color: var(--clr-text-dim);
}

/* =====================================================
   MODAL
   ===================================================== */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-4);
    opacity: 0;
    visibility: hidden;
    transition: all var(--duration) var(--ease);
}

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

.modal {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--sp-8);
    position: relative;
    transform: translateY(20px) scale(0.96);
    transition: transform var(--duration) var(--ease);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: var(--sp-4);
    right: var(--sp-4);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--clr-surface-alt);
    font-size: var(--fs-xl);
    color: var(--clr-text-muted);
    transition: all var(--duration) var(--ease);
}

[dir="rtl"] .modal-close {
    right: auto;
    left: var(--sp-4);
}

.modal-close:hover {
    background: var(--clr-accent);
    color: #fff;
}

.modal-header {
    text-align: center;
    margin-bottom: var(--sp-6);
    padding-bottom: var(--sp-6);
    border-bottom: 1px solid var(--clr-border);
}

.modal-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    margin-bottom: var(--sp-2);
}

.modal-product-name {
    color: var(--clr-accent-dark);
    font-weight: 600;
    font-size: var(--fs-md);
}

.modal-product-price {
    font-size: var(--fs-2xl);
    font-weight: 800;
    color: var(--clr-accent-dark);
    margin-top: var(--sp-2);
}

/* =====================================================
   ORDER FORM
   ===================================================== */

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--sp-1);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--clr-text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--sp-3) var(--sp-4);
    background: var(--clr-surface-alt);
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-sm);
    color: var(--clr-text);
    font-size: var(--fs-sm);
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--clr-accent);
    box-shadow: 0 0 0 3px rgba(196, 114, 127, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--clr-text-dim);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239999b0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

[dir="rtl"] .form-group select {
    background-position: left 12px center;
    padding-right: var(--sp-4);
    padding-left: 36px;
}

.form-group select option {
    background: var(--clr-surface);
    color: var(--clr-text);
}

.form-hint {
    font-size: var(--fs-xs);
    color: var(--clr-text-dim);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--clr-border);
    border-radius: var(--radius-sm);
    background: var(--clr-bg-alt);
    overflow: hidden;
}

.qty-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-lg);
    color: var(--clr-text-muted);
    transition: all var(--duration) var(--ease);
}

.qty-btn:hover {
    background: var(--clr-accent);
    color: var(--clr-bg);
}

.quantity-control input {
    width: 60px;
    text-align: center;
    padding: var(--sp-2);
    border: none;
    border-left: 1px solid var(--clr-border);
    border-right: 1px solid var(--clr-border);
    background: transparent;
    -moz-appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button,
.quantity-control input::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

/* Total */
.form-total {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    padding: var(--sp-4) var(--sp-5);
    margin: var(--sp-6) 0;
    background: rgba(196, 114, 127, 0.06);
    border: 1px solid rgba(196, 114, 127, 0.12);
    border-radius: var(--radius-md);
    font-weight: 600;
}

.form-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
}

.form-shipping-row {
    padding-bottom: var(--sp-3);
    border-bottom: 1px dashed rgba(196, 114, 127, 0.2);
}

.form-grand-total {
    padding-top: var(--sp-2);
    font-size: var(--fs-base);
    color: var(--clr-text);
}

.form-total-price {
    font-size: var(--fs-xl);
    font-weight: 800;
    color: var(--clr-accent-dark);
}

/* =====================================================
   SUCCESS MODAL
   ===================================================== */

.modal-success {
    text-align: center;
    max-width: 420px;
    padding: var(--sp-12) var(--sp-8);
}

.success-animation {
    margin-bottom: var(--sp-6);
}

.checkmark {
    width: 80px;
    height: 80px;
}

.checkmark-circle {
    stroke: var(--clr-accent);
    stroke-width: 2;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke-anim 0.6s var(--ease) forwards;
}

.checkmark-check {
    stroke: var(--clr-accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke-anim 0.3s var(--ease) 0.5s forwards;
}

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

.modal-success h2 {
    font-size: var(--fs-xl);
    font-weight: 800;
    margin-bottom: var(--sp-4);
}

.modal-success p {
    color: var(--clr-text-muted);
    margin-bottom: var(--sp-8);
    line-height: 1.6;
}

/* =====================================================
   COOKIE BANNER
   ===================================================== */

.cookie-banner {
    position: fixed;
    bottom: var(--sp-6);
    left: 50%;
    transform: translateX(-50%) translateY(200%);
    z-index: 3000;
    width: calc(100% - var(--sp-8));
    max-width: 600px;
    transition: transform 0.5s var(--ease);
}

.cookie-banner.active {
    transform: translateX(-50%) translateY(0);
}

.cookie-content {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--sp-5) var(--sp-6);
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
}

.cookie-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.cookie-content p {
    font-size: var(--fs-sm);
    color: var(--clr-text-muted);
    line-height: 1.4;
    flex: 1;
}

.cookie-actions {
    display: flex;
    gap: var(--sp-2);
    flex-shrink: 0;
}

/* =====================================================
   ANIMATIONS (scroll-reveal)
   ===================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-10);
    }

    .about-content .section-title {
        text-align: center;
    }

    [dir="rtl"] .about-content .section-title {
        text-align: center;
    }

    .about-content {
        text-align: center;
    }

    .about-highlights {
        align-items: center;
    }

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

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: rgba(250, 247, 245, 0.98);
        backdrop-filter: blur(20px);
        padding: var(--sp-6);
        border-bottom: 1px solid var(--clr-border);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--duration) var(--ease);
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--sp-4);
        text-align: center;
    }

    .nav-link {
        font-size: var(--fs-md);
        padding: var(--sp-3) 0;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--sp-6);
    }

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

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

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

    .social-links {
        justify-content: center;
    }

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

    .modal {
        padding: var(--sp-5);
    }

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

@media (max-width: 480px) {
    .hero-cta-group {
        flex-direction: column;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .stat-number {
        font-size: var(--fs-2xl);
    }
}

/* =====================================================
   RTL ADJUSTMENTS 
   ===================================================== */

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

[dir="rtl"] .hero-content,
[dir="rtl"] .section-header,
[dir="rtl"] .feature-card,
[dir="rtl"] .contact-card,
[dir="rtl"] .modal-header,
[dir="rtl"] .modal-success,
[dir="rtl"] .cookie-content {
    text-align: center;
}

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

[dir="rtl"] .highlight {
    flex-direction: row-reverse;
}

@media (max-width: 1024px) {
    [dir="rtl"] .about-content {
        text-align: center;
    }

    [dir="rtl"] .highlight {
        flex-direction: row;
    }
}

/* =====================================================
   IMAGE LIGHTBOX
   ===================================================== */

.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--sp-6);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    cursor: pointer;
}

.lightbox-overlay.active {
    opacity: 1;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: var(--sp-6);
    right: var(--sp-6);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    transition: all var(--duration) var(--ease);
    z-index: 5010;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--duration) var(--ease);
    z-index: 5010;
}

.lightbox-prev {
    left: var(--sp-6);
}

.lightbox-next {
    right: var(--sp-6);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

.lightbox-dots {
    position: absolute;
    bottom: var(--sp-6);
    display: flex;
    gap: var(--sp-2);
    z-index: 5010;
}

.lightbox-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: background 0.3s;
}

.lightbox-dots .dot.active {
    background: #fff;
}

/* =====================================================
   IMAGE SLIDER (Product Card Hover)
   ===================================================== */
.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-slider .img-main {
    transition: opacity 0.4s var(--ease);
}

.image-slider .img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    object-fit: cover;
}

.product-card:hover .image-slider .img-hover {
    opacity: 1;
}

.product-card:hover .image-slider .img-main {
    opacity: 0;
}

/* Hide reCAPTCHA badge */
.grecaptcha-badge {
    visibility: hidden;
}