/* ============================================
   Next Day Balloons - Premium Party Style
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Libre+Baskerville:wght@400;700&display=swap');

:root {
    --color-primary: #E31837;
    --color-primary-dark: #c41430;
    --color-primary-light: #ff4d6a;
    --color-secondary: #0066b3;
    --color-accent-gold: #d4af37;
    --color-accent-yellow: #ffd700;
    --color-card-blue: #c5e8f7;
    --color-card-blue-hover: #b0dff5;
    --color-white: #FFFFFF;
    --color-off-white: #FAFAFA;
    --color-gray-50: #F9FAFB;
    --color-gray-100: #F5F5F5;
    --color-gray-200: #EEEEEE;
    --color-gray-300: #E0E0E0;
    --color-gray-400: #BDBDBD;
    --color-gray-500: #9E9E9E;
    --color-gray-600: #757575;
    --color-gray-700: #616161;
    --color-gray-800: #424242;
    --color-gray-900: #212121;
    --color-black: #1A1A1A;
    --color-success: #4CAF50;
    --color-error: #F44336;
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Libre Baskerville', Georgia, serif;
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    --container-max: 1280px;
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f9df7b 50%, #d4af37 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-primary); font-size: var(--text-base); line-height: 1.6; color: var(--color-gray-800); background-color: var(--color-white); overflow-x: hidden; max-width: 100vw; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }
.container { width: 100%; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--space-6); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-primary); font-weight: 700; line-height: 1.2; color: var(--color-gray-900); }
.text-gradient { background: var(--gradient-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); padding: 12px 28px; font-family: var(--font-primary); font-size: var(--text-sm); font-weight: 600; border-radius: var(--radius-full); transition: all 0.3s ease; cursor: pointer; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-sm { padding: 8px 20px; font-size: var(--text-xs); }
.btn-lg { padding: 16px 36px; font-size: var(--text-base); }
.btn-primary { background: var(--color-primary); color: var(--color-white); border: 2px solid var(--color-primary); }
.btn-primary:hover { background: var(--color-primary-dark); border-color: var(--color-primary-dark); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(227, 24, 55, 0.3); }
.btn-secondary { background: var(--color-white); color: var(--color-gray-900); border: 2px solid var(--color-gray-900); }
.btn-secondary:hover { background: var(--color-gray-900); color: var(--color-white); }
.btn-outline { background: transparent; color: var(--color-gray-700); border: 2px solid var(--color-gray-300); }
.btn-outline:hover { border-color: var(--color-primary); color: var(--color-primary); }
.btn-white { background: var(--color-white); color: var(--color-primary); border: 2px solid var(--color-white); }
.btn-white:hover { background: transparent; color: var(--color-white); }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ANNOUNCEMENT BAR */
.announcement-bar { background: var(--color-primary); color: var(--color-white); padding: var(--space-3) 0; text-align: center; font-size: var(--text-sm); font-weight: 500; position: relative; z-index: 101; }
.announcement-bar i { margin-right: var(--space-2); }

/* STICKY HEADER - Stays fixed when scrolling */
.main-header { background: var(--color-white); border-bottom: 1px solid var(--color-gray-200); position: sticky; top: 0; z-index: 100; transition: box-shadow 0.3s ease, background 0.3s ease; }
.main-header.scrolled { box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1); background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.header-wrapper { display: flex; align-items: center; justify-content: space-between; padding: var(--space-4) 0; }
.logo { display: flex; align-items: center; gap: var(--space-2); }
.logo-icon { font-size: var(--text-3xl); }
.logo-text { font-family: var(--font-primary); font-size: var(--text-xl); font-weight: 800; color: var(--color-primary); letter-spacing: -0.5px; }
.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list { display: flex; align-items: center; }
.nav-item > a { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-4); font-family: var(--font-primary); font-size: var(--text-sm); font-weight: 600; color: var(--color-gray-800); transition: color 0.2s; }
.nav-item > a:hover { color: var(--color-primary); }
.nav-item > a .nav-arrow { font-size: var(--text-xs); opacity: 0.5; }
.has-dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: var(--color-white); border: 1px solid var(--color-gray-200); border-radius: var(--radius-md); min-width: 260px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.2s; z-index: 100; box-shadow: var(--shadow-lg); }
.has-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu ul li a { display: flex; align-items: center; justify-content: space-between; padding: var(--space-3) var(--space-5); font-size: var(--text-sm); color: var(--color-gray-800); border-bottom: 1px solid var(--color-gray-100); }
.dropdown-menu ul li:last-child a { border-bottom: none; }
.dropdown-menu ul li a:hover { background: var(--color-gray-50); color: var(--color-primary); }
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.action-btn { position: relative; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: var(--text-lg); color: var(--color-gray-700); transition: all 0.2s; border-radius: var(--radius-full); }
.action-btn:hover { color: var(--color-primary); background: var(--color-gray-100); }
.cart-count { position: absolute; top: 2px; right: 2px; min-width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: var(--color-white); background: var(--color-primary); border-radius: 50%; }
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; padding: 10px; }
.mobile-menu-btn span { display: block; width: 100%; height: 2px; background: var(--color-gray-800); transition: all 0.3s ease; }

