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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: #1c2416;
  background: linear-gradient(180deg, #f6f3ee 0%, #f3ebe3 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}
body.is-menu-open {
  overflow: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(28, 36, 22, 0.045) 0.6px, transparent 0.7px);
  background-size: 14px 14px;
}

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

a {
  color: #1f4d3a;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.25s ease, text-underline-offset 0.25s ease;
}
a:hover {
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}
a:focus-visible {
  outline: 2px solid #1f4d3a;
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 1.95rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 20px;
}
@media (min-width: 768px) {
  .container {
    padding-inline: 24px;
  }
}

.page {
  padding-block: 36px 72px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  min-height: 46px;
  padding: 0.75em 1.35em;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  background: #1f4d3a;
  border: 2px solid #1f4d3a;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: none;
  max-width: 100%;
  transition: filter 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}
.btn:hover {
  text-decoration: none;
  filter: brightness(1.06);
}
.btn:focus-visible {
  outline: 2px solid #1f4d3a;
  outline-offset: 3px;
}
.btn--ghost {
  color: #1f4d3a;
  background: transparent;
}
.btn--ghost:hover {
  filter: none;
  background: rgba(31, 77, 58, 0.06);
}
.btn--block {
  width: 100%;
}

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

.photo-stub {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.35) 0%, transparent 45%), linear-gradient(180deg, #e7e1d8 0%, #ddd5c9 100%);
  border-radius: 12px;
  color: rgba(28, 36, 22, 0.72);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 16px;
}

.price {
  font-family: "Manrope", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: #1c2416;
}

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

.season-bar {
  background: #f3e6dc;
  color: #1c2416;
  padding: 14px 0;
  font-size: 0.95rem;
  border-top: 2px solid #1f4d3a;
  border-bottom: 1px solid rgba(31, 77, 58, 0.12);
}
.season-bar a {
  color: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  transition: color 0.25s ease, text-underline-offset 0.25s ease;
}
.season-bar a:hover {
  color: #1f4d3a;
  text-underline-offset: 0.3em;
}

.section {
  margin-top: 56px;
}
.section__title {
  margin-bottom: 22px;
  padding-left: 14px;
  border-left: 3px solid #1f4d3a;
}

.contact-block {
  border-top: 1px solid #e4ddd2;
  padding-top: 36px;
  margin-top: 56px;
}
.contact-block__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-block__list li {
  margin-bottom: 0.7em;
}

.steps {
  display: grid;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.steps__item {
  background: #fffcf8;
  border: 1px solid #e4ddd2;
  border-radius: 12px;
  padding: 24px 22px;
  counter-increment: step;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.steps__item:hover {
  border-color: rgba(31, 77, 58, 0.35);
  transform: translateY(-2px);
}
.steps__item::before {
  content: counter(step);
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1;
  color: #1f4d3a;
  margin-bottom: 12px;
}

.hero {
  display: grid;
  gap: 28px;
  margin-top: 12px;
}
@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 48px;
    margin-top: 20px;
  }
}
.hero__content h1 {
  margin-bottom: 0.45em;
}
.hero__lead {
  font-size: 1.12rem;
  line-height: 1.6;
  max-width: 34em;
  margin-bottom: 1.5em;
  opacity: 0.92;
}
.hero__photo {
  aspect-ratio: 1/1;
}

