/* Vitrina cu Delicii
   Culorile vin din fațadă: lemnul sculptat al ușii, verdele de mentă al casei,
   mozaicul cobalt al meselor și rozul din logo. */

:root {
  --walnut: #5a2a14;      /* lemn închis, ramele sculptate */
  --cherry: #8e4421;      /* lemn luminat de soare */
  --facade: #e6f0e6;      /* tencuiala verde-mentă */
  --paper: #f7fbf6;       /* suprafețe de citit */
  --cobalt: #24408c;      /* mozaicul de pe mese — prețuri */
  --rose: #b8285f;        /* roz din logo, întunecat pentru contrast — acțiuni */
  --rose-soft: #f6dbe6;
  --ink: #2b1a12;
  --ink-soft: #5e4a3f;
  --line: #c9d8ca;
  --whatsapp: #1b7f4a;

  --font-display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --font-body: "Alegreya Sans", "Gill Sans", "Segoe UI", system-ui, sans-serif;

  --radius-s: 6px;
  --radius-m: 14px;
  --header-h: 112px;
  --gutter: clamp(16px, 4vw, 40px);

  /* Banda cu romburi, copiată după pilaștrii sculptați de lângă ușă */
  --lattice:
    repeating-linear-gradient(45deg, transparent 0 5px, rgba(42, 18, 6, .55) 5px 6.5px, transparent 6.5px 11px),
    repeating-linear-gradient(-45deg, transparent 0 5px, rgba(42, 18, 6, .55) 5px 6.5px, transparent 6.5px 11px),
    linear-gradient(var(--cherry), var(--walnut));
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(184, 40, 95, .15);
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--facade);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--cobalt);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--walnut);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-s);
}
.skip-link:focus { top: 12px; }

/* ---------- Butoane ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
  font: 700 1.05rem/1.2 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color .15s ease, transform .1s ease;
}
.button:hover { background: #9c1f4f; }
.button:active { transform: scale(.98); }

.button--light { background: var(--paper); color: var(--walnut); }
.button--light:hover { background: #fff; }

.button--quiet {
  background: transparent;
  color: var(--walnut);
  box-shadow: inset 0 0 0 1.5px var(--walnut);
}
.button--quiet:hover { background: rgba(90, 42, 20, .08); }

.button--whatsapp { width: 100%; background: var(--whatsapp); }
.button--whatsapp:hover { background: #146a3c; }

.icon-button {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.icon-button:hover { background: rgba(90, 42, 20, .08); }

/* ---------- Antet ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  padding-top: env(safe-area-inset-top);
}
.topbar::after {
  content: "";
  display: block;
  height: 8px;
  background: var(--lattice);
}

.topbar__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px var(--gutter) 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas:
    "brand . cart"
    "nav   nav nav";
  align-items: center;
}

.topbar__brand { grid-area: brand; display: block; padding: 2px 0; }
.topbar__brand img { height: 46px; width: auto; }

.cart-button {
  grid-area: cart;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 8px 6px 14px;
  border: 1.5px solid var(--walnut);
  border-radius: 999px;
  background: transparent;
  color: var(--walnut);
  font: 700 1rem/1 var(--font-body);
  cursor: pointer;
}
.cart-button:hover { background: rgba(90, 42, 20, .06); }

.cart-button__count {
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--walnut);
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.cart-button__count.is-bumped { animation: bump .3s ease; }
@keyframes bump { 50% { transform: scale(1.25); } }

.menu-nav {
  grid-area: nav;
  display: flex;
  gap: 4px;
  margin-top: 6px;
}
.menu-nav a {
  flex: 1;
  text-align: center;
  padding: 10px 6px 9px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--ink-soft);
  border-bottom: 3px solid transparent;
}
.menu-nav a:hover { color: var(--walnut); }
.menu-nav a[aria-current="true"] {
  color: var(--walnut);
  border-bottom-color: var(--rose);
}

@media (min-width: 760px) {
  :root { --header-h: 76px; }
  .topbar__inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav cart";
    gap: 24px;
    padding-top: 6px;
    padding-bottom: 4px;
  }
  .topbar__brand img { height: 52px; }
  .menu-nav { margin-top: 0; justify-content: center; gap: 12px; }
  .menu-nav a { flex: 0 1 auto; padding: 10px 14px; font-size: 1.15rem; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  min-height: min(88vh, 760px);
  min-height: min(88svh, 760px);
  background: var(--walnut);
  color: #fff;
  overflow: hidden;
}

.hero__photo {
  grid-area: 1 / 1;
  position: relative;
  min-height: 0;
}
/* Poziționată absolut, ca fotografia verticală să nu dicteze înălțimea secțiunii */
.hero__photo img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
}

