/* ===========================================================
   Оранжерията — основни стилове
   =========================================================== */

:root {
  --cream: #FBF2E3;
  --cream-card: #FFFBF3;
  --paper: #F4E8D3;
  --terracotta: #C1502E;
  --terracotta-dark: #A23D20;
  --green: #5C7A4C;
  --green-dark: #3E5732;
  --wood: #6B4226;
  --text-main: #3A2E22;
  --text-soft: #6B5C4C;
  --border-soft: #E6D6B8;
  --shadow: 0 10px 30px rgba(58, 46, 34, 0.12);

  --font-head: "Playfair Display", "Georgia", serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;

  --radius: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--green-dark);
  margin: 0 0 .5em;
  line-height: 1.2;
}

p { margin: 0 0 1em; }

.section { padding: 72px 0; }
.section--alt { background: var(--paper); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-head .kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--terracotta);
  margin-bottom: 10px;
}

.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }

.section-head p { color: var(--text-soft); margin-top: 8px; }

.divider {
  width: 100%;
  height: 22px;
  background-image: repeating-linear-gradient(
    -45deg,
    var(--terracotta) 0 10px,
    transparent 10px 20px
  );
  -webkit-mask-image: linear-gradient(#000 0 0);
  opacity: .18;
}

.folk-divider {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 8px;
}
.folk-divider span {
  width: 10px;
  height: 10px;
  background: var(--terracotta);
  transform: rotate(45deg);
  opacity: .7;
}
.folk-divider span:nth-child(2n) { background: var(--green); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 8px 20px rgba(193, 80, 46, .35);
}
.btn--primary:hover { background: var(--terracotta-dark); }
.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,.7);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255,255,255,.15); }
.btn--outline {
  background: transparent;
  border-color: var(--green);
  color: var(--green-dark);
}
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 242, 227, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand .logo-full { height: 52px; width: auto; display: block; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.main-nav a {
  font-weight: 700;
  color: var(--text-main);
  position: relative;
  padding: 6px 2px;
}
.main-nav a:hover { color: var(--terracotta); }

.header-call {
  display: flex;
  align-items: center;
  gap: 18px;
}
.phone-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 800;
  white-space: nowrap;
}
.phone-pill:hover { color: var(--terracotta); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--green-dark);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(40,30,20,.45), rgba(30,40,20,.65)), var(--green-dark) url("../images/hero.jpg") center/cover no-repeat;
}
.hero-content {
  max-width: 640px;
  padding: 60px 0;
}
.hero .kicker {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.4);
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: .85rem;
  margin-bottom: 18px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 14px;
}
.hero p.lead {
  font-size: 1.15rem;
  color: #f3ead8;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--cream-card);
  border-bottom: 1px solid var(--border-soft);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 34px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.trust-item .ico {
  font-size: 1.8rem;
  flex-shrink: 0;
  background: var(--paper);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-item strong { display: block; color: var(--green-dark); }
.trust-item span.desc { color: var(--text-soft); font-size: .92rem; }

/* ---------- About / Philosophy ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

.about-text .quote-mark {
  font-family: var(--font-head);
  font-size: 3.4rem;
  color: var(--terracotta);
  line-height: 1;
  display: block;
}
.about-text p {
  color: var(--text-main);
  font-size: 1.04rem;
}
.about-text .signoff {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--green-dark);
  margin-top: 18px;
}

/* ---------- Production ---------- */
.production-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.production-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.production-photos img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.production-photos .tall { grid-row: span 2; aspect-ratio: 3/4; }
.production-photos .wide { aspect-ratio: 4/3; }

.production-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 14px;
}
.production-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-main);
}
.production-list .check {
  color: #fff;
  background: var(--green);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .8rem;
  margin-top: 2px;
}

/* ---------- Menu ---------- */
.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.menu-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--border-soft);
  background: var(--cream-card);
  font-weight: 700;
  color: var(--text-soft);
  cursor: pointer;
  transition: all .15s ease;
}
.menu-tab:hover { border-color: var(--terracotta); color: var(--terracotta); }
.menu-tab.active {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: #fff;
}

