/**
 * Sorrento Pizzeria — Premium Dark Theme
 * Built on top of Bootstrap 5
 */

:root {
  /* === PALETTE === */
  --bg-deepest: #0A0A0A;
  --bg-card: #161616;
  --bg-card-hover: #1C1C1C;
  --bg-elevated: #1F1F1F;
  --bg-input: #141414;
  --bg-footer: #050505;

  --line-faint: rgba(255, 255, 255, 0.06);
  --line-subtle: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);

  --text-primary: #F5F1EB;
  --text-secondary: #A8A29A;
  --text-muted: #6B6660;

  --accent-fire: #E8541C;
  --accent-fire-deep: #C13D0A;
  --accent-fire-glow: rgba(232, 84, 28, 0.4);

  /* Status colors on dark */
  --color-success: #4ADE80;
  --color-danger: #F87171;
  --color-warning: #FBBF24;

  /* Typography */
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* === BOOTSTRAP OVERRIDES === */
  --bs-body-bg: var(--bg-deepest);
  --bs-body-color: var(--text-primary);
  --bs-body-font-family: var(--sans);
  --bs-border-color: var(--line-subtle);
  --bs-primary: #E8541C;
  --bs-primary-rgb: 232, 84, 28;
  --bs-secondary: #A8A29A;
  --bs-secondary-rgb: 168, 162, 154;
  --bs-success: #4ADE80;
  --bs-danger: #F87171;
  --bs-link-color: var(--accent-fire);
  --bs-link-hover-color: var(--accent-fire-deep);
}

* { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background: var(--bg-deepest);
  color: var(--text-primary);
  font-family: var(--sans);
  font-weight: 400;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  font-feature-settings: "ss01", "cv11";
  min-height: 100vh;
}

/* Grain overlay — film texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: 0.4;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Ambient warm glow in corner */
body::after {
  content: '';
  position: fixed;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(circle, rgba(232, 84, 28, 0.08) 0%, transparent 60%);
  filter: blur(80px);
}

.content-wrapper { position: relative; z-index: 2; }

a { color: var(--accent-fire); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-fire-deep); }

::selection { background: var(--accent-fire); color: white; }

/* Bootstrap utilities overrides */
.text-muted { color: var(--text-muted) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.bg-dark { background-color: var(--bg-deepest) !important; }
.border-faint { border-color: var(--line-faint) !important; }
.border-subtle { border-color: var(--line-subtle) !important; }

/* ============================================================
   TOPBAR
============================================================ */
.topbar {
  background: var(--bg-footer);
  color: var(--text-secondary);
  font-size: 12px;
  padding: 10px 0;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--line-faint);
  position: relative;
  z-index: 3;
}
.topbar a {
  color: var(--text-secondary);
  text-decoration: none;
}
.topbar a:hover { color: var(--accent-fire); }
.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar-status::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--line-faint);
}
.site-header .navbar { padding: 14px 0; }

.logo {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--text-primary) !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 !important;
}
.logo:hover { color: var(--text-primary) !important; }
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-fire), #F4A833);
  position: relative;
  box-shadow: 0 4px 16px var(--accent-fire-glow);
  flex-shrink: 0;
}
.logo-mark::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--bg-deepest);
}
.logo-mark::before {
  content: 'S';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 18px;
  color: var(--accent-fire);
  z-index: 2;
}

.main-nav .nav-link {
  color: var(--text-secondary) !important;
  font-size: 14px;
  font-weight: 500;
  padding: 4px 0 !important;
  margin: 0 18px;
  position: relative;
  transition: color 0.2s;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: var(--text-primary) !important;
}
.main-nav .nav-link.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent-fire);
}

.btn-cart {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--line-subtle);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
}
.btn-cart:hover {
  background: var(--accent-fire);
  border-color: var(--accent-fire);
  color: white;
  transform: translateY(-1px);
}
.cart-count {
  background: var(--accent-fire);
  color: white;
  font-size: 11px;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}
.btn-cart:hover .cart-count {
  background: white;
  color: var(--accent-fire);
}

