/* ============================================
   LESEHAN MEY-MEY - Restaurant Website
   Mobile-First Elegant Design
   ============================================ */

/* ============================================
   CSS Variables & Design Tokens
   ============================================ */
:root {
    /* Primary Colors - Warm Earth Tones */
    --primary-dark: #1a1a1a;
    --primary-brown: #8B4513;
    --primary-orange: #D2691E;
    --primary-gold: #DAA520;
    --accent-red: #C73030;
    --accent-green: #2E7D32;

    /* Background Colors */
    --bg-dark: #0f0f0f;
    --bg-card: #1e1e1e;
    --bg-light: #faf8f5;
    --bg-cream: #f5f0e8;
    --bg-overlay: rgba(0, 0, 0, 0.7);

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-dark: #2c2c2c;
    --text-muted: #666666;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #D2691E 0%, #8B4513 100%);
    --gradient-gold: linear-gradient(135deg, #DAA520 0%, #B8860B 100%);
    --gradient-dark: linear-gradient(180deg, rgba(15, 15, 15, 0) 0%, rgba(15, 15, 15, 1) 100%);
    --gradient-hero: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(210, 105, 30, 0.3);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-xxl: 3rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

ul,
ol {
    list-style: none;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ============================================
   Typography
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
}

h4 {
    font-size: clamp(1.1rem, 3vw, 1.25rem);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-xl);
    position: relative;
}

.section-title h2 {
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    margin: var(--space-md) auto 0;
    border-radius: var(--radius-full);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ============================================
   Layout Components
   ============================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

section {
    padding: var(--space-xxl) 0;
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-brown);
}

.logo-text span {
    color: var(--primary-orange);
}

.nav-menu {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: var(--space-xs) 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-orange);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.cart-btn {
    position: relative;
    width: 44px;
    height: 44px;
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.cart-btn:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--accent-red);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    padding: var(--space-sm);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-primary);
    padding: var(--space-xl);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-badge .icon {
    color: var(--primary-gold);
}

.hero h1 {
    margin-bottom: var(--space-md);
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.5);
}

