/* ===================================
   ALIDOR CSS Variables
   لوحة ألوان دافئة ومريحة للنوم
   ================================== */

:root {
    /* ===== Primary Warm Colors - ألوان دافئة ===== */
    --color-cream: #FDF8F3;
    --color-beige: #F5EDE4;
    --color-sand: #E8DDD1;
    --color-warm-gray: #D4C8BC;
    --color-taupe: #B8A99A;

    /* ===== Accent Colors - ألوان التمييز ===== */
    --color-teal: #5BB5B0;
    --color-teal-dark: #4A9A95;
    --color-teal-light: #7FCCC8;
    --color-sky: #87CEEB;
    --color-turquoise: #40E0D0;

    /* ===== Neutral Colors ===== */
    --color-white: #FFFFFF;
    --color-text-dark: #3D3630;
    --color-text-medium: #6B5E52;
    --color-text-light: #8A7D71;

    /* ===== Functional Colors ===== */
    --color-whatsapp: #25D366;
    --color-success: #4CAF50;
    --color-warning: #FFC107;
    --color-error: #E57373;

    /* ===== Background Colors ===== */
    --color-bg-primary: var(--color-cream);
    --color-bg-secondary: var(--color-beige);
    --color-bg-tertiary: var(--color-sand);
    --color-primary: var(--color-teal);
    --color-secondary: var(--color-teal-dark);
    --color-hover: var(--color-teal-light);
    --color-text: var(--color-text-dark);

    /* ===== Fonts ===== */
    --font-arabic: 'Tajawal', sans-serif;
    --font-french: 'Poppins', sans-serif;

    /* ===== Spacing ===== */
    --container-max-width: 1200px;
    --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: 50%;

    /* ===== Shadows - ظلال ناعمة ===== */
    --shadow-sm: 0 2px 4px rgba(61, 54, 48, 0.05);
    --shadow-md: 0 4px 12px rgba(61, 54, 48, 0.08);
    --shadow-lg: 0 8px 24px rgba(61, 54, 48, 0.1);
    --shadow-xl: 0 16px 48px rgba(61, 54, 48, 0.12);
    --shadow-glow: 0 0 30px rgba(91, 181, 176, 0.3);

    /* ===== Transitions ===== */
    --transition-fast: 0.15s ease-in-out;
    --transition-normal: 0.3s ease-in-out;
    --transition-slow: 0.5s ease-in-out;
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===== Dark Mode Variables ===== */
[data-theme="dark"] {
    --color-bg-primary: #2C2825;
    --color-bg-secondary: #3D3630;
    --color-bg-tertiary: #4A433C;
    --color-text: #F5EDE4;
    --color-text-dark: #F5EDE4;
    --color-text-medium: #D4C8BC;
    --color-text-light: #B8A99A;
    --color-white: #3D3630;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.35);
}

/* ===================================
   BASE STYLES & RESET
   ================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-arabic);
    background-color: var(--color-bg-primary);
    color: var(--color-text);
    line-height: 1.6;
    transition: all var(--transition-normal);
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

/* ===== Geometric Background Pattern ===== */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background-image:
        /* دائرة كبيرة */
        radial-gradient(circle at 10% 20%, rgba(91, 181, 176, 0.08) 0%, transparent 40%),
        /* قوس علوي */
        radial-gradient(ellipse at 90% 10%, rgba(245, 237, 228, 0.9) 0%, transparent 50%),
        /* دائرة صغيرة */
        radial-gradient(circle at 80% 80%, rgba(91, 181, 176, 0.06) 0%, transparent 30%),
        /* قوس سفلي */
        radial-gradient(ellipse at 20% 90%, rgba(232, 221, 209, 0.8) 0%, transparent 40%);
}

/* Language Direction */
.ltr {
    direction: ltr;
    text-align: left;
    font-family: var(--font-french);
}

.ltr * {
    font-family: var(--font-french);
}

/* ===================================
   TYPOGRAPHY
   ================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--color-text-dark);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

h5 {
    font-size: 1.125rem;
}

h6 {
    font-size: 1rem;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    h3 {
        font-size: 1.875rem;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 3rem;
    }
}

p {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    color: var(--color-text-medium);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-hover);
}

/* ===================================
   LAYOUT & CONTAINER
   ================================== */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 768px) {
    .container {
        padding: 0 var(--spacing-xl);
    }
}

/* ===================================
   SECTION HEADER
   ================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
    position: relative;
}

.section-header h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-light) 100%);
    display: block;
    margin: var(--spacing-lg) auto 0;
    border-radius: var(--radius-full);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--color-text-medium);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   UTILITIES
   ================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.transition-smooth {
    transition: all var(--transition-normal);
}

/* ===================================
   BUTTONS
   ================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-2xl);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
    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:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn .icon {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* ===== Primary Button - الزر الرئيسي ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-lg), 0 4px 15px rgba(91, 181, 176, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-teal-light) 0%, var(--color-teal) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 8px 25px rgba(91, 181, 176, 0.4);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* ===== Secondary Button ===== */
.btn-secondary {
    border: 2px solid var(--color-teal);
    color: var(--color-teal);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--color-teal);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== WhatsApp Button ===== */
.btn-whatsapp {
    background: linear-gradient(135deg, var(--color-whatsapp) 0%, #20BA5C 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-lg), 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #2EE370 0%, var(--color-whatsapp) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl), 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* ===== Product Button ===== */
.btn-product {
    width: 100%;
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-md) var(--spacing-lg);
}

.btn-product:hover {
    background: linear-gradient(135deg, var(--color-teal-light) 0%, var(--color-teal) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
   HEADER & NAVIGATION - Fixed
   ================================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-sand);
    transition: all var(--transition-normal);
}

[data-theme="dark"] #header {
    background: rgba(44, 40, 37, 0.95);
    border-bottom-color: var(--color-bg-tertiary);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
}

