:root {
  --green-900: #263f19;
  --green-800: #365a20;
  --green-700: #496e27;
  --green-500: #7c963d;
  --green-100: #eef4df;
  --cream: #fbf7ec;
  --paper: #fffdf7;
  --straw: #f1d58a;
  --straw-soft: #fff2cf;
  --wood: #9b6a3b;
  --soil: #5f3d24;
  --line: #e5dccb;
  --ink: #1f2a1a;
  --muted: #66725f;
  --brown: #8a6238;
  --gold: #d29b39;
  --terracotta: #c96f48;
  --sky: #d8eef1;
  --blue: #2f6f7c;
  --shadow: 0 18px 42px rgba(50, 67, 36, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(155, 106, 59, 0.04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(124, 150, 61, 0.05) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px, 42px 42px, auto;
}

body.is-locked {
  overflow: hidden;
}

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

button,
input {
  font: inherit;
}

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

.sprite {
  display: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 237, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topline {
  display: grid;
  grid-template-columns: 188px minmax(280px, 1fr) auto;
  gap: 24px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  width: 156px;
  height: 150px;
  padding: 0;
  overflow: visible;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(54, 90, 32, 0.12));
}

.search {
  position: relative;
  min-width: 0;
}

.search input {
  width: 100%;
  height: 48px;
  padding: 0 58px 0 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search input:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(124, 150, 61, 0.18);
}

.search__button {
  position: absolute;
  top: 6px;
  right: 6px;
}

.icon-button,
.icon-action,
.button,
.category-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.icon-button {
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--green-800);
  background: var(--green-100);
  border-radius: 8px;
}

.icon-button:hover,
.icon-action:hover,
.button:hover,
.category-link:hover {
  transform: translateY(-1px);
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.phone {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
  color: var(--green-900);
}

.phone svg {
  width: 24px;
  height: 24px;
  color: var(--green-700);
}

.phone strong,
.phone small {
  display: block;
}

.phone strong {
  font-size: 17px;
}

.phone small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

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

.icon-action {
  position: relative;
  min-width: 72px;
  min-height: 48px;
  flex-direction: column;
  gap: 4px;
  padding: 4px 8px;
  color: var(--green-900);
  background: transparent;
  border-radius: 8px;
}

.icon-action span:not(.cart-badge) {
  font-size: 12px;
}

.cart-badge {
  position: absolute;
  top: 1px;
  right: 11px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  color: #fff;
  background: var(--terracotta);
  border-radius: 999px;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

.menu-toggle {
  display: none;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 10px 24px 12px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(255, 242, 207, 0.72));
  border-top: 1px solid rgba(229, 220, 203, 0.78);
  border-bottom: 1px solid rgba(229, 220, 203, 0.78);
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 132px;
  padding: 0 24px;
  color: #fff;
  background: var(--green-800);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  border: 1px solid rgba(38, 63, 25, 0.15);
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(54, 90, 32, 0.18);
}

.main-nav a:hover {
  background: var(--green-900);
  transform: translateY(-1px);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 24px 26px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.9), rgba(255, 242, 207, 0.66)),
    radial-gradient(circle at 12% 20%, rgba(124, 150, 61, 0.14), transparent 32%),
    var(--cream);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    repeating-linear-gradient(18deg, transparent 0 22px, rgba(210, 155, 57, 0.12) 23px 24px, transparent 25px 46px),
    linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 253, 247, 0.72) 55%, rgba(255, 253, 247, 0.96) 100%);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 12px;
  content: "";
  background:
    repeating-linear-gradient(90deg, rgba(95, 61, 36, 0.42) 0 18px, rgba(138, 98, 56, 0.42) 18px 36px),
    var(--wood);
  opacity: 0.28;
}

.hero__shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(560px, 1.1fr) minmax(430px, 0.9fr);
  gap: 28px;
  align-items: center;
  width: min(1480px, 100%);
  margin: 0 auto;
}

.hero__media {
  display: grid;
  gap: 12px;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  aspect-ratio: 1672 / 941;
  margin: 0;
  overflow: hidden;
  background: transparent;
  border: 1px solid rgba(155, 106, 59, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 54px rgba(50, 67, 36, 0.16);
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shelf {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px;
  background:
    linear-gradient(90deg, rgba(95, 61, 36, 0.16), rgba(255, 255, 255, 0)),
    rgba(255, 253, 247, 0.84);
  border: 1px solid rgba(155, 106, 59, 0.18);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(50, 67, 36, 0.08);
}

.hero-shelf a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green-900);
  background:
    repeating-linear-gradient(135deg, rgba(210, 155, 57, 0.16) 0 1px, transparent 1px 8px),
    #fff;
  border: 1px solid rgba(155, 106, 59, 0.16);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 0;
}