/* HERO */
.hero { position: relative; min-height: auto; padding: var(--space-16) 0; display: flex; align-items: center; background: var(--color-white); overflow: hidden; }
.hero.has-bg-image { background-size: cover; background-position: center; }
.hero.has-bg-image::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.hero-content { position: relative; z-index: 1; max-width: 650px; margin: 0 auto; text-align: center; }
.hero-badge { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-5); background: var(--color-primary); border-radius: var(--radius-full); font-size: var(--text-sm); font-weight: 600; color: var(--color-white); margin-bottom: var(--space-6); }
.hero-title { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: var(--space-5); line-height: 1.1; }
.hero.has-bg-image .hero-title { color: var(--color-white); }
.hero-text { font-size: var(--text-lg); color: var(--color-gray-600); margin-bottom: var(--space-8); line-height: 1.7; }
.hero.has-bg-image .hero-text { color: rgba(255,255,255,0.9); }
.hero-buttons { display: flex; gap: var(--space-4); flex-wrap: wrap; justify-content: center; }

/* BALLOON BANNER */
.balloon-banner { padding: var(--space-10) 0; background: var(--color-white); text-align: center; }
.balloon-banner-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--color-accent-gold); text-transform: uppercase; letter-spacing: 8px; text-shadow: 2px 2px 4px rgba(0,0,0,0.1); margin-bottom: var(--space-2); font-family: var(--font-primary); }

/* CATEGORY CARDS */
.category-cards-section { padding: var(--space-8) 0 var(--space-16); background: var(--color-white); }
.category-cards-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); margin-bottom: var(--space-12); }
.category-card { text-align: center; text-decoration: none; transition: transform 0.3s ease; }
.category-card:hover { transform: translateY(-5px); }
.category-card-image { background: var(--color-card-blue); border-radius: var(--radius-lg); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-3); overflow: hidden; transition: background 0.3s ease; }
.category-card:hover .category-card-image { background: var(--color-card-blue-hover); }
.category-card-image img { max-width: 85%; max-height: 85%; object-fit: contain; }
.category-card-image .placeholder-emoji { font-size: 4rem; }
.category-card-label { font-size: var(--text-sm); font-weight: 600; color: var(--color-gray-900); text-decoration: underline; text-underline-offset: 3px; }
.category-card:hover .category-card-label { color: var(--color-primary); }

/* SECTIONS */
.section { padding: var(--space-16) 0; }
.section-header { text-align: center; margin-bottom: var(--space-10); }
.section-title { font-size: var(--text-2xl); font-weight: 700; margin-bottom: var(--space-3); }
.section-subtitle { font-size: var(--text-lg); color: var(--color-gray-600); }

/* POPULAR CATEGORIES */
.popular-categories { padding: var(--space-12) 0; background: var(--color-white); }
.popular-categories .section-title { font-size: var(--text-2xl); margin-bottom: var(--space-8); }
.popular-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-4); }
.popular-item { text-align: center; text-decoration: none; transition: transform 0.3s ease; }
.popular-item:hover { transform: translateY(-3px); }
.popular-item-image { background: var(--color-gray-100); border-radius: var(--radius-lg); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-3); overflow: hidden; transition: all 0.3s ease; }
.popular-item:hover .popular-item-image { box-shadow: var(--shadow-md); }
.popular-item-image img { max-width: 80%; max-height: 80%; object-fit: contain; }
.popular-item-image .placeholder-emoji { font-size: 3rem; }
.popular-item-label { font-size: var(--text-sm); font-weight: 500; color: var(--color-gray-800); }