@media (min-width: 768px) {
    .nav-content {
        padding: var(--spacing-md) 0;
    }
}

/* ===== Logo - Image Based ===== */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

@media (min-width: 768px) {
    .logo-img {
        height: 55px;
    }
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

/* Dark mode logo filter */
[data-theme="dark"] .logo-img {
    filter: brightness(1.1) contrast(1.05);
}

/* Legacy text logo styles (for fallback) */
.logo-icon {
    width: 2.75rem;
    height: 2.75rem;
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-weight: 700;
    font-size: 1.25rem;
    font-family: 'Poppins', sans-serif;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.logo:hover .logo-icon {
    transform: rotate(-5deg) scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-teal);
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
}

/* ===== Navigation Links ===== */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-links a {
    color: var(--color-text-dark);
    font-weight: 500;
    transition: all var(--transition-fast);
    position: relative;
    padding: var(--spacing-sm) 0;
}

[data-theme="dark"] .nav-links a {
    color: var(--color-cream);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-teal-light));
    transform: scaleX(0);
    transition: transform var(--transition-fast);
    border-radius: var(--radius-full);
}

.nav-links a:hover {
    color: var(--color-teal);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

/* ===== Controls ===== */
.nav-controls {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

@media (min-width: 768px) {
    .nav-controls {
        gap: var(--spacing-md);
    }
}

.control-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    border: 1px solid var(--color-sand);
    border-radius: var(--radius-xl);
    background: var(--color-beige);
    color: var(--color-text-dark);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .control-btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 1rem;
    }
}

[data-theme="dark"] .control-btn {
    background: var(--color-bg-tertiary);
    border-color: var(--color-bg-tertiary);
    color: var(--color-cream);
}

.control-btn:hover {
    border-color: var(--color-teal);
    color: var(--color-teal);
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .control-btn:hover {
    background: var(--color-bg-secondary);
    border-color: var(--color-teal);
    color: var(--color-teal-light);
}

.control-btn .icon {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* Theme toggle specific styles */
#theme-toggle .theme-icon-dark,
#mobile-theme-toggle .theme-icon-dark {
    display: none;
}

[data-theme="dark"] #theme-toggle .theme-icon-light,
[data-theme="dark"] #mobile-theme-toggle .theme-icon-light {
    display: none;
}

[data-theme="dark"] #theme-toggle .theme-icon-dark,
[data-theme="dark"] #mobile-theme-toggle .theme-icon-dark {
    display: block;
}

/* ===== Mobile Navigation ===== */
.mobile-nav {
    display: none;
}

#mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--spacing-sm);
    border: none;
    background: transparent;
    cursor: pointer;
}

#mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-dark);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

[data-theme="dark"] #mobile-menu-toggle span {
    background: var(--color-cream);
}

.mobile-nav-menu {
    display: none;
    padding: var(--spacing-lg) 0;
    border-top: 1px solid var(--color-sand);
    background: var(--color-beige);
}

[data-theme="dark"] .mobile-nav-menu {
    background: var(--color-bg-secondary);
    border-top-color: var(--color-bg-tertiary);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.mobile-nav-links a {
    color: var(--color-text-dark);
    font-weight: 500;
    padding: var(--spacing-sm) 0;
    transition: color var(--transition-fast);
}

[data-theme="dark"] .mobile-nav-links a {
    color: var(--color-cream);
}

.mobile-nav-links a:hover {
    color: var(--color-teal);
}

.mobile-nav-controls {
    display: flex;
    gap: var(--spacing-md);
}

@media (max-width: 768px) {

    .desktop-nav,
    .nav-controls {
        display: none;
    }

    #mobile-menu-toggle {
        display: flex;
    }

    .mobile-nav-menu.active {
        display: block;
    }
}

/* ===================================
   HERO SECTION - Enhanced with Image
   ================================== */

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
    padding-bottom: var(--spacing-xl);
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-beige) 50%, var(--color-sand) 100%);
}

@media (min-width: 768px) {
    .hero {
        padding-top: 80px;
        padding-bottom: var(--spacing-2xl);
    }
}

/* ===== Decorative Curved Shape at Top ===== */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(91, 181, 176, 0.12) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

@media (min-width: 768px) {
    .hero::before {
        width: 1000px;
        height: 1000px;
        top: -40%;
        right: -15%;
    }
}

@media (min-width: 1200px) {
    .hero::before {
        width: 1200px;
        height: 1200px;
        top: -50%;
        right: -10%;
    }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91, 181, 176, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

@media (min-width: 768px) {
    .hero::after {
        width: 700px;
        height: 700px;
        bottom: -25%;
        left: -10%;
    }
}

/* ===== Top Curved Decorative Arc ===== */
.hero-curve-top {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 200px;
    background: linear-gradient(135deg, rgba(91, 181, 176, 0.1) 0%, transparent 70%);
    border-radius: 0 0 0 100%;
    pointer-events: none;
}

@media (min-width: 768px) {
    .hero-curve-top {
        width: 50%;
        height: 300px;
    }
}

@media (min-width: 1200px) {
    .hero-curve-top {
        width: 40%;
        height: 400px;
    }
}

/* ===== Hero Background Image ===== */
.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(253, 248, 243, 0.92) 0%,
            rgba(245, 237, 228, 0.85) 40%,
            rgba(232, 221, 209, 0.75) 100%);
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.15;
}