/* ============================================================
   ПЛАВАЮЧА КНОПКА КОШИКА — завжди приліплена (ПК + мобільний)
   Винесена ПОЗА .site-header, бо backdrop-filter хедера ламає
   position:fixed (елемент чіплявся б до хедера, а не до вікна).
============================================================ */
.btn-cart-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1035;           /* вище за хедер(50)+grain(1000), нижче за offcanvas(1045) */
  width: 60px;
  height: 60px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: var(--accent-fire);
  border: none;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 10px 30px -6px var(--accent-fire-glow), 0 4px 12px rgba(0,0,0,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-cart-floating:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 38px -6px var(--accent-fire-glow), 0 6px 16px rgba(0,0,0,0.5);
  background: var(--accent-fire);
  color: #fff;
}
.btn-cart-floating:active { transform: scale(0.94); }
.btn-cart-floating i { font-size: 23px; margin: 0; }
/* Лічильник — бейдж у кутку */
.btn-cart-floating .cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 23px;
  height: 23px;
  padding: 0 6px;
  background: #fff;
  color: var(--accent-fire);
  border: 2px solid var(--bg-deepest);
  font-size: 12px;
  font-weight: 800;
}
.btn-cart-floating:hover .cart-count {
  background: #fff;
  color: var(--accent-fire);
}
.cart-count.bump { animation: bump 0.4s ease; }
@keyframes bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Mobile nav toggler */
.navbar-toggler {
  border: 1px solid var(--line-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
  padding: 8px 12px;
}
.navbar-toggler:focus { box-shadow: none; outline: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23F5F1EB' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
   HERO
============================================================ */
.hero {
  padding: 36px 0 52px;
  position: relative;
  overflow: hidden;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-fire);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--accent-fire);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 4vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.hero h1 em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent-fire) 0%, #F4A833 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}
.hero-lead {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 460px;
  line-height: 1.55;
}

.btn-primary-fire {
  background: var(--accent-fire);
  color: white;
  padding: 18px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
  box-shadow: 0 16px 40px -12px var(--accent-fire-glow);
  text-decoration: none;
}
.btn-primary-fire:hover {
  background: var(--accent-fire-deep);
  transform: translateY(-2px);
  box-shadow: 0 20px 48px -10px rgba(232, 84, 28, 0.7);
  color: white;
}
.btn-primary-fire:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--line-strong);
  padding: 17px 28px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s;
  text-decoration: none;
}
.btn-ghost:hover {
  border-color: var(--accent-fire);
  color: var(--accent-fire);
  background: rgba(232, 84, 28, 0.05);
}

.hero-stats {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line-faint);
}
.stat-num {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--accent-fire);
  display: block;
}
.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}

/* Hero visual: SVG mockup of pizzas */
.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 460px;
  margin: 0 auto;
}
.hero-mockup {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.45));
  animation: float-mockup 6s ease-in-out infinite;
}
@keyframes float-mockup {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 130px;
  height: 130px;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--accent-fire);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transform: rotate(-12deg);
  z-index: 3;
  box-shadow: 0 16px 40px -10px rgba(0,0,0,0.6), 0 0 40px var(--accent-fire-glow);
}
.hero-badge-num {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-fire);
}
.hero-badge-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 4px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ============================================================
   SECTIONS
============================================================ */
.section { padding: 20px 0; position: relative; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-fire);
  margin-bottom: 16px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--accent-fire);
  margin-right: 12px;
  vertical-align: middle;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.5vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--text-primary);
}
.section-title em {
  font-style: italic;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-fire), #F4A833);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-sub {
  color: var(--text-secondary);
  max-width: 420px;
}

/* ============================================================
   MENU: tabs, style filter, quick filters
============================================================ */
/* ============================================================
   CATEGORY TABS — компактні картки з іконкою
============================================================ */
.cat-tabs-wrap {
  position: relative;
  margin: 0 -4px; /* щоб тінь активного не різалась */
}
.cat-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 4px 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.cat-tabs::-webkit-scrollbar { display: none; }

