:root {
  --ink: #201c19;
  --muted: #706861;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --stone: #eee8df;
  --line: rgba(32, 28, 25, .13);
  --wine: #7a1f2b;
  --wine-dark: #53151f;
  --leaf: #405c43;
  --leaf-dark: #243426;
  --gold: #b88a47;
  --shadow: 0 24px 70px rgba(32, 28, 25, .13);
  --radius: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.is-locked { overflow: hidden; }

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

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

button, input, select, textarea { font: inherit; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 18px 54px;
  color: #fff;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.site-header.is-solid {
  color: var(--ink);
  background: rgba(251, 250, 247, .94);
  box-shadow: 0 10px 40px rgba(32, 28, 25, .08);
  backdrop-filter: blur(16px);
}

.site-header--solid {
  color: var(--ink);
  background: rgba(251, 250, 247, .94);
  box-shadow: 0 10px 40px rgba(32, 28, 25, .08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 12px;
  min-width: max-content;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
}

.brand strong {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: currentColor;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .72;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a {
  opacity: .84;
  transition: opacity .2s ease;
}

.main-nav a:hover { opacity: 1; }

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 16px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button--primary { color: #fff; background: var(--wine); }
.button--primary:hover { background: var(--wine-dark); }
.button--light { color: var(--ink); background: #fff; }
.button--outline { border-color: currentColor; background: transparent; }
.button--ghost { color: var(--ink); background: transparent; border-color: var(--line); }
.button--small { min-height: 40px; padding-inline: 16px; font-size: 14px; }

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 92vh;
  padding: 142px 112px 76px;
  color: #fff;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(20, 17, 15, .78), rgba(20, 17, 15, .34) 52%, rgba(20, 17, 15, .1)),
    url("/uploads/6c70980117_08f643d7-b0a2-4854-8df2-23ffa067de8a.webp") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 32%;
  background: linear-gradient(0deg, rgba(0,0,0,.38), transparent);
}

.hero__content { width: min(780px, 100%); }

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

h1, h2, h3, p, figure { margin-top: 0; }

h1, h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: 156px;
}

h2 {
  margin-bottom: 24px;
  font-size: 64px;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.2;
}

.hero__lead {
  width: min(650px, 100%);
  margin-bottom: 32px;
  font-size: 25px;
  line-height: 1.35;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__note {
  position: absolute;
  right: 70px;
  bottom: 34px;
  display: flex;
  gap: 8px;
}

.hero__note span {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 800;
}

.section {
  padding: 116px 112px;
}

.page-main {
  background: var(--paper);
}

.page-hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 560px;
  padding: 150px 112px 72px;
  overflow: hidden;
  color: #fff;
}

.page-hero--compact {
  min-height: 460px;
}

.page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(20, 17, 15, .78), rgba(20, 17, 15, .38) 52%, rgba(20, 17, 15, .12)),
    var(--page-hero-image) center / cover no-repeat;
}

.page-hero__content {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
}

.page-hero h1 {
  margin-bottom: 24px;
  font-size: 104px;
}

.page-hero__lead {
  width: min(720px, 100%);
  margin-bottom: 28px;
  font-size: 24px;
  line-height: 1.4;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 800;
}

.breadcrumbs a {
  color: #fff;
}

.breadcrumbs span::before {
  content: "/";
  margin-right: 8px;
  opacity: .65;
}

.content-split {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(320px, 1fr);
  gap: 72px;
  align-items: center;
}

.content-split--reverse {
  grid-template-columns: minmax(320px, 1fr) minmax(280px, .9fr);
}

.content-split__copy {
  font-size: 19px;
}

.content-split__media {
  min-height: 520px;
}

.content-panel {
  display: grid;
  gap: 20px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-grid,
.format-grid,
.document-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.format-card,
.document-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature-card span,
.format-card span,
.document-card span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wide-media {
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stone);
  box-shadow: var(--shadow);
}

.article-body {
  width: min(860px, 100%);
  margin: 0 auto;
  font-size: 20px;
}

.article-body p {
  margin-bottom: 22px;
}

.article-body h2 {
  margin-top: 46px;
  font-size: 44px;
}

.article-body ul,
.article-body ol {
  display: grid;
  gap: 12px;
  margin: 0 0 28px;
  padding-left: 24px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wine-detail {
  display: grid;
  grid-template-columns: minmax(300px, .95fr) minmax(320px, 1fr);
  gap: 72px;
  align-items: start;
}

.wine-detail__media {
  position: sticky;
  top: 112px;
  min-height: 640px;
}

.wine-detail__content {
  display: grid;
  gap: 24px;
}

.wine-title {
  margin-bottom: 0;
  font-size: 78px;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.spec-list div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.spec-list dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-list dd {
  margin: 5px 0 0;
  font-weight: 700;
}

.info-band {
  display: grid;
  grid-template-columns: minmax(280px, 620px) 1fr;
  gap: 36px;
  align-items: center;
  padding: 46px;
  border-radius: var(--radius);
  color: #fff;
  background: var(--ink);
}

.info-band p {
  color: rgba(255,255,255,.74);
}

.section--compact .info-band {
  grid-template-columns: minmax(280px, 460px) minmax(220px, 1fr);
}

.section--compact .info-band .button {
  justify-self: end;
  width: min(360px, 100%);
}

.store-list,
.route-list {
  display: grid;
  gap: 14px;
}

.store-row,
.route-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.store-row span,
.route-row span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.retail-points {
  padding-top: 0;
  scroll-margin-top: 94px;
}

.retail-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.segmented-control {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.segmented-control button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.segmented-control button:hover,
.segmented-control button.is-active {
  color: #fff;
  background: var(--leaf);
  border-color: var(--leaf);
}

.retail-search {
  width: min(360px, 100%);
}

.retail-search input {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
}

.retail-search input:focus {
  outline: 2px solid rgba(64, 92, 67, .2);
  border-color: var(--leaf);
}

.retail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.retail-card {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 52px rgba(32, 28, 25, .08);
}

.retail-card.is-hidden {
  display: none;
}

.retail-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.retail-card__head span,
.retail-card__head strong {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.retail-card__head strong {
  color: var(--leaf);
  letter-spacing: 0;
  text-align: right;
}

.retail-card p {
  color: var(--muted);
}

.retail-card__meta {
  display: grid;
  gap: 10px;
  margin: auto 0 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.retail-card__meta div {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
}

.retail-card__meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.retail-card__meta dd {
  margin: 0;
  font-weight: 700;
}

.retail-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.retail-empty {
  margin: 24px 0 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface);
  font-weight: 700;
}

.legal-body {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.legal-body h2 {
  margin-top: 38px;
  font-size: 34px;
}

.legal-body p,
.legal-body li {
  color: var(--muted);
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 320px;
  gap: 18px;
}

.gallery-page-grid .gallery-item:first-child,
.gallery-page-grid .gallery-item:nth-child(5) {
  grid-row: span 2;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 34px;
}

.pagination a,
.pagination span {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-weight: 800;
}

.pagination span {
  color: #fff;
  background: var(--wine);
  border-color: var(--wine);
}

.section__head {
  width: min(860px, 100%);
  margin-bottom: 42px;
}

.section__head--row {
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.image-frame {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stone);
  box-shadow: var(--shadow);
}

.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, .8fr);
  gap: 70px;
  align-items: end;
}

.intro__copy {
  max-width: 760px;
  font-size: 20px;
}

.intro__photo {
  min-height: 460px;
  aspect-ratio: 5 / 4;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 0;
  color: var(--wine);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.text-link::after { content: "→"; }

.text-link--muted {
  color: var(--muted);
}

.fact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.fact-strip div {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}

.fact-strip div:last-child { border-right: 0; }

.fact-strip strong {
  display: block;
  color: var(--wine);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 52px;
  line-height: 1;
}

.fact-strip span {
  color: var(--muted);
  font-size: 14px;
}

.story-band {
  display: grid;
  grid-template-columns: minmax(280px, 560px) 1fr;
  gap: 72px;
  align-items: center;
  color: #fff;
  background: var(--leaf-dark);
}

.story-band__image {
  min-height: 520px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
}

.timeline {
  display: grid;
  gap: 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.timeline span {
  color: var(--gold);
  font-weight: 800;
}

.media-section {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 620px);
  gap: 82px;
  align-items: center;
}

.media-section__image {
  min-height: 560px;
}

.check-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 11px 0 11px 28px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--leaf);
}

.process {
  background: var(--stone);
}

.process__layout {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) 1fr;
  gap: 28px;
  align-items: stretch;
}

.process__media {
  min-height: 560px;
}

.process__steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.process__steps article {
  min-height: 260px;
  padding: 28px;
  background: var(--surface);
}

.process__steps span {
  color: var(--gold);
  font-weight: 900;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.filters button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.filters button.is-active {
  color: #fff;
  background: var(--wine);
  border-color: var(--wine);
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -22px 0 30px;
}

.category-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--surface);
  font-size: 14px;
  font-weight: 800;
}

.category-nav a:hover,
.category-nav a.is-active {
  color: #fff;
  background: var(--leaf);
  border-color: var(--leaf);
}

.wine-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.wine-card {
  display: grid;
  grid-template-rows: 230px 1fr;
  gap: 20px;
  min-height: 470px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .2s ease, box-shadow .2s ease;
}

.wine-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.wine-card.is-hidden { display: none; }

.wine-card__image {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stone);
}