/* ===== Hero Layout ===== */
.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

@media (min-width: 992px) {
    .hero-wrapper {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-3xl);
        padding: 0 var(--spacing-xl);
    }
}

/* ===== Hero Content ===== */
.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    order: 2;
}

@media (min-width: 992px) {
    .hero-content {
        text-align: right;
        order: 1;
    }
}

.hero-title {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-teal-dark) 0%, var(--color-teal) 50%, var(--color-teal-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
    animation: fadeInUp 0.8s ease-out;
}

@media (min-width: 480px) {
    .hero-title {
        font-size: 2.25rem;
        margin-bottom: var(--spacing-lg);
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.25rem;
    }
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--color-text-medium);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

@media (min-width: 480px) {
    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.8;
    }
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: var(--spacing-2xl);
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    justify-content: center;
    align-items: center;
    margin-bottom: var(--spacing-2xl);
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

@media (min-width: 480px) {
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--spacing-md);
    }
}

@media (min-width: 992px) {
    .hero-buttons {
        justify-content: flex-start;
    }
}

.hero-buttons .btn {
    width: 100%;
    max-width: 260px;
}

@media (min-width: 480px) {
    .hero-buttons .btn {
        width: auto;
        max-width: none;
    }
}

/* ===== Hero Image Section ===== */
.hero-image {
    position: relative;
    order: 1;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

@media (min-width: 992px) {
    .hero-image {
        order: 2;
    }
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 110%;
    height: 90%;
    background: linear-gradient(135deg, rgba(91, 181, 176, 0.15) 0%, rgba(91, 181, 176, 0.05) 100%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    z-index: -1;
    animation: blob 8s ease-in-out infinite;
}

@keyframes blob {

    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover img {
    transform: scale(1.02) translateY(-5px);
}

/* ===== Hero Features ===== */
.hero-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

@media (min-width: 480px) {
    .hero-features {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
    }
}

@media (min-width: 768px) {
    .hero-features {
        gap: var(--spacing-lg);
    }
}

.feature {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(232, 221, 209, 0.5);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .feature {
        padding: var(--spacing-lg);
        border-radius: var(--radius-2xl);
    }
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-teal-light));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-teal-light);
}

.feature:hover::before {
    transform: scaleX(1);
}

[data-theme="dark"] .feature {
    background: rgba(61, 54, 48, 0.85);
    border-color: var(--color-bg-tertiary);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--color-beige) 0%, var(--color-sand) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-sm);
    transition: all var(--transition-normal);
}

@media (min-width: 768px) {
    .feature-icon {
        width: 3.5rem;
        height: 3.5rem;
        margin-bottom: var(--spacing-md);
    }
}

.feature:hover .feature-icon {
    background: linear-gradient(135deg, var(--color-teal-light) 0%, var(--color-teal) 100%);
    transform: scale(1.1) rotate(-5deg);
}

.feature-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: var(--color-teal);
    fill: none;
    stroke-width: 2;
    transition: stroke var(--transition-normal);
}

@media (min-width: 768px) {
    .feature-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
}

.feature:hover .feature-icon svg {
    stroke: var(--color-white);
}

.feature h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-dark);
}

@media (min-width: 768px) {
    .feature h3 {
        font-size: 1rem;
    }
}