.cat-tab {
  flex: 0 0 auto;
  scroll-snap-align: center;
  min-width: 92px;
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--line-faint);
  padding: 14px 18px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s, background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.cat-tab:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: var(--line-subtle);
  transform: translateY(-2px);
}
.cat-tab.active {
  background: linear-gradient(160deg, var(--accent-fire), var(--accent-fire-deep));
  color: #fff;
  border-color: var(--accent-fire);
  box-shadow: 0 8px 22px -8px var(--accent-fire-glow);
}
.cat-tab-icon {
  font-size: 26px;
  line-height: 1;
  transition: transform 0.25s;
}
.cat-tab-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-deepest);
  transition: transform 0.25s;
}
.cat-tab-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-tab:hover .cat-tab-icon,
.cat-tab.active .cat-tab-icon,
.cat-tab:hover .cat-tab-img,
.cat-tab.active .cat-tab-img { transform: scale(1.12); }

/* Градієнтні підказки скролу з боків (видно що можна гортати) */
.cat-tabs-wrap::before,
.cat-tabs-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 8px;
  width: 36px;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.2s;
}
.cat-tabs-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-deepest), transparent);
}
.cat-tabs-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg-deepest), transparent);
}
.cat-tabs-wrap.scroll-start::after { opacity: 1; }
.cat-tabs-wrap.scroll-mid::before,
.cat-tabs-wrap.scroll-mid::after { opacity: 1; }
.cat-tabs-wrap.scroll-end::before { opacity: 1; }

/* Style sub-filter */
.style-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 8px;
}
.style-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 100px;
  background: transparent;
  border: 1px solid var(--line-subtle);
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: -0.01em;
}
.style-pill:hover {
  border-color: var(--accent-fire);
  color: var(--accent-fire);
  transform: translateY(-1px);
}
.style-pill.active {
  background: linear-gradient(135deg, var(--accent-fire), var(--accent-fire-deep));
  border-color: var(--accent-fire);
  color: white;
  box-shadow: 0 6px 20px -4px var(--accent-fire-glow);
}
.style-pill.active .style-pill-count {
  background: rgba(255, 255, 255, 0.22);
  color: white;
}
.style-pill-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 100px;
  background: var(--bg-card);
  color: var(--text-muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
}

/* ============================================================
   STYLE DIVIDER (Українська / Італійська sections)
============================================================ */
.pizza-style-section {
  margin-top: 60px;
}
.pizza-style-section:first-child {
  margin-top: 40px;
}
.style-divider {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 32px;
}
.style-divider .style-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  white-space: nowrap;
}
.style-divider .style-name::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-fire);
  margin-right: 16px;
  vertical-align: middle;
  margin-bottom: 8px;
}
.style-divider .style-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--line-subtle), transparent);
}
.style-divider .style-count {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ============================================================
   PIZZA CARD (Variant B)
============================================================ */
.pizza-card {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-faint);
  height: 100%;
}
.pizza-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, transparent 30%, rgba(232, 84, 28, 0.25) 70%, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.pizza-card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  border-color: var(--line-subtle);
  box-shadow:
          0 24px 60px -20px rgba(0, 0, 0, 0.8),
          0 0 40px -10px rgba(232, 84, 28, 0.15);
}
.pizza-card:hover::before { opacity: 1; }
.pizza-card.hidden { display: none; }