.hero h1 .highlight {
    color: var(--primary-orange);
    display: block;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 500px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-info-item .icon {
    color: var(--primary-gold);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(210, 105, 30, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(210, 105, 30, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.btn-outline:hover {
    background: var(--primary-orange);
    color: white;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--bg-light);
    position: relative;
}

.about-grid {
    display: grid;
    gap: var(--space-xl);
}

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content {
    text-align: center;
}

.about-content h2 {
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.about-content h2 span {
    color: var(--primary-orange);
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.about-feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: #fff8f5;
    /* Very subtle orange tint/cream */
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
    text-align: left;
}

.about-feature:hover {
    transform: translateY(-2px);
    background: #fff0e6;
}

.about-feature .icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    flex-shrink: 0;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(210, 105, 30, 0.1);
}

.about-feature-text h4 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.about-feature-text p {
    font-size: 0.9rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

/* ============================================
   Promo Section
   ============================================ */
.promo {
    background: var(--bg-dark);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.promo::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(210, 105, 30, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.promo-container {
    position: relative;
    z-index: 1;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--accent-red);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.promo .section-title h2 {
    color: var(--text-primary);
}

.promo .section-title::after {
    background: var(--gradient-gold);
}

.promo-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.promo-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition-normal);
    flex: 1 1 300px;
    max-width: 450px;
}

.promo-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.promo-card-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    color: white;
}

.promo-card h4 {
    color: var(--primary-gold);
    margin-bottom: var(--space-sm);
    font-family: var(--font-primary);
}

.promo-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.promo-card .free-tag {
    display: inline-block;
    background: var(--accent-green);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: var(--space-sm);
}

/* ============================================
   Menu Section
   ============================================ */
.menu {
    background: var(--bg-cream);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    padding: var(--space-sm);
    background: white;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

.menu-tab {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: transparent;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.menu-tab:hover {
    color: var(--primary-orange);
}

.menu-tab.active {
    background: var(--gradient-primary);
    color: white;
}

.menu-grid {
    display: grid;
    gap: var(--space-md);
}

.menu-category {
    display: none;
}

.menu-category.active {
    display: grid;
    gap: var(--space-md);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.menu-card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.1);
}

.menu-card-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: var(--accent-red);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
}

.menu-card-content {
    padding: var(--space-md);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.menu-card-title {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-dark);
}

.menu-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.menu-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-card-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-orange);
}

.menu-card-price small {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

.add-to-cart {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.add-to-cart:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* Menu Items List Style */
.menu-items-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.menu-item {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.menu-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.menu-item-info {
    flex-grow: 1;
}

.menu-item-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.menu-item-variants {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.menu-item-price {
    font-weight: 700;
    color: var(--primary-orange);
    white-space: nowrap;
    margin-left: var(--space-md);
}

/* Menu Section Groups */
.menu-section-group {
    margin-bottom: var(--space-xl);
}

.menu-section-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--primary-orange);
}

.menu-section-header h4 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-brown);
    margin: 0;
}

.menu-section-header .badge {
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
}

/* Menu List Item Enhanced */
.menu-list {
    display: grid;
    gap: var(--space-sm);
}

.menu-list-item {
    background: white;
    border-radius: var(--radius-md);
    padding: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
}

.menu-list-item:hover {
    border-left-color: var(--primary-orange);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.menu-list-item .item-info {
    flex: 1;
    min-width: 0;
}

.menu-list-item .item-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.menu-list-item .item-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-list-item .item-price {
    font-weight: 700;
    color: var(--primary-orange);
    font-size: 0.95rem;
    white-space: nowrap;
    margin-left: var(--space-md);
    text-align: right;
}

.menu-list-item .item-price small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
}

.menu-list-item .add-btn {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: var(--space-sm);
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.menu-list-item .add-btn:hover {
    transform: scale(1.1);
}

/* Menu Grid for Cards */
.menu-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .menu-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .menu-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .menu-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Compact Menu Card */
.menu-card-compact {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.menu-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.menu-card-compact .card-content {
    padding: var(--space-md);
}

.menu-card-compact .card-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.menu-card-compact .card-price {
    font-weight: 700;
    color: var(--primary-orange);
    font-size: 0.9rem;
}

/* ============================================
   Product Card Grid (Reference Style)
   ============================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Product Card */
.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Product Image */
.product-card-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f8f8f8;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-img img {
    transform: scale(1.05);
}

/* Product Badge on Image */
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-badge.pedas {
    background: #e74c3c;
    color: white;
}

.product-badge.best {
    background: #27ae60;
    color: white;
}

.product-badge.promo {
    background: var(--primary-orange);
    color: white;
}

.product-badge.premium {
    background: linear-gradient(135deg, #f39c12, #e74c3c);
    color: white;
}

/* Product Body */
.product-card-body {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Category Label */
.product-category {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

/* Product Name */
.product-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Product Description */
.product-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

/* Product Footer */
.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
}

.product-price small {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Add Button */
.btn-add {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f0f0f0;
    color: var(--text-dark);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.btn-add:hover {
    background-color: var(--primary-orange);
    color: white;
}

.btn-add:active {
    transform: scale(0.9);
}

/* Category Header in Grid */
.category-header {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--primary-orange);
}

.category-header:first-child {
    margin-top: 0;
}

.category-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-brown);
    margin: 0;
}

.category-header .badge {
    background: var(--gradient-primary);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 600;
}

/* ============================================
   Location Section
   ============================================ */
.location {
    background: var(--bg-light);
}

.location-content {
    display: grid;
    gap: var(--space-xl);
}

.location-info {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.location-item {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.location-item:last-child {
    margin-bottom: 0;
}

.location-item .icon {
    width: 50px;
    height: 50px;
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-orange);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.location-item-text h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--text-dark);
}

.location-item-text p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 300px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: var(--text-primary);
    padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: var(--space-md);
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-orange);
    transform: translateX(5px);
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* ============================================
   WhatsApp Float Button
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.whatsapp-float a {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-normal);
    animation: pulse-wa 2s infinite;
}

@keyframes pulse-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float a:hover {
    transform: scale(1.1);
}

/* ============================================
   Cart Page Styles
   ============================================ */
.cart-page {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--bg-cream);
}

.cart-header {
    margin-bottom: var(--space-xl);
}

.cart-header h1 {
    color: var(--text-dark);
    font-size: 1.8rem;
}

.cart-header p {
    color: var(--text-muted);
}

.cart-empty {
    text-align: center;
    padding: var(--space-xxl);
}

.cart-empty-icon {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.cart-empty h3 {
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.cart-empty p {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.cart-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    box-shadow: var(--shadow-sm);
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.cart-item-info h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: var(--space-xs);
}

.cart-item-info .price {
    color: var(--primary-orange);
    font-weight: 600;
}

.cart-item-remove {
    background: none;
    color: var(--accent-red);
    font-size: 1.2rem;
    padding: var(--space-sm);
    transition: var(--transition-fast);
}

.cart-item-remove:hover {
    transform: scale(1.2);
}

.cart-item-options {
    border-top: 1px solid var(--bg-cream);
    padding-top: var(--space-md);
}

.option-group {
    margin-bottom: var(--space-md);
}

.option-group:last-child {
    margin-bottom: 0;
}

.option-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

.option-choices {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.option-choice {
    position: relative;
}

.option-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-choice span {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-cream);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.option-choice input:checked+span {
    background: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
}

.option-choice span:hover {
    border-color: var(--primary-orange);
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.quantity-control label {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0;
}

.quantity-btns {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    margin-left: auto;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-cream);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-dark);
    transition: var(--transition-fast);
}

.quantity-btn:hover {
    background: var(--primary-orange);
    color: white;
}

.quantity-value {
    width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

/* Cart Notes */
.cart-notes {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.cart-notes label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
}

.cart-notes textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--bg-cream);
    border-radius: var(--radius-md);
    resize: vertical;
    min-height: 100px;
    transition: var(--transition-fast);
}

.cart-notes textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

/* Cart Summary */
.cart-summary {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    position: sticky;
    bottom: var(--space-md);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
}

.cart-summary-row.total {
    border-top: 2px solid var(--bg-cream);
    padding-top: var(--space-md);
    margin-top: var(--space-md);
    font-size: 1.2rem;
    font-weight: 700;
}

.cart-summary-row.total .value {
    color: var(--primary-orange);
}

.checkout-btn {
    width: 100%;
    margin-top: var(--space-lg);
    padding: var(--space-md) var(--space-xl);
}

/* ============================================
   Mobile Navigation Overlay
   ============================================ */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   Responsive Styles
   ============================================ */

/* Mobile First - Base styles are for mobile */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

    .menu-grid,
    .menu-category.active {
        grid-template-columns: repeat(2, 1fr);
    }


}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .about-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .about-image img {
        height: 400px;
    }

    .location-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .hero-cta {
        flex-direction: row;
        justify-content: center;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }

    .nav-menu {
        display: flex;
    }

    .menu-grid,
    .menu-category.active {
        grid-template-columns: repeat(3, 1fr);
    }


}

/* Mobile Specific Styles */
@media (max-width: 991px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
        background: white;
        flex-direction: column;
        padding: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        z-index: 999;
        gap: 0;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
        padding: var(--space-md) var(--space-xl);
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 15px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        text-align: center;
        width: 100%;
        display: block;
    }

    /* Disable underline animation on mobile */
    .nav-link::after {
        display: none;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-link.active {
        color: var(--primary-orange);
        background-color: var(--bg-cream);
        border-radius: var(--radius-md);
        border-bottom: none;
        font-weight: 700;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: var(--space-md) var(--space-lg);
        font-size: 0.9rem;
    }

    .menu-tabs {
        border-radius: var(--radius-lg);
        padding: var(--space-xs);
    }

    .menu-tab {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.8rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Animations
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-dark);
    color: white;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    opacity: 0;
    transition: var(--transition-normal);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    background: var(--accent-green);
}

.toast.error {
    background: var(--accent-red);
}