/* MENU PRODUCTS */
.menu-section { padding: var(--space-16) 0; background: var(--color-gray-50); }
.menu-box { padding: var(--space-8) 0; margin-bottom: var(--space-8); }
.menu-box:last-child { margin-bottom: 0; }
.menu-box-title { font-family: var(--font-display); font-size: var(--text-2xl); font-style: italic; text-align: center; margin-bottom: var(--space-8); color: var(--color-gray-900); }
.menu-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-6); }
.menu-item { display: flex; flex-direction: column; align-items: center; background: var(--color-white); border-radius: var(--radius-xl); padding: var(--space-5); text-align: center; transition: all 0.3s ease; box-shadow: var(--shadow-sm); overflow: hidden; }
.menu-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.menu-item-image { width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-4); overflow: hidden; }
.menu-item-image img { display: block; max-width: 100%; height: auto; }
.menu-item-name { font-weight: 700; font-size: var(--text-base); margin-bottom: var(--space-1); color: var(--color-gray-900); width: 100%; }
.menu-item-desc { font-size: var(--text-xs); color: var(--color-gray-500); line-height: 1.4; margin-bottom: var(--space-3); width: 100%; }
.menu-item-price { font-weight: 800; font-size: var(--text-xl); color: var(--color-primary); margin-bottom: var(--space-3); }
.menu-item-qty { display: flex; align-items: center; justify-content: center; gap: var(--space-2); margin-top: var(--space-3); }
.menu-item-qty button { width: 32px; height: 32px; border: 2px solid var(--color-gray-300); border-radius: var(--radius-full); font-size: var(--text-base); font-weight: 600; display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0; background: var(--color-white); }
.menu-item-qty button:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(227, 24, 55, 0.05); }
.menu-item-qty span { font-weight: 700; font-size: var(--text-base); min-width: 24px; text-align: center; }
.menu-item-add { margin-top: var(--space-4); width: 100%; }
.menu-item-add button { padding: 12px 16px; font-size: var(--text-xs); font-weight: 700; background: var(--color-primary); color: var(--color-white); transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; border-radius: var(--radius-full); width: 100%; }
.menu-item-add button:hover { background: var(--color-primary-dark); transform: scale(1.02); }

/* PREMIUM PRODUCT CARDS */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: var(--space-8); }
.product-card { background: var(--color-white); border-radius: var(--radius-2xl); overflow: hidden; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); position: relative; }
.product-card::before { content: ''; position: absolute; inset: 0; border-radius: var(--radius-2xl); padding: 2px; background: linear-gradient(135deg, transparent 40%, rgba(212, 175, 55, 0.3) 100%); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.product-card:hover::before { opacity: 1; }
.product-card:hover { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12); transform: translateY(-8px); }
.product-image { position: relative; aspect-ratio: 1; background: linear-gradient(135deg, #f8fafc 0%, #e8f4f8 100%); display: flex; align-items: center; justify-content: center; font-size: 4rem; overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-badge { position: absolute; top: var(--space-4); left: var(--space-4); padding: var(--space-2) var(--space-4); background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark)); color: white; font-size: var(--text-xs); font-weight: 700; border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: 0.5px; box-shadow: 0 4px 12px rgba(227, 24, 55, 0.3); z-index: 2; }
.product-badge.gold { background: linear-gradient(135deg, #d4af37, #f9df7b); color: #1a1a1a; }
.product-info { padding: var(--space-6); }
.product-name { font-size: var(--text-lg); font-weight: 600; margin-bottom: var(--space-2); color: var(--color-gray-900); line-height: 1.3; }
.product-desc { font-size: var(--text-sm); color: var(--color-gray-500); margin-bottom: var(--space-4); line-height: 1.5; }
.product-price { font-size: var(--text-2xl); font-weight: 800; color: var(--color-primary); margin-bottom: var(--space-4); }
.product-price .original { font-size: var(--text-sm); color: var(--color-gray-400); text-decoration: line-through; margin-left: var(--space-2); font-weight: 400; }
.product-card .btn { width: 100%; justify-content: center; }

/* CTA SECTION */
.cta-section { background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%); padding: var(--space-16) 0; text-align: center; color: var(--color-white); position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%); animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.1); opacity: 0.3; } }
.cta-section h2 { font-size: var(--text-3xl); font-weight: 800; margin-bottom: var(--space-4); color: var(--color-white); position: relative; z-index: 1; }
.cta-section p { font-size: var(--text-lg); margin-bottom: var(--space-8); opacity: 0.9; position: relative; z-index: 1; }
.cta-section .btn { position: relative; z-index: 1; }

