@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700;800&display=swap");

:root {
  --bg: #f7f1e8;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-soft: #f3eadc;
  --surface-dark: #17120e;
  --surface-muted: #ece2d3;
  --line: rgba(151, 121, 76, 0.14);
  --line-strong: rgba(151, 121, 76, 0.24);
  --text: #18130f;
  --muted: #6a6258;
  --accent: #c58a33;
  --accent-deep: #8d6125;
  --accent-soft: #ead3aa;
  --success: #3c7c54;
  --shadow: 0 30px 90px rgba(53, 36, 15, 0.12);
  --shadow-soft: 0 20px 55px rgba(53, 36, 15, 0.08);
  --radius-xl: 40px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1280px, calc(100% - 40px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(233, 213, 177, 0.42), transparent 28%),
    radial-gradient(circle at 85% 14%, rgba(255, 255, 255, 0.74), transparent 18%),
    linear-gradient(180deg, #fffdfa 0%, #faf4ec 32%, var(--bg) 100%);
  color: var(--text);
  min-width: 320px;
}

body.is-locked {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

textarea {
  resize: vertical;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-shell {
  position: relative;
  overflow: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0 10px;
  backdrop-filter: blur(22px);
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.9), rgba(255, 251, 246, 0.55));
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(250px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border-radius: 999px;
  border: 1px solid rgba(151, 121, 76, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 40px rgba(69, 48, 20, 0.06);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 184px;
}

.brand__top {
  font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.5rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.brand__script {
  display: inline-block;
  margin-left: 6px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.brand__bottom {
  font-size: 0.69rem;
  color: var(--muted);
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 12px 18px;
  white-space: nowrap;
  font-size: 0.94rem;
}

.site-nav__link,
.footer__link,
.text-button {
  color: var(--muted);
  transition: color 0.22s var(--ease);
}

.site-nav__link:hover,
.site-nav__link.is-active,
.footer__link:hover,
.text-button:hover {
  color: var(--accent-deep);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header__phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.site-header__phone-number {
  font-weight: 800;
  font-size: 0.94rem;
}

.site-header__phone-caption {
  color: var(--accent);
  font-size: 0.75rem;
}

.cart-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(191, 133, 48, 0.1);
  border: 1px solid rgba(191, 133, 48, 0.18);
}

.cart-chip__label {
  font-size: 0.88rem;
  color: var(--muted);
}

.cart-chip__count {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 0.24s var(--ease),
    background-color 0.24s var(--ease),
    border-color 0.24s var(--ease),
    color 0.24s var(--ease),
    box-shadow 0.24s var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent) 0%, #d19843 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(191, 133, 48, 0.18);
}

.button--primary:hover {
  background: linear-gradient(135deg, #c58b36 0%, #a86d27 100%);
}

.button--ghost {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(191, 133, 48, 0.18);
  color: var(--text);
}

.button--ghost:hover {
  border-color: rgba(191, 133, 48, 0.34);
}

.button--header {
  min-height: 46px;
  padding-inline: 18px;
}

.button--full {
  width: 100%;
}

.burger {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(191, 133, 48, 0.2);
  background: rgba(255, 255, 255, 0.88);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.burger span {
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.is-active span:nth-child(2) {
  opacity: 0;
}

.burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.76);
}

.section {
  padding: 72px 0;
}

.section--soft {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.56) 0%, rgba(245, 237, 224, 0.62) 100%);
}

.section--dark {
  background:
    radial-gradient(circle at top right, rgba(232, 213, 179, 0.18), transparent 30%),
    linear-gradient(135deg, #241d17 0%, #17120e 100%);
  color: #fff;
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
  max-width: 760px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  line-height: 1.02;
}

h1 {
  font-size: clamp(3rem, 2rem + 1.5vw, 4rem);
}

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

h3 {
  font-size: clamp(1.45rem, 1.2rem + 0.8vw, 2rem);
}

p {
  margin: 0;
  line-height: 1.72;
  color: var(--muted);
}

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

.hero-slider {
  position: relative;
  border-radius: 48px;
  padding: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(234, 211, 170, 0.44) 0%, rgba(234, 211, 170, 0) 72%);
  pointer-events: none;
}

.hero-slider__rail {
  position: relative;
  min-height: 80vh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1fr);
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease);
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hero-slide__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding: 16px 8px 0;
}

.hero-slide__intro {
  display: grid;
  gap: 18px;
  max-width: 610px;
}

.hero-title {
  display: grid;
  gap: 10px;
}

.hero-title__main {
  display: block;
  font-size: clamp(3.5rem, 2.4rem + 2.65vw, 5.4rem);
  line-height: 0.92;
  max-width: 8ch;
  text-wrap: balance;
}

.hero-title__sub {
  display: block;
  max-width: 18ch;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.06rem, 0.92rem + 0.45vw, 1.42rem);
  line-height: 1.45;
  font-weight: 500;
  color: var(--muted);
}

.hero-slide__text {
  max-width: 560px;
  font-size: 1.03rem;
}

.hero-slide__meta,
.page-hero__tags,
.product-info__meta,
.product-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-chip,
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(191, 133, 48, 0.14);
  color: var(--text);
  font-size: 0.9rem;
}

.badge {
  background: rgba(191, 133, 48, 0.12);
  color: var(--accent-deep);
}

.hero-slide__actions,
.product-info__actions,
.section-cta,
.not-found__actions,
.feature-banner,
.cta-layout,
.cart-item__footer,
.listing-results__head,
.hero-slider__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hero-slide__actions {
  justify-content: flex-start;
}

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

.hero-quick__item {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 242, 234, 0.78));
  border: 1px solid rgba(151, 121, 76, 0.11);
}

.hero-quick__item strong {
  font-family: "Playfair Display", serif;
  font-size: 1.32rem;
  color: var(--text);
}

.hero-quick__item span {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.4;
}

.hero-slide__benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 0;
}

.hero-benefit {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(248, 242, 234, 0.82));
  border: 1px solid rgba(151, 121, 76, 0.12);
}

.hero-benefit__icon,
.advantage-card__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--accent);
  background: rgba(191, 133, 48, 0.1);
}

.hero-benefit div {
  display: grid;
  gap: 6px;
}

.hero-benefit strong {
  font-size: 0.96rem;
}

.hero-benefit span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.hero-benefit__icon svg,
.advantage-card__icon svg,
.icon-button svg,
.modal__close svg {
  width: 24px;
  height: 24px;
}

.hero-stage {
  position: relative;
  height: 100%;
  min-height: 300px;
  border-radius: 42px;
  overflow: hidden;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.96), transparent 24%),
    linear-gradient(180deg, #fbf7f1 0%, #ecdfcb 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.hero-stage__glow {
  position: absolute;
  inset: auto auto 4% 8%;
  width: 42%;
  height: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 138, 51, 0.2) 0%, rgba(197, 138, 51, 0) 72%);
  filter: blur(16px);
}

