/* ===========================================
   FORDIPS TECH - World-Class Electronics Store
   Premium Design with 3D Effects & Animations
   =========================================== */

:root {
    /* Colors - World-Class Luxury Theme */
    --primary: #2CA9A1;
    --primary-dark: #167D8C;
    --primary-light: #3FBBB3;
    --secondary: #6366f1;
    --accent-purple: #9333ea;
    --accent-warm: #fb923c;
    --success: #10b981;
    --danger: #ef4444;

    /* Neutrals - Soft & Elegant */
    --black: #1e293b;
    --gray-900: #2c3e50;
    --gray-800: #34495e;
    --gray-700: #475569;
    --gray-600: #64748b;
    --gray-500: #94a3b8;
    --gray-400: #cbd5e1;
    --gray-300: #e5e7eb;
    --gray-200: #f3f4f6;
    --gray-100: #f9fafb;
    --white: #ffffff;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Spacing - Generous & Balanced */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;

    /* Radius - Soft & Rounded */
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 50px;
    --radius-pill: 9999px;

    /* Shadows - Layered & Ambient */
    --shadow-sm: 0 2px 10px rgba(44, 169, 161, 0.08);
    --shadow-md: 0 8px 30px rgba(44, 169, 161, 0.12);
    --shadow-lg: 0 15px 50px rgba(44, 169, 161, 0.15);
    --shadow-xl: 0 25px 70px rgba(44, 169, 161, 0.2);
    --shadow-glow: 0 0 40px rgba(44, 169, 161, 0.25);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-weight: 300;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.8;
    letter-spacing: 0.01em;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

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

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

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===========================================
   TRACK ORDER BUTTON IN NAVBAR
   =========================================== */

.track-order-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    margin-left: 1rem;
    background: linear-gradient(135deg, #2ca9a1 0%, #239890 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(44, 169, 161, 0.3);
}

.track-order-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 169, 161, 0.4);
    background: linear-gradient(135deg, #239890 0%, #1e8780 100%);
}

.track-order-button svg {
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.track-order-button span {
    white-space: nowrap;
}

/* Hide Track Order button on mobile */
@media (max-width: 768px) {
    .track-order-button {
        display: none;
    }
}

/* ===========================================
   LANGUAGE SWITCHER IN NAVBAR
   =========================================== */

.language-switcher-nav {
    display: flex;
    align-items: center;
    margin-left: 1rem;
}

/* Old language switcher class - kept for backwards compatibility */
.language-switcher {
    display: none; /* Hidden as we now use language-switcher-nav */
}

.lang-dropdown {
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.6rem center;
    background-size: 10px;
    padding-right: 2rem;
    min-width: 85px;
}

/* Mobile adjustments handled in mobile-optimizations.css */

.lang-dropdown:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 28px rgba(44, 169, 161, 0.7);
    border-color: rgba(255, 255, 255, 0.8);
}

.lang-dropdown:active {
    transform: translateY(-1px) scale(1.02);
}

.lang-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 169, 161, 0.2);
}

.lang-dropdown option {
    background: var(--white);
    color: var(--black);
    padding: 0.5rem;
}

/* ===========================================
   NAVIGATION
   =========================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(30px) saturate(180%);
    box-shadow: 0 2px 40px rgba(44, 169, 161, 0.08);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(44, 169, 161, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--black);
}

/* 3D Circular Logo */
.logo-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    padding: 3px;
    box-shadow:
        0 10px 30px rgba(44, 169, 161, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.2),
        inset 0 -2px 8px rgba(0, 0, 0, 0.2),
        inset 0 2px 8px rgba(255, 255, 255, 0.3);
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: logoPulse 3s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(5deg);
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    10% {
        transform: scale(1.05);
    }
    20% {
        transform: scale(1);
    }
    30% {
        transform: scale(1.05);
    }
    40% {
        transform: scale(1);
    }
}

@keyframes heartbeatRotate {
    0% {
        transform: scale(1) rotate(0deg);
    }
    10% {
        transform: scale(1.05) rotate(36deg);
    }
    20% {
        transform: scale(1) rotate(72deg);
    }
    30% {
        transform: scale(1.05) rotate(108deg);
    }
    40% {
        transform: scale(1) rotate(144deg);
    }
    50% {
        transform: scale(1) rotate(180deg);
    }
    60% {
        transform: scale(1.05) rotate(216deg);
    }
    70% {
        transform: scale(1) rotate(252deg);
    }
    80% {
        transform: scale(1.05) rotate(288deg);
    }
    90% {
        transform: scale(1) rotate(324deg);
    }
    100% {
        transform: scale(1) rotate(360deg);
    }
}

.logo-circle::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg,
        rgba(44, 169, 161, 0.3),
        rgba(99, 102, 241, 0.3));
    filter: blur(10px);
    z-index: -1;
    opacity: 0.7;
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Subtle Logo Pulse - More Professional */
@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow:
            0 10px 30px rgba(44, 169, 161, 0.4),
            0 5px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow:
            0 15px 40px rgba(44, 169, 161, 0.5),
            0 8px 20px rgba(0, 0, 0, 0.3);
    }
}

.logo-circle-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    background: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        inset 0 4px 8px rgba(255, 255, 255, 0.8),
        inset 0 -4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.logo-circle-inner::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    animation: logoShine 3s linear infinite;
}

