/* ==========================================================================
   ZEBA THE MOTHER'S KITCHEN — STYLESHEET
   ========================================================================== */

/* ---------- Variables ---------- */
:root {
    --primary: #eb6a04;        /* brand orange, sampled from the logo */
    --primary-dark: #241a14;   /* near-black, for headings & dark surfaces */
    --secondary: #1c130d;      /* deep espresso-black, matches logo backdrop */
    --accent: #f3963c;         /* lighter warm orange accent */
    --cream: #fbf3e7;          /* warm cream background */
    --surface: #ffffff;
    --text: #2b1b14;           /* warm dark brown */
    --text-muted: #6f5d52;
    --border: #e7dbc9;
    --veg: #2f7d4f;
    --nonveg: #a3282f;

    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-soft: 0 8px 24px rgba(43, 27, 20, 0.08);
    --shadow-card: 0 4px 14px rgba(43, 27, 20, 0.10);
    --header-h: 64px;
    --mobile-bar-h: 66px;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 70px); }

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    padding-bottom: var(--mobile-bar-h);
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 18px;
    padding-right: 18px;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--primary-dark);
    margin: 0;
    line-height: 1.15;
}

p { margin: 0; }

a { text-decoration: none; color: inherit; }

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

button { font-family: inherit; }

:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.d-none { display: none !important; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--header-h);
    background: var(--secondary);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.brand-mark { color: var(--primary); flex-shrink: 0; }
.brand-logo {
    height: 42px;
    width: 42px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    color: #fdf6ec;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.brand-name em { font-style: italic; color: var(--accent); font-weight: 500; }

.brand-tagline {
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.header-nav {
    display: none;
    align-items: center;
    gap: 26px;
    margin: 0 auto;
}
.header-nav-link {
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(255,255,255,0.72);
    letter-spacing: 0.01em;
    position: relative;
    padding: 4px 0;
}
.header-nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}
.header-nav-link:hover { color: #fff; }
.header-nav-link.is-active { color: #fff; }
.header-nav-link.is-active::after,
.header-nav-link:hover::after { transform: scaleX(1); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.15s ease;
}
.header-icon-btn:hover { transform: translateY(-1px); }
.header-icon-btn--ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.85);
    box-shadow: none;
}
.header-icon-btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:active { transform: scale(0.97); }

.btn-hero-primary {
    background: var(--surface);
    color: var(--primary-dark);
    box-shadow: var(--shadow-soft);
}
.btn-hero-primary:hover { background: var(--accent); color: #fff; }

.btn-hero-whatsapp {
    background: #25d366;
    color: #ffffff;
}
.btn-hero-whatsapp:hover { background: #1ebd59; }

.btn-hero-call {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.55);
}
.btn-hero-call:hover { background: rgba(255,255,255,0.15); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    overflow: hidden;
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(43,20,16,0.35) 0%, rgba(30,14,12,0.55) 55%, rgba(20,9,8,0.88) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 56px 0 40px;
    max-width: 620px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 14px;
}

.hero-title {
    font-size: clamp(2.1rem, 8vw, 3.2rem);
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 14px;
    text-wrap: balance;
    text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}

.hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.88);
    margin-bottom: 26px;
    max-width: 46ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------- Trust strip ---------- */
.trust-strip {
    background: var(--surface);
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
}
.trust-item i {
    font-size: 1.4rem;
    color: var(--primary);
}

/* ---------- Section heading ---------- */
.section-heading {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 26px;
}
.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 8px;
}
.section-heading h2 {
    font-size: clamp(1.6rem, 5vw, 2.1rem);
    margin-bottom: 10px;
}
.section-heading p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* ---------- Menu section ---------- */
.menu-section {
    padding: 52px 0 20px;
}

.menu-search {
    position: relative;
    max-width: 520px;
    margin: 0 auto 20px;
}
.menu-search i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}
.menu-search input {
    width: 100%;
    padding: 13px 16px 13px 42px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    font-size: 0.95rem;
    color: var(--text);
    box-shadow: var(--shadow-card);
}
.menu-search input:focus {
    outline: none;
    border-color: var(--accent);
}

.category-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 2px 14px;
    margin-bottom: 8px;
    position: sticky;
    top: var(--header-h);
    background: var(--cream);
    z-index: 20;
    scrollbar-width: none;
}
.category-nav::-webkit-scrollbar { display: none; }