.pizza-img {
  aspect-ratio: 1;
  background: radial-gradient(circle at center, #1A1410, var(--bg-deepest));
  position: relative;
  overflow: hidden;
}
.pizza-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pizza-card:hover .pizza-photo { transform: scale(1.05); }

.pizza-placeholder {
  position: absolute;
  inset: 24px;
  background: radial-gradient(circle at 35% 35%, #F4A833 0%, #E8541C 60%, #A8330A 100%);
  border-radius: 50%;
  box-shadow: inset 0 0 0 10px rgba(244,217,168,0.9), inset 0 0 0 14px rgba(232,84,28,0.7);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pizza-card:hover .pizza-placeholder { transform: rotate(20deg) scale(1.05); }

.pizza-tag {
  position: absolute;
  top: 16px; left: 16px;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 2;
  backdrop-filter: blur(8px);
}
.pizza-tag.hot { background: rgba(215, 55, 43, 0.9); color: white; }
.pizza-tag.new { background: rgba(232, 84, 28, 0.9); color: white; }
.pizza-tag.veg { background: rgba(74, 107, 47, 0.9); color: white; }

.pizza-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pizza-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.pizza-ingredients {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.size-selector {
  display: flex;
  background: var(--bg-elevated);
  border: 1px solid var(--line-faint);
  border-radius: 100px;
  padding: 4px;
  margin-bottom: 16px;
}
.size-opt {
  flex: 1;
  padding: 8px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-secondary);
}
.size-opt.active {
  background: var(--text-primary);
  color: var(--bg-deepest);
}

.pizza-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pizza-price {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent-fire);
}
.pizza-price small {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}
/* Вага товару — компактний бейдж біля опису */
.pizza-weight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-faint);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  width: fit-content;
}
.pizza-weight i {
  font-size: 13px;
  color: var(--accent-fire);
  opacity: 0.85;
}
.pizza-weight span { color: var(--text-primary); font-weight: 600; }
.add-btn {
  background: var(--text-primary);
  color: var(--bg-deepest);
  border: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
}
.add-btn:hover {
  background: var(--accent-fire);
  color: white;
  transform: rotate(90deg) scale(1.05);
  box-shadow: 0 8px 24px -6px var(--accent-fire-glow);
}
.add-btn i { font-size: 18px; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}
.empty-state-icon { font-size: 64px; opacity: 0.4; margin-bottom: 16px; }

/* ============================================================
   PARTNERS
============================================================ */
.partners {
  padding: 80px 0;
  border-top: 1px solid var(--line-faint);
}
.partner-card {
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--text-primary);
  height: 100%;
}
.partner-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-fire);
  background: var(--bg-card-hover);
  color: var(--text-primary);
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.8), 0 0 30px -10px rgba(232,84,28,0.2);
}
.partner-logo {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 800;
  color: white;
}
.partner-logo.glovo { background: #FFC244; color: #1A1410; }
.partner-logo.bolt { background: #34D186; }
.partner-logo.own { background: var(--accent-fire); }
.partner-name { font-weight: 600; font-size: 16px; }
.partner-meta { font-size: 12px; color: var(--text-muted); }
.partner-link {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-fire);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   STORY
============================================================ */
.story {
  padding: 140px 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-faint);
  border-bottom: 1px solid var(--line-faint);
}
.story-bg-text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(180px, 28vw, 360px);
  font-weight: 400;
  color: rgba(232, 84, 28, 0.04);
  z-index: 1;
  letter-spacing: -0.04em;
  user-select: none;
  white-space: nowrap;
}
.story-content { position: relative; z-index: 2; }
.story-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.story-quote span {
  font-style: normal;
  font-weight: 500;
  background: linear-gradient(135deg, var(--accent-fire), #F4A833);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.story-author {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-top: 32px;
  font-weight: 500;
}
.story-author::before {
  content: '';
  display: inline-block;
  width: 32px; height: 1px;
  background: var(--accent-fire);
  vertical-align: middle;
  margin-right: 12px;
}

/* ============================================================
   SEO TEXT SECTION
============================================================ */
.seo-section {
  padding: 80px 0;
  border-top: 1px solid var(--line-faint);
}
.seo-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.seo-text p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.seo-text strong { color: var(--text-primary); font-weight: 600; }
.seo-text a { color: var(--accent-fire); }
.seo-facts {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
  border-radius: 16px;
}
.seo-fact {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.seo-fact i {
  font-size: 20px;
  color: var(--accent-fire);
  margin-top: 2px;
}
.seo-fact div { display: flex; flex-direction: column; gap: 2px; }
.seo-fact strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.seo-fact span { font-size: 15px; color: var(--text-secondary); }
.seo-fact a { color: var(--text-secondary); }
.seo-fact a:hover { color: var(--accent-fire); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--bg-footer);
  padding: 80px 0 90px;
  color: var(--text-secondary);
  border-top: 1px solid var(--line-faint);
}
.footer-brand h3 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 14px;
}
.footer-brand h3 span { color: var(--accent-fire); }
.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
  color: var(--accent-fire);
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-primary); }
.socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  margin-bottom: 0;
  color: var(--text-secondary);
  transition: all 0.2s;
  text-decoration: none;
}
.socials a:hover {
  background: var(--accent-fire);
  border-color: var(--accent-fire);
  color: white;
  transform: translateY(-2px);
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line-faint);
  font-size: 12px;
  color: var(--text-muted);
}

