/* Menu Styles - Ultra Modern & Estetik Tasarım */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Mode Colors - Modern & Vibrant */
    --brown-dark: #2d1b0e;
    --brown-medium: #4a3426;
    --brown-light: #6b5d52;
    --brown-soft: #9a8a7d;
    --brown-cream: #e8dcc6;
    --brown-gold: #d4a574;
    --brown-gold-light: #e8c19a;
    --gold-accent: #f5d896;
    --bg-warm: #1f140d;
    --bg-warm-light: #2d2118;
    --bg-cream: #3a2e24;
    
    /* Light Mode Colors - Elegant & Bright */
    --light-bg: #fefcf9;
    --light-bg-secondary: #ffffff;
    --light-text: #2d1b0e;
    --light-text-secondary: #5a4a3a;
    --light-border: #d8cbb8;
    --light-accent: #9a7a5c;
    --light-gold: #c9a574;
    --light-cream: #f5ede3;
    --light-brown: #7a6b5a;
    
    /* Modern Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 4px 20px rgba(212, 165, 116, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Dark Mode - Enhanced Modern Background */
body.dark-mode {
    background: linear-gradient(135deg, 
        #1a0f08 0%, 
        #2a1810 15%, 
        #2d2118 30%, 
        #3a2e24 45%,
        #2d2118 60%,
        #2a1810 75%,
        #1a0f08 90%,
        #2a1810 100%);
    background-attachment: fixed;
    background-size: 500% 500%;
    animation: gradientShift 25s ease infinite, colorShift 18s ease infinite;
    position: relative;
    overflow-x: hidden;
    color: var(--brown-cream);
    min-height: 100vh;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

@keyframes colorShift {
    0%, 100% { 
        filter: hue-rotate(0deg) brightness(1);
    }
    25% { 
        filter: hue-rotate(5deg) brightness(1.05);
    }
    50% { 
        filter: hue-rotate(10deg) brightness(1.1);
    }
    75% { 
        filter: hue-rotate(5deg) brightness(1.05);
    }
}

body.dark-mode::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(212, 165, 116, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 85% 75%, rgba(245, 216, 150, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(232, 220, 198, 0.06) 0%, transparent 65%),
        radial-gradient(circle at 5% 85%, rgba(212, 165, 116, 0.1) 0%, transparent 48%),
        radial-gradient(circle at 95% 15%, rgba(245, 216, 150, 0.1) 0%, transparent 48%),
        radial-gradient(circle at 30% 60%, rgba(212, 165, 116, 0.08) 0%, transparent 42%);
    pointer-events: none;
    z-index: 0;
    animation: pulse 12s ease-in-out infinite, radialMove 30s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes radialMove {
    0% { 
        background-position: 0% 0%, 100% 100%, 50% 50%, 0% 100%, 100% 0%;
    }
    25% { 
        background-position: 10% 20%, 90% 80%, 60% 40%, 10% 90%, 90% 10%;
    }
    50% { 
        background-position: 20% 30%, 80% 70%, 50% 50%, 20% 80%, 80% 20%;
    }
    75% { 
        background-position: 10% 20%, 90% 80%, 40% 60%, 10% 90%, 90% 10%;
    }
    100% { 
        background-position: 0% 0%, 100% 100%, 50% 50%, 0% 100%, 100% 0%;
    }
}

/* Light Mode */
body.light-mode {
    background: linear-gradient(135deg, 
        #faf8f5 0%, 
        #f5ede3 20%, 
        #ffffff 40%, 
        #f5ede3 60%, 
        #faf8f5 80%, 
        #f0e8dc 100%);
    background-attachment: fixed;
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite, colorShiftLight 15s ease infinite;
    color: var(--light-text);
}

@keyframes colorShiftLight {
    0%, 100% { 
        filter: hue-rotate(0deg) brightness(1);
    }
    25% { 
        filter: hue-rotate(3deg) brightness(1.02);
    }
    50% { 
        filter: hue-rotate(6deg) brightness(1.04);
    }
    75% { 
        filter: hue-rotate(3deg) brightness(1.02);
    }
}

body.light-mode::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 111, 71, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 111, 71, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 111, 71, 0.04) 0%, transparent 70%),
        radial-gradient(circle at 10% 80%, rgba(139, 111, 71, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 90% 20%, rgba(139, 111, 71, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: radialMove 25s ease-in-out infinite;
}

/* Menu Header - Ultra Lüks Premium */
.menu-header {
    background: linear-gradient(135deg, 
        rgba(45, 27, 14, 0.95) 0%, 
        rgba(74, 52, 38, 0.98) 25%,
        rgba(45, 27, 14, 0.95) 50%, 
        rgba(74, 52, 38, 0.98) 75%,
        rgba(45, 27, 14, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 60px 20px;
    text-align: center;
    border-bottom: 3px solid transparent;
    background-clip: padding-box;
    border-image: linear-gradient(90deg, transparent, var(--brown-gold), transparent) 1;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.7),
        0 4px 20px rgba(212, 165, 116, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeInDown 1s ease-out, headerGlow 3s ease-in-out infinite;
}

@keyframes headerGlow {
    0%, 100% {
        box-shadow: 
            0 10px 40px rgba(0, 0, 0, 0.7),
            0 4px 20px rgba(212, 165, 116, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 12px 50px rgba(0, 0, 0, 0.8),
            0 6px 30px rgba(212, 165, 116, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

.header-buttons {
    position: absolute;
    top: 15px;
    right: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    padding: 0 20px;
    z-index: 10;
}

/* Desktop Only */
.desktop-only {
    display: flex;
}

/* Mobile Only */
.mobile-only {
    display: none;
}

/* Hamburger Button */
.hamburger-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: rgba(45, 33, 24, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1.5px solid rgba(212, 165, 116, 0.4);
    border-radius: 12px;
    cursor: pointer;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(212, 165, 116, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hamburger-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--brown-cream, #e8dcc6);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
}

.hamburger-btn:hover {
    border-color: rgba(212, 165, 116, 0.6);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(212, 165, 116, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Hamburger Menu */
.hamburger-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.hamburger-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.hamburger-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hamburger-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: var(--card-background-color, linear-gradient(180deg, rgba(45, 33, 24, 0.98) 0%, rgba(26, 15, 8, 0.98) 100%));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-left: 1.5px solid rgba(212, 165, 116, 0.3);
    box-shadow: 
        -10px 0 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(212, 165, 116, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateX(100%);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.hamburger-menu.open .hamburger-menu-content {
    transform: translateX(0);
}

.hamburger-menu-header {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.15) 0%, rgba(45, 33, 24, 0.4) 100%);
    position: sticky;
    top: 0;
    z-index: 10;
}

.hamburger-menu-header h3 {
    margin: 0;
    color: var(--brown-gold, #d4a574);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.hamburger-close {
    background: transparent;
    border: none;
    color: var(--text-color, #e8dcc6);
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.hamburger-close:hover {
    background: rgba(212, 165, 116, 0.2);
    color: var(--brown-gold, #d4a574);
    transform: rotate(90deg);
}

.hamburger-menu-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hamburger-menu-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hamburger-menu-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-color, #e8dcc6);
    letter-spacing: 0.3px;
    text-transform: uppercase;
    opacity: 0.8;
}

.mobile-language-toggle {
    width: 100%;
    justify-content: center;
    min-width: auto;
}

/* New Language Toggle Container for Mobile */
.language-toggle-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.lang-option-btn {
    width: 100%;
    padding: 14px 20px;
    background: rgba(45, 33, 24, 0.6);
    border: 1.5px solid rgba(212, 165, 116, 0.3);
    border-radius: 12px;
    color: var(--text-color, #e8dcc6);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.lang-option-btn:hover {
    background: rgba(212, 165, 116, 0.2);
    border-color: rgba(212, 165, 116, 0.5);
    transform: translateX(4px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(212, 165, 116, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.lang-option-btn.active {
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.3) 0%, rgba(245, 216, 150, 0.2) 100%);
    border-color: var(--brown-gold, #d4a574);
    color: var(--brown-gold-light, #e8c19a);
    box-shadow: 
        0 4px 16px rgba(212, 165, 116, 0.4),
        0 0 20px rgba(212, 165, 116, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.lang-flag {
    font-size: 24px;
    line-height: 1;
}

.lang-text {
    flex: 1;
    letter-spacing: 0.3px;
}

html[dir="rtl"] .lang-option-btn {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .lang-option-btn:hover {
    transform: translateX(-4px);
}

.hamburger-action-btn {
    width: 100%;
    padding: 16px 24px;
    background: rgba(212, 165, 116, 0.15);
    border: 1.5px solid rgba(212, 165, 116, 0.3);
    border-radius: 14px;
    color: var(--text-color, #e8dcc6);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hamburger-action-btn:hover {
    background: rgba(212, 165, 116, 0.25);
    border-color: rgba(212, 165, 116, 0.5);
    transform: translateY(-2px);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(212, 165, 116, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.hamburger-action-btn:active {
    transform: translateY(0);
}

.hamburger-action-btn .action-icon {
    font-size: 20px;
    font-weight: 700;
}

.hamburger-action-btn .action-text {
    letter-spacing: 0.3px;
}

/* Language Toggle Button - Modern Pill Design */
.language-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 33, 24, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1.5px solid rgba(212, 165, 116, 0.4);
    border-radius: 50px;
    padding: 6px;
    gap: 4px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(212, 165, 116, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    min-width: 120px;
    height: 38px;
    overflow: hidden;
}

.language-toggle::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: calc(33.333% - 4px);
    height: calc(100% - 12px);
    background: linear-gradient(135deg, var(--brown-gold) 0%, var(--brown-gold-light) 100%);
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 8px rgba(212, 165, 116, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    z-index: 0;
}

.language-toggle[data-lang="en"]::before {
    left: calc(33.333% + 2px);
}

.language-toggle[data-lang="ar"]::before {
    left: calc(66.666% - 2px);
}

.language-toggle:hover {
    border-color: rgba(212, 165, 116, 0.6);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(212, 165, 116, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.language-toggle:active {
    transform: translateY(0);
}

.language-toggle .lang-option {
    position: relative;
    z-index: 1;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(232, 220, 198, 0.6);
    min-width: 32px;
    flex: 1;
    text-align: center;
    user-select: none;
}

.language-toggle .lang-option.active {
    color: var(--brown-dark);
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brown-gold) 0%, var(--brown-gold-light) 100%);
    border: 2px solid rgba(212, 175, 111, 0.5);
    color: var(--brown-dark);
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.5),
        0 3px 12px rgba(212, 165, 116, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 0 0px rgba(212, 165, 116, 0);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    position: relative;
    overflow: hidden;
}

.scroll-to-top::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.scroll-to-top:hover::before {
    width: 200%;
    height: 200%;
}

.scroll-to-top:hover {
    transform: translateY(-8px) scale(1.15);
    box-shadow: 
        0 12px 35px rgba(212, 165, 116, 0.7),
        0 6px 20px rgba(245, 216, 150, 0.5),
        0 0 30px rgba(212, 165, 116, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: var(--gold-accent);
}

.scroll-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

.scroll-to-top.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
}

body.light-mode .scroll-to-top {
    background: linear-gradient(135deg, var(--light-brown) 0%, var(--light-gold) 100%);
    color: white;
    border-color: rgba(107, 88, 72, 0.4);
    box-shadow: 0 4px 15px rgba(107, 88, 72, 0.3);
}

body.light-mode .scroll-to-top:hover {
    box-shadow: 0 8px 25px rgba(107, 88, 72, 0.4);
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.logo-svg {
    width: 120px;
    height: 120px;
    color: var(--brown-gold);
    animation: logoFloat 4s ease-in-out infinite, logoRotate 20s linear infinite, logoPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(212, 175, 111, 0.6)) drop-shadow(0 0 30px rgba(212, 175, 111, 0.3));
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

@keyframes logoPulse {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(212, 175, 111, 0.6)) drop-shadow(0 0 30px rgba(212, 175, 111, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(212, 175, 111, 0.8)) drop-shadow(0 0 40px rgba(212, 175, 111, 0.5));
    }
}

.logo-img {
    width: 120px !important;
    height: 120px !important;
    object-fit: contain;
    margin-right: 20px;
    flex-shrink: 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.footer-logo-svg {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.footer-logo .logo-img {
    width: 50px !important;
    height: 50px !important;
    margin-right: 12px;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.05); }
}

@keyframes logoRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-text {
    font-size: 52px;
    background: linear-gradient(135deg, 
        var(--brown-gold) 0%, 
        var(--brown-gold-light) 25%,
        var(--gold-accent) 50%,
        var(--brown-gold-light) 75%,
        var(--brown-gold) 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradient 10s ease infinite, textShimmer 4s ease-in-out infinite;
    font-weight: 900;
    letter-spacing: 3px;
    text-shadow: 
        0 0 30px rgba(212, 175, 111, 0.6),
        0 0 60px rgba(212, 175, 111, 0.3);
    position: relative;
    z-index: 2;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

@keyframes textGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes textShimmer {
    0%, 100% {
        filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 30px rgba(212, 175, 111, 0.6));
    }
    50% {
        filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 50px rgba(212, 175, 111, 0.9));
    }
}

body.light-mode .logo-text {
    background: linear-gradient(135deg, var(--light-brown) 0%, var(--light-gold) 50%, var(--light-brown) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.light-mode .logo-svg {
    color: var(--light-brown);
    filter: drop-shadow(0 0 8px rgba(107, 88, 72, 0.3));
}

body.light-mode .menu-header {
    background: linear-gradient(135deg, var(--light-brown) 0%, var(--light-gold) 50%, var(--light-brown) 100%);
    border-bottom-color: var(--light-gold);
    box-shadow: 0 8px 32px rgba(107, 88, 72, 0.3);
}

.menu-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(212, 175, 111, 0.1) 50%, transparent 70%);
    animation: shine 3s infinite;
}

body.light-mode .menu-header::before {
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.menu-header h1 {
    font-size: 48px;
    font-weight: 800;
    text-shadow: 2px 2px 8px rgba(201, 169, 97, 0.5);
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(212, 175, 111, 0.5)); }
    to { filter: drop-shadow(0 0 15px rgba(212, 175, 111, 0.8)); }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Search Section */
.search-section {
    margin-bottom: 50px;
    animation: fadeInDown 0.6s ease-out;
}

.search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 18px 50px 18px 24px;
    background: rgba(45, 33, 24, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(212, 165, 116, 0.3);
    border-radius: 16px;
    color: var(--brown-cream, #e8dcc6);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(212, 165, 116, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.search-input::placeholder {
    color: rgba(232, 220, 198, 0.5);
}

.search-input:focus {
    outline: none;
    border-color: var(--brown-gold, #d4a574);
    box-shadow: 
        0 6px 30px rgba(212, 165, 116, 0.4),
        0 0 0 3px rgba(212, 165, 116, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: rgba(45, 33, 24, 0.95);
}

.clear-search-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(212, 165, 116, 0.2);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 50%;
    color: var(--brown-cream, #e8dcc6);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.clear-search-btn:hover {
    background: rgba(212, 165, 116, 0.3);
    border-color: var(--brown-gold, #d4a574);
    transform: translateY(-50%) scale(1.1);
}

.clear-search-btn.hidden {
    display: none;
}

.search-results {
    margin-top: 30px;
    animation: fadeInUp 0.4s ease-out;
}

.search-results.hidden {
    display: none;
}

.search-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.search-result-item {
    background: rgba(45, 33, 24, 0.85);
    backdrop-filter: blur(20px);
    border: 1.5px solid rgba(212, 165, 116, 0.3);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    border-color: var(--brown-gold, #d4a574);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

.search-result-category {
    font-size: 12px;
    color: rgba(232, 220, 198, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.search-result-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--brown-cream, #e8dcc6);
    margin-bottom: 8px;
}

.search-result-price {
    font-size: 24px;
    font-weight: 900;
    color: var(--brown-gold, #d4a574);
}

.search-no-results {
    text-align: center;
    padding: 40px;
    color: rgba(232, 220, 198, 0.6);
    font-size: 18px;
}

/* Menu Container - Premium */
.menu-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px 30px;
    min-height: calc(100vh - 200px);
    position: relative;
    z-index: 1;
}

.menu-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--brown-gold), transparent);
    opacity: 0.3;
    animation: containerGlow 4s ease-in-out infinite;
}

@keyframes containerGlow {
    0%, 100% {
        opacity: 0.2;
        box-shadow: 0 0 10px rgba(212, 165, 116, 0.2);
    }
    50% {
        opacity: 0.5;
        box-shadow: 0 0 20px rgba(212, 165, 116, 0.4);
    }
}

/* Section Title - Premium */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 50px;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 2px;
    animation: fadeInUp 0.8s ease-out, titleShimmer 4s ease-in-out infinite;
    position: relative;
    padding: 20px 0;
}

@keyframes titleShimmer {
    0%, 100% {
        text-shadow: 
            2px 2px 8px rgba(0, 0, 0, 0.5),
            0 0 20px rgba(212, 175, 111, 0.3);
    }
    50% {
        text-shadow: 
            2px 2px 12px rgba(0, 0, 0, 0.6),
            0 0 30px rgba(212, 175, 111, 0.5),
            0 0 50px rgba(212, 175, 111, 0.3);
    }
}

.title-line {
    flex: 1;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent 0%,
        transparent 20%,
        var(--brown-gold) 50%,
        transparent 80%,
        transparent 100%);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(212, 165, 116, 0.5);
}

.title-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmerLine 3s ease-in-out infinite;
}

@keyframes shimmerLine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

body.light-mode .title-line {
    background: linear-gradient(90deg, transparent, var(--light-brown), transparent);
}

.title-text {
    color: var(--brown-cream);
    text-shadow: 
        2px 2px 8px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(212, 175, 111, 0.4),
        0 0 40px rgba(212, 175, 111, 0.2);
    padding: 0 30px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    position: relative;
    background: linear-gradient(135deg, var(--brown-cream) 0%, var(--gold-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

body.light-mode .title-text {
    color: var(--light-brown);
    text-shadow: 0 2px 4px rgba(107, 88, 72, 0.1);
    font-weight: 800;
}

.categories-section h2,
.products-section h2 {
    display: none;
}

/* Back Button - Premium */
.back-btn {
    background: linear-gradient(135deg, 
        rgba(74, 52, 38, 0.9) 0%, 
        rgba(107, 93, 82, 0.9) 100%);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    color: var(--brown-cream);
    border: 2px solid var(--brown-gold);
    padding: 16px 32px;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin-bottom: 35px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 2px 10px rgba(212, 165, 116, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

body.light-mode .back-btn {
    background: linear-gradient(135deg, var(--light-bg-secondary) 0%, var(--light-cream) 100%);
    color: var(--light-brown);
    border-color: var(--light-brown);
    font-weight: 600;
}

body.light-mode .back-btn:hover {
    background: linear-gradient(135deg, var(--light-cream) 0%, var(--light-bg-secondary) 100%);
    border-color: var(--light-gold);
    color: var(--light-brown);
}

.back-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 111, 0.4), transparent);
    transition: left 0.6s ease;
}

.back-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.back-btn:hover::before {
    left: 100%;
}

.back-btn:hover::after {
    width: 300px;
    height: 300px;
}

.back-btn:hover {
    background: linear-gradient(135deg, 
        rgba(107, 93, 82, 0.95) 0%, 
        rgba(74, 52, 38, 0.95) 100%);
    border-color: var(--brown-gold-light);
    color: var(--gold-accent);
    transform: translateX(-8px) scale(1.03);
    box-shadow: 
        0 10px 30px rgba(212, 175, 111, 0.5),
        0 4px 15px rgba(245, 216, 150, 0.3),
        0 0 25px rgba(212, 165, 116, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.back-btn span {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.back-btn:hover span {
    transform: translateX(-3px);
}

/* Categories Grid - Premium */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 35px;
    margin-top: 50px;
    animation: fadeInUp 1s ease-out 0.2s both;
    position: relative;
}

.categories-grid::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brown-gold), transparent);
    opacity: 0.3;
}

.category-card {
    background: linear-gradient(145deg, 
        rgba(45, 33, 24, 0.85) 0%, 
        rgba(58, 46, 36, 0.9) 50%, 
        rgba(45, 33, 24, 0.85) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 28px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 4px 15px rgba(212, 165, 116, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 0px rgba(212, 165, 116, 0);
    position: relative;
    animation: slideInScale 0.6s ease-out both, floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-8px) rotate(0.3deg);
    }
    66% {
        transform: translateY(-4px) rotate(-0.2deg);
    }
}

.category-card:nth-child(even) {
    animation-delay: 0s, 3s;
}

.category-card:nth-child(odd) {
    animation-delay: 0s, 0s;
}

body.light-mode .category-card {
    background: linear-gradient(135deg, var(--light-bg-secondary) 0%, var(--light-cream) 100%);
    border-color: var(--light-border);
    box-shadow: 0 8px 25px rgba(107, 88, 72, 0.2);
}

    .category-card:nth-child(1) { animation-delay: 0.05s; }
    .category-card:nth-child(2) { animation-delay: 0.1s; }
    .category-card:nth-child(3) { animation-delay: 0.15s; }
    .category-card:nth-child(4) { animation-delay: 0.2s; }
    .category-card:nth-child(5) { animation-delay: 0.25s; }
    .category-card:nth-child(6) { animation-delay: 0.3s; }
    
    /* Disable float animation on mobile for better performance */
    @media (max-width: 768px) {
        .category-card,
        .product-card {
            animation: slideInScale 0.5s ease-out both !important;
        }
        
        .category-card:nth-child(1),
        .category-card:nth-child(2),
        .category-card:nth-child(3),
        .category-card:nth-child(4),
        .category-card:nth-child(5),
        .category-card:nth-child(6) {
            animation-delay: 0s !important;
        }
    }

@keyframes slideInScale {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 111, 0.15) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.category-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 111, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.category-card:hover {
    transform: translateY(-20px) scale(1.06) rotate(0.5deg) !important;
    box-shadow: 
        0 25px 60px rgba(212, 165, 116, 0.7),
        0 12px 35px rgba(245, 216, 150, 0.4),
        0 0 40px rgba(212, 165, 116, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--brown-gold);
    background: linear-gradient(145deg, 
        rgba(58, 46, 36, 0.95) 0%, 
        rgba(45, 33, 24, 0.98) 50%, 
        rgba(58, 46, 36, 0.95) 100%);
    animation-play-state: paused;
}

body.light-mode .category-card:hover {
    box-shadow: 0 15px 40px rgba(107, 88, 72, 0.35);
    border-color: var(--light-brown);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover::after {
    opacity: 1;
}

.category-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--brown-medium) 0%, var(--brown-dark) 100%);
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 0;
    filter: brightness(0.85) saturate(1.1);
    transform-origin: center center;
    border-radius: 26px 26px 0 0;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 26px 26px 0 0;
}

.category-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0.6;
    transition: opacity 0.5s ease;
}

.category-card:hover .category-image {
    transform: scale(1.15) translateY(-5px);
    filter: brightness(1) saturate(1.2);
}

.category-card:hover .category-image::after {
    opacity: 0.3;
}

.category-name {
    padding: 28px;
    text-align: center;
    font-size: 24px;
    font-weight: 800;
    color: var(--brown-cream);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, transparent 0%, rgba(212, 175, 111, 0.12) 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 1px;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(212, 175, 111, 0.2);
    font-family: 'Georgia', 'Times New Roman', serif;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

body.light-mode .category-name {
    color: var(--light-brown);
    background: linear-gradient(135deg, transparent 0%, rgba(107, 88, 72, 0.08) 100%);
    font-weight: 700;
}

.category-card:hover .category-name {
    color: var(--brown-gold-light);
    text-shadow: 0 0 10px rgba(212, 175, 111, 0.5);
}

body.light-mode .category-card:hover .category-name {
    color: var(--light-brown);
    text-shadow: 0 2px 4px rgba(107, 88, 72, 0.2);
}

/* Products Grid - Premium */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 50px;
    animation: fadeInUp 1s ease-out 0.2s both;
    position: relative;
}

.products-grid::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brown-gold), transparent);
    opacity: 0.3;
}

.product-card {
    background: linear-gradient(145deg, 
        rgba(45, 33, 24, 0.85) 0%, 
        rgba(58, 46, 36, 0.9) 50%, 
        rgba(45, 33, 24, 0.85) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 28px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.6),
        0 4px 15px rgba(212, 165, 116, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 0px rgba(212, 165, 116, 0);
    display: flex;
    flex-direction: column;
    position: relative;
    animation: slideInScale 0.6s ease-out both, floatCard 6s ease-in-out infinite;
}

.product-card:nth-child(even) {
    animation-delay: 0s, 3s;
}

.product-card:nth-child(odd) {
    animation-delay: 0s, 0s;
}

body.light-mode .product-card {
    background: linear-gradient(135deg, var(--light-bg-secondary) 0%, var(--light-cream) 100%);
    border-color: var(--light-border);
    box-shadow: 0 8px 25px rgba(107, 88, 72, 0.2);
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 175, 111, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-18px) scale(1.05) rotate(-0.5deg) !important;
    box-shadow: 
        0 25px 60px rgba(212, 165, 116, 0.7),
        0 12px 35px rgba(245, 216, 150, 0.4),
        0 0 40px rgba(212, 165, 116, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: var(--brown-gold);
    background: linear-gradient(145deg, 
        rgba(58, 46, 36, 0.95) 0%, 
        rgba(45, 33, 24, 0.98) 50%, 
        rgba(58, 46, 36, 0.95) 100%);
    animation-play-state: paused;
}

body.light-mode .product-card:hover {
    box-shadow: 0 15px 40px rgba(107, 88, 72, 0.35);
    border-color: var(--light-brown);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--brown-medium) 0%, var(--brown-dark) 100%);
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 0;
    filter: brightness(0.85) saturate(1.1);
    transform-origin: center center;
    border-radius: 26px 26px 0 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 26px 26px 0 0;
}

.product-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.18) translateY(-3px);
    filter: brightness(1) saturate(1.2);
}

.product-card:hover .product-image::after {
    opacity: 0.2;
}

.product-info {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, transparent 0%, rgba(61, 41, 20, 0.3) 100%);
}

body.light-mode .product-info {
    background: linear-gradient(180deg, transparent 0%, rgba(139, 111, 71, 0.05) 100%);
}

.product-name {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--brown-cream);
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 8px rgba(212, 175, 111, 0.2);
    font-family: 'Georgia', 'Times New Roman', serif;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.4;
}

body.light-mode .product-name {
    color: var(--light-brown);
    font-weight: 700;
}

.product-card:hover .product-name {
    color: var(--brown-gold-light);
}

body.light-mode .product-card:hover .product-name {
    color: var(--light-brown);
    text-shadow: 0 2px 4px rgba(107, 88, 72, 0.15);
}

.product-description {
    font-size: 16px;
    color: var(--brown-soft);
    margin-bottom: 22px;
    flex: 1;
    line-height: 1.7;
    letter-spacing: 0.3px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.product-card:hover .product-description {
    opacity: 1;
    color: var(--brown-cream);
}

body.light-mode .product-description {
    color: var(--light-brown);
    opacity: 0.85;
}

.product-price {
    font-size: 36px;
    font-weight: 900;
    color: var(--brown-gold, #d4a574);
    margin-top: auto;
    letter-spacing: 2px;
    position: relative;
    font-family: 'Arial', 'Helvetica', 'Roboto', 'Segoe UI', sans-serif;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(212, 165, 116, 0.6),
        0 0 30px rgba(212, 165, 116, 0.3);
    /* Animasyonlar kaldırıldı - fiyatlar statik görünecek */
    transform: none !important;
    animation: none !important;
    transition: none !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--brown-gold, #d4a574) !important;
    background-clip: unset !important;
}

body.light-mode .product-price {
    color: var(--light-brown, #7a6b5a);
    font-weight: 900;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.2),
        0 0 10px rgba(122, 107, 90, 0.4);
    transform: none !important;
    animation: none !important;
    transition: none !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: var(--light-brown, #7a6b5a) !important;
    background-clip: unset !important;
}

/* Fiyat hover efektlerini tamamen engelle */
.product-card:hover .product-price {
    transform: none !important;
    scale: 1 !important;
    color: var(--brown-gold, #d4a574) !important;
}

/* Menu Footer - Ultra Premium */
.menu-footer {
    background: linear-gradient(135deg, 
        rgba(74, 52, 38, 0.95) 0%, 
        rgba(107, 78, 59, 0.97) 25%,
        rgba(125, 90, 63, 0.98) 50%, 
        rgba(107, 78, 59, 0.97) 75%,
        rgba(74, 52, 38, 0.95) 100%);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 70px 20px 35px;
    margin-top: 90px;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--brown-gold), transparent) 1;
    box-shadow: 
        0 -6px 30px rgba(212, 175, 111, 0.5),
        0 -2px 15px rgba(212, 165, 116, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.menu-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--brown-gold), transparent);
    animation: footerShine 3s ease-in-out infinite;
}

@keyframes footerShine {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 20px rgba(212, 165, 116, 0.8);
    }
}

body.light-mode .menu-footer {
    background: linear-gradient(135deg, #a68b5f 0%, #c9a961 25%, #d4af6f 50%, #c9a961 75%, #a68b5f 100%);
    border-top-color: #f5d896;
    box-shadow: 0 -4px 20px rgba(245, 216, 150, 0.5);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #f5d896;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(212, 175, 111, 0.4);
}

body.light-mode .footer-section h3 {
    color: #fff8e1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-section p {
    color: #f5e6d3;
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 15px;
}

body.light-mode .footer-section p {
    color: #fff8e1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-logo .logo-text {
    font-size: 28px;
    color: #f5d896;
    text-shadow: 0 2px 4px rgba(212, 175, 111, 0.5);
}

body.light-mode .footer-logo .logo-text {
    color: #fff8e1;
    -webkit-text-fill-color: #fff8e1;
    background: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-tagline {
    font-style: italic;
    color: #f5e6d3 !important;
    opacity: 0.95;
    font-weight: 500;
}

body.light-mode .footer-tagline {
    color: #fff8e1 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-link {
    color: #f5e6d3;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
}

body.light-mode .social-link {
    color: #fff8e1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    color: #ffeb3b;
    transform: translateX(5px);
    text-shadow: 0 2px 4px rgba(255, 235, 59, 0.3);
}

body.light-mode .social-link:hover {
    color: #fffde7;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 111, 0.3);
    text-align: center;
}

body.light-mode .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.3);
}

.footer-bottom p {
    color: #f5e6d3;
    margin-bottom: 8px;
    font-size: 14px;
}

body.light-mode .footer-bottom p {
    color: #fff8e1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.footer-powered {
    font-size: 12px;
    opacity: 0.7;
}

/* Loading Animation */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.spinner {
    width: 70px;
    height: 70px;
    border: 5px solid var(--brown-medium);
    border-top-color: var(--brown-gold);
    border-right-color: var(--brown-gold-light);
    border-radius: 50%;
    animation: spin 1s linear infinite, spinnerPulse 2s ease-in-out infinite;
    box-shadow: 
        0 0 20px rgba(212, 165, 116, 0.5),
        inset 0 0 20px rgba(212, 165, 116, 0.1);
    position: relative;
}

.spinner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid transparent;
    border-top-color: var(--gold-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 0.5s linear infinite reverse;
}

@keyframes spinnerPulse {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(212, 165, 116, 0.5),
            inset 0 0 20px rgba(212, 165, 116, 0.1);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(212, 165, 116, 0.7),
            inset 0 0 30px rgba(212, 165, 116, 0.2);
    }
}

body.light-mode .spinner {
    border-color: var(--light-border);
    border-top-color: var(--light-brown);
}

.loading p {
    margin-top: 20px;
    color: var(--brown-cream);
    font-size: 18px;
    letter-spacing: 1px;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

body.light-mode .loading p {
    color: var(--light-text);
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Tablet View - Better spacing */
@media (max-width: 1024px) and (min-width: 769px) {
    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .category-card,
    .product-card {
        border-radius: 20px;
    }

    .category-image,
    .product-image {
        height: 220px;
    }

    .category-name {
        font-size: 18px;
        padding: 20px 16px;
        font-weight: 700;
    }

    .product-name {
        font-size: 26px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .product-description {
        font-size: 14px;
    }

    .product-price {
        font-size: 24px;
        font-weight: 800;
        letter-spacing: 1px;
    }
}

/* Responsive - Ultra Premium Mobile Optimized */
@media (max-width: 768px) {
    /* Desktop/Mobile Toggle */
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block;
    }

    .hamburger-btn {
        display: flex;
    }

    .menu-header {
        padding: 45px 15px 40px;
        min-height: auto;
        backdrop-filter: blur(15px) saturate(160%);
    }
    
    .menu-header h1,
    .logo-text {
        font-size: 28px;
        letter-spacing: 0.5px;
        line-height: 1.3;
    }

    .logo {
        font-size: 28px;
    }
    
    .logo-svg,
    .logo-img {
        width: 70px !important;
        height: 70px !important;
    }
    
    .logo-container {
        gap: 15px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .section-title {
        font-size: 26px;
        gap: 12px;
        margin-bottom: 30px;
        padding: 15px 0;
    }
    
    .title-text {
        padding: 0 15px;
        font-size: 26px;
        letter-spacing: 1px;
    }

    .title-line {
        height: 2px;
        box-shadow: 0 0 6px rgba(212, 165, 116, 0.4);
    }

    .scroll-to-top {
        width: 48px;
        height: 48px;
        font-size: 20px;
        border-width: 2.5px;
    }
    
    .scroll-to-top:active {
        transform: scale(0.92);
    }

    .header-buttons {
        padding: 0 12px;
        top: 12px;
        right: 0;
        gap: 8px;
    }

    .menu-container {
        padding: 30px 15px;
        max-width: 100%;
    }

    .menu-container::before {
        display: none;
    }

    /* Search Section Mobile */
    .search-section {
        margin-bottom: 35px;
    }

    .search-input {
        padding: 16px 45px 16px 18px;
        font-size: 15px;
        border-radius: 14px;
    }

    .search-results-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 25px;
    }

    .search-result-item {
        padding: 18px;
        border-radius: 14px;
    }

    .search-result-name {
        font-size: 17px;
    }

    .search-result-price {
        font-size: 22px;
    }

    /* Categories and Products Grid - 2 COLUMNS on Mobile */
    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-top: 30px;
        padding: 0 2px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Ensure cards fill available width */
    .category-card,
    .product-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    .category-card,
    .product-card {
        border-radius: 18px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-shadow: 
            0 4px 15px rgba(0, 0, 0, 0.4),
            0 2px 6px rgba(212, 165, 116, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
        animation: slideInScale 0.4s ease-out both !important;
        /* Disable float animation on mobile for better performance */
        overflow: hidden;
        border: 1px solid rgba(212, 165, 116, 0.2);
    }
    
    /* Ensure cards don't overflow */
    .categories-grid,
    .products-grid {
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Better visual hierarchy on mobile */
    .category-card::before,
    .product-card::before {
        display: none; /* Disable overlay effects on mobile */
    }
    
    .category-card::after,
    .product-card::after {
        display: none; /* Disable radial gradient effects on mobile */
    }

    /* Disable hover effects on touch devices */
    @media (hover: none) {
        .category-card:hover,
        .product-card:hover {
            transform: none !important;
            box-shadow: 
                0 4px 15px rgba(0, 0, 0, 0.4),
                0 2px 6px rgba(212, 165, 116, 0.15) !important;
        }
        
        .category-card:hover .category-name,
        .product-card:hover .product-name,
        .product-card:hover .product-price {
            transform: none !important;
            text-shadow: none !important;
            scale: 1 !important;
        }
    }

    .category-card:active,
    .product-card:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease;
        box-shadow: 
            0 2px 8px rgba(0, 0, 0, 0.35),
            0 1px 3px rgba(212, 165, 116, 0.12) !important;
    }
    
    /* Better card spacing on mobile */
    .category-card:not(:last-child),
    .product-card:not(:last-child) {
        margin-bottom: 0;
    }

    .category-image,
    .product-image {
        height: 160px !important;
        width: 100%;
        border-radius: 18px 18px 0 0;
        object-fit: cover;
        background: linear-gradient(135deg, rgba(45, 33, 24, 0.9) 0%, rgba(58, 46, 36, 0.95) 100%);
        transition: transform 0.3s ease, filter 0.3s ease;
        position: relative;
    }
    
    /* Better image quality on mobile */
    .category-image img,
    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        border-radius: 18px 18px 0 0;
    }
    
    /* Empty image placeholder for mobile */
    .category-image:empty::before,
    .product-image:empty::before {
        content: '📷';
        font-size: 56px;
        opacity: 0.25;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .category-card:hover .category-image,
    .product-card:hover .product-image {
        transform: none !important;
    }

    .category-name {
        font-size: 13px !important;
        padding: 14px 10px !important;
        line-height: 1.3;
        font-weight: 600;
        letter-spacing: 0.2px;
        min-height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        background: linear-gradient(135deg, rgba(212, 175, 111, 0.12) 0%, rgba(245, 216, 150, 0.06) 100%);
        text-shadow: none !important;
        font-family: inherit !important;
    }

    .product-info {
        padding: 12px 10px !important;
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .product-name {
        font-size: 20px !important;
        margin-bottom: 5px !important;
        font-weight: 600 !important;
        line-height: 1.2;
        min-height: auto;
        letter-spacing: 0.15px;
        text-shadow: none !important;
        font-family: inherit !important;
    }
    
    .product-description {
        font-size: 12px !important;
        margin-bottom: 6px !important;
        line-height: 1.3;
        color: rgba(232, 220, 198, 0.65);
        min-height: auto;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        letter-spacing: 0.05px;
    }

    .product-price {
        font-size: 14px !important;
        letter-spacing: 0.3px;
        margin-top: 5px;
        text-align: center;
        padding: 6px 0;
        border-top: 1px solid rgba(212, 165, 116, 0.2);
        background: linear-gradient(135deg, rgba(212, 165, 116, 0.08) 0%, rgba(212, 165, 116, 0.04) 50%, transparent 100%);
        border-radius: 0;
        font-weight: 600;
        color: var(--brown-gold, #d4a574);
        text-shadow: none !important;
        font-family: 'Arial', 'Helvetica', sans-serif !important;
    }

    .language-toggle-container {
        gap: 10px;
    }

    .lang-option-btn {
        padding: 14px 20px;
        font-size: 15px;
    }

    .lang-flag {
        font-size: 22px;
    }

    .back-btn {
        padding: 14px 24px;
        font-size: 16px;
        margin-bottom: 25px;
        border-radius: 14px;
        width: 100%;
        justify-content: center;
    }

    .back-btn span {
        font-size: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section {
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .footer-logo {
        justify-content: center;
        margin-bottom: 12px;
    }
    
    .social-links {
        align-items: center;
        gap: 12px;
    }
    
    .footer-bottom {
        text-align: center;
        padding-top: 25px;
    }
    
    .menu-footer {
        padding: 45px 18px 25px;
    }
}

@media (max-width: 480px) {
    /* Cards 2 COLUMNS on small screens */
    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-top: 22px;
        padding: 0;
    }

    .category-card,
    .product-card {
        border-radius: 14px;
        width: 100%;
        box-shadow: 
            0 3px 12px rgba(0, 0, 0, 0.4),
            0 1px 4px rgba(212, 165, 116, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
        animation: slideInScale 0.4s ease-out both !important;
        border: 1px solid rgba(212, 165, 116, 0.18);
    }

    .category-card:hover,
    .product-card:hover {
        transform: none !important;
        box-shadow: 
            0 5px 18px rgba(0, 0, 0, 0.5),
            0 2px 6px rgba(212, 165, 116, 0.2) !important;
    }

    .category-image,
    .product-image {
        height: 140px !important;
        border-radius: 14px 14px 0 0;
    }

    .category-card:hover .category-image,
    .product-card:hover .product-image {
        transform: none !important;
        filter: brightness(0.85) saturate(1.1) !important;
    }
    
    .category-card:hover .category-name,
    .product-card:hover .product-name {
        text-shadow: none !important;
        transform: none !important;
    }
    
    .category-name {
        font-size: 12px !important;
        padding: 12px 8px !important;
        min-height: auto;
        line-height: 1.25;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        text-shadow: none !important;
        font-family: inherit !important;
        letter-spacing: 0.2px;
    }

    .menu-header {
        padding: 38px 10px 32px;
        min-height: auto;
        backdrop-filter: blur(10px) saturate(150%);
    }

    .menu-header h1,
    .logo-text {
        font-size: 22px;
        letter-spacing: 0.5px;
        line-height: 1.3;
    }
    
    .logo-svg,
    .logo-img {
        width: 55px !important;
        height: 55px !important;
    }
    
    .logo-container {
        gap: 10px;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .language-toggle {
        min-width: 70px;
        height: 32px;
        padding: 4px;
        gap: 2px;
    }

    .language-toggle .lang-option {
        font-size: 11px;
        padding: 3px 8px;
        min-width: 26px;
    }
    
    .section-title {
        font-size: 20px;
        gap: 8px;
        margin-bottom: 22px;
        padding: 10px 0;
    }
    
    .title-text {
        padding: 0 10px;
        font-size: 20px;
        letter-spacing: 0.5px;
    }

    .title-line {
        height: 1.5px;
        box-shadow: 0 0 4px rgba(212, 165, 116, 0.3);
    }
    
    .header-buttons {
        top: 10px;
        right: 0;
        padding: 0 10px;
        gap: 6px;
    }
    
    .scroll-to-top {
        width: 42px;
        height: 42px;
        font-size: 17px;
        border-width: 2px;
    }
    
    .scroll-to-top:active {
        transform: scale(0.88);
    }
    
    .menu-container {
        padding: 22px 10px;
    }

    /* Search Section Extra Small */
    .search-section {
        margin-bottom: 22px;
    }

    .search-input {
        padding: 14px 38px 14px 14px;
        font-size: 14px;
        border-radius: 12px;
    }

    .search-results-grid {
        gap: 12px;
    }

    .search-result-item {
        padding: 14px;
        border-radius: 12px;
    }

    .search-result-name {
        font-size: 15px;
    }

    .search-result-price {
        font-size: 19px;
    }

    .product-info {
        padding: 10px 8px !important;
        gap: 5px;
        display: flex;
        flex-direction: column;
    }

    .product-name {
        font-size: 18px !important;
        margin-bottom: 4px !important;
        min-height: auto;
        line-height: 1.2;
        font-weight: 600;
        word-break: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
        color: var(--brown-cream, #e8dcc6);
        text-shadow: none !important;
        font-family: inherit !important;
        letter-spacing: 0.15px;
    }

    .product-description {
        font-size: 11px !important;
        margin-bottom: 5px !important;
        line-height: 1.3;
        min-height: auto;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        word-break: break-word;
        letter-spacing: 0.05px;
        color: rgba(232, 220, 198, 0.6);
    }

    .product-price {
        font-size: 12px !important;
        letter-spacing: 0.2px;
        padding: 5px 0;
        text-align: center;
        border-top: 1px solid rgba(212, 165, 116, 0.2);
        margin-top: 5px;
        background: linear-gradient(135deg, rgba(212, 165, 116, 0.08) 0%, rgba(212, 165, 116, 0.04) 50%, transparent 100%);
        border-radius: 0;
        font-weight: 600;
        color: var(--brown-gold, #d4a574);
        text-shadow: none !important;
        font-family: 'Arial', 'Helvetica', sans-serif !important;
    }
    
    /* Light mode mobile optimizations */
    body.light-mode .product-name {
        color: var(--light-brown) !important;
        font-weight: 600 !important;
    }
    
    body.light-mode .product-price {
        color: var(--light-brown, #7a6b5a) !important;
        text-shadow: none !important;
    }
    
    body.light-mode .category-name {
        color: var(--light-brown) !important;
        font-weight: 600 !important;
        text-shadow: none !important;
    }

    .back-btn {
        padding: 12px 18px;
        font-size: 14px;
        margin-bottom: 20px;
        border-radius: 12px;
        width: 100%;
        justify-content: center;
    }

    .back-btn span {
        font-size: 16px;
    }

    .lang-option-btn {
        padding: 11px 16px;
        font-size: 13px;
    }

    .lang-flag {
        font-size: 18px;
    }
    
    .footer-section h3 {
        font-size: 16px;
    }
    
    .menu-footer {
        padding: 35px 12px 18px;
    }
}

/* Touch optimization for mobile */
@media (hover: none) and (pointer: coarse) {
    .category-card,
    .product-card {
        -webkit-tap-highlight-color: rgba(212, 165, 116, 0.25);
        touch-action: manipulation;
        cursor: pointer;
        min-height: 200px; /* Ensure minimum tap target size */
    }

    .category-card:active,
    .product-card:active {
        transform: scale(0.97) !important;
        transition: transform 0.15s ease;
        box-shadow: 
            0 4px 15px rgba(0, 0, 0, 0.4),
            0 2px 6px rgba(212, 165, 116, 0.2) !important;
    }
    
    .back-btn:active {
        transform: scale(0.96);
    }
    
    .scroll-to-top {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        min-width: 44px;
        min-height: 44px; /* iOS recommended tap target */
    }
    
    .scroll-to-top:active {
        background: linear-gradient(135deg, var(--brown-gold-light) 0%, var(--gold-accent) 100%);
        transform: scale(0.92);
    }
    
    body.light-mode .scroll-to-top:active {
        background: linear-gradient(135deg, var(--light-gold) 0%, var(--light-brown) 100%);
    }

    /* Disable hover animations on touch devices */
    .category-card:hover,
    .product-card:hover {
        animation: none !important;
        transform: none !important;
    }

    .category-card:hover .category-image,
    .product-card:hover .product-image {
        transform: none !important;
        filter: brightness(0.85) saturate(1.1) !important;
    }

    .category-card:hover .category-name,
    .product-card:hover .product-name {
        transform: none !important;
    }
    
    /* Better touch targets */
    .category-card,
    .product-card {
        padding: 0;
        margin: 0;
    }
    
    .lang-option-btn {
        min-height: 44px; /* iOS recommended tap target */
        -webkit-tap-highlight-color: rgba(212, 165, 116, 0.2);
    }
}

/* Scroll to top button fixed on mobile when visible */
@media (max-width: 768px) {
    .scroll-to-top:not(.hidden) {
        animation: buttonPulse 2s ease-in-out infinite;
    }
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(212, 165, 116, 0.3);
    }
    50% {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5), 0 3px 10px rgba(212, 165, 116, 0.5);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .category-image,
    .product-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* RTL (Right-to-Left) Support for Arabic */
html[dir="rtl"],
html[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .menu-header,
html[dir="rtl"] .logo-container,
html[dir="rtl"] .categories-grid,
html[dir="rtl"] .products-grid {
    direction: rtl;
}

html[dir="rtl"] .back-btn {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .back-btn span {
    transform: scaleX(-1);
}

html[dir="rtl"] .language-toggle::before {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html[dir="rtl"] .language-toggle[data-lang="tr"]::before {
    left: 6px;
    right: auto;
}

html[dir="rtl"] .language-toggle[data-lang="en"]::before {
    left: calc(33.333% + 2px);
    right: auto;
}

html[dir="rtl"] .language-toggle[data-lang="ar"]::before {
    left: calc(66.666% - 2px);
    right: auto;
}

html[dir="rtl"] .hamburger-btn {
    left: 15px;
    right: auto;
}

html[dir="rtl"] .header-buttons {
    left: 0;
    right: auto;
}

html[dir="rtl"] .scroll-to-top {
    left: 0;
    right: auto;
}

html[dir="rtl"] .hamburger-menu-content {
    left: 0;
    right: auto;
    border-left: none;
    border-right: 1.5px solid rgba(212, 165, 116, 0.3);
    transform: translateX(-100%);
}

html[dir="rtl"] .hamburger-menu.open .hamburger-menu-content {
    transform: translateX(0);
}

html[dir="rtl"] .search-input {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .search-input::placeholder {
    text-align: right;
}

html[dir="rtl"] .clear-search-btn {
    left: 12px;
    right: auto;
}

html[dir="rtl"] .search-result-item {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .search-result-price {
    text-align: right;
}

html[dir="rtl"] .back-btn {
    flex-direction: row-reverse;
}

html[dir="rtl"] .back-btn span {
    transform: scaleX(-1);
}

/* ==================== FEEDBACK SECTION ==================== */

.feedback-section {
    margin-top: 80px;
    padding: 60px 20px;
}

.feedback-container {
    max-width: 800px;
    margin: 0 auto;
}

.feedback-form-card {
    background: var(--card-background-color, rgba(45, 33, 24, 0.85));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1.5px solid rgba(212, 165, 116, 0.3);
    border-radius: 28px;
    padding: 50px 40px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(212, 165, 116, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: fadeInDown 0.6s ease-out;
}

.feedback-description {
    text-align: center;
    color: var(--text-color, var(--brown-cream));
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.rating-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-label {
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
}

.rating-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color, var(--brown-cream));
    letter-spacing: 0.3px;
}

.star-rating {
    display: flex;
    gap: 8px;
    align-items: center;
    direction: ltr;
}

.star {
    font-size: 32px;
    color: rgba(232, 220, 198, 0.3);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.star:hover {
    transform: scale(1.2);
    color: var(--brown-gold, #d4a574);
}

.star.active {
    color: var(--brown-gold, #d4a574);
    text-shadow: 
        0 0 10px rgba(212, 165, 116, 0.5),
        0 2px 4px rgba(0, 0, 0, 0.3);
}

.comment-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color, var(--brown-cream));
    letter-spacing: 0.3px;
}

.feedback-comment {
    width: 100%;
    padding: 18px 20px;
    background: rgba(30, 20, 12, 0.6);
    border: 1.5px solid rgba(212, 165, 116, 0.3);
    border-radius: 16px;
    color: var(--text-color, var(--brown-cream));
    font-size: 15px;
    font-family: inherit;
    line-height: 1.6;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feedback-comment:focus {
    outline: none;
    border-color: var(--brown-gold, #d4a574);
    box-shadow: 
        0 0 0 3px rgba(212, 165, 116, 0.2),
        0 4px 16px rgba(0, 0, 0, 0.3);
    background: rgba(35, 25, 15, 0.7);
}

.feedback-comment::placeholder {
    color: rgba(232, 220, 198, 0.4);
}

.feedback-submit-btn {
    margin-top: 10px;
    padding: 18px 36px;
    background: linear-gradient(135deg, var(--brown-gold, #d4a574) 0%, var(--brown-gold-light, #e8c19a) 100%);
    border: none;
    border-radius: 18px;
    color: var(--brown-dark, #2d1b0e);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 20px rgba(212, 165, 116, 0.4),
        0 0 0 1px rgba(212, 165, 116, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feedback-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 28px rgba(212, 165, 116, 0.5),
        0 0 0 1px rgba(212, 165, 116, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.feedback-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.feedback-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.feedback-success-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feedback-success-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.feedback-success-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.95) 0%, rgba(39, 174, 96, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 18px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    color: white;
    min-width: 320px;
    animation: feedbackSuccessPulse 0.5s ease-out;
}

@keyframes feedbackSuccessPulse {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.feedback-success-icon {
    font-size: 32px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: feedbackIconBounce 0.6s ease-out;
}

@keyframes feedbackIconBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3) rotate(10deg);
    }
}

.feedback-success-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.feedback-success-text strong {
    font-size: 18px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.feedback-success-text span {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.95;
    line-height: 1.4;
}

/* Feedback Mobile Responsive */
@media (max-width: 768px) {
    .feedback-section {
        margin-top: 50px;
        padding: 40px 15px;
    }

    .feedback-form-card {
        padding: 35px 25px;
        border-radius: 24px;
    }

    .feedback-description {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .rating-name {
        font-size: 15px;
    }

    .star {
        font-size: 28px;
    }

    .feedback-comment {
        padding: 15px 18px;
        font-size: 14px;
        min-height: 100px;
    }

    .feedback-submit-btn {
        padding: 16px 32px;
        font-size: 16px;
    }

    .feedback-success-notification {
        top: 15px;
        right: 15px;
        left: 15px;
    }

    .feedback-success-notification.show {
        transform: translateX(0);
    }

    .feedback-success-content {
        padding: 20px 22px;
        min-width: auto;
        gap: 14px;
    }

    .feedback-success-icon {
        font-size: 28px;
    }

    .feedback-success-text strong {
        font-size: 16px;
    }

    .feedback-success-text span {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .feedback-section {
        margin-top: 35px;
        padding: 30px 12px;
    }

    .feedback-form-card {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .feedback-description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .rating-name {
        font-size: 14px;
    }

    .star {
        font-size: 24px;
    }

    .star-rating {
        gap: 6px;
    }

    .feedback-comment {
        padding: 14px 16px;
        font-size: 13px;
        min-height: 90px;
    }

    .feedback-submit-btn {
        padding: 14px 28px;
        font-size: 15px;
    }

    .feedback-success-content {
        padding: 18px 20px;
        min-width: auto;
        gap: 12px;
    }

    .feedback-success-icon {
        font-size: 24px;
    }

    .feedback-success-text strong {
        font-size: 15px;
    }

    .feedback-success-text span {
        font-size: 12px;
    }
}

/* ==================== CUSTOM MODAL (Feedback) ==================== */

.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.custom-modal.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.custom-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.custom-modal-content {
    position: relative;
    background: var(--card-background-color, linear-gradient(145deg, rgba(45, 33, 24, 0.95) 0%, rgba(26, 15, 8, 0.95) 100%));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 28px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(212, 165, 116, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    max-width: 480px;
    width: calc(100% - 40px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    transform: scale(0.9);
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    animation: modalSlideIn 0.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    border: 1.5px solid rgba(212, 165, 116, 0.3);
    margin: 0;
    flex-shrink: 0;
    align-self: center;
}

.custom-modal.show .custom-modal-content {
    transform: scale(1);
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.custom-modal-header {
    padding: 28px 32px;
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.15) 0%, rgba(45, 33, 24, 0.4) 100%);
}

.custom-modal-header h3 {
    margin: 0;
    color: var(--brown-gold, #d4a574);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.custom-modal-close {
    background: transparent;
    border: none;
    color: var(--text-color, #e8dcc6);
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-modal-close:hover {
    background: rgba(212, 165, 116, 0.2);
    color: var(--brown-gold, #d4a574);
    transform: rotate(90deg);
}

.custom-modal-body {
    padding: 36px 32px;
    text-align: center;
}

.custom-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: bold;
    animation: iconPulse 0.6s ease;
}

.custom-modal-icon.warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(255, 152, 0, 0.3) 100%);
    color: #ffc107;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.4);
}

.custom-modal-icon.error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.2) 0%, rgba(211, 47, 47, 0.3) 100%);
    color: #f44336;
    box-shadow: 0 0 20px rgba(244, 67, 54, 0.4);
}

.custom-modal-icon.info {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.2) 0%, rgba(25, 118, 210, 0.3) 100%);
    color: #2196f3;
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.4);
}

.custom-modal-icon.success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.25) 0%, rgba(56, 142, 60, 0.35) 100%);
    color: #4caf50;
    box-shadow: 
        0 0 30px rgba(76, 175, 80, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15) rotate(5deg);
    }
}

.custom-modal-body p {
    margin: 0;
    color: var(--text-color, #e8dcc6);
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: 0.3px;
}

.custom-modal-footer {
    padding: 24px 32px 32px;
    display: flex;
    gap: 12px;
    justify-content: center;
}

.custom-modal-btn {
    padding: 14px 32px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
    min-width: 120px;
}

.custom-modal-btn-primary {
    background: linear-gradient(135deg, var(--brown-gold, #d4a574) 0%, var(--brown-gold-light, #e8c19a) 100%);
    color: var(--brown-dark, #2d1b0e);
    box-shadow: 
        0 4px 16px rgba(212, 165, 116, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.custom-modal-btn-primary:hover {
    background: linear-gradient(135deg, var(--brown-gold-light, #e8c19a) 0%, var(--gold-accent, #f5d896) 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(212, 165, 116, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.custom-modal-btn-primary:active {
    transform: translateY(0);
}

/* Modal Mobile Responsive */
@media (max-width: 768px) {
    .custom-modal-content {
        max-width: 90%;
        border-radius: 24px;
    }

    .custom-modal-header {
        padding: 24px 28px;
    }

    .custom-modal-header h3 {
        font-size: 20px;
    }

    .custom-modal-close {
        width: 32px;
        height: 32px;
        font-size: 32px;
    }

    .custom-modal-body {
        padding: 30px 28px;
    }

    .custom-modal-icon {
        width: 70px;
        height: 70px;
        font-size: 36px;
    }

    .custom-modal-body p {
        font-size: 16px;
    }

    .custom-modal-footer {
        padding: 20px 28px 28px;
    }

    .custom-modal-btn {
        padding: 12px 28px;
        font-size: 15px;
        min-width: 100px;
    }
}

@media (max-width: 480px) {
    .custom-modal-content {
        max-width: 95%;
        border-radius: 20px;
    }

    .custom-modal-header {
        padding: 20px 24px;
    }

    .custom-modal-header h3 {
        font-size: 18px;
    }

    .custom-modal-close {
        width: 28px;
        height: 28px;
        font-size: 28px;
    }

    .custom-modal-body {
        padding: 24px 24px;
    }

    .custom-modal-icon {
        width: 60px;
        height: 60px;
        font-size: 32px;
        margin-bottom: 20px;
    }

    .custom-modal-body p {
        font-size: 15px;
    }

    .custom-modal-footer {
        padding: 18px 24px 24px;
        flex-direction: column;
    }

    .custom-modal-btn {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* ==================== LAZY LOADING ==================== */
img.lazy-load {
    opacity: 0.3;
    transition: opacity 0.4s ease-in-out;
    background: linear-gradient(135deg, rgba(45, 33, 24, 0.3) 0%, rgba(26, 15, 8, 0.3) 100%);
    background-size: cover;
    background-position: center;
}

img.lazy-load.loaded,
img:not(.lazy-load) {
    opacity: 1;
}

/* ==================== THEME 2 - MODERN MINIMAL STYLE ==================== */
body.theme-2 {
    background: #ffffff !important;
    color: #1a1a1a !important;
}

body.theme-2.dark-mode {
    background: #0a0a0a !important;
    color: #ffffff !important;
}

body.theme-2.dark-mode::before {
    display: none !important;
}

body.theme-2.dark-mode::after {
    display: none !important;
}

/* Theme 2 - Header */
body.theme-2 .menu-header {
    background: #ffffff !important;
    border-bottom: 2px solid #e0e0e0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: none !important;
}

body.theme-2.dark-mode .menu-header {
    background: #1a1a1a !important;
    border-bottom: 2px solid #333333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

body.theme-2 .menu-header h1 {
    color: #000000 !important;
    text-shadow: none !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
}

body.theme-2.dark-mode .menu-header h1 {
    color: #ffffff !important;
}

body.theme-2 .menu-header .tagline {
    color: #666666 !important;
    font-weight: 400 !important;
}

body.theme-2.dark-mode .menu-header .tagline {
    color: #aaaaaa !important;
}

/* Theme 2 - Category Cards */
body.theme-2 .category-card {
    background: #ffffff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.2s ease !important;
}

body.theme-2.dark-mode .category-card {
    background: #1a1a1a !important;
    border: 2px solid #333333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

body.theme-2 .category-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    border-color: #333333 !important;
}

body.theme-2.dark-mode .category-card:hover {
    border-color: #555555 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

body.theme-2 .category-name {
    color: #000000 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

body.theme-2.dark-mode .category-name {
    color: #ffffff !important;
}

/* Theme 2 - Product Cards */
body.theme-2 .product-card {
    background: #ffffff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    transition: all 0.2s ease !important;
}

body.theme-2.dark-mode .product-card {
    background: #1a1a1a !important;
    border: 2px solid #333333 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

body.theme-2 .product-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    border-color: #000000 !important;
}

body.theme-2.dark-mode .product-card:hover {
    border-color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

body.theme-2 .product-name {
    color: #000000 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
}

body.theme-2.dark-mode .product-name {
    color: #ffffff !important;
}

body.theme-2 .product-description {
    color: #666666 !important;
}

body.theme-2.dark-mode .product-description {
    color: #aaaaaa !important;
}

/* Theme 2 - Product Price */
body.theme-2 .product-price {
    color: #000000 !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #000000 !important;
    background-clip: unset !important;
    text-shadow: none !important;
    font-weight: 900 !important;
}

body.theme-2.dark-mode .product-price {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body.theme-2 .product-card:hover .product-price {
    transform: none !important;
    scale: 1 !important;
}

/* Theme 2 - Section Headers */
body.theme-2 .section-header h2 {
    color: #000000 !important;
    text-shadow: none !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px !important;
    border-bottom: 2px solid #000000 !important;
    padding-bottom: 10px !important;
}

body.theme-2.dark-mode .section-header h2 {
    color: #ffffff !important;
    border-bottom-color: #ffffff !important;
}

/* Theme 2 - Footer */
body.theme-2 .menu-footer {
    background: #f5f5f5 !important;
    border-top: 2px solid #e0e0e0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

body.theme-2.dark-mode .menu-footer {
    background: #0a0a0a !important;
    border-top: 2px solid #333333 !important;
}

body.theme-2 .menu-footer h3,
body.theme-2 .menu-footer p {
    color: #000000 !important;
}

body.theme-2.dark-mode .menu-footer h3,
body.theme-2.dark-mode .menu-footer p {
    color: #ffffff !important;
}

body.theme-2 .menu-footer::before {
    display: none !important;
}

/* Theme 2 - Language Toggle */
body.theme-2 .language-toggle {
    background: #ffffff !important;
    border: 2px solid #e0e0e0 !important;
    border-radius: 0 !important;
}

body.theme-2.dark-mode .language-toggle {
    background: #1a1a1a !important;
    border: 2px solid #333333 !important;
}

body.theme-2 .language-toggle::before {
    background: #000000 !important;
    border-radius: 0 !important;
}

body.theme-2.dark-mode .language-toggle::before {
    background: #ffffff !important;
}

body.theme-2 .lang-option {
    color: #000000 !important;
    font-weight: 600 !important;
}

body.theme-2.dark-mode .lang-option {
    color: #ffffff !important;
}

body.theme-2 .lang-option.active {
    color: #ffffff !important;
}

body.theme-2.dark-mode .lang-option.active {
    color: #000000 !important;
}

/* Theme 2 - Remove all animations */
body.theme-2 *,
body.theme-2 *::before,
body.theme-2 *::after {
    animation: none !important;
    transition: all 0.2s ease !important;
}

body.theme-2 .category-card,
body.theme-2 .product-card {
    animation: fadeInUp 0.3s ease-out !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RTL Improvements */
html[dir="rtl"] .search-input {
    text-align: right;
    direction: rtl;
    padding: 18px 24px 18px 50px;
}

html[dir="rtl"] .search-input::placeholder {
    text-align: right;
}

html[dir="rtl"] .clear-search-btn {
    left: 12px;
    right: auto;
}

html[dir="rtl"] .search-result-item {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .search-result-price {
    text-align: right;
    direction: ltr; /* Keep price in LTR for currency symbol */
}

html[dir="rtl"] .back-btn {
    flex-direction: row-reverse;
}

html[dir="rtl"] .back-btn span {
    transform: scaleX(-1);
}

/* Improve RTL support for product cards */
html[dir="rtl"] .product-card,
html[dir="rtl"] .category-card {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .product-info,
html[dir="rtl"] .category-name {
    text-align: right;
}

html[dir="rtl"] .product-price {
    text-align: right;
    direction: ltr; /* Keep price in LTR for currency symbol */
}

/* Improve RTL for hamburger menu */
html[dir="rtl"] .hamburger-menu-header {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hamburger-close {
    order: -1;
}

html[dir="rtl"] .language-toggle-container {
    direction: rtl;
}

/* RTL improvements for footer */
html[dir="rtl"] .footer-content {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"] .social-links {
    align-items: flex-end;
}

html[dir="rtl"] .social-link:hover {
    transform: translateX(-5px);
}

html[dir="rtl"] .lang-option-btn {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"] .lang-option-btn:hover {
    transform: translateX(-4px);
}

/* Extra Mobile Optimizations - Very Small Screens */
@media (max-width: 360px) {
    .menu-header {
        padding: 35px 8px 30px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-svg,
    .logo-img {
        width: 50px !important;
        height: 50px !important;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .title-text {
        font-size: 18px;
        padding: 0 8px;
    }

    .categories-grid,
    .products-grid {
        gap: 14px !important;
        margin-top: 20px;
    }

    .category-image,
    .product-image {
        height: 130px !important;
    }

    .category-name {
        font-size: 11px !important;
        padding: 10px 6px !important;
        min-height: auto;
        font-weight: 600 !important;
        text-shadow: none !important;
        font-family: inherit !important;
        letter-spacing: 0.15px;
    }

    .product-name {
        font-size: 16px !important;
        min-height: auto;
        font-weight: 600 !important;
        text-shadow: none !important;
        font-family: inherit !important;
        letter-spacing: 0.1px;
        line-height: 1.2;
    }

    .product-description {
        font-size: 10px !important;
        min-height: auto;
        color: rgba(232, 220, 198, 0.55);
        line-height: 1.25;
    }

    .product-price {
        font-size: 12px !important;
        padding: 4px 0;
        font-weight: 600 !important;
        text-shadow: none !important;
        letter-spacing: 0.2px;
    }

    .search-input {
        padding: 12px 35px 12px 12px;
        font-size: 13px;
    }

    .menu-container {
        padding: 20px 8px;
    }
}

/* Landscape Mobile Optimization */
@media (max-width: 768px) and (orientation: landscape) and (max-height: 500px) {
    .menu-header {
        padding: 25px 15px 20px;
    }

    .logo-text {
        font-size: 22px;
    }

    .logo-svg,
    .logo-img {
        width: 45px !important;
        height: 45px !important;
    }

    .categories-grid,
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    .category-image,
    .product-image {
        height: 140px !important;
    }

    .category-name {
        font-size: 13px !important;
        padding: 12px 8px !important;
        min-height: auto;
    }

    .product-name {
        font-size: 18px !important;
        min-height: auto;
        font-weight: 600 !important;
        text-shadow: none !important;
        font-family: inherit !important;
        letter-spacing: 0.15px;
        line-height: 1.2;
    }

    .product-description {
        font-size: 11px !important;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        min-height: auto;
        color: rgba(232, 220, 198, 0.6);
        line-height: 1.3;
    }

    .product-price {
        font-size: 12px !important;
        padding: 5px 0;
        font-weight: 600 !important;
        text-shadow: none !important;
        letter-spacing: 0.2px;
    }

    .section-title {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .product-info {
        padding: 12px 10px !important;
    }
}