/* FORMS */
.form-group { margin-bottom: var(--space-5); }
.form-label { display: block; font-size: var(--text-sm); font-weight: 600; color: var(--color-gray-700); margin-bottom: var(--space-2); }
.form-input, .form-select, .form-textarea { width: 100%; padding: var(--space-3) var(--space-4); font-size: var(--text-base); border: 2px solid var(--color-gray-300); border-radius: var(--radius-lg); background: var(--color-white); transition: all 0.2s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(227, 24, 55, 0.1); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }

/* CART */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: var(--space-8); padding: var(--space-8) 0; align-items: start; }
.cart-items { background: var(--color-white); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); }
.cart-header { padding: var(--space-5); background: var(--color-gray-50); border-bottom: 1px solid var(--color-gray-200); }
.cart-header h1 { font-size: var(--text-xl); font-weight: 700; }
.cart-item { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; padding: var(--space-5); border-bottom: 1px solid var(--color-gray-100); position: relative; }
.cart-item:last-child { border-bottom: none; }
.cart-item-image { width: 80px; height: 80px; background: var(--color-gray-100); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { flex: 1; min-width: 150px; }
.cart-item-details h3 { font-size: var(--text-base); font-weight: 600; margin-bottom: var(--space-1); word-break: break-word; }
.cart-item-details p { font-size: var(--text-sm); color: var(--color-gray-500); }
.cart-item-qty { display: flex; align-items: center; gap: var(--space-1); }
.cart-item-qty button { width: 32px; height: 32px; border: 1px solid var(--color-gray-300); border-radius: var(--radius-full); font-size: var(--text-sm); transition: all 0.2s; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--color-white); }
.cart-item-qty button:hover { border-color: var(--color-primary); color: var(--color-primary); }
.cart-item-qty input { width: 40px; text-align: center; border: 1px solid var(--color-gray-200); border-radius: var(--radius-sm); padding: 4px; font-size: var(--text-sm); font-weight: 600; }
.cart-item-price { font-weight: 700; font-size: var(--text-lg); color: var(--color-primary); white-space: nowrap; }
.cart-item-remove { color: var(--color-gray-400); transition: color 0.2s; padding: var(--space-2); }
.cart-item-remove:hover { color: var(--color-error); }
.cart-summary { background: var(--color-white); border-radius: var(--radius-xl); overflow: hidden; position: sticky; top: 100px; box-shadow: var(--shadow-sm); }
.cart-summary-header { padding: var(--space-5); background: var(--color-gray-900); color: var(--color-white); }
.cart-summary-header h3 { font-size: var(--text-lg); font-weight: 700; color: var(--color-white); }
.cart-summary-body { padding: var(--space-5); }
.summary-row { display: flex; justify-content: space-between; padding: var(--space-3) 0; border-bottom: 1px solid var(--color-gray-100); }
.summary-row:last-child { border-bottom: none; }
.summary-row.total { font-weight: 700; font-size: var(--text-lg); border-top: 2px solid var(--color-gray-200); margin-top: var(--space-3); padding-top: var(--space-4); }