/* ============================================================
   BOOTSTRAP OFFCANVAS (Cart drawer)
============================================================ */
.offcanvas {
  background: var(--bg-card);
  color: var(--text-primary);
  border-left: 1px solid var(--line-faint) !important;
}
.offcanvas-header {
  padding: 28px;
  border-bottom: 1px solid var(--line-faint);
}
.offcanvas-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.offcanvas .btn-close {
  background: var(--bg-elevated) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23F5F1EB'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/16px no-repeat;
  border: 1px solid var(--line-faint);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  opacity: 1;
  transition: all 0.2s;
}
.offcanvas .btn-close:hover {
  background-color: var(--accent-fire);
}
.offcanvas-body { padding: 0; display: flex; flex-direction: column; }

.cart-items { flex: 1; overflow-y: auto; padding: 20px 28px; }
.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-secondary);
}
.cart-empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
  color: var(--text-muted);
}
.cart-empty small { display: block; margin-top: 6px; color: var(--text-muted); }

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-faint);
}
.cart-item-img {
  width: 70px; height: 70px;
  border-radius: 14px;
  background: linear-gradient(135deg, #F4A833, #E8541C);
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: 15px; margin-bottom: 4px; color: var(--text-primary); }
.cart-item-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.cart-item-bottom { display: flex; justify-content: space-between; align-items: center; }
.qty-control {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-elevated);
  border: 1px solid var(--line-faint);
  border-radius: 100px;
  padding: 4px;
}
.qty-btn {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg-card);
  color: var(--text-primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.qty-btn:hover { background: var(--accent-fire); color: white; }
.qty-num { font-weight: 600; font-size: 13px; min-width: 16px; text-align: center; color: var(--text-primary); }
.cart-item-price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--accent-fire);
}

.cart-foot {
  padding: 24px 28px 28px;
  border-top: 1px solid var(--line-faint);
  background: var(--bg-deepest);
}
.cart-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}
.cart-total {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 14px 0 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-faint);
  display: flex;
  justify-content: space-between;
}
.cart-total span:last-child { color: var(--accent-fire); }
.checkout-btn {
  width: 100%;
  background: var(--accent-fire);
  color: white;
  padding: 18px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
  text-decoration: none;
  box-shadow: 0 12px 32px -10px var(--accent-fire-glow);
}
.checkout-btn:hover {
  background: var(--accent-fire-deep);
  color: white;
  transform: translateY(-1px);
}
.checkout-btn.disabled {
  background: var(--bg-elevated);
  color: var(--text-muted);
  pointer-events: none;
  box-shadow: none;
}
.min-order-note {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 12px;
  color: var(--accent-fire);
}

/* ============================================================
   BOOTSTRAP MODAL (Product modal with toppings)
============================================================ */
.modal-content {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--line-faint);
  border-radius: 20px;
}
.modal-header {
  border-bottom: 1px solid var(--line-faint);
  padding: 24px 28px;
}
.modal-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
.modal-body { padding: 24px 28px; }
.modal-footer {
  border-top: 1px solid var(--line-faint);
  padding: 20px 28px;
  background: var(--bg-deepest);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}
.modal .btn-close {
  background: var(--bg-elevated) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23F5F1EB'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/14px no-repeat;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  opacity: 1;
  border: 1px solid var(--line-faint);
}
.modal .btn-close:hover { background-color: var(--accent-fire); }

.modal-section-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-fire);
  margin-bottom: 14px;
}
.modal-toppings { display: flex; flex-direction: column; gap: 8px; }
.topping-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: var(--bg-elevated);
  border: 1.5px solid var(--line-faint);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
}
.topping-row:hover { border-color: var(--line-subtle); }
.topping-row.checked {
  border-color: var(--accent-fire);
  background: rgba(232, 84, 28, 0.08);
}
.topping-row label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  color: var(--text-primary);
  margin: 0;
}
.topping-row input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--accent-fire);
  cursor: pointer;
}
.topping-price {
  font-weight: 600;
  color: var(--accent-fire);
  font-size: 14px;
}