@keyframes logoShine {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.logo-initial {
    font-size: 1.75rem;
    font-weight: 900;
    font-family: var(--font-display);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(44, 169, 161, 0.2);
    letter-spacing: -0.05em;
}

.logo-image {
    width: 85%;
    height: 85%;
    object-fit: contain;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    display: block;
    animation: rotateClockwise 8s linear infinite;
}

/* Clock hand rotation animation */
@keyframes rotateClockwise {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.logo:hover .logo-circle {
    transform: scale(1.1) rotate(10deg);
    box-shadow:
        0 15px 40px rgba(44, 169, 161, 0.5),
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 -2px 8px rgba(0, 0, 0, 0.2),
        inset 0 2px 8px rgba(255, 255, 255, 0.4);
}

.logo-text {
    letter-spacing: 0.05em;
    position: relative;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    list-style: none;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    position: relative;
    transition: var(--transition-normal);
}

.navbar:not(.scrolled) .nav-link {
    color: var(--white);
}

.navbar.scrolled .nav-link {
    color: var(--gray-900);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--primary);
    transition: transform var(--transition-normal);
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* ===========================================
   BUTTONS - World-Class Design
   =========================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.05em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.8s;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    color: var(--white);
    box-shadow: 0 10px 35px rgba(44, 169, 161, 0.35),
                0 0 30px rgba(44, 169, 161, 0.1);
}

.btn-primary:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(44, 169, 161, 0.4),
                0 0 50px rgba(44, 169, 161, 0.2);
}

.btn-primary:active {
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.5),
                0 0 40px rgba(255, 255, 255, 0.3);
}

/* ===========================================
   HERO SECTION - iPhone 17 Pro Max Showcase
   =========================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #2CA9A1 0%, #167D8C 35%, #6366f1 70%, #9333ea 100%);
    overflow: hidden;
    padding: 8rem 0 4rem;
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(44, 169, 161, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(147, 51, 234, 0.35) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(251, 146, 60, 0.15) 0%, transparent 40%);
    animation: heroGradient 20s ease infinite;
}

@keyframes heroGradient {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-content {
    color: var(--white);
    animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 2;
    letter-spacing: 0.02em;
    opacity: 0.95;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.feature-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

.feature-value {
    font-weight: 700;
    font-size: 1.125rem;
}

/* Hero Image - 3D iPhone Showcase */
.hero-image {
    perspective: 1500px;
    animation: fadeInRight 1s ease 0.3s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.phone-showcase {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-20px) rotateY(5deg); }
}

.showcase-img {
    width: 100%;
    max-width: 500px;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.3));
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.6s ease;
}

.phone-showcase:hover .showcase-img {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(40px);
    animation: glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

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

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: rotate(45deg);
}

/* Floating Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 5;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
    border-radius: 50%;
    animation: floatParticle 20s infinite ease-in-out;
    opacity: 0.6;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.particle:nth-child(1) {
    left: 10%;
    top: 20%;
    animation-duration: 18s;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    left: 25%;
    top: 60%;
    width: 4px;
    height: 4px;
    animation-duration: 22s;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    left: 45%;
    top: 30%;
    animation-duration: 25s;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    left: 65%;
    top: 70%;
    width: 5px;
    height: 5px;
    animation-duration: 20s;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    left: 80%;
    top: 15%;
    animation-duration: 24s;
    animation-delay: 3s;
}

.particle:nth-child(6) {
    left: 90%;
    top: 50%;
    width: 4px;
    height: 4px;
    animation-duration: 19s;
    animation-delay: 5s;
}

.particle:nth-child(7) {
    left: 15%;
    top: 80%;
    animation-duration: 21s;
    animation-delay: 2.5s;
}

.particle:nth-child(8) {
    left: 70%;
    top: 40%;
    width: 5px;
    height: 5px;
    animation-duration: 23s;
    animation-delay: 1.5s;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(30px, -40px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, -80px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translate(40px, -60px) scale(1.1);
        opacity: 0.7;
    }
}

/* Floating Statistic Badges */
.floating-badge {
    position: absolute;
    z-index: 100;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.75rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15),
                0 0 40px rgba(255, 255, 255, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: floatBadge 6s ease-in-out infinite;
}

.badge-1 {
    top: 15%;
    right: 8%;
    animation-delay: 0s;
}

.badge-2 {
    top: 45%;
    left: 5%;
    animation-delay: 2s;
}

.badge-3 {
    bottom: 20%;
    right: 12%;
    animation-delay: 4s;
}

@keyframes floatBadge {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.badge-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
    }
    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 6px 20px rgba(255, 255, 255, 0.5));
    }
}

.badge-content {
    color: var(--white);
    text-align: left;
}