.feature p {
    color: var(--color-text-medium);
    margin: 0;
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .feature p {
        font-size: 0.875rem;
    }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   PRODUCTS SECTION - Enhanced
   ================================== */

.products {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, var(--color-beige) 0%, var(--color-cream) 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative shapes */
.products::before {
    content: '';
    position: absolute;
    top: 10%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(91, 181, 176, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.products::after {
    content: '';
    position: absolute;
    bottom: 5%;
    right: -3%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(232, 221, 209, 0.5) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

[data-theme="dark"] .products {
    background: linear-gradient(180deg, var(--color-bg-secondary) 0%, var(--color-bg-primary) 100%);
}

/* ===== Products Grid - Responsive ===== */
.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
    position: relative;
    z-index: 1;
}

/* Tablet: 2 columns */
@media (min-width: 600px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

/* Desktop: 3-4 columns */
@media (min-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-xl);
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--spacing-xl);
    }
}

/* ===== Product Card - Enhanced ===== */
.product-card {
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    border: 1px solid rgba(232, 221, 209, 0.5);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(91, 181, 176, 0.2), var(--shadow-xl);
}

[data-theme="dark"] .product-card {
    background: var(--color-bg-tertiary);
    border-color: var(--color-bg-tertiary);
}

/* ===== Product Images - Enhanced ===== */
.product-images {
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* 4:3 Aspect ratio */
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-beige) 0%, var(--color-sand) 100%);
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.product-card:hover .product-image {
    transform: scale(1.12);
}

/* Image loading placeholder */
.product-images::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid var(--color-sand);
    border-top-color: var(--color-teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 0;
    opacity: 0;
}

.product-image:not([src]),
.product-image[src=""] {
    opacity: 0;
}

.product-images:has(.product-image:not([src]))::before,
.product-images:has(.product-image[src=""])::before {
    opacity: 1;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ===== Product Badge - Enhanced ===== */
.product-badge {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-xl);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-white);
    box-shadow: var(--shadow-md);
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.bestseller {
    background: linear-gradient(135deg, #E57373 0%, #EF5350 100%);
    animation: badge-pulse 2s ease-in-out infinite;
}

.product-badge.new {
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
}

.product-badge.sale {
    background: linear-gradient(135deg, #F5A623 0%, #F5871F 100%);
}

@keyframes badge-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ===== Product Overlay - Hidden ===== */
.product-overlay {
    display: none;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.overlay-buttons {
    display: none;
}

.product-card:hover .overlay-buttons {
    transform: translateY(0);
}

.overlay-btn {
    width: 3rem;
    height: 3rem;
    background: var(--color-white);
    border: none;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.overlay-btn:hover {
    background: var(--color-teal);
    transform: scale(1.15) rotate(-8deg);
}

.overlay-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: var(--color-text-dark);
    fill: none;
    stroke-width: 2;
    transition: stroke 0.3s ease;
}

.overlay-btn:hover svg {
    stroke: var(--color-white);
}

/* Heart animation for favorites */
.overlay-btn.favorite:hover svg {
    fill: var(--color-white);
    animation: heart-beat 0.6s ease;
}

@keyframes heart-beat {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.3);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.2);
    }
}

/* ===== Product Info - Enhanced ===== */
.product-info {
    padding: var(--spacing-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .product-info {
        padding: var(--spacing-xl);
    }
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-sm);
    gap: var(--spacing-sm);
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin: 0;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .product-name {
        font-size: 1.25rem;
    }
}

.product-rating {
    flex-shrink: 0;
}

.product-rating .stars {
    color: #F5A623;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.product-description {
    color: var(--color-text-medium);
    font-size: 0.85rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .product-description {
        font-size: 0.9rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
}

/* ===== Product Features - Enhanced ===== */
.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.feature-tag {
    background: linear-gradient(135deg, var(--color-beige) 0%, var(--color-sand) 100%);
    color: var(--color-teal-dark);
    padding: 4px 10px;
    border-radius: var(--radius-lg);
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid var(--color-sand);
    transition: all 0.3s ease;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .feature-tag {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
}

.feature-tag:hover {
    background: var(--color-teal);
    color: var(--color-white);
    border-color: var(--color-teal);
    transform: translateY(-2px);
}

[data-theme="dark"] .feature-tag {
    background: rgba(91, 181, 176, 0.15);
    color: var(--color-teal-light);
    border-color: rgba(91, 181, 176, 0.3);
}

/* ===== Product Price - Enhanced ===== */
.product-price {
    margin-top: auto;
    margin-bottom: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px dashed var(--color-sand);
}

.price-label {
    color: var(--color-text-light);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 2px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-sm);
}

.price .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-teal);
    line-height: 1;
}

@media (min-width: 768px) {
    .price .amount {
        font-size: 1.75rem;
    }
}

.price .currency {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

/* Old price for discounts */
.price .old-price {
    font-size: 0.9rem;
    color: var(--color-text-light);
    text-decoration: line-through;
    margin-right: var(--spacing-sm);
}

/* ===== Product Button - Enhanced ===== */
.btn-product {
    width: 100%;
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(91, 181, 176, 0.3);
    padding: var(--spacing-md);
    font-size: 0.9rem;
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.btn-product::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-product:hover::after {
    width: 300px;
    height: 300px;
}

.btn-product:hover {
    background: linear-gradient(135deg, var(--color-teal-light) 0%, var(--color-teal) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(91, 181, 176, 0.4);
}

/* ===== Custom Order CTA - Enhanced ===== */
.custom-order {
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-2xl);
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

@media (min-width: 768px) {
    .custom-order {
        padding: var(--spacing-3xl);
    }
}

.custom-order::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float-slow 10s ease-in-out infinite;
}

.custom-order::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    animation: float-slow 8s ease-in-out infinite reverse;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(20px, -20px);
    }
}

.custom-order-content {
    position: relative;
    z-index: 1;
}

.custom-order-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

@media (min-width: 768px) {
    .custom-order-content h3 {
        font-size: 1.75rem;
    }
}

.custom-order-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
    font-size: 1rem;
}

@media (min-width: 768px) {
    .custom-order-content p {
        font-size: 1.1rem;
    }
}

.custom-order .btn-secondary {
    background: var(--color-white);
    color: var(--color-teal);
    border-color: var(--color-white);
    padding: var(--spacing-md) var(--spacing-2xl);
}

.custom-order .btn-secondary:hover {
    background: var(--color-cream);
    border-color: var(--color-cream);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== Mobile-Specific Optimizations ===== */
@media (max-width: 599px) {
    .products {
        padding: var(--spacing-2xl) 0;
    }

    .products-grid {
        gap: var(--spacing-md);
    }

    .product-images {
        padding-top: 65%;
        /* Slightly shorter on mobile */
    }

    .product-overlay {
        /* Always visible on mobile */
        opacity: 1;
        background: linear-gradient(180deg,
                transparent 0%,
                transparent 60%,
                rgba(61, 54, 48, 0.5) 100%);
    }

    .overlay-buttons {
        transform: translateY(0);
    }

    .overlay-btn {
        width: 2.5rem;
        height: 2.5rem;
    }

    .overlay-btn svg {
        width: 1rem;
        height: 1rem;
    }
}

/* ===== Loading State ===== */
.product-card.loading {
    pointer-events: none;
}

.product-card.loading .product-images {
    background: linear-gradient(90deg,
            var(--color-beige) 0%,
            var(--color-sand) 50%,
            var(--color-beige) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ===================================
   ABOUT SECTION
   ================================== */

.about {
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-beige) 100%);
}

/* Decorative geometric shapes */
.about::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -8%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(91, 181, 176, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.about-background {
    position: absolute;
    inset: 0;
    background-image: url('../images/about_background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.04;
    z-index: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* ===== About Features ===== */
.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.about-feature {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(232, 221, 209, 0.5);
    transition: all var(--transition-normal);
}

.about-feature:hover {
    transform: translateY(-6px) translateX(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-teal-light);
}

[data-theme="dark"] .about-feature {
    background: var(--color-bg-tertiary);
    border-color: var(--color-bg-tertiary);
}

.about-feature .feature-icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    transition: all var(--transition-normal);
}

.about-feature:hover .feature-icon {
    transform: scale(1.1) rotate(-5deg);
}

.about-feature .feature-icon.blue {
    background: linear-gradient(135deg, rgba(91, 181, 176, 0.15) 0%, rgba(91, 181, 176, 0.25) 100%);
}

.about-feature .feature-icon.green {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(76, 175, 80, 0.25) 100%);
}

.about-feature .feature-icon.purple {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.15) 0%, rgba(156, 39, 176, 0.25) 100%);
}