.hero-stage__backdrop {
  position: absolute;
  inset: 10% 12%;
  border-radius: 40% 60% 46% 54% / 28% 28% 72% 72%;
  border: 1px solid rgba(191, 133, 48, 0.18);
  background:
    radial-gradient(circle at 34% 18%, rgba(255, 255, 255, 0.92), transparent 32%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.76), rgba(232, 213, 179, 0.24));
}

.hero-stage__ring {
  position: absolute;
  inset: 4%;
  border-radius: 42px;
  border: 1px solid rgba(191, 133, 48, 0.09);
  pointer-events: none;
}

.hero-stage__image {
  position: relative;
  z-index: 1;
  max-height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 24px 42px rgba(58, 41, 18, 0.16));
  transform-origin: center bottom;
  animation: levitate 6.8s ease-in-out infinite alternate;
}

.hero-stage__card {
  position: absolute;
  z-index: 1;
  display: grid;
  gap: 6px;
  min-width: 184px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(191, 133, 48, 0.16);
  backdrop-filter: blur(18px);
}

.hero-stage__card--top {
  top: 24px;
  left: 24px;
}

.hero-stage__card--bottom {
  right: 24px;
  bottom: 24px;
}

.hero-stage__card-value {
  font-family: "Playfair Display", serif;
  font-size: 1.85rem;
  line-height: 1;
}

.hero-stage__card-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-stage__note {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(191, 133, 48, 0.14);
  backdrop-filter: blur(16px);
}

.hero-stage__note span {
  font-size: 0.76rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-stage__note strong {
  font-size: 1rem;
}

.hero-slider__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  margin-top: 22px;
}

.hero-slider__controls {
  margin-top: 0;
}

.hero-slider__dots {
  display: flex;
  gap: 8px;
}

.hero-slider__dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(111, 102, 90, 0.2);
}

.hero-slider__dot.is-active {
  background: var(--accent);
}

.hero-slider__arrows {
  display: flex;
  gap: 10px;
}


.home-hero {
  padding: 28px 0 18px;
}
.home-hero__slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: inherit;
}

.home-hero__slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
  min-height: 320px;
}

.home-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.home-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.home-hero__banner {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-hero__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #222;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.home-hero__arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.05);
}

.home-hero__arrow svg {
  width: 24px;
  height: 24px;
}

.home-hero__arrow--prev {
  left: 20px;
}

.home-hero__arrow--next {
  right: 20px;
}

.home-hero__dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  transform: translateX(-50%);
}

.home-hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition:
    width 0.25s ease,
    border-radius 0.25s ease,
    background 0.25s ease;
}

.home-hero__dot.is-active {
  width: 30px;
  border-radius: 10px;
  background: #ffffff;
}

@media (max-width: 768px) {
  .home-hero__slides {
    aspect-ratio: 4 / 3;
    min-height: 100px;
  }

  .home-hero__arrow {
    width: 40px;
    height: 40px;
  }

  .home-hero__arrow--prev {
    left: 10px;
  }

  .home-hero__arrow--next {
    right: 10px;
  }

  .home-hero__dots {
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero__slide,
  .home-hero__arrow,
  .home-hero__dot {
    transition: none;
  }
}

.home-hero__panel {
  min-height: 0;
  padding: 0;
  border-radius: 32px;
  background: var(--surface);
  border: 1px solid rgba(151, 121, 76, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.home-hero__banner {
  display: block;
  width: 100%;
  min-height: 200px;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  background: var(--surface);
}
""

.home-quick {
  padding: 18px 0 22px;
}

.home-quick__rail {
  display: flex;
  justify-content: center;
  gap: clamp(10px, 2.1vw, 24px);
  overflow-x: auto;
  padding: 6px 2px 12px;
  scrollbar-width: thin;
}

.home-quick__item {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 86px;
  color: var(--muted);
  text-align: center;
  font-size: 0.78rem;
  line-height: 1.25;
  transition:
    color 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.home-quick__item:hover {
  color: var(--accent-deep);
  transform: translateY(-2px);
}

.home-quick__dot {
  width: clamp(46px, 5.3vw, 70px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.2) 34%),
    linear-gradient(145deg, rgba(197, 138, 51, 0.24), rgba(141, 97, 37, 0.08));
  border: 1px solid rgba(191, 133, 48, 0.2);
  box-shadow: 0 14px 26px rgba(53, 36, 15, 0.08);
}

.home-categories {
  padding: 6px 0 46px;
}

.home-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 54px);
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.home-category {
  display: grid;
  justify-items: center;
  gap: 12px;
  text-align: center;
  color: var(--muted);
}

.home-category__media {
  display: grid;
  place-items: center;
  width: min(220px, 100%);
  aspect-ratio: 1;
  padding: 30px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 44% 28%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.46) 42%),
    linear-gradient(155deg, #f7ead7, #ffffff 72%);
  border: 1px solid rgba(191, 133, 48, 0.17);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.home-category:hover .home-category__media {
  transform: translateY(-7px);
  border-color: rgba(191, 133, 48, 0.32);
  box-shadow: 0 28px 56px rgba(53, 36, 15, 0.13);
}

.home-category__media img {
  width: 100%;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(58, 41, 18, 0.14));
}

.home-category strong {
  color: var(--text);
  font-size: clamp(0.92rem, 0.84rem + 0.28vw, 1.08rem);
  line-height: 1.2;
}

.home-category > span:last-child {
  max-width: 250px;
  font-size: 0.92rem;
}

.home-about-section {
  padding-top: 28px;
}

.home-about {
  padding: clamp(20px, 3vw, 34px);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(151, 121, 76, 0.12);
  box-shadow: var(--shadow-soft);
}

.home-about__media {
  min-height: 320px;
}

.home-about__photo img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(58, 41, 18, 0.15));
}

.home-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.home-benefits {
  padding-top: 28px;
}

.home-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.home-benefit {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  min-height: 236px;
  margin-top: 64px;
  padding: 82px 18px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(151, 121, 76, 0.18);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.home-benefit__icon {
  display: grid;
  place-items: center;
  position: absolute;
  top: -76px;
  left: 50%;
  width: 144px;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}

.home-benefit__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-benefit h3 {
  margin: 0;
  color: var(--accent-deep);
  font-family: "Playfair Display", serif;
  font-size: clamp(1.15rem, 0.95rem + 0.58vw, 1.55rem);
  line-height: 1.08;
}

.home-benefit p {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.36;
}

.home-hero__content {
  display: grid;
  gap: 24px;
  max-width: 680px;
}

.home-hero__content h1 {
  font-size: clamp(3rem, 2.1rem + 3.2vw, 6rem);
  max-width: 11ch;
}

.home-hero__content p {
  max-width: 640px;
  font-size: 1.06rem;
}

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

.home-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(245, 237, 224, 0.74), rgba(255, 255, 255, 0.72)),
    repeating-linear-gradient(
      90deg,
      rgba(151, 121, 76, 0.07) 0,
      rgba(151, 121, 76, 0.07) 1px,
      transparent 1px,
      transparent 54px
    );
  border: 1px solid rgba(151, 121, 76, 0.12);
}

.home-hero__logo {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(320px, 76%);
  aspect-ratio: 1.9;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(191, 133, 48, 0.16);
  box-shadow: var(--shadow-soft);
}