/* CHECKOUT */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: var(--space-8); padding: var(--space-8) 0; align-items: start; }
.checkout-section { background: var(--color-white); border-radius: var(--radius-xl); padding: var(--space-6); margin-bottom: var(--space-6); box-shadow: var(--shadow-sm); }
.checkout-section:last-child { margin-bottom: 0; }
.checkout-section h2 { font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--space-5); padding-bottom: var(--space-3); border-bottom: 1px solid var(--color-gray-200); }
.order-summary { background: var(--color-white); border-radius: var(--radius-xl); overflow: hidden; position: sticky; top: 100px; box-shadow: var(--shadow-sm); }
.order-summary-header { padding: var(--space-5); background: var(--color-gray-900); color: var(--color-white); }
.order-summary-header h3 { color: var(--color-white); font-weight: 700; }
.order-summary-body { padding: var(--space-5); }
.delivery-options { display: flex; flex-direction: column; gap: var(--space-3); }
.delivery-option { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4); border: 2px solid var(--color-gray-200); border-radius: var(--radius-lg); cursor: pointer; transition: all 0.2s; }
.delivery-option:hover { border-color: var(--color-gray-400); }
.delivery-option.selected { border-color: var(--color-primary); background: rgba(227, 24, 55, 0.02); }
.delivery-option-radio { width: 20px; height: 20px; border: 2px solid var(--color-gray-400); border-radius: 50%; position: relative; flex-shrink: 0; }
.delivery-option.selected .delivery-option-radio { border-color: var(--color-primary); }
.delivery-option.selected .delivery-option-radio::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 10px; height: 10px; background: var(--color-primary); border-radius: 50%; }
.delivery-option-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--color-gray-100); border-radius: var(--radius-md); font-size: var(--text-lg); color: var(--color-gray-600); }
.delivery-option.selected .delivery-option-icon { background: rgba(227, 24, 55, 0.1); color: var(--color-primary); }
.delivery-option-details { flex: 1; }
.delivery-option-name { font-weight: 600; font-size: var(--text-sm); }
.delivery-option-desc { font-size: var(--text-xs); color: var(--color-gray-500); }
.delivery-option-price { font-weight: 700; color: var(--color-primary); }