.badge-value {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.badge-label {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.95;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ===========================================
   CINEMATIC HERO SECTION - Apple Inspired
   =========================================== */

.cinematic-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 3rem 0 1rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #404040 100%);
}

/* Dark Tech Gradient Background */
.hero-dark-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 15% 50%, rgba(0, 122, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(175, 82, 222, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(44, 169, 161, 0.1) 0%, transparent 50%);
    animation: darkGradientPulse 15s ease-in-out infinite;
}

@keyframes darkGradientPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Cinematic Particles */
.cinematic-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.particle-dot {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
    border-radius: 50%;
    animation: floatCinematicParticle 25s infinite ease-in-out;
    opacity: 0.4;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.particle-dot:nth-child(1) { left: 5%; top: 10%; animation-duration: 20s; animation-delay: 0s; }
.particle-dot:nth-child(2) { left: 15%; top: 60%; width: 2px; height: 2px; animation-duration: 28s; animation-delay: 3s; }
.particle-dot:nth-child(3) { left: 25%; top: 30%; animation-duration: 22s; animation-delay: 6s; }
.particle-dot:nth-child(4) { left: 35%; top: 80%; width: 4px; height: 4px; animation-duration: 26s; animation-delay: 2s; }
.particle-dot:nth-child(5) { left: 50%; top: 20%; animation-duration: 24s; animation-delay: 8s; }
.particle-dot:nth-child(6) { left: 60%; top: 70%; width: 2px; height: 2px; animation-duration: 30s; animation-delay: 4s; }
.particle-dot:nth-child(7) { left: 70%; top: 40%; animation-duration: 23s; animation-delay: 7s; }
.particle-dot:nth-child(8) { left: 80%; top: 15%; width: 3px; height: 3px; animation-duration: 27s; animation-delay: 1s; }
.particle-dot:nth-child(9) { left: 88%; top: 65%; animation-duration: 21s; animation-delay: 5s; }
.particle-dot:nth-child(10) { left: 12%; top: 45%; width: 2px; height: 2px; animation-duration: 29s; animation-delay: 9s; }
.particle-dot:nth-child(11) { left: 42%; top: 55%; animation-duration: 25s; animation-delay: 10s; }
.particle-dot:nth-child(12) { left: 95%; top: 90%; width: 4px; height: 4px; animation-duration: 31s; animation-delay: 11s; }

@keyframes floatCinematicParticle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-20px, -60px) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translate(40px, -40px) scale(1.05);
        opacity: 0.5;
    }
}

/* Water Reflection Effect */
.water-reflection {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(0, 122, 255, 0.08) 0%, transparent 100%);
    animation: waterShimmer 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes waterShimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Cinematic Grid Layout - New Vertical Layout */
.cinematic-grid-new {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 10;
    text-align: center;
}

.cinematic-content-new {
    color: var(--white);
    animation: cinematicFadeInUp 1.2s ease;
}

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

.cinematic-cta {
    animation: cinematicFadeInUp 1.2s ease 0.6s both;
    margin-top: var(--spacing-md);
}

/* Reduce spacing on mobile - minimal space between carousel and button */
@media (max-width: 768px) {
    .cinematic-cta {
        margin-top: 0.25rem; /* 4px - tight spacing for mobile */
    }
}

@media (max-width: 576px) {
    .cinematic-cta {
        margin-top: 0.25rem; /* 4px - tight spacing for mobile */
    }
}

@media (max-width: 480px) {
    .cinematic-cta {
        margin-top: 0.75rem; /* 12px */
    }
}

/* Old Grid Layout (backup) */
.cinematic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Left Content */
.cinematic-content {
    color: var(--white);
    animation: cinematicFadeInLeft 1.2s ease;
}

@keyframes cinematicFadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cinematic-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    color: #ffffff;
    text-align: center;
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.1),
        0 0 40px rgba(44, 169, 161, 0.2),
        0 2px 4px rgba(0, 0, 0, 0.3);
    animation: titleFloat 3s ease-in-out infinite;
}

@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

.brand-highlight {
    background: linear-gradient(135deg, #007AFF 0%, #0056D6 30%, #2CA9A1 60%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% 300%;
    display: block;
    margin-top: 0.5rem;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    animation: brandGradientShift 6s ease infinite;
    filter: drop-shadow(0 0 30px rgba(44, 169, 161, 0.4))
            drop-shadow(0 0 60px rgba(0, 122, 255, 0.3));
    position: relative;
}

@keyframes brandGradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.cinematic-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.05em;
    margin: 0 auto 3rem auto;
    max-width: 700px;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #2CA9A1 50%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: subtitleGlow 8s ease infinite;
    text-shadow: 0 0 40px rgba(44, 169, 161, 0.3);
    filter: drop-shadow(0 0 20px rgba(44, 169, 161, 0.2));
}

@keyframes subtitleGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Gradient CTA Button */
.btn-cinematic {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #007AFF 0%, #0056D6 100%);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: var(--radius-pill);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow:
        0 10px 30px rgba(0, 122, 255, 0.3),
        0 0 0 0 rgba(0, 122, 255, 0.5);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
}

.btn-cinematic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-cinematic:hover::before {
    left: 100%;
}

.btn-cinematic:hover {
    transform: translateY(-2px);
    box-shadow:
        0 15px 40px rgba(0, 122, 255, 0.4),
        0 0 0 8px rgba(0, 122, 255, 0.1);
}

.btn-cinematic:active {
    transform: translateY(0);
}

.btn-cinematic svg {
    transition: transform var(--transition-normal);
}

.btn-cinematic:hover svg {
    transform: translateX(5px);
}

/* Right: 3D Device Showcase Carousel */
.cinematic-devices {
    perspective: 1500px;
    animation: cinematicFadeInRight 1.2s ease 0.3s both;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    width: 100%;
}

@keyframes cinematicFadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Scroll Down Indicator - Cinematic */
.scroll-down-cinematic {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.5) 50%, transparent 100%);
    position: relative;
    animation: scrollLineMove 2s ease-in-out infinite;
}

@keyframes scrollLineMove {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 1;
    }
}

.scroll-dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    margin-top: -4px;
    animation: scrollDotBounce 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

@keyframes scrollDotBounce {
    0%, 100% {
        transform: translateY(-10px);
        opacity: 0.5;
    }
    50% {
        transform: translateY(10px);
        opacity: 1;
    }
}

/* ===========================================
   SECTIONS
   =========================================== */

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

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.02em;
    color: var(--gray-600);
}

/* ===========================================
   CATEGORIES
   =========================================== */

