@font-face {
  font-family: 'Angst';
  src: url('../assets/fonts/Angst-Thin.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Angst';
  src: url('../assets/fonts/Angst-Normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Angst';
  src: url('../assets/fonts/Angst-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Angst Serif';
  src: url('../assets/fonts/Angst-ThinSerif.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Angst Serif';
  src: url('../assets/fonts/Angst-NormalSerif.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Angst Serif';
  src: url('../assets/fonts/Angst-BoldSerif.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --orange-900: #8a5a42;
  --orange-700: #c9784a;
  --orange-600: #dc8f5f;
  --orange-500: #e8ab7d;
  --orange-300: #f2c9a3;
  --orange-100: #fae4cf;
  --cream: #fffaf3;
  --cream-dark: #fdf1e3;
  --text: #5c4636;
  --text-light: #9c8673;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(138, 90, 66, 0.12);
  --radius: 18px;
  --font-body: 'Angst', system-ui, -apple-system, sans-serif;
  --font-heading: 'Angst Serif', Georgia, serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Пиксельные капли масла — декоративный фоновый слой */
.oil-drops {
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.drop {
  position: absolute;
  top: -30px;
  animation-name: dropFall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.drop__pixel {
  width: 3px;
  height: 3px;
  color: #e99532;
  background: currentColor;
  box-shadow:
    -3px 3px currentColor, 0px 3px currentColor, 3px 3px currentColor,
    -6px 6px currentColor, -3px 6px currentColor, 0px 6px currentColor, 3px 6px currentColor, 6px 6px currentColor,
    -6px 9px currentColor, -3px 9px currentColor, 0px 9px currentColor, 3px 9px currentColor, 6px 9px currentColor,
    -6px 12px currentColor, -3px 12px currentColor, 0px 12px currentColor, 3px 12px currentColor, 6px 12px currentColor,
    -3px 15px currentColor, 0px 15px currentColor, 3px 15px currentColor;
}

@keyframes dropFall {
  0% {
    transform: translateY(0) scale(var(--drop-scale, 1));
    opacity: 0;
  }
  8% {
    opacity: var(--drop-opacity, 0.5);
  }
  92% {
    opacity: var(--drop-opacity, 0.5);
  }
  100% {
    transform: translateY(105vh) scale(var(--drop-scale, 1));
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oil-drops {
    display: none;
  }
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.5;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1560px;
  margin: 0 auto;
  padding: 0 32px;
}

.section-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 700;
  color: var(--orange-900);
  margin-bottom: 40px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--orange-900), var(--orange-700));
  color: var(--white);
  padding: 13px 28px;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(138, 90, 66, 0.35);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(138, 90, 66, 0.45);
}

.btn--lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn--block {
  width: 100%;
}

.btn--outline {
  background: transparent;
  color: var(--orange-900);
  border: 2px solid var(--orange-700);
  padding: 11px 26px;
  font-size: 0.95rem;
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 240, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--orange-100);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
}

.logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 8px;
  color: var(--orange-900);
  flex-shrink: 0;
}

.logo__type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.logo__name {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.12;
}

.logo__caption {
  margin-top: 3px;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.08em;
}


.logo:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
  border-radius: 4px;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav__link:hover {
  color: var(--orange-900);
}

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

.cart-btn {
  position: relative;
  background: var(--orange-100);
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cart-btn:hover {
  background: var(--orange-300);
  transform: scale(1.05);
}

.cart-btn__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--orange-900);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--orange-900);
  margin: 0 auto;
  border-radius: 2px;
}

/* Наша философия */
.philosophy {
  padding: 88px 0;
  background: var(--cream);
  scroll-margin-top: 110px;
}

.philosophy__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.philosophy__eyebrow {
  display: block;
  margin-bottom: 24px;
  color: var(--orange-700);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.philosophy__intro h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
  color: var(--orange-900);
  margin: 0 0 32px;
}

.philosophy__signature {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 3px solid var(--orange-500);
  padding-left: 18px;
  color: var(--orange-900);
  font-weight: 700;
}

.philosophy__signature span {
  color: var(--text-light);
  font-size: 0.85em;
  font-weight: 400;
}

.philosophy__story p {
  margin: 0 0 20px;
  line-height: 1.8;
}

.philosophy__story .philosophy__lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--orange-900);
}

.philosophy__principles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.philosophy__principles span {
  border: 1px solid var(--orange-300);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8rem;
  color: var(--orange-900);
}

@media (max-width: 900px) {
  .philosophy { padding: 56px 0; }
  .philosophy__inner { grid-template-columns: 1fr; gap: 32px; }
  .philosophy__intro h2 { margin-bottom: 24px; }
  .philosophy__story .philosophy__lead { font-size: 1.1rem; }
}

/* Hero */
.hero {
  position: relative;
  padding: 100px 0 110px;
  overflow: hidden;
  background: linear-gradient(120deg, var(--cream-dark), var(--cream), var(--orange-100), var(--cream));
  background-size: 300% 300%;
  animation: heroGradient 22s ease infinite;
}

@keyframes heroGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 56px;
  text-align: left;
}

