/* ===================================================================
   Banjara Dryfruits — BRIGHT Premium Theme
   Hyderabad, Telangana Edition
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ─── Design Tokens ──────────────────────────────────────────── */
:root {
    --bg-primary: #FFFBF5;
    --bg-secondary: #FFF7EE;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;

    --accent: #E8793A;
    --accent-light: #F4A261;
    --accent-dark: #D4621F;
    --green: #EAB308;
    --green-light: #FEF9C3;
    --accent-gradient: linear-gradient(135deg, #E8793A 0%, #F4A261 100%);
    --accent-gradient-hover: linear-gradient(135deg, #F09D5E 0%, #E8793A 100%);
    --green-gradient: linear-gradient(135deg, #E8793A 0%, #F4A261 100%);
    --accent-glow: 0 4px 20px rgba(232, 121, 58, 0.35);

    --text-primary: #1A1A2E;
    --text-secondary: rgba(26, 26, 46, 0.6);
    --text-muted: rgba(26, 26, 46, 0.35);

    --border-color: rgba(26, 26, 46, 0.08);
    --border-hover: rgba(232, 121, 58, 0.3);
    --card-shadow: 0 2px 20px rgba(26, 26, 46, 0.06);
    --card-shadow-hover: 0 12px 40px rgba(26, 26, 46, 0.12);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
button {
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
    background: none;
}
input, textarea, select { font-family: 'Inter', sans-serif; }

/* ─── Custom Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
    background: rgba(232, 121, 58, 0.3);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

::selection {
    background: var(--accent);
    color: #fff;
}

/* ─── Container ──────────────────────────────────────────────── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    padding: 12px 28px;
    transition: all 0.3s var(--ease);
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(232, 121, 58, 0.25);
}
.btn-primary:hover {
    background: var(--accent-gradient-hover);
    box-shadow: var(--accent-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--accent);
    border: 2px solid rgba(232, 121, 58, 0.3);
}
.btn-outline:hover {
    background: rgba(232, 121, 58, 0.08);
    border-color: var(--accent);
}

.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-add-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent-gradient);
    color: #fff;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s var(--ease);
    width: 100%;
    justify-content: center;
}
.btn-add-cart:hover {
    box-shadow: var(--accent-glow);
    transform: translateY(-2px);
}

/* ─── Navbar ─────────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(255, 251, 245, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s var(--ease);
}
.navbar.scrolled {
    background: rgba(255, 251, 245, 0.95);
    border-bottom-color: var(--border-color);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-text-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: var(--text-primary);
    transition: transform 0.2s var(--ease);
}
.brand-top {
    font-family: 'Inter', sans-serif;
    font-size: 0.55rem;
    letter-spacing: 2.5px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 2px;
}
.brand-main {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.1rem;
    letter-spacing: 1.5px;
    color: #1a1a2e; /* Very dark blue/grey for contrast */
}
.nav-brand:hover .brand-text-logo {
    transform: scale(1.03);
}

.nav-links { display: flex; gap: 32px; }
.nav-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: color 0.3s var(--ease);
    font-weight: 500;
}
.nav-link:hover { color: var(--accent); }

.cart-btn {
    position: relative;
    color: var(--text-primary);
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease);
}
.cart-btn:hover {
    color: var(--accent);
    background: rgba(232, 121, 58, 0.08);
}
.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--ease-bounce);
}
.cart-badge.pulse {
    animation: badgePulse 0.4s var(--ease-bounce);
}
@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.4); }
}