.categories {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg,
        var(--white) 0%,
        var(--gray-100) 50%,
        rgba(44, 169, 161, 0.03) 100%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.category-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(44, 169, 161, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(44, 169, 161, 0.08),
                0 2px 10px rgba(0, 0, 0, 0.05);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent-purple));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.category-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(44, 169, 161, 0.15), transparent);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all 0.6s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover::after {
    opacity: 1;
    width: 300px;
    height: 300px;
}

.category-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 70px rgba(44, 169, 161, 0.2),
                0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(44, 169, 161, 0.3);
}

.category-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.2));
    transition: transform var(--transition-normal);
}

.category-card:hover .category-icon {
    transform: scale(1.2) rotate(5deg);
}

.category-image {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.category-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.category-card p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.btn-category {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-category:hover::before {
    left: 0;
}

.btn-category:hover {
    color: var(--white);
    border-color: var(--primary-dark);
    transform: translateX(5px);
    box-shadow: 0 10px 30px rgba(44, 169, 161, 0.3);
}

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

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

.product-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(44, 169, 161, 0.15);
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.03em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 169, 161, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 10px 35px rgba(44, 169, 161, 0.35),
                0 0 30px rgba(44, 169, 161, 0.15);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 35px rgba(44, 169, 161, 0.1),
                0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(44, 169, 161, 0.12);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(44, 169, 161, 0.1), transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.product-card:hover::before {
    opacity: 1;
}

.product-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 70px rgba(44, 169, 161, 0.2),
                0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(44, 169, 161, 0.3);
}

.product-image {
    height: 300px;
    overflow: hidden;
    background: var(--gray-100);
    position: relative;
    perspective: 1000px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    transform-style: preserve-3d;
}

.product-card:hover .product-image img {
    transform: scale(1.15) rotateY(5deg) rotateX(2deg);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.product-content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.product-category {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0.5rem 0;
    color: var(--gray-900);
}

.product-price {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
}

.btn-add-cart {
    background: linear-gradient(135deg, var(--success) 0%, #059669 100%);
    color: white;
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    letter-spacing: 0.05em;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-add-cart::before {
    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-add-cart:hover::before {
    width: 300px;
    height: 300px;
}

.btn-add-cart:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4),
                0 0 30px rgba(16, 185, 129, 0.2);
}

/* ===========================================
   CART (Similar to Coffee Shop)
   =========================================== */

.cart-button {
    position: relative;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 16px rgba(44, 169, 161, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
}

.cart-button:hover {
    transform: scale(1.12) rotate(5deg);
    box-shadow:
        0 8px 28px rgba(44, 169, 161, 0.45),
        0 4px 12px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.cart-button:active {
    transform: scale(1.05) rotate(3deg);
}

.cart-button svg {
    width: 24px;
    height: 24px;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.55rem;
    border-radius: 20px;
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    border: 2px solid white;
}

/* Account Button and Favorites Button */
.account-button,
.favorites-button {
    position: relative;
    padding: 0.875rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--secondary) 100%);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 16px rgba(44, 169, 161, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 48px;
    min-height: 48px;
}

.account-button:hover,
.favorites-button:hover {
    transform: scale(1.12) rotate(5deg);
    box-shadow:
        0 8px 28px rgba(44, 169, 161, 0.45),
        0 4px 12px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.account-button:active,
.favorites-button:active {
    transform: scale(1.05) rotate(3deg);
}

.account-button svg,
.favorites-button svg {
    width: 20px;
    height: 20px;
}

.account-button span#accountButtonText {
    font-size: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
}

@media (min-width: 1024px) {
    .account-button {
        border-radius: 24px;
        padding: 0.75rem 1.25rem;
        min-width: auto;
    }

    .account-button span#accountButtonText {
        font-size: 0.9rem;
        width: auto;
        font-weight: 600;
    }
}

.favorites-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 0.55rem;
    border-radius: 20px;
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    border: 2px solid white;
}

/* Track Order Button */
.track-order-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.track-order-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.track-order-btn svg {
    flex-shrink: 0;
}

.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-modal.active {
    pointer-events: all;
    opacity: 1;
}

.cart-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.cart-sidebar {
    position: absolute;
    top: 0;
    right: -450px;
    width: 450px;
    max-width: 90vw;
    height: 100%;
    background: var(--white);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cart-modal.active .cart-sidebar {
    right: 0;
}

.cart-header {
    padding: var(--spacing-md);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cart-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-header-content h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.cart-close {
    color: var(--white);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cart-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg) scale(1.1);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-md);
}

.empty-cart-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    min-height: 300px;
}

.empty-cart-state svg {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.empty-cart {
    color: var(--gray-600);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.btn-start-shopping {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    border-radius: var(--radius-pill);
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-start-shopping:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 169, 161, 0.3);
}

.cart-footer {
    padding: var(--spacing-md);
    border-top: 2px solid var(--gray-200);
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

.cart-summary {
    margin-bottom: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--gray-700);
}

.summary-row.total-row {
    border-top: 2px solid var(--gray-300);
    margin-top: 0.5rem;
    padding-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
}

.total-amount {
    color: var(--primary);
    font-weight: 700;
}

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    padding: 1rem 2rem;
}

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

.btn-checkout svg {
    transition: transform 0.3s ease;
}

.btn-full {
    width: 100%;
}

/* ===========================================
   LOCATIONS
   =========================================== */

.locations {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg,
        rgba(44, 169, 161, 0.03) 0%,
        var(--gray-100) 50%,
        var(--white) 100%);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.location-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 35px rgba(44, 169, 161, 0.1),
                0 2px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(44, 169, 161, 0.15);
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(44, 169, 161, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.location-card:hover::before {
    opacity: 1;
}

.location-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(44, 169, 161, 0.18),
                0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(44, 169, 161, 0.3);
}

.location-flag {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.location-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gray-900);
}