.modal-add-btn {
  width: 100%;
  background: var(--accent-fire);
  color: white;
  padding: 16px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: all 0.3s;
}
.modal-add-btn:hover { background: var(--accent-fire-deep); }

/* ============================================================
   FORMS (Checkout)
============================================================ */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 20px;
}
.form-card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--text-primary);
}
.form-card-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.form-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.form-control, .form-select {
  background: var(--bg-deepest);
  border: 1.5px solid var(--line-strong);
  color: var(--text-primary);
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.2s;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:hover, .form-select:hover {
  border-color: rgba(255, 255, 255, 0.25);
}
.form-control:focus, .form-select:focus {
  background: var(--bg-deepest);
  border-color: var(--accent-fire);
  color: var(--text-primary);
  box-shadow: 0 0 0 4px rgba(232, 84, 28, 0.15);
  outline: none;
}
.form-control.is-invalid {
  border-color: var(--color-danger);
}
.invalid-feedback {
  color: var(--color-danger);
  font-size: 12px;
}

/* Date/time inputs: показати індикатор світлим */
.form-control::-webkit-calendar-picker-indicator {
  filter: invert(0.7);
  cursor: pointer;
}

.option-pill {
  background: var(--bg-deepest);
  border: 1.5px solid var(--line-strong);
  color: var(--text-primary);
  padding: 14px 16px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  height: 100%;
}
.option-pill:hover { border-color: var(--line-subtle); }
.option-pill.active {
  border-color: var(--accent-fire);
  background: rgba(232, 84, 28, 0.08);
}
.option-pill-title { font-weight: 600; font-size: 14px; margin-bottom: 2px; color: var(--text-primary); }
.option-pill-meta { font-size: 12px; color: var(--text-muted); }

/* Order summary sidebar */
.order-summary {
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
  border-radius: 20px;
  padding: 32px;
  position: sticky;
  top: 90px;
}
.summary-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}
.summary-items {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-faint);
}
.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
}
.summary-item-name { flex: 1; padding-right: 12px; color: var(--text-primary); }
.summary-item-qty { color: var(--text-muted); margin-right: 8px; }
.summary-item-price { font-weight: 600; color: var(--text-primary); }
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-secondary);
}
.summary-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  padding-top: 14px;
  border-top: 1px solid var(--line-faint);
  margin-top: 14px;
  color: var(--text-primary);
}
.summary-total span:last-child { color: var(--accent-fire); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 991px) {
  .hero { padding: 32px 0 38px; }
  .hero-visual { margin-top: 28px; max-width: 320px; }
  .section { padding: 40px 0; }
  /* Місце знизу під плаваючу кнопку кошика */
  .site-footer { padding-bottom: 88px; }

  /* Кнопка кошика на мобільному — трохи менша і ближче до краю */
  .btn-cart-floating {
    bottom: 16px;
    right: 16px;
    width: 54px;
    height: 54px;
  }
  .btn-cart-floating i { font-size: 21px; }

  /* === Захист від горизонтального скролу === */
  .content-wrapper { overflow-x: hidden; }
  .container-fluid { overflow-x: clip; }
  /* Hero-візуал не повинен визирати */
  .hero-visual { max-width: 100%; overflow: visible; }
  .hero-badge { right: 4px; }
  /* Картинки ніколи не ширші за контейнер */
  img { max-width: 100%; height: auto; }
  /* Story фоновий текст не розпирає */
  .story-bg-text { font-size: clamp(120px, 40vw, 200px); }
}
@media (max-width: 575px) {
  .topbar-status { display: none !important; }
  .hero { padding: 24px 0 20px; }
  .hero-eyebrow { margin-bottom: 14px; }
  .hero h1 { margin-bottom: 14px; }
  .hero-lead { margin-bottom: 20px; }
  .hero-stats { margin-top: 24px; padding-top: 18px; }
  .hero-stats .stat-num { font-size: 24px; }
  .hero-visual { max-width: 260px; }
  .pizza-body { padding: 16px; }
  .pizza-name { font-size: 17px; }
  .pizza-ingredients { font-size: 12px; }
  .pizza-price { font-size: 19px; }
  .add-btn { width: 38px; height: 38px; }
  .hero-badge { width: 88px; height: 88px; right: 0; top: -6px; }
  .hero-badge-num { font-size: 24px; }
  .form-card { padding: 20px; }
  .order-summary { padding: 24px; position: static; }
}