.hero__text {
  grid-area: 1 / 1;
  align-self: end;
  position: relative;
  padding: 120px var(--gutter) 36px;
  background: linear-gradient(to bottom, rgba(42, 18, 6, 0), rgba(42, 18, 6, .78) 38%, rgba(42, 18, 6, .94));
}
.hero__text h1 {
  font-size: clamp(2.4rem, 9vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -.01em;
  max-width: 12ch;
  font-style: italic;
}
.hero__text p {
  margin: 16px 0 24px;
  max-width: 34em;
  font-size: 1.15rem;
  color: #f3e6dc;
}

@media (min-width: 900px) {
  .hero {
    /* Fotografia ia ~60% din lățime; coloana de text rămâne îngustă. */
    grid-template-columns: minmax(380px, 2fr) minmax(0, 3fr);
    min-height: 560px;
    height: clamp(560px, calc(100vh - var(--header-h)), 820px);
    max-height: none;
  }
  .hero__text h1 { font-size: clamp(2.6rem, 4.4vw, 4.4rem); }
  .hero__photo { grid-area: 1 / 2; }
  .hero__text {
    grid-area: 1 / 1;
    align-self: center;
    padding: 64px clamp(28px, 3.5vw, 56px);
    max-width: 640px;
    justify-self: end;
    background: none;
  }
  /* Rama sculptată în jurul fotografiei */
  .hero::after {
    content: "";
    grid-area: 1 / 2;
    width: 14px;
    background: var(--lattice);
  }
}

/* ---------- Pași ---------- */

.steps {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.steps ol {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px var(--gutter);
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 10px;
}
.steps li {
  counter-increment: step;
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: var(--ink-soft);
}
.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--rose);
  min-width: 1ch;
}
.steps strong { color: var(--ink); }

@media (min-width: 760px) {
  .steps ol { grid-template-columns: repeat(3, 1fr); gap: 24px; padding-block: 24px; }
}

/* ---------- Oferte: cartonașe de vitrină ---------- */

.offers[hidden], .offer[hidden] { display: none; }
.offers {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.offers__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px var(--gutter) 32px;
}
.offers__title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  font-style: italic;
  color: var(--walnut);
}
/* Linie cu romburi după titlu, ca la pilaștrii ușii */
.offers__title::after {
  content: "";
  flex: 1;
  height: 8px;
  background: var(--lattice);
  border-radius: 2px;
}
.offers__list { display: grid; gap: 16px; }

.offer {
  position: relative;
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 28px 22px 22px;
  background: #fffdf7;
  border-radius: var(--radius-s);
  /* Ramă dublă, ca pe etichetele de preț vechi: roz în interior, lemn în exterior */
  box-shadow:
    inset 0 0 0 1px rgba(142, 68, 33, .5),
    inset 0 0 0 6px #fffdf7,
    inset 0 0 0 7.5px var(--rose),
    0 18px 34px -22px rgba(90, 42, 20, .55);
  overflow: hidden;
}
.offer::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 8px;
  background: var(--lattice);
}
.offer__figure {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(2.6rem, 11vw, 3.4rem);
  line-height: 1;
  color: var(--rose);
  font-variant-numeric: lining-nums;
  letter-spacing: -.02em;
}
.offer__kicker {
  margin-top: 6px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cherry);
}
.offer h3 {
  margin: 2px 0 8px;
  font-size: clamp(1.55rem, 5vw, 1.9rem);
  font-style: italic;
  color: var(--walnut);
}
.offer p:last-child { color: var(--ink-soft); }

