.click-spark-shell {
  min-height: 100%;
  width: 100%;
}

:root {
  --bg: #fcfbf8;
  --text: #2b140c;
  --red: #6f1f1e;
  --cream: #f5efe3;
  --brown: #3c1b0f;
  --muted-red: #8d3e34;
  --shadow: 0 12px 26px rgba(20, 10, 8, 0.16);
  --ny-pine: #0c4d2e;
  --ny-gold: #c9923a;
  --ny-gold-light: #f5e6c8;
  --ny-ruby: #8f2b29;
  --ny-night: #1a1210;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: "Manrope", sans-serif; background: var(--bg); color: var(--text); scroll-behavior: smooth; }
body {
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(126, 38, 37, 0.08) 0 2px, transparent 3px),
    radial-gradient(circle at 82% 28%, rgba(126, 38, 37, 0.07) 0 2px, transparent 3px),
    radial-gradient(circle at 28% 72%, rgba(126, 38, 37, 0.06) 0 2px, transparent 3px),
    radial-gradient(circle at 68% 86%, rgba(126, 38, 37, 0.05) 0 2px, transparent 3px);
  opacity: 0.8;
}
a { color: inherit; text-decoration: none; }
/* section-reveal — см. ios-motion.css */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.38s ease,
    box-shadow 0.32s ease;
  background: transparent;
  backdrop-filter: none;
}
.site-header.scrolled {
  box-shadow: 0 10px 28px rgba(19, 10, 8, 0.18);
}
.site-header--split .header-brand {
  width: 100%;
  background: linear-gradient(180deg, #fcfaf7 0%, #f5ebe3 100%);
  border-bottom: 1px solid rgba(126, 38, 37, 0.1);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.75);
  transition:
    background 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.38s ease,
    box-shadow 0.32s ease;
}
.site-header--split.scrolled .header-brand {
  background: linear-gradient(180deg, rgba(252, 250, 247, 0.92) 0%, rgba(245, 235, 227, 0.94) 100%);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  border-bottom-color: rgba(126, 38, 37, 0.14);
}
.site-header--split.scrolled .header-nav {
  background: linear-gradient(
    120deg,
    rgba(143, 43, 41, 0.94) 0%,
    rgba(116, 36, 34, 0.96) 52%,
    rgba(94, 28, 27, 0.97) 100%
  );
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  box-shadow: 0 8px 20px rgba(43, 20, 12, 0.14);
}
.site-header--split .header-top {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 14px clamp(12px, 1.6vw, 20px);
}
.site-header--split .logo-text strong {
  color: #4a312d;
}
.site-header--split .logo-text small {
  color: #7a6660;
}
.site-header--split .logo-badge {
  background: linear-gradient(135deg, #8a2524, #4e1514);
  color: #fff;
  box-shadow: 0 6px 14px rgba(126, 38, 37, 0.28);
}
.site-header--split .contact-item {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(126, 38, 37, 0.14);
  color: #4a312d;
}
.site-header--split .contact-item i {
  background: rgba(126, 38, 37, 0.12);
  color: #7e2625;
}
.site-header--split .contact-item:hover {
  color: #4a312d;
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(126, 38, 37, 0.36);
}
.site-header--split .contact-item:hover i {
  background: #7e2625;
  color: #fff;
}
.site-header--split .burger-btn {
  background: #7e2625;
  border: none;
}
.site-header--split .header-nav {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 7px clamp(12px, 1.6vw, 20px) 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  background: linear-gradient(120deg, #8f2b29 0%, #742422 52%, #5e1c1b 100%);
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  box-shadow: none;
  transition:
    background 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.38s ease,
    box-shadow 0.32s ease;
}
.site-header--split .nav-link {
  color: rgba(255, 248, 240, 0.94);
  font-size: 13px;
  padding: 9px 13px;
}
.site-header--split .nav-link::before {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.9) 18%,
    rgba(255, 255, 255, 0.9) 68%,
    rgba(255, 255, 255, 0.2) 92%,
    rgba(255, 255, 255, 0) 100%
  );
}
.site-header--split .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.site-header--split .nav-link.active {
  color: #6d211f;
  background: linear-gradient(180deg, #fff9f3 0%, #f3e4d7 100%);
  box-shadow: 0 4px 14px rgba(18, 6, 5, 0.24);
}
.site-header--split .nav-link.active::before {
  background: linear-gradient(
    90deg,
    rgba(109, 33, 31, 0) 0%,
    rgba(109, 33, 31, 0.55) 20%,
    rgba(109, 33, 31, 0.55) 70%,
    rgba(109, 33, 31, 0.15) 92%,
    rgba(109, 33, 31, 0) 100%
  );
}

/* Акцентные пункты меню: Корзина и Избранное */
.site-header--split .nav-link--accent {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 214, 150, 0.42);
  background: rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 4px 14px rgba(12, 4, 4, 0.18);
  isolation: isolate;
}
.site-header--split .nav-link--accent::before {
  display: none;
}
.site-header--split .nav-link--accent::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.22) 48%,
    transparent 56%
  );
  transform: translateX(-130%);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 0;
}
.site-header--split .nav-link--accent:hover::after {
  transform: translateX(130%);
}
.site-header--split .nav-link--accent .nav-link__icon {
  position: relative;
  z-index: 1;
}
.site-header--split .nav-link__icon {
  font-size: 0.9em;
  line-height: 1;
  transition: transform 0.28s ease, color 0.28s ease;
}
.site-header--split .nav-link--favorites {
  border-color: rgba(255, 186, 186, 0.48);
  background: rgba(255, 255, 255, 0.09);
}
.site-header--split .nav-link--favorites .nav-link__icon {
  color: #ffd0d0;
}
.site-header--split .nav-link--favorites:hover {
  border-color: rgba(255, 205, 205, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 6px 18px rgba(12, 4, 4, 0.22),
    0 0 14px rgba(255, 160, 160, 0.22);
}
.site-header--split .nav-link--favorites:hover .nav-link__icon {
  animation: navHeartPop 0.5s ease;
}
.site-header--split .nav-link--cart {
  border-color: rgba(255, 220, 160, 0.5);
}
.site-header--split .nav-link--cart .nav-link__icon {
  color: #ffe8b8;
}
.site-header--split .nav-link--cart:hover {
  border-color: rgba(255, 232, 190, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 6px 18px rgba(12, 4, 4, 0.22),
    0 0 16px rgba(255, 210, 140, 0.2);
}
.site-header--split .nav-link--cart:hover .nav-link__icon {
  transform: translateY(-1px) scale(1.08);
}
@keyframes navHeartPop {
  0%,
  100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.2);
  }
}
.site-header--split .nav-link--accent.active {
  border-color: rgba(255, 248, 240, 0.9);
  color: #6d211f;
  background: linear-gradient(180deg, #fff9f3 0%, #f3e4d7 100%);
  box-shadow: 0 4px 14px rgba(18, 6, 5, 0.24);
}
.site-header--split .nav-link--accent.active .nav-link__icon {
  color: #7e2625;
}
.site-header--split .nav-link--accent.active::after {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-header--split .nav-link--accent::after,
  .site-header--split .nav-link--favorites:hover .nav-link__icon {
    animation: none;
    transition: none;
  }
  .site-header--split .nav-link--accent:hover::after {
    transform: none;
  }
}

.site-header--hero {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}
.site-header--hero .header-brand,
.site-header--hero .header-nav {
  filter: brightness(0.78) saturate(0.92);
  opacity: 0.9;
  transition: filter 0.32s ease, opacity 0.32s ease, background 0.32s ease, border-color 0.32s ease;
}
.site-header--hero:hover .header-brand,
.site-header--hero:hover .header-nav,
.site-header--hero:focus-within .header-brand,
.site-header--hero:focus-within .header-nav {
  filter: brightness(1.05) saturate(1);
  opacity: 1;
}
.site-header--hero .logo-text strong,
.site-header--hero .logo-text small,
.site-header--hero .nav-link,
.site-header--hero .contact-item {
  color: #fff8f0;
}
.site-header--hero .logo-text small {
  color: rgba(255, 244, 232, 0.82);
}
.site-header--hero .contact-item {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}
.site-header--hero .contact-item:hover {
  color: #4a312d;
}
.site-header--hero .contact-item:hover i {
  background: #7e2625;
  color: #fff;
}
.site-header--hero .contact-item i {
  background: rgba(255, 255, 255, 0.2);
  color: #fff4e8;
}
.site-header--hero .header-nav {
  background: rgba(22, 10, 8, 0.28);
  border-color: rgba(255, 255, 255, 0.22);
}
.site-header--hero .nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}
.site-header--hero .dropdown-menu {
  background: rgba(252, 251, 248, 0.98);
}
.site-header--hero .dropdown-menu a {
  color: var(--text);
}
.header-top, .header-nav { max-width: 1360px; margin: 0 auto; display: flex; align-items: center; }
.header-top { justify-content: space-between; gap: 14px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-badge { width: 48px; height: 48px; display: grid; place-items: center; background: linear-gradient(135deg, #8a2524, #4e1514); color: #fff; font-weight: 800; border-radius: 12px; }
.logo-text small { display: block; color: #7a6660; font-size: 12px; }
.contact-grid { display: flex; align-items: center; gap: 7px 14px; flex-wrap: wrap; justify-content: flex-end; }
.contact-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(126, 38, 37, 0.14);
  color: #4a312d;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
  position: relative;
  overflow: hidden;
}
.contact-item i {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  background: rgba(126, 38, 37, 0.12);
  color: #7e2625;
  font-size: 11px;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}
.contact-item::after {
  content: "";
  position: absolute;
  left: -30%;
  top: 0;
  width: 26%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
  transition: transform 0.45s ease;
}
.contact-item:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 38, 37, 0.36);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 16px rgba(36, 17, 12, 0.12);
}
.contact-item:hover i {
  transform: scale(1.08);
  background: #7e2625;
  color: #fff;
}
.contact-item:hover::after {
  transform: translateX(470%);
}
.messengers a { width: 30px; height: 30px; display: inline-grid; place-items: center; color: #fff; margin-left: 4px; transition: 0.2s; border-radius: 8px; }
.messengers a[aria-label="Telegram"] { background: #229ed9; }
.messengers a[aria-label="Viber"] { background: #7360f2; }
.messengers a[aria-label="WhatsApp"] { background: #25d366; }
.messengers a:hover { transform: translateY(-2px) scale(1.05); filter: brightness(1.06); }
.burger-btn { display: none; border: 0; background: #7e2625; color: #fff; width: 36px; height: 36px; border-radius: 8px; }
.nav-link {
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.nav-link::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 3px;
  background: linear-gradient(
    90deg,
    rgba(126, 38, 37, 0) 0%,
    rgba(126, 38, 37, 0.95) 18%,
    rgba(181, 63, 61, 0.95) 68%,
    rgba(181, 63, 61, 0.2) 92%,
    rgba(181, 63, 61, 0) 100%
  );
  border-radius: 999px;
  transform: scaleX(0.08) translateX(-18px);
  transform-origin: left;
  opacity: 0;
  filter: blur(0.1px);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.34s ease;
}
.nav-link:hover {
  color: #7e2625;
  background: #f8ede1;
  transform: translateY(-1px);
}
.nav-link:hover::before {
  transform: scaleX(1) translateX(0);
  opacity: 1;
}
.nav-link.active {
  color: #fff;
  background: linear-gradient(120deg, #7e2625, #9f3634);
  box-shadow: 0 8px 16px rgba(126, 38, 37, 0.28);
}
.nav-link.active::before {
  transform: scaleX(1) translateX(0);
  opacity: 1;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.95) 20%,
    rgba(255, 255, 255, 0.95) 70%,
    rgba(255, 255, 255, 0.2) 92%,
    rgba(255, 255, 255, 0) 100%
  );
}
.nav-btn { border: 0; background: transparent; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: inherit; }
.dropdown { position: relative; }
.arrow { transition: transform 0.3s ease; }
.dropdown.open .arrow { transform: rotate(180deg); }
.dropdown-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; width: 290px; background: #fff; border: 1px solid #e8d9c9; box-shadow: var(--shadow); padding: 8px; }
.dropdown.open .dropdown-menu, .dropdown:hover .dropdown-menu { display: block; }
.dropdown:hover .arrow { transform: rotate(180deg); }
.dropdown-menu a { display: block; padding: 9px 10px; }
.dropdown-menu a:hover { background: #f9f0e6; }

.hero {
  --hero-gutter: clamp(10px, 1.4vw, 16px);
  min-height: 100svh;
  width: 100%;
  max-width: none;
  padding: var(--hero-gutter);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.hero-slider {
  width: 100%;
  max-width: none;
  margin: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--hero-gutter) * 2);
}
.primary-btn { border: 0; padding: 12px 18px; background: linear-gradient(135deg, #6f1f1e, #9a3d33); color: #fff; font-weight: 700; cursor: pointer; transition: transform 0.2s, filter 0.2s; border-radius: 10px; }
.primary-btn:hover { transform: translateY(-2px); filter: saturate(1.2); }
.no-anim,
.no-anim:hover { transform: none !important; filter: none !important; transition: none !important; }
.hero-image {
  --hero-cta-shift-x: -500px;
  --hero-cta-shift-y: 170px;
  flex: 1 1 auto;
  min-height: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(22, 10, 8, 0.22);
  animation: heroSlideFade 0.55s ease;
}
@keyframes heroSlideFade {
  from {
    opacity: 0.88;
    transform: scale(1.02);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 8, 6, 0.58), rgba(17, 8, 6, 0.12) 55%, rgba(17, 8, 6, 0.08));
  pointer-events: none;
  z-index: 1;
}
.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}
.hero-nav--prev {
  left: clamp(12px, 2vw, 22px);
}
.hero-nav--next {
  right: clamp(12px, 2vw, 22px);
}
.hero-nav:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  transform: translateY(-50%);
}
.hero-nav:active {
  transform: translateY(-50%);
}
.hero-nav i {
  font-size: 15px;
}
.hero-cta {
  position: absolute;
  z-index: 4;
  left: calc(50% + var(--hero-cta-shift-x, -500px));
  bottom: calc(clamp(28px, 5vw, 48px) + var(--hero-cta-shift-y, 170px));
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.hero-cta__label {
  position: relative;
  z-index: 1;
}
.hero-cta__icon {
  position: relative;
  z-index: 1;
  font-size: 1.05em;
}
.review-nav {
  width: 40px;
  height: 40px;
  border: 0;
  color: #fff;
  background: #7e2625;
  cursor: pointer;
  border-radius: 10px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.section { max-width: 1360px; margin: 0 auto; padding: 72px 24px 34px; }
.hero + .section,
.section + .section,
.section + .site-footer {
  margin-top: 28px;
}
.section-head p { margin: 0; color: #875e55; font-weight: 700; }
.section-head h3 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  position: relative;
  display: inline-block;
  padding-right: 50px;
}
.section-head h3::after {
  content: "✦";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(126, 38, 37, 0.45);
  font-size: 18px;
}

.section-packaging,
.section-hits,
.section-factories,
.section-clients,
.section-factories-clients {
  position: relative;
  z-index: 0;
  border-radius: 0;
  padding: 64px 24px 34px;
  border-top: 1px solid rgba(126, 38, 37, 0.08);
  border-bottom: 1px solid rgba(126, 38, 37, 0.08);
}
.section-packaging::before,
.section-hits::before,
.section-factories::before,
.section-clients::before,
.section-factories-clients::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  transform: translateX(-50%);
  z-index: -1;
}
.section-packaging::before {
  background: transparent;
}
.section-hits::before {
  background: transparent;
}
.section-factories::before {
  background: linear-gradient(140deg, #faf5ed, #f2e9da);
}
.section-factories-clients::before {
  background: linear-gradient(140deg, #faf5ed, #f2e9da);
}
.section-clients::before {
  background: transparent;
}

.section-factories-clients .factories-clients-block--clients {
  margin-top: clamp(36px, 4.5vw, 52px);
}

.section-factories-clients .factories-clients-block .section-head {
  position: relative;
  z-index: 1;
}

.section-factories-clients .clients-panel {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.packaging-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 18px;
  overflow: visible;
}
.pack-card {
  position: relative;
  overflow: visible;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  grid-column: span 2;
  min-height: 248px;
  padding: 16px 16px 52px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 24px;
  border: 0;
  box-shadow: none;
  transition: transform 0.25s ease;
}
.pack-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.22) 0 10px, transparent 11px),
    radial-gradient(circle at 84% 20%, rgba(255,255,255,0.18) 0 7px, transparent 8px),
    radial-gradient(circle at 26% 74%, rgba(255,255,255,0.16) 0 6px, transparent 7px),
    radial-gradient(circle at 70% 82%, rgba(255,255,255,0.14) 0 5px, transparent 6px);
  pointer-events: none;
  opacity: 0.95;
}
.pack-card::after {
  content: "●";
  position: absolute;
  left: 16px;
  top: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  letter-spacing: 0.2em;
}
.pack-cutout {
  position: absolute;
  right: -14px;
  bottom: -18px;
  width: 64%;
  max-height: 88%;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.3));
  pointer-events: none;
  user-select: none;
}
.pack-cutout { z-index: 1; }
.pack-card .pack-kicker {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.01em;
  font-weight: 600;
  max-width: 72%;
}
.pack-card .pack-title {
  margin: 8px 0 0;
  font-size: clamp(27px, 2.5vw, 38px);
  line-height: 1.03;
  max-width: 74%;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
}
.pack-card .pack-meta {
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 4;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 6px 10px;
  max-width: min(46%, 200px);
  box-sizing: border-box;
}
.pack-card > *:not(.pack-cutout):not(.pack-card__cta):not(.pack-meta):not(.pack-cutout-slot) {
  position: relative;
  z-index: 2;
}
.pack-card__cta {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  border: 1.5px solid rgba(255, 214, 150, 0.55);
  background: linear-gradient(180deg, #d43636 0%, #b22424 48%, #8f1a1a 100%);
  box-shadow:
    0 4px 14px rgba(12, 4, 4, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}
.pack-card__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 8px 18px rgba(12, 4, 4, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.pack-card:hover {
  transform: translateY(-4px);
}
.pack-span-4 {
  grid-column: span 4;
}
.pack-span-2 {
  grid-column: span 2;
}
.pack-card--carton {
  min-height: 292px;
}
.pack-card--metal {
  min-height: 380px;
}
.pack-card--tube {
  min-height: 420px;
}
.pack-card--plush {
  min-height: 420px;
}
.pack-card--pouch {
  min-height: 218px;
}
.pack-card--wood {
  min-height: 268px;
}
.pack-card--felt {
  min-height: 242px;
}
.pack-blue { background: linear-gradient(145deg, #5b8def, #1e4fbf); }
.pack-orange { background: linear-gradient(145deg, #ffb347, #e85d04); }
.pack-choco { background: linear-gradient(145deg, #8b5a3c, #3d2314); }
.pack-violet { background: linear-gradient(145deg, #b56bff, #6b2fb8); }
.pack-pink { background: linear-gradient(145deg, #ff7eb3, #d63384); }
.pack-yellow {
  background: linear-gradient(145deg, #ffe08a 0%, #f0b429 55%, #d4920f 100%);
  color: #3d2e12;
}
.pack-green {
  background: linear-gradient(145deg, #5dc076 0%, #2e9e52 55%, #1f7a3d 100%);
}
.pack-sky {
  background: linear-gradient(145deg, #a8e4f5 0%, #5bbde0 55%, #2a9ec7 100%);
}
.pack-beige {
  background: linear-gradient(145deg, #f5e6d3 0%, #dfc4a8 55%, #c4a078 100%);
  color: #3d2a1c;
}
.pack-green-light {
  background: linear-gradient(145deg, #b8e8c4 0%, #78cf8f 55%, #4db56e 100%);
  color: #1a3d24;
}
.pack-coral {
  background: linear-gradient(145deg, #f0a894 0%, #d9725c 55%, #b84e3a 100%);
}
.pack-felt { background: linear-gradient(145deg, #f3c969, #b86b2c); }
.pack-yellow .pack-title,
.pack-beige .pack-title,
.pack-green-light .pack-title {
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.35);
}
.pack-yellow .pack-meta,
.pack-beige .pack-meta,
.pack-green-light .pack-meta {
  color: inherit;
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(0, 0, 0, 0.08);
}
.pack-yellow::after,
.pack-beige::after,
.pack-green-light::after {
  color: rgba(0, 0, 0, 0.28);
}

.products-row {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(5, minmax(230px, 1fr));
  gap: 10px;
  overflow-x: auto;
  max-width: 100%;
  padding-bottom: 4px;
  scrollbar-gutter: stable;
  align-items: stretch;
}
.products-row--wrap {
  overflow-x: visible;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  padding-bottom: 0;
}
.products-row--wrap > .product-card.is-catalog-hidden,
.products-row--wrap > .product-card[hidden] {
  display: none !important;
}

.catalog-load-more-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 22px 0 8px;
}

.catalog-load-more-wrap[hidden] {
  display: none !important;
}

.catalog-load-more {
  appearance: none;
  border: 1px solid #d8c4b5;
  background: #fff;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  color: #5a463e;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-load-more:hover {
  transform: translateY(-1px);
  border-color: #b58672;
  box-shadow: 0 4px 10px rgba(108, 64, 51, 0.1);
}

.catalog-load-more-hint {
  margin: 0;
  font-size: 13px;
  color: #8a7368;
}
.click-spark-shell {
  width: 100%;
  min-height: 0;
}
.product-card {
  background: #fffdf8;
  border: 1px solid #e8d8c8;
  padding: 12px;
  min-width: 230px;
  height: 100%;
  position: relative;
  transition: transform 0.2s, filter 0.25s ease, opacity 0.25s ease;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
}
.product-card.is-sold-out {
  filter: grayscale(1);
  opacity: 0.62;
  cursor: not-allowed;
  pointer-events: none;
  border-color: #cfc7c0;
  background: #f0eeeb;
}
.product-card.is-sold-out .product-card__title,
.product-card.is-sold-out .product-card__weight,
.product-card.is-sold-out .product-card__packaging-type,
.product-card.is-sold-out .price {
  color: #8a8480;
}
.product-card.is-sold-out .media-placeholder__img {
  opacity: 0.85;
}
.product-card.is-sold-out:hover {
  transform: none;
  box-shadow: none;
}
.product-card.is-sold-out:hover::before,
.product-card.is-sold-out:hover::after {
  opacity: 0;
  animation: none;
}
.product-card__body {
  flex: 1 1 auto;
  min-height: 0;
}
.product-card__title {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  color: #2f140c;
  min-height: calc(1.25em * 2);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.product-card__meta-slot {
  min-height: 22px;
  margin-bottom: 4px;
}
.product-card__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  font-size: 13px;
  line-height: 1.35;
  color: #111111;
  font-weight: 600;
}
.product-card__weight {
  display: inline;
  color: #111111;
}
.product-card__weight-label {
  color: #96827a;
  font-weight: 500;
  margin-right: 4px;
}
.product-card__meta-sep {
  color: #888888;
  font-weight: 400;
  user-select: none;
}
.product-card__packaging-type {
  color: #111111;
  font-weight: 600;
}
.product-card--simple .product-card__meta-slot {
  min-height: 0;
}
.product-card__bottom {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.product-card__composition-slot {
  min-height: 72px;
  margin-bottom: 0;
  align-content: flex-end;
  align-items: flex-end;
}
.product-card__composition-slot--fill {
  display: flex;
  align-items: flex-end;
  padding-bottom: 2px;
}
.product-card__fill {
  margin: 0;
  width: 100%;
  font-size: 12px;
  line-height: 1.48;
  font-weight: 500;
  color: #7a655c;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card--simple .product-card__bottom {
  margin-top: auto;
}
.product-card__footer {
  margin-top: 0;
}
.product-badges {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  max-width: calc(100% - 52px);
  pointer-events: none;
}
.product-badges .product-badge {
  position: static;
  left: auto;
  top: auto;
  right: auto;
}
.product-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 3;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #7e2625, #a5483d);
  padding: 5px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 10px rgba(77, 23, 20, 0.2);
  white-space: nowrap;
}
.product-badge--discount {
  background: linear-gradient(135deg, #b8860b, #e8c547);
  color: #2a1810;
  box-shadow: 0 6px 10px rgba(120, 85, 10, 0.22);
}
.product-badge--muted {
  background: rgba(80, 80, 80, 0.88);
  color: #fff;
}
.product-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 10px;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 229, 179, 0.35), rgba(255, 229, 179, 0) 55%);
  transition: opacity 0.25s ease;
}
.product-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 34%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.45), rgba(255,255,255,0));
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 24px rgba(126, 38, 37, 0.14), 0 0 18px rgba(255, 215, 146, 0.35);
}
.product-card:hover::before { opacity: 1; }
.product-card:hover::after {
  opacity: 1;
  animation: cardShine 0.9s ease;
}
.fav-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  border: 0;
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.85);
  color: #7e2625;
  cursor: pointer;
  border-radius: 50%;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 16px rgba(27, 13, 10, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.fav-btn:hover {
  transform: translateY(-1px) scale(1.05);
  box-shadow: 0 10px 18px rgba(27, 13, 10, 0.24);
}
.fav-btn.active {
  background: linear-gradient(135deg, #7e2625, #b43e3c);
  color: #fff;
}
.product-media {
  position: relative;
  margin: -12px -12px 10px;
  flex-shrink: 0;
}
.product-media .media-placeholder {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  box-sizing: border-box;
  background: linear-gradient(165deg, #fffefb 0%, #f7efe4 100%);
  border: none;
  border-bottom: 1px solid #ebdccc;
  border-radius: 11px 11px 0 0;
  overflow: hidden;
}
.media-placeholder__stack {
  position: absolute;
  inset: 8px 6px;
  z-index: 1;
}
.media-placeholder__stack .media-placeholder__img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.media-placeholder__stack .media-placeholder__img.is-active {
  opacity: 1;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  .media-placeholder__stack .media-placeholder__img {
    transition: none;
  }
}
.media-placeholder__img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
  user-select: none;
}
.product-media .media-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  border: 0;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.22);
  color: rgba(126, 38, 37, 0.55);
  cursor: pointer;
  border-radius: 50%;
  display: grid;
  place-items: center;
  backdrop-filter: blur(2px);
  box-shadow: none;
  opacity: 0;
  pointer-events: none;
  transition: none;
}
.product-media .media-prev {
  left: 8px;
}
.product-media .media-next {
  right: 8px;
}
.product-media:hover .media-arrow {
  opacity: 0.92;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.88);
  color: #7e2625;
  box-shadow: 0 6px 14px rgba(38, 20, 16, 0.14);
}
.product-media .media-arrow:hover {
  opacity: 1;
  background: #fff;
  color: #7e2625;
  transform: translateY(-50%);
}
.media-quick-view {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 3;
  margin: 0 auto;
  width: fit-content;
  max-width: calc(100% - 16px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(43, 20, 12, 0.58);
  color: #fff8f0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 18px rgba(22, 10, 8, 0.22);
  transform: none !important;
  transition: none !important;
  animation: none !important;
}
.product-media:hover .media-quick-view {
  opacity: 1;
  pointer-events: auto;
  transform: none !important;
}
.media-quick-view:hover,
.media-quick-view:active,
.media-quick-view:focus,
.media-quick-view:focus-visible {
  background: rgba(126, 38, 37, 0.88);
  transform: none !important;
  transition: none !important;
  animation: none !important;
}
.media-quick-view i {
  font-size: 10px;
  flex-shrink: 0;
  opacity: 0.92;
}

/* legacy single-column arrows (if used elsewhere) */
.media-arrow {
  border: 0;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.85);
  color: #7e2625;
  cursor: pointer;
  border-radius: 50%;
  display: grid;
  place-items: center;
  backdrop-filter: blur(3px);
  box-shadow: 0 8px 14px rgba(38, 20, 16, 0.14);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.media-arrow:hover {
  transform: scale(1.08);
  background: #7e2625;
  color: #fff;
}

.product-quick-view-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.product-quick-view {
  position: relative;
  width: min(920px, 100%);
  padding: 18px 18px 14px;
  border-radius: 16px;
  background: linear-gradient(155deg, #fffdfc 0%, #f8ece0 100%);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}
.product-quick-view__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(126, 38, 37, 0.15);
  background: rgba(255, 255, 255, 0.92);
  color: #7e2625;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}
.product-quick-view__close:hover {
  background: #fff;
}
.product-quick-view__label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7e2625;
}
.product-quick-view__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(70vh, 560px);
}
.product-quick-view__img {
  width: 100%;
  max-height: min(70vh, 560px);
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.product-quick-view__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #7e2625;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  z-index: 2;
}
.product-quick-view__arrow--prev {
  left: 8px;
}
.product-quick-view__arrow--next {
  right: 8px;
}
.product-quick-view__arrow:hover {
  background: #7e2625;
  color: #fff;
}
.product-quick-view__counter {
  margin: 10px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: #6b5348;
}

.product-zoom-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.66);
  z-index: 220;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.product-zoom-stage {
  position: relative;
  width: min(1100px, 100%);
}
.product-zoom-img {
  width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  background: #fff;
}
.product-zoom-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.92);
  color: #7e2625;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(6px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
}
.product-zoom-close:hover {
  transform: translateY(-1px);
}
.view-more-btn {
  margin-top: 8px;
  width: 100%;
  border: 1px solid #7e2625;
  background: linear-gradient(135deg, #fff, #f7eee1);
  color: #7e2625;
  padding: 10px 12px;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
  animation: viewMorePulse 2.4s ease-in-out infinite;
}
.view-more-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -35%;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.55), rgba(255,255,255,0));
  transform: skewX(-22deg);
  opacity: 0.9;
}
.view-more-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #7e2625, #9f3b32);
  color: #fff;
  box-shadow: 0 10px 18px rgba(88, 27, 22, 0.28);
  animation-play-state: paused;
}
.view-more-btn:hover::after {
  animation: viewMoreShine 0.8s ease;
}
.products-more-wrap { display: flex; justify-content: center; margin-top: 14px; }
.products-more-wrap .view-more-btn { width: auto; min-width: 180px; margin-top: 0; }
.products-more-wrap .hits-catalog-btn { width: auto; margin-top: 0; }
.option-group { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.composition-group { margin-bottom: 10px; gap: 7px; }
.weight-group { margin-bottom: 14px; }
.option-btn { border: 1px solid #d8c4b5; background: transparent; font-size: 12px; padding: 7px 10px; cursor: pointer; border-radius: 999px; font-weight: 700; }
.option-btn {
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.option-btn:hover {
  transform: translateY(-1px);
  border-color: #b58672;
  box-shadow: 0 6px 10px rgba(108, 64, 51, 0.12);
}
.option-btn.active { background: #b07d2b; color: #fff; border-color: #b07d2b; }
.option-btn.active {
  transform: translateY(-1px);
  box-shadow: 0 6px 10px rgba(176, 125, 43, 0.25);
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #f0e4d8;
}
.product-card__bottom .card-bottom {
  margin-top: 0;
}
.add-cart-btn {
  border: 0;
  background: linear-gradient(135deg, #d49a36, #b87f22);
  color: #fff;
  padding: 9px 12px;
  cursor: pointer;
  border-radius: 9px;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.2;
  box-shadow: 0 6px 12px rgba(184, 127, 34, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.add-cart-btn::before {
  content: "🛒";
  margin-right: 4px;
  font-size: 11px;
}
.add-cart-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 8px 14px rgba(184, 127, 34, 0.3);
}
.price {
  display: inline-block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #7e2625;
  white-space: nowrap;
}

.custom-wrap, .catalog-wrap { display: grid; gap: 0; border: 1px solid #e7d8c6; border-radius: 12px; overflow: hidden; }
.custom-wrap {
  grid-template-columns: 1.2fr 1fr;
  background: #f3f1f2;
  min-height: 290px;
  position: relative;
  overflow: hidden;
}
.custom-wrap::before,
.custom-wrap::after {
  content: "✦";
  position: absolute;
  color: #d3383a;
  font-size: 22px;
  opacity: 0.9;
}
.custom-wrap::before { left: 14px; top: 14px; color: #4d9d46; }
.custom-wrap::after { left: 52%; bottom: 16px; }
.catalog-wrap { grid-template-columns: 1fr 1.2fr; background: #fff; }
.custom-left, .catalog-left { padding: 26px; color: #fff; }
.custom-left {
  background: transparent;
  color: #20212a;
  padding-right: 8px;
}
.custom-kicker {
  margin: 0;
  color: #7e2625;
  font-weight: 700;
  font-size: 13px;
}
.custom-left h3 {
  margin: 8px 0 10px;
  font-size: clamp(38px, 4vw, 52px);
  line-height: 0.96;
  letter-spacing: -0.01em;
}
.custom-subtext {
  margin: 0;
  color: #38343c;
  font-weight: 600;
  max-width: 780px;
}
.catalog-left { background: #8b2f2d; }
.custom-form, .catalog-form { padding: 24px; display: grid; gap: 12px; }
.custom-form {
  grid-column: 1 / 2;
  padding-top: 6px;
  align-content: end;
  width: 100%;
}
.custom-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 170px;
  gap: 10px;
  align-items: center;
  width: 100%;
}
.custom-form label {
  margin: 0;
  width: 100%;
}
.custom-form input, .catalog-form input { height: 44px; border: 1px solid #dbc8b7; padding: 0 10px; }
.custom-form input:focus, .catalog-form input:focus { outline: 2px solid #7e2625; }
.custom-form input {
  background: #fff;
  border: 1px solid #b9b0a9;
  border-radius: 10px;
  width: 100%;
}
.custom-submit {
  background: linear-gradient(135deg, #b72f31, #8f1f20);
  border-radius: 11px;
  min-height: 44px;
  width: 170px;
  padding-inline: 12px;
  white-space: nowrap;
}
.custom-policy {
  margin: 0;
  color: #4f4a52;
  font-size: 13px;
}
.custom-policy a {
  color: #7e2625;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.custom-right-decor {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.custom-right-decor img {
  width: min(240px, 62%);
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(43, 20, 15, 0.22));
}
.custom-right-decor img:last-child {
  width: min(150px, 40%);
  position: absolute;
  right: 10%;
  top: 20%;
}
.custom-right-decor::before,
.custom-right-decor::after {
  content: "✶";
  position: absolute;
  color: #d3383a;
  font-size: 18px;
}
.custom-right-decor::before { right: 16%; bottom: 14%; }
.custom-right-decor::after { right: 32%; top: 18%; color: #4d9d46; }

.section-catalog {
  position: relative;
}
.catalog-wrap {
  min-height: 430px;
  background: linear-gradient(135deg, #fff, #f8f2ea);
}
.catalog-left {
  position: relative;
  background:
    linear-gradient(145deg, rgba(111, 31, 30, 0.62), rgba(60, 27, 15, 0.72)),
    url("/images/stock/holiday-table.jpg");
  background-size: cover;
  background-position: center;
  padding: 44px 36px 42px 38px;
}
.catalog-left::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 20px;
  bottom: 20px;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}
.catalog-kicker {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: #f5dcb9;
}
.catalog-left h3 {
  margin: 8px 0 10px;
  font-size: clamp(44px, 4.8vw, 64px);
  line-height: 1;
}
.catalog-subtext {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.4;
}
.catalog-points {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}
.catalog-points span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  color: #ffe6c8;
}
.catalog-points i {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.22);
}
.catalog-form {
  align-content: center;
  padding: 40px 40px 36px;
  gap: 18px;
  width: 100%;
}
.catalog-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  width: 100%;
}
.catalog-form-row label {
  margin: 0;
  width: 100%;
}
.catalog-form input {
  border-radius: 10px;
  border: 1px solid #ccb8a6;
  background: #fff;
  height: 60px;
  font-size: 17px;
  padding-inline: 14px;
  width: 100%;
}
.catalog-channel-label {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #5a3d36;
}
.delivery-channels {
  gap: 14px;
}
.channel-btn {
  font-weight: 700;
  font-size: 16px;
  padding: 12px 16px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.channel-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 12px rgba(61, 31, 24, 0.14);
}
.catalog-submit {
  background: linear-gradient(135deg, #b72f31, #8f1f20);
  padding: 14px 22px;
  font-size: 16px;
}
.catalog-note {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
  color: #5d4f4b;
}
.catalog-note a {
  color: #7e2625;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.section-benefits {
  position: relative;
  background: linear-gradient(135deg, #fff, #f3ede0 60%, #fff);
  border-radius: 16px;
  overflow: hidden;
}
.section-benefits::before,
.section-benefits::after {
  content: "✦";
  position: absolute;
  color: rgba(126, 38, 37, 0.2);
  font-size: 34px;
  pointer-events: none;
}
.section-benefits::before { left: 22px; top: 18px; }
.section-benefits::after { right: 26px; bottom: 24px; color: rgba(126, 38, 37, 0.16); }
.benefits-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.benefit-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 172px;
  padding: 20px 20px 18px;
  border: 1px solid #e8d5c4;
  border-radius: 14px;
  background: linear-gradient(165deg, #fffefb 0%, #fff6ea 100%);
  box-shadow: 0 10px 24px rgba(48, 22, 16, 0.07);
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #c92c2a, #e8c547);
  border-radius: 14px 0 0 14px;
  opacity: 0.85;
}
.benefit-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 38%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0));
  transform: skewX(-18deg);
  opacity: 0;
  pointer-events: none;
}
.benefit-card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: #fff8f0;
  font-size: 18px;
  background: linear-gradient(145deg, #8a2524, #b5483d);
  box-shadow: 0 8px 16px rgba(126, 38, 37, 0.28);
  flex-shrink: 0;
}
.benefit-card__title {
  margin: 14px 0 0;
  font-size: 17px;
  line-height: 1.28;
  font-weight: 800;
  color: #2b140c;
  max-width: 100%;
}
.benefit-card__text {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
  color: #6e5852;
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: #d4a574;
  box-shadow: 0 16px 28px rgba(48, 22, 16, 0.12), 0 0 0 1px rgba(232, 197, 71, 0.15);
}
.benefit-card:hover::after {
  opacity: 1;
  animation: benefitsShine 0.85s ease;
}

.brands-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(7, minmax(130px, 1fr)); gap: 12px; }
.brand-item, .client-item { border: 1px dashed #cab7a8; min-height: 70px; display: grid; place-items: center; background: #fffbf4; font-weight: 700; border-radius: 8px; }
.brand-item { border: 0; }
.brand-item img {
  width: min(148px, 94%);
  height: auto;
  object-fit: contain;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.brand-item:hover img {
  transform: translateY(-1px) scale(1.03);
  filter: saturate(1.05);
}
.clients-grid { margin-top: 20px; display: grid; grid-template-columns: repeat(6, minmax(130px, 1fr)); gap: 12px; }
.client-item {
  border: 0;
  min-height: 104px;
  align-content: center;
  gap: 6px;
  text-align: center;
}
.client-item img {
  width: min(148px, 94%);
  height: auto;
  object-fit: contain;
  margin-inline: auto;
  transition: transform 0.2s ease, filter 0.2s ease;
}
.client-item span {
  font-size: 12px;
  line-height: 1.2;
  color: #4f3f3a;
  font-weight: 700;
}
.client-item:hover img {
  transform: translateY(-1px) scale(1.03);
  filter: saturate(1.05);
}

.delivery-channels { display: flex; gap: 8px; flex-wrap: wrap; }
.channel-btn { border: 1px solid #d0beaf; background: transparent; padding: 8px 10px; cursor: pointer; border-radius: 999px; }
.channel-btn.active { background: #7e2625; color: #fff; border-color: #7e2625; }
.catalog-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ghost-btn { border: 1px solid #7e2625; background: transparent; color: #7e2625; padding: 12px 14px; cursor: pointer; border-radius: 10px; }

.reviews-slider-wrap {
  margin-top: 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}
.reviews-stage {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
}
.reviews-stage::before,
.reviews-stage::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14%;
  max-width: 110px;
  z-index: 4;
  pointer-events: none;
}
.reviews-stage::before {
  left: 0;
  background: linear-gradient(to right, #fcf8f4 30%, transparent);
}
.reviews-stage::after {
  right: 0;
  background: linear-gradient(to left, #fcf8f4 30%, transparent);
}
.reviews-track {
  display: flex;
  align-items: center;
  gap: 24px;
  will-change: transform;
}
.review-card {
  flex: 0 0 min(380px, 44vw);
  border: 1px solid #e6d6c6;
  background: #fff;
  padding: 12px;
  border-radius: 10px;
  transition:
    transform 0.48s cubic-bezier(0.25, 1, 0.5, 1),
    opacity 0.48s cubic-bezier(0.25, 1, 0.5, 1),
    filter 0.48s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.48s ease;
}
.review-card[data-role="prev"],
.review-card[data-role="next"] {
  transform: scale(0.86);
  opacity: 0.42;
  filter: brightness(0.72);
  z-index: 1;
}
.review-card[data-role="active"] {
  transform: scale(1);
  opacity: 1;
  filter: none;
  z-index: 2;
  box-shadow: var(--shadow);
}
.reviews-stage.is-sliding-next .review-card[data-role="active"] {
  transform: scale(0.86);
  opacity: 0.42;
  filter: brightness(0.72);
  box-shadow: none;
}
.reviews-stage.is-sliding-next .review-card[data-role="next"] {
  transform: scale(1);
  opacity: 1;
  filter: none;
  box-shadow: var(--shadow);
}
.reviews-stage.is-sliding-prev .review-card[data-role="active"] {
  transform: scale(0.86);
  opacity: 0.42;
  filter: brightness(0.72);
  box-shadow: none;
}
.reviews-stage.is-sliding-prev .review-card[data-role="prev"] {
  transform: scale(1);
  opacity: 1;
  filter: none;
  box-shadow: var(--shadow);
}
@media (max-width: 768px) {
  .review-card {
    flex: 0 0 min(300px, 78vw);
  }
  .reviews-track {
    gap: 16px;
  }
}
.review-media { min-height: 130px; display: grid; place-items: center; color: #fff; font-weight: 800; margin-bottom: 8px; }
.review-media.review-text { background: linear-gradient(145deg, #8f4537, #6b2b22); border-radius: 8px; }
.review-media.video { background: linear-gradient(145deg, #9f3d33, #7e2625); border-radius: 8px; }
.review-card.is-video {
  padding: 0;
  overflow: hidden;
}
.review-video {
  width: 100%;
  height: 270px;
  display: block;
  object-fit: cover;
  background: #000;
}

/* Модальное окно видеоотзыва */
.review-video-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px));
  background: rgba(18, 8, 6, 0.82);
  backdrop-filter: blur(8px);
}

.review-video-modal {
  position: relative;
  width: min(920px, 100%);
  padding: 18px 18px 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 214, 150, 0.35);
  background: linear-gradient(165deg, #fffefb 0%, #fff4e8 100%);
  box-shadow: 0 24px 60px rgba(43, 20, 12, 0.28);
}

.review-video-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgba(126, 38, 37, 0.1);
  color: #7e2625;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.review-video-modal__close:hover {
  background: rgba(126, 38, 37, 0.16);
}

.review-video-modal__badge {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7e2625;
}

.review-video-modal__player-wrap {
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.review-video-modal__player {
  display: block;
  width: 100%;
  max-height: min(78vh, 720px);
  object-fit: contain;
  background: #000;
}

.review-video-modal__caption {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  color: #5c4038;
}

@media (max-width: 640px) {
  .review-video-modal {
    padding: 14px 12px 12px;
    border-radius: 14px;
  }

  .review-video-modal__player {
    max-height: min(70vh, 560px);
  }
}

.site-footer {
  position: relative;
  margin-top: 56px;
  padding: 0 24px 28px;
  color: #fff;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 146, 58, 0.14), transparent 55%),
    linear-gradient(165deg, #1a0e0a 0%, #2f140c 38%, #3d1a10 72%, #2a120c 100%);
  border-top: 1px solid rgba(201, 146, 58, 0.35);
  overflow: hidden;
}

.site-footer__glow {
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(201, 146, 58, 0.95) 20%, rgba(245, 230, 200, 0.85) 50%, rgba(201, 146, 58, 0.95) 80%, transparent);
  pointer-events: none;
}

.site-footer__inner {
  position: relative;
  z-index: 1;
  max-width: 1360px;
  margin: 0 auto;
  padding-top: 44px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 0.85fr 1.15fr;
  gap: clamp(20px, 3vw, 40px);
}

.site-footer__brand {
  display: grid;
  gap: 14px;
  align-content: start;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  width: fit-content;
}

.site-footer__logo-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(145deg, #c43636, #8f1a1a);
  border: 1px solid rgba(245, 230, 200, 0.35);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.site-footer__logo-text {
  display: grid;
  gap: 2px;
}

.site-footer__logo-text strong {
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.site-footer__logo-text small {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(247, 222, 196, 0.78);
}

.site-footer__tagline {
  margin: 0;
  max-width: 34ch;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(247, 222, 196, 0.82);
}

.site-footer__nav-title {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 230, 200, 0.55);
}

.site-footer__nav ul,
.site-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.site-footer__nav a,
.site-footer__bottom-links a {
  color: rgba(255, 248, 240, 0.92);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.site-footer__nav a:hover,
.site-footer__bottom-links a:hover {
  color: #f5e6c8;
}

.site-footer__contact-list a,
.site-footer__contact-static {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(247, 222, 196, 0.88);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.45;
}

.site-footer__contact-list a:hover {
  color: #fff;
}

.site-footer__contact-list i {
  width: 16px;
  margin-top: 3px;
  text-align: center;
  color: rgba(201, 146, 58, 0.95);
  flex-shrink: 0;
}

.site-footer__contact-list small {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  color: rgba(247, 222, 196, 0.62);
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(247, 222, 196, 0.62);
}

.site-footer__bottom-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.84rem;
  color: rgba(247, 222, 196, 0.45);
}

.mini-cart-bag {
  position: fixed;
  right: 14px;
  bottom: 12px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  opacity: 1;
  transform: scale(1);
  transition: transform 0.25s ease, filter 0.25s ease;
  animation: miniCartAppear 0.55s cubic-bezier(0.2, 0.9, 0.22, 1) both;
}
.mini-cart-bag__ring {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 55%),
    linear-gradient(145deg, rgba(177, 18, 23, 0.25), rgba(177, 18, 23, 0.1));
  border: 1px solid rgba(177, 18, 23, 0.36);
  box-shadow: 0 10px 22px rgba(40, 10, 10, 0.2);
}
.mini-cart-bag__svg {
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}
.mini-cart-bag--idle {
  opacity: 0.55;
  transform: scale(0.92);
}
.mini-cart-bag--idle:hover {
  opacity: 0.95;
  transform: scale(0.98);
}
.mini-cart-bag.show {
  opacity: 1;
  transform: scale(1);
}
.mini-cart-bag.show:hover {
  transform: scale(1.06);
}
.mini-cart-bag__count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: #b11217;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.mini-cart-bag__count.is-zero {
  opacity: 0.55;
}

/* Нижняя плашка корзины и избранного */
.cart-fav-dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  padding: 0 12px calc(10px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
  animation: cartFavDockIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.cart-fav-dock__inner {
  pointer-events: auto;
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 10px 10px;
  border-radius: 14px 14px 10px 10px;
  border: 1px solid rgba(255, 214, 150, 0.42);
  background:
    linear-gradient(125deg, rgba(143, 43, 41, 0.97) 0%, rgba(106, 33, 31, 0.98) 52%, rgba(74, 22, 20, 0.99) 100%);
  box-shadow:
    0 -8px 32px rgba(43, 20, 12, 0.22),
    0 16px 40px rgba(43, 20, 12, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.cart-fav-dock__lead {
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffe8b8;
}
.cart-fav-dock__lead i {
  color: #ffd27a;
  animation: cartFavSparkle 1.8s ease-in-out infinite;
}
.cart-fav-dock__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cart-fav-dock__btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 6px 10px 6px 6px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 248, 240, 0.88);
  transition:
    transform 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}
.cart-fav-dock__btn--active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 214, 150, 0.45);
  color: #fff8f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}
.cart-fav-dock__btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 214, 150, 0.55);
}
.cart-fav-dock__btn--flash {
  animation: cartFavBtnFlash 1.1s ease;
}
.cart-fav-dock--pulse-cart .cart-fav-dock__inner,
.cart-fav-dock--pulse-favorite .cart-fav-dock__inner {
  animation: cartFavDockPulse 1.1s ease;
}
.cart-fav-dock__icon-wrap {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.12);
}
.cart-fav-dock__icon-wrap--bag {
  width: 38px;
  height: 38px;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 58%);
}
.cart-fav-dock__bag-svg {
  width: 28px;
  height: auto;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.22));
}
.cart-fav-dock__icon-wrap--heart {
  color: #ffb4b4;
  font-size: 16px;
}
.cart-fav-dock__btn-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.cart-fav-dock__btn-text strong {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}
.cart-fav-dock__btn-text span {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.88;
  line-height: 1.25;
}
.cart-fav-dock__badge {
  position: absolute;
  top: -5px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #e53935, #b71c1c);
  border: 2px solid #fff8f0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.cart-fav-dock__badge--fav {
  background: linear-gradient(135deg, #ff6b8a, #d81b60);
}

/* Toast-уведомления корзины / избранного */
.cart-fav-toasts {
  position: fixed;
  top: max(12px, env(safe-area-inset-top, 0px));
  right: 14px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  max-width: min(360px, calc(100vw - 28px));
  pointer-events: none;
}
.cart-fav-toast {
  pointer-events: auto;
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px 12px;
  width: min(340px, calc(100vw - 28px));
  padding: 12px 36px 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(212, 165, 116, 0.45);
  background: linear-gradient(155deg, rgba(255, 252, 248, 0.98) 0%, rgba(248, 236, 224, 0.98) 100%);
  color: #2b140c;
  box-shadow:
    0 14px 32px rgba(43, 20, 12, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  animation: cartFavToastIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.cart-fav-toast--fav {
  border-color: rgba(216, 27, 96, 0.28);
  background: linear-gradient(155deg, rgba(255, 248, 252, 0.98) 0%, rgba(255, 236, 244, 0.98) 100%);
}
.cart-fav-toast__close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 8px;
  background: rgba(126, 38, 37, 0.08);
  color: #7e2625;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.cart-fav-toast__close:hover {
  background: rgba(126, 38, 37, 0.14);
}
.cart-fav-toast__thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(47, 20, 12, 0.08);
  background: #fff;
}
.cart-fav-toast__thumb--empty {
  display: grid;
  place-items: center;
  color: #7e2625;
  font-size: 20px;
  background: #fff4ea;
}
.cart-fav-toast__body {
  min-width: 0;
  display: grid;
  gap: 4px;
  align-content: center;
}
.cart-fav-toast__kicker {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7e2625;
}
.cart-fav-toast--fav .cart-fav-toast__kicker {
  color: #c2185b;
}
.cart-fav-toast__title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: #2b140c;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.cart-fav-toast__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 800;
  color: #7e2625;
  text-decoration: none;
}
.cart-fav-toast--fav .cart-fav-toast__link {
  color: #c2185b;
}
.cart-fav-toast__link i {
  font-size: 10px;
  transition: transform 0.2s ease;
}
.cart-fav-toast__link:hover i {
  transform: translateX(2px);
}

@keyframes cartFavDockIn {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes cartFavDockPulse {
  0%,
  100% {
    box-shadow:
      0 -8px 32px rgba(43, 20, 12, 0.22),
      0 16px 40px rgba(43, 20, 12, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.12);
  }
  45% {
    box-shadow:
      0 -10px 36px rgba(43, 20, 12, 0.28),
      0 0 0 3px rgba(255, 214, 150, 0.45),
      0 0 28px rgba(255, 196, 120, 0.35),
      inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }
}
@keyframes cartFavBtnFlash {
  0%,
  100% {
    transform: translateY(0);
  }
  35% {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 0 2px rgba(255, 214, 150, 0.55), 0 8px 20px rgba(0, 0, 0, 0.18);
  }
}
@keyframes cartFavSparkle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.15) rotate(12deg);
    opacity: 1;
  }
}
@keyframes cartFavToastIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 640px) {
  .cart-fav-dock__lead {
    font-size: 10px;
    letter-spacing: 0.03em;
  }
  .cart-fav-dock__btn {
    min-height: 39px;
    padding: 5px 8px 5px 5px;
    gap: 6px;
  }
  .cart-fav-dock__btn-text strong {
    font-size: 12px;
  }
  .cart-fav-toasts {
    top: max(10px, env(safe-area-inset-top, 0px));
    right: 10px;
    left: 10px;
    max-width: none;
    align-items: stretch;
  }
  .cart-fav-toast {
    width: 100%;
  }
}

.promo-popup-layer {
  position: fixed;
  right: 16px;
  bottom: calc(93px + env(safe-area-inset-bottom, 0px));
  z-index: 46;
  pointer-events: none;
  max-width: min(380px, calc(100vw - 32px));
}
.promo-popup {
  pointer-events: auto;
  position: relative;
  width: min(360px, calc(100vw - 32px));
  padding: 20px 20px 18px;
  border-radius: 16px;
  border: 1px solid rgba(212, 165, 116, 0.45);
  background:
    linear-gradient(155deg, rgba(255, 252, 248, 0.98) 0%, rgba(248, 236, 224, 0.98) 55%, rgba(243, 228, 215, 0.96) 100%);
  color: #2b140c;
  box-shadow:
    0 18px 40px rgba(43, 20, 12, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
  overflow: hidden;
  animation: promoSlideIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.promo-popup.is-exiting {
  animation: promoSlideOut 0.32s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.promo-popup__shine {
  position: absolute;
  inset: -50% -30%;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, 0.55) 50%,
    rgba(255, 255, 255, 0) 65%
  );
  transform: translateX(-60%);
  animation: promoShine 4.5s ease-in-out infinite;
  pointer-events: none;
}
.promo-popup__corner {
  position: absolute;
  top: -8px;
  right: 44px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #8a2524, #601414);
  color: #fff8f0;
  font-size: 16px;
  box-shadow: 0 8px 16px rgba(96, 20, 20, 0.28);
  transform: rotate(8deg);
}
.promo-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: rgba(126, 38, 37, 0.08);
  color: #7e2625;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.promo-popup__close:hover {
  background: rgba(126, 38, 37, 0.16);
  transform: scale(1.05);
}
.promo-popup__badge {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a2524;
}
.promo-popup__title {
  margin: 0 0 8px;
  padding-right: 28px;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.15;
  color: #601414;
}
.promo-popup__body {
  margin: 0;
  white-space: pre-wrap;
  line-height: 1.5;
  font-size: 14px;
  color: #4a312d;
  max-height: min(28vh, 200px);
  overflow-y: auto;
}
.promo-popup__cta {
  margin-top: 16px;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 11px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  color: #fff8f0;
  background: linear-gradient(120deg, #7e2625, #9f3634);
  box-shadow: 0 8px 18px rgba(126, 38, 37, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.promo-popup__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 10px 22px rgba(126, 38, 37, 0.34);
}
.promo-popup__cta i {
  font-size: 12px;
  transition: transform 0.2s ease;
}
.promo-popup__cta:hover i {
  transform: translateX(3px);
}
@keyframes promoSlideIn {
  from {
    opacity: 0;
    transform: translateX(calc(100% + 20px));
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes promoSlideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(calc(100% + 20px));
  }
}
@keyframes promoShine {
  0%, 100% {
    transform: translateX(-60%);
    opacity: 0.35;
  }
  50% {
    transform: translateX(60%);
    opacity: 0.7;
  }
}

.floating-btn {
  position: fixed;
  right: 16px;
  bottom: 88px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 9px 12px;
  background: linear-gradient(135deg, rgba(139, 16, 20, 0.92), rgba(177, 18, 23, 0.88));
  color: #fff;
  cursor: pointer;
  z-index: 44;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  max-width: min(240px, calc(100vw - 96px));
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(90, 20, 22, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: floatingWidget 3.2s ease-in-out infinite;
}
.floating-btn i { position: relative; z-index: 2; font-size: 13px; }
.floating-btn span:not(.floating-btn-glow) { position: relative; z-index: 2; font-weight: 700; line-height: 1.2; }
.floating-btn-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 62%);
  transform: translateX(-65%);
  animation: floatingShine 3.4s ease-in-out infinite;
}
.floating-spark {
  font-size: 12px;
  animation: floatingSpark 1.9s ease-in-out infinite;
}
.floating-btn:hover {
  animation-play-state: paused;
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 24px rgba(90, 20, 22, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes benefitsShine {
  from { left: -45%; }
  to { left: 120%; }
}
@keyframes cardShine {
  from { left: -40%; }
  to { left: 120%; }
}
@keyframes viewMoreShine {
  from { left: -35%; }
  to { left: 125%; }
}
@keyframes viewMorePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(126, 38, 37, 0.14); }
  50% { box-shadow: 0 0 0 7px rgba(126, 38, 37, 0.06); }
}
@keyframes floatingWidget {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes floatingShine {
  0%, 100% { transform: translateX(-65%); opacity: 0.5; }
  50% { transform: translateX(65%); opacity: 0.9; }
}
@keyframes floatingSpark {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  50% { transform: scale(1.18) rotate(10deg); opacity: 1; }
}
@keyframes miniCartAppear {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.72) rotate(-10deg);
    filter: blur(1px);
  }
  55% {
    opacity: 1;
    transform: translateY(-4px) scale(1.08) rotate(3deg);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
    filter: blur(0);
  }
}

@media (max-width: 1080px) {
  .hero + .section,
  .section + .section,
  .section + .site-footer { margin-top: 22px; }
  .header-top { flex-wrap: wrap; }
  .contact-grid { display: none; }
  .burger-btn { display: inline-grid; place-items: center; }
  .site-header--split .header-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 8px clamp(12px, 1.6vw, 20px) 10px;
    justify-content: flex-start;
  }
  .site-header--split .header-nav.open {
    display: flex;
  }
  .header-nav { display: none; flex-direction: column; align-items: stretch; gap: 2px; }
  .header-nav.open { display: flex; }
  .hero {
    min-height: 100svh;
  }
  .hero-cta {
    left: max(16px, calc(50% + var(--hero-cta-shift-x, -500px)));
    right: auto;
    bottom: calc(clamp(22px, 6vw, 36px) + var(--hero-cta-shift-y, 170px));
    max-width: calc(100% - 120px);
    white-space: normal;
    text-align: center;
  }
  .hero-nav {
    width: 40px;
    height: 40px;
  }
  .packaging-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .pack-span-4 {
    grid-column: 1 / -1;
  }
  .pack-span-2 {
    grid-column: span 1;
  }
  .pack-card--felt {
    grid-column: 1 / -1;
  }
  .pack-card {
    min-height: 220px;
    padding-bottom: 48px;
  }
  .pack-card--carton {
    min-height: 250px;
  }
  .pack-card--metal {
    min-height: 360px;
  }
  .pack-card--tube {
    min-height: 380px;
  }
  .pack-card--plush {
    min-height: 380px;
  }
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .benefit-card {
    min-height: 160px;
    padding: 18px 16px 16px;
  }
  .brands-grid { grid-template-columns: repeat(4, minmax(120px, 1fr)); }
  .clients-grid { grid-template-columns: repeat(3, minmax(120px, 1fr)); }
  .custom-wrap, .catalog-wrap { grid-template-columns: 1fr; }
  .custom-form { grid-column: 1 / -1; }
  .custom-right-decor { grid-column: 1 / -1; grid-row: auto; min-height: 150px; }
  .custom-form-row { grid-template-columns: 1fr; }
  .catalog-left::after { display: none; }
  .catalog-form-row { grid-template-columns: 1fr; }
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .section { padding-inline: 14px; }
  .section { padding-block: 58px 28px; }
  .benefits-grid { grid-template-columns: 1fr; }
  .hero + .section,
  .section + .section,
  .section + .site-footer { margin-top: 16px; }
  .site-footer { padding-inline: 16px 16px 22px; }
  .site-footer__inner { padding-top: 32px; }
  .site-footer__top { grid-template-columns: 1fr; gap: 24px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .brands-grid, .clients-grid { grid-template-columns: repeat(2, minmax(110px, 1fr)); }
  .packaging-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }
  .pack-span-4,
  .pack-span-2 {
    grid-column: 1 / -1;
  }
  .pack-card {
    min-height: 210px;
    padding-bottom: 46px;
  }
  .pack-card__cta {
    right: 10px;
    bottom: 10px;
    padding: 7px 12px;
    font-size: 10px;
  }
  .pack-card .pack-meta {
    left: 12px;
    bottom: 10px;
    max-width: min(48%, 170px);
    font-size: 12px;
    padding: 5px 9px;
  }
  .pack-cutout { width: 48%; right: -12px; bottom: -10px; }
  .floating-btn {
    max-width: 52px;
    padding: 11px;
    justify-content: center;
    gap: 0;
  }
  .floating-btn .floating-label {
    display: none;
  }
  .promo-popup-layer {
    left: 12px;
    right: 12px;
    bottom: calc(93px + env(safe-area-inset-bottom, 0px));
    max-width: none;
  }
  .promo-popup {
    width: 100%;
    animation-name: promoSlideInMobile;
  }
  .promo-popup.is-exiting {
    animation-name: promoSlideOutMobile;
  }
}

@keyframes promoSlideInMobile {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes promoSlideOutMobile {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(20px);
  }
}

.catalog-below-header {
  padding-top: 158px;
}

/* Плашки на страницах каталога */
.catalog-page-banners__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 clamp(12px, 1.6vw, 24px);
  display: grid;
  gap: 14px;
}

/* Баннер каталога — как на главной: ширина блока, высота от картинки */
.catalog-hero-banner {
  display: block;
  width: 100%;
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
  border: 1px solid rgba(126, 38, 37, 0.12);
  box-shadow:
    0 10px 28px rgba(43, 20, 12, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.catalog-hero-banner__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: unset;
}

.catalog-trust-strip {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 0;
  min-height: clamp(110px, 12vw, 140px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(126, 38, 37, 0.12);
  background:
    linear-gradient(118deg, rgba(232, 244, 252, 0.96) 0%, rgba(245, 250, 255, 0.98) 42%, rgba(255, 250, 244, 0.96) 100%);
  box-shadow:
    0 10px 28px rgba(43, 20, 12, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.catalog-trust-strip--photo {
  background: #e8f0f8;
}

.catalog-trust-strip__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  pointer-events: none;
  user-select: none;
}

.catalog-trust-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    radial-gradient(circle at 12% 28%, rgba(255, 255, 255, 0.9) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.85) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 44% 72%, rgba(255, 255, 255, 0.8) 0 2px, transparent 3px),
    radial-gradient(circle at 90% 64%, rgba(255, 255, 255, 0.75) 0 1.5px, transparent 2.5px);
  background-size: 180px 120px;
}

.catalog-trust-strip--photo::before {
  opacity: 0.2;
  background:
    linear-gradient(90deg, rgba(232, 244, 252, 0.88) 0%, rgba(232, 244, 252, 0.55) 42%, rgba(232, 244, 252, 0.08) 68%, transparent 100%);
}

.catalog-trust-strip__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 16px 18px;
}

.catalog-trust-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  flex: 1 1 520px;
}

.catalog-trust-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: min(100%, 220px);
  flex: 1 1 200px;
}

.catalog-trust-strip__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #fff;
  color: #2f5f8f;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(47, 95, 143, 0.12);
  border: 1px solid rgba(47, 95, 143, 0.1);
}

.catalog-trust-strip__text {
  display: grid;
  gap: 2px;
  color: #1e3a57;
  line-height: 1.35;
  font-size: 13px;
}

.catalog-trust-strip__text strong {
  font-size: 14px;
  font-weight: 800;
  color: #16324a;
}

.catalog-trust-strip__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff8f0;
  background: linear-gradient(120deg, #c62828 0%, #a61f1f 55%, #8f1a1a 100%);
  box-shadow:
    0 8px 20px rgba(143, 26, 26, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.catalog-trust-strip__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.catalog-trust-strip__cta i {
  font-size: 17px;
}

.catalog-trust-strip__decor {
  display: none;
}

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

.catalog-order-terms {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(126, 38, 37, 0.2);
  background: linear-gradient(120deg, #8f2b29 0%, #742422 55%, #6a211f 100%);
  color: #fff8f0;
  box-shadow:
    0 8px 22px rgba(43, 20, 12, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.catalog-order-terms__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffe4b0;
  font-size: 17px;
}

.catalog-order-terms__title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffe8b8;
}

.catalog-order-terms__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 248, 240, 0.95);
}

.catalog-order-terms__text strong {
  color: #fff;
  font-weight: 800;
}

.catalog-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(20, 10, 8, 0.58);
  backdrop-filter: blur(4px);
}

.catalog-modal {
  position: relative;
  width: min(480px, 100%);
  padding: 24px 22px 20px;
  border-radius: 16px;
  border: 1px solid rgba(212, 165, 116, 0.45);
  background: linear-gradient(155deg, #fffdfc 0%, #f8ece0 55%, #f3e4d7 100%);
  color: #2b140c;
  box-shadow:
    0 22px 48px rgba(43, 20, 12, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.catalog-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(126, 38, 37, 0.08);
  color: #7e2625;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.catalog-modal__close:hover {
  background: rgba(126, 38, 37, 0.16);
}

.catalog-modal__badge {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7e2625;
}

.catalog-modal__title {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #2b140c;
}

.catalog-modal__lead {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #6b4a3a;
}

.catalog-modal__form {
  display: grid;
  gap: 12px;
}

.catalog-modal__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.catalog-modal__row input {
  width: 100%;
  height: 44px;
  border: 1px solid #dbc8b7;
  border-radius: 8px;
  padding: 0 10px;
  background: #fff;
}

.catalog-modal__row input:focus {
  outline: 2px solid #7e2625;
  outline-offset: 0;
}

.catalog-modal__channel-label {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #4a2f24;
}

.catalog-modal__submit {
  width: 100%;
  min-height: 46px;
}

.catalog-modal__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #8a6a58;
}

.catalog-modal__note a {
  color: #7e2625;
  font-weight: 700;
}

@media (max-width: 900px) {
  .catalog-trust-strip {
    grid-template-columns: 1fr;
  }

  .catalog-trust-strip__decor {
    display: none;
  }

  .catalog-trust-strip__content {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-trust-strip__cta {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .catalog-page-banners__inner {
    gap: 10px;
  }

  .catalog-trust-strip__list {
    flex-direction: column;
    gap: 12px;
  }

  .catalog-trust-strip__item {
    min-width: 0;
  }

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

  .catalog-order-terms {
    flex-direction: column;
    gap: 10px;
  }
}

.alt-catalog-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 14px;
}
.alt-card {
  border: 1px solid #e8d8c8;
  border-radius: 12px;
  background: linear-gradient(180deg, #fffdf8, #fff7ee);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(60, 22, 14, 0.08);
}
.alt-card__media {
  position: relative;
  min-height: 180px;
  background-size: cover;
  background-position: center;
}
.alt-card__badges {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  max-width: calc(100% - 52px);
  pointer-events: none;
}
.alt-card__badges .alt-card__badge {
  position: static;
}
.alt-card__badge {
  position: absolute;
  left: 10px;
  top: 10px;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #7e2625, #a5483d);
  border-radius: 999px;
  padding: 5px 8px;
  white-space: nowrap;
  box-shadow: 0 6px 10px rgba(77, 23, 20, 0.2);
}
.alt-card__badge--discount {
  background: linear-gradient(135deg, #b8860b, #e8c547);
  color: #2a1810;
  box-shadow: 0 6px 10px rgba(120, 85, 10, 0.22);
}
.alt-card__badge--muted {
  background: rgba(60, 60, 60, 0.92);
}
.alt-card__fav {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  color: #7e2625;
  cursor: pointer;
}
.alt-card__fav.active {
  background: linear-gradient(135deg, #7e2625, #b43e3c);
  color: #fff;
}
.alt-card__body {
  padding: 12px;
}
.alt-card__body h4 {
  margin: 0 0 6px;
  font-size: 16px;
}
.alt-card__body p {
  margin: 0 0 10px;
  color: #6b5550;
  font-size: 12px;
  line-height: 1.45;
  min-height: 34px;
}
.alt-card__weights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.alt-card__weight {
  border: 1px solid #d8c4b5;
  background: #fff;
  font-size: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  cursor: pointer;
}
.alt-card__weight.active {
  border-color: #7e2625;
  background: #7e2625;
  color: #fff;
}
.alt-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.alt-card__bottom strong {
  color: #7e2625;
  font-size: 14px;
}
.alt-card__cart {
  border: 0;
  border-radius: 8px;
  padding: 7px 10px;
  background: linear-gradient(135deg, #8b1014, #cf2d31);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

/* Cart & favorites */
.saved-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 142px 20px 48px;
  min-height: calc(100vh - 230px);
}
.saved-main {
  min-height: calc(100vh - 120px);
}
.saved-page__head {
  margin-bottom: 28px;
}
.saved-page__head h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #2f140c;
  margin: 0 0 8px;
}
.saved-page__head p {
  margin: 0;
  color: #6b4a3a;
  line-height: 1.5;
}
.saved-page__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.saved-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff4ea;
  color: #7a1e20;
  border: 1px solid rgba(177, 18, 23, 0.2);
  font-size: 0.8125rem;
  font-weight: 700;
}
.saved-stat-chip.muted {
  color: #5f4338;
  background: #fff;
  border-color: rgba(47, 20, 12, 0.12);
}
.saved-page__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.saved-action-btn {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(177, 18, 23, 0.28);
  background: rgba(177, 18, 23, 0.08);
  color: #7a1518;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.saved-action-btn:hover {
  background: rgba(177, 18, 23, 0.14);
  border-color: rgba(177, 18, 23, 0.42);
  transform: translateY(-1px);
}
.saved-empty {
  text-align: center;
  padding: 48px 20px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(255, 248, 240, 0.95), rgba(255, 235, 220, 0.55));
  border: 1px solid rgba(177, 18, 23, 0.12);
  box-shadow: 0 12px 32px rgba(40, 10, 10, 0.06);
}
.saved-empty i {
  font-size: 2.5rem;
  color: #b11217;
  margin-bottom: 12px;
}
.saved-empty h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: #2f140c;
}
.saved-empty p {
  margin: 0 0 20px;
  color: #6b4a3a;
}
.saved-lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.saved-line {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 12px 18px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(47, 20, 12, 0.08);
  box-shadow: 0 4px 14px rgba(40, 10, 10, 0.05);
}
.saved-line__image {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #ead8c8;
  background: #fff7ee;
}
.saved-line__body {
  min-width: 0;
}
.saved-line__title {
  font-weight: 800;
  color: #2f140c;
  margin: 0 0 6px;
  font-size: 1.05rem;
  line-height: 1.25;
}
.saved-line__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 7px;
}
.saved-line__chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #ecd7c2;
  background: #fff8f0;
  color: #6e4d3f;
  font-size: 0.75rem;
  font-weight: 700;
}
.saved-line__chip.qty {
  color: #7a1e20;
  border-color: rgba(177, 18, 23, 0.2);
  background: rgba(177, 18, 23, 0.06);
}
.saved-line__meta {
  margin: 0;
  font-size: 0.82rem;
  color: #6b4a3a;
  line-height: 1.45;
}
.saved-line__price {
  font-weight: 800;
  color: #b11217;
  font-size: 1.05rem;
  justify-self: end;
  align-self: start;
  padding: 6px 10px;
  border-radius: 9px;
  border: 1px solid rgba(177, 18, 23, 0.18);
  background: rgba(177, 18, 23, 0.05);
}
.saved-line__mobile-price {
  display: none;
  margin-top: 8px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #b11217;
}
.saved-line__actions {
  grid-column: 3 / 4;
  justify-self: end;
}
.saved-line__remove {
  grid-column: auto;
  justify-self: end;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(177, 18, 23, 0.25);
  background: rgba(177, 18, 23, 0.06);
  color: #7a1518;
  font-weight: 700;
  font-size: 0.8125rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.saved-line__remove:hover {
  background: rgba(177, 18, 23, 0.12);
  border-color: rgba(177, 18, 23, 0.4);
}
.saved-page .ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #b11217;
  text-decoration: none;
}
.saved-page .ghost-link:hover {
  text-decoration: underline;
}

/* Catalog Filter */
.catalog-filter {
  background: #fffdf8;
  border: 1px solid #e8d8c8;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 8px 24px rgba(60, 22, 14, 0.04);
}
.catalog-filter__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.catalog-filter__head h4 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: #7e2625;
}
.catalog-filter__head span {
  font-size: 13px;
  font-weight: 700;
  color: #8b736c;
  background: #f3eadf;
  padding: 4px 12px;
  border-radius: 999px;
}
.catalog-filter__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.catalog-filter__grid label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}
.catalog-filter__grid label span {
  font-size: 13px;
  font-weight: 700;
  color: #5a463e;
}
.catalog-filter__grid input,
.catalog-filter__grid select {
  height: 42px;
  border: 1px solid #d8c4b5;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 14px;
  font-family: inherit;
  background: #fff;
  color: #2b140c;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.catalog-filter__grid input:focus,
.catalog-filter__grid select:focus {
  outline: none;
  border-color: #d49a36;
  box-shadow: 0 0 0 3px rgba(212, 154, 54, 0.15);
}
.catalog-filter__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.catalog-filter__chip {
  border: 1px solid #d8c4b5;
  background: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #5a463e;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.catalog-filter__chip:hover {
  transform: translateY(-1px);
  border-color: #b58672;
  box-shadow: 0 4px 8px rgba(108, 64, 51, 0.08);
}
.catalog-filter__chip.active {
  background: #7e2625;
  color: #fff;
  border-color: #7e2625;
  box-shadow: 0 6px 12px rgba(126, 38, 37, 0.2);
}
.catalog-filter__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #f0e4d8;
  flex-wrap: wrap;
  gap: 16px;
}
.catalog-filter__discount {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 0;
}
.catalog-filter__discount input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #d49a36;
  cursor: pointer;
}
.catalog-filter__discount span {
  font-size: 14px;
  font-weight: 700;
  color: #7e2625;
}
.catalog-filter__reset {
  background: transparent;
  border: 1px solid #d8c4b5;
  color: #5a463e;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.catalog-filter__reset:hover {
  background: #f3eadf;
  color: #2b140c;
  border-color: #c4b0a0;
}

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

/* Ready gifts — панель фильтров */
.catalog-filter--ready-gifts {
  padding: 14px 16px 12px;
  overflow: visible;
  background: #fffdf8;
  border-color: #e8d8c8;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.catalog-filter--ready-gifts .catalog-filter__top-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin: -2px 0 0;
}
.catalog-filter--ready-gifts .catalog-filter__search--top {
  flex: 0 1 280px;
  width: min(280px, 100%);
  max-width: none;
  margin: 0;
}
.catalog-filter--ready-gifts .catalog-filter__head {
  display: none;
}
.catalog-filter--ready-gifts .catalog-filter__filters-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(118px, 148px);
  gap: 12px 14px;
  align-items: start;
}
.catalog-filter--ready-gifts .catalog-filter__chip-board {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr) minmax(0, 0.9fr);
  gap: 10px 12px;
  padding: 12px 12px 10px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e8d8c8;
  box-shadow: 0 4px 14px rgba(60, 22, 14, 0.04);
  align-items: stretch;
  min-height: 0;
  overflow: hidden;
}
.catalog-filter--ready-gifts .catalog-filter__chip-board--with-audience {
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 0.8fr) minmax(0, 1.2fr) minmax(0, 0.85fr);
}
.catalog-filter--ready-gifts .catalog-filter__chip-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  min-height: 0;
  height: 100%;
}
.catalog-filter--ready-gifts .catalog-filter__chip-group-head {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.catalog-filter--ready-gifts .catalog-filter__chip-group-title {
  font-size: 13px;
  font-weight: 800;
  color: #5a463e;
  letter-spacing: 0.01em;
}
.catalog-filter--ready-gifts .catalog-filter__chip-list {
  container-type: inline-size;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 6px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 38, 37, 0.45) rgba(126, 38, 37, 0.08);
}

.catalog-filter--ready-gifts .catalog-filter__chip-list::-webkit-scrollbar,
.catalog-filter--ready-gifts .catalog-filter__chip-list--inline::-webkit-scrollbar {
  width: 8px;
}

.catalog-filter--ready-gifts .catalog-filter__chip-list::-webkit-scrollbar-track,
.catalog-filter--ready-gifts .catalog-filter__chip-list--inline::-webkit-scrollbar-track {
  margin: 4px 0;
  background: rgba(126, 38, 37, 0.07);
  border-radius: 999px;
}

.catalog-filter--ready-gifts .catalog-filter__chip-list::-webkit-scrollbar-thumb,
.catalog-filter--ready-gifts .catalog-filter__chip-list--inline::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #c45a3a 0%, #7e2625 100%);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.catalog-filter--ready-gifts .catalog-filter__chip-list::-webkit-scrollbar-thumb:hover,
.catalog-filter--ready-gifts .catalog-filter__chip-list--inline::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #d46a48 0%, #922f2d 100%);
  background-clip: padding-box;
}

.catalog-filter--ready-gifts .catalog-filter__chip-list::-webkit-scrollbar-button,
.catalog-filter--ready-gifts .catalog-filter__chip-list--inline::-webkit-scrollbar-button {
  display: none;
  height: 0;
  width: 0;
}
.catalog-filter--ready-gifts .catalog-filter__chip-group--weight .catalog-filter__chip-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  align-content: start;
}
.catalog-filter--ready-gifts .catalog-filter__chip-list--inline {
  flex: 1 1 auto;
  min-width: 0;
  max-height: 3.75rem;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 38, 37, 0.45) rgba(126, 38, 37, 0.08);
}
.catalog-filter--ready-gifts .catalog-filter__chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px 12px;
}
.catalog-filter--ready-gifts .catalog-filter__extras {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.catalog-filter--ready-gifts .catalog-filter__chip-row {
  flex: 1 1 100%;
  margin: 0;
  gap: 8px 10px;
}
.catalog-filter--ready-gifts .catalog-filter__chip-row-label {
  font-size: 12px;
  font-weight: 800;
  color: #5a463e;
  padding-top: 5px;
  flex-shrink: 0;
}
.catalog-filter--ready-gifts .catalog-filter__chip {
  border: 1px solid #d8c4b5;
  background: #fff;
  padding: clamp(4px, 0.5vw, 6px) clamp(6px, 0.85vw, 10px);
  border-radius: 9px;
  font-size: clamp(10px, 1.05vw, 12px);
  font-weight: 700;
  color: #5a463e;
  cursor: pointer;
  line-height: 1.25;
  max-width: 100%;
  text-wrap: balance;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}
.catalog-filter--ready-gifts .catalog-filter__chip:hover {
  transform: translateY(-1px);
  border-color: #b58672;
  box-shadow: 0 4px 8px rgba(108, 64, 51, 0.08);
}
.catalog-filter--ready-gifts .catalog-filter__chip.active {
  background: linear-gradient(145deg, #7e2625, #9a3d33);
  color: #fff;
  border-color: #6f1f1e;
  box-shadow: 0 6px 14px rgba(126, 38, 37, 0.22);
}
@container (max-width: 88px) {
  .catalog-filter--ready-gifts .catalog-filter__chip {
    padding: 4px 6px;
    font-size: 10px;
  }
}
.catalog-filter--ready-gifts .catalog-filter__year-aside {
  min-width: 0;
  display: flex;
  align-self: start;
}
.catalog-filter--ready-gifts .catalog-filter__year-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  padding: 10px 8px 12px;
  margin: 0;
  border: 1px solid #e8d8c8;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}
.catalog-filter--ready-gifts .catalog-filter__year-panel:hover {
  border-color: #d8c4b5;
  box-shadow: 0 8px 20px rgba(60, 22, 14, 0.08);
}
.catalog-filter--ready-gifts .catalog-filter__year-panel.active {
  border-color: #d49a36;
  background: linear-gradient(180deg, #fff9f0, #fffdf8);
  box-shadow: 0 0 0 3px rgba(212, 154, 54, 0.18);
}
.catalog-filter--ready-gifts .catalog-filter__year-panel-media {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 100%;
  line-height: 0;
}
.catalog-filter--ready-gifts .catalog-filter__year-panel-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 92px;
  max-height: 92px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 6px 12px rgba(43, 20, 12, 0.1));
  pointer-events: none;
  user-select: none;
}
.catalog-filter--ready-gifts .catalog-filter__year-panel-badge {
  font-size: 13px;
  font-weight: 800;
  color: #7e2625;
  text-align: center;
  line-height: 1.25;
}
.catalog-filter--ready-gifts .catalog-filter__year-panel-hint {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  color: #a8948c;
  max-width: 11rem;
}
.catalog-filter--ready-gifts .catalog-filter__year-panel.active .catalog-filter__year-panel-hint {
  color: #96827a;
}
.catalog-filter--ready-gifts .catalog-filter__search--compact {
  flex: 1 1 160px;
  max-width: 260px;
  margin: 0;
  min-width: 0;
}
.catalog-filter--ready-gifts .catalog-filter__search--compact .catalog-filter__search-field input {
  height: 36px;
  padding-left: 34px;
  font-size: 13px;
}
.catalog-filter--ready-gifts .catalog-filter__toolbar--compact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0;
  margin-left: auto;
  padding: 0;
  border: 0;
}
.catalog-filter--ready-gifts .catalog-filter__toolbar--compact .catalog-filter__reset {
  height: 36px;
  padding: 0 12px;
  border-color: #c62828;
  color: #a61f1f;
  background: rgba(198, 40, 40, 0.07);
}
.catalog-filter--ready-gifts .catalog-filter__toolbar--compact .catalog-filter__reset:hover:not(:disabled) {
  background: #c62828;
  color: #fff8f0;
  border-color: #a61f1f;
}
.catalog-filter--ready-gifts .catalog-filter__toolbar--compact .catalog-filter__reset:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
.catalog-filter--ready-gifts .catalog-filter__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 14px;
}
.catalog-filter--ready-gifts .catalog-filter__control,
.catalog-filter--ready-gifts .catalog-filter__search--grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin: 0;
}
.catalog-filter--ready-gifts .catalog-filter__control-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #5a463e;
}
.catalog-filter--ready-gifts .catalog-filter__control select,
.catalog-filter--ready-gifts .catalog-filter__search-field input {
  width: 100%;
  height: 42px;
  min-width: 0;
  max-width: none;
  border: 1px solid #d8c4b5;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #2b140c;
  background: #fff;
  box-sizing: border-box;
}
.catalog-filter--ready-gifts .catalog-filter__search-field {
  position: relative;
  display: block;
}
.catalog-filter--ready-gifts .catalog-filter__search-field input {
  padding-left: 38px;
}
.catalog-filter--ready-gifts .catalog-filter__search--grid {
  grid-column: 1 / -1;
}
.catalog-filter--ready-gifts .catalog-filter__search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #96827a;
  font-size: 14px;
  pointer-events: none;
}
.catalog-filter--ready-gifts .catalog-filter__control--composition {
  overflow: visible;
}
.catalog-filter--ready-gifts .catalog-filter__composition-hint {
  margin: 0;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #6b5348;
  background: #f7efe4;
  border-radius: 10px;
  border: 1px solid #ead9c8;
  max-width: none;
}
.catalog-filter--ready-gifts .catalog-filter__toolbar:not(.catalog-filter__toolbar--compact) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding-top: 14px;
  border-top: 1px solid #ead9c8;
}
.catalog-filter--ready-gifts .catalog-filter__toolbar-start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.catalog-filter--ready-gifts .catalog-filter__year-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 14px 0 8px;
  border: 1px solid #d8c4b5;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.catalog-filter--ready-gifts .catalog-filter__year-chip:hover {
  border-color: #c4a88e;
  background: #fffdf8;
}
.catalog-filter--ready-gifts .catalog-filter__year-chip.active {
  border-color: #d49a36;
  background: linear-gradient(180deg, #fff9f0, #fffdf8);
  box-shadow: 0 0 0 3px rgba(212, 154, 54, 0.18);
}
.catalog-filter--ready-gifts .catalog-filter__year-chip-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.catalog-filter--ready-gifts .catalog-filter__year-chip-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.catalog-filter--ready-gifts .catalog-filter__year-chip-label {
  font-size: 13px;
  font-weight: 700;
  color: #5a463e;
  white-space: nowrap;
}
.catalog-filter--ready-gifts .catalog-filter__year-chip-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #e8d8c8;
  background: #f3eadf;
  color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.catalog-filter--ready-gifts .catalog-filter__year-chip.active .catalog-filter__year-chip-check {
  border-color: #fff;
  background: linear-gradient(145deg, #e8b84a, #c9892a);
  color: #fff;
}
.catalog-filter--ready-gifts .catalog-filter__reset {
  height: 42px;
  padding: 0 16px;
  font-size: 13px;
}
.catalog-filter--ready-gifts .catalog-filter__count {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #8b736c;
}
.catalog-filter--ready-gifts .catalog-filter__count strong {
  color: #7e2625;
  font-weight: 800;
}

@media (max-width: 1200px) {
  .catalog-filter--ready-gifts .catalog-filter__chip-board--with-audience {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .catalog-filter--ready-gifts .catalog-filter__filters-strip {
    grid-template-columns: 1fr;
  }
  .catalog-filter--ready-gifts .catalog-filter__chip-board {
    height: auto !important;
    overflow: visible;
  }
  .catalog-filter--ready-gifts .catalog-filter__chip-group {
    height: auto;
  }
  .catalog-filter--ready-gifts .catalog-filter__chip-list,
  .catalog-filter--ready-gifts .catalog-filter__chip-list--inline {
    flex: none;
    max-height: none;
    overflow: visible;
  }
  .catalog-filter--ready-gifts .catalog-filter__year-aside {
    order: -1;
  }
  .catalog-filter--ready-gifts .catalog-filter__year-panel {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 12px 16px;
    gap: 10px 14px;
  }
  .catalog-filter--ready-gifts .catalog-filter__year-panel-media {
    width: auto;
  }
  .catalog-filter--ready-gifts .catalog-filter__year-panel-img {
    max-width: 88px;
    max-height: 88px;
  }
  .catalog-filter--ready-gifts .catalog-filter__year-panel-badge,
  .catalog-filter--ready-gifts .catalog-filter__year-panel-hint {
    flex: 1 1 120px;
    text-align: left;
  }
}

@media (max-width: 900px) {
  .catalog-filter--ready-gifts .catalog-filter__chip-board {
    grid-template-columns: 1fr;
  }
  .catalog-filter--ready-gifts .catalog-filter__chip-group--weight .catalog-filter__chip-list {
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  }
}

@media (max-width: 600px) {
  .catalog-filter--ready-gifts {
    padding: 12px;
  }
  .catalog-filter--ready-gifts .catalog-filter__search--compact {
    flex: 1 1 100%;
    max-width: none;
  }
  .catalog-filter--ready-gifts .catalog-filter__toolbar--compact {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
}

.catalog-filter__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  overflow: visible;
}
.catalog-filter__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 12px;
  flex: 1 1 520px;
  overflow: visible;
}
.catalog-filter__control {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.catalog-filter__control-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #5a463e;
  white-space: nowrap;
}
.catalog-filter__control select {
  height: 42px;
  min-width: 148px;
  max-width: 220px;
  border: 1px solid #d8c4b5;
  border-radius: 10px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #2b140c;
  background: #fff;
}
.catalog-filter__control--composition {
  max-width: 260px;
  overflow: visible;
}
.catalog-filter__composition-hint {
  font-size: 11px;
  line-height: 1.35;
  color: #8b736c;
  max-width: 220px;
}
.catalog-filter__help {
  position: relative;
  display: inline-flex;
}
.catalog-filter__help-btn {
  width: 18px;
  height: 18px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #c4b0a0;
  background: #fff;
  color: #7e2625;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  cursor: help;
}
.catalog-filter__help-popover {
  box-sizing: border-box;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e8d8c8;
  background: #fffdf8;
  box-shadow: 0 14px 36px rgba(43, 20, 12, 0.18);
}
.catalog-filter__help-popover--open {
  position: fixed;
  z-index: 10050;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: auto;
}
.catalog-filter__help-item {
  margin-bottom: 12px;
}
.catalog-filter__help-item:last-child {
  margin-bottom: 0;
}
.catalog-filter__help-item strong {
  display: block;
  font-size: 13px;
  color: #7e2625;
  margin-bottom: 4px;
}
.catalog-filter__help-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #5a463e;
  font-weight: 500;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}
.catalog-filter__search {
  position: relative;
  flex: 0 1 280px;
  min-width: 200px;
}
.catalog-filter__search input {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 38px;
  border: 1px solid #d8c4b5;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
}
.catalog-filter__search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #96827a;
  font-size: 14px;
  pointer-events: none;
}
.catalog-filter__count {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: #8b736c;
}