.category-chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.15s ease;
}
.category-chip:hover { border-color: var(--accent); }
.category-chip.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.no-results {
    text-align: center;
    color: var(--text-muted);
    padding: 30px 0;
    font-style: italic;
}

.menu-category { margin-top: 30px; scroll-margin-top: calc(var(--header-h) + 64px); }

.menu-category-title {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border);
}
.menu-category-title h3 {
    font-size: 1.25rem;
    color: var(--primary-dark);
}
.category-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
}

.menu-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.menu-item {
    display: flex;
    gap: 12px;
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 10px;
    box-shadow: var(--shadow-card);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.menu-item-media {
    position: relative;
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--cream);
}
.menu-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.veg-indicator {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 15px;
    height: 15px;
    border-radius: 3px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
}
.veg-indicator::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.veg-indicator--veg { border: 1.5px solid var(--veg); }
.veg-indicator--veg::after { background: var(--veg); }
.veg-indicator--nonveg { border: 1.5px solid var(--nonveg); }
.veg-indicator--nonveg::after { background: var(--nonveg); }

.menu-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}

.menu-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.menu-item-name {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.96rem;
    color: var(--text);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.badge-popular {
    font-family: var(--font-body);
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    background: var(--accent);
    color: #fff;
    padding: 2px 7px;
    border-radius: 999px;
}

.menu-item-order {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e9f9ef;
    color: #1ebd59;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.menu-item-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-item-price {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--primary);
    font-size: 1.02rem;
}

.menu-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 6px;
}

.btn-add-cart {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1.5px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
    flex-shrink: 0;
}
.btn-add-cart:hover { background: var(--primary); color: #fff; }
.btn-add-cart:active { transform: scale(0.94); }

.menu-item-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 3px;
}
.price-chip {
    font-size: 0.75rem;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 3px 9px;
    color: var(--text-muted);
}
.price-chip strong { color: var(--primary); font-weight: 700; }

.price-chip--addable {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.price-chip--addable i { color: var(--primary); font-size: 0.85rem; }
.price-chip--addable:hover { border-color: var(--primary); background: #fff; }
.price-chip--addable:active { transform: scale(0.95); }

/* ---------- WhatsApp CTA ---------- */
.whatsapp-cta {
    background: var(--secondary);
    color: #fff;
    padding: 44px 0;
    margin-top: 40px;
}
.whatsapp-cta-inner {
    display: flex;
    flex-direction: column;
    gap: 18px;
    text-align: center;
    align-items: center;
}
.whatsapp-cta h2 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.whatsapp-cta p {
    color: rgba(255,255,255,0.82);
    font-size: 0.92rem;
    max-width: 40ch;
}

/* ---------- Contact ---------- */
.contact-section {
    padding: 52px 0 40px;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.contact-card {
    background: var(--surface);
    border-radius: var(--radius-md);
    padding: 22px 14px;
    text-align: center;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}
.contact-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 4px;
}
.contact-card h3 {
    font-size: 0.95rem;
    color: var(--text);
}
.contact-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.contact-card--action:hover { box-shadow: var(--shadow-soft); }
.contact-link {
    margin-top: 4px;
    font-size: 0.78rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.75);
    text-align: center;
    padding: 20px 0;
    font-size: 0.8rem;
}
.footer-credit {
    margin-top: 6px;
    font-size: 0.74rem;
    color: rgba(255,255,255,0.45);
}
.footer-credit a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
.footer-credit a:hover { text-decoration: underline; }

/* ---------- Mobile sticky action bar ---------- */
.mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    background: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 18px rgba(0,0,0,0.08);
    padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-action {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 10px 0 8px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    /* reset for the <button> Cart action (others are <a>) */
    background: none;
    border: none;
    font-family: inherit;
    cursor: pointer;
}
.mobile-action i { font-size: 1.15rem; }
.mobile-action--primary {
    color: #fff;
    background: #25d366;
    margin: 6px 8px;
    border-radius: var(--radius-sm);
}
.mobile-action--primary i,
.mobile-action--primary span { color: #fff; }

/* ==========================================================================
   MOTION — entrance + scroll reveal micro-interactions
   ========================================================================== */

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

.hero-eyebrow, .hero-title, .hero-subtitle, .hero-actions {
    opacity: 0;
    animation: heroRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-eyebrow  { animation-delay: 0.05s; }
.hero-title    { animation-delay: 0.15s; }
.hero-subtitle { animation-delay: 0.28s; }
.hero-actions  { animation-delay: 0.4s; }

/* Scroll-reveal: JS toggles .is-visible on elements with .reveal */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gentle pulse to draw the eye to the primary WhatsApp action */
@keyframes gentlePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45); }
    50%      { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
}
.mobile-action--primary { animation: gentlePulse 2.6s ease-out infinite; }
.mobile-action--primary:active { animation: none; }

/* Image zoom on hover (desktop) */
.menu-item-media img { transition: transform 0.4s ease; }
@media (hover: hover) {
    .menu-item:hover .menu-item-media img { transform: scale(1.06); }
    .menu-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
    .category-chip:hover { transform: translateY(-1px); }
}

/* Search transition */
#noResults {
    animation: heroRise 0.4s ease forwards;
}

