/*
Theme Name: CurryCollect
Theme URI: https://currycollect.com
Author: CurryCollect Team
Author URI: https://currycollect.com
Description: A premium click-and-collect food ordering WordPress theme for South Asian restaurants. Features custom restaurant & menu post types, built-in cart, checkout system, restaurant manager dashboard, and multi-role authentication.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: currycollect
Domain Path: /languages
Tags: food, restaurant, delivery, e-commerce, responsive, custom-menu, custom-logo, featured-images, threaded-comments, translation-ready
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
*/

/* ============================================================
   CURRYCOLLECT - Premium Dynamic Menu System
   ============================================================ */
:root {
    --teal: #00CCBC;
    --teal-dark: #00a39d;
    --teal-light: #e8faf9;
    --teal-mid: #b2ecea;
    --orange: #FF8000;
    --orange-light: #fff3e6;
    --red: #E8212A;
    --bg: #f5f5f5;
    --white: #ffffff;
    --ink: #2E2E2E;
    --ink-mid: #5a5a5a;
    --ink-light: #9a9a9a;
    --border: #e8e8e8;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 2px 14px rgba(0,0,0,0.07);
    --shadow-lg: 0 6px 32px rgba(0,0,0,0.12);
    --gold: #FFD700;
    --admin-bg: #1a1a2e;
    --restaurant-bg: #0d3b1f;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Instrument Sans', sans-serif; background: var(--bg); color: var(--ink); min-height: 100vh; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; font-family: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* ── NAV ─────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--border); height: 66px; backdrop-filter: blur(12px); background: rgba(255,255,255,0.95); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 8px; font-family: 'Syne', sans-serif; font-weight: 800; font-size: 22px; color: var(--ink); }
.logo-mark { width: 34px; height: 34px; background: var(--teal); border-radius: 10px; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; transition: transform .3s; }
.logo:hover .logo-mark { transform: rotate(-10deg) scale(1.05); }
.logo em { color: var(--teal); font-style: normal; }
.nav-loc { display: flex; align-items: center; gap: 6px; background: var(--bg); border: 1px solid var(--border); border-radius: 40px; padding: 6px 14px; font-size: 13px; color: var(--ink-mid); cursor: pointer; transition: all .2s; }
.nav-loc:hover { border-color: var(--teal); background: var(--teal-light); }
.nav-loc svg { width: 14px; height: 14px; color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--ink-mid); padding: 6px 12px; border-radius: 8px; transition: all .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); background: var(--teal-light); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.cart-btn { background: var(--teal); color: white; border-radius: 12px; padding: 8px 18px; font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; font-family: 'Syne', sans-serif; transition: all .2s; position: relative; }
.cart-btn:hover { background: var(--teal-dark); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(0,204,188,0.3); }
.cart-btn:active { transform: scale(.97); }
.cart-count { background: var(--orange); color: white; border-radius: 20px; padding: 1px 7px; font-size: 11px; font-weight: 700; min-width: 20px; text-align: center; }
.btn-outline { background: transparent; border: 1.5px solid var(--teal); color: var(--teal); border-radius: 10px; padding: 7px 16px; font-size: 13px; font-weight: 600; transition: all .2s; }
.btn-outline:hover { background: var(--teal); color: white; transform: translateY(-1px); }
.user-badge { font-size: 11px; padding: 2px 10px; border-radius: 40px; font-weight: 600; }
.user-badge.super { background: #FFD700; color: #1a1a2e; }
.user-badge.restaurant { background: #0d3b1f; color: white; }
.user-badge.public { background: var(--teal-light); color: var(--teal-dark); }

/* ── HERO ────────────────────────────── */
.hero { background: var(--white); border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 60%; height: 200%; background: radial-gradient(circle, var(--teal-light) 0%, transparent 70%); opacity: .3; pointer-events: none; }
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 56px 24px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--teal-light); color: var(--teal-dark); border-radius: 40px; padding: 5px 14px; font-size: 12px; font-weight: 600; letter-spacing: .3px; margin-bottom: 18px; }
.hero-badge::before { content: ''; width: 7px; height: 7px; background: var(--teal); border-radius: 50%; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1) } 50% { opacity: .5; transform: scale(1.4) } }
.hero h1 { font-family: 'Syne', sans-serif; font-size: 52px; font-weight: 800; line-height: 1.08; color: var(--ink); margin-bottom: 18px; }
.hero h1 span { color: var(--teal); position: relative; }
.hero h1 span::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 100%; height: 4px; background: var(--teal); border-radius: 2px; }
.hero-sub { font-size: 16px; color: var(--ink-mid); line-height: 1.6; max-width: 420px; margin-bottom: 28px; }
.hero-search { display: flex; background: var(--bg); border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 28px; transition: all .3s; }
.hero-search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,204,188,.15); transform: translateY(-1px); }
.hero-search input { flex: 1; border: none; background: transparent; padding: 14px 18px; font-size: 15px; font-family: inherit; color: var(--ink); outline: none; }
.hero-search input::placeholder { color: var(--ink-light); }
.hero-search-btn { background: var(--teal); color: white; padding: 0 22px; font-size: 14px; font-weight: 600; font-family: 'Syne', sans-serif; border: none; cursor: pointer; transition: all .2s; }
.hero-search-btn:hover { background: var(--teal-dark); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.hero-chip { background: var(--white); border: 1px solid var(--border); border-radius: 40px; padding: 5px 14px; font-size: 13px; color: var(--ink-mid); cursor: pointer; transition: all .2s; }
.hero-chip:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); transform: translateY(-2px); }
.hero-stats { display: flex; gap: 0; border-top: 1px solid var(--border); padding-top: 24px; padding-bottom: 32px; }
.h-stat { flex: 1; padding-right: 24px; border-right: 1px solid var(--border); }
.h-stat:last-child { border-right: none; padding-right: 0; padding-left: 24px; }
.h-stat strong { display: block; font-family: 'Syne', sans-serif; font-size: 26px; font-weight: 800; color: var(--ink); }
.h-stat span { font-size: 12px; color: var(--ink-light); font-weight: 500; }