.price-tiers {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}
@media (min-width: 768px) {
  .price-tiers {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.price-tier {
  background: #fffcf8;
  border: 1px solid #e4ddd2;
  border-radius: 12px;
  padding: 24px 22px;
  border-top: 3px solid #1f4d3a;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.price-tier:hover {
  border-color: rgba(31, 77, 58, 0.4);
  border-top-color: #1f4d3a;
  transform: translateY(-2px);
}
.price-tier__price {
  font-size: 2rem;
  margin-bottom: 10px;
}
.price-tier__type {
  font-weight: 600;
  margin-bottom: 8px;
}
.price-tier__compose {
  margin: 0;
  color: #1c2416;
  opacity: 0.88;
  font-size: 0.95rem;
}

.prose {
  max-width: 40em;
}
.prose > *:last-child {
  margin-bottom: 0;
}

.pickup-facts {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  max-width: 40em;
}
.pickup-facts li {
  padding: 16px 0;
  border-bottom: 1px solid #e4ddd2;
}
.pickup-facts li:first-child {
  border-top: 1px solid #e4ddd2;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .steps__item:hover,
  .price-tier:hover,
  .product-card:hover {
    transform: none;
  }
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #f6f3ee;
  border-bottom: 1px solid #e4ddd2;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding-top: 8px;
  padding-bottom: 8px;
}
@media (min-width: 768px) {
  .site-header__inner {
    min-height: 72px;
    gap: 24px;
  }
}
.site-header__brand {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1c2416;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.25s ease;
}
@media (min-width: 768px) {
  .site-header__brand {
    font-size: 1.4rem;
  }
}
.site-header__brand:hover {
  text-decoration: none;
  color: #1f4d3a;
}
.site-header__meta {
  display: none;
  flex-direction: column;
  gap: 2px;
  font-size: 0.85rem;
  line-height: 1.3;
}
@media (min-width: 768px) {
  .site-header__meta {
    display: flex;
    margin-left: auto;
    margin-right: 8px;
    text-align: right;
  }
}
.site-header__phone {
  font-weight: 600;
  color: #1c2416;
  text-decoration: none;
  transition: color 0.25s ease;
}
.site-header__phone:hover {
  color: #1f4d3a;
}
.site-header__note {
  color: #1c2416;
  opacity: 0.85;
}
.site-header__address {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  opacity: 0.9;
}
.site-header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.45em 0.9em;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f4d3a;
  background: transparent;
  border: 1px solid #e4ddd2;
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}
@media (min-width: 768px) {
  .site-header__toggle {
    display: none;
  }
}
.site-header__toggle:hover {
  border-color: rgba(31, 77, 58, 0.4);
  background: rgba(31, 77, 58, 0.04);
}
.site-header__toggle:focus-visible {
  outline: 2px solid #1f4d3a;
  outline-offset: 3px;
}
.site-header__backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(28, 36, 22, 0.28);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.site-header__backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}
@media (min-width: 768px) {
  .site-header__backdrop {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .site-header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    width: min(100%, 300px);
    display: flex;
    flex-direction: column;
    padding: 72px 20px 28px;
    background: #fffcf8;
    border-left: 1px solid #e4ddd2;
    transform: translateX(100%);
    transition: transform 0.25s ease, visibility 0.25s ease;
    visibility: hidden;
    pointer-events: none;
  }
  .site-header__nav.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
}
@media (min-width: 768px) {
  .site-header__nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding: 0;
    background: transparent;
    border: 0;
    transform: none;
    visibility: visible;
  }
}
.site-header__nav-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
@media (min-width: 768px) {
  .site-header__nav-main {
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }
}
.site-header__link {
  display: block;
  padding: 12px 0;
  color: #1c2416;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.25s ease;
}
@media (min-width: 768px) {
  .site-header__link {
    padding: 0;
    font-size: 1rem;
  }
}
.site-header__link:hover {
  color: #1f4d3a;
}
.site-header__mobile-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #e4ddd2;
}
@media (min-width: 768px) {
  .site-header__mobile-meta {
    display: none;
  }
}

.site-footer {
  border-top: 1px solid rgba(31, 77, 58, 0.12);
  background: #fffcf8;
  padding: 48px 0 36px;
  margin-top: auto;
}
.site-footer__grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
  }
}
.site-footer__title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
}
.site-footer__text {
  margin: 0 0 0.65em;
  font-size: 0.95rem;
  line-height: 1.5;
}
.site-footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer__nav li {
  margin-bottom: 0.55em;
}
.site-footer__nav a {
  color: #1c2416;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease;
}
.site-footer__nav a:hover {
  color: #1f4d3a;
  text-decoration: underline;
  text-underline-offset: 0.22em;
}
.site-footer__phone {
  font-weight: 600;
  color: #1c2416;
  text-decoration: none;
  transition: color 0.25s ease;
}
.site-footer__phone:hover {
  color: #1f4d3a;
}

