/* ── RESET & VARIABLES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --cream: #f5f0e8; --warm-white: #faf8f4; --ink: #1a1612;
  --slate: #4a443c; --muted: #736a60; --accent: #c8522a;
  --border: #e2dbd0; --card-bg: #ffffff;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: 'DM Sans', sans-serif; background: var(--warm-white); color: var(--ink); min-height: 100vh; min-height: -webkit-fill-available; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: 15px; line-height: 1.55; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
input, select, textarea { font-size: 16px !important; }

/* ── HEADER ── */
header { background: var(--cream); border-bottom: 1px solid var(--border); padding: 0 clamp(1rem,5vw,4rem); position: -webkit-sticky; position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(1.3rem,3vw,1.7rem); letter-spacing: -0.02em; color: var(--ink); text-decoration: none; }
.logo span { color: var(--accent); }
nav { display: flex; gap: 1.5rem; align-items: center; }
nav a { font-size: 0.9rem; font-weight: 500; color: var(--slate); text-decoration: none; letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.2s; cursor: pointer; }
nav a:hover { color: var(--accent); }
.cart-btn { background: var(--ink); color: var(--cream) !important; padding: 0.5rem 1.1rem; border-radius: 2px; font-size: 0.84rem !important; letter-spacing: 0.06em !important; transition: background 0.2s !important; }
.cart-btn:hover { background: var(--accent) !important; color: #fff !important; }

/* ── HERO ── */
.hero { background: var(--ink); color: var(--cream); position: relative; overflow: hidden; display: block; width: 100%; height: clamp(200px, 22vw, 360px); }
.hero::before { content: ''; position: absolute; top: -60px; right: -60px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(200,82,42,0.25) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; display: none; }
.hero-bg.active { display: block; }
.hero-bg img { position: absolute; display: block; transform-origin: center center; pointer-events: none; user-select: none; max-width: none; max-height: none; }
.hero-edit-btn { display: none; position: absolute; top: 0.8rem; right: 0.8rem; background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.25); color: #fff; font-family: 'DM Sans', sans-serif; font-size: 0.75rem; padding: 0.4rem 0.9rem; border-radius: 2px; cursor: pointer; transition: background 0.2s; z-index: 3; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero-edit-btn:hover { background: rgba(0,0,0,0.65); }
body.admin-mode .hero-edit-btn { display: block; }

.hero-schedule { position: absolute; bottom: 16px; right: 16px; z-index: 2; background: rgba(0,0,0,0.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.18); border-radius: 8px; padding: 0.7rem 1rem; max-width: 220px; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; text-align: center; }
.hero-sched-date { font-family: 'DM Sans', sans-serif; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #c0b9b0; }
.hero-sched-status { display: flex; align-items: center; gap: 0.45rem; }
.hero-sched-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.hero-sched-dot.open { background: #4ade80; }
.hero-sched-dot.closed { background: #ef4444; opacity: 0.7; }
.hero-sched-label { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; color: #fff; }
.hero-sched-hours { font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 500; color: var(--accent); letter-spacing: 0.01em; }

/* ── SLIDER ── */
.slider { position: relative; display: block; margin: 1.5rem auto; width: calc(100% - clamp(2rem, 10vw, 8rem)); max-width: 1100px; height: clamp(220px, 25vw, 380px); border-radius: 8px; overflow: hidden; background: var(--cream); }
.slider-track { position: absolute; inset: 0; display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); will-change: transform; }
.slider-slide { flex: 0 0 100%; height: 100%; position: relative; overflow: hidden; }
.slider-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.slider-slide-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: clamp(1.5rem, 4vw, 3rem); overflow: auto; }
.slider-slide-content * { max-width: 100%; }
.slider-slide-content h1, .slider-slide-content h2, .slider-slide-content h3 { font-family: 'Playfair Display', serif; line-height: 1.15; margin: 0.2rem 0; }
.slider-slide-content h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 900; }
.slider-slide-content h2 { font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 700; }
.slider-slide-content h3 { font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 700; }
.slider-slide-content p { font-size: clamp(0.88rem, 1.6vw, 1rem); margin: 0.3rem 0; line-height: 1.55; }
.slider-slide-content a { color: inherit; text-decoration: underline; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.85); border: none; color: var(--ink); font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; transition: background 0.15s, transform 0.15s; box-shadow: 0 2px 10px rgba(0,0,0,0.15); -webkit-tap-highlight-color: transparent; }
.slider-arrow:hover { background: #fff; }
.slider-arrow:active { transform: translateY(-50%) scale(0.94); }
.slider-arrow.prev { left: 12px; }
.slider-arrow.next { right: 12px; }
.slider-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); border: none; padding: 0; cursor: pointer; transition: background 0.15s, transform 0.15s; -webkit-tap-highlight-color: transparent; }
.slider-dot.active { background: #fff; transform: scale(1.25); }
.slider-dot:hover { background: rgba(255,255,255,0.85); }
.slider-edit-btn { display: none; position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); color: #fff; font-family: 'DM Sans', sans-serif; font-size: 0.75rem; padding: 0.4rem 0.9rem; border-radius: 2px; cursor: pointer; z-index: 3; transition: background 0.2s; }
.slider-edit-btn:hover { background: rgba(255,255,255,0.22); }
body.admin-mode .slider-edit-btn { display: block; }
body.admin-mode .slider.empty { display: flex !important; align-items: center; justify-content: center; background: var(--cream); border: 2px dashed var(--border); }
.slider.empty .slider-empty-msg { font-size: 0.92rem; color: var(--muted); text-align: center; padding: 1rem; }

/* ── ADMIN BAR ── */
.admin-bar { display: none; background: var(--accent); color: #fff; padding: 0.6rem clamp(1rem,5vw,4rem); font-size: 0.88rem; font-weight: 500; letter-spacing: 0.04em; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
body.admin-mode .admin-bar { display: flex; }
.admin-bar-actions { display: flex; gap: 0.75rem; }
.admin-bar button { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.35); color: #fff; font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 500; padding: 0.4rem 0.9rem; border-radius: 2px; cursor: pointer; transition: background 0.15s; }
.admin-bar button:hover { background: rgba(255,255,255,0.35); }
.admin-bar .logout-btn { background: transparent; border-color: rgba(255,255,255,0.5); }

/* ── PRODUCT GRID ── */
.shop-section { padding: clamp(1.5rem,4vw,3rem) clamp(1rem,5vw,4rem); }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.5rem; }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.2rem,3vw,1.6rem); font-weight: 700; }
.item-count { font-size: 0.88rem; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(1rem,2.5vw,1.8rem); }