@media (prefers-reduced-motion: reduce) {
    .hero-eyebrow, .hero-title, .hero-subtitle, .hero-actions {
        opacity: 1; animation: none; transform: none;
    }
    .reveal { opacity: 1; transform: none; transition: none; }
    .mobile-action--primary { animation: none; }
}

/* ==========================================================================
   DECORATIVE DIVIDER
   ========================================================================== */
.section-divider {
    position: relative;
    height: 1px;
    background: var(--border);
    margin: 0 auto;
    max-width: 1140px;
}
.section-divider span {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 34px; height: 34px;
    border-radius: 50%;
    background: var(--cream);
    border: 1.5px solid var(--accent);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

/* ==========================================================================
   PAGE HERO (Contact page)
   ========================================================================== */
.page-hero {
    background: var(--secondary);
    color: #fff;
    padding: 48px 0 40px;
    text-align: center;
    position: relative;
}
.page-hero::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.page-hero h1 {
    color: #fff;
    font-size: clamp(1.8rem, 6vw, 2.6rem);
    margin: 8px 0 12px;
}
.page-hero p {
    color: rgba(255,255,255,0.78);
    max-width: 52ch;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.6;
}
.page-hero .hero-eyebrow { color: var(--accent); }

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.contact-page-section { padding: 48px 0 60px; }
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.contact-form-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    box-shadow: var(--shadow-soft);
}
.contact-form-card h2 {
    font-size: 1.3rem;
    margin-bottom: 6px;
}
.contact-form-intro {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 18px;
}
.contact-info-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    align-content: start;
}

/* ==========================================================================
   FORM ELEMENTS (contact form + email-order form)
   ========================================================================== */
.field-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}
.field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
.field-label input,
.field-label textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 11px 13px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--cream);
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text);
    resize: vertical;
}
.field-label input:focus,
.field-label textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}
.honeypot-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.captcha-field { margin-bottom: 14px; }
.form-status {
    font-size: 0.83rem;
    min-height: 1.2em;
    margin-bottom: 10px;
}
.form-status--success { color: var(--veg); font-weight: 600; }
.form-status--error { color: var(--nonveg); font-weight: 600; }

.w-100 { width: 100%; }

.btn.is-loading { opacity: 0.7; pointer-events: none; }

/* ==========================================================================
   CART — floating button, drawer, line items, email modal
   ========================================================================== */