.home-hero__logo img {
  width: min(240px, 100%);
}

.home-hero__rings {
  position: absolute;
  inset: 22px;
  pointer-events: none;
}

.home-hero__bubble {
  position: absolute;
  display: grid;
  place-items: center;
  gap: 10px;
  width: 142px;
  height: 142px;
  padding: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(191, 133, 48, 0.18);
  box-shadow: 0 18px 34px rgba(53, 36, 15, 0.1);
  text-align: center;
  pointer-events: auto;
  transition:
    transform 0.24s var(--ease),
    border-color 0.24s var(--ease);
}

.home-hero__bubble:hover {
  transform: translateY(-4px);
  border-color: rgba(191, 133, 48, 0.34);
}

.home-hero__bubble:nth-child(1) {
  left: 2%;
  top: 8%;
}

.home-hero__bubble:nth-child(2) {
  right: 3%;
  top: 18%;
}

.home-hero__bubble:nth-child(3) {
  left: 50%;
  bottom: 2%;
  transform: translateX(-50%);
}

.home-hero__bubble:nth-child(3):hover {
  transform: translateX(-50%) translateY(-4px);
}

.home-hero__bubble span,
.home-direction__icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--accent);
  background: rgba(191, 133, 48, 0.1);
}

.home-hero__bubble svg,
.home-direction__icon svg {
  width: 24px;
  height: 24px;
}

.home-hero__bubble strong {
  font-size: 0.92rem;
  line-height: 1.25;
}

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

.home-direction {
  display: grid;
  justify-items: center;
  gap: 14px;
  min-height: 300px;
  padding: 30px 24px;
  border-radius: 999px 999px 30px 30px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition:
    transform 0.26s var(--ease),
    border-color 0.26s var(--ease),
    box-shadow 0.26s var(--ease);
}

.home-direction:hover {
  transform: translateY(-6px);
  border-color: rgba(191, 133, 48, 0.2);
  box-shadow: 0 26px 52px rgba(53, 36, 15, 0.12);
}

.home-direction p {
  max-width: 300px;
}

.home-direction__link {
  margin-top: auto;
  color: var(--accent-deep);
  font-weight: 700;
}

.home-about {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.home-about__media {
  display: grid;
  place-items: center;
  min-height: 360px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(245, 237, 224, 0.64)),
    repeating-linear-gradient(
      0deg,
      rgba(191, 133, 48, 0.07) 0,
      rgba(191, 133, 48, 0.07) 1px,
      transparent 1px,
      transparent 48px
    );
  border: 1px solid rgba(151, 121, 76, 0.12);
}

.home-about__photo {
  display: grid;
  place-items: center;
  width: min(280px, 74%);
  aspect-ratio: 1;
  padding: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(191, 133, 48, 0.16);
  box-shadow: var(--shadow-soft);
}

.home-about__content {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.home-about__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.home-about__facts span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(191, 133, 48, 0.14);
  color: var(--text);
  font-size: 0.92rem;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(191, 133, 48, 0.16);
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  transition:
    transform 0.22s var(--ease),
    border-color 0.22s var(--ease),
    color 0.22s var(--ease);
}

.icon-button:hover,
.modal__close:hover {
  transform: translateY(-1px);
  border-color: rgba(191, 133, 48, 0.36);
  color: var(--accent-deep);
}

.category-grid,
.advantage-grid,
.project-grid,
.two-column,
.cta-layout,
.cart-layout,
.product-detail__bottom {
  display: grid;
  gap: 20px;
}

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

.category-card,
.product-card,
.advantage-card,
.project-card,
.content-card,
.filters,
.not-found,
.feature-banner,
.timeline__item,
.faq-item,
.stat-card,
.page-hero__media {
  position: relative;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  backdrop-filter: blur(14px);
}

.category-card {
  display: grid;
  grid-template-rows: 228px 1fr;
  min-height: 0;
  border-radius: 32px;
  padding: 0;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: rgba(191, 133, 48, 0.18);
  box-shadow: 0 28px 56px rgba(53, 36, 15, 0.12);
}

.category-card__media {
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(180deg, rgba(245, 237, 224, 0.86), rgba(255, 255, 255, 0.62));
  border-bottom: 1px solid rgba(151, 121, 76, 0.08);
}

.category-card__body {
  display: grid;
  gap: 16px;
  padding: 24px 24px 26px;
}

.category-card__eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.category-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(151, 121, 76, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.category-card__link {
  color: var(--accent-deep);
}

.category-card__image {
  position: static;
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(58, 41, 18, 0.12));
  transition: transform 0.32s var(--ease);
}

.category-card:hover .category-card__image {
  transform: translateY(-8px) scale(1.03);
}

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

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

.product-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border-radius: 30px;
  grid-template-rows: auto 1fr auto;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(191, 133, 48, 0.18);
  box-shadow: 0 28px 56px rgba(53, 36, 15, 0.12);
}

.product-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-card__visual {
  display: grid;
  place-items: center;
  min-height: 236px;
  height: 236px;
  padding: 18px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(180deg, rgba(245, 237, 224, 0.88), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(191, 133, 48, 0.08);
}

.product-card__visual img {
  width: 100%;
  max-height: 198px;
  object-fit: contain;
  filter: drop-shadow(0 18px 32px rgba(58, 41, 18, 0.12));
  transition: transform 0.28s var(--ease);
}

.product-card:hover .product-card__visual img {
  transform: translateY(-4px);
}

.product-card__body {
  display: grid;
  gap: 12px;
  align-content: start;
}

.product-card__meta,
.project-card__category,
.cart-item__category {
  color: var(--accent);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product-card__body h3 a {
  transition: color 0.22s var(--ease);
}

.product-card__body h3 {
  font-size: clamp(1.34rem, 1.08rem + 0.55vw, 1.72rem);
  line-height: 1.05;
}

.product-card:hover .product-card__body h3 a {
  color: var(--accent-deep);
}

.product-card__tags span {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(245, 237, 224, 0.78);
  color: var(--muted);
  font-size: 0.84rem;
  display: inline-flex;
  align-items: center;
}

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

.product-card__actions .button {
  flex: 1;
  min-height: 48px;
  padding-inline: 14px;
}

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

.advantage-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
}

.feature-banner,
.content-card,
.filters,
.not-found {
  border-radius: 30px;
  padding: 28px;
}

.feature-banner {
  justify-content: space-between;
}

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

.timeline__item {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
}

.timeline__index {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  color: var(--accent);
}

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

.project-grid--large {
  grid-template-columns: 1fr;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 18px;
  padding: 24px;
  border-radius: 30px;
}

.project-card--large {
  grid-template-columns: minmax(0, 1fr) 260px;
}

.project-card__content {
  display: grid;
  align-content: start;
  gap: 12px;
}

.project-card__metric {
  color: var(--accent-deep);
  font-weight: 700;
}

.project-card__image {
  max-height: 220px;
  margin-left: auto;
  object-fit: contain;
  filter: drop-shadow(0 14px 32px rgba(58, 41, 18, 0.12));
}

.cta-layout {
  grid-template-columns: minmax(0, 0.94fr) minmax(380px, 0.8fr);
  align-items: start;
}

.cta-layout__content {
  display: grid;
  gap: 14px;
}

.form-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

.form-card--compact {
  padding: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 14px;
}
@media screen and (max-width: 768px) {
  .form-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}
.field {
  display: grid;
  gap: 8px;
}

.field--full {
  grid-column: 1 / -1;
}

.field__label {
  font-size: 0.9rem;
  color: var(--text);
}

.field__control {
  min-height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(142, 118, 82, 0.16);
  background: rgba(255, 255, 255, 0.98);
  padding: 0 16px;
  color: var(--text);
  transition: border-color 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.field__control:focus {
  outline: none;
  border-color: rgba(191, 133, 48, 0.48);
  box-shadow: 0 0 0 4px rgba(191, 133, 48, 0.12);
}

.field__control--textarea {
  min-height: 132px;
  padding-block: 14px;
}

.field__error {
  min-height: 18px;
  color: #b04c31;
  font-size: 0.82rem;
}

.field.is-error .field__control {
  border-color: rgba(176, 76, 49, 0.44);
  box-shadow: 0 0 0 4px rgba(176, 76, 49, 0.08);
}

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

.form-card__footer p {
  font-size: 0.86rem;
}

.page-hero {
  padding: 34px 0 10px;
}

.page-hero__grid,
.product-detail,
.listing-shell,
.two-column,
.cart-layout {
  display: grid;
  gap: 22px;
}

.page-hero__grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  align-items: center;
  padding: 30px;
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-soft);
}