.menu-category { display: none; }
.menu-category.active { display: block; animation: fadeIn .35s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.dish-card {
  background: var(--cream-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.dish-card:hover { transform: translateY(-6px); }
.dish-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.dish-photo img { width: 100%; height: 100%; object-fit: cover; }
.dish-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.dish-body h3 { font-size: 1.18rem; margin-bottom: 6px; }
.dish-body p { color: var(--text-soft); font-size: .95rem; margin-bottom: 0; flex: 1; }
.dish-tag {
  align-self: flex-start;
  margin-top: 14px;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--green);
}

.dish-tag--combo {
  color: var(--terracotta-dark);
}

.menu-note {
  text-align: center;
  margin-top: 44px;
  padding: 24px;
  background: var(--cream-card);
  border: 1px dashed var(--terracotta);
  border-radius: var(--radius);
  color: var(--text-soft);
}
.menu-note strong { color: var(--terracotta-dark); }

/* ---------- Contact ---------- */
.contact {
  background: var(--green-dark);
  color: #fff;
  text-align: center;
  padding: 56px 0;
  margin-bottom: -1px;
}
.contact h2 { color: #fff; }
.contact p.lead { color: #e6ead0; max-width: 560px; margin: 0 auto 28px; }
.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  padding: 18px 36px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.contact-phone:hover { background: var(--terracotta); border-color: var(--terracotta); }
.contact-sub { color: #d8dec0; font-size: .95rem; margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--cream);
  color: var(--text-main);
  padding: 48px 0 24px;
  position: relative;
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 28px;
}
.footer-brand { display: flex; align-items: center; margin-bottom: 14px; }
.footer-brand .logo-full { height: 44px; width: auto; display: block; }
.footer-grid h4 { color: var(--text-main); font-size: 1rem; margin-bottom: 12px; }
.footer-grid p, .footer-grid a { color: var(--text-soft); font-size: .92rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-links a:hover { color: var(--text-main); }
.footer-bottom {
  border-top: 1px solid rgba(58, 46, 34, 0.15);
  padding-top: 18px;
  text-align: center;
  font-size: .85rem;
  color: var(--text-soft);
}

/* ===========================================================
   Responsive
   =========================================================== */
@media (max-width: 980px) {
  .about-grid, .production-grid { grid-template-columns: 1fr; gap: 32px; }
  .production-grid .production-photos { order: -1; }
  .dish-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 20px 18px;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--border-soft); }
  .nav-toggle { display: flex; }
  .header-call .phone-pill span.label { display: none; }
  .brand .logo-full { height: 40px; }

  .hero { min-height: 78vh; text-align: center; }
  .hero-content { margin: 0 auto; }
  .hero-actions { justify-content: center; }

  .trust-grid { grid-template-columns: 1fr; padding: 26px 0; }
  .dish-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-links { justify-items: center; }

  .section { padding: 52px 0; }
  .contact-phone { font-size: 1.5rem; padding: 14px 22px; flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 420px) {
  .menu-tab { padding: 9px 16px; font-size: .9rem; }
}

/* ---------- Falling Leaves ---------- */
#leaves-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.falling-leaf {
  position: absolute;
  top: -40px;
  will-change: transform;
}

.falling-leaf svg {
  width: 100%;
  height: 100%;
  display: block;
  will-change: transform;
}

@keyframes fall-down-footer {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(calc(100% - 25px));
    opacity: 1;
  }
}

@keyframes sway-left-right {
  0% {
    transform: translateX(-20px) rotate(0deg);
  }
  100% {
    transform: translateX(20px) rotate(80deg);
  }
}

@keyframes sway-right-left {
  0% {
    transform: translateX(20px) rotate(0deg);
  }
  100% {
    transform: translateX(-20px) rotate(-80deg);
  }
}

/* ---------- Shopping Cart & Checkout ---------- */
.dish-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--border-soft);
}

.dish-price {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--terracotta);
}

.btn-add-cart {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.btn-add-cart:hover {
  background: var(--green-dark);
}

.btn-add-cart:active {
  transform: scale(0.95);
}

.cart-floating-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  z-index: 99;
  transition: background 0.2s ease, transform 0.2s ease, right 0.2s ease;
}