/* Ștampila rotundă „Acum”, vizibilă doar cât oferta e activă */
.offer__stamp {
  display: none;
  position: absolute;
  top: 22px; right: 18px;
  width: 68px; height: 68px;
  border: 2px solid var(--rose);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px #fffdf7, inset 0 0 0 4px var(--rose);
  background: var(--rose-soft);
  color: var(--rose);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 64px;
  text-align: center;
  transform: rotate(-12deg);
}
.offer.is-active .offer__stamp { display: block; }
.offer.is-active { background: #fff7fa; }

@media (min-width: 760px) {
  .offers__inner { padding-block: 44px 48px; }
  .offers__list { grid-auto-flow: column; grid-auto-columns: 1fr; gap: 20px; }
}

.item__old {
  font-weight: 500;
  font-size: .9em;
  color: var(--ink-soft);
  text-decoration-thickness: 1.5px;
}

/* ---------- Meniuri ---------- */

.menus {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 0 8px;
}

.menu {
  margin: 0 0 32px;
  background: var(--paper);
  scroll-margin-top: calc(var(--header-h) + 8px);
}

@media (min-width: 760px) {
  .menus { padding: 48px var(--gutter) 16px; }
  .menu { margin-bottom: 48px; border-radius: var(--radius-m); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 40px -28px rgba(90, 42, 20, .45); }
}

.menu__head {
  padding: 28px var(--gutter) 22px;
  background: var(--walnut);
  color: #fff;
  position: relative;
}
.menu__head::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  height: 10px;
  background: var(--lattice);
}
.menu__head h2 {
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -.01em;
}
.menu__head p {
  margin-top: 8px;
  max-width: 40em;
  color: #f0dfd2;
}

.menu__body {
  padding: 26px var(--gutter) 12px;
}
@media (min-width: 900px) {
  .menu__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 56px;
    padding-top: 36px;
  }
}

.menu-group { margin-bottom: 20px; }
.menu-group h3 {
  font-size: 1.45rem;
  font-style: italic;
  color: var(--cherry);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.items { list-style: none; margin: 0; padding: 0; }

.item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.item:last-child { border-bottom: 0; }

.item__name {
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;
}
.item__tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--rose-soft);
  color: #8a1d47;
  font-size: .8rem;
  font-weight: 500;
  vertical-align: 2px;
  white-space: nowrap;
}
.item__desc {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 1rem;
}
.item__unit {
  color: var(--ink-soft);
  font-size: .9rem;
  font-style: italic;
}

.item__side {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.item__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--cobalt);
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}
.item__price small { font-family: var(--font-body); font-weight: 500; font-size: .85rem; }

.add-button {
  min-height: 40px;
  min-width: 96px;
  padding: 6px 14px;
  border: 1.5px solid var(--rose);
  border-radius: 999px;
  background: transparent;
  color: var(--rose);
  font: 700 .98rem/1 var(--font-body);
  cursor: pointer;
  touch-action: manipulation;
}
.add-button:hover { background: var(--rose); color: #fff; }

/* Selector cantitate (în meniu și în coș) */
.stepper {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--rose);
  color: #fff;
}
.stepper button {
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font: 700 1.3rem/1 var(--font-body);
  cursor: pointer;
  touch-action: manipulation;
}
.stepper button:hover { background: rgba(255, 255, 255, .16); }
.stepper output {
  min-width: 2ch;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---------- Povestea casei ---------- */

.story {
  max-width: 1120px;
  margin: 16px auto 0;
  padding: 0 var(--gutter) 56px;
  display: grid;
  gap: 28px;
  align-items: center;
}
.story__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px var(--radius-s) var(--radius-s); /* arc, ca porțile din centrul vechi */
  border: 10px solid transparent;
  background: var(--lattice) border-box;
}
.story__text h2 { font-size: clamp(2rem, 6vw, 2.8rem); margin-bottom: 16px; color: var(--walnut); }
.story__text p + p { margin-top: 14px; }
.story__text p { max-width: 36em; line-height: 1.6; }

@media (min-width: 760px) {
  .story { grid-template-columns: 5fr 7fr; gap: 56px; }
  .story__photo { max-width: 420px; }
}

/* ---------- Locație ---------- */

