/* ═══════════════════════════════════════════════════
   KOSTRO PIZZA — styles.css
   Aesthetic: Italian Night — warm terracotta & dark
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@400;500;600;700&display=swap');

/* ── Variables ── */
:root {
  --bg:          #0e0c0a;
  --bg2:         #141210;
  --surface:     rgba(255,255,255,0.055);
  --surface2:    rgba(255,255,255,0.08);
  --border:      rgba(255,255,255,0.09);
  --border2:     rgba(220,140,60,0.22);

  --fire:        #e8762a;
  --fire2:       #d4601a;
  --fire-glow:   rgba(232,118,42,0.18);

  --text:        rgba(255,255,255,0.93);
  --text2:       rgba(255,255,255,0.62);
  --text3:       rgba(255,255,255,0.40);

  --cream:       #f5ede0;

  --radius-sm:   10px;
  --radius:      16px;
  --radius-lg:   22px;

  --shadow:      0 12px 40px rgba(0,0,0,0.55);
  --shadow-fire: 0 0 30px rgba(232,118,42,0.25);

  --container:   1040px;
  --nav-h:       56px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}
body {
  margin: 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 800px 500px at 0% 0%, rgba(200,90,20,0.14) 0%, transparent 55%),
    radial-gradient(ellipse 600px 400px at 100% 30%, rgba(180,70,10,0.08) 0%, transparent 50%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ════════════════════════════════════
   HEADER
════════════════════════════════════ */
.site-header {
  padding: 16px 0 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(14,12,10,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border2);
  background: #fff;
  flex-shrink: 0;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
}
.brand-tagline {
  font-size: 11px;
  color: var(--fire);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 3px;
  font-weight: 600;
}
.header-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.hdr-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  transition: all 0.15s ease;
  white-space: nowrap;
}
.hdr-btn:hover { background: var(--surface2); border-color: var(--border2); }
.hdr-btn--inst {
  background: linear-gradient(135deg, rgba(232,118,42,0.85), rgba(200,60,80,0.85));
  border-color: rgba(232,118,42,0.3);
  color: #fff;
}
.hdr-btn--inst:hover { opacity: 0.9; }

/* ════════════════════════════════════
   STICKY NAV
════════════════════════════════════ */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(12,10,9,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.nav-inner::-webkit-scrollbar { display: none; }
.nav-chip {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text2);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.14s ease;
  white-space: nowrap;
}
.nav-chip:hover {
  background: var(--fire-glow);
  border-color: rgba(232,118,42,0.35);
  color: var(--fire);
}
.nav-chip.active {
  background: var(--fire);
  border-color: var(--fire);
  color: #fff;
}

/* ════════════════════════════════════
   HERO
════════════════════════════════════ */
.hero {
  padding: 48px 0 40px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 700px 400px at 70% 50%, rgba(232,118,42,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}
.hero-eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fire);
}
.hero-title {
  margin: 0 0 16px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(48px, 9vw, 80px);
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--fire);
}
.hero-desc {
  margin: 0 0 24px;
  color: var(--text2);
  font-size: 15px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-fire {
  background: linear-gradient(160deg, var(--fire) 0%, var(--fire2) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,118,42,0.35);
}
.btn-fire:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(232,118,42,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--fire);
  color: var(--fire);
}
.btn-block { width: 100%; }

/* ── Hero Card ── */
.hero-card {
  display: none;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border2);
  background:
    radial-gradient(ellipse 400px 300px at 10% 0%, rgba(232,118,42,0.15) 0%, transparent 60%),
    var(--surface);
  box-shadow: var(--shadow), var(--shadow-fire);
}
.hero-card-top {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid;
}
.pill--fire {
  border-color: rgba(232,118,42,0.35);
  background: rgba(232,118,42,0.12);
  color: var(--fire);
}
.pill--muted {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text2);
}
.hero-card-emoji { font-size: 52px; margin-bottom: 10px; }
.hero-card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hero-card-sub {
  color: var(--text2);
  font-size: 13px;
  margin-top: 4px;
}
.hero-card-divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}
.hero-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--text2);
}
.hero-card-row strong {
  font-size: 22px;
  color: var(--fire);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
}

/* ════════════════════════════════════
   MAIN / SECTIONS
════════════════════════════════════ */
.main { padding-bottom: 60px; }