.about-feature .feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: none;
    stroke-width: 2;
}

.about-feature .feature-icon.blue svg {
    stroke: var(--color-teal);
}

.about-feature .feature-icon.green svg {
    stroke: #4CAF50;
}

.about-feature .feature-icon.purple svg {
    stroke: #9C27B0;
}

.about-feature h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.about-feature p {
    color: var(--color-text-medium);
    margin: 0;
}

/* ===== About Story ===== */
.about-story {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.story-content {
    background: linear-gradient(135deg, var(--color-beige) 0%, rgba(91, 181, 176, 0.1) 100%);
    padding: var(--spacing-xl);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(232, 221, 209, 0.5);
}

.story-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-lg);
}

.story-content p {
    color: var(--color-text-medium);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

[data-theme="dark"] .story-content {
    background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, rgba(91, 181, 176, 0.1) 100%);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .mission-vision {
        grid-template-columns: 1fr 1fr;
    }
}

.mission,
.vision {
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
    color: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-normal);
}

.vision {
    background: linear-gradient(135deg, var(--color-teal-dark) 0%, #3D8B87 100%);
}

.mission:hover,
.vision:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.mission h4,
.vision h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.mission p,
.vision p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
}

/* ===== Statistics ===== */
.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    text-align: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-lg);
    background: var(--color-white);
    border-radius: var(--radius-2xl);
    border: 1px solid rgba(232, 221, 209, 0.5);
    transition: all var(--transition-normal);
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-teal-light);
}

.stat-icon {
    width: 4.5rem;
    height: 4.5rem;
    background: linear-gradient(135deg, var(--color-beige) 0%, var(--color-sand) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    transition: all var(--transition-normal);
}

.stat:hover .stat-icon {
    background: linear-gradient(135deg, var(--color-teal-light) 0%, var(--color-teal) 100%);
    transform: scale(1.1);
}

.stat-icon svg {
    width: 2rem;
    height: 2rem;
    stroke: var(--color-teal);
    fill: none;
    stroke-width: 2;
    transition: stroke var(--transition-normal);
}

.stat:hover .stat-icon svg {
    stroke: var(--color-white);
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--color-teal);
    margin-bottom: var(--spacing-sm);
}

.stat-label {
    color: var(--color-text-medium);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ===================================
   CONTACT SECTION
   ================================== */

.contact {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-beige) 50%, rgba(91, 181, 176, 0.08) 100%);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(91, 181, 176, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

[data-theme="dark"] .contact {
    background: linear-gradient(135deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== Contact Information ===== */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.contact-card {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(232, 221, 209, 0.5);
}

[data-theme="dark"] .contact-card {
    background: var(--color-bg-tertiary);
    border-color: var(--color-bg-tertiary);
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-dark);
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-md);
    border-radius: var(--radius-xl);
    transition: all var(--transition-fast);
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
}

.contact-item:hover {
    background: var(--color-beige);
    transform: translateX(-6px);
    border-color: var(--color-sand);
}

[data-theme="dark"] .contact-item:hover {
    background: var(--color-bg-secondary);
}

.contact-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.contact-item:hover .contact-icon {
    transform: scale(1.1) rotate(-5deg);
}

.contact-item.phone .contact-icon {
    background: linear-gradient(135deg, rgba(91, 181, 176, 0.15) 0%, rgba(91, 181, 176, 0.25) 100%);
}

.contact-item.whatsapp .contact-icon {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.15) 0%, rgba(37, 211, 102, 0.25) 100%);
}

.contact-item.address .contact-icon {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.15) 0%, rgba(156, 39, 176, 0.25) 100%);
}

.contact-item.hours .contact-icon {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(245, 166, 35, 0.25) 100%);
}

.contact-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: none;
    stroke-width: 2;
}

.contact-item.phone .contact-icon svg {
    stroke: var(--color-teal);
}

.contact-item.whatsapp .contact-icon svg {
    stroke: var(--color-whatsapp);
}

.contact-item.address .contact-icon svg {
    stroke: #9C27B0;
}

.contact-item.hours .contact-icon svg {
    stroke: #F5A623;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-dark);
}

.contact-item p {
    color: var(--color-text-medium);
    margin: 0;
}

/* ===== Map Placeholder ===== */
.map-placeholder {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid rgba(232, 221, 209, 0.5);
}

[data-theme="dark"] .map-placeholder {
    background: var(--color-bg-tertiary);
}

.map-placeholder h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
}