.location-address {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.location-contact p {
    margin: 0.5rem 0;
    color: var(--gray-700);
}

/* ===========================================
   FOOTER - Dark Gradient Design
   =========================================== */

.footer {
    background: linear-gradient(to bottom, #0A1A2F 0%, #0E253F 100%);
    color: #FFFFFF;
    padding: 5rem 0 0;
    font-family: 'Inter', 'Poppins', 'Source Sans Pro', -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Footer Column */
.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo .logo-text {
    color: #2CC4C4;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer-logo .logo-circle {
    border: 2px solid #2CC4C4;
    width: 90px;
    height: 90px;
    flex-shrink: 0;
}

.footer-logo .logo-circle-inner {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
}

.footer-logo .logo-image {
    width: 85%;
    height: 85%;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

.footer-logo .logo-initial {
    color: #2CC4C4;
}

.footer-logo:hover .logo-text {
    color: #3ADDD2;
}

/* Contact Information */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateX(5px);
}

.contact-icon {
    width: 20px;
    height: 20px;
    color: #2CC4C4;
    flex-shrink: 0;
    margin-top: 0.2rem;
    transition: color 0.3s ease;
}

.contact-item:hover .contact-icon {
    color: #3ADDD2;
}

.contact-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #AAB2C5;
    margin: 0;
}

/* Social Section */
.footer-social {
    margin-top: 1rem;
}

.social-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link-simple {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.social-link-simple svg {
    width: 20px;
    height: 20px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.social-link-simple:hover {
    background: rgba(44, 196, 196, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(44, 196, 196, 0.3);
}

.social-link-simple.facebook:hover {
    background: rgba(44, 196, 196, 0.25);
}

.social-link-simple.tiktok:hover {
    background: rgba(44, 196, 196, 0.25);
}

.social-link-simple.youtube:hover {
    background: rgba(44, 196, 196, 0.25);
}

.social-link-simple:hover svg {
    color: #3ADDD2;
}

/* Footer Titles */
.footer-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2CC4C4;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #2CC4C4;
    transition: width 0.3s ease;
}

.footer-column:hover .footer-title::after {
    width: 60px;
}

/* Footer Lists */
.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-list li a {
    color: #AAB2C5;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-left: 0;
}

.footer-list li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    color: #2CC4C4;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-list li a:hover {
    color: #3ADDD2;
    padding-left: 20px;
}

.footer-list li a:hover::before {
    opacity: 1;
    left: 0;
}

/* Footer Bottom Bar */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.75rem 0;
    text-align: center;
    backdrop-filter: blur(10px);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.875rem;
    color: #AAB2C5;
    line-height: 1.6;
    letter-spacing: 0.3px;
}


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

.contact-section {
    padding: var(--spacing-xl) 0;
    background: var(--gray-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: var(--shadow-md);
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.contact-info-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.contact-info-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--gray-900);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(44, 169, 161, 0.1);
}

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

.form-status {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.form-status.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

/* ===========================================
   NEWSLETTER SECTION
   =========================================== */

.newsletter-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.newsletter-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 1rem;
}

.newsletter-form button {
    padding: 1rem 2.5rem;
    white-space: nowrap;
}

/* ===========================================
   MODALS
   =========================================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    z-index: 10000;
}

.modal-large {
    max-width: 900px;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-600);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-normal);
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-900);
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--gray-200);
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
}

.auth-tab.active {
    color: var(--primary);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.auth-form h2 {
    margin-bottom: 2rem;
    color: var(--gray-900);
}

.auth-form.hidden {
    display: none;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Checkout Styles */
.checkout-content {
    max-width: 700px;
    margin: 0 auto;
}

.checkout-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

.checkout-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--gray-300);
}

.checkout-section:last-of-type {
    border-bottom: none;
}

.checkout-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.payment-option {
    display: block;
    position: relative;
    cursor: pointer;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    background: var(--white);
    transition: all 0.3s ease;
}

.payment-option:hover .payment-option-content {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(44, 169, 161, 0.15);
    transform: translateY(-2px);
}

.payment-option input[type="radio"]:checked ~ .payment-option-content {
    border-color: var(--primary);
    background: rgba(44, 169, 161, 0.05);
    box-shadow: 0 4px 15px rgba(44, 169, 161, 0.2);
}

.payment-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.payment-option-content div {
    flex: 1;
}

.payment-option-content strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--black);
}

.payment-option-content small {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-600);
}

.checkout-summary {
    background: var(--gray-100);
    padding: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    padding-top: 1rem;
    border-top: 2px solid var(--gray-300);
}

/* Support Content */
.support-content,
.legal-content {
    padding: 2rem 0;
}

.support-content h2,
.legal-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}

.support-content h3,
.legal-content h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.support-content p,
.legal-content p {
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.support-content ul,
.legal-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.support-content li,
.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: var(--radius-md);
}

.faq-question {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.faq-answer {
    color: var(--gray-700);
    line-height: 1.6;
}

/* ===========================================
   SCROLL-TRIGGERED ANIMATIONS
   =========================================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger animation delays */
.fade-in-up:nth-child(1) { transition-delay: 0.1s; }
.fade-in-up:nth-child(2) { transition-delay: 0.2s; }
.fade-in-up:nth-child(3) { transition-delay: 0.3s; }
.fade-in-up:nth-child(4) { transition-delay: 0.4s; }
.fade-in-up:nth-child(5) { transition-delay: 0.5s; }
.fade-in-up:nth-child(6) { transition-delay: 0.6s; }

/* Parallax Elements */
.parallax {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    z-index: 10102;
    position: relative;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--black);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 3px;
    display: block;
}