.page-hero__stats {
  display: grid;
  gap: 16px;
}

.stat-card {
  border-radius: 24px;
  padding: 20px;
}

.stat-card span {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: clamp(1.7rem, 1.3rem + 1vw, 2.7rem);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card small {
  color: var(--muted);
  line-height: 1.5;
}

.page-hero__media {
  display: grid;
  place-items: center;
  min-height: 320px;
  border-radius: 30px;
  padding: 24px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.94), transparent 36%),
    linear-gradient(180deg, rgba(245, 237, 224, 0.78), rgba(255, 255, 255, 0.58));
}

body[data-page="contacts"] .page-hero__grid {
  align-items: stretch;
  gap: 34px;
}

body[data-page="contacts"] .page-hero__grid > div:first-child {
  display: grid;
  align-content: center;
  gap: 20px;
}

body[data-page="contacts"] .page-hero__grid h1 {
  margin: 4px 0 0;
}

body[data-page="contacts"] .page-hero__grid p {
  max-width: 760px;
  margin: 0;
  line-height: 1.9;
}

body[data-page="contacts"] .page-hero__tags {
  margin-top: 2px;
}

body[data-page="contacts"] .page-hero + .section {
  padding-top: 82px;
}

body[data-page="contacts"] .content-card {
  display: grid;
  align-content: start;
  gap: 24px;
}

body[data-page="contacts"] .check-list {
  gap: 18px;
}

body[data-page="contacts"] .check-list li {
  line-height: 1.85;
}

.contact-links {
  display: grid;
  gap: 18px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 18px 20px;
  border: 1px solid rgba(142, 118, 82, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 16px 38px rgba(58, 41, 18, 0.08);
  transition:
    transform 0.22s var(--ease),
    border-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.contact-link:hover {
  transform: translateY(-3px);
  border-color: rgba(191, 133, 48, 0.32);
  box-shadow: 0 20px 44px rgba(58, 41, 18, 0.13);
}

.contact-link__icon {
  display: inline-grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
}

.contact-link__icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.contact-link strong,
.contact-link small {
  display: block;
}

.contact-link strong {
  font-size: 1.06rem;
  line-height: 1.25;
}

.contact-link small {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.45;
}

.contact-link--whatsapp .contact-link__icon {
  background: #25d366;
}

.contact-link--instagram .contact-link__icon {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #f62e53 45%, #ca1d7e 60%, #4658d1 90%);
}

.contact-link--email .contact-link__icon {
  background: #8d6630;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumbs a:hover {
  color: var(--accent-deep);
}

.subcategory-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.subcategory-chip {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(191, 133, 48, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
}

.subcategory-chip.is-active {
  background: rgba(191, 133, 48, 0.14);
  color: var(--accent-deep);
}

.category-showcase {
  padding: 34px 0 72px;
}

.category-showcase--landing {
  padding-top: 48px;
}

.category-showcase__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.category-showcase__head h1 {
  max-width: 760px;
  margin-top: 12px;
}

.category-showcase__head p {
  max-width: 720px;
  margin-top: 16px;
}

.category-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
}

.category-toolbar__form {
  display: none;
}

.category-toolbar__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
}

.category-dot {
  display: inline-grid;
  justify-items: center;
  align-content: start;
  gap: 7px;
  width: 94px;
  min-height: 114px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--muted);
  text-align: center;
  transition:
    transform 0.22s var(--ease),
    color 0.22s var(--ease);
}

.category-dot__icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 1px solid rgba(191, 133, 48, 0.24);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition:
    border-color 0.22s var(--ease),
    background-color 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.category-dot__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-dot__icon--all {
  background: rgba(191, 133, 48, 0.1);
}

.category-dot__all {
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 800;
}

.category-dot__label {
  display: -webkit-box;
  overflow: hidden;
  width: 100%;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.category-dot:hover,
.category-dot.is-active {
  transform: translateY(-2px);
  color: var(--accent-deep);
}

.category-dot:hover .category-dot__icon,
.category-dot.is-active .category-dot__icon {
  border-color: rgba(191, 133, 48, 0.45);
  background: rgba(245, 237, 224, 0.92);
  box-shadow: 0 16px 30px rgba(53, 36, 15, 0.1);
}

.category-toolbar__views {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(191, 133, 48, 0.12);
}

.view-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
}

.view-button svg {
  width: 22px;
  height: 22px;
}

.view-button:hover,
.view-button.is-active {
  background: rgba(191, 133, 48, 0.14);
  color: var(--accent-deep);
}

.category-sort {
  display: grid;
  gap: 6px;
  min-width: 190px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.category-sort select {
  min-height: 48px;
  padding: 0 42px 0 16px;
  border: 1px solid rgba(191, 133, 48, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
}

.category-products {
  grid-column: 1 / -1;
  display: grid;
  gap: 18px;
  margin-top: 12px;
}

.category-products__head {
  justify-content: flex-start;
}

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

.category-products__grid--compact .product-card__tags,
.category-products__grid--compact .product-card__meta,
.category-products__grid--compact .product-card p {
  display: none;
}

.category-products__grid--compact .product-card__visual {
  min-height: 180px;
}

.category-products__grid--compact .product-card__visual img {
  max-height: 160px;
}

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

.category-products__grid--list .product-card {
  grid-template-columns: 220px minmax(0, 1fr);
  align-items: center;
}

.category-products__grid--list .product-card__top {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
}

.category-products__grid--list .product-card__visual {
  min-height: 180px;
}

.catalog-page {
  padding: 34px 0 76px;
}

.catalog-head {
  display: block;
  margin-bottom: 26px;
}

.catalog-head h1 {
  max-width: 760px;
}

.catalog-head p {
  max-width: 640px;
  margin-top: 12px;
}

.catalog-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(190px, 230px) auto;
  gap: 20px;
  align-items: start;
  margin-bottom: 24px;
}

.catalog-filter,
.catalog-view {
  display: grid;
  gap: 12px;
}

.catalog-filter__label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-page .category-toolbar__chips {
  gap: 10px;
}

.catalog-page .category-dot {
  border: none;
  cursor: pointer;
}

.catalog-page .category-dot * {
  pointer-events: none;
}

.catalog-page .category-toolbar__views {
  align-self: start;
}

.catalog-page .view-button {
  width: 48px;
  font-weight: 800;
  font-size: 0.98rem;
}

.category-products__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 2px;
}