.hero__text {
  max-width: 540px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--orange-900);
  margin-bottom: 22px;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 36px;
}

.hero__media {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(138, 90, 66, 0.25);
  border: 6px solid var(--white);
  line-height: 0;
}

.hero__video {
  display: block;
  width: 100%;
  height: auto;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.4;
  mix-blend-mode: soft-light;
  z-index: 1;
}

.hero__blob--1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 30% 30%, var(--orange-300), transparent 70%);
  top: -180px;
  left: -120px;
  animation: blobFloat1 16s ease-in-out infinite;
}

.hero__blob--2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 70% 70%, var(--orange-500), transparent 70%);
  bottom: -200px;
  right: -100px;
  animation: blobFloat2 18s ease-in-out infinite;
}

@keyframes blobFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 50px) scale(1.1); }
}

@keyframes blobFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-35px, -40px) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .hero__blob--1,
  .hero__blob--2 {
    animation: none !important;
  }

  .hero__video {
    display: none;
  }
}

/* Poster */
.poster {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--cream), var(--orange-100));
}

.poster__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 64px;
}

.poster__frame {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
  transform-origin: 50% 0;
  transform: rotate(-4deg);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow:
    0 30px 50px rgba(90, 60, 40, 0.35),
    0 4px 10px rgba(90, 60, 40, 0.15);
}

.poster__frame:hover {
  transform: rotate(0deg);
  box-shadow:
    0 40px 60px rgba(90, 60, 40, 0.4),
    0 6px 14px rgba(90, 60, 40, 0.18);
}

.poster__pin {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f3c9a0, var(--orange-900) 75%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.poster__pin::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 14px;
  background: rgba(90, 60, 40, 0.3);
}

.poster__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 700 / 933;
  object-fit: cover;
  border-radius: 4px;
}

.poster__title {
  text-align: left;
  margin-bottom: 18px;
}

.poster__desc {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 30px;
  max-width: 460px;
}