.cart-floating-btn:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--terracotta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 99px;
  min-width: 18px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100%;
  background: var(--cream);
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  z-index: 1000;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.cart-sidebar.open {
  right: 0;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(58, 46, 34, 0.4);
  backdrop-filter: blur(2px);
  z-index: 999;
  display: none;
}

.cart-overlay.open {
  display: block;
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--border-soft);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.cart-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--green-dark);
}

.btn-close-cart {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--text-soft);
  cursor: pointer;
  line-height: 1;
}

.btn-close-cart:hover {
  color: var(--terracotta);
}

.cart-items {
  flex: 1 1 auto;
  overflow-y: auto;
  padding-right: 4px;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream-card);
  padding: 12px;
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.cart-item-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.cart-item-price {
  color: var(--terracotta);
  font-size: 0.9rem;
  font-weight: 600;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-cart-qty {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background: #fff;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.btn-cart-qty:hover {
  background: var(--border-soft);
}

.cart-item-qty {
  font-weight: 700;
  font-size: 0.95rem;
  min-width: 14px;
  text-align: center;
}

.cart-checkout-section {
  border-top: 2px solid var(--border-soft);
  padding-top: 16px;
  margin-top: auto;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.cart-total-price {
  color: var(--terracotta);
}

.cart-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-soft);
}

.form-group input, .form-group textarea {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: var(--cream-card);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--green);
}

.form-group textarea {
  height: 54px;
  resize: none;
}

@media (max-width: 480px) {
  .cart-sidebar {
    width: 100%;
    right: -100%;
    padding: 16px;
  }
}

/* ---------- Thank You Page & Falling Hearts ---------- */
.thank-you-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 80px 20px;
  position: relative;
}

.thank-you-card {
  background: var(--cream-card);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 580px;
  margin: 0 auto;
  border: 1px solid var(--border-soft);
  position: relative;
  z-index: 10;
  animation: fadeIn 0.6s ease;
}

.thank-you-icon {
  font-size: 4.5rem;
  display: inline-block;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 10px rgba(193, 80, 46, 0.25));
  animation: pulseHeart 1.2s infinite alternate ease-in-out;
}

@keyframes pulseHeart {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

.thank-you-card h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--green-dark);
  margin-bottom: 12px;
}

.thank-you-text {
  font-size: 1.1rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-top: 24px;
}

#hearts-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  overflow: hidden;
}

.falling-heart {
  position: absolute;
  top: -40px;
  will-change: transform;
}

.falling-heart svg {
  width: 100%;
  height: 100%;
  display: block;
  will-change: transform;
}

@keyframes fall-down-hearts {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateY(105vh);
    opacity: 0;
  }
}

.cart-floating-btn.bump {
  animation: cartBump 0.45s ease-out;
}

@keyframes cartBump {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.flying-item {
  position: fixed;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 4px 10px rgba(193, 80, 46, 0.45);
  z-index: 99999;
  pointer-events: none;
  transition: all 0.65s cubic-bezier(0.25, 1, 0.5, 1);
}


/* ===== Wolt checkout (по Споразумението за Wolt Drive) ===== */
.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-soft);
}

.delivery-option {
  display: block;
  cursor: pointer;
}

.delivery-option input[type="radio"] {
  position: absolute;
  opacity: 0;
}