@media (max-width: 767px) {
  .catalog-filter--ready-gifts .catalog-filter__toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-filter--ready-gifts .catalog-filter__toolbar-start {
    width: 100%;
  }
  .catalog-filter--ready-gifts .catalog-filter__year-chip {
    flex: 1 1 auto;
    justify-content: center;
  }
  .catalog-filter--ready-gifts .catalog-filter__reset {
    flex: 1 1 auto;
  }
  .catalog-filter--ready-gifts .catalog-filter__count {
    text-align: center;
  }
}

@media (max-width: 900px) {
  .catalog-filter__controls {
    flex-direction: column;
    align-items: stretch;
  }
  .catalog-filter__control select {
    max-width: none;
    width: 100%;
  }
  .catalog-filter__search {
    flex: 1 1 100%;
    max-width: none;
  }
}

/* Product details page */
.product-details__main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-details__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
}
.product-details__gallery-match {
  min-width: 0;
  min-height: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.product-details__summary {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.product-details__media-layout {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  /* тянется по высоте правого блока, не по фото */
  height: 100%;
}
.product-details__videos-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 26px;
}
.product-details__videos-row .product-details__videos {
  grid-column: 1;
  min-width: 0;
}
.product-details__thumbs {
  display: grid;
  gap: 8px;
  height: 100%;
  max-height: 100%;
  align-content: start;
  overflow: auto;
  padding-right: 2px;
  min-height: 0;
}
.product-details__thumbs button {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid #e8d8c8;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
}
.product-details__thumbs button.active {
  border-color: #7e2625;
  box-shadow: 0 0 0 2px rgba(126, 38, 37, 0.15);
}
.product-details__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-details__viewer {
  border: 1px solid #e8d8c8;
  border-radius: 14px;
  background: #fff;
  width: 100%;
  height: 100%;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.product-details__viewer img,
.product-details__viewer img[data-viewer-img] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
}
.product-details__videos {
  display: grid;
  gap: 10px;
}
.product-details__video {
  border: 1px solid #e8d8c8;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}
.product-details__video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.product-details__trust-wide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0 24px;
  margin-top: 4px;
  padding: 20px 22px;
  border: 1px solid #e8d8c8;
  border-radius: 14px;
  background: linear-gradient(155deg, #fffdf8 0%, #f8efe4 55%, #f3e8dc 100%);
  box-shadow: 0 8px 22px rgba(43, 20, 12, 0.06);
}
.product-details__trust-col {
  min-width: 0;
}
.product-details__trust-divider {
  width: 1px;
  background: linear-gradient(180deg, rgba(232, 216, 200, 0), rgba(216, 196, 181, 0.95), rgba(232, 216, 200, 0));
}
.product-details__trust-title {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  color: #2b140c;
  letter-spacing: 0.01em;
}
.product-details__trust-title i {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(126, 38, 37, 0.1);
  color: #7e2625;
  font-size: 15px;
}
.product-details__trust-block + .product-details__trust-block {
  margin-top: 12px;
}
.product-details__trust-subtitle {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: #5a463e;
}
.product-details__trust-list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: #4a342c;
}
.product-details__trust-list--plain {
  list-style: none;
  padding-left: 0;
}
.product-details__trust-list--plain li strong {
  color: #2b140c;
}
.product-details__trust-note {
  margin: 14px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #8a6a58;
}
.product-details__trust-steps {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #4a342c;
}
.product-details__trust-steps li {
  padding-left: 4px;
}
.product-details__trust-steps li::marker {
  color: #7e2625;
  font-weight: 800;
}

.product-details__insert-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 214, 150, 0.42);
  background: linear-gradient(120deg, #8f2b29 0%, #742422 55%, #6a211f 100%);
  box-shadow:
    0 8px 20px rgba(43, 20, 12, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-align: center;
}
.product-details__insert-banner i {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffe4b0;
  font-size: 15px;
}
.product-details__insert-banner p {
  margin: 0;
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff8f0;
  line-height: 1.35;
}

.product-details__title {
  margin: 0;
  font-family: var(--font-ny-heading, Georgia, "Times New Roman", serif);
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  color: #2b140c;
  letter-spacing: 0.01em;
}
.product-details__description {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #6b5550;
  max-width: 52ch;
}
.product-details__badge {
  position: static;
  display: inline-flex;
  align-self: flex-start;
  width: auto;
  max-width: max-content;
  margin: 0 0 10px;
  flex: 0 0 auto;
}
.product-details__compositions {
  margin-top: 18px;
}
.product-details__weights-label {
  margin: 0 0 10px;
  font-weight: 800;
  font-size: 14px;
  color: #5a463e;
  letter-spacing: 0.02em;
}
.product-details__weights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-details__specs {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border: 1px solid #e8d8c8;
  border-radius: 12px;
  background: #fffdf8;
  overflow: hidden;
}
.product-details__spec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding: 12px 14px;
  border-bottom: 1px dashed #eee2d7;
}
.product-details__spec:last-child {
  border-bottom: 0;
}
.product-details__spec dt {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #6b5348;
}
.product-details__spec dd {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #2b140c;
  text-align: right;
}
.product-details__spec--weight dd,
.product-details__spec--packaging dd {
  font-size: clamp(18px, 2.4vw, 22px);
  color: #7e2625;
}
.product-details__buy {
  border: 1px solid #e8d8c8;
  border-radius: 12px;
  background: #fffdf8;
  padding: 16px;
  margin-top: 16px;
}
.product-details__vat {
  margin: 10px 0 0;
  font-size: 11px;
  line-height: 1.45;
  color: #8a6a58;
}
.product-details__qty {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8c4b5;
  border-radius: 10px;
  overflow: hidden;
}
.product-details__qty button {
  width: 38px;
  height: 36px;
  display: grid;
  place-items: center;
  background: #fff;
}
.product-details__qty-input {
  width: min(64px, 18vw);
  min-width: 44px;
  height: 36px;
  padding: 0 4px;
  border: 0;
  border-inline: 1px solid #e8d9cc;
  text-align: center;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #2b140c;
  background: #fff;
  appearance: textfield;
}
.product-details__qty-input:focus {
  outline: none;
  background: #fffdf8;
  box-shadow: inset 0 0 0 2px rgba(126, 38, 37, 0.18);
}
.product-details__qty-input::-webkit-outer-spin-button,
.product-details__qty-input::-webkit-inner-spin-button {
  appearance: none;
  margin: 0;
}
.product-details__qty button {
  border: 0;
  cursor: pointer;
}
.product-details__actions {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.product-details__actions .add-cart-btn {
  flex: 1 1 180px;
  min-height: 44px;
}
.product-details__custom-btn {
  flex: 1 1 180px;
  min-height: 44px;
  border: 1px solid #7e2625;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff, #f7eee1);
  color: #7e2625;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  padding: 0 12px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.product-details__custom-btn:hover {
  background: #fff4ea;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(126, 38, 37, 0.12);
}
.product-details__fav {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid #d8c4b5;
  border-radius: 10px;
  background: #fff;
  color: #7e2625;
  cursor: pointer;
}
.product-details__fav.active {
  color: #fff;
  border-color: #7e2625;
  background: linear-gradient(135deg, #7e2625, #b43e3c);
}

.product-price--card {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  min-width: 0;
}
.product-price--card .product-price__old {
  font-size: 12px;
  font-weight: 700;
  color: #9a857c;
  text-decoration: line-through;
}
.product-price--card .product-price__current {
  font-size: 17px;
  font-weight: 800;
  color: #7e2625;
  line-height: 1.1;
}
.product-price--detail .product-price__old-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.product-price--detail .product-price__old {
  font-size: 16px;
  font-weight: 700;
  color: #9a857c;
  text-decoration: line-through;
}
.product-price--detail .product-price__discount-badge {
  font-size: 12px;
  font-weight: 800;
  color: #2a1810;
  background: linear-gradient(135deg, #b8860b, #e8c547);
  padding: 4px 8px;
  border-radius: 999px;
}
.product-price--detail .product-price__current {
  display: block;
  font-size: clamp(30px, 4vw, 38px);
  font-weight: 800;
  color: #7e2625;
  line-height: 1.05;
}
.product-custom-modal__terms {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f7efe4;
  border: 1px solid #ead9c8;
  font-size: 12px;
  line-height: 1.5;
  color: #6b5348;
}
.product-custom-modal__terms strong {
  color: #2b140c;
}
.product-details__composition {
  margin-top: 26px;
}
.product-details__composition-head {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.product-details__composition-kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a6a58;
}
.product-details__composition-name {
  margin: 0;
  font-family: var(--font-ny-heading, Georgia, "Times New Roman", serif);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 700;
  line-height: 1.1;
  color: #2b140c;
  letter-spacing: 0.01em;
}
.product-details__candies {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.product-details__candies-more {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 20px auto 0;
  min-height: 48px;
  padding: 13px 28px;
  border: 2px solid #d9a84a;
  border-radius: 999px;
  background: linear-gradient(180deg, #d43636 0%, #b22424 42%, #8f1a1a 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(90, 18, 18, 0.55),
    0 6px 20px rgba(28, 8, 8, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    inset 0 -3px 0 rgba(58, 10, 10, 0.45);
  text-shadow: 0 1px 2px rgba(58, 10, 10, 0.45);
  transition:
    transform 0.25s ease,
    box-shadow 0.28s ease,
    filter 0.25s ease;
}
.product-details__candies-more[hidden] {
  display: none !important;
}
.product-details__candies-more:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow:
    0 0 0 1px rgba(90, 18, 18, 0.55),
    0 10px 26px rgba(28, 8, 8, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -3px 0 rgba(58, 10, 10, 0.45);
}
.product-details__candy {
  border: 1px solid #e8d8c8;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: hidden;
  position: relative;
  cursor: default;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-details__candy:hover {
  border-color: #d4b8a8;
  box-shadow: 0 8px 18px rgba(43, 20, 12, 0.08);
}
.product-details__candy-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 150px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #f0e4d8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 6px;
  overflow: hidden;
  padding: 6px;
  box-sizing: border-box;
}
.product-details__candy-media img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}
.product-details__candy-title {
  margin: 4px 0 8px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.35;
  font-weight: 800;
  color: #2f140c;
  padding-right: 4px;
  flex: 1 1 auto;
}
.product-details__candy-origin {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  color: #5a463e;
  padding-right: 56px;
  margin-top: auto;
}
.product-details__candy-origin span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7e2625;
  margin-bottom: 2px;
}
.product-details__candy-origin span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7e2625;
  margin-bottom: 2px;
}

.candy-hover-tooltip {
  position: fixed;
  z-index: 70;
  width: min(280px, calc(100vw - 24px));
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(212, 165, 116, 0.45);
  background: linear-gradient(155deg, rgba(255, 252, 248, 0.98) 0%, rgba(248, 236, 224, 0.98) 100%);
  color: #2b140c;
  box-shadow:
    0 14px 32px rgba(43, 20, 12, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  pointer-events: none;
  animation: candyTooltipIn 0.16s ease-out both;
}
.candy-hover-tooltip__title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  color: #7e2625;
}
.candy-hover-tooltip__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #4a342c;
}
@keyframes candyTooltipIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-details__qty-badge {
  flex-shrink: 0;
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  color: #6a2f28;
  border: 1px solid #dfc7b7;
  background: #fbf3e9;
  padding: 2px 7px;
  border-radius: 999px;
}
.product-details__note-ribbon {
  position: absolute;
  top: 12px;
  left: -34px;
  width: 120px;
  text-align: center;
  z-index: 2;
  font-size: 11px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #9f3634, #7e2625);
  padding: 4px 0;
  border-radius: 2px;
  transform: rotate(-36deg);
  box-shadow: 0 3px 8px rgba(126, 38, 37, 0.2);
}
.product-page-notice {
  padding-top: 0;
}
.product-page-notice__card {
  border: 1px solid #e8d8c8;
  border-radius: 14px;
  padding: 18px 20px;
  background: linear-gradient(180deg, #fffdf8, #f9f1e6);
  box-shadow: 0 6px 18px rgba(43, 20, 12, 0.05);
}
.product-page-notice__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.product-page-notice__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: #5d4f4b;
}
.product-page-notice__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7e2625;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .product-details__hero {
    grid-template-columns: 1fr;
  }
  .product-details__gallery-match {
    height: auto !important;
    width: 100%;
  }
  .product-details__media-layout {
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
    max-height: none;
    min-height: 0;
    flex: none;
  }
  .product-details__videos-row {
    grid-template-columns: 1fr;
  }
  .product-details__videos-row .product-details__videos {
    grid-column: auto;
  }
  .product-details__trust-wide {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
  }
  .product-details__trust-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(232, 216, 200, 0), rgba(216, 196, 181, 0.95), rgba(232, 216, 200, 0));
  }
  .product-details__thumbs {
    grid-auto-flow: column;
    grid-auto-columns: 76px;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    height: auto;
  }
  .product-details__viewer {
    width: 100%;
    height: min(340px, 72vw);
    min-height: 240px;
    max-height: 340px;
  }
  .product-details__actions .add-cart-btn,
  .product-details__custom-btn {
    flex: 1 1 100%;
  }
  .product-details__candies {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog-below-header {
    padding-top: 132px;
  }
  .alt-catalog-grid {
    grid-template-columns: 1fr;
  }
  .saved-page {
    padding-top: 132px;
    min-height: calc(100vh - 200px);
  }
  .saved-page__actions {
    justify-content: flex-start;
  }
  .saved-line {
    grid-template-columns: 72px 1fr;
    align-items: start;
  }
  .saved-line__image {
    width: 72px;
    height: 72px;
  }
  .saved-line__price {
    display: none;
  }
  .saved-line__mobile-price {
    display: inline-flex;
  }
  .saved-line__actions {
    grid-column: 1 / -1;
    justify-self: stretch;
  }
  .saved-line__remove {
    width: 100%;
    justify-self: stretch;
    grid-column: 1 / -1;
  }
}

@media (max-width: 1100px) and (min-width: 769px) {
  .product-details__candies {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Крупнее шапка/кнопки на мониторах шире ноутбука (фикс. px не слушают html font-size) */
@media (min-width: 1600px) {
  .site-header--split .nav-link {
    font-size: 14px;
    padding: 10px 14px;
  }
  .contact-item {
    font-size: 14px;
  }
  .logo-text small {
    font-size: 13px;
  }
}

@media (min-width: 1920px) {
  .site-header--split .nav-link {
    font-size: 15px;
    padding: 10px 15px;
  }
  .contact-item {
    font-size: 14px;
  }
}