/* ─── Hero Section ───────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    overflow: hidden;
    background: linear-gradient(135deg, #FFF7EE 0%, #FFE8D6 30%, #FFDDC1 60%, #FFF1E6 100%);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(232, 121, 58, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(46, 158, 90, 0.04) 0%, transparent 60%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    text-align: center;
    max-width: 800px;
    z-index: 2;
}
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid rgba(232, 121, 58, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 32px;
    background: rgba(255, 255, 255, 0.7);
    animation: fadeInUp 0.8s var(--ease) both;
}
.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
    animation: fadeInUp 0.8s var(--ease) 0.1s both;
}
.hero-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s var(--ease) 0.2s both;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s var(--ease) 0.3s both;
}
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    animation: fadeInUp 0.8s var(--ease) 0.4s both;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 24px 40px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}
.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* ─── Floating Items ─────────────────────────────────────────── */
.hero-float-items {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.float-item {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.2;
    animation: floatAround 20s linear infinite;
}
.float-1 { top: 15%; left: 8%; animation-delay: 0s; animation-duration: 18s; }
.float-2 { top: 25%; right: 10%; animation-delay: -4s; animation-duration: 22s; }
.float-3 { bottom: 30%; left: 15%; animation-delay: -8s; animation-duration: 16s; }
.float-4 { bottom: 20%; right: 20%; animation-delay: -12s; animation-duration: 24s; }
.float-5 { top: 60%; left: 50%; animation-delay: -6s; animation-duration: 20s; }

@keyframes floatAround {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(10deg); }
    50% { transform: translate(-10px, 20px) rotate(-5deg); }
    75% { transform: translate(15px, 10px) rotate(8deg); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Category Section ───────────────────────────────────────── */
.categories-section {
    padding: 80px 0 20px;
    background: var(--bg-primary);
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-badge {
    display: inline-block;
    font-size: 0.82rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
}

.category-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: #fff;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s var(--ease);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.filter-btn.active {
    background: var(--accent-gradient);
    color: #fff;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(232, 121, 58, 0.25);
}

/* ─── Products Grid ──────────────────────────────────────────── */
.products-section {
    padding: 40px 0 80px;
    background: var(--bg-primary);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* ─── Product Card ───────────────────────────────────────────── */
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 20px 20px;
    position: relative;
    transition: all 0.4s var(--ease);
    box-shadow: var(--card-shadow);
    opacity: 0;
    transform: translateY(30px);
    animation: cardAppear 0.6s var(--ease) forwards;
}
.product-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}
@keyframes cardAppear {
    to { opacity: 1; transform: translateY(0); }
}
.product-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow-hover);
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-badge.nuts {
    background: rgba(232, 121, 58, 0.1);
    color: var(--accent);
    border: 1px solid rgba(232, 121, 58, 0.2);
}
.product-badge.dried-fruits {
    background: rgba(168, 85, 247, 0.08);
    color: #9333ea;
    border: 1px solid rgba(168, 85, 247, 0.2);
}
.product-badge.seeds {
    background: rgba(234, 179, 8, 0.15);
    color: #CA8A04;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

/* ─── Promo Banner ─── */
.promo-banner {
    position: relative;
    background: linear-gradient(45deg, #ff007f, #ff7b00, #ff007f);
    background-size: 200% 200%;
    animation: promoGlow 3s ease infinite;
    color: #fff;
    padding: 8px 0;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
    border-bottom: 2px solid rgba(255,255,255,0.2);
    overflow: hidden;
    white-space: nowrap;
}
.marquee-content {
    display: inline-block;
    white-space: nowrap;
    animation: marqueeScroll 25s linear infinite;
}
.promo-banner:hover .marquee-content {
    animation-play-state: paused;
}
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.promo-banner span.sep {
    margin: 0 16px;
    opacity: 0.6;
}
.promo-banner strong {
    font-weight: 800;
    font-size: 1.05rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    background: #fff;
    color: #ff007f;
    padding: 2px 8px;
    border-radius: 4px;
    margin: 0 4px;
    display: inline-block;
}
@keyframes promoGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


.product-emoji {
    font-size: 4rem;
    text-align: center;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.4s var(--ease);
}
.product-card:hover .product-emoji {
    transform: scale(1.15) rotate(-3deg);
}

/* Product image styling */
.product-image {
    width: 100%;
    height: 160px;
    object-fit: contain;
    margin-bottom: 16px;
    border-radius: var(--radius-md);
    transition: transform 0.4s var(--ease);
}
.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-info {
    text-align: center;
    margin-bottom: 20px;
}
.product-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-primary);
}
.product-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.5;
}
.product-pricing {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}
.product-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
}
.product-unit {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ─── Quantity Selector ──────────────────────────────────────── */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-options {
    display: flex;
    gap: 8px;
    width: 100%;
}

.weight-select, .qty-select {
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-primary);
    background: #fff;
    outline: none;
    transition: all 0.2s var(--ease);
    cursor: pointer;
}

.weight-select {
    flex: 1;
}

.qty-select {
    width: 60px;
    text-align: center;
}

.weight-select:focus, .qty-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.1);
}

