@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');
:root {
    --bg: #fff8ef;
    --card: #ffffff;
    --muted: #70685f;
    --text: #201612;
    --primary: #ff5a1f;
    --primary-dark: #d83d0a;
    --secondary: #ffd166;
    --accent: #00a896;
    --danger: #ef4444;
    --success: #16a34a;
    --line: rgba(32, 22, 18, .1);
    --shadow: 0 18px 50px rgba(88, 41, 20, .12);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 209, 102, .28), transparent 32rem),
        radial-gradient(circle at top right, rgba(255, 90, 31, .18), transparent 28rem),
        var(--bg);
    color: var(--text);
    font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(780px, calc(100% - 32px)); }
.icon { width: 24px; height: 24px; flex: 0 0 auto; }
.icon-sm { width: 18px; height: 18px; vertical-align: -3px; }
.step-icon { width: 42px; height: 42px; color: var(--primary); }
.empty-icon { width: 68px; height: 68px; color: var(--primary); }
.success-icon { width: 82px; height: 82px; color: var(--success); margin: 0 auto 12px; }

.promo-bar {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: linear-gradient(90deg, #2a1208, #7b2607 50%, #2a1208);
    color: #fff7ed; padding: 9px 14px; font-weight: 800; font-size: 14px;
}
.promo-bar strong { color: var(--secondary); }
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 248, 239, .86); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
}
.header-inner { height: 74px; display: flex; align-items: center; gap: 18px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 950; font-size: 24px; letter-spacing: -.04em; }
.brand span span, .footer-brand span span { color: var(--primary); }
.brand-logo, .footer-brand img { width: 42px; height: 42px; filter: drop-shadow(0 10px 15px rgba(255, 90, 31, .24)); }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.main-nav a { padding: 10px 14px; border-radius: 999px; font-weight: 800; color: #5d5149; transition: .2s ease; }
.main-nav a:hover, .main-nav a.active { color: #fff; background: var(--primary); box-shadow: 0 12px 24px rgba(255, 90, 31, .24); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.cart-link { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 12px 24px rgba(32, 22, 18, .08); }
.cart-link span, .floating-cart span { position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; border-radius: 50%; background: var(--secondary); color: #351400; display: grid; place-items: center; font-size: 12px; font-weight: 950; }
.user-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 999px; background: #fff; font-weight: 850; box-shadow: 0 12px 24px rgba(32, 22, 18, .08); }
.user-pill b { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; display: grid; place-items: center; font-size: 12px; }
.nav-toggle { display: none; border: 0; background: #fff; border-radius: 50%; width: 44px; height: 44px; place-items: center; }

.btn { border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; border-radius: 999px; font-weight: 900; transition: .2s ease; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--primary), #ff7a00); color: #fff; box-shadow: 0 16px 28px rgba(255, 90, 31, .28); }
.btn-primary:hover { box-shadow: 0 18px 36px rgba(255, 90, 31, .36); }
.btn-soft { background: #fff; color: var(--text); border: 1px solid var(--line); box-shadow: 0 12px 24px rgba(32, 22, 18, .06); }
.btn-dark { background: #24120a; color: #fff; }
.btn-sm { padding: 9px 13px; font-size: 14px; }
.btn-wide { width: 100%; }
.btn.disabled { opacity: .6; pointer-events: none; }
.text-link { font-weight: 900; color: var(--primary); }
.back-link { display: inline-block; color: var(--muted); font-weight: 850; margin-bottom: 12px; }

.alert { margin: 18px 0 -4px; padding: 14px 18px; border-radius: 18px; font-weight: 800; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

.hero { padding: 76px 0 42px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.03fr .97fr; gap: 42px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 950; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
h1, h2, h3 { font-family: "Outfit", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif; line-height: 1.08; margin: 0; letter-spacing: -.04em; }
h1 { font-size: clamp(40px, 6vw, 76px); }
h2 { font-size: clamp(28px, 4vw, 46px); }
h3 { font-size: 21px; }
p { color: var(--muted); margin: 0; }
.hero-copy p { font-size: 18px; max-width: 620px; margin: 20px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-actions.center { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-points span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.72); border: 1px solid var(--line); font-weight: 850; color: #55483f; }
.hero-visual { position: relative; min-height: 520px; }
.hero-card { background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow); border-radius: 32px; }
.hero-card-main { position: absolute; inset: 40px 36px 24px 42px; padding: 28px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
.hero-card-main:before { content: ""; position: absolute; inset: 24px; border-radius: 34px; background: linear-gradient(135deg, rgba(255,209,102,.35), rgba(255,90,31,.18)); z-index: 0; }
.hero-card-main img { position: relative; z-index: 1; width: 90%; max-height: 330px; margin: 0 auto; filter: drop-shadow(0 28px 28px rgba(72, 31, 12, .18)); animation: floaty 4s ease-in-out infinite; }
.hero-card-main div { position: relative; z-index: 2; background: #fff; border-radius: 22px; padding: 18px; box-shadow: 0 14px 30px rgba(32,22,18,.1); }
.hero-card-main small, .product-foot small { color: var(--muted); font-weight: 800; display: block; }
.hero-card-main strong { display: block; font-size: 24px; }
.hero-card-main span { color: var(--primary); font-weight: 950; }
.hero-card-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-weight: 950; }
.hero-card-float img { width: 64px; height: 64px; }
.hero-card-float.one { top: 38px; right: 0; animation: bob 3.3s ease-in-out infinite; }
.hero-card-float.two { bottom: 76px; left: 0; animation: bob 3.6s ease-in-out infinite reverse; }
@keyframes floaty { 0%,100%{ transform: translateY(0) rotate(-1deg); } 50%{ transform: translateY(-12px) rotate(1.5deg); } }
@keyframes bob { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }

.section { padding: 64px 0; }
.alt-section { background: rgba(255,255,255,.42); border-block: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.category-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: 0 12px 30px rgba(32,22,18,.06); transition: .2s ease; min-height: 174px; }
.category-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.category-card img { width: 68px; height: 68px; object-fit: contain; margin-bottom: 14px; }
.category-card strong { display: block; font-size: 18px; }
.category-card span { color: var(--muted); font-size: 14px; font-weight: 700; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; box-shadow: 0 16px 38px rgba(32,22,18,.08); transition: .22s ease; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-media { position: relative; display: grid; place-items: center; min-height: 230px; background: radial-gradient(circle at 50% 35%, rgba(255,209,102,.4), transparent 55%), linear-gradient(135deg, #fff1df, #fff); }
.product-img { width: 78%; height: 200px; object-fit: contain; filter: drop-shadow(0 22px 24px rgba(87, 41, 18, .17)); transition: .22s ease; }
.product-card:hover .product-img { transform: scale(1.05) rotate(1.5deg); }
.product-img.large { width: 86%; height: 420px; }
.product-badges { position: absolute; left: 14px; top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 10px; color: #fff; font-size: 12px; font-weight: 950; box-shadow: 0 8px 18px rgba(0,0,0,.12); }
.badge-hot { background: #ef4444; }
.badge-new { background: #00a896; }
.badge-spicy { background: #b91c1c; }
.badge-promo { background: #7c3aed; }
.product-body { padding: 20px; }
.product-meta { display: flex; justify-content: space-between; gap: 10px; color: var(--primary); font-size: 13px; font-weight: 900; margin-bottom: 10px; }
.product-meta span { display: inline-flex; align-items: center; gap: 5px; }
.product-body h3 a:hover { color: var(--primary); }
.product-body p { margin-top: 9px; font-size: 14px; min-height: 67px; }
.product-foot { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: 18px; }
.product-foot strong, .detail-price { display: block; color: var(--primary); font-size: 23px; font-weight: 1000; letter-spacing: -.03em; }

.steps-grid, .dashboard-grid, .contact-grid, .promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.step-card, .stat-card, .contact-card, .promo-card, .table-card, .summary-card, .checkout-form, .auth-card, .order-detail, .success-card, .empty-state {
    background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 28px; padding: 26px; box-shadow: 0 16px 38px rgba(32,22,18,.07);
}
.step-card h3, .contact-card h2 { margin-top: 16px; margin-bottom: 8px; }
.stat-card { display: flex; flex-direction: column; gap: 8px; }
.stat-card span { color: var(--muted); font-weight: 850; }
.stat-card strong { font-size: 34px; letter-spacing: -.04em; }

.page-hero { padding: 70px 0; background: linear-gradient(135deg, rgba(255,209,102,.32), rgba(255,255,255,.48)); border-bottom: 1px solid var(--line); }
.page-hero.slim { padding: 54px 0; }
.page-hero p { margin-top: 12px; font-size: 18px; max-width: 740px; }
.filter-bar { display: grid; grid-template-columns: 1fr 220px auto; gap: 12px; margin-bottom: 18px; }
.search-box { position: relative; }
.search-box svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { padding-left: 50px; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 18px; padding: 13px 15px; background: #fff; color: var(--text); outline: 0; transition: .2s ease; }
input:focus, select:focus, textarea:focus { border-color: rgba(255, 90, 31, .55); box-shadow: 0 0 0 4px rgba(255, 90, 31, .12); }
label { display: block; font-weight: 900; color: #3a2a22; margin-bottom: 14px; }
label input, label select, label textarea { margin-top: 7px; }
.category-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; }
.category-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font-weight: 900; color: #56483f; }
.category-tabs a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.category-tabs img { width: 28px; height: 28px; }

.product-detail-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 34px; align-items: start; }
.detail-media { position: relative; min-height: 520px; border-radius: 34px; display: grid; place-items: center; background: radial-gradient(circle at 50% 34%, rgba(255,209,102,.5), transparent 50%), #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.detail-badges { position: absolute; }
.detail-info { background: #fff; border: 1px solid var(--line); border-radius: 34px; padding: 32px; box-shadow: 0 16px 38px rgba(32,22,18,.07); }
.detail-info h1 { font-size: clamp(34px, 4vw, 52px); margin: 8px 0 14px; }
.detail-stats { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.detail-stats span { display: inline-flex; align-items: center; gap: 7px; background: #fff8ef; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; font-weight: 900; }
.option-form { margin-top: 22px; }
.form-block { margin-bottom: 18px; }
.option-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.option-grid.two-cols, .option-grid.three-cols { display: grid; }
.two-cols { grid-template-columns: repeat(2, 1fr); }
.three-cols { grid-template-columns: repeat(3, 1fr); }
.option-chip { margin: 0; cursor: pointer; }
.option-chip input { display: none; }
.option-chip span { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 11px 14px; background: #fff; font-weight: 900; transition: .2s ease; min-height: 46px; }
.option-chip.large span { border-radius: 20px; padding: 15px; }
.option-chip input:checked + span { border-color: var(--primary); background: rgba(255, 90, 31, .1); color: var(--primary); box-shadow: 0 0 0 4px rgba(255, 90, 31, .08); }
.form-row { display: grid; gap: 14px; }
.form-row.two { grid-template-columns: repeat(2, 1fr); }

.cart-grid, .checkout-grid { display: grid; grid-template-columns: 1fr 360px; gap: 26px; align-items: start; }
.cart-list { display: grid; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 112px 1fr 124px; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 14px; box-shadow: 0 12px 30px rgba(32,22,18,.06); }
.cart-item img { width: 104px; height: 104px; object-fit: contain; background: #fff8ef; border-radius: 22px; padding: 8px; }
.cart-item h3 { margin-bottom: 6px; }
.cart-item small { color: var(--muted); }
.qty-control { display: grid; gap: 8px; }
.qty-control span { font-weight: 950; color: var(--primary); text-align: right; }
.summary-card { position: relative; }
.summary-card.sticky { position: sticky; top: 100px; }
.summary-card h2, .checkout-form h2, .table-card h2 { margin-bottom: 16px; font-size: 26px; }
.summary-row, .summary-total, .mini-row { display: flex; justify-content: space-between; gap: 15px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.summary-row span, .mini-row span { color: var(--muted); }
.summary-total { border: 0; margin: 8px 0 18px; align-items: center; }
.summary-total strong { font-size: 28px; color: var(--primary); }
.voucher-form { display: flex; gap: 8px; margin: 14px 0; }
.voucher-active { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #fff7d7; border: 1px solid #fde68a; border-radius: 16px; padding: 10px 12px; color: #713f12; font-weight: 850; }
.voucher-active form, .inline-form { margin: 0; }
.voucher-active button { background: transparent; border: 0; color: var(--danger); font-weight: 900; cursor: pointer; }
.checkout-form { display: grid; gap: 8px; }
.payment-box { background: #f5fff9; border: 1px solid #bbf7d0; border-radius: 18px; padding: 14px; margin-top: 12px; }
.payment-box p { font-size: 14px; margin-top: 5px; }

.success-section { min-height: 60vh; display: grid; place-items: center; }
.success-card { text-align: center; }
.order-number { margin: 14px auto 18px; display: inline-flex; padding: 12px 18px; border-radius: 16px; background: #fff8ef; border: 1px dashed var(--primary); color: var(--primary); font-size: 24px; font-weight: 950; }
.track-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-bottom: 20px; }
.order-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 7px 11px; font-size: 12px; font-weight: 950; background: #e5e7eb; color: #374151; white-space: nowrap; }
.status-waiting_verification { background: #fef3c7; color: #92400e; }
.status-in_production { background: #dbeafe; color: #1d4ed8; }
.status-ready { background: #dcfce7; color: #166534; }
.status-on_delivery { background: #ede9fe; color: #6d28d9; }
.status-completed { background: #bbf7d0; color: #14532d; }
.status-cancelled { background: #fee2e2; color: #991b1b; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 22px 0; }
.timeline-step { position: relative; text-align: center; color: var(--muted); font-size: 12px; font-weight: 900; }
.timeline-step span { width: 18px; height: 18px; margin: 0 auto 8px; border-radius: 50%; background: #e5e7eb; display: block; box-shadow: 0 0 0 5px #f8fafc; }
.timeline-step.active span { background: var(--primary); }
.timeline-step.active { color: var(--primary); }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.info-grid div { background: #fff8ef; border-radius: 18px; padding: 12px; }
.info-grid small { display: block; color: var(--muted); font-weight: 800; }
.info-grid strong { display: block; }

.auth-section { min-height: 70vh; display: grid; place-items: center; padding: 60px 16px; }
.auth-card { width: min(480px, 100%); }
.auth-card h1 { font-size: 40px; margin: 6px 0 10px; }
.auth-card form { margin-top: 20px; }
.auth-switch { text-align: center; margin-top: 16px; }
.auth-switch a { color: var(--primary); font-weight: 950; }

.admin-shell { display: grid; grid-template-columns: 270px 1fr; min-height: 75vh; background: #f7f2ec; margin: -1px 0 0; }
.admin-sidebar { background: #24120a; color: #fff7ed; padding: 24px; }
.admin-sidebar .brand { color: #fff; margin-bottom: 30px; }
.admin-sidebar nav { display: grid; gap: 8px; }
.admin-sidebar nav a { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-radius: 16px; font-weight: 900; color: rgba(255,255,255,.76); }
.admin-sidebar nav a.active, .admin-sidebar nav a:hover { background: rgba(255,255,255,.12); color: #fff; }
.admin-main { padding: 28px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.responsive-table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: #6b5a4f; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
td small { color: var(--muted); }
.inline-form { display: flex; gap: 8px; align-items: center; }
.inline-form select { min-width: 180px; padding: 9px 10px; border-radius: 12px; }
.small-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stock-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 14px; display: grid; gap: 8px; }
.stock-card img { height: 110px; width: 100%; object-fit: contain; background: #fff8ef; border-radius: 18px; }
.stock-card span { color: var(--muted); font-size: 13px; font-weight: 800; }

.promo-card { position: relative; overflow: hidden; }
.promo-card:after { content: ""; position: absolute; width: 130px; height: 130px; right: -35px; top: -35px; border-radius: 50%; background: rgba(255, 90, 31, .1); }
.promo-icon { width: 62px; height: 62px; border-radius: 20px; background: linear-gradient(135deg, #fff1df, #ffe6b7); color: var(--primary); display: grid; place-items: center; margin-bottom: 16px; }
.promo-card h2 { font-size: 28px; margin: 8px 0 12px; }
.promo-card form { margin-top: 18px; }
.about-visual { background: #fff; border-radius: 34px; padding: 26px; box-shadow: var(--shadow); }
.about-visual img { width: 100%; max-height: 430px; object-fit: contain; }
.contact-card p { margin: 6px 0 18px; }
.empty-state { text-align: center; }
.empty-state h1, .empty-state h2 { margin-top: 10px; }
.empty-state p { margin: 10px auto 18px; }

.site-footer { background: #24120a; color: #fff7ed; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.15fr; gap: 28px; padding: 48px 0; }
.footer-brand { color: #fff; margin-bottom: 12px; }
.footer-brand img { width: 38px; height: 38px; }
.site-footer h4 { margin: 0 0 12px; }
.site-footer a, .site-footer p { display: block; color: rgba(255,247,237,.74); margin: 7px 0; }
.site-footer p svg { margin-right: 6px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); text-align: center; padding: 16px; color: rgba(255,247,237,.62); font-size: 13px; }
.floating-cart { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: none; place-items: center; background: var(--primary); color: #fff; box-shadow: 0 18px 35px rgba(255,90,31,.34); }

.reveal { animation: rise .48s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1020px) {
    .hero-grid, .product-detail-grid, .cart-grid, .checkout-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 440px; }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .summary-card.sticky { position: relative; top: auto; }
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: relative; }
    .small-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
    .header-inner { height: auto; min-height: 70px; flex-wrap: wrap; }
    .nav-toggle { display: grid; margin-left: auto; }
    .main-nav { display: none; width: 100%; order: 5; margin-left: 0; padding: 0 0 14px; }
    .main-nav.open { display: grid; grid-template-columns: repeat(2, 1fr); }
    .main-nav a { text-align: center; }
    .header-actions { margin-left: 0; }
    .hero { padding-top: 48px; }
    .hero-card-main { inset: 36px 0 26px; }
    .hero-card-float.one { right: 8px; }
    .hero-card-float.two { left: 8px; bottom: 42px; }
    .category-grid, .steps-grid, .dashboard-grid, .contact-grid, .promo-grid { grid-template-columns: 1fr; }
    .filter-bar { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline { grid-template-columns: 1fr; text-align: left; }
    .timeline-step { display: flex; align-items: center; gap: 10px; text-align: left; }
    .timeline-step span { margin: 0; }
    .floating-cart { display: grid; }
}
@media (max-width: 620px) {
    .container { width: min(100% - 22px, 1180px); }
    .promo-bar { font-size: 12px; }
    h1 { font-size: 38px; }
    .hero-visual { min-height: 360px; }
    .hero-card-main img { max-height: 230px; }
    .product-grid { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 82px 1fr; }
    .cart-item img { width: 80px; height: 80px; }
    .qty-control { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: center; }
    .form-row.two, .two-cols, .three-cols { grid-template-columns: 1fr; }
    .track-form { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .small-grid { grid-template-columns: 1fr; }
    .admin-main { padding: 18px 12px; }
    .admin-topbar { align-items: flex-start; flex-direction: column; }
}


/* Premium upgrade: hero slider, richer catalog, and long-term operations sections */
.premium-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 42px;
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 209, 102, .34), transparent 29rem),
        radial-gradient(circle at 86% 6%, rgba(255, 90, 31, .23), transparent 31rem),
        linear-gradient(180deg, rgba(255,255,255,.54), rgba(255,248,239,.12));
}
.premium-hero:before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.72); border-radius: 42px; pointer-events: none; }
.premium-hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 42px; align-items: center; position: relative; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; max-width: 560px; }
.hero-metrics div { background: rgba(255,255,255,.76); border: 1px solid rgba(255,255,255,.9); border-radius: 22px; padding: 16px; box-shadow: 0 18px 42px rgba(32,22,18,.08); backdrop-filter: blur(14px); }
.hero-metrics strong { display: block; font-size: 31px; line-height: 1; color: var(--primary); letter-spacing: -.05em; }
.hero-metrics span { display: block; margin-top: 6px; color: #5b4a40; font-size: 13px; font-weight: 900; }
.hero-slider-wrap { position: relative; min-width: 0; }
.hero-slider { position: relative; overflow: hidden; min-height: 530px; border-radius: 42px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 28px 80px rgba(77, 33, 13, .17); backdrop-filter: blur(18px); }
.slider-track { position: relative; min-height: 530px; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: translateX(30px) scale(.98); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; transform: translateX(0) scale(1); pointer-events: auto; }
.hero-slide img { width: 100%; height: 100%; min-height: 530px; object-fit: cover; }
.slide-caption { position: absolute; left: 26px; right: 26px; bottom: 26px; padding: 22px; border-radius: 28px; color: #24120a; background: rgba(255,255,255,.82); box-shadow: 0 18px 42px rgba(32,22,18,.14); backdrop-filter: blur(18px); }
.slide-caption span { display: inline-flex; padding: 7px 12px; border-radius: 999px; background: #24120a; color: #fff7ed; font-size: 12px; font-weight: 950; letter-spacing: .04em; text-transform: uppercase; }
.slide-caption h2 { font-size: clamp(26px, 3vw, 42px); margin: 10px 0 8px; }
.slide-caption p { max-width: 620px; color: #5b4a40; }
.slide-caption a { display: inline-flex; margin-top: 14px; color: var(--primary); font-weight: 950; }
.slider-controls { position: absolute; left: 24px; right: 24px; top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.slider-controls button { border: 0; background: rgba(255,255,255,.82); width: 42px; height: 42px; border-radius: 999px; box-shadow: 0 12px 26px rgba(32,22,18,.12); color: #24120a; font-size: 28px; font-weight: 900; cursor: pointer; }
.slider-dots { display: inline-flex; gap: 8px; padding: 9px 12px; border-radius: 999px; background: rgba(255,255,255,.72); box-shadow: 0 12px 26px rgba(32,22,18,.1); }
.slider-dots button { width: 9px; height: 9px; padding: 0; background: rgba(36,18,10,.25); box-shadow: none; }
.slider-dots button.active { width: 26px; background: var(--primary); }
.premium-strip-section { padding-top: 24px; padding-bottom: 24px; }
.premium-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.premium-strip div { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 16px; box-shadow: 0 12px 30px rgba(32,22,18,.06); }
.premium-strip svg { color: var(--primary); grid-row: span 2; }
.premium-strip strong { line-height: 1.1; }
.premium-strip span { color: var(--muted); font-size: 13px; font-weight: 800; }
.premium-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.signature-section { background: linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,248,239,.2)); }
.operations-section { padding-top: 34px; }
.operations-panel { display: grid; grid-template-columns: .95fr 1.05fr; gap: 26px; align-items: stretch; padding: 28px; border-radius: 38px; background: linear-gradient(135deg, #24120a, #5b240e 56%, #a63b13); color: #fff7ed; box-shadow: 0 32px 80px rgba(71, 25, 8, .22); position: relative; overflow: hidden; }
.operations-panel:before { content: ""; position: absolute; width: 360px; height: 360px; right: -110px; top: -120px; border-radius: 50%; background: rgba(255,209,102,.18); }
.operations-copy, .operations-grid { position: relative; z-index: 1; }
.operations-copy { padding: 18px; align-self: center; }
.operations-copy h2 { color: #fff; margin: 10px 0 14px; }
.operations-copy p { color: rgba(255,247,237,.76); }
.operations-copy .eyebrow { color: var(--secondary); }
.operations-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.operation-card { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 26px; padding: 20px; backdrop-filter: blur(12px); }
.operation-card .step-icon { color: var(--secondary); }
.operation-card h3 { color: #fff; margin: 12px 0 8px; }
.operation-card p { color: rgba(255,247,237,.74); font-size: 14px; }
.business-product-grid .product-card:nth-child(1), .business-product-grid .product-card:nth-child(2) { border-color: rgba(15,118,110,.25); }
.menu-insight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 26px; }
.menu-insight-grid div { background: linear-gradient(135deg, #fff, #fff7ed); border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: 0 14px 34px rgba(32,22,18,.06); }
.menu-insight-grid strong { display: block; font-size: 30px; line-height: 1; color: var(--primary); letter-spacing: -.05em; }
.menu-insight-grid span { display: block; margin-top: 6px; font-weight: 950; color: #24120a; }
.menu-insight-grid small { display: block; color: var(--muted); font-weight: 800; margin-top: 2px; }
.product-card { position: relative; }
.product-card:after { content: ""; position: absolute; inset: 0; border-radius: 30px; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,.22), transparent 45%); }
.product-media { min-height: 250px; }
.product-img { height: 220px; }
.category-card { position: relative; overflow: hidden; }
.category-card:after { content: ""; position: absolute; width: 110px; height: 110px; right: -38px; top: -38px; border-radius: 50%; background: rgba(255, 90, 31, .09); transition: .22s ease; }
.category-card:hover:after { transform: scale(1.25); }
.main-nav a { padding-inline: 12px; }
@media (max-width: 1120px) {
    .premium-hero-grid, .operations-panel { grid-template-columns: 1fr; }
    .hero-slider { min-height: 480px; }
    .slider-track, .hero-slide img { min-height: 480px; }
    .premium-strip, .premium-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
    .premium-hero { padding-top: 42px; }
    .hero-metrics, .premium-strip, .operations-grid, .menu-insight-grid { grid-template-columns: 1fr; }
    .hero-slider { min-height: 430px; border-radius: 30px; }
    .slider-track, .hero-slide img { min-height: 430px; }
    .slide-caption { left: 14px; right: 14px; bottom: 14px; padding: 16px; border-radius: 22px; }
    .slider-controls { left: 14px; right: 14px; top: 14px; }
    .premium-category-grid { grid-template-columns: 1fr; }
    .operations-panel { padding: 18px; border-radius: 28px; }
}
@media (max-width: 620px) {
    .hero-slider { min-height: 390px; }
    .slider-track, .hero-slide img { min-height: 390px; }
    .slide-caption p { display: none; }
}

.badge-preorder { background: #0f766e; }
.badge-frozen { background: #0284c7; }

/* Smart premium promo + cleaner frontend upgrade */
.smart-promo-bar { position: relative; overflow: hidden; }
.smart-promo-bar:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent); transform: translateX(-100%); animation: shimmer 4.2s ease-in-out infinite; }
.smart-promo-bar > * { position: relative; z-index: 1; }

.live-promo-section { padding-top: 26px; }
.live-promo-panel { display: grid; grid-template-columns: .82fr 1.18fr; gap: 24px; align-items: stretch; padding: 26px; border-radius: 34px; background: linear-gradient(135deg, rgba(32,22,18,.96), rgba(86,39,14,.92)); color: #fff8ef; box-shadow: 0 26px 80px rgba(45,20,8,.22); position: relative; overflow: hidden; }
.live-promo-panel:before { content: ""; position: absolute; width: 360px; height: 360px; right: -130px; top: -150px; border-radius: 50%; background: radial-gradient(circle, rgba(255,209,102,.35), transparent 64%); }
.live-promo-copy, .live-promo-grid { position: relative; z-index: 1; }
.live-promo-copy h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.08; margin: 8px 0 12px; color: #fff; }
.live-promo-copy p { color: rgba(255,248,239,.78); }
.smart-assistant-box { margin-top: 20px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.09); border-radius: 24px; padding: 16px; display: grid; gap: 5px; backdrop-filter: blur(16px); }
.smart-assistant-box b { color: #ffd166; }
.smart-assistant-box span { color: rgba(255,248,239,.78); font-size: 14px; }
.smart-assistant-box a { color: #fff; font-weight: 950; }
.live-promo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.live-promo-card, .live-clock-card { min-height: 190px; border: 1px solid rgba(255,255,255,.15); border-radius: 26px; padding: 18px; background: rgba(255,255,255,.94); color: var(--text); box-shadow: 0 20px 44px rgba(20,12,8,.12); overflow: hidden; position: relative; }
.live-promo-card.is-active { border-color: rgba(255,209,102,.72); box-shadow: 0 0 0 4px rgba(255,209,102,.16), 0 22px 52px rgba(20,12,8,.18); }
.live-promo-card.is-active:before { content: ""; position: absolute; width: 110px; height: 110px; right: -40px; top: -44px; border-radius: 999px; background: rgba(255,90,31,.16); }
.live-promo-top, .promo-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.live-promo-top strong { color: var(--primary); }
.live-promo-card h3 { margin: 12px 0 8px; font-size: 21px; line-height: 1.15; }
.live-promo-card p { font-size: 14px; color: var(--muted); min-height: 45px; }
.promo-mode { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 9px; font-size: 11px; font-weight: 950; background: #fff1df; color: #9a3412; }
.promo-mode.flash { background: #fee2e2; color: #991b1b; animation: pulseGlow 1.8s ease-in-out infinite; }
.promo-card-foot { margin-top: 14px; border-top: 1px dashed var(--line); padding-top: 12px; }
.promo-card-foot span { font-size: 12px; color: var(--muted); font-weight: 850; }
.promo-card-foot b { color: var(--primary); font-size: 24px; }
.countdown-pill { margin-top: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 7px 10px; border-radius: 999px; background: #fff7d7; color: #713f12; font-size: 12px; font-weight: 900; }
.live-clock-card { display: grid; place-items: center; text-align: center; background: linear-gradient(135deg, #fff8ef, #fff); }
.live-clock-card span { color: var(--muted); font-weight: 900; }
.live-clock-card strong { font-size: 38px; letter-spacing: -.05em; color: var(--primary); }
.live-clock-card small { color: var(--muted); }
.promo-schedule-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.promo-schedule-grid .live-promo-card { background: #fff; }
.soft-pill { display: inline-flex; align-items: center; padding: 9px 13px; border-radius: 999px; background: #fff7d7; border: 1px solid #fde68a; color: #713f12; font-weight: 900; font-size: 13px; }

.smart-menu-section { padding-top: 28px; }
.smart-product-grid .product-card:first-child { border-color: rgba(255,90,31,.34); }
.smart-filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 0 0 14px; padding: 10px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.72); }
.smart-filter-row > span { display: inline-flex; align-items: center; gap: 7px; font-weight: 950; color: var(--primary); padding: 7px 9px; }
.smart-filter-row a { padding: 8px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 900; font-size: 13px; color: #55483f; }
.smart-filter-row a.active, .smart-filter-row a:hover { background: var(--text); color: #fff8ef; border-color: var(--text); }
.smart-menu-helper { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(135deg, #fff, #fff8ef); border: 1px solid rgba(255,90,31,.16); border-radius: 24px; padding: 16px 18px; margin-bottom: 18px; box-shadow: 0 14px 34px rgba(32,22,18,.06); }
.smart-menu-helper strong { display: block; font-size: 18px; }
.smart-menu-helper span { display: block; color: var(--muted); font-size: 14px; }
.smart-menu-helper a { flex: 0 0 auto; color: var(--primary); font-weight: 950; }

.price-stack { display: grid; gap: 2px; }
.price-stack del { color: #9ca3af; font-size: 15px; font-weight: 850; text-decoration-thickness: 2px; }
.price-stack strong { color: var(--primary); font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.price-stack em { font-style: normal; color: #6d28d9; font-size: 12px; font-weight: 950; }
.price-stack.compact strong { font-size: 23px; }
.price-stack.compact del { font-size: 13px; }
.badge-live { background: linear-gradient(135deg, #111827, #7c2d12); }
.product-card.has-live-promo { border-color: rgba(255,90,31,.26); }
.media-promo-ribbon { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(32,22,18,.86); color: #fff8ef; border-radius: 999px; padding: 8px 11px; font-size: 12px; font-weight: 950; backdrop-filter: blur(12px); }
.smart-note.small { min-height: auto; margin-top: 12px; padding: 9px 11px; border-radius: 15px; background: #fff7d7; border: 1px solid #fde68a; color: #713f12; font-size: 12px; font-weight: 850; }
.detail-price-wrap { margin: 20px 0 6px; }
.detail-live-promo { margin-top: 12px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; border-radius: 18px; padding: 11px 13px; background: #fff7d7; color: #713f12; border: 1px solid #fde68a; font-weight: 900; }
.cart-promo-line { display: block; margin-top: 6px; color: #7c2d12 !important; font-weight: 900; }

.product-card, .step-card, .category-card, .summary-card, .checkout-form, .promo-card, .table-card { backdrop-filter: blur(14px); }
.product-body h3 { line-height: 1.2; }
.product-foot form .btn { white-space: nowrap; }

@keyframes shimmer { 0% { transform: translateX(-100%); } 46%, 100% { transform: translateX(100%); } }
@keyframes pulseGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,.18); } 50% { box-shadow: 0 0 0 7px rgba(239,68,68,0); } }

@media (max-width: 980px) {
    .live-promo-panel { grid-template-columns: 1fr; }
    .promo-schedule-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 680px) {
    .live-promo-grid, .promo-schedule-grid { grid-template-columns: 1fr; }
    .smart-menu-helper { align-items: flex-start; flex-direction: column; }
    .live-promo-panel { padding: 18px; border-radius: 26px; }
    .live-clock-card strong { font-size: 32px; }
}

/* Database backend/admin upgrade */
.card-head { display:flex; justify-content:space-between; align-items:center; gap:14px; margin-bottom:16px; }
.admin-grid-2 { display:grid; grid-template-columns: minmax(0,1fr) minmax(360px,.8fr); gap:22px; align-items:start; margin-bottom:22px; }
.quick-action-grid { display:grid; gap:14px; }
.quick-action { display:grid; grid-template-columns:56px 1fr; gap:12px; align-items:center; padding:16px; border:1px solid var(--line); background:#fffaf4; border-radius:22px; }
.quick-action strong { display:block; color:var(--dark); }
.quick-action span { display:block; color:var(--muted); font-size:13px; font-weight:800; margin-top:3px; }
.admin-setup-card { border:1px solid rgba(255,90,31,.25); background:linear-gradient(135deg,#fff8ef,#fff); margin-bottom:22px; }
.admin-form { display:grid; gap:14px; }
.admin-form label { display:grid; gap:8px; font-weight:900; color:#4b3428; }
.admin-form label small { color:var(--muted); font-weight:800; }
.admin-form input, .admin-form textarea, .admin-form select,
.inline-form select { width:100%; border:1px solid var(--line); border-radius:16px; padding:12px 13px; background:#fff; font:inherit; color:var(--dark); }
.admin-form textarea { resize:vertical; }
.form-grid-2 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.form-grid-3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.form-grid-4 { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.check-grid { display:flex; flex-wrap:wrap; gap:10px; }
.check-grid label { display:flex; grid-template-columns:none; align-items:center; gap:8px; padding:10px 12px; border:1px solid var(--line); border-radius:999px; background:#fff; }
.check-grid input { width:auto; }
.days-grid label { min-width:70px; justify-content:center; }
.table-actions { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.table-actions form { margin:0; }
.btn-danger { background:#fee2e2; color:#991b1b; border-color:#fecaca; }
.btn-danger:hover { background:#fecaca; }
.muted { color:var(--muted); }
code { background:#fff1df; border:1px solid #ffe0bd; border-radius:8px; padding:2px 6px; }
.admin-topbar p { margin:6px 0 0; color:var(--muted); font-weight:800; }
.stat-card small { color:var(--muted); font-weight:800; margin-top:4px; display:block; }
@media (max-width: 1080px) {
    .admin-grid-2, .form-grid-4, .form-grid-3 { grid-template-columns:1fr; }
}
@media (max-width: 720px) {
    .form-grid-2 { grid-template-columns:1fr; }
    .card-head { align-items:flex-start; flex-direction:column; }
}


.muted { color: var(--muted); }
.btn-danger { background: var(--danger); color: #fff; box-shadow: 0 16px 28px rgba(239, 68, 68, .22); }
.btn-danger:hover { box-shadow: 0 18px 36px rgba(239, 68, 68, .3); }

.auth-brand { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.auth-brand img { width: 76px; height: 76px; object-fit: contain; border-radius: 24px; background: #fff8ef; padding: 12px; box-shadow: 0 16px 32px rgba(32, 22, 18, .08); }
.auth-brand h1 { margin: 4px 0 0; }

.admin-brand-mark { gap: 12px; align-items: center; }
.admin-brand-mark img { width: 44px; height: 44px; object-fit: contain; border-radius: 14px; background: rgba(255,255,255,.08); padding: 8px; }
.admin-sidebar-meta { margin: -10px 0 22px; display: grid; gap: 2px; }
.admin-sidebar-meta small { color: rgba(255,255,255,.56); text-transform: uppercase; letter-spacing: .08em; }
.admin-sidebar-meta strong { color: #fff; }

.admin-brand-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.admin-brand-live { display: flex; align-items: center; gap: 12px; background: #fff8ef; border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; min-width: 250px; }
.admin-brand-live img { width: 52px; height: 52px; object-fit: contain; }
.admin-brand-live strong, .admin-brand-live span { display: block; }
.admin-brand-live span { color: var(--muted); font-size: 13px; font-weight: 700; }
.branding-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 18px 0 20px; }
.branding-card { display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 24px; background: #fffcf8; }
.branding-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.branding-card-head h3 { font-size: 22px; }
.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.image-preview-card { display: grid; gap: 8px; }
.image-preview-card small { color: var(--muted); font-weight: 800; }
.image-preview-box { min-height: 170px; border: 1px dashed rgba(32, 22, 18, .2); border-radius: 18px; background: #fff; padding: 16px; display: grid; place-items: center; overflow: hidden; }
.image-preview-box.is-current { background: #fff8ef; }
.image-preview-box img { max-width: 100%; max-height: 130px; object-fit: contain; }
.image-preview-box span { color: var(--muted); font-weight: 800; text-align: center; }
.image-preview-box.favicon-box { min-height: 120px; }
.mini-help { margin: 0; font-size: 12px; color: var(--muted); word-break: break-all; }
.checkbox-inline { display: flex; align-items: flex-start; gap: 10px; font-weight: 800; }
.checkbox-inline input { width: auto; margin-top: 3px; }
.branding-actions-row, .branding-reset-grid { display: flex; gap: 12px; flex-wrap: wrap; }
.branding-reset-grid { margin: 16px 0 24px; }
.table-actions { display: flex; gap: 8px; flex-wrap: wrap; }

@media (max-width: 820px) {
    .auth-brand, .admin-brand-head { flex-direction: column; align-items: flex-start; }
    .admin-brand-live { width: 100%; min-width: 0; }
    .branding-grid, .preview-grid { grid-template-columns: 1fr; }
}


/* Admin usability upgrade: collapsible sidebar and safer responsive forms */
.admin-shell { grid-template-columns: 280px minmax(0, 1fr); transition: grid-template-columns .24s ease; }
.admin-shell.sidebar-collapsed { grid-template-columns: 86px minmax(0, 1fr); }
.admin-sidebar { position: relative; min-width: 0; overflow: hidden; transition: width .24s ease, padding .24s ease; }
.admin-sidebar-toggle { width: 42px; height: 42px; border: 0; border-radius: 16px; display: grid; place-items: center; margin: 0 0 18px auto; background: rgba(255,255,255,.1); color: #fff7ed; cursor: pointer; transition: .2s ease; }
.admin-sidebar-toggle:hover { background: rgba(255,255,255,.18); transform: translateY(-1px); }
.admin-sidebar nav a span,
.admin-brand-mark span,
.admin-sidebar-meta { transition: opacity .18s ease, transform .18s ease; white-space: nowrap; }
.admin-shell.sidebar-collapsed .admin-sidebar { padding: 18px 14px; }
.admin-shell.sidebar-collapsed .admin-sidebar-toggle { margin-left: auto; margin-right: auto; }
.admin-shell.sidebar-collapsed .admin-brand-mark { justify-content: center; margin-bottom: 18px; }
.admin-shell.sidebar-collapsed .admin-brand-mark img { width: 46px; height: 46px; }
.admin-shell.sidebar-collapsed .admin-brand-mark span,
.admin-shell.sidebar-collapsed .admin-sidebar nav a span,
.admin-shell.sidebar-collapsed .admin-sidebar-meta { opacity: 0; width: 0; max-width: 0; overflow: hidden; transform: translateX(-6px); pointer-events: none; }
.admin-shell.sidebar-collapsed .admin-sidebar nav a { justify-content: center; padding: 13px; }
.admin-shell.sidebar-collapsed .admin-sidebar nav a .icon-sm { margin: 0; }
.admin-main { min-width: 0; overflow: hidden; }
.admin-topbar { gap: 16px; }
.admin-topbar > div { min-width: 0; }
.admin-topbar h1 { overflow-wrap: anywhere; }
.table-card, .admin-form, .branding-card, .stock-card { min-width: 0; }
.admin-grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.form-grid-2, .form-grid-3, .form-grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.branding-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.preview-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
.admin-form input, .admin-form textarea, .admin-form select, .inline-form select { min-width: 0; max-width: 100%; }
.inline-form { flex-wrap: wrap; align-items: stretch; }
.inline-form select { flex: 1 1 180px; }
.inline-form .btn { flex: 0 0 auto; }
.responsive-table { max-width: 100%; border-radius: 20px; }
.card-head { flex-wrap: wrap; }
.branding-reset-grid { align-items: center; }

@media (max-width: 1020px) {
    .admin-shell, .admin-shell.sidebar-collapsed { grid-template-columns: 1fr; }
    .admin-sidebar { padding: 16px; }
    .admin-shell.sidebar-collapsed .admin-sidebar { padding: 16px; }
    .admin-shell.sidebar-collapsed .admin-brand-mark span,
    .admin-shell.sidebar-collapsed .admin-sidebar nav a span,
    .admin-shell.sidebar-collapsed .admin-sidebar-meta { opacity: 1; width: auto; max-width: none; transform: none; pointer-events: auto; }
    .admin-sidebar nav { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
    .admin-shell.sidebar-collapsed .admin-sidebar nav a { justify-content: flex-start; }
    .admin-sidebar-toggle { display: none; }
}
@media (max-width: 620px) {
    .admin-main { padding: 18px 12px; }
    .admin-grid-2, .form-grid-2, .form-grid-3, .form-grid-4, .branding-grid, .preview-grid { grid-template-columns: 1fr; }
    .admin-form, .table-card { padding-left: 14px; padding-right: 14px; }
    table { min-width: 680px; }
}

/* Storefront visual revision */
:root {
    --bg: #f5f7fb;
    --card: #ffffff;
    --muted: #64748b;
    --text: #0f172a;
    --dark: #0f172a;
    --primary: #b45309;
    --primary-dark: #78350f;
    --secondary: #f59e0b;
    --accent: #0f766e;
    --danger: #dc2626;
    --success: #15803d;
    --line: rgba(15, 23, 42, .10);
    --shadow: 0 24px 70px rgba(15, 23, 42, .10);
    --radius: 22px;
}
body {
    background:
        radial-gradient(circle at 14% -8%, rgba(180, 83, 9, .14), transparent 34rem),
        radial-gradient(circle at 100% 4%, rgba(15, 118, 110, .10), transparent 32rem),
        linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    color: var(--text);
}
.promo-bar {
    background: linear-gradient(90deg, #0f172a, #1e293b 52%, #0f172a);
    color: #f8fafc;
    border-bottom: 1px solid rgba(255,255,255,.08);
    letter-spacing: .01em;
}
.promo-bar strong { color: #fbbf24; }
.site-header {
    background: rgba(248, 250, 252, .86);
    border-bottom: 1px solid rgba(15,23,42,.09);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}
.brand, .footer-brand { letter-spacing: -.035em; }
.brand-logo, .footer-brand img,
.auth-brand img,
.admin-brand-mark img {
    border-radius: 15px;
    background: #0f172a;
    padding: 6px;
    filter: drop-shadow(0 14px 22px rgba(15, 23, 42, .16));
}
.main-nav a { color: #475569; }
.main-nav a:hover, .main-nav a.active {
    background: #0f172a;
    box-shadow: 0 16px 28px rgba(15,23,42,.18);
}
.cart-link, .user-pill, .btn-soft {
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 14px 30px rgba(15,23,42,.07);
}
.user-pill b { background: linear-gradient(135deg, #0f172a, #334155); }
.btn-primary {
    background: linear-gradient(135deg, #0f172a, #334155);
    color: #fff;
    box-shadow: 0 18px 34px rgba(15, 23, 42, .24);
}
.btn-primary:hover { box-shadow: 0 20px 40px rgba(15, 23, 42, .30); }
.btn-dark { background: #0f172a; color: #fff; }
.text-link, .eyebrow { color: #b45309; }
.hero-slide, .product-card, .category-card, .step-card, .summary-card, .checkout-form, .promo-card, .table-card, .auth-card,
.branding-card, .stock-card {
    border: 1px solid rgba(15, 23, 42, .09);
    box-shadow: 0 18px 52px rgba(15, 23, 42, .08);
}
.product-card:hover, .category-card:hover, .step-card:hover { box-shadow: var(--shadow); }
.premium-hero { position: relative; overflow: hidden; }
.premium-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(15,23,42,.04), rgba(180,83,9,.05));
}
.hero-copy h1 { max-width: 760px; }
.hero-copy p { color: #475569; }
.hero-metrics div,
.premium-strip div,
.operation-card,
.live-clock-card,
.smart-assistant-box {
    background: rgba(255,255,255,.90);
    border: 1px solid rgba(15,23,42,.09);
    box-shadow: 0 14px 34px rgba(15,23,42,.07);
}
.hero-metrics strong, .premium-strip strong { color: #0f172a; }
.hero-slider { border: 1px solid rgba(15,23,42,.10); box-shadow: var(--shadow); }
.slide-caption { background: rgba(15, 23, 42, .86); backdrop-filter: blur(14px); color: #f8fafc; }
.slide-caption p { color: rgba(248,250,252,.78); }
.slider-controls button { background: #0f172a; color: #fff; }
.slider-dots button.active { background: #0f172a; }
.product-media {
    background: radial-gradient(circle at 50% 32%, rgba(245,158,11,.18), transparent 58%), linear-gradient(135deg, #f8fafc, #eef2f7);
}
.product-meta { color: #b45309; }
.badge-hot, .badge-spicy { background: #b91c1c; }
.badge-new { background: #0f766e; }
.badge-promo, .badge-live { background: #0f172a; }
.price-stack em { background: #fef3c7; color: #92400e; }
.operations-panel,
.live-promo-panel {
    background: linear-gradient(135deg, #0f172a, #1e293b 58%, #78350f);
    box-shadow: 0 32px 90px rgba(15, 23, 42, .20);
}
.operations-panel p,
.live-promo-panel p,
.live-promo-panel span { color: rgba(248,250,252,.76); }
.live-promo-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.live-promo-card h3, .live-clock-card strong, .operations-panel h2, .live-promo-panel h2 { color: #fff; }
.media-promo-ribbon { background: rgba(15,23,42,.88); }
.admin-shell { background: #eef2f7; }
.admin-sidebar {
    background: linear-gradient(180deg, #0f172a, #1e293b);
    border-right: 1px solid rgba(255,255,255,.08);
}
.admin-sidebar nav a.active, .admin-sidebar nav a:hover { background: rgba(245,158,11,.16); color: #fff; }
.admin-sidebar-toggle { background: rgba(255,255,255,.10); }
.admin-topbar {
    padding: 18px 20px;
    background: rgba(255,255,255,.78);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 24px;
    box-shadow: 0 16px 42px rgba(15,23,42,.06);
}
.admin-form label { color: #1e293b; }
.admin-form input, .admin-form textarea, .admin-form select,
.inline-form select, .filter-bar input, .filter-bar select, .search-box, .form-card input, .form-card textarea, .form-card select,
.track-form input, .auth-card input, .checkout-form input, .checkout-form textarea, .checkout-form select {
    border: 1px solid rgba(15,23,42,.12);
    background: #fff;
    color: #0f172a;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.admin-form input:focus, .admin-form textarea:focus, .admin-form select:focus,
.auth-card input:focus, .checkout-form input:focus, .checkout-form textarea:focus, .checkout-form select:focus,
.filter-bar input:focus, .filter-bar select:focus, .track-form input:focus {
    outline: 3px solid rgba(180, 83, 9, .16);
    border-color: rgba(180,83,9,.45);
}
.quick-action { background: #fff; border-color: rgba(15,23,42,.08); }
.quick-action:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(15,23,42,.10); }
.admin-setup-card { background: linear-gradient(135deg, #fff7ed, #fff); border-color: rgba(180,83,9,.20); }
.branding-card { background: #fff; }
.image-preview-box { border-color: rgba(15,23,42,.16); background: #f8fafc; }
.image-preview-box.is-current { background: #f1f5f9; }
.btn-danger { background: #dc2626; color: #fff; border: 0; }
.footer-bottom { background: #0f172a; color: rgba(248,250,252,.72); }
.site-footer { background: #111827; color: #f8fafc; }
.site-footer p, .site-footer a { color: rgba(248,250,252,.72); }
.site-footer h4, .footer-brand strong { color: #fff; }
.alert { box-shadow: 0 12px 30px rgba(15,23,42,.06); }
@media (max-width: 720px) {
    .admin-topbar { align-items: flex-start; flex-direction: column; }
    .premium-strip div { align-items: start; }
}

/* Live storefront polish */
html { color-scheme: light; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.premium-hero.yp-hero {
    padding: clamp(72px, 8vw, 118px) 0 56px;
    background:
        radial-gradient(circle at 6% 12%, rgba(245, 158, 11, .18), transparent 30rem),
        radial-gradient(circle at 80% 18%, rgba(15, 118, 110, .12), transparent 34rem),
        linear-gradient(180deg, rgba(255,255,255,.74), rgba(248,250,252,.32));
}
.yp-hero .premium-hero-grid { grid-template-columns: minmax(0, .94fr) minmax(420px, 1.06fr); }
.yp-hero .eyebrow { margin-bottom: 18px; }
.yp-hero h1 { font-size: clamp(42px, 6.4vw, 82px); letter-spacing: -.065em; }
.yp-hero .hero-copy p { font-size: clamp(16px, 1.6vw, 20px); max-width: 680px; color: #475569; }
.hero-trust-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-trust-row span {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 13px; border-radius: 999px; color: #334155; font-weight: 900; font-size: 13px;
    background: rgba(255,255,255,.82); border: 1px solid rgba(15,23,42,.08);
    box-shadow: 0 12px 26px rgba(15,23,42,.06);
}
.yp-hero .hero-metrics div { position: relative; overflow: hidden; }
.yp-hero .hero-metrics div:after {
    content: ""; position: absolute; right: -24px; top: -24px; width: 76px; height: 76px; border-radius: 999px;
    background: rgba(245,158,11,.12);
}
.yp-slider { transform-style: preserve-3d; isolation: isolate; }
.yp-slider:before {
    content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.38); border-radius: 32px; z-index: 2; pointer-events: none;
}
.yp-slider .hero-slide:after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,.04), rgba(15,23,42,.32));
}
.yp-slider .hero-slide.active img { animation: heroZoom 7.2s ease both; }
@keyframes heroZoom { from { transform: scale(1.015); } to { transform: scale(1.06); } }
.slider-progress { position: absolute; left: 26px; right: 26px; bottom: 18px; height: 4px; border-radius: 999px; background: rgba(255,255,255,.30); z-index: 5; overflow: hidden; }
.slider-progress span { display: block; height: 100%; width: 0%; border-radius: inherit; background: linear-gradient(90deg, #fbbf24, #fff7ed); transition: width .18s linear; }
.hero-orbit-card {
    position: absolute; z-index: 8; display: inline-flex; align-items: center; gap: 10px; padding: 12px 14px;
    border-radius: 20px; background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.76);
    box-shadow: 0 18px 42px rgba(15,23,42,.13); backdrop-filter: blur(16px); color: #0f172a; font-weight: 850;
}
.hero-orbit-card b { color: #b45309; }
.hero-orbit-card.orbit-one { right: -12px; top: 88px; animation: orbitFloat 4.2s ease-in-out infinite; }
.hero-orbit-card.orbit-two { left: -10px; bottom: 92px; animation: orbitFloat 4.8s ease-in-out infinite reverse; }
@keyframes orbitFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.compact-section { padding-top: 26px; padding-bottom: 26px; }
.service-lanes-section { padding-top: 32px; }
.service-lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-lanes article {
    position: relative; min-height: 248px; padding: 24px; border-radius: 30px; overflow: hidden;
    background: #fff; border: 1px solid rgba(15,23,42,.08); box-shadow: 0 18px 52px rgba(15,23,42,.08);
    transition: transform .24s ease, box-shadow .24s ease;
}
.service-lanes article:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-lanes article:before {
    content: ""; position: absolute; inset: auto -70px -95px auto; width: 190px; height: 190px; border-radius: 999px; background: rgba(245,158,11,.14);
}
.service-lanes span { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; background: #0f172a; color: #f8fafc; font-weight: 950; }
.service-lanes h3 { margin-top: 44px; font-size: 28px; }
.service-lanes p { margin-top: 12px; color: #475569; }
.service-lanes a { display: inline-flex; margin-top: 18px; font-weight: 950; color: #b45309; }
.category-showcase-section .category-card { min-height: 190px; }
.product-card { transform-style: preserve-3d; will-change: transform; }
.product-card:focus-within { outline: 4px solid rgba(180,83,9,.16); outline-offset: 4px; }
.product-card .btn, .category-card, .service-lanes article { will-change: transform; }
.product-media:after {
    content: ""; position: absolute; inset: 16px; border-radius: 26px; border: 1px solid rgba(255,255,255,.68); pointer-events: none;
}
.media-promo-ribbon { backdrop-filter: blur(14px); }
.product-foot { gap: 14px; }
.live-promo-panel, .operations-panel { isolation: isolate; }
.live-promo-panel:after, .operations-panel:after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
    background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: radial-gradient(circle at 72% 20%, black, transparent 68%);
}
.live-promo-copy, .live-promo-grid, .operations-copy, .operations-grid { position: relative; z-index: 1; }
.live-promo-card, .live-clock-card, .operation-card { backdrop-filter: blur(14px); }
.kitchen-panel .btn-soft { color: #0f172a; }
.social-proof-section .step-card { min-height: 230px; }
.step-card, .contact-card, .promo-card { transition: transform .22s ease, box-shadow .22s ease; }
.step-card:hover, .contact-card:hover, .promo-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.page-hero { position: relative; overflow: hidden; }
.page-hero:after {
    content: ""; position: absolute; width: 300px; height: 300px; right: -120px; top: -120px; border-radius: 999px;
    background: rgba(245,158,11,.16); pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.site-header.is-scrolled { background: rgba(255,255,255,.92); box-shadow: 0 18px 40px rgba(15,23,42,.09); }
.nav-toggle, .slider-controls button, .btn, .cart-link { touch-action: manipulation; }
@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
@media (max-width: 1020px) {
    .yp-hero .premium-hero-grid { grid-template-columns: 1fr; }
    .hero-orbit-card.orbit-one { right: 16px; top: 70px; }
    .hero-orbit-card.orbit-two { left: 16px; bottom: 86px; }
    .service-lanes { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .premium-hero.yp-hero { padding-top: 48px; }
    .hero-trust-row span { width: 100%; justify-content: center; }
    .yp-hero .hero-metrics { grid-template-columns: 1fr; }
    .hero-orbit-card { display: none; }
    .slider-progress { left: 18px; right: 18px; bottom: 14px; }
    .service-lanes article { min-height: auto; }
    .service-lanes h3 { margin-top: 34px; }
}


/* Realistic product media + home hero layout refresh */
.hero-banner-section {
    padding: 22px 0 0;
}
.hero-banner-shell {
    position: relative;
}
.hero-banner-slider {
    min-height: clamp(390px, 54vw, 620px);
    border-radius: 38px;
    overflow: hidden;
}
.hero-banner-slider .slider-track,
.hero-banner-slider .hero-slide img {
    min-height: clamp(390px, 54vw, 620px);
}
.hero-copy-section {
    padding-top: 28px;
}
.hero-content-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
    align-items: start;
}
.hero-info-stack {
    display: grid;
    gap: 18px;
}
.hero-highlight-card,
.hero-mini-menu {
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 18px 50px rgba(15,23,42,.08);
    backdrop-filter: blur(14px);
}
.hero-highlight-card h3 {
    font-size: clamp(22px, 2.2vw, 30px);
    line-height: 1.2;
    margin-top: 8px;
}
.hero-check-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    gap: 14px;
}
.hero-check-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
}
.hero-check-list li svg {
    margin-top: 4px;
    color: #b45309;
}
.hero-check-list strong {
    display: block;
    color: #0f172a;
    margin-bottom: 2px;
}
.hero-check-list span {
    display: block;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}
.hero-mini-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}
.hero-mini-item {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 22px;
    border: 1px solid rgba(15,23,42,.08);
    background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,250,252,.92));
    transition: transform .22s ease, box-shadow .22s ease;
}
.hero-mini-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15,23,42,.08);
}
.hero-mini-item img {
    width: 92px;
    height: 74px;
    object-fit: cover;
    border-radius: 18px;
}
.hero-mini-item strong {
    display: block;
    color: #0f172a;
}
.hero-mini-item span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
}
.hero-mini-item b {
    display: block;
    margin-top: 7px;
    color: #b45309;
    font-size: 14px;
}
.product-media {
    padding: 0;
    min-height: 250px;
    overflow: hidden;
    background: #f8fafc;
}
.product-media:after {
    background: linear-gradient(180deg, rgba(255,255,255,0), rgba(15,23,42,.04));
}
.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    filter: none;
}
.product-card:hover .product-img {
    transform: scale(1.04);
}
.product-img.large {
    width: 100%;
    height: 540px;
    object-fit: cover;
}
.detail-media {
    overflow: hidden;
    background: #fff;
}
.cart-item img {
    width: 104px;
    height: 104px;
    object-fit: cover;
    background: #fff;
    border-radius: 22px;
    padding: 0;
}
.stock-card img {
    height: 110px;
    width: 100%;
    object-fit: cover;
    background: #fff;
    border-radius: 18px;
}
@media (max-width: 1024px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 720px) {
    .hero-banner-section {
        padding-top: 14px;
    }
    .hero-banner-slider,
    .hero-banner-slider .slider-track,
    .hero-banner-slider .hero-slide img {
        min-height: 320px;
    }
    .hero-mini-item {
        grid-template-columns: 84px 1fr;
    }
    .hero-mini-item img {
        width: 84px;
        height: 68px;
    }
    .product-media {
        min-height: 220px;
    }
    .product-img {
        height: 220px;
    }
    .product-img.large {
        height: 400px;
    }
}


/* Smart storefront: recommendations, friendlier font, modern youth UI */
.smart-reco-section { background: linear-gradient(180deg, rgba(255,255,255,.64), rgba(255,248,239,.35)); }
.recommendation-showcase { display: grid; gap: 22px; }
.recommendation-panel { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; align-items: stretch; padding: 24px; border-radius: 34px; background: linear-gradient(135deg, #0f172a, #1e293b 58%, #78350f); box-shadow: 0 28px 80px rgba(15,23,42,.16); color: #fff; overflow: hidden; position: relative; }
.recommendation-panel:before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 999px; right: -80px; top: -90px; background: rgba(251,191,36,.16); }
.recommendation-panel.wide { grid-template-columns: .7fr 1.3fr; }
.recommendation-copy, .recommendation-products { position: relative; z-index: 1; }
.recommendation-copy { align-self: center; }
.recommendation-copy span { display: inline-flex; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fde68a; font-weight: 950; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.recommendation-copy h3 { margin: 14px 0 10px; font-size: clamp(26px, 3vw, 42px); color: #fff; }
.recommendation-copy p { color: rgba(248,250,252,.76); }
.recommendation-products { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.recommendation-mini-card { min-height: 210px; border-radius: 24px; overflow: hidden; background: rgba(255,255,255,.96); color: #0f172a; border: 1px solid rgba(255,255,255,.24); box-shadow: 0 16px 38px rgba(0,0,0,.14); transition: transform .22s ease, box-shadow .22s ease; }
.recommendation-mini-card:hover { transform: translateY(-5px); box-shadow: 0 22px 48px rgba(0,0,0,.2); }
.recommendation-mini-card img { width: 100%; height: 118px; object-fit: cover; }
.recommendation-mini-card strong { display: block; padding: 12px 12px 4px; font-size: 14px; line-height: 1.3; }
.recommendation-mini-card small { display: block; padding: 0 12px 12px; color: #b45309; font-weight: 950; }
.smart-page-hero { background: radial-gradient(circle at 15% 10%, rgba(251,191,36,.28), transparent 28rem), linear-gradient(135deg, #fff7ed, #f8fafc); }
.smart-hero-grid { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: center; }
.smart-score-card { background: #0f172a; color: #fff; border-radius: 34px; padding: 28px; box-shadow: 0 28px 70px rgba(15,23,42,.18); }
.smart-score-card span { color: #fde68a; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; }
.smart-score-card strong { display: block; font-family: "Outfit", sans-serif; font-size: 64px; line-height: 1; margin: 12px 0; }
.smart-score-card p { color: rgba(248,250,252,.76); }
.smart-admin-product-list { max-height: 430px; overflow: auto; display: grid; gap: 8px; padding-right: 6px; }
.smart-admin-product-list span { display: block; padding: 9px 11px; border-radius: 14px; background: #f8fafc; border: 1px solid rgba(15,23,42,.08); font-size: 13px; }
.smart-admin-product-list b { display: inline-grid; place-items: center; width: 28px; height: 24px; border-radius: 8px; margin-right: 8px; background: #0f172a; color: #fff; }
.category-card img, .category-tabs img { filter: drop-shadow(0 12px 18px rgba(15,23,42,.14)); }
@media (max-width: 980px) { .recommendation-panel, .recommendation-panel.wide, .smart-hero-grid { grid-template-columns: 1fr; } .recommendation-products { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .recommendation-products { grid-template-columns: 1fr; } .smart-score-card strong { font-size: 48px; } }


/* Premium typography and contrast refinement */
:root {
    --font-main: "Manrope", "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Manrope", "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
    --premium-ink: #111827;
    --premium-muted: #475569;
    --premium-soft: #f8fafc;
}
body {
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1.62;
    color: var(--premium-ink);
}
h1, h2, h3 {
    font-family: var(--font-display);
    letter-spacing: -.026em;
    line-height: 1.14;
}
h1 { font-size: clamp(34px, 4.8vw, 58px); }
h2 { font-size: clamp(24px, 3.2vw, 38px); }
h3 { font-size: 18px; }
p { font-size: 15px; line-height: 1.68; color: var(--premium-muted); }
.section { padding: 56px 0; }
.eyebrow { font-size: 11px; letter-spacing: .105em; font-weight: 800; }
.btn { font-size: 14px; font-weight: 800; padding: 11px 16px; }
.main-nav a { font-size: 14px; font-weight: 750; }
.brand, .footer-brand { font-size: 21px; letter-spacing: -.025em; }
.product-body h3, .step-card h3, .contact-card h2, .promo-card h3 { letter-spacing: -.018em; }
.product-body p { font-size: 13.5px; line-height: 1.62; }
.product-foot strong, .detail-price { font-size: 20px; }
.category-card strong { font-size: 16px; }
.category-card span { font-size: 13px; line-height: 1.55; }
.page-hero p { font-size: 16px; line-height: 1.7; }

/* Main frontend headline requested: smaller, calmer, more premium */
.yp-hero.hero-copy-section {
    padding-top: 24px;
    padding-bottom: 48px;
}
.yp-hero.hero-copy-section h1,
.hero-copy-section .hero-copy h1 {
    font-size: clamp(30px, 4vw, 50px);
    line-height: 1.16;
    letter-spacing: -.03em;
    max-width: 660px;
    font-weight: 800;
}
.yp-hero .hero-copy p,
.hero-copy-section .hero-copy p {
    font-size: clamp(14px, 1.24vw, 16px);
    line-height: 1.76;
    max-width: 620px;
    color: #475569;
}
.hero-trust-row span,
.hero-metrics span,
.premium-strip span {
    font-size: 12.5px;
    font-weight: 750;
}
.hero-metrics strong { font-size: 26px; }
.hero-highlight-card h3 { font-size: clamp(20px, 2vw, 26px); line-height: 1.24; }
.hero-check-list span { font-size: 13.5px; }
.hero-mini-item strong { font-size: 14px; }
.hero-mini-item span { font-size: 12.5px; }

/* High-contrast smart promo box: Dinner & flash deal */
.smart-assistant-box {
    background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,247,237,.94)) !important;
    border: 1px solid rgba(251,191,36,.48) !important;
    box-shadow: 0 18px 42px rgba(2, 6, 23, .22);
    color: #0f172a !important;
}
.smart-assistant-box b {
    color: #0f172a !important;
    font-size: 16px;
    letter-spacing: -.01em;
}
.smart-assistant-box span {
    color: #334155 !important;
    font-size: 14px;
    line-height: 1.62;
    font-weight: 650;
}
.smart-assistant-box a {
    color: #b45309 !important;
    font-weight: 850;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* High-contrast live clock */
.live-clock-card {
    background: linear-gradient(135deg, #ffffff, #fff7ed) !important;
    border: 1px solid rgba(251,191,36,.42) !important;
    color: #0f172a !important;
    box-shadow: 0 20px 46px rgba(2, 6, 23, .18) !important;
}
.live-clock-card span {
    color: #92400e !important;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.live-clock-card strong {
    color: #0f172a !important;
    font-size: clamp(28px, 3vw, 34px) !important;
    letter-spacing: -.035em;
    font-weight: 800;
}
.live-clock-card small {
    color: #334155 !important;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 650;
}

/* High-contrast operation feature cards */
.operations-panel p,
.live-promo-panel p,
.live-promo-panel span { color: rgba(248,250,252,.88) !important; }
.operation-card {
    background: rgba(255,255,255,.96) !important;
    border: 1px solid rgba(255,255,255,.62) !important;
    box-shadow: 0 18px 42px rgba(2, 6, 23, .20);
    color: #0f172a !important;
}
.operation-card .step-icon { color: #b45309 !important; }
.operation-card h3 {
    color: #0f172a !important;
    font-size: 17px;
    letter-spacing: -.015em;
    font-weight: 800;
}
.operation-card p {
    color: #334155 !important;
    font-size: 13.5px;
    line-height: 1.66;
    font-weight: 600;
}
.operations-copy h2,
.live-promo-panel h2 { font-size: clamp(24px, 3vw, 36px); }
.operations-copy p,
.live-promo-copy p { font-size: 14.5px; line-height: 1.72; }

/* Recommendation and smart page scale tuning */
.recommendation-copy h3 { font-size: clamp(24px, 2.6vw, 34px); }
.recommendation-copy p { font-size: 14px; line-height: 1.68; }
.recommendation-mini-card strong { font-size: 13.5px; }
.smart-score-card strong { font-size: clamp(44px, 5vw, 56px); }

@media (max-width: 720px) {
    body { font-size: 14.5px; }
    h1 { font-size: clamp(30px, 9vw, 42px); }
    h2 { font-size: clamp(23px, 7vw, 32px); }
    .yp-hero.hero-copy-section h1,
    .hero-copy-section .hero-copy h1 { font-size: clamp(28px, 8.5vw, 40px); }
    .yp-hero .hero-copy p,
    .hero-copy-section .hero-copy p { font-size: 14px; }
    .section { padding: 46px 0; }
}

/* Frontend menu grid: 4 columns + clean product images */
.product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px;
}
.product-card .product-media,
.product-media {
    background: #fff !important;
    border-radius: 28px 28px 0 0;
    overflow: hidden;
}
.product-card .product-media::before,
.product-card .product-media::after,
.product-media::before,
.product-media::after {
    display: none !important;
    content: none !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}
.product-card .product-img,
.product-img {
    width: 100%;
    height: 238px;
    object-fit: cover;
    border-radius: 0 !important;
    filter: none !important;
}
.product-card:hover .product-img {
    transform: scale(1.025);
}
.product-img.large {
    width: 100%;
    height: 520px;
    object-fit: cover;
}
@media (max-width: 1180px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (max-width: 820px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px) {
    .product-grid { grid-template-columns: 1fr !important; }
    .product-card .product-img,
    .product-img { height: 220px; }
}


/* Final visibility fix for promo-night text inside white smart assistant card */
.live-promo-panel .smart-assistant-box,
.live-promo-copy .smart-assistant-box {
    background: linear-gradient(135deg, #ffffff, #fff7ed) !important;
    color: #0f172a !important;
    border: 1px solid rgba(251, 191, 36, .55) !important;
    box-shadow: 0 20px 46px rgba(2, 6, 23, .18) !important;
}
.live-promo-panel .smart-assistant-box b,
.live-promo-copy .smart-assistant-box b {
    display: block;
    color: #111827 !important;
    font-weight: 900;
}
.live-promo-panel .smart-assistant-box span,
.live-promo-copy .smart-assistant-box span {
    display: block;
    color: #1f2937 !important;
    opacity: 1 !important;
    font-weight: 800;
    text-shadow: none !important;
}
.live-promo-panel .smart-assistant-box a,
.live-promo-copy .smart-assistant-box a {
    color: #b45309 !important;
    font-weight: 900;
}
.branding-card input[type="text"][data-url-preview] {
    font-size: 13px;
}
.image-preview-box img {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
}
.image-preview-box.favicon-box img {
    max-width: 64px;
    max-height: 64px;
}


.promo-night-visible {
    display: inline-flex;
    max-width: 620px;
    margin: 4px 0 0;
    padding: 10px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .96);
    color: #111827 !important;
    border: 1px solid rgba(251, 191, 36, .56);
    box-shadow: 0 14px 34px rgba(2, 6, 23, .16);
    font-weight: 850;
    line-height: 1.55;
    text-shadow: none !important;
}
.live-promo-panel .promo-night-visible { color: #111827 !important; }


/* Admin order detail + full frontend control navigation */
.admin-nav-group-title { margin: 16px 10px 6px; color: rgba(255,255,255,.44); font-size: 11px; font-weight: 1000; text-transform: uppercase; letter-spacing: .12em; }
.admin-shell.sidebar-collapsed .admin-nav-group-title { opacity: 0; height: 0; margin: 0; overflow: hidden; }
.admin-mini-stats { display: grid; grid-template-columns: repeat(5, minmax(120px, 1fr)); gap: 14px; margin-bottom: 18px; }
.admin-mini-stats .stat-card { padding: 18px; min-height: auto; }
.admin-order-detail { margin-bottom: 18px; }
.admin-order-detail-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
.admin-order-detail-head h2 { margin: 4px 0 4px; font-size: clamp(26px, 3vw, 38px); }
.admin-order-status-stack { display: grid; justify-items: end; gap: 10px; }
.admin-detail-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.admin-detail-grid > div { border: 1px solid var(--line); border-radius: 18px; padding: 14px; background: #fffaf3; display: grid; gap: 4px; }
.admin-detail-grid small { color: var(--muted); font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.admin-detail-grid strong { font-size: 17px; color: var(--dark); }
.admin-detail-grid span { color: var(--muted); font-size: 13px; }
.admin-order-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 18px; align-items: start; }
.admin-order-items, .admin-order-side { border: 1px solid var(--line); border-radius: 22px; padding: 18px; background: #fff; }
.admin-order-items h3, .admin-order-side h3 { margin: 0 0 12px; }
.admin-order-item { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.admin-order-item:first-of-type { border-top: 0; padding-top: 0; }
.admin-order-item img { width: 78px; height: 78px; border-radius: 18px; object-fit: cover; background: #fff7ed; border: 1px solid var(--line); }
.admin-order-item strong { display: block; margin-bottom: 5px; }
.admin-order-item span { color: var(--muted); font-size: 14px; }
.admin-order-item ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 13px; }
.admin-order-side .summary-row, .admin-order-side .summary-total { margin: 8px 0; }
.admin-detail-status-form { display: grid; gap: 10px; margin-top: 14px; }
.row-highlight { background: #fff7ed; }
.frontend-control-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.frontend-control-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 20px; box-shadow: 0 14px 30px rgba(32,22,18,.06); }
.frontend-control-card h3 { margin: 0 0 8px; }
.frontend-control-card p { color: var(--muted); margin: 0 0 14px; }
.content-setting-group { border-top: 1px solid var(--line); padding-top: 18px; margin-top: 18px; }
.content-setting-group:first-of-type { border-top: 0; padding-top: 0; }
.content-setting-group h3 { margin: 0 0 12px; }
.wide-field { grid-column: 1 / -1; }
.admin-form label small { display: block; margin-top: 6px; color: var(--muted); font-weight: 700; }
@media (max-width: 1080px) {
    .admin-mini-stats, .admin-detail-grid, .frontend-control-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-order-layout { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .admin-mini-stats, .admin-detail-grid, .frontend-control-grid { grid-template-columns: 1fr; }
    .admin-order-detail-head { flex-direction: column; }
    .admin-order-status-stack { justify-items: start; }
    .admin-order-item { grid-template-columns: 1fr; }
    .admin-order-item img { width: 100%; height: 180px; }
}

.status-paid { background: #ccfbf1; color: #0f766e; }
.order-detail .timeline { grid-template-columns: repeat(6, 1fr); }

/* Demo mode */
.demo-version-badge {
    position: fixed;
    left: 50%;
    bottom: 14px;
    z-index: 9999;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff8a00, #ffb347);
    color: #fff;
    font-weight: 1000;
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    box-shadow: 0 16px 42px rgba(255, 138, 0, .34);
    border: 1px solid rgba(255,255,255,.44);
    animation: demoBadgeFloat 2.8s ease-in-out infinite;
    pointer-events: none;
}
@keyframes demoBadgeFloat {
    0%, 100% { transform: translateX(-50%) translateY(0) scale(1); box-shadow: 0 16px 42px rgba(255, 138, 0, .34); }
    50% { transform: translateX(-50%) translateY(-5px) scale(1.025); box-shadow: 0 22px 54px rgba(255, 138, 0, .46); }
}
.is-demo-mode { padding-bottom: 54px; }
.demo-login-box {
    margin-top: 16px;
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(251, 146, 60, .34);
    background: #fff7ed;
    border-radius: 18px;
}
.demo-login-shortcut {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
}
.demo-login-shortcut strong { display: block; color: var(--dark); }
.demo-login-shortcut small { display: block; color: var(--muted); font-weight: 800; word-break: break-all; }
.demo-admin-notice {
    border-color: rgba(251, 146, 60, .4);
    background: linear-gradient(135deg, #fff7ed, #fff);
}
.demo-locked,
.is-demo-mode .demo-action-locked {
    opacity: .62;
    cursor: not-allowed !important;
}
.is-demo-mode .admin-shell input:not([type="hidden"]),
.is-demo-mode .admin-shell textarea,
.is-demo-mode .admin-shell select {
    background: #f8fafc;
    cursor: not-allowed;
}
.demo-toast {
    position: fixed;
    left: 50%;
    bottom: 70px;
    transform: translateX(-50%) translateY(14px);
    z-index: 10000;
    max-width: min(92vw, 460px);
    padding: 12px 16px;
    border-radius: 16px;
    background: #111827;
    color: #fff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, .28);
    font-weight: 850;
    opacity: 0;
    transition: .22s ease;
    text-align: center;
}
.demo-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 560px) {
    .demo-version-badge { width: calc(100vw - 28px); font-size: 11px; }
    .demo-login-shortcut { grid-template-columns: 1fr; }
}