.navbar:not(.scrolled) .mobile-menu-toggle span {
    background: var(--white);
}

/* Hamburger menu animation */
.nav-menu.active ~ .mobile-menu-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-menu.active ~ .mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.nav-menu.active ~ .mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Extra Small Devices (Portrait phones, less than 576px) */
@media (max-width: 575px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 1rem;
    }

    /* Enhanced navbar padding on mobile */
    .navbar {
        padding: 1rem 0;
    }

    .navbar.scrolled {
        padding: 0.75rem 0;
    }

    /* Logo adjustments */
    .logo-circle {
        width: 50px;
        height: 50px;
        aspect-ratio: 1 / 1;
        flex-shrink: 0;
    }

    .logo-initial {
        font-size: 1.2rem;
    }

    .logo-text {
        font-size: 0.85rem;
        font-weight: 800;
    }

    /* Mobile menu takes full width on small screens */
    .nav-menu {
        width: 90%;
        max-width: 100%;
        padding: 6rem 1.5rem 2rem;
    }

    /* Hero Section */
    .hero {
        padding: 6rem 0 3rem;
        min-height: 100vh;
    }

    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.7;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .feature-item {
        width: 100%;
        justify-content: center;
    }

    /* Cinematic Hero - Mobile */
    .cinematic-hero {
        padding: 2rem 0 1rem;
        min-height: 100vh;
    }

    .cinematic-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cinematic-title {
        font-size: 2rem !important;
        text-align: center;
    }

    .brand-highlight {
        font-size: 2.3rem !important;
    }

    .cinematic-subtitle {
        font-size: 1rem;
        text-align: center;
        max-width: 100%;
    }

    .cinematic-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .btn-cinematic {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }

    .device-container {
        height: 400px;
    }

    /* Old device styles removed - using carousel */

    .particle-dot {
        display: none;
    }

    /* Sections */
    .section-title {
        font-size: 2rem !important;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Contact Section Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    /* Newsletter Mobile */
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    /* Modal Mobile */
    .modal-content {
        width: 95%;
        padding: 2rem 1.5rem;
    }

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

    /* Categories */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-card {
        padding: 2rem 1.5rem;
    }

    .category-icon {
        font-size: 3rem;
    }

    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-filters {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .filter-btn {
        width: 100%;
        padding: 0.75rem;
    }

    /* Locations */
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Language Switcher */
    .language-switcher {
        top: 80px;
        right: 10px;
        padding: 0.4rem;
        gap: 0.4rem;
    }

    .lang-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    /* Floating badge - single centered */
    .floating-badge {
        display: none !important;
    }

    /* Particles - minimal on small screens */
    .particle {
        display: none;
    }

    /* Scroll indicator */
    .scroll-indicator {
        font-size: 0.8rem;
        bottom: 2rem;
    }

    /* Footer Responsive */
    .footer {
        padding: 3rem 0 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-column {
        align-items: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-contact {
        align-items: center;
    }

    .contact-item {
        justify-content: center;
        text-align: center;
    }

    .footer-social {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

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

    .footer-list {
        align-items: center;
    }

    .footer-bottom p {
        font-size: 0.8rem;
        padding: 0 1rem;
    }
}

/* Small Devices (Landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 3rem !important;
    }

    .cinematic-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .cinematic-title {
        font-size: 2.5rem !important;
    }

    .brand-highlight {
        font-size: 3rem !important;
    }

    .device-container {
        height: 450px;
    }





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

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

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 968px) {
    .cinematic-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .cinematic-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cinematic-title {
        text-align: center;
    }

    .cinematic-subtitle {
        text-align: center;
        max-width: 600px;
    }

    .device-container {
        height: 500px;
    }

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

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

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

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .floating-badge {
        padding: 1rem 1.5rem;
    }

    .badge-value {
        font-size: 1.5rem;
    }

    /* Footer on tablets */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 3rem;
    }

    .footer-column:first-child {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
    }

    .footer-column {
        text-align: left;
    }

    .footer-list {
        align-items: flex-start;
    }
}

/* Mobile Drawer Overlay - appears behind drawer */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    z-index: 10100;
    pointer-events: none;
}

.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Tablet and below (max-width: 968px) */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 7rem 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
        z-index: 10101;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    /* Mobile menu backdrop - hidden since we use mobile-drawer-overlay now */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        opacity: 0;
        transition: opacity 0.4s, left 0s 0.4s;
        z-index: -1;
        display: none; /* Hidden in favor of mobile-drawer-overlay */
    }

    .nav-menu.active::before {
        left: 0;
        opacity: 1;
        transition: opacity 0.4s, left 0s 0s;
    }

    .nav-link {
        color: var(--gray-900) !important;
        width: 100%;
        padding: 1.25rem 1rem;
        font-size: 1.15rem;
        border-bottom: 1px solid var(--gray-200);
        transition: all 0.3s;
    }

    .nav-link:hover {
        background: var(--gray-100);
        padding-left: 1.5rem;
        color: var(--primary) !important;
    }

    .nav-link::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 10102;
    }

    /* Cart button mobile styling - removed conflicting styles */
    /* Floating cart button is now handled in mobile-optimizations.css */

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    /* Cart adjustments */
    .cart-sidebar {
        width: 100%;
        max-width: 100vw;
    }

    /* Responsive logo adjustments */
    .logo-circle {
        width: 70px;
        height: 70px;
        aspect-ratio: 1 / 1;
        flex-shrink: 0;
    }

    .logo-initial {
        font-size: 1.4rem;
    }

    .logo-text {
        font-size: 1.1rem;
        font-weight: 800;
    }
}