.delivery-option-body {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 2px solid var(--border-soft);
  border-radius: 10px;
  background: var(--cream-card);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.delivery-option input[type="radio"]:checked + .delivery-option-body {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(92, 122, 76, 0.15);
}

.wolt-logo {
  width: 54px;
  height: auto;
  flex-shrink: 0;
  border-radius: 6px;
}

.wolt-logo--icon {
  width: 44px;
  margin: 0 5px;
  border-radius: 10px;
}

.delivery-option-ico {
  font-size: 1.6rem;
  width: 54px;
  text-align: center;
  flex-shrink: 0;
}

.delivery-option-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.delivery-option-text strong {
  font-size: 0.95rem;
  color: var(--text-main);
}

.delivery-option-text small {
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.3;
}

.delivery-option-price {
  font-weight: 800;
  color: var(--terracotta);
  font-size: 0.95rem;
  white-space: nowrap;
}

.cart-summary-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 0;
  border-top: 1px dashed var(--border-soft);
  border-bottom: 1px dashed var(--border-soft);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.summary-line--total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.checkout-note {
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.45;
  margin: 4px 0 0;
}

.checkout-error {
  color: #B3261E;
  background: #FDECEA;
  border: 1px solid #F5C6C0;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 8px 0 0;
}

/* ===== Thank-you: номер на поръчка + Wolt проследяване ===== */
.order-info {
  margin-top: 20px;
  padding: 16px;
  background: var(--cream-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.order-number-line {
  margin: 0;
  font-size: 1rem;
  color: var(--text-main);
}

.order-status-line {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.thank-you-support {
  margin-top: 18px;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.thank-you-support a {
  color: var(--green-dark);
  font-weight: 700;
}

/* ===== Checkout страница ===== */
.checkout-title {
  font-family: var(--font-head);
  color: var(--green-dark);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 8px 0;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
  margin-top: 24px;
}

.checkout-form-card,
.checkout-summary-card {
  background: var(--cream-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.checkout-block-title {
  font-family: var(--font-head);
  color: var(--green-dark);
  font-size: 1.15rem;
  margin: 6px 0 4px;
}

.checkout-summary-card .cart-items {
  max-height: 320px;
  overflow-y: auto;
  margin-bottom: 8px;
}

.checkout-back-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--green-dark);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.checkout-back-link:hover { text-decoration: underline; }

.checkout-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-soft);
  font-size: 1.1rem;
}

.checkout-empty .btn { margin-top: 16px; }

@media (max-width: 860px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary-col { order: -1; }
}

/* ===== Динамично меню ===== */
.menu-loading {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.dish-photo-link {
  display: block;
  position: relative;
  text-decoration: none;
}

.dish-photo-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(58, 46, 34, 0.75);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
}

.dish-title-link {
  color: inherit;
  text-decoration: none;
}

.dish-title-link:hover { color: var(--terracotta); }

/* ===== Продуктова страница ===== */
.product-back {
  display: inline-block;
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 18px;
}

.product-back:hover { text-decoration: underline; }

.product-loading {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-soft);
  font-size: 1.1rem;
}

.product-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 90px;
}

.product-main-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
  background: var(--paper);
}

.product-main-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(251, 242, 227, 0.92);
  color: var(--green-dark);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(58, 46, 34, 0.25);
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-arrow:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
.gallery-arrow--prev { left: 12px; }
.gallery-arrow--next { right: 12px; }

.product-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.product-thumb {
  width: 72px;
  height: 56px;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--border-soft);
  cursor: pointer;
  background: none;
  opacity: 0.75;
  transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-thumb:hover { opacity: 1; transform: translateY(-2px); }

.product-thumb.active {
  border-color: var(--terracotta);
  opacity: 1;
}

.product-info h1 {
  font-family: var(--font-head);
  color: var(--text-main);
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  margin: 8px 0 4px;
}

.product-desc {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.65;
}

.product-trust { margin: 18px 0; }

.product-buy-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 18px 0 8px;
  padding: 16px;
  background: var(--cream-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}

.product-price {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--terracotta);
}

.product-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 860px) {
  .product-layout { grid-template-columns: 1fr; gap: 24px; }
  .product-gallery { position: static; }
}

/* ===== Контактна форма ===== */
.contact-form {
  max-width: 560px;
  margin: 36px auto 0;
  background: var(--cream-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form h3 {
  font-family: var(--font-head);
  color: var(--green-dark);
  font-size: 1.25rem;
  margin: 0 0 4px;
  text-align: center;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 560px) {
  .contact-form-row { grid-template-columns: 1fr; }
}

.contact-form textarea { height: 110px; }

.contact-success {
  color: #1E6B34;
  background: #EAF7EE;
  border: 1px solid #BFE5CB;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 0.92rem;
  line-height: 1.45;
  margin: 4px 0 0;
}