.visit {
  position: relative;
  color: #fff;
  background:
    linear-gradient(rgba(36, 16, 6, .82), rgba(36, 16, 6, .9)),
    url("../assets/img/vitrina-4.webp") center 60% / cover no-repeat,
    var(--walnut);
}
.visit__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px var(--gutter);
  display: grid;
  gap: 32px;
}
.visit h2 { font-size: clamp(2rem, 6vw, 2.8rem); margin-bottom: 18px; }
.visit h3 { font-size: 1.3rem; font-style: italic; margin: 26px 0 8px; color: #f6c9a8; }
.visit address { font-style: normal; font-size: 1.2rem; line-height: 1.45; }
.visit__phone {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}
.visit__note { margin-top: 8px; font-size: .95rem; color: #e2cfc2; }

.hours {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 20px;
  font-variant-numeric: tabular-nums;
}
.hours dt { color: #e9d8cc; }
.hours dd { margin: 0; font-weight: 500; }

.visit__map iframe {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: var(--radius-m);
  background: #3b2015;
}
.visit__directions {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 0;
  color: #fff;
  font-weight: 500;
}

@media (min-width: 900px) {
  .visit__inner { grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; padding-block: 80px; }
}

.footer {
  padding: 24px var(--gutter) calc(96px + env(safe-area-inset-bottom));
  text-align: center;
  color: var(--ink-soft);
  font-size: .95rem;
}

/* ---------- Bara coșului ---------- */

.cart-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.cart-bar[hidden] { display: none; }
.cart-bar__button {
  pointer-events: auto;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  min-height: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  border: 0;
  border-radius: 999px;
  background: var(--walnut);
  color: #fff;
  font: 500 1rem/1.2 var(--font-body);
  box-shadow: 0 12px 30px -10px rgba(42, 18, 6, .6);
  cursor: pointer;
  animation: rise .25s ease-out;
}
.cart-bar__button:hover { background: #4a220f; }
.cart-bar__button > :first-child { text-align: left; }
.cart-bar__cta { font-weight: 700; font-size: 1.08rem; }
.cart-bar__total { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
@keyframes rise { from { transform: translateY(100%); opacity: 0; } }

/* ---------- Coșul (dialog) ---------- */

.cart {
  width: min(560px, 100%);
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  display: none;
  flex-direction: column;
}
.cart[open] { display: flex; animation: slide-in .25s ease-out; }
.cart::backdrop { background: rgba(36, 16, 6, .55); }

/* Telefoane fără <dialog> nativ (iOS < 15.4) */
.cart.is-fallback {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 60;
}
.cart-backdrop {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 55;
  background: rgba(36, 16, 6, .55);
}
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }

.cart__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) var(--gutter) 14px;
  border-bottom: 8px solid transparent;
  border-image: var(--lattice) 0 0 1 0 / 0 0 8px 0 stretch;
}
.cart__head h2 { font-size: 1.9rem; color: var(--walnut); }

.cart__body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom));
}

.cart__empty { padding: 32px 0; color: var(--ink-soft); }

.cart__items { list-style: none; margin: 0; padding: 0; }
.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 12px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  align-items: center;
}
.cart-line__name { font-weight: 700; line-height: 1.25; }
.cart-line__each { color: var(--ink-soft); font-size: .95rem; }
.cart-line__sum {
  grid-column: 2; grid-row: 1;
  text-align: right;
  font-weight: 700;
  color: var(--cobalt);
  font-variant-numeric: tabular-nums;
}
.cart-line__controls {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.link-button {
  min-height: 40px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--ink-soft);
  font: 500 .95rem var(--font-body);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.link-button:hover { color: var(--rose); }

.cart__offers { display: grid; gap: 8px; padding-top: 14px; }
.cart__offers:empty { display: none; }
.cart-offer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-s);
  background: var(--rose-soft);
  color: #6e1a3a;
  font-size: 1rem;
  line-height: 1.35;
}
.cart-offer--hint { background: #fffdf7; box-shadow: inset 0 0 0 1px rgba(142, 68, 33, .35); color: var(--ink-soft); }
.cart-offer__sum { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }

.cart__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 18px 0 8px;
  font-size: 1.2rem;
}
.cart__total strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--walnut);
  font-variant-numeric: lining-nums tabular-nums;
}

.order-form { display: grid; gap: 18px; }
.order-form[hidden] { display: none; }

.field label { font-weight: 700; margin-bottom: 6px; padding: 0; }
.optional { font-weight: 400; color: var(--ink-soft); }

.field-row { display: grid; gap: 18px; }
@media (min-width: 420px) {
  .field-row { grid-template-columns: 1fr 1fr; gap: 12px; }
}

.field { display: grid; }
.field[hidden] { display: none; }
.field input, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid #b9c9bb;
  border-radius: var(--radius-s);
  background: #fff;
  color: var(--ink);
  font: 400 1.05rem/1.4 var(--font-body); /* min. 16px — iOS nu mai face zoom */
}
.field input:focus-visible, .field textarea:focus-visible { outline-offset: 0; border-color: var(--cobalt); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field__hint { font-size: .95rem; line-height: 1.4; color: var(--ink-soft); margin: -2px 0 8px; }
.field__error { color: #b3261e; font-size: .95rem; margin-top: 6px; }
.field__error:empty { display: none; }

.order-form__hint { font-size: .95rem; color: var(--ink-soft); }

/* ---------- Mesaj scurt ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 40;
  transform: translate(-50%, 12px);
  max-width: calc(100% - 32px);
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.noscript { padding: 24px var(--gutter); background: var(--rose-soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