/* ── HERO VISUAL ────────────────────── */
.hero-visual { position: relative; padding-bottom: 0; }
.hero-food-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.food-tile { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); transition: all .3s; cursor: pointer; }
.food-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.food-tile.large { grid-column: span 2; }
.tile-img { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 64px; position: relative; }
.food-tile.large .tile-img { height: 200px; font-size: 80px; }
.tile-tag { position: absolute; top: 10px; left: 10px; background: var(--orange); color: white; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 40px; font-family: 'Syne', sans-serif; }
.tile-tag.new { background: var(--teal); }
.tile-body { padding: 12px 14px; }
.tile-body h4 { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 3px; }
.tile-body .tile-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.tile-body .price { color: var(--teal); font-weight: 700; font-size: 15px; }
.tile-body .rest-name { color: var(--ink-light); font-size: 12px; }
.add-btn { width: 26px; height: 26px; background: var(--teal); color: white; border-radius: 8px; font-size: 18px; line-height: 1; display: grid; place-items: center; border: none; cursor: pointer; transition: all .2s; }
.add-btn:hover { background: var(--teal-dark); transform: scale(1.1); }
.add-btn:active { transform: scale(.92); }

/* ── CATEGORY STRIP ─────────────────── */
.cat-strip { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 66px; z-index: 80; }
.cat-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-top: 10px; padding-bottom: 10px; }
.cat-inner::-webkit-scrollbar { display: none; }
.cat-pill { display: flex; align-items: center; gap: 6px; background: var(--bg); border: 1.5px solid transparent; border-radius: 40px; padding: 6px 16px; font-size: 13px; font-weight: 500; color: var(--ink-mid); cursor: pointer; white-space: nowrap; transition: all .2s; flex-shrink: 0; }
.cat-pill.active, .cat-pill:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }
.cat-pill.active { font-weight: 600; }
.cat-pill span { font-size: 17px; line-height: 1; }