.category-products__head span {
  color: var(--muted);
  font-weight: 700;
}

.catalog-products {
  --catalog-columns: 4;
  grid-template-columns: repeat(var(--catalog-columns), minmax(0, 1fr));
}

.catalog-products--2 {
  --catalog-columns: 2;
}

.catalog-products--4 {
  --catalog-columns: 4;
}

.catalog-products--5 {
  --catalog-columns: 5;
}

.catalog-products--5 .product-card,
.catalog-products--4 .product-card {
  padding: 16px;
  border-radius: 24px;
}

.catalog-products--5 .product-card__visual,
.catalog-products--4 .product-card__visual {
  min-height: 170px;
}

.catalog-products--5 .product-card__visual img,
.catalog-products--4 .product-card__visual img {
  max-height: 150px;
}

.catalog-products--5 .product-card p,
.catalog-products--5 .product-card__tags {
  display: none;
}

.catalog-products--5 .product-card h3 {
  font-size: 0.98rem;
}

.catalog-products--5 .product-card__actions {
  flex-direction: column;
}

.catalog-products--5 .product-card__actions .button {
  min-height: 42px;
  font-size: 0.86rem;
}

.listing-shell {
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
}

.filters {
  position: sticky;
  top: 102px;
  display: grid;
  gap: 18px;
}

.filters__head {
  display: grid;
  gap: 10px;
}

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

.listing-results {
  display: grid;
  gap: 20px;
}

.listing-results__head {
  justify-content: flex-start;
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 260px;
  padding: 34px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px dashed rgba(191, 133, 48, 0.24);
  text-align: center;
}

.empty-state--cart {
  place-items: start;
  text-align: left;
}

.product-detail {
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.88fr);
  align-items: start;
}

.product-gallery,
.product-info {
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255, 255, 255, 0.74);
}

.product-gallery {
  padding: 24px;
}

.product-gallery__main {
  display: grid;
  place-items: center;
  min-height: 520px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(180deg, rgba(245, 237, 224, 0.84), rgba(255, 255, 255, 0.6));
}

.product-gallery__main img {
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 18px 36px rgba(58, 41, 18, 0.12));
}

.product-gallery__thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.product-gallery__thumb {
  width: 88px;
  height: 88px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(191, 133, 48, 0.12);
  background: rgba(255, 255, 255, 0.78);
}

.product-gallery__thumb.is-active {
  border-color: rgba(191, 133, 48, 0.34);
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-info {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.product-info__lead {
  color: var(--text);
  font-size: 1.1rem;
}

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

.spec-grid__item {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(245, 237, 224, 0.7);
}

.spec-grid__item span {
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-info__list ul,
.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.product-info__list li,
.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.6;
}

.product-info__list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

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

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: 24px;
  padding: 20px 22px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 12px;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list__item {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(245, 237, 224, 0.7);
}

.contact-map__visual {
  display: grid;
  gap: 6px;
  place-items: center;
  min-height: 240px;
  border-radius: 24px;
  margin-top: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(232, 213, 179, 0.22)),
    repeating-linear-gradient(
      90deg,
      rgba(191, 133, 48, 0.08) 0,
      rgba(191, 133, 48, 0.08) 1px,
      transparent 1px,
      transparent 52px
    ),
    repeating-linear-gradient(
      180deg,
      rgba(191, 133, 48, 0.08) 0,
      rgba(191, 133, 48, 0.08) 1px,
      transparent 1px,
      transparent 52px
    );
  text-align: center;
}

.contact-map__visual span {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
}

.cart-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
}

.cart-list {
  display: grid;
  gap: 16px;
}

.cart-item {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(245, 237, 224, 0.64);
}

.cart-item__image {
  width: 100%;
  height: 140px;
  object-fit: contain;
}

.cart-item__content {
  display: grid;
  gap: 12px;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 46px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(191, 133, 48, 0.14);
}

.qty-control button {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: rgba(191, 133, 48, 0.12);
  color: var(--accent-deep);
  font-size: 1.1rem;
}

.text-button {
  border: none;
  background: transparent;
  padding: 0;
}

.not-found {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  min-height: 420px;
}

.not-found--inline {
  min-height: auto;
  justify-items: start;
  text-align: left;
}

.site-footer {
  padding: 36px 0 42px;
}

.footer {
  display: grid;
  gap: 20px;
  padding: 28px;
  border-radius: 34px;
  background: rgba(31, 26, 21, 0.96);
  color: rgba(255, 255, 255, 0.88);
}

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

.footer__brand,
.footer__group {
  display: grid;
  gap: 12px;
  align-content: start;
}

.brand--footer .brand__bottom,
.footer__lead,
.footer__text,
.footer__link {
  color: rgba(255, 255, 255, 0.7);
}

.footer__title {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.56);
  text-transform: uppercase;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.88rem;
}

.modal-root {
  position: relative;
  z-index: 80;
}

.modal-root.is-open {
  position: fixed;
  inset: 0;
}

.modal {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(17, 12, 8, 0.62);
  backdrop-filter: blur(12px);
}

.modal__dialog {
  position: relative;
  width: min(680px, 100%);
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.modal__dialog--success {
  width: min(460px, 100%);
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(191, 133, 48, 0.16);
  background: rgba(255, 255, 255, 0.9);
}

.toast-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 10px;
  z-index: 90;
}

.toast {
  min-width: 240px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(31, 26, 21, 0.94);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  transition:
    opacity 0.24s var(--ease),
    transform 0.24s var(--ease);
}

.toast.is-hidden {
  opacity: 0;
  transform: translateY(10px);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.56s var(--ease),
    transform 0.56s var(--ease);
}

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

.section-heading--wide {
  max-width: none;
  grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.9fr);
  align-items: end;
  gap: 24px;
}

@keyframes levitate {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1360px) {
  .site-nav {
    gap: 12px;
    font-size: 0.88rem;
  }

  .site-header__phone-caption,
  .cart-chip__label {
    display: none;
  }

  .site-header__phone-number {
    font-size: 0.9rem;
  }

  .button--header {
    padding-inline: 16px;
  }
}