.wine-card p:not(.eyebrow) {
  color: var(--muted);
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px;
}

.wine-grid.is-loading,
.retail-grid.is-loading {
  position: relative;
  pointer-events: none;
}

.wine-grid.is-loading::after,
.retail-grid.is-loading::after,
.search-results.is-loading::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: rgba(251,250,247,.72);
  backdrop-filter: blur(2px);
}

.tour-grid,
.point-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.tour-card,
.point-card,
.news-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.tour-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 24px;
}

.tour-card img,
.point-card img,
.news-grid img {
  height: 210px;
}

.tour-card > div,
.point-card > div,
.news-grid article {
  padding: 24px;
}

.tour-card .button {
  margin: auto 24px 0;
}

.tour-card span,
.point-grid span,
.news-grid time {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tour-card--dark {
  color: #fff;
  background: var(--ink);
}

.tour-card--dark p { color: rgba(255,255,255,.74); }

.booking,
.contacts {
  display: grid;
  grid-template-columns: minmax(280px, 580px) minmax(280px, 520px);
  gap: 92px;
  align-items: start;
  background: #eef1eb;
}

.booking__copy,
.contacts__info {
  position: sticky;
  top: 104px;
}

.slot-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 22px;
  border: 1px solid rgba(64, 92, 67, .22);
  border-radius: var(--radius);
  background: rgba(255,255,255,.68);
}