.map-content {
    height: 200px;
    background: linear-gradient(135deg, var(--color-beige) 0%, var(--color-sand) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-icon svg {
    width: 3rem;
    height: 3rem;
    stroke: var(--color-teal);
    fill: none;
    stroke-width: 2;
    margin-bottom: var(--spacing-md);
}

.map-content p {
    color: var(--color-text-medium);
    margin: 0;
}

/* ===== Contact Form ===== */
.contact-form {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(232, 221, 209, 0.5);
}

[data-theme="dark"] .contact-form {
    background: var(--color-bg-tertiary);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xl);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 2px solid var(--color-sand);
    border-radius: var(--radius-xl);
    font-family: inherit;
    font-size: 1rem;
    background: var(--color-cream);
    color: var(--color-text-dark);
    transition: all var(--transition-fast);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group select,
[data-theme="dark"] .form-group textarea {
    background: var(--color-bg-secondary);
    border-color: var(--color-bg-secondary);
    color: var(--color-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 4px rgba(91, 181, 176, 0.15);
    background: var(--color-white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Quick Actions ===== */
.quick-actions {
    background: linear-gradient(135deg, var(--color-whatsapp) 0%, #20BA5C 100%);
    border-radius: var(--radius-2xl);
    padding: var(--spacing-3xl);
    text-align: center;
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.quick-actions::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.quick-action-content {
    position: relative;
    z-index: 1;
}

.quick-action-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--color-white);
}

.quick-action-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-xl);
}

.quick-actions .btn-whatsapp {
    background: var(--color-white);
    color: var(--color-whatsapp);
}

.quick-actions .btn-whatsapp:hover {
    background: var(--color-cream);
    transform: translateY(-3px);
}

/* ===================================
   FOOTER
   ================================== */

/* Footer wrapper to extend background */
.footer-wrapper {
    background: #3D3630;
    margin-top: var(--spacing-xl);
}

.footer {
    background: linear-gradient(180deg, #3D3630 0%, #2C2825 100%);
    color: var(--color-cream);
    padding: var(--spacing-3xl) 0 0;
    position: relative;
    border-radius: 40px 40px 0 0;
}

@media (min-width: 768px) {
    .footer {
        border-radius: 60px 60px 0 0;
    }
}

@media (min-width: 1200px) {
    .footer {
        border-radius: 80px 80px 0 0;
    }
}

/* Curved top border - sits inside the footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-teal-light), var(--color-teal));
    border-radius: 40px 40px 0 0;
    z-index: 1;
}

@media (min-width: 768px) {
    .footer::before {
        border-radius: 60px 60px 0 0;
    }
}

@media (min-width: 1200px) {
    .footer::before {
        border-radius: 80px 80px 0 0;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-3xl);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--color-cream);
}

/* ===== Footer Logo - Image Based ===== */
.footer-logo {
    display: inline-block;
    margin-bottom: var(--spacing-lg);
    transition: transform var(--transition-normal);
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(1.1);
}

@media (min-width: 768px) {
    .footer-logo-img {
        height: 70px;
    }
}

.footer-description {
    color: var(--color-warm-gray);
    margin-bottom: var(--spacing-lg);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-contact .contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    color: var(--color-warm-gray);
    padding: 0;
}

.footer-contact .contact-item:hover {
    background: transparent;
    transform: none;
    color: var(--color-teal-light);
}

.footer-contact .icon {
    width: 1.25rem;
    height: 1.25rem;
    stroke: var(--color-teal);
    fill: none;
    stroke-width: 2;
}

/* ===== Footer Links ===== */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-links a {
    color: var(--color-warm-gray);
    transition: all var(--transition-fast);
    position: relative;
    padding-right: var(--spacing-md);
}

.footer-links a::before {
    content: '←';
    position: absolute;
    right: 0;
    opacity: 0;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-teal-light);
    padding-right: var(--spacing-lg);
}

.footer-links a:hover::before {
    opacity: 1;
}

/* ===== Newsletter ===== */
.newsletter-description {
    color: var(--color-warm-gray);
    margin-bottom: var(--spacing-lg);
}

.newsletter-form {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.newsletter-form input {
    flex: 1;
    padding: var(--spacing-md);
    border: 2px solid #4A433C;
    border-radius: var(--radius-xl);
    background: #4A433C;
    color: var(--color-cream);
    transition: all var(--transition-fast);
}

.newsletter-form input::placeholder {
    color: var(--color-warm-gray);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-teal);
    background: #3D3630;
}

.newsletter-form button {
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.newsletter-form button:hover {
    background: linear-gradient(135deg, var(--color-teal-light) 0%, var(--color-teal) 100%);
    transform: translateY(-2px);
}

/* ===== Social Links ===== */
.social-links p {
    color: var(--color-warm-gray);
    margin-bottom: var(--spacing-lg);
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
}

.social-icon {
    width: 2.75rem;
    height: 2.75rem;
    background: #4A433C;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-warm-gray);
    transition: all var(--transition-fast);
}

.social-icon:hover {
    background: var(--color-teal);
    color: var(--color-white);
    transform: translateY(-4px) rotate(-5deg);
}

.social-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* ===== Footer Bottom ===== */
.footer-bottom {
    border-top: 1px solid #4A433C;
    padding: var(--spacing-xl) 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.copyright {
    color: var(--color-warm-gray);
}

.footer-links-bottom {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links-bottom a {
    color: var(--color-warm-gray);
    transition: color var(--transition-fast);
}

.footer-links-bottom a:hover {
    color: var(--color-teal-light);
}

.made-in {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--color-warm-gray);
}

.heart {
    width: 1rem;
    height: 1rem;
    fill: #E57373;
    stroke: none;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* ===================================
   MODAL - Enhanced & Fixed
   ================================== */

.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(61, 54, 48, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--color-cream);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    transform: scale(0.9) translateY(30px);
    transition: transform var(--transition-normal);
    border: 1px solid var(--color-sand);
    /* إخفاء شريط التمرير مع الحفاظ على الوظيفة */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

/* إخفاء شريط التمرير في Chrome/Safari */
.modal-content::-webkit-scrollbar {
    display: none;
    width: 0;
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

[data-theme="dark"] .modal-content {
    background: var(--color-bg-secondary);
    border-color: var(--color-bg-tertiary);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-bottom: 1px solid var(--color-sand);
    background: var(--color-beige);
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    position: sticky;
    top: 0;
    z-index: 10;
}

[data-theme="dark"] .modal-header {
    background: var(--color-bg-tertiary);
    border-bottom-color: var(--color-bg-tertiary);
}

.modal-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-text-dark);
}

@media (min-width: 768px) {
    .modal-header h2 {
        font-size: 1.5rem;
    }
}

.modal-close {
    width: 2.25rem;
    height: 2.25rem;
    background: var(--color-cream);
    border: 1px solid var(--color-sand);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.modal-close:hover {
    background: var(--color-teal);
    border-color: var(--color-teal);
    transform: rotate(90deg);
}

[data-theme="dark"] .modal-close:hover {
    background: var(--color-teal);
}

.modal-close svg {
    width: 1.125rem;
    height: 1.125rem;
    stroke: var(--color-text-medium);
    fill: none;
    stroke-width: 2;
    transition: stroke var(--transition-fast);
}

.modal-close:hover svg {
    stroke: var(--color-white);
}

.modal-body {
    padding: var(--spacing-lg);
}

@media (min-width: 768px) {
    .modal-body {
        padding: var(--spacing-xl);
    }
}

/* ===== Product Summary in Modal ===== */
.product-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--color-sand);
}

@media (min-width: 768px) {
    .product-summary {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-xl);
    }
}

[data-theme="dark"] .product-summary {
    border-bottom-color: var(--color-bg-tertiary);
}

/* ===== Product Gallery ===== */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.main-image {
    width: 100%;
    height: 220px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--color-beige);
}

@media (min-width: 768px) {
    .main-image {
        height: 280px;
    }
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

.main-image:hover img {
    transform: scale(1.05);
}

.thumbnail-images {
    display: flex;
    gap: var(--spacing-sm);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.thumbnail-images::-webkit-scrollbar {
    display: none;
}

.thumbnail {
    flex: 0 0 70px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: none;
    padding: 0;
}

@media (min-width: 768px) {
    .thumbnail {
        flex: 1;
        height: 70px;
        border-width: 3px;
    }
}

.thumbnail:hover {
    border-color: var(--color-teal-light);
    transform: translateY(-2px);
}

.thumbnail.active {
    border-color: var(--color-teal);
    box-shadow: var(--shadow-md);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Product Details in Modal ===== */
.product-details {
    display: flex;
    flex-direction: column;
}

.product-details h3 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-dark);
}

@media (min-width: 768px) {
    .product-details h3 {
        font-size: 1.75rem;
        margin-bottom: var(--spacing-md);
    }
}

.product-details p {
    color: var(--color-text-medium);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .product-details p {
        margin-bottom: var(--spacing-lg);
        line-height: 1.8;
        font-size: 1rem;
    }
}

.product-details .product-price {
    display: flex;
    align-items: baseline;
    gap: var(--spacing-sm);
    margin-top: auto;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-teal);
}

@media (min-width: 768px) {
    .price-amount {
        font-size: 2.5rem;
    }
}

.price-currency {
    color: var(--color-text-medium);
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .price-currency {
        font-size: 1rem;
    }
}

/* ===== Order Form ===== */
.order-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .order-form {
        gap: var(--spacing-lg);
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 480px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--color-sand);
    border-radius: var(--radius-lg);
    font-size: 0.9rem;
    background: var(--color-white);
    color: var(--color-text-dark);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(91, 181, 176, 0.15);
}

.form-group input::placeholder {
    color: var(--color-text-light);
}

.form-error {
    color: var(--color-error);
    font-size: 0.8rem;
    margin-top: var(--spacing-xs);
    display: none;
}

.form-error.active {
    display: block;
}

.form-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

@media (min-width: 480px) {
    .form-buttons {
        flex-direction: row;
        gap: var(--spacing-md);
    }
}

.form-buttons .btn {
    flex: 1;
    justify-content: center;
}

/* ===== Mobile Optimizations ===== */
@media (max-width: 767px) {
    .modal {
        padding: 0;
        align-items: flex-end;
    }

    .modal-content {
        margin: 0;
        max-height: 95vh;
        border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
        border-bottom: none;
    }

    .modal-header {
        border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
    }
}

/* ===================================
   UTILITIES & RESPONSIVE - Enhanced
   ================================== */

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1500;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

.whatsapp-btn {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--color-whatsapp) 0%, #20BA5C 100%);
    border: none;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-xl), 0 4px 20px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-whatsapp 4s infinite;
}

