/* Terra Adria — põhistiil (jagatud kõigi lehtede vahel) */

:root {
  --color-cream-light: #faf7f1;
  --color-cream: #f5f1e8;
  --color-cream-alt: #efe9db;
  --color-footer: #ddd0b6;
  --color-navy: #1a2744;
  --color-navy-light: #2c3d63;
  --color-olive: #5c6b3f;
  --color-olive-dark: #47552f;
  --color-gold: #b8862f;
  --color-gold-light: #d4a94f;
  --color-white: #ffffff;
  --color-muted: #8a8578;
  --color-error: #a1372f;
  --color-success: #4f6b3f;

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --max-width: 1180px;
  --radius-md: 12px;
  --radius-lg: 24px;
}

* {
  box-sizing: border-box;
  /* Android/mobiili Chrome'i vaikimisi puute-highlight (sinakas ristkülik
     nupu peal) välja lülitatud — see ei arvesta pill-kujuliste nuppude
     ümarusega ja näeb lihtsalt katkine välja. Nupud/lingid saavad oma
     tagasiside juba :hover/:active stiilidest. */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--color-cream);
  color: var(--color-navy);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  opacity: 1;
  transition: opacity 0.25s ease;
}

/* Leht jääb nähtamatuks kuni js/i18n.js on tõlked laadinud+rakendanud
   JA leht ise (tooted, ostukorv jms) on valmis renderdatud — vt
   revealPage() (js/i18n.js). Väldib igasugust välkumist (vale keel enne
   õiget, "Sirvige veinivalikut" enne õiget kategooriateksti jne), kuna
   kasutaja ei näe kunagi vahepealset/valmimata seisundit. `html.i18n-loading`
   klass on HTML-is endas kohe algusest peale (mitte JS-ga lisatud), et
   see kehtiks juba esimesest renderdusest. `body.leaving-page` on JS-i
   kätte antud vastupidine üleminek — lehelt lahkumisel (vt
   js/utils.js initPageTransitions()) enne järgmisele lehele navigeerimist,
   nii et üleminek on identne kõigis brauserites (ei sõltu
   @view-transition brauseritoest). */
html.i18n-loading body,
body.leaving-page {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  body {
    transition: none;
  }
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--color-navy);
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

p {
  margin: 0 0 1em;
}

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

.divider {
  border: none;
  border-top: 1px solid var(--color-gold);
  width: 72px;
  margin: 1rem 0;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Nupud ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.15s ease;
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--color-olive);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-olive-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--color-navy);
  border: 1.5px solid var(--color-navy);
}

.btn-secondary:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-outline-gold {
  background: transparent;
  color: var(--color-gold);
  border: 1.5px solid var(--color-gold);
}

.btn-outline-gold:hover {
  background: var(--color-gold);
  color: var(--color-white);
}

.btn:disabled {
  background: var(--color-muted);
  color: var(--color-white);
  cursor: not-allowed;
  opacity: 0.7;
}

/* ---------- Logo vesimärk ---------- */

.logo-watermark {
  position: absolute;
  opacity: 0.05;
  width: min(60vw, 700px);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* ---------- Päis ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(236, 230, 213);
  backdrop-filter: blur(6px);
  border-bottom: 4px solid rgba(26, 39, 68, 0.1);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand img {
  height: 56px;
  width: auto;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav > ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--color-navy);
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover {
  background: rgba(92, 107, 63, 0.12);
  color: var(--color-olive-dark);
}

.main-nav a.active {
  background: var(--color-olive);
  color: var(--color-white);
}

.main-nav a.active:hover {
  background: var(--color-olive-dark);
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 999px;
  transition: background-color 0.2s ease;
}

.nav-dropdown > a {
  padding-right: 0.4rem;
}

.nav-dropdown:hover,
.nav-dropdown:focus-within,
.nav-dropdown.is-open {
  background: rgba(92, 107, 63, 0.12);
}

.nav-dropdown:hover > a,
.nav-dropdown:focus-within > a,
.nav-dropdown.is-open > a {
  background: transparent;
  color: var(--color-olive-dark);
}

.nav-dropdown:has(> a.active) {
  background: var(--color-olive);
}

.nav-dropdown:has(> a.active) > a {
  background: transparent;
  color: var(--color-white);
}

.nav-dropdown:has(> a.active) .nav-dropdown-toggle {
  color: var(--color-white);
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  padding: 0.15rem;
  margin: 0 0.75rem 0 0;
  cursor: pointer;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  line-height: 0;
}

.nav-dropdown-toggle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  display: none;
  flex-direction: column;
  gap: 0.1rem;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 170px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(26, 39, 68, 0.18);
  z-index: 60;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  display: flex;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
}