.quantity-selector {
    display: none;
}
.qty-btn {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: #fff;
    color: var(--text-primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s var(--ease);
    border: 1px solid var(--border-color);
    cursor: pointer;
}
.qty-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.qty-input {
    width: 60px;
    text-align: center;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 6px;
    -moz-appearance: textfield;
}

/* ─── Identical Branded Packaging Component ─────────────────── */
.product-pouch-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0 20px;
}

.pouch-mockup {
    width: 180px;
    height: 230px;
    background: #111116;
    border-radius: 12px 12px 18px 18px;
    position: relative;
    box-shadow: 0 12px 25px rgba(0,0,0,0.25), inset 0 2px 4px rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    border-left: 6px solid #EAB308;
    border-right: 6px solid #EAB308;
    transition: transform 0.3s var(--ease);
}

.product-card:hover .pouch-mockup {
    transform: translateY(-4px) scale(1.03);
}

.pouch-top-notch {
    width: 100%;
    height: 16px;
    background: #1a1a22;
    border-bottom: 2px dashed rgba(234, 179, 8, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}
.pouch-zip-line {
    width: 80%;
    height: 2px;
    background: rgba(255,255,255,0.2);
}

.pouch-brand-banner {
    width: 100%;
    background: linear-gradient(135deg, #EAB308 0%, #FACC15 100%);
    color: #111;
    text-align: center;
    padding: 8px 4px 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.pouch-brand-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1;
}

.pouch-brand-sub {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    opacity: 0.85;
}

.pouch-item-label {
    margin: 8px 0 6px;
    background: #1E1E26;
    color: #FACC15;
    padding: 3px 10px;
    border-radius: 4px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(234, 179, 8, 0.3);
    text-transform: uppercase;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pouch-window {
    width: 130px;
    height: 90px;
    background: radial-gradient(circle at center, rgba(255,255,255,0.12) 0%, rgba(0,0,0,0.6) 100%);
    border-radius: 10px;
    border: 2px solid rgba(234, 179, 8, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    box-shadow: inset 0 4px 12px rgba(0,0,0,0.8);
    position: relative;
}

.pouch-window-emoji {
    font-size: 3.2rem;
    filter: drop-shadow(0 6px 10px rgba(0,0,0,0.5));
}

.pouch-footer-tag {
    font-size: 0.55rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.5px;
    font-weight: 600;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.qty-unit {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-right: 4px;
}

/* ─── About Section ──────────────────────────────────────────── */
.about-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-primary), #FFF3E6, var(--bg-primary));
}
.about-content { max-width: 700px; margin: 0 auto; }
.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}
.feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid var(--border-color);
    transition: all 0.3s var(--ease);
    box-shadow: var(--card-shadow);
}
.feature:hover {
    border-color: var(--border-hover);
    transform: translateX(6px);
    box-shadow: var(--card-shadow-hover);
}
.feature-icon { font-size: 2rem; flex-shrink: 0; }
.feature h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}
.feature p {
    font-size: 0.88rem;
    color: var(--text-secondary);
}

/* ─── Cart Sidebar ───────────────────────────────────────────── */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
}
.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    max-width: 100%;
    height: 100%;
    height: 100dvh;
    background: #fff;
    border-left: 1px solid var(--border-color);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -10px 0 40px rgba(0,0,0,0.08);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
}
.cart-header h2 { font-size: 1.2rem; font-weight: 600; color: var(--text-primary); }
.cart-close {
    color: var(--text-secondary);
    padding: 4px;
    transition: color 0.2s;
}
.cart-close:hover { color: var(--text-primary); }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    gap: 8px;
}
.cart-empty-icon { font-size: 3rem; opacity: 0.3; }
.cart-empty p { font-size: 1rem; color: var(--text-secondary); }
.cart-empty small { font-size: 0.82rem; }

.cart-item {
    display: grid;
    grid-template-columns: 36px 1fr auto auto auto;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}
.cart-item-emoji { font-size: 1.5rem; }
.cart-item-details {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.cart-item-name {
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-primary);
}
.cart-item-price {
    font-size: 0.75rem;
    color: var(--text-muted);
}
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: var(--text-primary);
}
.cart-qty-btn {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s;
}
.cart-qty-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.cart-item-total {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 60px;
    text-align: right;
}
.cart-item-remove {
    color: var(--text-muted);
    padding: 4px;
    transition: color 0.2s;
}
.cart-item-remove:hover { color: #ef4444; }

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1.05rem;
    font-weight: 600;
}
.cart-total-amount {
    color: var(--accent);
    font-size: 1.3rem;
    font-family: 'Outfit', sans-serif;
}