.site-wrap {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.site-main {
  flex: 1;
}

.catalog-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.catalog-group {
  margin-bottom: 44px;
  scroll-margin-top: 80px;
}
.catalog-group__title {
  margin-bottom: 18px;
  padding-left: 14px;
  border-left: 3px solid #1f4d3a;
}

.product-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 520px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

.product-card {
  background: #fffcf8;
  border: 1px solid #e4ddd2;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.product-card:hover {
  border-color: rgba(31, 77, 58, 0.4);
  transform: translateY(-2px);
}
.product-card__media {
  aspect-ratio: 4/5;
  border-radius: 0;
}
.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 16px 16px;
  flex: 1;
}
.product-card__title {
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1.18rem;
  margin: 0;
  letter-spacing: -0.01em;
}
.product-card__compose {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.88;
}
.product-card__price {
  margin-top: auto;
  font-size: 1.55rem;
}
.product-card__action {
  margin-top: 6px;
}

.product-layout {
  display: grid;
  gap: 28px;
}
@media (min-width: 768px) {
  .product-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
  }
}

.product-gallery__main {
  margin-bottom: 12px;
  aspect-ratio: 1/1;
}
.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.product-gallery__thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.25s ease;
}
.product-gallery__thumb .photo-stub {
  aspect-ratio: 1/1;
  font-size: 0.75rem;
  border-radius: 10px;
}
.product-gallery__thumb.is-active {
  border-color: #1f4d3a;
}
.product-gallery__thumb:hover {
  border-color: rgba(31, 77, 58, 0.35);
}
.product-gallery__thumb:focus-visible {
  outline: 2px solid #1f4d3a;
  outline-offset: 2px;
}

.product-info__badge {
  display: inline-block;
  margin-bottom: 14px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #1f4d3a;
}
.product-info__meta {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.product-info__meta li {
  padding: 12px 0;
  border-bottom: 1px solid #e4ddd2;
}
.product-info__price {
  font-size: 2.25rem;
  margin: 0 0 28px;
}

.note-line {
  margin-top: 18px;
  font-size: 0.95rem;
  opacity: 0.95;
}

.preorder {
  background: #fffcf8;
  border: 1px solid #e4ddd2;
  border-radius: 12px;
  padding: 28px 20px;
  scroll-margin-top: 80px;
}
@media (min-width: 768px) {
  .preorder {
    padding: 40px;
  }
}
.preorder__title {
  margin-bottom: 10px;
  padding-left: 14px;
  border-left: 3px solid #1f4d3a;
}
.preorder__hint {
  margin: 0 0 24px;
  font-size: 0.95rem;
  opacity: 0.9;
}

.form {
  display: grid;
  gap: 18px;
}
@media (min-width: 768px) {
  .form {
    grid-template-columns: 1fr 1fr;
  }
  .form .form__field--full {
    grid-column: 1/-1;
  }
  .form .form__actions {
    grid-column: 1/-1;
  }
}
.form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form__label {
  font-weight: 600;
  font-size: 0.95rem;
}
.form__control {
  width: 100%;
  min-height: 46px;
  padding: 0.75em 0.95em;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  color: #1c2416;
  background: #fffcf8;
  border: 1px solid #e4ddd2;
  border-radius: 12px;
  appearance: none;
  transition: border-color 0.25s ease;
}
.form__control:focus {
  outline: 2px solid #1f4d3a;
  outline-offset: 2px;
  border-color: #1f4d3a;
}
.form textarea.form__control {
  min-height: 110px;
  resize: vertical;
}
.form__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin-top: 4px;
}
@media (min-width: 768px) {
  .form__actions {
    flex-direction: row;
    align-items: center;
  }
}
.form__note {
  margin: 0;
  font-size: 0.92rem;
  max-width: 28em;
  opacity: 0.9;
}

.form-date-hint {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  background: #f3e6dc;
  border-radius: 12px;
  border-left: 3px solid #1f4d3a;
  font-size: 0.95rem;
}
.form-date-hint.is-visible {
  display: block;
}

.form-success {
  display: none;
  padding: 24px 0 4px;
  font-size: 1.1rem;
  font-weight: 600;
}
.form-success.is-visible {
  display: block;
}
.form-success a {
  font-weight: 700;
}

.preorder.is-submitted .form,
.preorder.is-submitted .preorder__hint,
.preorder.is-submitted .form-date-hint {
  display: none;
}