.nav-dropdown-menu a:hover {
  background: var(--color-cream);
  color: var(--color-olive);
}

.lang-toggle {
  display: flex;
  gap: 0.35rem;
}

.lang-toggle-btn {
  background: none;
  border: 1px solid rgba(26, 39, 68, 0.25);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-navy);
  cursor: pointer;
  font-family: var(--font-body);
}

.lang-toggle-btn--active {
  background: var(--color-olive);
  border-color: var(--color-olive);
  color: var(--color-white);
  cursor: default;
}

.nav-toggle-label {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle-label span {
  width: 26px;
  height: 2px;
  background: var(--color-navy);
}

#nav-toggle {
  display: none;
}

/* ---------- Ostukorvi vidin (ainult tootekataloogi lehel) ---------- */

/* Omaette rida päise all (kõigil ekraanisuurustel, mitte ainult mobiilis/
   tahvlis) — ei ürita mahtuda päise enda flex-voogu (bränd/nav/keelenupud),
   mille laius muutub sisu (nt tõlgitud menüükirjed) järgi ega peaks kunagi
   vidina tõttu kitsamaks jääma. .cart-widget-anchor "ripub" päise oma
   positsioneerimiskontekstis (.site-header on sticky) kohe piirjoone all,
   nii et see liigub päisega kaasa kerimisel. */
.cart-widget-anchor {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  margin-top: 0.6rem;
  pointer-events: none;
}

.cart-widget-anchor .container {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.cart-widget {
  position: relative;
  pointer-events: auto;
}

.cart-widget-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #938b7c;
  color: var(--color-white);
  border: none;
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
}

.cart-widget-btn.cart-widget-btn--pulse {
  animation: cart-widget-pulse 0.4s ease;
}

@keyframes cart-widget-pulse {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-widget-btn.cart-widget-btn--pulse {
    animation: none;
  }
}

.cart-widget-btn svg {
  width: 1.2em;
  height: 1.2em;
}

.cart-widget-count {
  background: var(--color-gold-light);
  color: var(--color-navy);
  border-radius: 999px;
  min-width: 1.4em;
  height: 1.4em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  padding: 0 0.35em;
}

.cart-widget-total {
  font-size: 0.85rem;
}

.cart-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 340px;
  max-width: 90vw;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 32px rgba(26, 39, 68, 0.18);
  padding: 1.1rem;
  border: 1px solid rgba(26, 39, 68, 0.08);
}

.cart-panel[hidden] {
  display: none;
}

.cart-panel-empty {
  text-align: center;
  color: var(--color-muted);
  padding: 1rem 0;
}

.cart-panel-items {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  max-height: 280px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.cart-panel-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.7rem;
  align-items: center;
}