@media (max-width: 1180px) {
  .site-header__inner {
    grid-template-columns: auto auto;
    border-radius: 28px;
  }

  .burger {
    display: inline-flex;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(191, 133, 48, 0.14);
    white-space: normal;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-header__actions {
    grid-column: 1 / -1;
    justify-content: space-between;
    flex-wrap: wrap;
  }
}

@media (max-width: 1199px) {
  .home-hero__panel,
  .home-about {
    grid-template-columns: 1fr;
  }

  .home-hero__content h1 {
    max-width: 14ch;
  }

  .home-directions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-slider__rail {
    min-height: 1080px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-slide__visual {
    min-height: 420px;
  }

  .hero-slide__content {
    padding: 8px 2px 0;
  }

  .hero-stage {
    min-height: 420px;
  }

  .hero-slider__footer,
  .section-heading--wide {
    grid-template-columns: 1fr;
  }

  .hero-benefit__icon,
  .advantage-card__icon {
    width: 44px;
    height: 44px;
  }

  .hero-slide__benefits,
  .advantage-grid,
  .timeline,
  .category-grid,
  .project-grid,
  .product-grid,
  .footer__top,
  .listing-shell,
  .product-detail,
  .two-column,
  .cta-layout,
  .cart-layout,
  .page-hero__grid,
  .product-detail__bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-shell {
    grid-template-columns: 1fr;
  }

  .filters {
    position: static;
  }

  .cta-layout {
    grid-template-columns: 1fr;
  }

  .footer__top,
  .page-hero__grid,
  .product-detail,
  .cart-layout,
  .two-column,
  .product-detail__bottom {
    grid-template-columns: 1fr;
  }

  .page-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-card,
  .project-card--large {
    grid-template-columns: 1fr 180px;
  }
}

@media (max-width: 767px) {
  :root {
    --container: min(100% - 20px, 100%);
  }

  .site-header {
    padding: 14px 0;
  }

  .brand {
    min-width: auto;
  }

  .brand__top {
    font-size: 1.5rem;
    letter-spacing: 0.22em;
  }

  .brand__bottom {
    letter-spacing: 0.24em;
    font-size: 0.58rem;
  }

  .site-header__actions {
    align-items: stretch;
  }

  .site-header__phone {
    align-items: flex-start;
  }

  .cart-chip,
  .button--header {
    width: 100%;
    justify-content: center;
  }

  .section,
  .page-hero {
    padding: 40px 0 10px;
  }

  .hero {
    padding-top: 20px;
  }

  .home-hero {
    padding-top: 20px;
  }

  .hero-slider,
  .home-hero__panel,
  .feature-banner,
  .content-card,
  .filters,
  .not-found,
  .product-gallery,
  .product-info,
  .footer {
    padding: 18px;
  }

  .home-hero__panel {
    min-height: 0;
    padding: 0;
    border-radius: 30px;
    gap: 24px;
  }


  .home-hero__content h1 {
    max-width: none;
    font-size: clamp(2.5rem, 11vw, 3.4rem);
  }

  .home-hero__actions {
    flex-direction: column;
  }

  .home-hero__visual {
    min-height: 0;
    padding: 16px;
    gap: 14px;
  }

  .home-hero__logo {
    width: 100%;
    aspect-ratio: auto;
    min-height: 130px;
  }

  .home-hero__rings {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
    pointer-events: auto;
  }

  .home-hero__bubble,
  .home-hero__bubble:nth-child(1),
  .home-hero__bubble:nth-child(2),
  .home-hero__bubble:nth-child(3) {
    position: static;
    width: 100%;
    height: auto;
    min-height: 86px;
    grid-template-columns: auto 1fr;
    justify-items: start;
    border-radius: 24px;
    text-align: left;
    transform: none;
  }

  .home-hero__bubble:hover,
  .home-hero__bubble:nth-child(3):hover {
    transform: translateY(-2px);
  }

  .hero-slider__rail {
    min-height: 1140px;
  }

  .hero-slide__content {
    padding: 10px 2px 10px;
  }

  .hero-title__main {
    font-size: clamp(2.45rem, 8.7vw, 3.35rem);
    max-width: 7.5ch;
  }

  .hero-title__sub {
    max-width: none;
  }

  .hero-slide__text {
    max-width: none;
  }

  .hero-slide__benefits,
  .home-directions,
  .home-about,
  .category-grid,
  .advantage-grid,
  .timeline,
  .project-grid,
  .product-grid,
  .product-grid--compact,
  .page-hero__stats,
  .form-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .home-direction {
    min-height: 0;
    border-radius: 28px;
    padding: 24px 20px;
  }

  .home-about__media {
    min-height: 260px;
  }

  .hero-stage {
    min-height: 320px;
    padding: 18px;
  }

  .hero-stage__card {
    min-width: 132px;
    padding: 12px;
  }

  .hero-stage__card--top {
    top: 14px;
    left: 14px;
  }

  .hero-stage__card--bottom {
    right: 14px;
    bottom: 14px;
  }

  .hero-stage__note {
    left: 14px;
    bottom: 14px;
    padding: 12px 14px;
  }

  .hero-slide__quick {
    grid-template-columns: 1fr;
  }

  .feature-banner,
  .hero-slide__actions,
  .product-card__actions,
  .hero-slider__controls,
  .footer__bottom,
  .cart-item__footer,
  .not-found__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .project-card,
  .project-card--large,
  .cart-item {
    grid-template-columns: 1fr;
  }

  .product-card__visual {
    min-height: 220px;
  }

  .product-card__visual img,
  .project-card__image {
    max-height: 180px;
  }

  .product-gallery__main {
    min-height: 300px;
  }

  .product-gallery__main img {
    max-height: 240px;
  }

  .product-gallery__thumbs {
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .modal {
    padding: 12px;
  }

  .modal__dialog {
    padding: 20px;
  }

  .page-hero__grid {
    padding: 20px;
  }
}

/* Responsive cleanup */
@media (max-width: 1180px) {
  .site-header {
    padding-inline: 12px;
  }

  .site-header__inner {
    width: min(100%, var(--container));
    margin-inline: auto;
  }
}

@media (max-width: 900px) {
  :root {
    --container: min(100% - 28px, 100%);
  }

  h1 {
    font-size: clamp(2.35rem, 8vw, 3.25rem);
  }

  h2 {
    font-size: clamp(1.9rem, 6vw, 2.55rem);
  }

  h3 {
    font-size: clamp(1.28rem, 4.6vw, 1.65rem);
  }

  .section {
    padding: 46px 0;
  }

  .site-header {
    padding: 10px 0 8px;
  }

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px;
    border-radius: 22px;
  }

  .brand {
    min-width: 0;
  }

  .brand__image {
    width: min(160px, 45vw) !important;
    height: auto;
  }

  .burger {
    width: 42px;
    height: 42px;
  }

  .site-nav {
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    padding: 14px;
    gap: 10px;
  }

  .site-header__actions {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .site-header__phone {
    display: none;
  }

  .site-header__phone-caption,
  .cart-chip__label {
    display: none;
  }

  .cart-chip {
    min-height: 40px;
    padding: 6px 10px;
  }

  .button--header {
    width: 100%;
    min-height: 42px;
    padding-inline: 14px;
  }

  .home-hero,
  .hero,
  .page-hero {
    padding-top: 18px;
  }

  .home-hero__panel {
    min-height: 0;
    gap: 22px;
    padding: 0;
    border-radius: 30px;
  }


  .home-hero__content {
    gap: 18px;
  }

  .home-hero__content h1 {
    max-width: 12ch;
    font-size: clamp(2.45rem, 8.2vw, 4.2rem);
  }

  .home-hero__content p {
    font-size: 1rem;
  }

  .home-hero__visual {
    display: none;
  }

  .home-hero__bubble {
    width: 118px;
    height: 118px;
    padding: 14px;
  }

  .home-directions,
  .category-grid,
  .advantage-grid,
  .timeline,
  .project-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .category-toolbar__views {
    width: max-content;
  }

  .category-sort {
    width: min(280px, 100%);
  }

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

  .page-hero__grid,
  .product-detail,
  .listing-shell,
  .two-column,
  .cart-layout,
  .cta-layout,
  .footer__top {
    grid-template-columns: 1fr;
  }

  .page-hero__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 24px, 100%);
  }

  body {
    min-width: 0;
  }

  .section {
    padding: 38px 0;
  }

  .site-header__inner {
    border-radius: 18px;
  }

  .button {
    min-height: 48px;
    padding-inline: 18px;
  }

  .home-hero__panel,
  .hero-slider,
  .page-hero__grid,
  .feature-banner,
  .content-card,
  .filters,
  .not-found,
  .product-gallery,
  .product-info,
  .footer,
  .form-card {
    padding: 16px;
    border-radius: 22px;
  }

  .home-hero__content h1 {
    max-width: none;
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .home-hero__panel {
    padding: 0;
  }


  .home-hero__actions,
  .hero-slide__actions,
  .product-info__actions,
  .product-card__actions,
  .feature-banner,
  .cart-item__footer,
  .not-found__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-hero__visual {
    display: none;
  }

  .home-directions,
  .home-about,
  .category-grid,
  .advantage-grid,
  .timeline,
  .project-grid,
  .product-grid,
  .category-products__grid--compact,
  .product-grid--compact,
  .page-hero__stats,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .category-showcase {
    padding: 24px 0 42px;
  }

  .category-showcase__head {
    gap: 18px;
    margin-bottom: 22px;
  }

  .category-showcase__head .button {
    width: 100%;
  }

  .category-toolbar {
    gap: 14px;
  }

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

  .category-dot {
    width: 76px;
    height: auto;
    min-height: 98px;
    border-radius: 0;
  }

  .category-dot__icon {
    width: 66px;
    height: 66px;
  }

  .category-dot__label {
    font-size: 0.68rem;
    -webkit-line-clamp: 2;
  }

  .category-toolbar__views,
  .category-sort {
    width: 100%;
  }

  .view-button {
    flex: 1;
  }

  .category-products__grid--list .product-card {
    grid-template-columns: 1fr;
  }

  .category-products__grid--list .product-card__top {
    position: static;
  }

  .home-direction,
  .advantage-card,
  .timeline__item,
  .project-card,
  .category-card,
  .product-card {
    border-radius: 20px;
  }

  .home-direction {
    justify-items: start;
    min-height: 0;
    padding: 18px;
    text-align: left;
  }

  .home-about__media {
    min-height: 200px;
  }

  .home-about__photo {
    width: min(190px, 70%);
    padding: 24px;
  }

  .section-heading,
  .section-heading--wide {
    gap: 12px;
    margin-bottom: 20px;
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
  }

  .eyebrow::before {
    width: 24px;
  }

  .page-hero__grid {
    gap: 18px;
  }

  .page-hero__stats {
    display: none;
  }

  body[data-page="contacts"] .page-hero__grid {
    gap: 24px;
  }

  body[data-page="contacts"] .page-hero + .section {
    padding-top: 56px;
  }

  .contact-links {
    gap: 12px;
  }

  .contact-link {
    min-height: 76px;
    padding: 14px;
    border-radius: 20px;
  }

  .contact-link__icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }

  .stat-card {
    padding: 16px;
  }

  .product-card {
    gap: 12px;
    padding: 14px;
  }

  .product-card__visual {
    min-height: 180px;
    border-radius: 18px;
  }

  .product-card__visual img {
    max-height: 160px;
  }

  .product-card__tags {
    gap: 8px;
  }

  .product-card__tags span {
    min-height: 30px;
    padding-inline: 10px;
  }

  .project-card,
  .project-card--large,
  .cart-item {
    grid-template-columns: 1fr;
  }

  .project-card__image {
    width: 100%;
    max-height: 160px;
    margin-left: 0;
  }

  .product-gallery__main {
    min-height: 240px;
  }

  .product-gallery__main img {
    max-height: 210px;
  }

  .field__control {
    min-height: 48px;
    border-radius: 14px;
  }

  .modal__dialog {
    max-height: calc(100dvh - 24px);
    overflow: auto;
    border-radius: 22px;
  }
}

@media (max-width: 420px) {
  :root {
    --container: min(100% - 20px, 100%);
  }

  .site-header__actions {
    grid-template-columns: 1fr auto;
  }

  .site-header__phone-number {
    font-size: 0.8rem;
  }

  .cart-chip__count {
    width: 26px;
    height: 26px;
  }

  .button--header {
    min-height: 40px;
  }

  .home-hero__panel {
    padding: 0;
  }

  .home-hero__content h1 {
    font-size: clamp(2.05rem, 12vw, 2.7rem);
  }

  .footer__bottom {
    align-items: flex-start;
  }
}

@media (max-width: 980px) {
  .home-hero__panel {
    padding: 0;
  }

  .home-categories__grid {
    gap: 22px;
  }

  .home-category__media {
    width: min(190px, 100%);
    padding: 22px;
  }

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

@media (max-width: 720px) {


  .home-quick {
    padding-top: 12px;
  }

  .home-quick__rail {
    justify-content: flex-start;
  }

  .home-categories {
    padding-bottom: 34px;
  }

  .home-categories__grid {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .home-category__media {
    width: min(230px, 88%);
  }

  .home-about {
    padding: 16px;
    border-radius: 24px;
  }

  .home-about__media {
    min-height: 230px;
    border-radius: 22px;
  }

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

@media (max-width: 520px) {
  .home-quick__item {
    min-width: 74px;
    font-size: 0.72rem;
  }

  .home-benefits__grid {
    grid-template-columns: 1fr;
  }

  .home-benefit {
    min-height: 0;
  }
}

@media (max-width: 1180px) {
  .catalog-products--5,
  .catalog-products--4 {
    --catalog-columns: 3;
  }

  .catalog-controls {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .catalog-page {
    padding-top: 24px;
  }

  .catalog-head {
    grid-template-columns: 1fr;
  }

  .catalog-products--5,
  .catalog-products--4,
  .catalog-products--2 {
    --catalog-columns: 2;
  }

  .category-products__head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .catalog-products--5,
  .catalog-products--4,
  .catalog-products--2 {
    --catalog-columns: 1;
  }

  .catalog-page .category-dot {
    width: 74px;
    height: auto;
  }
}

/* Final adaptive layer */
@media (max-width: 900px) {
  :root {
    --container: min(100% - 24px, 100%);
  }

  body {
    overflow-x: hidden;
  }

  .site-shell {
    overflow: hidden;
  }

  .site-header {
    padding: 8px 0;
  }

  .site-header__inner {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    padding: 10px;
    border-radius: 20px;
  }

  .brand__image {
    width: min(128px, 42vw) !important;
    max-height: 52px;
    object-fit: contain;
    height: auto;
  }

  .burger {
    grid-column: 3;
    grid-row: 1;
    width: 42px;
    height: 42px;
  }

  .site-nav {
    left: 12px;
    right: 12px;
    top: calc(100% + 8px);
    gap: 4px;
    padding: 10px;
    border-radius: 18px;
  }

  .site-nav__link {
    min-height: 42px;
    display: flex;
    align-items: center;
  }

  .site-header__actions {
    grid-column: 2;
    grid-row: 1;
    display: block;
    width: auto;
  }

  .site-header__phone {
    display: none;
  }

  .cart-chip,
  .button--header {
    width: auto;
    min-height: 42px;
    border-radius: 999px;
  }

  .cart-chip {
    justify-content: center;
    padding: 6px;
  }

  .button--header {
    display: none;
  }

  .cart-chip__label {
    display: none;
  }

  .cart-chip__count {
    width: 30px;
    height: 30px;
  }

  .button--header {
    padding-inline: 14px;
    font-size: 0.9rem;
  }

  .section,
  .catalog-page,
  .category-showcase,
  .page-hero {
    padding-block: 28px;
  }

  .page-hero__grid,
  .home-about,
  .footer,
  .product-gallery,
  .product-info,
  .content-card,
  .form-card,
  .filters,
  .not-found {
    border-radius: 20px;
    padding: 16px;
  }

  .page-hero__stats {
    display: none;
  }

  .page-hero__tags,
  .product-info__meta,
  .product-card__tags,
  .subcategory-chips {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
  }

  .page-hero__tags > *,
  .product-info__meta > *,
  .product-card__tags > *,
  .subcategory-chips > * {
    flex: 0 0 auto;
  }

  .home-hero {
    padding-top: 14px;
  }

  .home-hero__panel {
    border-radius: 22px;
  }


  .home-quick__rail,
  .catalog-page .category-toolbar__chips,
  .category-toolbar__chips {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding-bottom: 8px;
  }

  .home-quick__item,
  .category-dot {
    flex: 0 0 auto;
  }

  .home-categories__grid,
  .home-about,
  .page-hero__grid,
  .product-detail,
  .listing-shell,
  .two-column,
  .cart-layout,
  .cta-layout,
  .footer__top {
    grid-template-columns: 1fr;
  }

  .home-categories__grid {
    max-width: 100%;
    gap: 18px;
  }

  .home-category {
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: center;
    justify-items: start;
    text-align: left;
    padding: 12px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(191, 133, 48, 0.12);
  }

  .home-category__media {
    grid-row: span 2;
    width: 96px;
    padding: 14px;
  }

  .home-category__media img {
    height: 72px;
    max-height: 72px;
  }

  .home-category > span:last-child {
    max-width: none;
  }

  .home-about__media {
    min-height: 220px;
  }

  .home-about__photo {
    width: min(210px, 70%);
    padding: 18px;
  }

  .home-benefits__grid,
  .advantage-grid,
  .timeline,
  .project-grid,
  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .catalog-head {
    margin-bottom: 18px;
  }

  .catalog-head p {
    margin-top: 8px;
  }

  .catalog-controls {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .catalog-filter,
  .catalog-view,
  .category-sort {
    min-width: 0;
    width: 100%;
  }

  .catalog-page .category-dot,
  .category-dot {
    width: 72px;
    height: auto;
    min-height: 94px;
    padding: 0;
  }

  .catalog-page .category-dot__icon,
  .category-dot__icon {
    width: 62px;
    height: 62px;
  }

  .catalog-page .category-dot__label,
  .category-dot__label,
  .category-dot__all {
    font-size: 0.68rem;
  }

  .category-toolbar__views {
    width: 100%;
    justify-content: space-between;
  }

  .catalog-page .view-button {
    width: 100%;
  }

  .category-sort select {
    width: 100%;
  }

  .catalog-products,
  .catalog-products--2,
  .catalog-products--4,
  .catalog-products--5,
  .category-products__grid,
  .category-products__grid--compact {
    --catalog-columns: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card,
  .category-card {
    border-radius: 20px;
    padding: 12px;
  }

  .category-card {
    grid-template-rows: 150px 1fr;
  }

  .category-card__media {
    padding: 14px;
  }

  .category-card__body {
    padding: 14px 4px 4px;
    gap: 10px;
  }

  .category-card__body p,
  .category-card__footer,
  .catalog-products .product-card p,
  .catalog-products .product-card__tags,
  .catalog-products .product-card__meta {
    display: none;
  }

  .product-card {
    gap: 10px;
  }

  .product-card__visual {
    min-height: 132px;
    height: 132px;
    border-radius: 16px;
  }

  .product-card__visual img {
    max-height: 118px;
  }

  .product-card__body {
    gap: 8px;
  }

  .product-card__body h3 {
    font-size: 0.96rem;
    line-height: 1.25;
  }

  .product-card__body h3 a {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }

  .product-card__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-card__actions .button {
    min-height: 40px;
    padding-inline: 8px;
    font-size: 0.82rem;
  }

  .product-card__actions .button svg {
    display: none;
  }

  .product-gallery__main {
    min-height: 260px;
  }

  .product-gallery__main img {
    max-height: 230px;
  }

  .product-info__actions,
  .home-about__actions,
  .cart-item__footer,
  .not-found__actions {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .cart-item {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .cart-item__image {
    height: 96px;
  }

  .footer__top {
    gap: 18px;
  }
}

@media (max-width: 520px) {
  :root {
    --container: min(100% - 20px, 100%);
  }

  h1 {
    font-size: clamp(2rem, 11vw, 2.75rem);
  }

  h2 {
    font-size: clamp(1.65rem, 8vw, 2.25rem);
  }

  .site-header__inner {
    border-radius: 18px;
  }

  .button--header {
    font-size: 0.84rem;
    padding-inline: 10px;
  }

  

  .home-benefits__grid,
  .advantage-grid,
  .timeline,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .product-grid,
  .catalog-products,
  .catalog-products--2,
  .catalog-products--4,
  .catalog-products--5,
  .category-products__grid,
  .category-products__grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card,
  .category-card {
    padding: 10px;
  }

  .product-card__visual {
    min-height: 116px;
    height: 116px;
  }

  .product-card__visual img {
    max-height: 104px;
  }

  .product-card__body h3 {
    font-size: 0.88rem;
  }

  .product-card__actions .button {
    min-height: 38px;
    font-size: 0.76rem;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .cart-item__image {
    width: 100%;
    height: 140px;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .catalog-products,
  .catalog-products--2,
  .catalog-products--4,
  .catalog-products--5,
  .category-products__grid,
  .category-products__grid--compact,
  .product-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }
}