/* Touch-friendly adjustments for all mobile devices */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    .btn,
    .filter-btn,
    .btn-category {
        min-height: 48px;
        padding: 1rem 1.5rem;
    }

    .nav-link {
        min-height: 48px;
    }

    .category-card,
    .product-card,
    .location-card {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    /* Disable hover effects on touch devices */
    .category-card:hover,
    .product-card:hover,
    .location-card:hover {
        transform: none;
    }

    /* Enable active states instead */
    .category-card:active {
        transform: scale(0.98);
    }

    .product-card:active {
        transform: scale(0.98);
    }
}

/* Landscape orientation adjustments */
@media (max-width: 968px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 0 2rem;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        text-align: left;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
    }
}


/* ===========================================
   ENHANCED CHECKOUT & PRODUCT DETAILS
   =========================================== */

/* Product Detail Modal */
.product-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
}

.product-detail-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-detail-content {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    max-width: 1200px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    z-index: 10001;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Product Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-main {
    position: relative;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gallery-nav:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-prev { left: 1rem; }
.gallery-next { right: 1rem; }

.gallery-thumbs {
    display: flex;
    gap: 0.75rem;
}

.gallery-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-fast);
    opacity: 0.6;
}

.gallery-thumbs img:hover,
.gallery-thumbs img.active {
    opacity: 1;
    border-color: var(--primary);
}

/* Product Detail Info */
.product-detail-info h2 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 1rem;
}

.product-description {
    color: var(--gray-600);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.product-price-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: var(--radius-md);
}

.price-label {
    font-size: 1rem;
    color: var(--gray-600);
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

/* Product Variants */
.product-variants {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.variant-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--black);
}

/* Color Options */
.color-options {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.color-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.color-btn:hover {
    transform: scale(1.1);
}

.color-btn.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--primary);
}

.color-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2rem;
    opacity: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.color-btn.active .color-check {
    opacity: 1;
}

.selected-variant-name {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Storage & Option Buttons */
.storage-options,
.option-select {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.storage-btn,
.option-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--gray-300);
    background: white;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: 500;
}

.storage-btn:hover,
.option-btn:hover {
    border-color: var(--primary);
    background: var(--gray-100);
}