/* ── PROMO BANNER ───────────────────── */
.promo-bar { max-width: 1200px; margin: 24px auto 0; padding: 0 24px; }
.promo-scroll { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.promo-scroll::-webkit-scrollbar { display: none; }
.promo-card { flex-shrink: 0; width: 320px; border-radius: var(--radius); overflow: hidden; display: flex; align-items: stretch; cursor: pointer; transition: all .3s; }
.promo-card:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); }
.promo-card.p1 { background: linear-gradient(135deg, #004d4b 0%, #00a39d 100%); }
.promo-card.p2 { background: linear-gradient(135deg, #7b2d00 0%, #ff8000 100%); }
.promo-card.p3 { background: linear-gradient(135deg, #1a0533 0%, #7b2fa8 100%); }
.promo-body { padding: 22px 20px; flex: 1; }
.promo-body .tag { font-size: 10px; font-weight: 700; letter-spacing: 1px; color: rgba(255,255,255,.7); text-transform: uppercase; margin-bottom: 6px; }
.promo-body h3 { font-family: 'Syne', sans-serif; font-size: 19px; font-weight: 700; color: white; margin-bottom: 4px; line-height: 1.2; }
.promo-body p { font-size: 12px; color: rgba(255,255,255,.75); line-height: 1.4; }
.promo-emoji { font-size: 62px; padding: 12px 18px 0; align-self: flex-end; line-height: 1; }

/* ── SECTION WRAP ───────────────────── */
.section { max-width: 1200px; margin: 0 auto; padding: 36px 24px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.section-head h2 { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 700; color: var(--ink); }
.section-head a { font-size: 13px; color: var(--teal); font-weight: 600; transition: all .2s; }
.section-head a:hover { color: var(--teal-dark); text-decoration: underline; }

/* ── RESTAURANT CARDS ───────────────── */
.rest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.rest-card { background: var(--white); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: all .3s; box-shadow: var(--shadow); position: relative; }
.rest-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.rest-card .card-badge { position: absolute; top: 12px; right: 12px; padding: 3px 10px; border-radius: 40px; font-size: 10px; font-weight: 700; color: white; z-index: 2; }
.rest-img { height: 156px; display: flex; align-items: center; justify-content: center; font-size: 56px; position: relative; }
.rest-img .status { position: absolute; bottom: 10px; left: 10px; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 40px; }
.status.open { background: #e8faf5; color: #059669; }
.status.busy { background: #fff3cd; color: #b45309; }
.rest-card-body { padding: 14px 16px; }
.rest-card-body h3 { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 3px; }
.rest-card-body .cuisine { font-size: 13px; color: var(--ink-light); margin-bottom: 10px; }
.rest-card-meta { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-mid); }
.rating { color: var(--orange); font-weight: 600; }
.rest-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.rest-tag { font-size: 11px; background: var(--bg); border: 1px solid var(--border); border-radius: 40px; padding: 2px 9px; color: var(--ink-mid); }
.rest-manager { font-size: 10px; color: var(--ink-light); margin-top: 8px; padding: 4px 8px; background: var(--bg); border-radius: 4px; display: inline-block; }

/* ── MENU SECTION ───────────────────── */
.menu-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.menu-filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-bottom: 20px; }
.menu-filters::-webkit-scrollbar { display: none; }
.mf-btn { background: var(--bg); border: 1.5px solid transparent; border-radius: 40px; padding: 6px 16px; font-size: 13px; font-weight: 500; color: var(--ink-mid); cursor: pointer; white-space: nowrap; transition: all .2s; flex-shrink: 0; }
.mf-btn.active, .mf-btn:hover { background: var(--teal-light); border-color: var(--teal); color: var(--teal); }
.menu-grid { display: flex; flex-direction: column; gap: 10px; }
.menu-item { background: var(--white); border-radius: var(--radius); padding: 16px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow); cursor: pointer; transition: all .3s; border-left: 3px solid transparent; }
.menu-item:hover { box-shadow: var(--shadow-lg); border-left-color: var(--teal); transform: translateX(4px); }
.item-img { width: 90px; height: 90px; border-radius: 10px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 42px; transition: transform .3s; }
.menu-item:hover .item-img { transform: scale(1.05) rotate(-3deg); }
.item-info { flex: 1; min-width: 0; }
.item-info h4 { font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.item-info p { font-size: 12px; color: var(--ink-light); margin-bottom: 8px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.item-footer { display: flex; align-items: center; justify-content: space-between; }
.item-price { font-family: 'Syne', sans-serif; font-size: 16px; font-weight: 700; color: var(--teal); }
.item-add { width: 32px; height: 32px; background: var(--teal); color: white; border-radius: 9px; font-size: 20px; display: grid; place-items: center; border: none; cursor: pointer; transition: all .2s; font-family: inherit; line-height: 1; }
.item-add:hover { background: var(--teal-dark); transform: scale(1.1); }
.item-add:active { transform: scale(.9); }
.item-qty { display: flex; align-items: center; gap: 8px; }
.item-qty button { width: 28px; height: 28px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; font-size: 16px; cursor: pointer; display: grid; place-items: center; transition: all .2s; color: var(--ink); }
.item-qty button:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }
.item-qty span { font-size: 14px; font-weight: 600; min-width: 16px; text-align: center; }
.item-badge { font-size: 10px; font-weight: 700; background: var(--teal-light); color: var(--teal-dark); border-radius: 4px; padding: 2px 6px; margin-left: 4px; vertical-align: middle; }
.item-badge.spicy { background: #fef2f2; color: #b91c1c; }
.item-restaurant-tag { font-size: 9px; background: var(--bg); color: var(--ink-mid); border-radius: 4px; padding: 2px 6px; margin-left: 4px; border: 1px solid var(--border); }
.section-divider { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; color: var(--ink-light); letter-spacing: .5px; text-transform: uppercase; padding: 16px 0 10px; border-bottom: 1px solid var(--border); margin-bottom: 10px; display: flex; align-items: center; gap: 12px; }
.section-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* ── CART PANEL ─────────────────────── */
.cart-panel { background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); position: sticky; top: 130px; transition: all .3s; }
.cart-panel:hover { box-shadow: var(--shadow-lg); }
.cart-panel h3 { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.cart-rest { font-size: 12px; color: var(--ink-light); margin-bottom: 18px; display: flex; align-items: center; gap: 5px; }
.cart-items-list { display: flex; flex-direction: column; gap: 12px; min-height: 80px; max-height: 400px; overflow-y: auto; }
.cart-items-list::-webkit-scrollbar { width: 4px; }
.cart-items-list::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 10px; }
.cart-empty-msg { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 0; gap: 8px; color: var(--ink-light); }
.cart-empty-msg span { font-size: 36px; }
.cart-empty-msg p { font-size: 13px; }
.cart-item-row { display: flex; align-items: center; gap: 10px; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--border); animation: slideIn .3s ease; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-10px) } to { opacity: 1; transform: translateX(0) } }
.ci-emoji { font-size: 24px; flex-shrink: 0; }
.ci-name { flex: 1; font-weight: 500; font-size: 13px; line-height: 1.3; }
.ci-rest { font-size: 10px; color: var(--ink-light); display: block; }
.ci-price { font-weight: 600; font-size: 13px; color: var(--ink); white-space: nowrap; }
.ci-controls { display: flex; align-items: center; gap: 6px; }
.ci-btn { width: 22px; height: 22px; background: var(--bg); border: 1px solid var(--border); border-radius: 6px; font-size: 13px; cursor: pointer; display: grid; place-items: center; transition: all .2s; color: var(--ink); }
.ci-btn:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }
.ci-qty { font-size: 13px; font-weight: 600; min-width: 14px; text-align: center; }
.cart-divider { height: 1px; background: var(--border); margin: 16px 0; }
.cart-summary-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-mid); margin-bottom: 7px; }
.cart-total-row { display: flex; justify-content: space-between; font-size: 16px; font-weight: 700; font-family: 'Syne', sans-serif; color: var(--ink); margin-top: 4px; padding-top: 8px; border-top: 2px solid var(--teal); }
.checkout-btn { width: 100%; margin-top: 16px; background: var(--teal); color: white; border: none; border-radius: 12px; padding: 14px; font-size: 15px; font-weight: 700; font-family: 'Syne', sans-serif; cursor: pointer; transition: all .2s; letter-spacing: .2px; }
.checkout-btn:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,204,188,0.3); }
.checkout-btn:disabled { background: var(--border); color: var(--ink-light); cursor: not-allowed; transform: none; box-shadow: none; }
.checkout-btn:active { transform: scale(.97); }
.promo-input { display: flex; gap: 8px; margin-top: 12px; }
.promo-input input { flex: 1; border: 1px solid var(--border); border-radius: 9px; padding: 8px 12px; font-size: 13px; font-family: inherit; color: var(--ink); outline: none; transition: all .2s; }
.promo-input input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,204,188,.1); }
.promo-input button { background: var(--bg); border: 1px solid var(--border); border-radius: 9px; padding: 8px 14px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink-mid); transition: all .2s; }
.promo-input button:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }

/* ── HOW IT WORKS ───────────────────── */
.hiw-section { background: var(--white); padding: 56px 24px; }
.hiw-inner { max-width: 1200px; margin: 0 auto; }
.hiw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.hiw-card { text-align: center; padding: 32px 24px; border-radius: var(--radius); border: 1px solid var(--border); transition: all .3s; }
.hiw-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--teal); }
.hiw-num { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; color: var(--teal); letter-spacing: 1px; margin-bottom: 14px; }
.hiw-icon { font-size: 44px; margin-bottom: 14px; }
.hiw-card h3 { font-family: 'Syne', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.hiw-card p { font-size: 14px; color: var(--ink-mid); line-height: 1.6; }

/* ── TESTIMONIALS ───────────────────── */
.reviews-strip { display: flex; gap: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 8px; }
.reviews-strip::-webkit-scrollbar { display: none; }
.review-card { flex-shrink: 0; width: 300px; background: var(--white); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); transition: all .3s; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.review-stars { color: var(--orange); font-size: 14px; margin-bottom: 12px; letter-spacing: 2px; }
.review-card p { font-size: 14px; color: var(--ink-mid); line-height: 1.6; margin-bottom: 16px; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.rev-avatar { width: 36px; height: 36px; border-radius: 50%; color: white; font-size: 14px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.rev-name { font-size: 13px; font-weight: 600; }
.rev-loc { font-size: 12px; color: var(--ink-light); }

/* ── CHECKOUT MODAL ─────────────────── */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 200; display: none; align-items: flex-end; justify-content: center; padding: 0; }
.overlay.show { display: flex; animation: fadeIn .2s; }
.overlay.center { align-items: center; }
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
.modal-sheet { background: var(--white); width: 100%; max-width: 540px; border-radius: 24px 24px 0 0; padding: 28px 28px 40px; max-height: 92vh; overflow-y: auto; animation: slideUp .3s ease; }
@keyframes slideUp { from { transform: translateY(100%) } to { transform: translateY(0) } }
.modal-handle { width: 40px; height: 4px; background: var(--border); border-radius: 2px; margin: 0 auto 22px; }
.modal-sheet h2 { font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; margin-bottom: 6px; }
.modal-rest { font-size: 13px; color: var(--ink-light); margin-bottom: 24px; display: flex; align-items: center; gap: 6px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-mid); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 11px 14px; font-size: 14px; font-family: inherit; color: var(--ink); outline: none; transition: all .2s; background: var(--white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,204,188,.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-section-title { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; margin: 20px 0 14px; padding-top: 16px; border-top: 1px solid var(--border); }
.pay-methods { display: flex; gap: 8px; margin-bottom: 16px; }
.pay-method { flex: 1; border: 1.5px solid var(--border); border-radius: 10px; padding: 10px; text-align: center; cursor: pointer; transition: all .2s; font-size: 12px; font-weight: 600; color: var(--ink-mid); }
.pay-method.active { border-color: var(--teal); background: var(--teal-light); color: var(--teal); transform: translateY(-2px); }
.pay-method:hover { border-color: var(--teal); transform: translateY(-2px); }
.pay-method .pay-icon { font-size: 20px; display: block; margin-bottom: 4px; }
.stripe-note { font-size: 11px; color: var(--ink-light); text-align: center; margin-top: 10px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.place-btn { width: 100%; background: var(--teal); color: white; border: none; border-radius: 14px; padding: 16px; font-size: 16px; font-weight: 700; font-family: 'Syne', sans-serif; cursor: pointer; margin-top: 22px; transition: all .2s; letter-spacing: .3px; }
.place-btn:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,204,188,0.3); }
.place-btn:active { transform: scale(.97); }
.modal-order-summary { background: var(--bg); border-radius: 12px; padding: 16px; margin-bottom: 20px; }
.mos-item { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-mid); padding: 4px 0; }
.mos-total { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; color: var(--ink); padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--border); }
.center-modal { background: var(--white); max-width: 460px; width: 90%; border-radius: 20px; padding: 36px 32px; animation: popIn .3s ease; max-height: 90vh; overflow-y: auto; }
@keyframes popIn { from { transform: scale(.85); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.success-icon { font-size: 64px; margin-bottom: 16px; text-align: center; }
.order-code { display: inline-block; background: var(--teal-light); color: var(--teal-dark); font-family: 'Syne', sans-serif; font-size: 22px; font-weight: 800; letter-spacing: 3px; padding: 8px 22px; border-radius: 10px; margin: 16px 0; }
.eta-bar { background: var(--bg); border-radius: 10px; padding: 14px 18px; margin: 16px 0; font-size: 14px; color: var(--ink-mid); display: flex; align-items: center; gap: 10px; }
.close-btn { background: var(--teal); color: white; border: none; border-radius: 12px; padding: 13px 28px; font-size: 15px; font-weight: 700; font-family: 'Syne', sans-serif; cursor: pointer; margin-top: 8px; transition: all .2s; }
.close-btn:hover { background: var(--teal-dark); transform: translateY(-2px); }

/* ── ABOUT ──────────────────────────── */
.about-section { padding: 60px 24px; }
.about-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-visual-block { background: var(--teal-light); border-radius: var(--radius); height: 360px; display: flex; align-items: center; justify-content: center; font-size: 120px; position: relative; overflow: hidden; }
.about-float { position: absolute; bottom: 24px; right: 24px; background: white; border-radius: 12px; padding: 14px 18px; box-shadow: var(--shadow-lg); font-family: 'Syne', sans-serif; }
.about-float strong { display: block; font-size: 28px; font-weight: 800; color: var(--teal); }
.about-float span { font-size: 12px; color: var(--ink-light); }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.about-section h2 { font-family: 'Syne', sans-serif; font-size: 34px; font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.about-section p { font-size: 15px; color: var(--ink-mid); line-height: 1.7; margin-bottom: 14px; }
.about-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.af { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.af-icon { width: 32px; height: 32px; background: var(--teal-light); border-radius: 9px; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; }

/* ── NEWSLETTER ─────────────────────── */
.newsletter { background: var(--teal); padding: 56px 24px; position: relative; overflow: hidden; }
.newsletter::before { content: ''; position: absolute; top: -50%; right: -20%; width: 60%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,.1) 0%, transparent 70%); pointer-events: none; }
.nl-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 48px; position: relative; z-index: 1; }
.nl-text h2 { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; color: white; margin-bottom: 6px; }
.nl-text p { font-size: 14px; color: rgba(255,255,255,.8); line-height: 1.5; }
.nl-form { display: flex; gap: 10px; flex: 1; min-width: 0; }
.nl-form input { flex: 1; border: none; border-radius: 10px; padding: 13px 16px; font-size: 14px; font-family: inherit; outline: none; background: rgba(255,255,255,.15); color: white; border: 1.5px solid rgba(255,255,255,.3); transition: all .2s; }
.nl-form input::placeholder { color: rgba(255,255,255,.6); }
.nl-form input:focus { background: rgba(255,255,255,.25); border-color: white; }
.nl-form button { background: white; color: var(--teal); border: none; border-radius: 10px; padding: 13px 22px; font-size: 14px; font-weight: 700; cursor: pointer; font-family: 'Syne', sans-serif; white-space: nowrap; transition: all .2s; }
.nl-form button:hover { background: var(--ink); color: white; transform: translateY(-2px); }

/* ── TOAST ──────────────────────────── */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--ink); color: white; padding: 12px 22px; border-radius: 40px; font-size: 14px; font-weight: 500; z-index: 999; transition: all .35s cubic-bezier(.34,1.56,.64,1); white-space: nowrap; display: flex; align-items: center; gap: 8px; pointer-events: none; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast-dot { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; animation: pulse 1.5s infinite; }