/* Loader for AJAX */
.loader {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.loader::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid var(--line-subtle);
  border-top-color: var(--accent-fire);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 12px;
  vertical-align: middle;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   СТОРІНКА ТОВАРУ (/pizza/{slug})
============================================================ */
.product-breadcrumbs {
  padding: 20px 0;
  font-size: 14px;
  color: var(--text-secondary);
}
.product-breadcrumbs a { color: var(--text-secondary); }
.product-breadcrumbs a:hover { color: var(--accent-fire); }
.product-breadcrumbs i { font-size: 11px; margin: 0 8px; opacity: 0.5; }
.product-breadcrumbs span { color: var(--text-primary); }

.product-page { padding: 20px 0 80px; }

.product-gallery {
  position: sticky;
  top: 90px;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
}
.product-photo { width: 100%; height: auto; display: block; aspect-ratio: 1; object-fit: cover; }
.product-photo-empty {
  padding: 80px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
  object-fit: contain;
  opacity: 0.45;
}
.similar-img-empty {
  padding: 28px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
  object-fit: contain;
  opacity: 0.4;
}
/* Старі стилі-блоки (на випадок, якщо ще використовуються) */
.product-photo-placeholder {
  width: 100%; aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; color: var(--line-subtle);
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
}

.product-cat-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-fire);
  margin-bottom: 12px;
}
.product-title {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.product-desc {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.product-sizes { display: flex; gap: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.product-size {
  flex: 1 1 auto;
  min-width: 120px;
  background: var(--bg-card);
  border: 1.5px solid var(--line-subtle);
  border-radius: 16px;
  padding: 14px 18px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}
.product-size:hover { border-color: var(--accent-fire); }
.product-size.active {
  border-color: var(--accent-fire);
  background: rgba(232, 84, 28, 0.08);
}
.product-size-label { font-size: 14px; color: var(--text-secondary); }
.product-size.active .product-size-label { color: var(--text-primary); }
.product-size-price {
  font-size: 18px;
  font-weight: 700;
  font-family: var(--serif);
  color: var(--text-primary);
}
.product-size.active .product-size-price { color: var(--accent-fire); }

.product-buy {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.product-price {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}
.product-price small { font-size: 20px; color: var(--text-secondary); }
.product-add-btn {
  flex: 1 1 auto;
  min-width: 200px;
  background: var(--accent-fire);
  color: #fff;
  border: none;
  border-radius: 100px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 8px 22px -8px var(--accent-fire-glow);
}
.product-add-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px var(--accent-fire-glow); }
.product-add-btn i { font-size: 19px; }

.product-meta-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line-faint);
}
.product-meta-item {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text-secondary);
}
.product-meta-item i { font-size: 18px; color: var(--accent-fire); }

/* Схожі товари */
.product-similar { margin-top: 80px; }
.product-similar-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 28px;
}
.similar-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.similar-card:hover { transform: translateY(-4px); border-color: var(--line-subtle); }
.similar-img { aspect-ratio: 1; overflow: hidden; }
.similar-img img { width: 100%; height: 100%; object-fit: cover; }
.similar-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: var(--line-subtle);
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card-hover));
}
.similar-name {
  padding: 14px 16px 4px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-primary);
}
.similar-price { padding: 0 16px 16px; color: var(--accent-fire); font-weight: 700; }

/* Клікабельні картки в меню */
/* Посилання-обгортка навколо фото має заповнити весь квадрат картки */
.pizza-img-link {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.pizza-name a { color: inherit; text-decoration: none; }
.pizza-name a:hover { color: var(--accent-fire); }

@media (max-width: 991px) {
  .product-gallery { position: static; }
}

/* Вага на сторінці товару */
.product-weight-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line-faint);
  border-radius: 100px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--text-secondary);
}
.product-weight-row i { color: var(--accent-fire); font-size: 16px; }
.product-weight-row strong { color: var(--text-primary); font-weight: 600; }