@media (max-width: 760px) {
  .poster__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .poster__title {
    text-align: center;
  }

  .poster__desc {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Advantages */
.advantages {
  padding: 90px 0;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.advantage-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(122, 58, 15, 0.18);
}

.advantage-card__icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.advantage-card h3 {
  font-size: 1.1rem;
  color: var(--orange-900);
  margin-bottom: 10px;
}

.advantage-card p {
  font-size: 0.92rem;
  color: var(--text-light);
}

/* Catalog */
.catalog {
  padding: 40px 0 100px;
  background: var(--cream-dark);
}

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

.catalog__title {
  margin-bottom: 0;
  text-align: left;
}

.catalog__carousel-wrap {
  position: relative;
}

.carousel-arrow {
  position: absolute;
  top: 132px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--orange-900);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.carousel-arrow:hover {
  background: var(--orange-700);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
}

.carousel-arrow--prev {
  left: -18px;
}

.carousel-arrow--next {
  right: -18px;
}

.catalog__carousel-wrap:not(.is-carousel) .carousel-arrow {
  display: none;
}

.catalog__grid {
  gap: 20px;
}

.catalog__grid.is-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 12px 4px 28px;
  scroll-padding-inline: 4px;
}

.catalog__grid.is-carousel::-webkit-scrollbar {
  display: none;
}

.catalog__grid.is-carousel .product-card {
  flex: 0 0 280px;
  border-radius: 18px;
  box-shadow: 0 6px 20px rgba(138, 90, 66, 0.09);
  scroll-snap-align: start;
  animation: cardPop 0.7s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  transform: translateY(0) scale(1);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.catalog__grid.is-carousel .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(122, 58, 15, 0.15);
}

.catalog__grid.is-carousel .product-card__image {
  height: 240px;
}

.catalog__grid.is-carousel .product-card__body { padding: 16px; }
.catalog__grid.is-carousel .product-card__body h3 { font-size: 1rem; margin-bottom: 6px; }
.catalog__grid.is-carousel .product-card__desc { font-size: 0.82rem; margin-bottom: 12px; }
.catalog__grid.is-carousel .size-select { gap: 6px; margin-bottom: 12px; }
.catalog__grid.is-carousel .size-btn { padding: 8px 10px; font-size: 0.75rem; }
.catalog__grid.is-carousel .product-card__price { font-size: 1.05rem; }
.catalog__grid.is-carousel .add-btn { padding: 10px 14px; font-size: 0.8rem; }

.catalog__grid.is-carousel .product-card:hover .product-card__image img {
  transform: none;
}

.catalog__grid.is-carousel .product-card:nth-child(1) { animation-delay: 0s; }
.catalog__grid.is-carousel .product-card:nth-child(2) { animation-delay: 0.06s; }
.catalog__grid.is-carousel .product-card:nth-child(3) { animation-delay: 0.12s; }
.catalog__grid.is-carousel .product-card:nth-child(4) { animation-delay: 0.18s; }
.catalog__grid.is-carousel .product-card:nth-child(5) { animation-delay: 0.24s; }
.catalog__grid.is-carousel .product-card:nth-child(6) { animation-delay: 0.3s; }
.catalog__grid.is-carousel .product-card:nth-child(7) { animation-delay: 0.36s; }
.catalog__grid.is-carousel .product-card:nth-child(8) { animation-delay: 0.42s; }

@keyframes cardPop {
  0% {
    opacity: 0;
    transform: translateY(26px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .catalog__grid.is-carousel .product-card {
    animation: none;
    transform: none !important;
    transition: none;
  }
}

.catalog__grid:not(.is-carousel) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.product-card {
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 34px rgba(122, 58, 15, 0.2);
}

.product-card:hover .product-card__image img {
  transform: scale(1.06);
}

.product-card__image {
  height: 300px;
  overflow: hidden;
  position: relative;
  background: var(--orange-100);
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.4s ease;
}

.product-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__body h3 {
  font-size: 1.1rem;
  color: var(--orange-900);
  margin-bottom: 8px;
}

.product-card__desc {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 14px;
  flex: 1;
}

.size-select {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.size-btn {
  background: var(--cream);
  color: var(--text);
  border: 1.5px solid var(--orange-300);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.size-btn:hover {
  border-color: var(--orange-700);
}

.size-btn.active {
  background: var(--orange-900);
  border-color: var(--orange-900);
  color: var(--white);
}

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

.product-card__price {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--orange-900);
}

.product-card__stock {
  color: var(--orange-700);
  background: var(--cream);
  border: 1px solid var(--orange-300);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
}

.add-btn {
  background: var(--orange-100);
  color: var(--orange-700);
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.add-btn:hover {
  background: var(--orange-900);
  color: var(--white);
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--orange-700), var(--orange-900));
  color: var(--white);
  padding: 60px 0;
}

.cta-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 8px;
}

.cta-banner p {
  opacity: 0.9;
}

.cta-banner__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 600;
  text-align: right;
}

/* Footer */
.footer {
  position: relative;
  z-index: 2;
  background: var(--orange-900);
  color: var(--orange-100);
  padding: 50px 0 30px;
  text-align: center;
}

.logo--footer {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--orange-100);
}

.footer__text {
  max-width: 460px;
  margin: 0 auto 20px;
  opacity: 0.85;
  font-size: 0.9rem;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  transition: background 0.2s ease;
}

.footer__social a:hover {
  background: var(--orange-600);
}

.footer__copy {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(74, 46, 28, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 200;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Cart panel */
.cart-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--cream);
  z-index: 300;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  transition: right 0.35s ease;
}

.cart-panel.active {
  right: 0;
}

.cart-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--orange-100);
}

.cart-panel__header h2 {
  color: var(--orange-900);
  font-size: 1.3rem;
}

.close-btn {
  background: var(--orange-100);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  color: var(--orange-700);
  transition: background 0.2s ease;
}

.close-btn:hover {
  background: var(--orange-300);
}