.slot-panel strong {
  color: var(--wine);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 62px;
  line-height: 1;
}

.form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid rgba(122, 31, 43, .24);
  border-color: var(--wine);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 12px;
}

.payment-choice {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.payment-choice legend {
  padding: 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.payment-choice label,
.consent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-choice input,
.consent input {
  width: auto;
}

.form label.consent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form label.consent input {
  width: auto;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--leaf);
  font-weight: 800;
}

.form.is-error .form-status { color: var(--wine); }

.form.is-loading {
  pointer-events: none;
  opacity: .72;
}

.form--plain {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.point-card {
  display: grid;
  grid-template-rows: 200px 1fr;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-auto-rows: 230px;
  gap: 18px;
}

.gallery-item {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--stone);
  box-shadow: var(--shadow);
  cursor: pointer;
}

.gallery-item:first-child { grid-row: span 2; }

.gallery-item img {
  transition: transform .35s ease;
}

.gallery-item:hover img { transform: scale(1.04); }

.news-grid article {
  display: grid;
  gap: 10px;
  padding: 0 0 24px;
}

.news-grid article > *:not(img) {
  margin-left: 24px;
  margin-right: 24px;
}

.news-grid p,
.point-card p {
  color: var(--muted);
}

.map-card {
  display: grid;
  align-content: end;
  min-height: 260px;
  margin-top: 24px;
  padding: 24px;
  overflow: hidden;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(32,28,25,.18), rgba(32,28,25,.78)),
    url("assets/vineyard-demo.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.map-card span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.map-card strong {
  margin-top: 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  line-height: 1;
}

.map-card small {
  margin-top: 8px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 48px 112px;
  color: #fff;
  background: var(--ink);
}

.site-footer p {
  margin: 16px 0 0;
  color: rgba(255,255,255,.68);
}

.site-footer nav {
  display: grid;
  gap: 10px;
  align-content: start;
  color: rgba(255,255,255,.74);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(20, 17, 15, .76);
  backdrop-filter: blur(16px);
}

.age-gate.is-visible { display: grid; }

.age-gate__panel {
  width: min(440px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 32px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .28);
}

.age-gate__panel h2 {
  margin-bottom: 14px;
  font-size: 38px;
  line-height: 1.05;
}

.age-gate__panel p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.age-gate__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: 24px;
}

.modal {
  width: min(680px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  border: 0;
  border-radius: var(--radius);
  padding: 24px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal::backdrop { background: rgba(20, 17, 15, .66); }

body.has-fallback-dialog::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(20, 17, 15, .66);
}

dialog[open] {
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 120;
  transform: translate(-50%, -50%);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 50%;
  color: #fff;
  background: rgba(32,28,25,.42);
  cursor: pointer;
}

.modal__image {
  height: 250px;
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--stone);
}

.modal h2 {
  margin-bottom: 18px;
  font-size: 44px;
}

.utility-modal {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  border: 0;
  border-radius: var(--radius);
  padding: 28px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.utility-modal::backdrop {
  background: rgba(20, 17, 15, .66);
}

.utility-modal h2 {
  margin-bottom: 20px;
  font-size: 44px;
}

.utility-modal .modal__close {
  color: var(--ink);
  background: rgba(255,255,255,.74);
  border-color: var(--line);
}

.utility-modal--search {
  width: min(760px, calc(100% - 32px));
}

.utility-modal--booking {
  width: min(1120px, calc(100% - 24px));
  padding: 0;
  overflow: hidden;
}

.booking-modal {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr);
  max-height: calc(100vh - 32px);
  overflow: hidden;
}

.booking-modal__media {
  position: relative;
  min-height: 620px;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  align-items: end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}

.booking-modal__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(28,23,20,.08), rgba(28,23,20,.84));
}

.booking-modal__media img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-modal__media h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(42px, 5vw, 68px);
}

.booking-modal__media p:not(.eyebrow) {
  max-width: 360px;
  margin: 0;
  color: rgba(255,255,255,.8);
  line-height: 1.6;
}

.booking-modal__content {
  min-width: 0;
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: clamp(24px, 4vw, 44px);
  background: var(--surface);
}

.booking-modal__content > h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 4vw, 48px);
}

.booking-modal__module {
  min-width: 0;
}

.booking-modal__fallback {
  padding: 0;
  border: 0;
  background: transparent;
}

.booking-modal__fallback[hidden] {
  display: none;
}

[data-dle-booking-include][hidden] {
  display: none;
}

.booking-modal__module .zb-booking {
  padding: 0;
  background: transparent;
}

.booking-modal__module .zb-booking__shell {
  width: 100%;
}

.booking-modal__module .zb-booking__intro {
  display: none;
}

.booking-modal__module .zb-service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.booking-modal__module .zb-booking__layout {
  grid-template-columns: 1fr;
}

.booking-modal__module .zb-slot-panel {
  position: static;
}

.booking-modal__module .zb-form {
  box-shadow: none;
}