@media (min-width: 768px) {
    .whatsapp-btn {
        width: 4.5rem;
        height: 4.5rem;
    }
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #2EE370 0%, var(--color-whatsapp) 100%);
    transform: scale(1.15) rotate(-5deg);
    box-shadow: var(--shadow-xl), 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
    width: 1.75rem;
    height: 1.75rem;
    fill: none;
    stroke: var(--color-white);
    stroke-width: 2;
}

@media (min-width: 768px) {
    .whatsapp-btn svg {
        width: 2rem;
        height: 2rem;
    }
}

@keyframes pulse-whatsapp {

    0%,
    90%,
    100% {
        transform: scale(1);
        box-shadow: var(--shadow-xl), 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    95% {
        transform: scale(1.08);
        box-shadow: var(--shadow-xl), 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* ===== WhatsApp Tooltip ===== */
.whatsapp-tooltip {
    position: absolute;
    bottom: 5rem;
    right: 0;
    width: 260px;
    background: var(--color-cream);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--spacing-lg);
    transform: scale(0) translateY(20px);
    opacity: 0;
    transition: all var(--transition-normal);
    pointer-events: none;
    border: 1px solid var(--color-sand);
}

@media (min-width: 768px) {
    .whatsapp-tooltip {
        width: 280px;
        bottom: 5.5rem;
    }
}

.whatsapp-float:hover .whatsapp-tooltip {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

[data-theme="dark"] .whatsapp-tooltip {
    background: var(--color-bg-secondary);
    border-color: var(--color-bg-tertiary);
}

.tooltip-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-dark);
}

.tooltip-content p {
    color: var(--color-text-medium);
    font-size: 0.85rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.tooltip-content button {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(135deg, var(--color-whatsapp) 0%, #20BA5C 100%);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-xl);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tooltip-content button:hover {
    background: linear-gradient(135deg, #2EE370 0%, var(--color-whatsapp) 100%);
    transform: translateY(-2px);
}

/* ===== Mobile WhatsApp Bar ===== */
.mobile-whatsapp-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--color-whatsapp) 0%, #20BA5C 100%);
    padding: var(--spacing-sm) var(--spacing-md);
    display: none;
    box-shadow: 0 -4px 20px rgba(37, 211, 102, 0.3);
    padding-bottom: env(safe-area-inset-bottom, var(--spacing-sm));
}

.mobile-whatsapp-bar button {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: transparent;
    border: none;
    color: var(--color-white);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

.mobile-whatsapp-bar svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

@media (max-width: 768px) {
    .mobile-whatsapp-bar {
        display: block;
    }

    .whatsapp-float {
        display: none;
    }

    body {
        padding-bottom: 70px;
    }
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1500;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-teal-dark) 100%);
    border: none;
    border-radius: var(--radius-full);
    color: var(--color-white);
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .back-to-top {
        width: 3.5rem;
        height: 3.5rem;
    }
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--color-teal-light) 0%, var(--color-teal) 100%);
    transform: translateY(-4px) rotate(-10deg);
    box-shadow: var(--shadow-xl);
}