.cart-panel__items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  color: var(--text-light);
  margin-top: 60px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cream-dark);
}

.cart-item__icon {
  width: 50px;
  height: 50px;
  object-fit: cover;
  object-position: center 30%;
  background: var(--orange-100);
  border-radius: 12px;
  flex-shrink: 0;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__info h4 {
  font-size: 0.92rem;
  color: var(--text);
  margin-bottom: 4px;
  font-weight: 700;
}

.cart-item__volume {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}

.cart-item__price {
  font-size: 0.85rem;
  color: var(--orange-900);
  font-weight: 700;
}

.cart-item__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--orange-300);
  background: var(--white);
  color: var(--orange-700);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.qty-btn:hover {
  background: var(--orange-100);
}

.cart-item__remove {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.9rem;
  margin-left: 6px;
}

.cart-item__remove:hover {
  color: var(--orange-700);
}

.cart-panel__footer {
  padding: 20px 24px 26px;
  border-top: 1px solid var(--orange-100);
}

.cart-panel__total {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--orange-900);
  margin-bottom: 16px;
}

/* Modal */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: 92%;
  max-width: 460px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--white);
  border-radius: var(--radius);
  z-index: 400;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 30px 60px rgba(74, 46, 28, 0.3);
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.modal__box {
  position: relative;
}

.modal__box h2 {
  color: var(--orange-900);
  margin-bottom: 22px;
}

.modal .close-btn {
  position: absolute;
  top: -8px;
  right: -8px;
}

.field {
  display: block;
  margin-bottom: 16px;
}

.field span {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--orange-100);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--cream);
  resize: vertical;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange-500);
}

.modal__summary {
  font-size: 0.85rem;
  color: var(--text-light);
  background: var(--cream);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 18px;
}

.modal__error {
  display: none;
  font-size: 0.85rem;
  color: #b3261e;
  background: #fbe4e2;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.modal__error.active {
  display: block;
}

.btn--primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.modal__success {
  display: none;
  text-align: center;
  padding: 20px 0 6px;
}

.modal__success.active {
  display: block;
}

.modal__success-icon {
  font-size: 2.6rem;
  margin-bottom: 14px;
}

.modal__success h3 {
  color: var(--orange-900);
  margin-bottom: 8px;
}

.modal__success p {
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Responsive */
@media (min-width: 761px) and (max-width: 1100px) {
  .nav {
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--orange-100);
    transition: max-height 0.3s ease, padding 0.3s ease;
    z-index: 99;
  }
  .nav.active { max-height: 360px; padding: 12px 0 20px; }
  .nav__link { padding: 12px 0; width: 100%; text-align: center; }
  .burger { display: flex; }
}

@media (max-width: 900px) {
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog__grid.is-carousel .product-card {
    flex-basis: 260px;
  }
}

@media (max-width: 760px) {
  .header__inner {
    padding-left: 18px;
    padding-right: 18px;
    gap: 12px;
  }

  .header .logo {
    gap: 3px;
  }

  .header .logo__name {
    font-size: 17px;
  }

  .header .logo__caption {
    font-size: 9px;
    letter-spacing: 0.025em;
  }


  .header__actions {
    gap: 10px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__text {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero__media {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }

  .nav {
    position: fixed;
    top: 96px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--orange-100);
    transition: max-height 0.3s ease, padding 0.3s ease;
    z-index: 99;
  }

  .nav.active {
    max-height: 360px;
    padding: 12px 0 20px;
  }

  .nav__link {
    padding: 12px 0;
    width: 100%;
    text-align: center;
  }

  .burger {
    display: flex;
  }

  .cta-banner__inner {
    text-align: center;
    justify-content: center;
  }

  .cta-banner__contacts {
    text-align: center;
  }

  .catalog__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .carousel-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.8rem;
  }

  .carousel-arrow--prev {
    left: 4px;
  }

  .carousel-arrow--next {
    right: 4px;
  }
}

@media (max-width: 560px) {
  .advantages__grid {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    max-width: 100%;
    right: -100%;
  }

  .modal {
    padding: 26px 22px;
  }

  .hero__media {
    display: none;
  }

  .catalog__grid.is-carousel .product-card {
    flex: 0 0 min(260px, 88%);
  }

  .catalog__grid.is-carousel .product-card__image { height: 220px; }
  .carousel-arrow { top: 122px; }
}