.hero__tag {
  position: relative;
  margin: 0 0 20px;
  color: var(--green-900);
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-size: clamp(44px, 5.4vw, 76px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: 0;
  text-shadow: 0 8px 22px rgba(54, 90, 32, 0.16);
  text-transform: uppercase;
}

.hero__tag::after {
  display: block;
  width: min(240px, 80%);
  height: 7px;
  margin-top: 14px;
  content: "";
  background:
    linear-gradient(90deg, var(--green-800), var(--straw), rgba(155, 106, 59, 0.7));
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(210, 155, 57, 0.22);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brown);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 570px;
  margin: 0;
  color: var(--green-900);
  font-size: 52px;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 560px;
  margin: 16px 0 0;
  color: #43523c;
  font-size: 20px;
  line-height: 1.48;
}

.hero-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.hero-details span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  color: var(--green-900);
  background: rgba(255, 253, 247, 0.9);
  border: 1px solid rgba(155, 106, 59, 0.2);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(50, 67, 36, 0.08);
}

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

.hero-note {
  display: grid;
  gap: 5px;
  max-width: 520px;
  margin-top: 18px;
  padding: 14px 16px;
  background:
    linear-gradient(90deg, rgba(73, 110, 39, 0.12), rgba(255, 242, 207, 0.72)),
    rgba(255, 253, 247, 0.88);
  border: 1px solid rgba(155, 106, 59, 0.18);
  border-left: 5px solid var(--green-700);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(50, 67, 36, 0.08);
}

.hero-note strong {
  color: var(--green-900);
  font-size: 15px;
}

.hero-note span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.button {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.button--primary {
  color: #fff;
  background: var(--green-800);
  box-shadow: 0 10px 26px rgba(54, 90, 32, 0.25);
}

.button--primary:hover {
  background: var(--green-900);
}

.button--soft {
  color: var(--green-900);
  background: #fff;
  border: 1px solid var(--line);
}

.button--light {
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.86);
}

.section,
.contact-band {
  width: min(1280px, calc(100% - 48px));
  margin: 42px auto 0;
}

.section__header {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: end;
  margin-bottom: 24px;
}

.section__header--stack {
  align-items: start;
}

.section h2,
.contact-band h2 {
  margin: 0;
  color: var(--green-900);
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: 0;
}

.text-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 16px;
  color: #fff;
  background: var(--green-800);
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(54, 90, 32, 0.16);
}

.text-link:hover {
  background: var(--green-900);
  transform: translateY(-1px);
}

.section--catalog {
  position: relative;
}

.hay-decor {
  position: absolute;
  z-index: -1;
  width: 190px;
  height: 74px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 72%, rgba(138, 98, 56, 0.24) 0 12%, transparent 13%),
    repeating-linear-gradient(18deg, transparent 0 9px, rgba(210, 155, 57, 0.55) 10px 13px, transparent 14px 21px),
    repeating-linear-gradient(-28deg, transparent 0 10px, rgba(241, 213, 138, 0.86) 11px 14px, transparent 15px 24px);
  border-radius: 50%;
  opacity: 0.75;
}

.hay-decor--catalog {
  right: -36px;
  top: -24px;
  transform: rotate(-8deg);
}

.hay-decor--contacts {
  right: 28px;
  bottom: -32px;
  z-index: 0;
  opacity: 0.38;
  transform: rotate(10deg);
}

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

.category-card {
  --card-tint: #fffdf7;
  --card-accent: var(--green-700);
  position: relative;
  display: grid;
  grid-template-columns: minmax(132px, 42%) minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  min-height: 212px;
  overflow: hidden;
  padding: 12px;
  background:
    linear-gradient(135deg, var(--card-tint), rgba(255, 255, 255, 0.92) 54%),
    #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(50, 67, 36, 0.09);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.category-card::before {
  position: absolute;
  top: 12px;
  right: 12px;
  bottom: 12px;
  width: 5px;
  content: "";
  background: var(--card-accent);
  border-radius: 999px;
  opacity: 0.72;
}