.storage-btn.active,
.option-btn.active {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.variant-price {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-left: 0.5rem;
}

/* Thank You Modal */
.thank-you-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.thank-you-modal.active {
    display: flex;
}

.thank-you-content {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    z-index: 10001;
    text-align: center;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-content h2 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 1.5rem;
}

.confirmation-message {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.order-summary-box {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-300);
}

.summary-row:last-child {
    border-bottom: none;
}

.confirmation-note {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.next-steps {
    text-align: left;
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
}

.next-steps h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.next-steps ul {
    list-style: none;
    padding: 0;
}

.next-steps li {
    padding: 0.5rem 0;
    color: var(--gray-700);
}

/* Notification Toast */
.notification-toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 10002;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification-toast.show {
    transform: translateX(0);
}

.notification-toast.success {
    border-left: 4px solid var(--success);
}

.notification-toast.error {
    border-left: 4px solid var(--danger);
}

.notification-toast.info {
    border-left: 4px solid var(--primary);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .product-detail-content {
        padding: 2rem 1.5rem;
        max-height: 95vh;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-detail-info h2 {
        font-size: 1.5rem;
    }

    .price-amount {
        font-size: 1.75rem;
    }

    .color-btn {
        width: 45px;
        height: 45px;
    }

    .thank-you-content {
        padding: 2rem 1.5rem;
    }

    .thank-you-content h2 {
        font-size: 1.5rem;
    }

    .notification-toast {
        right: 1rem;
        left: 1rem;
        transform: translateY(-200px);
    }

    .notification-toast.show {
        transform: translateY(0);
    }
}

/* ===========================================
   REVIEWS & RATINGS SYSTEM
   =========================================== */

/* Reviews Section Container */
.reviews-section-container {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--gray-200);
}

.product-reviews-section {
    width: 100%;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.reviews-header h3 {
    font-size: 1.5rem;
    color: var(--black);
}

/* Reviews Summary */
.reviews-summary {
    background: var(--gray-100);
    border-radius: var(--radius-md);
    padding: 2rem;
    margin-bottom: 2rem;
}

.average-rating {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
}

.rating-stars-large {
    display: flex;
    gap: 0.25rem;
}

.star, .star-large {
    color: #fbbf24;
}

.star {
    font-size: 1.2rem;
}

.star-large {
    font-size: 2rem;
}

.star-full {
    opacity: 1;
}

.star-half {
    opacity: 0.5;
}

.star-empty {
    opacity: 0.2;
}

.rating-count {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.review-item:hover {
    box-shadow: var(--shadow-sm);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.review-author {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.author-name {
    font-weight: 600;
    color: var(--black);
}

.review-date {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.review-rating {
    display: flex;
    gap: 0.25rem;
}

.review-text {
    color: var(--gray-700);
    line-height: 1.6;
}

/* No Reviews */
.no-reviews {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--gray-600);
}

/* Rating Input */
.rating-input {
    display: flex;
    gap: 0.5rem;
    margin: 0.5rem 0;
}

.rating-star {
    font-size: 2.5rem;
    color: #d1d5db;
    cursor: pointer;
    transition: var(--transition-fast);
}

.rating-star:hover,
.rating-star.active {
    color: #fbbf24;
    transform: scale(1.1);
}

/* Review Form Modal */
.review-form-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.review-form-modal.active {
    display: flex;
}

.review-form-content {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    box-shadow: var(--shadow-xl);
    z-index: 10001;
}

.review-form-content h3 {
    font-size: 1.75rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.review-product-name {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.review-note {
    font-size: 0.85rem;
    color: var(--gray-600);
    text-align: center;
    margin-top: 1rem;
}

/* Button Outline Style */
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* Product Card Rating Display */
.product-card-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.product-card-rating .rating-stars {
    display: flex;
    gap: 0.15rem;
}

.product-card-rating .star {
    font-size: 0.9rem;
}

.product-card-rating .rating-text {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* Responsive */
@media (max-width: 768px) {
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .average-rating {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .rating-number {
        font-size: 2.5rem;
    }

    .star-large {
        font-size: 1.5rem;
    }

    .review-form-content {
        padding: 2rem 1.5rem;
    }

    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .rating-star {
        font-size: 2rem;
    }
}

/* ===========================================
   ORDER TRACKING SYSTEM STYLES
   =========================================== */

/* Order Tracking Modal */
.order-tracking-modal,
.my-orders-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
}

.order-tracking-modal.active,
.my-orders-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-tracking-content,
.my-orders-content {
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.3s ease;
}

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

/* Tracking Search */
.tracking-search {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
}

.tracking-input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.tracking-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(44, 169, 161, 0.1);
}

/* Tracking Results */
#trackingResults {
    min-height: 100px;
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
    font-size: 1.125rem;
    color: var(--gray-600);
}

.tracking-error {
    text-align: center;
    padding: 3rem 2rem;
}

.tracking-error svg {
    color: var(--danger);
    margin-bottom: 1rem;
}

.tracking-error h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.tracking-error p {
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

/* Tracking Details */
.tracking-details {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tracking-header {
    margin-bottom: 2rem;
}

.tracking-status {
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-icon {
    font-size: 2.5rem;
}

.tracking-status h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.5rem;
    color: var(--black);
}

.tracking-status p {
    margin: 0;
    color: var(--gray-700);
}

/* Tracking Info Grid */
.tracking-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--gray-100);
    border-radius: 12px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.info-item label {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item strong {
    font-size: 1.125rem;
    color: var(--black);
}

/* Status Timeline */
.status-timeline {
    margin: 2rem 0;
}

.status-timeline h4 {
    margin-bottom: 1.5rem;
    color: var(--black);
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gray-300);
}

.timeline-item {
    position: relative;
    padding-bottom: 2rem;
    display: flex;
    gap: 1rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
    background: white;
    border: 3px solid currentColor;
    position: relative;
    z-index: 1;
}

.timeline-item.active .timeline-marker {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 currentColor;
    }
    50% {
        box-shadow: 0 0 0 8px rgba(44, 169, 161, 0);
    }
}

.timeline-content {
    flex: 1;
    padding-top: 0.25rem;
}

.timeline-content h5 {
    margin: 0 0 0.25rem 0;
    color: var(--black);
    font-size: 1.125rem;
}

.timeline-date {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0 0 0.5rem 0;
}

.timeline-notes {
    font-size: 0.9375rem;
    color: var(--gray-700);
    margin: 0.5rem 0 0 0;
    padding: 0.75rem;
    background: var(--gray-100);
    border-radius: 6px;
}

.timeline-by {
    font-size: 0.8125rem;
    color: var(--gray-600);
    margin-top: 0.25rem;
}

.timeline-empty {
    text-align: center;
    color: var(--gray-500);
    padding: 2rem;
    font-style: italic;
}

/* Tracking Footer */
.tracking-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-200);
    text-align: center;
}

.tracking-footer p {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

/* My Orders Grid */
.orders-grid {
    display: grid;
    gap: 1.5rem;
}

.order-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.order-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(44, 169, 161, 0.15);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-200);
}

.order-card-header h4 {
    margin: 0 0 0.25rem 0;
    color: var(--black);
    font-size: 1.25rem;
}

.order-date {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

.order-status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-card-body {
    margin-bottom: 1rem;
}

.order-info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--gray-700);
}

.order-info-row strong {
    color: var(--black);
}

.order-card-footer {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* No Orders State */
.no-orders {
    text-align: center;
    padding: 4rem 2rem;
}

.no-orders svg {
    color: var(--gray-400);
    margin-bottom: 1.5rem;
}

.no-orders h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.no-orders p {
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tracking-search {
        flex-direction: column;
    }

    .tracking-info-grid {
        grid-template-columns: 1fr;
    }

    .order-card-header {
        flex-direction: column;
        gap: 1rem;
    }

    .order-status-badge {
        align-self: flex-start;
    }
}

/* Mobile Navigation handled in mobile-optimizations.css */

/* Payment Method Logo Styles */
.payment-logo {
    width: 40px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}

.payment-logo-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.payment-logo-group .payment-logo {
    width: 36px;
    height: 24px;
}

.payment-logo-single {
    width: 48px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ===========================================
   ACCESSIBILITY - SKIP TO CONTENT LINK
   =========================================== */

.skip-to-content {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 1rem;
    z-index: 10000;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(44, 169, 161, 0.5);
    transition: top var(--transition-normal);
}

.skip-to-content:focus {
    top: 20px;
    outline: 3px solid white;
    outline-offset: 4px;
}

.skip-to-content:hover:focus {
    background: var(--primary-dark);
    transform: translateX(-50%) scale(1.05);
}