.menu-section {
  padding: 36px 0 0;
}
.menu-section + .menu-section {
  border-top: 1px solid var(--border);
  margin-top: 8px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.section-title {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.01em;
  position: relative;
}
.section-title span {
  position: relative;
  z-index: 1;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  height: 8px;
  width: 100%;
  background: linear-gradient(90deg, rgba(232,118,42,0.22), transparent);
  border-radius: 4px;
  z-index: 0;
}
.size-legend {
  display: flex;
  gap: 6px;
}
.size-legend span {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  color: var(--text2);
  background: var(--surface);
}

/* ════════════════════════════════════
   PIZZA GRID
════════════════════════════════════ */
.pizza-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
.pizza-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.pizza-card:hover {
  border-color: var(--border2);
  transform: translateY(-1px);
}
.pizza-card-body { padding: 16px; }
.pizza-name {
  margin: 0 0 4px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pizza-desc {
  margin: 0 0 14px;
  color: var(--text2);
  font-size: 13px;
  line-height: 1.4;
}
.pizza-sizes {
  display: flex;
  gap: 8px;
}
.size-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 8px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--bg2);
  color: var(--text);
  transition: all 0.15s ease;
}
.size-btn:hover {
  border-color: var(--fire);
  background: var(--fire-glow);
}
.size-btn:active { transform: scale(0.97); }
.size-btn.flash {
  background: var(--fire);
  border-color: var(--fire);
  color: #fff;
}
.size-label { font-size: 12px; color: var(--text2); font-weight: 600; }
.size-btn:hover .size-label { color: var(--fire); }
.size-btn.flash .size-label { color: rgba(255,255,255,0.8); }
.size-price { font-weight: 700; font-size: 16px; letter-spacing: 0.01em; }

/* ════════════════════════════════════
   LIST GRID (all other categories)
════════════════════════════════════ */
.list-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
}
.list-grid--compact .list-item { padding: 10px 14px; }

.list-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: all 0.13s ease;
}
.list-item:hover {
  border-color: var(--border2);
  background: var(--surface2);
}
.list-item:active { transform: scale(0.99); }
.li-name {
  font-size: 14px;
  font-weight: 500;
  min-width: 0;
}
.li-weight {
  font-size: 12px;
  color: var(--text3);
  font-weight: 600;
  white-space: nowrap;
}
.li-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.add-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg2);
  color: var(--text2);
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.13s ease;
  pointer-events: none;
}
.list-item:hover .add-btn {
  border-color: var(--fire);
  background: var(--fire);
  color: #fff;
}
.add-btn.flash {
  background: var(--fire);
  border-color: var(--fire);
  color: #fff;
  transform: scale(1.2);
}

/* ════════════════════════════════════
   FLOATING CART BUTTON
════════════════════════════════════ */
.cart-fab {
  position: fixed;
  bottom: 28px;
  right: 20px;
  z-index: 200;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(160deg, var(--fire) 0%, var(--fire2) 100%);
  font-size: 26px;
  color: #fff;
  box-shadow: 0 6px 28px rgba(232,118,42,0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-fab:hover {
  transform: scale(1.07);
  box-shadow: 0 8px 36px rgba(232,118,42,0.65);
}
.cart-fab:active { transform: scale(0.96); }
.cart-fab.hidden { opacity: 0; pointer-events: none; transform: scale(0.8); }
.cart-fab-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  background: #fff;
  color: var(--fire2);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cart-fab-count.bump { transform: scale(1.4); }

/* ════════════════════════════════════
   CART DRAWER
════════════════════════════════════ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.62);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.drawer-overlay.visible { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 400;
  width: min(420px, 100vw);
  background: #18140f;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 50px rgba(0,0,0,0.55);
}
.cart-drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.drawer-title {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}
.drawer-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text2);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.13s ease;
}
.drawer-close:hover { background: var(--surface2); color: var(--text); }

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text2);
  padding: 40px 20px;
  gap: 12px;
}
.cart-empty-icon { font-size: 52px; }
.cart-empty p { margin: 0; line-height: 1.5; font-size: 15px; }

/* Cart item row */
@keyframes slideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cart-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  animation: slideIn 0.18s ease;
}

.cart-item-left {
  flex: 1;
  min-width: 0;
}
.cart-item-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  word-break: break-word;
}
.cart-item-unit {
  font-size: 12px;
  color: var(--text3);
  margin-top: 2px;
}