.back-to-top svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 5.5rem;
        left: 1.5rem;
    }
}

/* ===================================
   ANIMATIONS
   ================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-fade-in-down {
    animation: fadeInDown 0.6s ease-out;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.5s ease-out;
}

/* Stagger animations for lists */
.stagger-children>*:nth-child(1) {
    animation-delay: 0.1s;
}

.stagger-children>*:nth-child(2) {
    animation-delay: 0.2s;
}

.stagger-children>*:nth-child(3) {
    animation-delay: 0.3s;
}

.stagger-children>*:nth-child(4) {
    animation-delay: 0.4s;
}

.stagger-children>*:nth-child(5) {
    animation-delay: 0.5s;
}

.stagger-children>*:nth-child(6) {
    animation-delay: 0.6s;
}

/* ===================================
   RESPONSIVE BREAKPOINTS
   ================================== */

/* Extra Small devices (phones, less than 480px) */
@media (max-width: 479px) {
    :root {
        --spacing-md: 0.625rem;
        --spacing-lg: 0.875rem;
        --spacing-xl: 1.25rem;
        --spacing-2xl: 1.75rem;
        --spacing-3xl: 2rem;
    }

    .container {
        padding: 0 var(--spacing-md);
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 1.625rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .btn {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 0.9rem;
    }
}

/* Small devices (phones, 480px - 599px) */
@media (min-width: 480px) and (max-width: 599px) {
    :root {
        --spacing-md: 0.75rem;
        --spacing-lg: 1rem;
        --spacing-xl: 1.5rem;
        --spacing-2xl: 2rem;
        --spacing-3xl: 2.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }
}

/* Medium devices (tablets, 600px - 899px) */
@media (min-width: 600px) and (max-width: 899px) {
    .container {
        padding: 0 var(--spacing-lg);
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Large devices (desktops, 900px - 1199px) */
@media (min-width: 900px) and (max-width: 1199px) {
    .container {
        padding: 0 var(--spacing-xl);
    }

    .hero-title {
        font-size: 3rem;
    }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        padding: 0 var(--spacing-xl);
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

/* ===================================
   IMAGE UTILITIES
   ================================== */

/* Lazy loading fade-in */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([data-src]) {
    opacity: 1;
}

/* Image aspect ratios */
.aspect-square {
    aspect-ratio: 1 / 1;
}

.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-product {
    aspect-ratio: 4 / 3;
}

/* Image object fit */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-contain {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===================================
   ACCESSIBILITY
   ================================== */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 3px solid var(--color-teal);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   PRINT STYLES
   ================================== */

@media print {

    .whatsapp-float,
    .mobile-whatsapp-bar,
    .back-to-top,
    #header,
    .product-overlay,
    .overlay-buttons {
        display: none !important;
    }

    .hero {
        padding-top: 0;
        min-height: auto;
    }

    body::before {
        display: none;
    }

    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}