.category-card:hover {
  border-color: rgba(73, 110, 39, 0.32);
  box-shadow: 0 18px 38px rgba(50, 67, 36, 0.14);
  transform: translateY(-2px);
}

.category-photo {
  grid-row: 1 / 4;
  width: 100%;
  height: 100%;
  min-height: 188px;
  margin: 0;
  overflow: hidden;
  background: var(--straw-soft);
  border: 1px solid rgba(138, 98, 56, 0.16);
  border-radius: 8px;
}

.category-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.category-card:hover .category-photo img {
  transform: scale(1.04);
}

.category-card h3 {
  grid-column: 2;
  position: relative;
  margin: 12px 24px 8px 16px;
  color: var(--green-900);
  font-size: 23px;
  line-height: 1.1;
}

.category-card p {
  grid-column: 2;
  position: relative;
  margin: 0 24px 18px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

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

.category-link {
  grid-column: 2;
  position: relative;
  align-self: flex-start;
  min-height: 34px;
  margin: auto 24px 6px 16px;
  padding: 0 12px;
  color: #fff;
  background: var(--green-800);
  border: 1px solid rgba(38, 63, 25, 0.12);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
}

.category-art {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 132px;
  height: 132px;
  transform: translateX(-50%);
}

.category-card--cat {
  --card-tint: #fff5e6;
  --card-accent: #d29b39;
}

.category-card--dog {
  --card-tint: #eef4df;
  --card-accent: #496e27;
}

.category-card--rodent {
  --card-tint: #f7efe3;
  --card-accent: #9b6a3b;
}

.category-card--bird {
  --card-tint: #e7f4ee;
  --card-accent: #2f8d72;
}

.category-card--fish {
  --card-tint: #e2f2f6;
  --card-accent: #2f6f7c;
}

.category-card--reptile {
  --card-tint: #f3eddb;
  --card-accent: #c96f48;
}

.art-face,
.dog-head,
.rodent-body,
.bird-body,
.fish-body {
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset -12px -10px 0 rgba(0, 0, 0, 0.08);
}

.art-ear,
.dog-ear,
.rodent-ear {
  position: absolute;
  width: 42px;
  height: 52px;
  background: var(--gold);
  border-radius: 8px 8px 18px 18px;
}

.art-ear--left {
  left: 25px;
  top: 8px;
  transform: rotate(-28deg);
}

.art-ear--right {
  right: 25px;
  top: 8px;
  transform: rotate(28deg);
}

.art-eye {
  position: absolute;
  top: 60px;
  width: 10px;
  height: 10px;
  background: var(--green-900);
  border-radius: 50%;
}

.art-eye--left {
  left: 52px;
}

.art-eye--right {
  right: 52px;
}

.art-nose {
  position: absolute;
  left: 61px;
  top: 76px;
  width: 12px;
  height: 9px;
  background: var(--terracotta);
  border-radius: 60% 60% 80% 80%;
}

.dog-head {
  background: #a87545;
}

.dog-ear {
  top: 27px;
  width: 34px;
  height: 74px;
  background: #5d3f27;
}

.dog-ear--left {
  left: 18px;
  transform: rotate(12deg);
}

.dog-ear--right {
  right: 18px;
  transform: rotate(-12deg);
}

.dog-muzzle {
  position: absolute;
  left: 46px;
  top: 74px;
  width: 42px;
  height: 30px;
  background: #f2dfc7;
  border-radius: 50%;
}

.rodent-body {
  background: #c9a879;
}

.rodent-ear {
  top: 20px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #d8ba8d;
}

.rodent-ear--left {
  left: 24px;
}

.rodent-ear--right {
  right: 24px;
}

.rodent-belly {
  position: absolute;
  left: 47px;
  top: 66px;
  width: 40px;
  height: 50px;
  background: #f5e8d2;
  border-radius: 50%;
}

.bird-body {
  left: 32px;
  right: 34px;
  background: var(--terracotta);
}

.bird-wing {
  position: absolute;
  left: 45px;
  top: 47px;
  width: 54px;
  height: 62px;
  background: #2f8d72;
  border-radius: 52% 48% 55% 45%;
}

.bird-beak {
  position: absolute;
  right: 11px;
  top: 56px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 22px solid var(--gold);
}

.bird-tail {
  position: absolute;
  left: 30px;
  bottom: 8px;
  width: 25px;
  height: 44px;
  background: #2f6f7c;
  transform: rotate(24deg);
  border-radius: 50%;
}

.fish-body {
  left: 24px;
  right: 34px;
  top: 45px;
  bottom: 45px;
  background: #f3a536;
  border-radius: 50%;
}

.fish-tail {
  position: absolute;
  right: 18px;
  top: 50px;
  width: 0;
  height: 0;
  border-top: 26px solid transparent;
  border-bottom: 26px solid transparent;
  border-left: 36px solid #f0c259;
}

.fish-fin {
  position: absolute;
  left: 62px;
  top: 56px;
  width: 25px;
  height: 25px;
  background: #df7e3e;
  border-radius: 50% 50% 50% 0;
  transform: rotate(36deg);
}

.fish-bubble {
  position: absolute;
  background: rgba(47, 111, 124, 0.18);
  border: 2px solid rgba(47, 111, 124, 0.25);
  border-radius: 50%;
}

.fish-bubble--one {
  left: 18px;
  top: 22px;
  width: 14px;
  height: 14px;
}

.fish-bubble--two {
  left: 38px;
  top: 8px;
  width: 9px;
  height: 9px;
}

.contact-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(520px, 1.4fr);
  gap: 22px;
  align-items: start;
  overflow: hidden;
  padding: 36px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(95, 61, 36, 0.32), rgba(255, 255, 255, 0)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 20px),
    var(--green-800);
  border-radius: 8px;
}