.cart-fab {
    position: fixed;
    right: 20px;
    bottom: calc(var(--mobile-bar-h) + 16px);
    z-index: 55;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(235, 106, 4, 0.4);
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--nonveg);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--cream);
}
.cart-fab .cart-badge { border-color: #fff; }

.mobile-cart-icon-wrap { position: relative; display: inline-flex; }
.mobile-cart-icon-wrap .cart-badge {
    top: -6px; right: -10px;
    border-color: var(--surface);
}

@keyframes cartBump {
    0% { transform: scale(1); }
    35% { transform: scale(1.18); }
    100% { transform: scale(1); }
}
.cart-bump { animation: cartBump 0.35s ease; }

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(20, 12, 8, 0.55);
    z-index: 70;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.drawer-overlay.is-visible { opacity: 1; }

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(92vw, 400px);
    background: var(--cream);
    z-index: 80;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -8px 0 30px rgba(0,0,0,0.2);
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 18px 14px;
    background: var(--secondary);
    color: #fff;
    flex-shrink: 0;
}
.cart-drawer-header h3 {
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.drawer-close-btn {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
.drawer-close-btn:hover { background: rgba(255,255,255,0.22); }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 14px 18px;
}

.cart-empty {
    text-align: center;
    padding: 50px 10px;
    color: var(--text-muted);
}
.cart-empty i { font-size: 2.2rem; color: var(--border); margin-bottom: 10px; display: block; }
.cart-empty p { font-weight: 700; color: var(--text); margin-bottom: 4px; }
.cart-empty span { font-size: 0.82rem; }

.cart-line {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.cart-line-name { font-weight: 700; font-size: 0.88rem; color: var(--text); }
.cart-line-price { font-size: 0.74rem; color: var(--text-muted); }
.cart-line-controls {
    grid-column: 1 / 2;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}
.qty-btn {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.qty-btn:hover { border-color: var(--primary); }
.qty-value { font-weight: 700; font-size: 0.85rem; min-width: 16px; text-align: center; }
.remove-btn {
    margin-left: 6px;
    width: 26px; height: 26px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--nonveg);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
}
.cart-line-total {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
    white-space: nowrap;
}

.cart-summary {
    flex-shrink: 0;
    padding: 16px 18px calc(16px + env(safe-area-inset-bottom, 0px));
    background: var(--surface);
    border-top: 1px solid var(--border);
}
.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.cart-total-row strong { color: var(--primary); font-family: var(--font-display); font-size: 1.25rem; }
.cart-note { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.4; }

.cart-checkout-actions { display: flex; flex-direction: column; gap: 8px; }
.btn-cart-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    background: var(--primary);
    color: #fff;
    border: none;
    cursor: pointer;
}
.btn-cart-email:hover { background: var(--primary-dark); }
.btn-cart-email:disabled,
.btn-hero-whatsapp:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}
.btn-clear-cart {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 4px;
}
.btn-clear-cart:disabled { opacity: 0.4; cursor: not-allowed; }

body.no-scroll { overflow: hidden; }

/* Email order modal */
.email-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -46%);
    width: min(92vw, 440px);
    max-height: 88vh;
    overflow-y: auto;
    background: var(--surface);
    border-radius: var(--radius-lg);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.email-modal.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}
.email-modal-inner { padding: 26px 22px; position: relative; }
.email-modal .drawer-close-btn {
    position: absolute;
    top: 14px; right: 14px;
    background: var(--cream);
    color: var(--text);
}
.email-modal h3 {
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    padding-right: 30px;
}
.email-modal p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

/* Toast */
.cart-toast {
    position: fixed;
    left: 50%;
    bottom: calc(var(--mobile-bar-h) + 16px);
    transform: translate(-50%, 12px);
    background: var(--secondary);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    z-index: 95;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    white-space: nowrap;
    max-width: 88vw;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cart-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

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

/* Tablets and up */
@media (min-width: 576px) {
    .trust-grid { grid-template-columns: repeat(4, 1fr); }
    .contact-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 768px) {
    .hero { min-height: 560px; }
    .menu-items { grid-template-columns: repeat(2, 1fr); }
    .whatsapp-cta-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    .whatsapp-cta p { max-width: 44ch; }
    .field-row { grid-template-columns: 1fr 1fr; gap: 0 14px; }
}

@media (min-width: 860px) {
    .contact-page-grid { grid-template-columns: 1.3fr 1fr; align-items: start; }
    .contact-info-col { grid-template-columns: 1fr; }
}

/* Desktop: hide mobile bar, restore body padding */
@media (min-width: 992px) {
    .mobile-action-bar { display: none; }
    body { padding-bottom: 0; }
    .hero { min-height: 620px; }
    .hero-content { padding: 90px 0 70px; }
    .menu-items { grid-template-columns: repeat(3, 1fr); }
    .header-nav { display: flex; }
    .header-icon-btn--ghost { display: none; }
    .cart-fab { bottom: 24px; }
    .cart-toast { bottom: 24px; }
}

/* Large desktop */
@media (min-width: 1200px) {
    .container { padding-left: 24px; padding-right: 24px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