/* PREMIUM BUNDLE BUILDER */
.builder-page { background: linear-gradient(180deg, var(--color-gray-50) 0%, var(--color-white) 100%); min-height: 100vh; }
.builder-progress { padding: var(--space-8) 0; background: var(--color-white); border-bottom: 1px solid var(--color-gray-200); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); }
.progress-steps { display: flex; justify-content: center; gap: var(--space-1); max-width: 700px; margin: 0 auto; }
.progress-step { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-5); color: var(--color-gray-400); font-size: var(--text-sm); font-weight: 600; position: relative; transition: all 0.3s ease; }
.progress-step::after { content: ''; position: absolute; right: -8px; width: 16px; height: 2px; background: var(--color-gray-300); }
.progress-step:last-child::after { display: none; }
.progress-step.active { color: var(--color-primary); }
.progress-step.completed { color: var(--color-success); }
.progress-step.completed::after { background: var(--color-success); }
.progress-step-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 2px solid currentColor; border-radius: 50%; font-size: var(--text-sm); font-weight: 700; transition: all 0.3s ease; }
.progress-step.active .progress-step-icon { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); box-shadow: 0 4px 15px rgba(227, 24, 55, 0.3); }
.progress-step.completed .progress-step-icon { background: var(--color-success); border-color: var(--color-success); color: var(--color-white); }
.builder-layout { display: grid; grid-template-columns: 1fr 380px; gap: var(--space-8); padding: var(--space-8) 0; align-items: start; }
.builder-main { background: var(--color-white); border-radius: var(--radius-2xl); overflow: hidden; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06); }
.builder-step-content { display: none; padding: var(--space-10); }
.builder-step-content.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.builder-step-title { font-size: var(--text-2xl); font-weight: 700; text-align: center; margin-bottom: var(--space-2); color: var(--color-gray-900); }
.builder-step-subtitle { font-size: var(--text-base); color: var(--color-gray-500); text-align: center; margin-bottom: var(--space-8); }
.builder-nav { display: flex; justify-content: space-between; padding: var(--space-6) var(--space-10); border-top: 1px solid var(--color-gray-100); background: var(--color-gray-50); }
.builder-nav .btn { min-width: 140px; }
.builder-preview-sidebar { background: var(--color-white); border-radius: var(--radius-2xl); overflow: hidden; position: sticky; top: 90px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08); }
.preview-header { padding: var(--space-5) var(--space-6); background: linear-gradient(135deg, var(--color-gray-900), #2d2d2d); color: white; text-align: center; }
.preview-header h3 { font-size: var(--text-lg); font-weight: 700; margin-bottom: var(--space-1); }
.preview-header p { font-size: var(--text-xs); opacity: 0.7; }
.preview-visual { padding: var(--space-8); background: linear-gradient(135deg, #e8f4f8 0%, #f0f9ff 100%); text-align: center; min-height: 180px; display: flex; align-items: center; justify-content: center; font-size: 5rem; }
.preview-items { padding: var(--space-5); max-height: 280px; overflow-y: auto; border-bottom: 1px solid var(--color-gray-100); }
.preview-item { display: flex; justify-content: space-between; padding: var(--space-3) 0; font-size: var(--text-sm); border-bottom: 1px solid var(--color-gray-100); color: var(--color-gray-700); }
.preview-item:last-child { border-bottom: none; }
.preview-footer { padding: var(--space-5) var(--space-6); background: var(--color-gray-50); }
.preview-total { display: flex; justify-content: space-between; font-size: var(--text-xl); font-weight: 800; color: var(--color-gray-900); }
.preview-total span:last-child { color: var(--color-primary); }
.balloon-grid, .addon-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--space-5); }
.balloon-option, .addon-option { border: 2px solid var(--color-gray-200); border-radius: var(--radius-xl); padding: var(--space-5); text-align: center; cursor: pointer; transition: all 0.3s ease; background: var(--color-white); position: relative; overflow: hidden; }
.balloon-option::before, .addon-option::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--color-primary); transform: scaleX(0); transition: transform 0.3s ease; }
.balloon-option:hover, .addon-option:hover { border-color: var(--color-primary); box-shadow: 0 8px 25px rgba(227, 24, 55, 0.1); }
.balloon-option.selected::before, .addon-option.selected::before { transform: scaleX(1); }
.balloon-option.selected, .addon-option.selected { border-color: var(--color-primary); background: linear-gradient(to bottom, rgba(227, 24, 55, 0.02), var(--color-white)); box-shadow: 0 8px 30px rgba(227, 24, 55, 0.15); }
.balloon-image, .addon-image { width: 80px; height: 80px; margin: 0 auto var(--space-3); background: var(--color-gray-100); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.balloon-name, .addon-name { font-weight: 600; font-size: var(--text-sm); color: var(--color-gray-900); margin-bottom: var(--space-2); }
.balloon-price, .addon-price { font-weight: 700; color: var(--color-primary); font-size: var(--text-base); margin-bottom: var(--space-3); }
.qty-controls { display: flex; align-items: center; justify-content: center; gap: var(--space-2); }
.qty-btn { width: 32px; height: 32px; border: 2px solid var(--color-gray-300); border-radius: var(--radius-full); font-size: var(--text-base); font-weight: 600; display: flex; align-items: center; justify-content: center; transition: all 0.2s; background: var(--color-white); }
.qty-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.qty-display { font-weight: 700; font-size: var(--text-base); min-width: 30px; text-align: center; }

/* FOOTER */
.main-footer { background: var(--color-gray-900); color: var(--color-gray-400); padding: var(--space-16) 0 var(--space-6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: var(--space-10); margin-bottom: var(--space-10); }
.footer-section h4 { color: var(--color-white); font-family: var(--font-primary); font-size: var(--text-base); font-weight: 600; margin-bottom: var(--space-4); }
.footer-links li { margin-bottom: var(--space-2); }
.footer-links a { font-size: var(--text-sm); transition: color 0.2s; }
.footer-links a:hover { color: var(--color-primary); }
.social-links { display: flex; gap: var(--space-3); justify-content: flex-start; }
.social-links a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--color-gray-700); border-radius: 50%; transition: all 0.2s; }
.social-links a:hover { border-color: var(--color-primary); color: var(--color-primary); background: rgba(227, 24, 55, 0.1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: var(--space-6); text-align: center; font-size: var(--text-sm); }

/* ============================================
   MOBILE NAV - Smooth Slide Animation
   Fixed text flash and improved transitions
   ============================================ */
.mobile-nav { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    max-width: 320px;
    height: 100%; 
    background: var(--color-white); 
    transform: translateX(-100%); 
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); 
    z-index: 200; 
    overflow: hidden;
    display: flex;
    flex-direction: column;
    will-change: transform;
}
.mobile-nav.active { transform: translateX(0); }

.mobile-nav-header { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: var(--space-4) var(--space-5); 
    border-bottom: 1px solid var(--color-gray-200);
    background: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: 60px;
}
.mobile-nav-header button { 
    width: 40px; 
    height: 40px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: var(--text-lg);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-gray-700);
    border-radius: var(--radius-full);
    transition: all 0.2s ease;
}
.mobile-nav-header button:hover { background: var(--color-gray-100); }
.mobile-nav-header button:active { transform: scale(0.95); }
.mobile-nav-back { color: var(--color-primary) !important; }
.mobile-nav-title { font-weight: 600; font-size: var(--text-lg); }