.cart-panel-item img {
  width: 48px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-panel-item-name {
  font-weight: 600;
  font-size: 0.88rem;
  margin: 0 0 0.25rem;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(26, 39, 68, 0.15);
  border-radius: 999px;
  padding: 0.15rem 0.5rem;
}

.qty-stepper button {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: var(--color-navy);
  line-height: 1;
  padding: 0.15rem 0.3rem;
}

.qty-stepper button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cart-panel-item-price {
  font-size: 0.85rem;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.cart-panel-footer {
  border-top: 1px solid rgba(26, 39, 68, 0.1);
  padding-top: 0.9rem;
}

.cart-panel-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.cart-panel-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.cart-panel-actions .btn {
  justify-content: center;
  width: 100%;
}

/* ---------- Jalus ---------- */

.site-footer {
  background: var(--color-footer);
  color: var(--color-navy);
  margin-top: 4rem;
  padding: 3rem 0 1.5rem;
}

.site-footer a {
  color: var(--color-navy);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-olive-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2rem;
}

.footer-grid img {
  height: 44px;
  margin-bottom: 0.8rem;
}

.footer-grid h4 {
  color: var(--color-navy);
  font-size: 1rem;
  margin-bottom: 0.9rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(26, 39, 68, 0.7);
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(26, 39, 68, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.social-links svg {
  width: 16px;
  height: 16px;
}

.footer-notice {
  border-top: 1px solid rgba(26, 39, 68, 0.15);
  padding-top: 1.2rem;
  margin-top: 0.5rem;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(26, 39, 68, 0.6);
}

.footer-notice p {
  margin: 0 0 0.5rem;
}

.footer-notice a {
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1rem;
  font-size: 0.82rem;
  color: rgba(26, 39, 68, 0.55);
  text-align: center;
}

.footer-minimal {
  margin-top: 0;
  padding: 1.1rem 0;
}

.footer-minimal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: 0;
}

.footer-minimal-inner img {
  height: 28px;
}

.footer-minimal-inner .footer-bottom {
  padding-top: 0.5rem;
}

.footer-minimal-inner ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.footer-minimal-inner .social-links {
  margin-top: 0;
}

.footer-minimal-inner .footer-bottom {
  width: 100%;
}

/* ---------- Dummy/teaser esileht (index.html) ---------- */

body.site-locked {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.site-locked .main-nav,
body.site-locked .nav-toggle-label {
  display: none !important;
}

body.site-locked .teaser-gate-overlay,
body.site-locked .age-gate-overlay {
  flex: 1;
  min-height: 0;
}

.teaser-gate-overlay,
.age-gate-overlay {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: var(--color-cream-light);
  opacity: 1;
  transition: opacity 0.6s ease;
}

.teaser-gate-overlay[hidden],
.age-gate-overlay[hidden] {
  display: none;
}

.teaser-gate-overlay.leaving,
.age-gate-overlay.leaving,
.age-gate-overlay.entering,
.fade-transition.entering {
  opacity: 0;
  pointer-events: none;
}

.fade-transition {
  transition: opacity 0.5s ease;
}

@media (prefers-reduced-motion: reduce) {
  .teaser-gate-overlay,
  .age-gate-overlay,
  .fade-transition,
  .nav-dropdown-menu {
    transition: none;
  }
}

.teaser-gate-card {
  position: relative;
  z-index: 1;
  max-width: 460px;
}

.teaser-gate-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  opacity: 0.85;
}

.teaser-gate-card h2 {
  margin-bottom: 0.75rem;
}

.teaser-gate-card p {
  color: var(--color-muted);
  margin-bottom: 0;
}

.teaser-peek-btn {
  position: absolute;
  right: 1.75rem;
  bottom: 1.75rem;
  z-index: 1;
  font-size: 0.82rem;
  padding: 0.55rem 1.2rem;
}

/* ---------- Vanusekontrolli overlay ---------- */

.age-gate-map {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: none;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
}

.age-gate-watermark {
  top: 50%;
  left: 19%;
  transform: translate(-50%, -50%);
  opacity: 0.12;
}

.age-gate-card {
  position: relative;
  background: var(--color-cream);
  border: 1px solid rgba(26, 39, 68, 0.08);
  border-radius: var(--radius-lg);
  max-width: 400px;
  width: 100%;
  padding: 2.5rem 2.25rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.age-gate-lang {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.age-gate-icon {
  width: 76px;
  height: 76px;
  display: block;
  margin: 0 auto 1.1rem;
}

.age-gate-warning {
  font-weight: 700;
  color: var(--color-error);
  margin-bottom: 1rem;
}

.age-gate-choices {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-top: 1rem;
}

.age-gate-choices .btn {
  justify-content: center;
  width: 100%;
}

.age-gate-refusal[hidden] {
  display: none;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
  border-bottom: 20px solid var(--color-cream-alt);
}

.hero-map {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: none;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

.hero-content {
  max-width: 560px;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  transform: translate(40%, 2%);
}

.hero-visual .hero-compass {
  position: absolute;
  top: 50%;
  left: 4%;
  width: 62%;
  max-width: 360px;
  transform: translate(-30%, -50%);
  opacity: 0.16;
  z-index: 1;
  pointer-events: none;
}

.hero-visual .hero-bottle {
  position: relative;
  z-index: 2;
  max-height: 480px;
  width: auto;
  filter: drop-shadow(0 30px 36px rgba(26, 39, 68, 0.22));
}

/* ---------- Sektsioonid ---------- */

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--color-cream-alt);
}

.section-heading {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
}

.teaser-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(26, 39, 68, 0.06);
  transition: transform 0.2s ease;
}

.teaser-card:hover {
  transform: translateY(-4px);
}

.teaser-card svg {
  width: 44px;
  height: 44px;
  color: var(--color-olive);
  margin-bottom: 1rem;
}

.teaser-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.teaser-card p {
  color: var(--color-muted);
  font-size: 0.92rem;
  margin: 0;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.feature-row svg {
  width: 32px;
  height: 32px;
  color: var(--color-gold);
  margin-bottom: 0.6rem;
}

.feature-row strong {
  display: block;
  font-size: 0.95rem;
}

.feature-row span {
  font-size: 0.82rem;
  color: var(--color-muted);
}

/* ---------- Vormid ---------- */

.form-field {
  margin-bottom: 1.1rem;
  text-align: left;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 39, 68, 0.2);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--color-white);
  color: var(--color-navy);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 2px solid var(--color-olive);
  outline-offset: 1px;
}

.form-message {
  border-radius: var(--radius-md);
  padding: 1rem 1.2rem;
  margin-top: 1rem;
  font-size: 0.92rem;
}

.form-message[hidden] {
  display: none;
}

.form-message--success {
  background: rgba(79, 107, 63, 0.12);
  color: var(--color-success);
}

.form-message--error {
  background: rgba(161, 55, 47, 0.1);
  color: var(--color-error);
}

/* ---------- Sisulehe kest (kontakt, müügitingimused) ---------- */

.page-intro {
  padding: 3.5rem 0 1rem;
  text-align: center;
}

.sample-data-notice {
  background: var(--color-cream-alt);
  border-bottom: 1px solid var(--color-footer);
}

.sample-data-notice p {
  margin: 0;
  padding: 0.6rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.content-section h2 {
  margin-top: 2rem;
}

.content-section h2:first-child {
  margin-top: 0;
}

.info-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: 0 8px 24px rgba(26, 39, 68, 0.06);
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.info-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.info-list svg {
  width: 1.3em;
  height: 1.3em;
  color: var(--color-olive);
  flex-shrink: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: start;
}

.hero {
  background-color: #faf7f1;
}

/* ---------- Responsiivsus ---------- */

@media (max-width: 860px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: none;
    text-align: center;
    order: 2;
  }

  .hero-content > div {
    justify-content: center;
  }

  .hero-visual {
    order: 1;
    min-height: 320px;
    transform: none;
  }

  .hero-visual .hero-bottle {
    max-height: 320px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .teaser-grid {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle-label {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-cream);
    border-bottom: 1px solid rgba(26, 39, 68, 0.1);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    display: none;
  }

  .main-nav > ul {
    flex-direction: column;
    gap: 1rem;
  }

  #nav-toggle:checked ~ .main-nav {
    display: flex;
  }

  .nav-dropdown {
    flex-wrap: wrap;
    border-radius: var(--radius-md);
  }

  .nav-dropdown-menu {
    flex: 1 0 100%;
    position: static;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 0 0 1rem;
    transform: translateY(-6px);
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease, transform 0.3s ease;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    max-height: 240px;
    opacity: 1;
    padding: 0.4rem 0 0 1rem;
    transform: translateY(0);
  }
}

/* ---------- Lehe üleminekud ----------
   Teadlikult EI kasutata @view-transition CSS-i (cross-document View
   Transitions API) — see töötab ainult osades Chromium versioonides
   (nt Android Chrome), mitte Firefoxis/Safaris ega vanemas Chrome'is.
   Selle asemel juhime üleminekut ise JS+CSS opacity'ga (vt
   js/utils.js initPageTransitions()), mis annab identse tulemuse
   kõigis brauserites, mitte ainult osades. */

/* Müügitingimuste taganemisavalduse vorm */
.withdrawal-form {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-white);
  border: 1px solid rgba(26, 39, 68, 0.12);
  border-radius: var(--radius-md);
}

.withdrawal-form h3 {
  margin-bottom: 0.75rem;
}

.withdrawal-form p {
  margin: 0;
  white-space: pre-line;
  line-height: 1.7;
}