.contact-band h2,
.contact-band .eyebrow,
.contact-band p {
  color: #fff;
}

.contact-band p {
  margin: 14px 0 0;
  line-height: 1.5;
}

.contact-band > div {
  position: relative;
  z-index: 1;
}

.contact-list {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(220px, 0.75fr);
  gap: 14px;
  min-width: 0;
  padding: 10px;
  background: rgba(255, 253, 247, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(24, 32, 20, 0.14);
}

.contact-card__info {
  display: grid;
  gap: 12px;
  align-content: center;
}

.contact-action {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  min-height: 68px;
  min-width: 0;
  padding: 14px 16px;
  color: var(--green-900);
  background: rgba(255, 253, 247, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(24, 32, 20, 0.14);
}

.contact-action svg {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--green-700);
}

.contact-action span {
  display: grid;
  gap: 3px;
}

.contact-action strong {
  color: var(--brown);
  font-size: 12px;
  text-transform: uppercase;
}

.contact-map {
  min-height: 220px;
  overflow: hidden;
  background: rgba(255, 253, 247, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(24, 32, 20, 0.14);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 220px;
  border: 0;
  filter: saturate(0.86) contrast(0.96);
}

.contact-empty {
  margin: 0;
  padding: 18px;
  color: var(--green-900);
  background: rgba(255, 253, 247, 0.95);
  border: 1px dashed rgba(255, 255, 255, 0.44);
  border-radius: 8px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  background: rgba(24, 32, 20, 0);
  transition: background-color 180ms ease;
}

.cart-drawer.is-open {
  pointer-events: auto;
  background: rgba(24, 32, 20, 0.42);
}

.cart-drawer__panel {
  width: min(420px, 100%);
  min-height: 100%;
  padding: 22px;
  background: var(--paper);
  box-shadow: -20px 0 40px rgba(24, 32, 20, 0.2);
  transform: translateX(100%);
  transition: transform 180ms ease;
}

.cart-drawer.is-open .cart-drawer__panel {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__header h2 {
  margin: 0;
  color: var(--green-900);
  font-size: 28px;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-item h3 {
  margin: 0;
  font-size: 15px;
}

.cart-item span {
  color: var(--muted);
  font-size: 13px;
}

.cart-item strong {
  color: var(--green-900);
}

.cart-empty {
  padding: 26px;
  color: var(--muted);
  text-align: center;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.cart-summary {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 20px;
}

.cart-checkout {
  width: 100%;
  margin-top: 18px;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  background: rgba(24, 32, 20, 0);
  transition: background-color 180ms ease;
}

.auth-modal.is-open {
  pointer-events: auto;
  background: rgba(24, 32, 20, 0.48);
}

.auth-modal__panel {
  width: min(520px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 242, 207, 0.5)),
    var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 26px 70px rgba(24, 32, 20, 0.32);
  transform: translateY(12px) scale(0.98);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.auth-modal.is-open .auth-modal__panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.auth-modal__header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 20px;
}

.auth-modal__header h2 {
  margin: 0;
  color: var(--green-900);
  font-size: 30px;
  line-height: 1.1;
}

.auth-form {
  display: grid;
  gap: 12px;
}

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

.auth-form input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

.auth-form input:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(124, 150, 61, 0.16);
}

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

.auth-divider {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 24px 0 18px;
  color: var(--brown);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  flex: 1;
  content: "";
  background: var(--line);
}

.auth-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.auth-message {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.auth-message.is-error {
  color: #a8462d;
}

.auth-message.is-success {
  color: var(--green-800);
}

.is-hidden {
  display: none !important;
}

.footer {
  margin-top: 54px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(95, 61, 36, 0.35), rgba(255, 255, 255, 0)),
    var(--green-900);
}

.footer__inner {
  display: grid;
  grid-template-columns: 270px 1fr auto;
  gap: 30px;
  align-items: center;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0;
}

.brand--footer {
  width: 230px;
  height: 230px;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.brand--footer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer nav a {
  color: rgba(255, 255, 255, 0.88);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 16px 0;
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .topline {
    grid-template-columns: 168px 1fr auto;
  }

  .phone {
    display: none;
  }

  .hero__shell {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .hero__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
    gap: 0 22px;
    align-items: start;
  }

  .hero__tag,
  .hero h1,
  .hero__lead {
    grid-column: 1;
  }

  .hero-details,
  .hero__actions,
  .hero-note {
    grid-column: 2;
  }

  .hero h1 {
    font-size: 44px;
  }

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

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

  .contact-list {
    grid-column: 1 / -1;
  }

  .contact-card {
    grid-template-columns: minmax(240px, 1fr) minmax(220px, 0.8fr);
  }

}

@media (max-width: 860px) {
  .topline {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 10px 16px;
  }

  .brand {
    width: 142px;
    height: 136px;
  }

  .search {
    grid-column: 1 / -1;
    order: 3;
  }

  .header-actions {
    gap: 4px;
  }

  .icon-action:not(.cart-trigger) {
    display: none;
  }

  .icon-action {
    min-width: 54px;
  }

  .icon-action span:not(.cart-badge) {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 8px;
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    background: var(--green-800);
    transition: max-height 180ms ease;
  }

  .main-nav.is-open {
    max-height: 320px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .main-nav a {
    padding: 15px 24px;
    border-color: rgba(255, 255, 255, 0.12);
  }

  .hero {
    padding: 24px 16px 34px;
  }

  .hero__shell {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero__visual {
    min-height: 0;
    aspect-ratio: 1672 / 941;
  }

  .hero__content {
    display: flex;
    padding: 0;
  }

  .hero h1 {
    max-width: 440px;
    font-size: 38px;
  }

  .hero__lead {
    max-width: 420px;
    font-size: 17px;
  }

  .section,
  .contact-band {
    width: calc(100% - 32px);
    margin-top: 42px;
  }

  .section__header,
  .section__header--stack {
    align-items: start;
    flex-direction: column;
  }

  .section h2,
  .contact-band h2 {
    font-size: 27px;
  }

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

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

  .contact-list {
    grid-column: auto;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
  }

  .footer__bottom {
    width: calc(100% - 32px);
  }
}

@media (max-width: 560px) {
  .brand {
    width: 116px;
    height: 112px;
  }

  .topline {
    align-items: start;
  }

  .cart-badge {
    right: 5px;
  }

  .hero {
    padding: 18px 14px 28px;
  }

  .hero__visual {
    aspect-ratio: 1672 / 941;
  }

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

  .hero-details {
    gap: 6px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .auth-modal {
    padding: 14px;
  }

  .auth-modal__panel {
    max-height: calc(100vh - 28px);
    padding: 18px;
  }

  .auth-modal__header h2 {
    font-size: 25px;
  }

  .auth-grid,
  .auth-actions {
    grid-template-columns: 1fr;
  }

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

  .category-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .category-photo {
    grid-row: auto;
    height: 230px;
  }

  .category-card h3,
  .category-card p,
  .category-link {
    grid-column: 1;
  }

  .category-card h3 {
    margin-top: 16px;
  }

  .footer__bottom {
    flex-direction: column;
  }
}