/* Mobile menu content container - handles the sliding */
.mobile-menu-content { 
    flex: 1; 
    display: flex; 
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
}

/* Main menu and submenus share same container space */
#mobileMainMenu {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    transform: translateX(0);
    opacity: 1;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    will-change: transform, opacity;
    visibility: visible;
}

#mobileMainMenu.hidden {
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.mobile-submenu-page {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    will-change: transform, opacity;
    visibility: hidden;
    pointer-events: none;
    background: var(--color-white);
}

.mobile-submenu-page.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-list { 
    padding: 0; 
    margin: 0;
    list-style: none;
}
.mobile-nav-list li { border-bottom: 1px solid var(--color-gray-100); }
.mobile-nav-list li a { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    padding: var(--space-4) var(--space-5); 
    font-size: var(--text-base); 
    font-weight: 500; 
    color: var(--color-gray-800);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.mobile-nav-list li a:hover,
.mobile-nav-list li a:active { 
    background: var(--color-gray-50);
    color: var(--color-primary);
}
.mobile-nav-list li a i { color: var(--color-gray-400); font-size: var(--text-sm); transition: transform 0.2s ease; }
.mobile-nav-list li a:hover i { transform: translateX(3px); }
.mobile-nav-list li a.view-all { color: var(--color-primary); font-weight: 600; }

.mobile-submenu-page { padding: var(--space-4) 0; }
.mobile-submenu-title { 
    padding: var(--space-3) var(--space-5) var(--space-4); 
    font-size: var(--text-sm); 
    font-weight: 600; 
    color: var(--color-gray-500); 
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-nav-contact { 
    margin-top: auto;
    padding: var(--space-5); 
    border-top: 1px solid var(--color-gray-200);
    background: var(--color-gray-50);
}
.mobile-contact-link { 
    display: flex; 
    align-items: center; 
    gap: var(--space-3); 
    padding: var(--space-3) 0;
    color: var(--color-gray-700);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color 0.2s ease;
}
.mobile-contact-link i { 
    width: 20px; 
    color: var(--color-primary);
    text-align: center;
}
.mobile-contact-link:hover { color: var(--color-primary); }

.mobile-nav-overlay { 
    position: fixed; 
    inset: 0; 
    background: rgba(0,0,0,0.5); 
    opacity: 0; 
    visibility: hidden; 
    transition: opacity 0.35s ease, visibility 0.35s ease; 
    z-index: 199;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }

/* Mobile Nav Direct Link (Home) */
.mobile-nav-link-direct {
    display: flex;
    align-items: center;
    padding: var(--space-4) var(--space-5);
    color: var(--color-gray-800);
    font-size: var(--text-base);
    font-weight: 500;
    border-bottom: 1px solid var(--color-gray-100);
    transition: background 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.mobile-nav-link-direct:hover,
.mobile-nav-link-direct:active {
    background: var(--color-gray-50);
    color: var(--color-primary);
}

/* Mobile nav trigger styling */
.mobile-nav-trigger {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    cursor: pointer;
    user-select: none;
}

/* TOAST */
.toast-container { position: fixed; bottom: var(--space-6); right: var(--space-6); z-index: 300; }
.toast { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) var(--space-5); background: var(--color-white); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); margin-top: var(--space-2); animation: slideIn 0.3s ease; }
@keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* UTILITIES */
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    .category-cards-grid { grid-template-columns: repeat(3, 1fr); }
    .popular-grid { grid-template-columns: repeat(3, 1fr); }
    .builder-layout, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .builder-preview-sidebar, .cart-summary, .order-summary { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .menu-grid { grid-template-columns: repeat(3, 1fr); }
    .progress-steps { flex-wrap: wrap; gap: var(--space-2); }
    .progress-step { padding: var(--space-2) var(--space-3); font-size: var(--text-xs); }
    .progress-step::after { display: none; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .mobile-menu-btn { display: flex; }
    .hero { min-height: auto; padding: var(--space-12) 0; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .category-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .popular-grid { grid-template-columns: repeat(2, 1fr); }
    .menu-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
    .menu-item { padding: var(--space-4); }
    .menu-item-image { height: 120px; }
    .menu-item-add button { padding: 10px 12px; font-size: 10px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .cart-item { display: grid; grid-template-columns: 70px 1fr; gap: var(--space-3); padding: var(--space-4); }
    .cart-item-image { width: 70px; height: 70px; grid-row: span 2; }
    .cart-item-details { grid-column: 2; }
    .cart-item-details h3 { font-size: var(--text-sm); margin-bottom: 2px; }
    .cart-item-details p { font-size: var(--text-xs); }
    .cart-item-qty { grid-column: 2; display: flex; align-items: center; gap: 4px; }
    .cart-item-qty button { width: 28px; height: 28px; }
    .cart-item-qty input { width: 35px; padding: 2px; }
    .cart-item-price { grid-column: 2; font-size: var(--text-base); margin-top: var(--space-1); }
    .cart-item-remove { position: absolute; top: var(--space-2); right: var(--space-2); }
    .form-row { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
    .product-info { padding: var(--space-4); }
    .product-name { font-size: var(--text-base); }
    .product-price { font-size: var(--text-lg); }
}

@media (max-width: 480px) {
    .container { padding: 0 var(--space-4); }
    .category-cards-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
    .popular-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
    .menu-box { padding: var(--space-4); }
    .menu-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
    .menu-item { padding: var(--space-3); }
    .menu-item-image { height: 100px; }
    .menu-item-name { font-size: var(--text-sm); }
    .menu-item-price { font-size: var(--text-lg); }
    .menu-item-qty { gap: var(--space-1); }
    .menu-item-qty button { width: 28px; height: 28px; font-size: var(--text-sm); }
    .menu-item-add button { padding: 8px 10px; font-size: 9px; letter-spacing: 0; }
    .balloon-grid, .addon-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
    .balloon-option, .addon-option { padding: var(--space-3); }
    .balloon-image, .addon-image { width: 60px; height: 60px; font-size: 2rem; }
}

/* SHOP PAGE */
.shop-page { padding: var(--space-8) 0 var(--space-16); }
.shop-header { text-align: center; margin-bottom: var(--space-8); }
.shop-header h1 { font-size: var(--text-3xl); font-weight: 800; margin-bottom: var(--space-2); }
.shop-header p { color: var(--color-gray-600); }
.shop-filters { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-4); margin-bottom: var(--space-8); padding-bottom: var(--space-6); border-bottom: 1px solid var(--color-gray-200); }
.filter-tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.filter-tab { padding: var(--space-2) var(--space-4); font-size: var(--text-sm); font-weight: 500; color: var(--color-gray-600); border: 1px solid var(--color-gray-200); border-radius: var(--radius-full); transition: all 0.2s ease; white-space: nowrap; }
.filter-tab:hover { border-color: var(--color-primary); color: var(--color-primary); }
.filter-tab.active { background: var(--color-primary); color: var(--color-white); border-color: var(--color-primary); }
.filter-sort { display: flex; align-items: center; gap: var(--space-2); }
.filter-sort label { font-size: var(--text-sm); color: var(--color-gray-600); white-space: nowrap; }
.filter-sort select { padding: var(--space-2) var(--space-4); font-size: var(--text-sm); border: 1px solid var(--color-gray-300); border-radius: var(--radius-md); background: var(--color-white); cursor: pointer; }
.cart-empty { text-align: center; padding: var(--space-16) var(--space-4); }
.cart-empty i { font-size: 4rem; color: var(--color-gray-300); margin-bottom: var(--space-4); }
.cart-empty h2 { font-size: var(--text-2xl); margin-bottom: var(--space-2); }
.cart-empty p { color: var(--color-gray-600); margin-bottom: var(--space-6); }
.builder-cta { background: linear-gradient(135deg, var(--color-gray-900) 0%, #2d2d2d 100%); color: var(--color-white); border-radius: var(--radius-2xl); overflow: hidden; }
.builder-cta h2 { color: var(--color-white); margin-bottom: var(--space-4); }
.builder-cta p { opacity: 0.8; margin-bottom: var(--space-6); }
@media (max-width: 768px) { .shop-filters { flex-direction: column; align-items: stretch; } .filter-tabs { justify-content: center; } }