.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.cart-item-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--fire);
  letter-spacing: 0.01em;
}

/* qty row: − N + | 🗑 з відступом */
.qty-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* роздільник між + і кошиком */
.qty-row::after {
  content: '';
  display: block;
  width: 1px;
  height: 20px;
  background: var(--border);
  margin: 0 4px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface2);
  color: var(--text);
  font-size: 17px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.12s ease;
}
.qty-btn:hover { border-color: var(--fire); background: var(--fire-glow); }

.qty-val {
  font-size: 14px;
  font-weight: 700;
  min-width: 20px;
  text-align: center;
}

/* кнопка видалення — окремий стиль */
.qty-del {
  color: var(--text3);
  background: transparent;
  border-color: transparent;
}
.qty-del:hover {
  color: #e84545;
  border-color: rgba(232,69,69,0.35);
  background: rgba(232,69,69,0.10);
}

.drawer-footer {
  padding: 16px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: var(--text2);
}
.cart-total-row strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

/* ════════════════════════════════════
   ORDER MODAL
════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.modal-overlay.visible { opacity: 1; pointer-events: all; }

.order-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.94);
  z-index: 600;
  width: min(520px, calc(100vw - 24px));
  max-height: calc(100vh - 32px);
  background: #18140f;
  border: 1px solid var(--border2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow), var(--shadow-fire);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.order-modal.open {
  opacity: 1;
  pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.modal-title {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}
.modal-body {
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.modal-footer {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Order summary in modal */
.order-summary {
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 13px;
  line-height: 1.6;
  color: var(--text2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.order-sum-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.order-sum-row span { color: var(--text2); }
.order-sum-row strong { color: var(--text); white-space: nowrap; }
.order-summary strong { color: var(--text); }

/* Form elements */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  letter-spacing: 0.02em;
}
.form-input {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.15s ease;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus { border-color: var(--fire); }
.form-input.error { border-color: #e84545; }
.form-input option { background: #1c1610; }
.form-textarea { resize: vertical; min-height: 60px; }

.order-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  color: var(--text2);
}
.order-total-row strong {
  font-size: 22px;
  font-weight: 700;
  color: var(--fire);
}
.form-note {
  margin: 0;
  font-size: 12px;
  color: var(--text3);
  text-align: center;
  line-height: 1.5;
}

/* ════════════════════════════════════
   TOAST
════════════════════════════════════ */
.toast {
  position: fixed;
  bottom: 106px;
  right: 20px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  color: #14100a;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 6px 28px rgba(0,0,0,0.4);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 280px;
  text-align: center;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ════════════════════════════════════
   FOOTER
════════════════════════════════════ */
.site-footer {
  padding: 20px 0 28px;
  border-top: 1px solid var(--border);
  background: rgba(10,8,6,0.6);
  margin-top: 48px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
}
.footer-copy { font-size: 12px; color: var(--text3); margin-top: 3px; }
.back-top {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.13s ease;
}
.back-top:hover { border-color: var(--fire); color: var(--fire); }

/* ════════════════════════════════════
   RESPONSIVE
════════════════════════════════════ */
@media (min-width: 640px) {
  .pizza-grid { grid-template-columns: 1fr 1fr; }
  .list-grid { grid-template-columns: 1fr 1fr; }
  .list-grid--compact { grid-template-columns: 1fr 1fr 1fr; }
}

@media (min-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr 0.75fr;
    gap: 40px;
  }
  .hero-card { display: block; }
  .pizza-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 480px) {
  .list-item { grid-template-columns: 1fr auto auto; }
  .list-item .add-btn { display: none; }
  .li-weight { display: none; }
  .hdr-btn span { display: none; }
}

.receipt-card {
  max-width: 400px;
  border: 1px dashed var(--fire2); /* Ефект відривного чеку */
  background: var(--bg2);
  text-align: center;
}

.receipt-header h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--fire);
  margin-bottom: 5px;
}

.receipt-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 10px;
}

.receipt-body {
  text-align: left;
  margin: 20px 0;
  padding: 15px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.6;
}

.receipt-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  padding: 5px 0;
}

.receipt-total {
  margin-top: 15px;
  font-weight: bold;
  font-size: 18px;
  color: var(--fire);
  text-align: right;
}