.search-field {
  display: block;
}

.search-field input {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  font-size: 18px;
  font-weight: 700;
}

.search-results {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 150px;
  margin-top: 18px;
}

.search-result {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.search-result strong {
  font-size: 18px;
}

.search-result span,
.muted-text {
  color: var(--muted);
}

.quick-panel {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius);
  background: rgba(32, 28, 25, .78);
  box-shadow: 0 18px 60px rgba(32,28,25,.2);
  backdrop-filter: blur(16px);
}

.quick-panel button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  color: #fff;
  background: transparent;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.quick-panel button:hover {
  background: rgba(255,255,255,.14);
}

.cookie-panel {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 31;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  width: min(560px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, .94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

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

.cookie-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.toast-region {
  position: fixed;
  top: 86px;
  right: 18px;
  z-index: 130;
  display: grid;
  gap: 10px;
  width: min(360px, calc(100vw - 36px));
  pointer-events: none;
}

.toast {
  transform: translateY(-8px);
  opacity: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
  font-weight: 800;
  transition: opacity .22s ease, transform .22s ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.toast--error {
  color: #fff;
  background: var(--wine);
}

.wine-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.wine-specs div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.wine-specs dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.wine-specs dd {
  margin: 4px 0 0;
}

@media (max-width: 1180px) {
  .site-header,
  .hero,
  .page-hero,
  .section,
  .site-footer {
    padding-left: 40px;
    padding-right: 40px;
  }

  .site-header {
    display: flex;
    justify-content: space-between;
  }

  .main-nav {
    position: fixed;
    inset: 76px 18px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .menu-toggle { display: block; }
  .wine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .retail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process__layout { grid-template-columns: 1fr; }
  .process__media { min-height: 420px; }
  .content-split,
  .content-split--reverse,
  .wine-detail,
  .info-band {
    grid-template-columns: 1fr;
  }
  .where-hero {
    padding-left: 40px;
    padding-right: 40px;
  }
  .where-hero__layout,
  .where-own-grid {
    grid-template-columns: 1fr;
  }
  .wine-detail__media {
    position: static;
    min-height: 460px;
  }
  .wine-title {
    font-size: 64px;
  }
  .feature-grid,
  .format-grid,
  .document-grid,
  .gallery-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header { padding: 14px 18px; }
  .header-actions .button { display: none; }
  .booking-modal {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 24px);
    overflow: auto;
  }
  .booking-modal__media {
    min-height: 260px;
  }
  .booking-modal__content {
    max-height: none;
  }
  .booking-modal__module .zb-service-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 88vh; padding: 112px 20px 42px; }
  .page-hero { min-height: 500px; padding: 112px 20px 52px; }
  .where-hero {
    min-height: auto;
    padding: 112px 20px 52px;
  }
  .where-hero__layout {
    gap: 28px;
  }
  .where-hero__panel {
    padding: 22px;
  }
  .where-own-card__media,
  .where-own-card--featured .where-own-card__media {
    min-height: 260px;
  }
  .where-own-card__meta {
    grid-template-columns: 1fr;
  }
  h1 { font-size: 94px; }
  h2 { font-size: 46px; }
  .page-hero h1 { font-size: 64px; }
  .wine-title { font-size: 52px; }
  .page-hero__lead { font-size: 20px; }
  .hero__lead { font-size: 21px; }
  .hero__note { position: static; margin-top: 30px; flex-wrap: wrap; }
  .section { padding: 72px 20px; }
  .section__head--row,
  .intro__grid,
  .story-band,
  .media-section,
  .booking,
  .contacts,
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }
  .intro__grid,
  .story-band,
  .media-section,
  .booking,
  .contacts {
    gap: 32px;
  }
  .booking__copy,
  .contacts__info {
    position: static;
  }
  .fact-strip,
  .tour-grid,
  .point-grid,
  .news-grid,
  .wine-grid,
  .retail-grid,
  .feature-grid,
  .format-grid,
  .document-grid,
  .gallery-page-grid,
  .process__steps {
    grid-template-columns: 1fr;
  }
  .fact-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .fact-strip div:last-child { border-bottom: 0; }
  .intro__photo,
  .story-band__image,
  .media-section__image,
  .process__media {
    width: 100%;
    max-width: 100%;
    height: 340px;
    min-height: 340px;
    aspect-ratio: auto;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-item:first-child { grid-row: span 1; }
  .gallery-page-grid {
    grid-auto-rows: 240px;
  }
  .gallery-page-grid .gallery-item:first-child,
  .gallery-page-grid .gallery-item:nth-child(5) {
    grid-row: span 1;
  }
  .content-split__media,
  .wide-media,
  .wine-detail__media {
    min-height: 340px;
  }
  .store-row,
  .route-row {
    grid-template-columns: 1fr;
  }
  .retail-tools {
    display: grid;
    grid-template-columns: 1fr;
  }
  .retail-search {
    width: 100%;
  }
  .retail-card {
    min-height: auto;
  }
  .legal-body {
    padding: 28px;
  }
  .cookie-panel {
    right: 10px;
    bottom: 78px;
    left: 10px;
    grid-template-columns: 1fr;
    width: auto;
  }
}

@media (max-width: 520px) {
  body { padding-bottom: 74px; }
  .utility-modal--booking {
    width: min(100%, calc(100% - 16px));
  }
  .booking-modal__media {
    min-height: 210px;
    padding: 24px;
  }
  .booking-modal__content {
    padding: 22px 18px;
  }
  .booking-modal__content > h2 {
    font-size: 34px;
  }
  .brand strong { font-size: 21px; }
  .brand__mark { width: 40px; height: 40px; }
  h1 { font-size: 70px; }
  h2 { font-size: 38px; }
  .page-hero h1 { font-size: 48px; }
  .where-hero h1 { font-size: 48px; }
  .where-own-card h3 { font-size: 28px; }
  .where-own-card__body { padding: 22px; }
  .wine-title { font-size: 40px; }
  h3 { font-size: 20px; }
  .button { width: 100%; padding-inline: 16px; }
  .hero__actions { display: grid; }
  .form__row,
  .spec-list,
  .wine-specs {
    grid-template-columns: 1fr;
  }
  .form,
  .process__steps article,
  .retail-card {
    padding: 22px;
  }
  .retail-card__meta div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .tour-card .button { margin-inline: 18px; width: calc(100% - 36px); }
  .tour-card > div,
  .point-card > div,
  .news-grid article {
    padding: 20px;
  }
  .age-gate {
    align-items: center;
    padding: 12px;
  }
  .age-gate__panel {
    width: 100%;
    padding: 24px;
  }
  .age-gate__panel h2 { font-size: 32px; }
  .age-gate__actions { grid-template-columns: 1fr; }
  .modal {
    width: calc(100% - 20px);
    padding: 16px;
  }
  .utility-modal {
    width: calc(100% - 20px);
    padding: 20px;
  }
  .utility-modal--booking {
    padding: 0;
  }
  .utility-modal h2 {
    font-size: 34px;
  }
  .modal__image { height: 190px; }
  .modal h2 { font-size: 34px; }
  .content-panel,
  .feature-card,
  .format-card,
  .document-card,
  .info-band {
    padding: 22px;
  }
  .legal-body {
    padding: 22px;
  }
  .article-body {
    font-size: 18px;
  }
  .article-body h2 {
    font-size: 34px;
  }
  .quick-panel {
    right: 10px;
    bottom: 10px;
    left: 10px;
    justify-content: stretch;
  }
  .quick-panel button {
    flex: 1;
    padding-inline: 8px;
  }
  .cookie-panel {
    right: 10px;
    bottom: 78px;
    left: 10px;
    grid-template-columns: 1fr;
    width: auto;
  }
  .toast-region {
    top: 72px;
    right: 10px;
    width: calc(100vw - 20px);
  }
}

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


/* ZIMOVEC_DLE_RELEASE */
.brand--image { min-width: 178px; }
.brand__logo { width: 188px; height: auto; max-height: 62px; object-fit: contain; }
.brand__logo--dark { display: none; }
.site-header.is-solid .brand__logo--light { display: none; }
.site-header.is-solid .brand__logo--dark { display: block; }
.brand__logo--footer { width: 205px; }
.site-footer .brand__logo { display: block; }
.footer-contacts { margin: 16px 0 0; }
.footer-contacts a { font-weight: 700; }

.hero__media {
  background:
    linear-gradient(90deg, rgba(20,17,15,.78), rgba(20,17,15,.34) 52%, rgba(20,17,15,.12)),
    url('/uploads/b53398563b_zimovec-zastraka-2-vina.webp') center / cover no-repeat;
}

.page-main { min-height: 70vh; }
.page-main--article, .page-main--static { padding-top: 0; }
.page-main--system { padding-top: 100px; }
.system-page { min-height: 60vh; }
.section--compact { padding-top: 48px; padding-bottom: 72px; }
.catalog-section { min-height: 420px; }
.catalog-tabs { display:flex; flex-wrap:wrap; gap:10px; margin:0 0 34px; }
.catalog-tabs a { padding:10px 15px; border:1px solid var(--line); border-radius:999px; font-size:14px; font-weight:800; background:var(--surface); }
.catalog-tabs a:hover { border-color:var(--wine); color:var(--wine); }
.dle-content-grid:empty::after { content:'Материалы пока не опубликованы.'; display:block; padding:30px; background:var(--surface); }

.page-hero--wine, .page-hero--tours, .page-hero--retail, .page-hero--news, .page-hero--gallery, .page-hero--detail { background-position:center; background-size:cover; background-repeat:no-repeat; }
.page-hero--wine { background-image:linear-gradient(90deg,rgba(20,17,15,.78),rgba(20,17,15,.25)),url('/templates/kostinlab/assets/content/authentic/bottle-table.webp'); }
.page-hero--tours { background-image:linear-gradient(90deg,rgba(20,17,15,.78),rgba(20,17,15,.25)),url('/templates/kostinlab/assets/content/authentic/terrace-real.webp'); }
.page-hero--retail { background-image:linear-gradient(90deg,rgba(20,17,15,.78),rgba(20,17,15,.25)),url('/templates/kostinlab/assets/content/authentic/vineyard-bottle.webp'); }
.page-hero--news { background-image:linear-gradient(90deg,rgba(20,17,15,.78),rgba(20,17,15,.25)),url('/templates/kostinlab/assets/content/authentic/vineyard-panorama.webp'); }
.page-hero--gallery { background-image:linear-gradient(90deg,rgba(20,17,15,.78),rgba(20,17,15,.25)),url('/templates/kostinlab/assets/content/authentic/winery-real.webp'); }
.page-hero--detail { background-image:linear-gradient(90deg,rgba(20,17,15,.8),rgba(20,17,15,.22)),var(--page-bg); }
.page-hero--compact { min-height: 480px; background:linear-gradient(135deg,var(--leaf-dark),var(--leaf)); }
.hero-price { display:inline-flex; align-items:center; min-height:48px; padding:0 20px; border:1px solid rgba(255,255,255,.5); border-radius:var(--radius); font-weight:800; }

.wine-card { min-width:0; }
.wine-card__image { background:linear-gradient(145deg,#f3eee6,#fff); }
.wine-card__image img, .wine-detail__media img { object-fit:contain; padding:24px; }
.wine-card[hidden] { display:none !important; }
.wine-card[data-kind='red'] .wine-card__image { background:linear-gradient(145deg,#eee3e4,#fff); }
.wine-card[data-kind='white'] .wine-card__image { background:linear-gradient(145deg,#f4f0dc,#fff); }
.wine-card[data-kind='rose'] .wine-card__image { background:linear-gradient(145deg,#f5e7e7,#fff); }
.wine-card[data-kind='sparkling'] .wine-card__image { background:linear-gradient(145deg,#ecebdc,#fff); }
.wine-card[data-kind='orange'] .wine-card__image { background:linear-gradient(145deg,#f4e4ce,#fff); }
.card-price { display:block; margin-top:16px; color:var(--wine); font-size:18px; }

.wine-detail-page { padding-top:110px; }
.wine-detail {
  padding:55px 112px 0;
}
.wine-detail__media {
  display:grid;
  place-items:center;
  margin:0;
  padding:24px;
  background:linear-gradient(145deg,#eee8df,#fff);
}
.wine-detail__media img {
  width:auto;
  height:auto;
  max-width:70%;
  max-height:69.5vh;
  max-height:69.5svh;
  padding:0;
}
.wine-intro { font-size:20px; color:var(--muted); }
.wine-description { padding-top:70px; }
.article-page { padding-top:105px; }
.article-hero { display:grid; grid-template-columns:1.05fr .95fr; gap:50px; align-items:center; padding:72px 7vw; }
.article-hero h1 { font-size:clamp(52px,7vw,100px); }
.article-hero figure { height:560px; }
.article-hero img { border-radius:var(--radius); }
.article-meta { color:var(--muted); font-weight:700; }
.article-body--centered { width:min(840px,100%); margin-inline:auto; }
.article-body p { margin-bottom:1.25em; }
.article-body ul, .article-body ol { padding-left:1.4em; }
.article-body blockquote { margin:32px 0; padding:22px 28px; border-left:4px solid var(--gold); background:var(--stone); }

.news-card { overflow:hidden; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); }
.news-card img { height:250px; }
.news-card time, .news-card h3, .news-card p, .news-card .text-link { display:block; margin-left:24px; margin-right:24px; }
.news-card time { margin-top:22px; color:var(--muted); font-size:13px; font-weight:800; }
.news-card .text-link { margin-bottom:24px; }
.gallery-card { position:relative; overflow:hidden; min-height:300px; }
.gallery-card a { display:block; width:100%; height:100%; }
.gallery-card span { position:absolute; right:16px; bottom:16px; left:16px; padding:12px 14px; color:#fff; background:rgba(20,17,15,.66); backdrop-filter:blur(10px); font-weight:700; }
.gallery-full { padding-top:104px; }

.dle-navigation { display:flex; justify-content:center; gap:8px; margin-top:42px; }
.dle-navigation a, .dle-navigation span { display:grid; place-items:center; min-width:42px; min-height:42px; padding:0 12px; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); }
.dle-navigation span { color:#fff; background:var(--wine); border-color:var(--wine); }

.utility-modal--service { width:min(920px,calc(100% - 30px)); max-height:calc(100vh - 30px); padding:0; overflow:auto; }
.utility-modal--service .booking-modal__module { padding:0; }
.booking-modal__module .zb-booking { margin:0; }
.booking-modal__module .zb-booking__shell { box-shadow:none; border:0; }
.search-results a { display:grid; gap:3px; padding:14px 0; border-bottom:1px solid var(--line); }
.search-results span { color:var(--muted); font-size:14px; }

.static-section { padding:70px 7vw; }
.static-section--hero { min-height:560px; display:flex; align-items:end; padding-top:150px; color:#fff; background-position:center; background-size:cover; }
.static-section--hero .static-hero__content { width:min(850px,100%); }
.static-section--hero h1 { font-size:clamp(62px,10vw,130px); }
.static-section--hero p { font-size:22px; }
.static-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; }
.static-grid--3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.static-card { padding:32px; background:var(--surface); border:1px solid var(--line); border-radius:var(--radius); }
.static-media { min-height:480px; border-radius:var(--radius); overflow:hidden; }
.static-timeline { display:grid; gap:0; list-style:none; padding:0; }
.static-timeline li { display:grid; grid-template-columns:110px 1fr; gap:28px; padding:24px 0; border-bottom:1px solid var(--line); }
.static-timeline strong { color:var(--wine); font-family:'Playfair Display',Georgia,serif; font-size:36px; }
.contact-list { display:grid; gap:18px; }
.contact-list a { color:var(--wine); font-weight:800; }
.map-frame { min-height:480px; display:grid; place-items:center; padding:40px; color:#fff; text-align:center; background:linear-gradient(135deg,var(--leaf-dark),var(--leaf)); border-radius:var(--radius); }
.legal-body { width:min(980px,100%); margin:0 auto; background:var(--surface); border:1px solid var(--line); }
.zimovec-front-editor { position:fixed; left:50%; bottom:22px; z-index:9999; transform:translateX(-50%); width:min(720px,calc(100vw - 32px)); pointer-events:none; }
.zimovec-front-editor__bar { display:flex; align-items:center; gap:10px; padding:10px; background:rgba(20,17,15,.92); color:#fff; border:1px solid rgba(255,255,255,.18); border-radius:8px; box-shadow:0 18px 50px rgba(0,0,0,.24); pointer-events:auto; }
.zimovec-front-editor__btn { border:1px solid rgba(255,255,255,.22); background:transparent; color:#fff; border-radius:6px; padding:9px 14px; font:inherit; cursor:pointer; }
.zimovec-front-editor__btn--save { background:var(--wine); border-color:var(--wine); }
.zimovec-front-editor__select { min-width:150px; border:1px solid rgba(255,255,255,.22); background:rgba(255,255,255,.08); color:#fff; border-radius:6px; padding:9px 12px; font:inherit; cursor:pointer; }
.zimovec-front-editor__select option { color:#222; }
.zimovec-front-editor input[type="file"] { display:none !important; }
.zimovec-front-editor__status { min-width:0; font-size:13px; color:rgba(255,255,255,.78); }
.zimovec-front-editor__status[data-state="success"] { color:#bff0c8; }
.zimovec-front-editor__status[data-state="error"] { color:#ffd1d1; }
.zimovec-front-editing [contenteditable="true"] { outline:2px dashed rgba(122,31,52,.42); outline-offset:4px; cursor:text; }
.zimovec-front-editing [contenteditable="true"]:focus { outline-color:var(--wine); background:rgba(255,255,255,.16); }
.zimovec-front-editing img,
.zimovec-front-editing [style*="background-image"] { cursor:pointer; transition:box-shadow .2s ease, filter .2s ease; }
.zimovec-front-editing img:hover,
.zimovec-front-editing [style*="background-image"]:hover { box-shadow:0 0 0 3px rgba(47,128,237,.35); filter:saturate(1.08); }
.zimovec-front-editing .zimovec-edit-selected { outline:4px solid #2f80ed !important; outline-offset:6px; box-shadow:0 0 0 10px rgba(47,128,237,.18), 0 18px 48px rgba(47,128,237,.24) !important; }
.zimovec-edit-photo-badge { position:absolute; top:12px; right:12px; z-index:5; display:inline-flex; align-items:center; min-height:34px; padding:7px 12px; background:#2f80ed; color:#fff; border-radius:6px; font-size:13px; font-weight:800; box-shadow:0 10px 24px rgba(0,0,0,.24); pointer-events:none; }
.zimovec-edit-photo-pick { position:absolute; top:12px; left:12px; z-index:6; display:inline-flex; align-items:center; min-height:34px; padding:7px 12px; border:0; background:rgba(20,17,15,.86); color:#fff; border-radius:6px; font:inherit; font-size:13px; font-weight:800; box-shadow:0 10px 24px rgba(0,0,0,.24); cursor:pointer; }
.zimovec-edit-photo-pick:hover { background:#2f80ed; }

@media (max-width: 980px) {
  .article-hero, .static-grid, .static-grid--3 { grid-template-columns:1fr; }
  .article-hero figure { height:420px; }
  .brand__logo { width:160px; }
}
@media (max-width: 1180px) {
  .wine-detail { padding-inline:40px; }
}
@media (max-width: 820px) {
  .brand--image { min-width:145px; }
  .brand__logo { width:145px; max-height:48px; }
  .wine-detail { padding-inline:20px; }
  .static-section { padding:56px 20px; }
  .static-section--hero { min-height:500px; padding-top:120px; }
  .article-hero { padding:52px 20px; }
  .static-timeline li { grid-template-columns:1fr; gap:8px; }
}
@media (max-width: 520px) {
  .wine-detail {
    padding-top:32px;
    padding-inline:16px;
  }
  .where-hero {
    padding: 104px 20px 44px;
  }
  .where-hero__layout,
  .where-hero__content,
  .where-hero__panel {
    min-width: 0;
    width: 100%;
  }
  .where-hero h1 {
    max-width: 100%;
    font-size: 46px;
    line-height: .98;
    overflow-wrap: anywhere;
  }
  .where-hero .page-hero__lead {
    font-size: 19px;
    line-height: 1.45;
  }
  .where-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .where-hero__panel strong {
    font-size: 26px;
  }
}


/* Zimovec: native DLE xfield output */
.feature-card__text {
  color: var(--muted);
  line-height: 1.65;
}

.feature-card__text > :first-child,
.wine-production .article-body > :first-child,
.xf-textarea > :first-child {
  margin-top: 0;
}

.feature-card__text > :last-child,
.wine-production .article-body > :last-child,
.xf-textarea > :last-child {
  margin-bottom: 0;
}

.wine-production {
  margin-top: 42px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.wine-production > h2 {
  margin: 0 0 20px;
}

.wine-production .article-body {
  width: 100%;
  margin: 0;
  font-size: 18px;
}

.point-card__address {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.55;
}

.where-hero {
  min-height: 620px;
  display: grid;
  align-items: center;
  padding: 130px var(--side-pad) 72px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(24,18,15,.86), rgba(24,18,15,.52) 48%, rgba(24,18,15,.24)),
    url('/templates/kostinlab/assets/content/authentic/vineyard-bottle.webp') center / cover no-repeat;
}

.where-hero__layout {
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 680px) minmax(280px, 380px);
  gap: 48px;
  align-items: center;
}

.where-hero h1 {
  max-width: 620px;
  margin: 0 0 20px;
  color: #fff;
  font-size: 104px;
  line-height: 1;
}

.where-hero .page-hero__lead {
  max-width: 620px;
  color: rgba(255,255,255,.82);
}

.where-hero__actions,
.where-card-actions,
.point-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.where-hero__actions {
  margin-top: 30px;
}

.where-own-card .where-card-actions {
  margin-top: auto;
  padding-top: 10px;
}

.where-hero__panel {
  padding: 28px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  background: rgba(255,255,255,.11);
  backdrop-filter: blur(14px);
}

.where-hero__panel span,
.where-hero__panel strong {
  display: block;
}

.where-hero__panel span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.where-hero__panel strong {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: 28px;
  line-height: 1.14;
}

.where-hero__panel p {
  margin: 14px 0 0;
  color: rgba(255,255,255,.76);
}

.where-section-head {
  max-width: 780px;
  margin-bottom: 30px;
}

.where-section-head h2 {
  margin: 0 0 14px;
}

.where-section-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.where-own {
  background:
    linear-gradient(180deg, #fbfaf7 0%, #f4efe7 100%);
}

.where-own-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.where-own-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(130,103,70,.22);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.where-own-card__media {
  height: 300px;
  min-height: 300px;
  background: var(--where-card-bg) center / cover no-repeat;
}

.where-own-card--featured .where-own-card__media {
  height: 300px;
  min-height: 300px;
}

.where-own-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 30px;
}

.where-own-card h3 {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: 34px;
  line-height: 1.08;
}

.where-own-card p {
  color: var(--muted);
}

.where-own-card__meta,
.point-card__meta {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.where-own-card__meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.where-own-card__meta div,
.point-card__meta div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.where-own-card__meta dt,
.point-card__meta span {
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.where-own-card__meta dd,
.point-card__meta p {
  margin: 0;
  color: var(--ink);
  line-height: 1.45;
}

.where-partners {
  background: #fff;
}

.where-partners .point-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

.where-partner-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 20px 54px rgba(42,35,29,.08);
}

.where-partner-card__media {
  min-height: 100%;
  background: var(--stone);
}

.where-partner-card__media img,
.where-partner-card__media .point-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
}

.where-partner-card > div:not(.where-partner-card__media) {
  display: flex;
  flex-direction: column;
  padding: 28px;
}

.where-partner-card h3 {
  margin-bottom: 10px;
}

.where-partner-card .point-card__meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.point-card__placeholder {
  min-height: 200px;
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(142,30,45,.88), rgba(38,88,73,.82)),
    url('/templates/kostinlab/assets/content/authentic/vineyard-panorama.webp') center / cover no-repeat;
}

.point-card__placeholder span {
  color: rgba(255,255,255,.9);
  font-family: var(--font-serif);
  font-size: 32px;
  letter-spacing: 0;
  text-transform: none;
}

.point-card__actions {
  margin-top: 18px;
  padding-top: 4px;
}

.point-card__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(142,30,45,.22);
  border-radius: 6px;
  background: rgba(142,30,45,.06);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.point-card__actions a:hover {
  color: #fff;
  border-color: var(--wine);
  background: var(--wine);
}

.where-map-frame {
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--stone);
  box-shadow: var(--shadow);
}

.where-map-frame iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
}

.xf-textarea {
  line-height: 1.55;
}

@media (max-width: 820px) {
  .where-partner-card {
    grid-template-columns: 1fr;
  }
  .where-partner-card .point-card__meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .where-hero {
    padding: 104px 20px 44px;
  }
  .where-hero__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .where-hero__content,
  .where-hero__panel {
    min-width: 0;
    width: 100%;
  }
  .where-hero h1 {
    max-width: 100%;
    font-size: 46px;
    line-height: .98;
    overflow-wrap: normal;
    word-break: normal;
  }
  .where-hero .page-hero__lead {
    font-size: 19px;
    line-height: 1.45;
  }
  .where-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .where-hero__panel strong {
    font-size: 26px;
  }
  .where-partner-card {
    grid-template-columns: 1fr;
  }
  .where-partner-card .point-card__meta {
    grid-template-columns: 1fr;
  }
  .where-partner-card > div:not(.where-partner-card__media) {
    padding: 22px;
  }
  .section--compact .info-band {
    grid-template-columns: 1fr;
  }
  .section--compact .info-band .button {
    justify-self: stretch;
    width: 100%;
  }
}