/* ─── Modal (Checkout & Success) ─────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.4s var(--ease-bounce);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid var(--border-color);
}
.modal-header h2 { font-size: 1.2rem; font-weight: 600; color: var(--text-primary); }
.modal-close {
    color: var(--text-secondary);
    padding: 4px;
    transition: color 0.2s;
}
.modal-close:hover { color: var(--text-primary); }

.modal-body { padding: 24px 28px; }

/* ─── Order Summary Mini ─────────────────────────────────────── */
.order-summary-mini {
    margin-bottom: 24px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}
.order-summary-mini h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--accent);
}
.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-secondary);
    padding: 4px 0;
}

/* ─── Form Styles ────────────────────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.required { color: #ef4444; }
.optional { font-weight: 400; font-size: 0.78rem; color: var(--text-muted); }

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.92rem;
    outline: none;
    transition: all 0.3s var(--ease);
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 121, 58, 0.1);
    background: #fff;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; }

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

.checkout-total {
    margin: 24px 0;
    padding: 16px 0;
    border-top: 1px solid var(--border-color);
}
.checkout-total-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
}
.checkout-total-row.total-final {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    margin-top: 8px;
}

.checkout-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ─── Spinner ────────────────────────────────────────────────── */
.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Success Modal ──────────────────────────────────────────── */
.modal-success {
    text-align: center;
    padding: 48px 28px;
}
.modal-success h2 { font-size: 1.5rem; margin-bottom: 8px; color: var(--text-primary); }
.success-order-id {
    color: var(--accent);
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 12px;
}
.modal-success > p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 32px;
}

.success-animation { margin-bottom: 24px; }
.checkmark-circle {
    stroke-dasharray: 226;
    stroke-dashoffset: 226;
    animation: circleStroke 0.6s var(--ease) 0.3s forwards;
}
.checkmark-check {
    stroke-dasharray: 62;
    stroke-dashoffset: 62;
    animation: checkStroke 0.4s var(--ease) 0.8s forwards;
}
@keyframes circleStroke { to { stroke-dashoffset: 0; } }
@keyframes checkStroke { to { stroke-dashoffset: 0; } }

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ─── Toast Notifications ────────────────────────────────────── */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateX(120%);
    transition: transform 0.4s var(--ease);
    max-width: 340px;
}
.toast.show { transform: translateX(0); }
.toast-success { border-color: rgba(46, 158, 90, 0.3); }
.toast-error { border-color: rgba(239, 68, 68, 0.3); }
.toast-icon { font-size: 1.1rem; }
.toast-message { font-size: 0.88rem; color: var(--text-primary); }

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
    margin-top: 40px;
    padding: 60px 0 24px;
    background: #1A1A2E;
    color: #fff;
    border-top: none;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer .brand-text { color: #fff; }
.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    max-width: 300px;
    line-height: 1.6;
}
.footer-links h4,
.footer-contact h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-light);
    margin-bottom: 16px;
}
.footer-links a,
.footer-contact a {
    display: block;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    padding: 5px 0;
    transition: color 0.2s;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--accent-light); }
.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 768px) {
    .promo-banner { font-size: 0.85rem; padding: 8px 0; }
    .promo-banner strong { font-size: 0.9rem; padding: 2px 6px; }
    .nav-links { display: none; }
    .nav-container { padding: 0 16px; }
    .brand-main { font-size: 1.4rem; }
    .brand-top { font-size: 0.45rem; letter-spacing: 1.5px; }
    .cart-btn { padding: 8px; flex-shrink: 0; }
    .hero { padding: 120px 16px 40px; min-height: 90vh; }
    .hero-title { font-size: 2.4rem; }
    .hero-stats { gap: 20px; padding: 20px; }
    .stat-number { font-size: 1.4rem; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cart-sidebar { width: 100%; }
    .modal { margin: 16px; }
    .modal-body { padding: 20px; }
}

@media (max-width: 480px) {
    .promo-banner { font-size: 0.8rem; padding: 6px 0; }
    .brand-main { font-size: 1.25rem; }
    .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { width: 40px; height: 1px; }
    .products-grid { grid-template-columns: 1fr; }
    .category-filters { gap: 6px; flex-wrap: wrap; justify-content: center; }
    .filter-btn { padding: 8px 16px; font-size: 0.82rem; }
}