/* ── PRODUCT CARD ── */
.card { background: var(--card-bg); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: transform 0.22s ease, box-shadow 0.22s ease; animation: fadeUp 0.5s ease both; position: relative; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(26,22,18,0.1); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.card:nth-child(1){animation-delay:.05s}.card:nth-child(2){animation-delay:.1s}.card:nth-child(3){animation-delay:.15s}.card:nth-child(4){animation-delay:.2s}.card:nth-child(5){animation-delay:.25s}.card:nth-child(6){animation-delay:.3s}
.card-image-wrap { position: relative; width: 100%; aspect-ratio: 4/3; background: var(--cream); overflow: hidden; }
.card-image-wrap::before { content: ""; display: block; padding-top: 75%; }
.card-image-wrap img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.card:hover .card-image-wrap img { transform: scale(1.04); }
.badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #fff; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.28rem 0.65rem; border-radius: 2px; }
.quick-add { position: absolute; bottom: 10px; right: 10px; background: var(--ink); color: var(--cream); border: none; font-family: 'DM Sans', sans-serif; font-size: 0.84rem; font-weight: 500; padding: 0.5rem 1rem; border-radius: 2px; cursor: pointer; opacity: 0; transform: translateY(4px); transition: opacity 0.2s, transform 0.2s, background 0.15s; }
.card:hover .quick-add { opacity: 1; transform: translateY(0); }
.quick-add:hover { background: var(--accent); }
.card-body { padding: 1rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }
.card-category { font-size: 0.76rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.card-name { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.card-desc { font-size: 0.88rem; font-weight: 300; color: var(--slate); line-height: 1.55; flex: 1; margin-top: 0.15rem; }
.card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 0.9rem; }
.price { font-family: 'DM Sans', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.price .original { font-size: 0.85rem; font-weight: 400; text-decoration: line-through; color: var(--muted); margin-right: 0.3rem; font-family: 'DM Sans', sans-serif; }
.cond-pill { font-size: 0.76rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.22rem 0.6rem; border-radius: 99px; border: 1px solid var(--border); color: var(--muted); }

/* ── ADMIN CARD OVERLAYS ── */
.admin-qty-strip { display: none; background: #1a1612; color: #fff; padding: 0.55rem 1.1rem; font-size: 0.82rem; align-items: center; justify-content: space-between; gap: 0.5rem; }
body.admin-mode .admin-qty-strip { display: flex; }
.qty-label { color: #9c9186; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.76rem; }
.qty-value { font-weight: 700; font-size: 0.9rem; }
.qty-value.low { color: #f59e0b; }
.qty-value.out { color: #ef4444; }
.qty-value.ok { color: #4ade80; }
.qty-max { color: #9c9186; font-size: 0.75rem; }
.qty-divider { color: #4a443c; }
.stock-badge { display: none; position: absolute; bottom: 8px; left: 8px; background: var(--ink); color: var(--cream); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 2px; border: 1px solid rgba(255,255,255,0.15); }
body.admin-mode .stock-badge { display: block; }
.stock-badge.low { background: #8b4500; }
.stock-badge.out { background: #8b2020; }
.card-admin-controls { display: none; position: absolute; top: 8px; right: 8px; gap: 0.4rem; }
body.admin-mode .card-admin-controls { display: flex; }
.card-admin-controls button { background: var(--ink); color: #fff; border: none; font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 500; padding: 0.35rem 0.7rem; border-radius: 2px; cursor: pointer; transition: background 0.15s; }
.card-admin-controls .edit-btn:hover { background: var(--accent); }
.card-admin-controls .delete-btn { background: #8b2020; }
.card-admin-controls .delete-btn:hover { background: #b22222; }

/* ── SHOP FILTER BAR ── */
.shop-filter-bar { display: flex; gap: .5rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.shop-filter-btn { background: var(--ink); color: var(--cream); border: none; font-family: 'DM Sans', sans-serif; font-size: .85rem; font-weight: 500; padding: .55rem 1rem; border-radius: 4px; cursor: pointer; transition: background .15s; display: inline-flex; align-items: center; gap: .4rem; }
.shop-filter-btn:hover { background: var(--accent); }
.shop-filter-count { background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; border-radius: 99px; padding: .1rem .45rem; min-width: 1.2em; text-align: center; }
.shop-filter-clear { background: transparent; color: var(--slate); border: 1px solid var(--border); font-family: 'DM Sans', sans-serif; font-size: .82rem; padding: .5rem .9rem; border-radius: 4px; cursor: pointer; }
.shop-filter-clear:hover { border-color: var(--ink); color: var(--ink); }
.shop-filter-panel { display: none; width: 100%; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 1rem 1.2rem; margin-bottom: 1rem; }
.shop-filter-panel.open { display: block; }
.shop-filter-group { margin-bottom: .9rem; }
.shop-filter-group:last-child { margin-bottom: 0; }
.shop-filter-group-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .5rem; }
.shop-filter-options { display: flex; flex-wrap: wrap; gap: .4rem; }
.shop-filter-chip { background: var(--warm-white); border: 1px solid var(--border); border-radius: 99px; padding: .35rem .85rem; font-size: .85rem; color: var(--slate); cursor: pointer; transition: all .15s; user-select: none; }
.shop-filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.shop-filter-chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.shop-filter-empty { font-size: .85rem; color: var(--muted); padding: .3rem 0; }

/* ── CART MODAL ── */
.cart-modal { max-width: 560px; }
.cart-modal .modal-body { padding: 0; gap: 0; }
.cart-section { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); }
.cart-section:last-child { border-bottom: none; }
.cart-section-title { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.9rem; }
.cart-items { display: flex; flex-direction: column; gap: 0.75rem; }
.cart-item { display: flex; align-items: center; gap: 0.9rem; }
.cart-item-img { width: 52px; height: 52px; border-radius: 4px; object-fit: cover; background: var(--cream); flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-meta { font-size: 0.85rem; color: var(--muted); margin-top: 0.1rem; }
.cart-item-price { font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 700; color: var(--ink); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.cart-item-qty { display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0; }
.qty-btn { background: var(--cream); border: 1px solid var(--border); color: var(--ink); width: 26px; height: 26px; border-radius: 2px; font-size: 1rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.15s; }
.qty-btn:hover { background: var(--border); }
.qty-num { font-size: 0.85rem; font-weight: 600; min-width: 18px; text-align: center; }
.cart-empty { text-align: center; padding: 2rem 0; color: var(--muted); font-size: 0.9rem; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; }
.cart-total-label { font-size: 0.8rem; color: var(--slate); text-transform: uppercase; letter-spacing: 0.06em; }
.cart-total-price { font-family: 'DM Sans', sans-serif; font-size: 1.3rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pickup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.cart-field label { font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); display: block; margin-bottom: 0.3rem; }
.cart-field input { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--ink); border: 1px solid var(--border); border-radius: 4px; padding: 0.6rem 0.8rem; background: var(--warm-white); width: 100%; transition: border-color 0.15s; }
.cart-field input:focus { outline: none; border-color: var(--accent); }
.cart-field input.field-error { border-color: #dc2626; background: #fff5f5; animation: shake 0.35s ease; }
.cart-field label.field-error { color: #dc2626; }
.field-error-msg { font-size: 0.8rem; color: #dc2626; margin-top: 0.2rem; display: none; }
.cart-field input.field-error ~ .field-error-msg { display: block; }
@keyframes shake { 0%,100%{transform:translateX(0)} 20%{transform:translateX(-5px)} 40%{transform:translateX(5px)} 60%{transform:translateX(-4px)} 80%{transform:translateX(4px)} }
.cart-field.full { grid-column: 1 / -1; }

/* ── SLOT PICKER ── */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(80px, 1fr)); gap: 0.4rem; margin-top: 0.5rem; }
.slot-chip { background: var(--warm-white); border: 1px solid var(--border); border-radius: 4px; font-size: 0.88rem; font-weight: 500; color: var(--slate); padding: 0.5rem 0.4rem; text-align: center; cursor: pointer; transition: all 0.15s; }
.slot-chip:hover { border-color: var(--ink); color: var(--ink); }
.slot-chip.selected { background: var(--ink); border-color: var(--ink); color: #fff; }
.slot-chip.field-error { border-color: #dc2626; background: #fff5f5; }
.pickup-now-btn { grid-column: 1 / -1; font-weight: 600; border-color: var(--accent); color: var(--accent); }
.pickup-now-btn:hover, .pickup-now-btn.selected { background: var(--accent); color: #fff; border-color: var(--accent); }
.choose-time-btn { grid-column: 1 / -1; font-weight: 600; border-color: var(--ink); color: var(--ink); }
.choose-time-btn:hover, .choose-time-btn.selected { background: var(--ink); color: var(--cream); }
.custom-time-wrap { padding: 0.6rem; background: var(--cream); border-radius: 6px; border: 1px solid var(--border); }
.custom-time-wrap input[type="time"] { font-family: 'DM Sans', sans-serif; font-size: 1rem; border: 1px solid var(--border); border-radius: 4px; padding: 0.55rem 0.8rem; background: var(--warm-white); color: var(--ink); width: 100%; cursor: pointer; }
.custom-time-error { font-size: 0.82rem; color: #dc2626; margin-top: 0.3rem; min-height: 1em; }
.time-hours-note { grid-column: 1 / -1; font-size: 0.82rem; color: var(--muted); padding: 0.15rem 0 0.3rem; font-weight: 500; }
.no-slots-msg { font-size: 0.82rem; color: var(--muted); padding: 0.5rem 0; }

/* ── ORDER CONFIRMATION OVERLAY ── */
.confirm-overlay { display: none; position: fixed; inset: 0; background: rgba(26,22,18,0.65); z-index: 600; align-items: center; justify-content: center; padding: 1rem; }
.confirm-overlay.open { display: flex; }
.confirm-wrap { display: flex; gap: 1rem; width: 100%; max-width: 860px; max-height: 90vh; max-height: 90dvh; animation: popIn 0.3s cubic-bezier(0.34,1.56,0.64,1) both; }
@keyframes popIn { from { opacity:0; transform: scale(0.93) translateY(16px); } to { opacity:1; transform: scale(1) translateY(0); } }
.confirm-panel { background: #fff; border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; flex: 1; box-shadow: 0 24px 60px rgba(0,0,0,0.2); }
.confirm-panel-header { background: var(--ink); color: var(--cream); padding: 1.1rem 1.4rem; display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.confirm-panel-header h2 { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; }
.confirm-panel-close { background: none; border: none; color: var(--cream); font-size: 1.3rem; cursor: pointer; opacity: 0.7; transition: opacity 0.15s; line-height: 1; }
.confirm-panel-close:hover { opacity: 1; }
.confirm-panel-body { padding: 1.4rem; overflow-y: auto; -webkit-overflow-scrolling: touch; flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.confirm-check { font-size: 2.8rem; text-align: center; margin-bottom: 0.25rem; }
.confirm-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 900; text-align: center; color: var(--ink); }
.confirm-subtitle { font-size: 0.82rem; color: var(--muted); text-align: center; }
.confirm-detail-box { background: var(--cream); border: 1px solid var(--border); border-radius: 6px; padding: 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.55rem; }
.confirm-detail-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; font-size: 0.83rem; }
.confirm-detail-label { color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.8rem; font-weight: 600; flex-shrink: 0; }
.confirm-detail-val { color: var(--ink); font-weight: 600; text-align: right; }
.confirm-items-list { display: flex; flex-direction: column; gap: 0.4rem; }
.confirm-item-row { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--slate); }
.confirm-item-row strong { color: var(--ink); }
.confirm-total-row { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 700; border-top: 1px solid var(--border); padding-top: 0.55rem; margin-top: 0.2rem; font-variant-numeric: tabular-nums; }
.instr-panel-img { width: 100%; aspect-ratio: 16/7; object-fit: cover; border-radius: 6px; display: block; max-height: 180px; }
.instr-panel-heading { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.instr-panel-text { font-size: 0.85rem; color: var(--slate); line-height: 1.65; white-space: pre-wrap; }
.instr-placeholder { background: var(--cream); border: 2px dashed var(--border); border-radius: 6px; padding: 2rem; text-align: center; color: var(--muted); font-size: 0.82rem; }

/* ── TOAST ── */
.toast-container { position: fixed; top: 72px; right: 1rem; z-index: 800; display: flex; flex-direction: column; gap: 0.5rem; pointer-events: none; }
.toast { background: var(--ink); color: var(--cream); padding: 0.8rem 1.1rem; border-radius: 6px; font-family: 'DM Sans', sans-serif; font-size: 0.92rem; box-shadow: 0 8px 30px rgba(0,0,0,0.25); pointer-events: auto; cursor: pointer; animation: toastIn 0.3s ease; max-width: 340px; border-left: 4px solid var(--accent); }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
.toast-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.2rem; }
.toast-body { font-size: 0.82rem; color: #c0b9b0; line-height: 1.45; }
.toast.fade-out { animation: toastOut 0.3s ease forwards; }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

/* ── MODAL (shared) ── */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(26,22,18,0.55); z-index: 500; align-items: center; justify-content: center; padding: 1rem; }
.modal-overlay.open { display: flex; }
.modal { background: #fff; border-radius: 8px; width: 100%; max-width: 480px; box-shadow: 0 24px 60px rgba(0,0,0,0.2); overflow: hidden; }
.modal-header { background: var(--ink); color: var(--cream); padding: 1.2rem 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.modal-header h2 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--cream); font-size: 1.3rem; cursor: pointer; line-height: 1; opacity: 0.7; transition: opacity 0.15s; }
.modal-close:hover { opacity: 1; }
.modal-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 1rem; }
.field-group { display: flex; flex-direction: column; gap: 0.35rem; }
.field-group label { font-size: 0.82rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--slate); }
.field-group input, .field-group textarea { font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--ink); border: 1px solid var(--border); border-radius: 4px; padding: 0.6rem 0.8rem; background: var(--warm-white); width: 100%; transition: border-color 0.15s; }
.field-group input:focus, .field-group textarea:focus { outline: none; border-color: var(--accent); }
.field-group textarea { resize: vertical; min-height: 80px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.modal-error { font-size: 0.8rem; color: #b22222; background: #fdf0f0; border: 1px solid #f5c6c6; border-radius: 4px; padding: 0.5rem 0.8rem; display: none; }
.modal-error.show { display: block; }
.modal-info { font-size: 0.82rem; color: var(--slate); background: var(--cream); border: 1px solid var(--border); border-radius: 4px; padding: 0.6rem 0.8rem; line-height: 1.5; }
.modal-footer { padding: 1rem 1.5rem 1.5rem; display: flex; gap: 0.75rem; justify-content: flex-end; }
.btn-primary { background: var(--ink); color: #fff; border: none; font-family: 'DM Sans', sans-serif; font-size: 0.92rem; font-weight: 500; padding: 0.65rem 1.4rem; border-radius: 2px; cursor: pointer; transition: background 0.15s; }
.btn-primary:hover { background: var(--accent); }
.btn-secondary { background: transparent; color: var(--slate); border: 1px solid var(--border); font-family: 'DM Sans', sans-serif; font-size: 0.92rem; font-weight: 500; padding: 0.65rem 1.4rem; border-radius: 2px; cursor: pointer; transition: all 0.15s; }
.btn-secondary:hover { border-color: var(--slate); color: var(--ink); }
.modal-overlay { align-items: flex-end; padding: 0; }
.modal { border-radius: 16px 16px 0 0; max-height: 92vh; max-height: 92dvh; display: flex; flex-direction: column; }
.modal-header { flex-shrink: 0; }
.modal-footer { flex-shrink: 0; }
.modal-body { overflow-y: auto; -webkit-overflow-scrolling: touch; }
.cart-modal { border-radius: 16px 16px 0 0; }
#cart-modal-body { overflow-y: auto; -webkit-overflow-scrolling: touch; max-height: calc(92vh - 60px); max-height: calc(92dvh - 60px); }
@media (min-width: 600px) {
  .modal-overlay { align-items: center; padding: 1rem; }
  .modal { border-radius: 10px; max-height: 90vh; }
  .cart-modal { border-radius: 10px; }
  #cart-modal-body { max-height: calc(90vh - 60px); }
}

/* ── IMAGE DROP ZONE ── */
.img-drop-zone { border: 2px dashed var(--border); border-radius: 6px; padding: 1rem; text-align: center; cursor: pointer; transition: all 0.2s; background: var(--warm-white); position: relative; min-height: 90px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; -webkit-tap-highlight-color: transparent; }
.img-drop-zone:hover { border-color: var(--accent); background: #fdf8f5; }
.img-drop-zone.drag-over { border-color: var(--accent); background: #fdf0ea; border-style: solid; }
.img-drop-empty { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; cursor: pointer; width: 100%; }
.img-drop-icon { font-size: 1.5rem; opacity: 0.4; }
.img-drop-text { font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
.img-drop-text strong { color: var(--accent); }
.img-drop-or { font-size: 0.75rem; color: var(--muted); margin: 0.2rem 0; }
.img-drop-url { font-family: 'DM Sans', sans-serif; font-size: 16px !important; border: 1px solid var(--border); border-radius: 4px; padding: 0.5rem 0.7rem; background: #fff; color: var(--ink); width: 100%; margin-top: 0.3rem; }
.img-drop-url:focus { outline: none; border-color: var(--accent); }
.img-drop-preview-wrap { position: relative; width: 100%; }
.img-drop-preview { max-width: 100%; max-height: 160px; border-radius: 4px; object-fit: contain; display: block; margin: 0 auto; }
.img-drop-remove { position: absolute; top: 4px; right: 4px; background: var(--ink); color: #fff; border: none; border-radius: 50%; width: 28px; height: 28px; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0.8; transition: opacity 0.15s; z-index: 1; }
.img-drop-remove:hover { opacity: 1; }
.img-drop-file { position: absolute; width: 1px; height: 1px; opacity: 0; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.img-drop-loading { font-size: 0.85rem; color: var(--accent); font-weight: 600; padding: 1rem 0; }
.img-drop-spec { font-size: 0.74rem; color: var(--muted); line-height: 1.45; margin: -0.15rem 0 0.45rem; }
.img-drop-spec b { color: var(--ink); font-weight: 600; }

/* ── SLIDERS (range inputs) ── */
.slider-row { display: flex; align-items: center; gap: 0.7rem; padding: 0.35rem 0; }
.slider-row > label { flex: 0 0 88px; font-size: 0.85rem; font-weight: 500; color: var(--slate); margin: 0; }
.slider-row input[type=range] { flex: 1 1 auto; min-width: 0; accent-color: var(--accent); height: 4px; }
.slider-row .slider-value { flex: 0 0 52px; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; color: var(--ink); font-variant-numeric: tabular-nums; text-align: right; }

/* ── MOBILE STICKY CART BAR ── */
.mobile-cart-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: var(--ink); color: var(--cream); padding: 0.7rem 1.2rem; padding-bottom: max(0.7rem, env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; box-shadow: 0 -4px 20px rgba(0,0,0,0.15); cursor: pointer; transition: background 0.15s; -webkit-tap-highlight-color: transparent; }
.mobile-cart-bar:active { background: var(--accent); }
.mobile-cart-left { display: flex; align-items: center; gap: 0.6rem; }
.mobile-cart-icon { font-size: 1.2rem; }
.mobile-cart-count { font-size: 0.88rem; font-weight: 700; }
.mobile-cart-total { font-family: 'DM Sans', sans-serif; font-size: 1.1rem; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ── ADD-TO-CART ANIMATION ── */
@keyframes addPop { 0% { transform: scale(1); } 50% { transform: scale(0.92); background: var(--accent); color: #fff; } 100% { transform: scale(1); } }
.quick-add.added { animation: addPop 0.35s ease; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 2rem clamp(1rem,5vw,4rem); padding-bottom: max(2rem, env(safe-area-inset-bottom)); text-align: center; font-size: 0.88rem; color: var(--muted); }

/* ── ADMIN-ONLY STYLES (schedule, orders, financials) ── */
.orders-badge { display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--accent); font-size: 0.65rem; font-weight: 800; min-width: 1.2em; height: 1.2em; border-radius: 99px; padding: 0 0.3rem; margin-left: 0.35rem; line-height: 1; }
.orders-badge:empty { display: none; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .admin-bar { font-size: 0.75rem; }
  .admin-bar-actions { flex-wrap: wrap; gap: 0.5rem; }
  .pickup-grid { grid-template-columns: 1fr; }
  .cart-field.full { grid-column: 1; }
}
@media (max-width: 540px) {
  nav .hide-mobile { display: none; }
  .field-row { grid-template-columns: 1fr; }
  #cart-btn { display: none; }
  .mobile-cart-bar { display: flex !important; }
  .card:hover { transform: none; box-shadow: none; }
  .card:active { transform: scale(0.98); }
  .card:hover .card-image-wrap img { transform: none; }
  .quick-add { opacity: 1; transform: translateY(0); font-size: 0.85rem; padding: 0.6rem 1rem; min-height: 44px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .card-body { padding: 0.7rem 0.8rem 0.9rem; }
  .card-name { font-size: 0.95rem; }
  .card-desc { font-size: 0.82rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card-footer { margin-top: 0.5rem; }
  .price { font-size: 1.05rem; }
  header { height: 52px; padding: 0 1rem; }
  .logo { font-size: 1.2rem; }
  .qty-btn { width: 40px; height: 40px; font-size: 1.3rem; border-radius: 6px; }
  .qty-num { font-size: 1.05rem; min-width: 28px; }
  .modal { max-width: 100%; border-radius: 12px 12px 0 0; max-height: 95vh; max-height: 95dvh; }
  .cart-section { padding: 1rem 1.1rem; }
  .admin-bar { flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: 0.6rem 1rem; }
  .admin-bar button { padding: 0.5rem 0.7rem; font-size: 0.7rem; min-height: 40px; border-radius: 6px; }
  .btn-primary, .btn-secondary { padding: 0.85rem 1.4rem; font-size: 0.92rem; min-height: 48px; border-radius: 6px; }
  .slot-chip { min-height: 44px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; border-radius: 6px; }
  footer { padding-bottom: 5rem; }
  .confirm-wrap { flex-direction: column; gap: 0; max-height: 95vh; border-radius: 12px 12px 0 0; overflow: hidden; }
  .confirm-panel { border-radius: 0; flex: none; max-height: 50vh; }
  .hero { height: clamp(170px, 30vw, 240px); }
  .slider { margin: 1rem auto; height: clamp(180px, 50vw, 280px); }
}
@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; gap: 0.8rem; }
}