/* ── FOOTER ─────────────────────────── */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 48px 24px 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-brand .logo { color: white; margin-bottom: 12px; }
.footer-brand .logo-mark { background: var(--teal); }
.footer-brand p { font-size: 13px; line-height: 1.6; max-width: 260px; opacity: .7; }
.footer-col h4 { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; color: white; margin-bottom: 14px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 13px; opacity: .7; transition: all .2s; }
.footer-col ul a:hover { opacity: 1; color: var(--teal); transform: translateX(4px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; opacity: .5; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { opacity: .7; transition: all .2s; }
.footer-legal a:hover { opacity: 1; }

/* ── SINGLE RESTAURANT ──────────────── */
.single-restaurant-hero { background: var(--white); border-bottom: 1px solid var(--border); padding: 40px 24px; }
.single-restaurant-hero .restaurant-header { max-width: 1200px; margin: 0 auto; display: flex; gap: 32px; align-items: center; }
.restaurant-hero-img { width: 120px; height: 120px; border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 64px; flex-shrink: 0; }
.restaurant-hero-info h1 { font-family: 'Syne', sans-serif; font-size: 32px; font-weight: 800; margin-bottom: 6px; }
.restaurant-hero-info .cuisine { font-size: 15px; color: var(--ink-mid); margin-bottom: 12px; }
.restaurant-hero-meta { display: flex; gap: 16px; font-size: 14px; color: var(--ink-mid); }
.restaurant-hero-meta span { display: flex; align-items: center; gap: 4px; }

/* ── ORDERS ADMIN ───────────────────── */
.cc-admin-wrap { max-width: 1200px; margin: 40px auto; padding: 0 24px; }
.cc-admin-wrap h1 { font-family: 'Syne', sans-serif; font-size: 28px; font-weight: 800; margin-bottom: 24px; }
.cc-orders-table { width: 100%; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border-collapse: collapse; }
.cc-orders-table th { background: var(--teal-light); color: var(--teal-dark); font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; text-align: left; padding: 14px 18px; text-transform: uppercase; letter-spacing: .5px; }
.cc-orders-table td { padding: 14px 18px; font-size: 14px; border-bottom: 1px solid var(--border); }
.cc-orders-table tr:last-child td { border-bottom: none; }
.cc-orders-table tr:hover td { background: var(--bg); }
.status-badge { display: inline-block; padding: 3px 12px; border-radius: 40px; font-size: 11px; font-weight: 700; }
.status-confirmed { background: #dbeafe; color: #1e40af; }
.status-preparing { background: #fef3c7; color: #92400e; }
.status-ready { background: #d1fae5; color: #065f46; }
.status-completed { background: #e5e7eb; color: #374151; }

/* ── LOGIN / REGISTER ───────────────── */
.cc-auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); padding: 24px; }
.cc-auth-box { background: var(--white); border-radius: var(--radius); padding: 40px; width: 100%; max-width: 420px; box-shadow: var(--shadow-lg); }
.cc-auth-box h2 { font-family: 'Syne', sans-serif; font-size: 24px; font-weight: 800; margin-bottom: 6px; text-align: center; }
.cc-auth-box .subtitle { text-align: center; color: var(--ink-mid); font-size: 14px; margin-bottom: 24px; }
.cc-auth-box .form-group { margin-bottom: 16px; }
.cc-auth-box .form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-mid); margin-bottom: 6px; }
.cc-auth-box .form-group input { width: 100%; border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 14px; font-size: 14px; font-family: inherit; color: var(--ink); outline: none; transition: all .2s; }
.cc-auth-box .form-group input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,204,188,.1); }
.cc-auth-box .submit-btn { width: 100%; background: var(--teal); color: white; border: none; border-radius: 12px; padding: 14px; font-size: 15px; font-weight: 700; font-family: 'Syne', sans-serif; cursor: pointer; transition: all .2s; }
.cc-auth-box .submit-btn:hover { background: var(--teal-dark); transform: translateY(-2px); }
.cc-auth-box .auth-link { text-align: center; margin-top: 16px; font-size: 13px; color: var(--ink-mid); }
.cc-auth-box .auth-link a { color: var(--teal); font-weight: 600; }
.cc-auth-box .auth-link a:hover { text-decoration: underline; }
.cc-auth-box .error { background: #fef2f2; color: #b91c1c; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }
.cc-auth-box .success { background: #ecfdf5; color: #065f46; padding: 10px 14px; border-radius: 8px; font-size: 13px; margin-bottom: 16px; }

/* ── RESPONSIVE ─────────────────────── */
@media(max-width:900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
    .hero-visual { display: none; }
    .menu-wrap { grid-template-columns: 1fr; }
    .cart-panel { position: static; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .hiw-grid { grid-template-columns: 1fr; gap: 12px; }
    .about-inner { grid-template-columns: 1fr; }
    .nl-inner { flex-direction: column; gap: 24px; text-align: center; }
    .nl-form { flex-direction: column; }
    .single-restaurant-hero .restaurant-header { flex-direction: column; text-align: center; }
}
@media(max-width:600px) {
    .hero h1 { font-size: 34px; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .h-stat:last-child { padding-left: 16px; }
    .h-stat { padding-right: 16px; }
    .nav-links { display: none; }
    .cc-auth-box { padding: 28px 20px; }
}
