@font-face {
  font-family: "Cormorant Garamond";
  src: url("./assets/fonts/cormorant-garamond-italic-600.ttf") format("truetype");
  font-style: italic;
  font-weight: 600;
  font-display: swap;
}

:root {
  --ink: #1f1a1c;
  --muted: #756c70;
  --line: #ece4e6;
  --paper: #ffffff;
  --soft: #faf4f6;
  --rose: #df5577;
  --rose-dark: #b73359;
  --green: #3f6c51;
  --shadow: 0 14px 34px rgba(52, 35, 42, 0.1);
}

[hidden] { display: none !important; }

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.4;
}

.welcome-bonus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 46px;
  padding: 8px 18px;
  color: #fff;
  background: linear-gradient(90deg, #b13f65, #d95779);
  text-align: center;
  font-weight: 750;
}
.welcome-bonus a {
  padding: 8px 14px;
  color: #fff;
  background: #6daa35;
  border-radius: 9px;
  text-decoration: none;
  white-space: nowrap;
}
.welcome-bonus a:hover { background: #5d972d; }

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

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

button,
input {
  font: inherit;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px clamp(14px, 4vw, 56px) 14px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.top-row,
.contact-row,
.section-title,
.price-row,
.info-band,
.messengers {
  display: flex;
  align-items: center;
}

.top-row {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}

.brand img {
  width: 142px;
  height: auto;
}

.yandex-rating {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-left: auto;
  padding: 0 13px;
  background: #fff8df;
  border: 1px solid #f0d36c;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(90, 67, 9, 0.08);
  color: #362b0c;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  gap: 7px;
  text-decoration: none;
}

.yandex-rating__stars {
  color: #ffb800;
  font-size: 14px;
  letter-spacing: -1px;
}

.yandex-rating__mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #fff;
  background: #fc3f1d;
  border-radius: 7px;
  font-weight: 950;
}

.yandex-rating b {
  font-size: 16px;
}

.header-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.header-icons a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  color: var(--social-color);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  line-height: 1;
}

.header-social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.header-social--wa svg {
  width: 17px;
  height: 17px;
}

.header-social--wa {
  --social-color: #25d366;
}

.header-social--tg {
  --social-color: #229ed9;
}

.header-social--max {
  --social-color: #2663ff;
}

.header-social--max .max-logo,
.footer-social--max .max-logo {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  background: linear-gradient(135deg, #05c8f6 0%, #2869f4 46%, #9a24ea 100%);
  border-radius: 6px;
}

.header-social--max .max-logo::before,
.footer-social--max .max-logo::before {
  content: "";
  position: absolute;
  inset: 4px;
  background: #fff;
  border-radius: 50%;
}

.header-social--max .max-logo::after,
.footer-social--max .max-logo::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 3px;
  width: 6px;
  height: 6px;
  background: #fff;
  clip-path: polygon(0 0, 100% 20%, 0 100%);
}

.header-social--vk {
  --social-color: #2787f5;
}

.header-social::before,
.header-social::after,
.footer-social::before,
.footer-social::after {
  content: none !important;
}

.footer-social svg,
.footer-social span {
  flex: 0 0 auto;
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-social--wa svg {
  color: #25d366;
}

.footer-social--tg svg {
  color: #229ed9;
}

.footer-social--vk svg {
  color: #2787f5;
}

.contact-row {
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.contact-row a {
  color: var(--rose-dark);
  font-weight: 800;
}

.header-quick-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.individual-order-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  color: #fff;
  background: var(--rose-dark);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(166, 48, 92, 0.2);
  font-weight: 900;
  text-decoration: none;
}

.individual-order-top:hover {
  filter: brightness(0.94);
}

.search-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 12px;
}

.search-bar input {
  min-height: 46px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.search-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(59, 40, 48, 0.07);
  font-weight: 900;
}

.primary-link,
.price-row a,
.order-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(59, 40, 48, 0.07);
  font-weight: 900;
}

.order-actions a::before {
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background: var(--brand-color, var(--rose));
}

a[href*="t.me"] {
  --brand-color: #229ed9;
}

a[href*="t.me"]::before {
  clip-path: polygon(7% 48%, 91% 14%, 76% 88%, 52% 66%, 38% 79%, 40% 59%);
}

a[href*="wa.me"] {
  --brand-color: #25d366;
}

a[href*="wa.me"]::before {
  border-radius: 999px;
  box-shadow: inset 0 0 0 4px #fff;
}

a[href*="wa.me"]::after {
  content: "";
  width: 5px;
  height: 5px;
  margin-left: -14px;
  margin-right: 2px;
  background: #25d366;
  border-radius: 0 0 0 5px;
  transform: rotate(-28deg) translateY(7px);
}

a[href*="max.ru"]::before {
  content: "M";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #fff;
  background: #2663ff;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

main {
  padding-bottom: 42px;
}

.intro,
.category-pills,
.product-section,
.info-band,
.delivery-section {
  margin: 18px clamp(14px, 4vw, 56px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  padding: clamp(22px, 4vw, 42px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero {
  position: relative;
  grid-template-columns: minmax(280px, 0.86fr) minmax(320px, 0.64fr);
  align-items: stretch;
  min-height: clamp(540px, 68vh, 720px);
  overflow: hidden;
  padding: clamp(18px, 3vw, 30px);
  background: linear-gradient(135deg, #fff 0%, #fff6f8 46%, #f7efe8 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(223, 85, 119, 0.12), transparent 32%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-copy,
.hero-gallery {
  position: relative;
  z-index: 1;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 650px;
  padding: clamp(16px, 3.4vw, 34px);
}

.hero h1 {
  max-width: 560px;
  margin-bottom: 18px;
  color: #241d20;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0;
}

.hero p {
  max-width: 560px;
  color: #5f575b;
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.5;
}

.hero .intro-actions {
  justify-content: flex-start;
  margin-top: 24px;
}

.hero-gallery {
  min-height: 100%;
  aspect-ratio: 9 / 14;
  overflow: hidden;
  border-radius: 16px;
  background: #251c1f;
  box-shadow: 0 22px 58px rgba(79, 38, 48, 0.22);
}

.hero-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 64%, rgba(22, 11, 15, 0.22) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03), transparent 34%);
  pointer-events: none;
}

.hero-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 24%;
  opacity: 0;
  transform: scale(1.015);
  animation: heroSlide 25s infinite;
}

.hero-gallery img:nth-child(1) {
  object-position: center 18%;
}

.hero-gallery img:nth-child(2) {
  object-position: center 30%;
}

.hero-gallery img:nth-child(3),
.hero-gallery img:nth-child(4) {
  object-position: center 22%;
}

.hero-gallery img:nth-child(5) {
  object-position: center 28%;
}

.hero-gallery img:nth-child(2) {
  animation-delay: 5s;
}

.hero-gallery img:nth-child(3) {
  animation-delay: 10s;
}

.hero-gallery img:nth-child(4) {
  animation-delay: 15s;
}

.hero-gallery img:nth-child(5) {
  animation-delay: 20s;
}

html[data-capture-photo] .hero-gallery img {
  opacity: 0;
  transform: none;
  animation: none;
}

html[data-capture-photo="1"] .hero-gallery img:nth-child(1),
html[data-capture-photo="2"] .hero-gallery img:nth-child(2),
html[data-capture-photo="3"] .hero-gallery img:nth-child(3),
html[data-capture-photo="4"] .hero-gallery img:nth-child(4),
html[data-capture-photo="5"] .hero-gallery img:nth-child(5) {
  opacity: 1;
}

.hero-caption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  max-width: min(84%, 440px);
  padding: 0 0 8px;
  color: #fff;
  background: none;
  border: 0;
  border-radius: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(24px, 3vw, 36px);
  font-style: italic;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-align: right;
  text-shadow: 0 2px 12px rgba(20, 12, 15, 0.88), 0 1px 2px rgba(20, 12, 15, 0.9);
}

.hero-caption span,
.hero-caption small {
  display: block;
}

.hero-caption small {
  margin-top: 8px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(12px, 1.25vw, 15px);
  font-style: normal;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.035em;
}

.hero-caption::after {
  content: "";
  display: block;
  width: 86px;
  height: 1px;
  margin: 10px 0 0 auto;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 1px 4px rgba(20, 12, 15, 0.5);
}

@keyframes heroSlide {
  0% {
    opacity: 0;
    transform: scale(1.015) translateX(8px);
  }

  7%,
  30% {
    opacity: 1;
    transform: scale(1) translateX(0);
  }

  38%,
  100% {
    opacity: 0;
    transform: scale(1.02) translateX(-8px);
  }
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 0.95;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

h3 {
  min-height: 42px;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 1.15;
}

.intro p,
.info-band p {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.category-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-pills a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.product-section {
  padding: clamp(18px, 3vw, 28px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.section-title {
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-title > a,
.section-title > span {
  color: var(--rose-dark);
  font-weight: 900;
}

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

.catalog-menu {
  position: relative;
  z-index: 20;
  width: min(340px, 100%);
  margin: 0 0 22px;
}

.catalog-menu__button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 18px;
  color: #fff;
  background: var(--rose-dark);
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.catalog-menu__icon {
  display: grid;
  gap: 4px;
  width: 24px;
}

.catalog-menu__icon i {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.catalog-menu__button[aria-expanded="true"] .catalog-menu__icon i:first-child { transform: translateY(6px) rotate(45deg); }
.catalog-menu__button[aria-expanded="true"] .catalog-menu__icon i:nth-child(2) { opacity: 0; }
.catalog-menu__button[aria-expanded="true"] .catalog-menu__icon i:last-child { transform: translateY(-6px) rotate(-45deg); }

.category-tabs {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  display: grid;
  width: min(340px, calc(100vw - 40px));
  overflow: hidden;
  border: 1px solid #47413f;
  border-radius: 12px;
  background: #302f2f;
  box-shadow: 0 18px 38px rgba(34, 28, 30, 0.28);
}

.category-tabs[hidden] { display: none; }

.category-tabs__item {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  color: #fff;
  background: #302f2f;
  border-bottom: 1px solid #47413f;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
}

.category-tabs__item:last-child { border-bottom: 0; }
.category-tabs__item:hover,
.category-tabs__item:focus-visible { background: #39764f; }

.category-tabs__item--hit {
  background: var(--rose-dark);
}

.category-tabs__item--muted {
  opacity: 0.74;
}

.catalog-category {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  scroll-margin-top: 170px;
}

.catalog-category:first-of-type {
  margin-top: 0;
}

.catalog-category__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.catalog-category__header h3 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
}

.catalog-category__header p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: right;
}

.catalog-card--preview-hidden {
  display: none !important;
}

.catalog-category--expanded .catalog-card--preview-hidden,
.product-section--favorites .catalog-card--preview-hidden:not([hidden]) {
  display: flex !important;
}

.catalog-show-all {
  justify-self: center;
  min-height: 42px;
  padding: 0 18px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.catalog-show-all:hover {
  border-color: #c86b88;
}

.catalog-search-status {
  margin: 0 0 22px;
  padding: 13px 18px;
  border-radius: 14px;
  background: #f7f1f3;
  color: #514549;
  font-weight: 600;
}

.empty-state {
  display: grid;
  gap: 8px;
  padding: clamp(28px, 5vw, 48px);
  color: var(--ink);
  background: var(--soft);
  border: 1px dashed rgba(116, 31, 44, 0.28);
  border-radius: 16px;
  text-align: center;
}

.empty-state h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 32px);
}

.empty-state p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.65;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.product-card > img {
  width: 100%;
  aspect-ratio: 1 / 1.1;
  object-fit: contain;
  object-position: center;
  background: var(--soft);
  cursor: zoom-in;
}

.heart {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--rose-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-size: 21px;
  transition: transform 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.heart:hover,
.heart:focus-visible {
  transform: scale(1.08);
}

.heart--active {
  color: #c43e62;
  background: #fff1f5;
}

.favorites-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  color: var(--rose-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.favorites-button--active {
  color: #fff;
  background: var(--rose-dark);
}

.favorites-count {
  min-width: 22px;
  padding: 2px 6px;
  color: inherit;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  text-align: center;
}

.favorites-empty {
  margin: 16px 0;
  padding: 18px;
  background: var(--soft);
  border-radius: 14px;
  text-align: center;
}

.product-card[hidden],
.catalog-category[hidden] {
  display: none !important;
}

.badge {
  display: none;
}

.muted-badge {
  background: var(--muted);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 14px;
}

.card-body small {
  min-height: 32px;
  margin-bottom: 8px;
  color: var(--muted);
}

.product-card .card-body small {
  display: none;
}

.product-card .card-body h3 {
  cursor: pointer;
}

.product-viewer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(31, 25, 27, 0.72);
}

.product-viewer[aria-hidden="true"] {
  display: none;
}

.product-viewer__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 18px;
}

.product-viewer__zoom-frame {
  overflow: hidden;
  background: var(--soft);
  cursor: zoom-in;
}

.product-viewer__image {
  display: block;
  width: 100%;
  max-height: 65vh;
  object-fit: contain;
  background: var(--soft);
  transition: transform 0.12s ease-out;
  will-change: transform;
}

.product-viewer__image--zoomed {
  transform: scale(2.5);
}

.product-viewer__body {
  padding: 20px;
}

.product-viewer__description {
  color: var(--muted);
  line-height: 1.55;
}

.product-viewer__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 28px;
  cursor: pointer;
}

.thumb-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 14px;
}

.thumb-strip img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  object-position: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: zoom-in;
}

.photo-viewer {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(28, 25, 25, 0.82);
  overflow: hidden;
  cursor: zoom-in;
  touch-action: pan-y;
}

body.viewer-open {
  overflow: hidden;
}

.photo-viewer[aria-hidden="false"] {
  display: grid;
}

.photo-viewer img {
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
  transition: transform 0.1s ease-out;
  will-change: transform;
}

.photo-viewer img.photo-viewer__image--zoomed {
  transform: scale(2.5);
}

.photo-viewer__close {
  position: fixed;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 7px;
  place-items: center;
  width: auto;
  height: 42px;
  padding: 0 14px;
  color: #fff;
  background: rgba(25, 20, 22, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.photo-viewer__close span {
  font-size: 27px;
  font-weight: 400;
}

.photo-viewer__nav {
  position: fixed;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 58px;
  color: #fff;
  background: rgba(25, 20, 22, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
}

.photo-viewer__nav--prev { left: max(12px, env(safe-area-inset-left)); }
.photo-viewer__nav--next { right: max(12px, env(safe-area-inset-right)); }

.photo-viewer__counter {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  z-index: 3;
  padding: 7px 12px;
  color: #fff;
  background: rgba(25, 20, 22, 0.72);
  border-radius: 999px;
  font-weight: 700;
  transform: translateX(-50%);
}

@media (max-width: 560px) {
  .photo-viewer {
    z-index: 9999;
    padding: 18px 10px 112px;
    touch-action: none;
  }
  .photo-viewer img {
    width: auto;
    max-width: 100%;
    max-height: calc(100dvh - 142px);
    transform: none !important;
    touch-action: none;
  }
  .photo-viewer__close {
    top: auto;
    right: 50%;
    bottom: max(22px, calc(env(safe-area-inset-bottom) + 12px));
    z-index: 10002;
    height: 50px;
    padding: 0 22px;
    background: #fff;
    color: #30272a;
    border-color: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.32);
    transform: translateX(50%);
  }
  .photo-viewer__nav {
    top: auto;
    bottom: max(22px, calc(env(safe-area-inset-bottom) + 12px));
    z-index: 10001;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.96);
    color: #30272a;
    border-color: #fff;
    font-size: 36px;
    transform: none;
  }
  .photo-viewer__nav--prev { left: 14px; }
  .photo-viewer__nav--next { right: 14px; }
  .photo-viewer__counter {
    top: max(16px, env(safe-area-inset-top));
    bottom: auto;
  }
}

.price-row {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.price-row strong {
  font-size: 20px;
}

.price-row a {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 10px;
  font-size: 14px;
}

.price-row .order-button {
  gap: 7px;
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
  box-shadow: 0 8px 20px rgba(59, 40, 48, 0.07);
}

.price-row .order-button::before {
  content: "🛒";
  width: auto;
  height: auto;
  margin: 0;
  background: none;
  box-shadow: none;
  font-size: 15px;
}

.cart-button,
.orders-button {
  min-height: 42px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
}

.orders-button { white-space: nowrap; }

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  color: #fff;
  background: var(--accent, #a34764);
  border-radius: 999px;
}

.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(31, 25, 27, 0.72);
}

.cart-modal[aria-hidden="true"] { display: none; }

.cart-modal__panel {
  position: relative;
  width: min(680px, 100%);
  max-height: 92vh;
  overflow: auto;
  padding: 24px;
  background: #fff;
  border-radius: 18px;
}

.cart-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  background: transparent;
  font-size: 30px;
  cursor: pointer;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.cart-item span { display: block; margin-top: 4px; color: var(--muted); }
.cart-item__quantity { display: flex; align-items: center; gap: 8px; }
.cart-item__quantity button, .cart-item__remove { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.cart-item__remove { color: #9b3652; font-size: 20px; }
.cart-total { padding: 18px 0; text-align: right; font-size: 20px; }

.checkout-form { display: grid; gap: 14px; }
.checkout-form h3 { margin: 6px 0 0; }
.checkout-form label { display: grid; gap: 6px; font-weight: 600; }
.checkout-form input, .checkout-form textarea { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.checkout-form label small { color: var(--muted); font-weight: 400; line-height: 1.4; }
.field-optional { color: var(--muted); font-size: 12px; font-weight: 400; }
.checkout-form fieldset { display: flex; gap: 18px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.checkout-form fieldset label, .checkout-consent { display: flex; align-items: center; gap: 8px; }
.checkout-form fieldset input, .checkout-consent input { width: auto; }
.delivery-timing { display: grid; gap: 5px; padding: 12px 14px; color: #674718; background: #fff7df; border: 1px solid #efd394; border-radius: 10px; line-height: 1.4; }
.delivery-timing[hidden] { display: none; }
.delivery-timing span { font-size: 13px; }
.checkout-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-submit { min-height: 48px; color: #fff; background: var(--accent, #a34764); border: 0; border-radius: 12px; font-weight: 700; cursor: pointer; }
.checkout-submit:disabled { background: #9a8f93; cursor: not-allowed; }
.checkout-note { margin: -6px 0 0; color: var(--muted); text-align: center; font-size: 13px; }
.checkout-success { padding: 32px 24px; background: var(--soft); border-radius: 14px; text-align: center; }
.checkout-success--paid { background: #eef9f1; border: 1px solid #b9dfc2; }
.checkout-success__icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #239b4a; color: #fff; font-size: 38px; font-weight: 800; line-height: 1; }
.checkout-success h3 { margin: 0 0 10px; font-size: clamp(26px, 4vw, 36px); }
.checkout-success p { margin: 8px 0; }
.checkout-success__order { color: var(--muted); font-size: 14px; }
.checkout-success__saved { color: #317246; font-size: 14px; }
.checkout-success__close,
.checkout-success__orders { margin-top: 18px; padding: 12px 20px; border: 0; border-radius: 10px; font: inherit; font-weight: 700; cursor: pointer; }
.checkout-success__close { background: var(--ink); color: #fff; }
.checkout-success__orders { margin-right: 8px; background: #239b4a; color: #fff; }

.storage-notice {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  max-width: 780px;
  margin: 0 auto;
  padding: 14px 16px;
  color: #fff;
  background: rgba(48, 42, 45, 0.96);
  border-radius: 14px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
}
.storage-notice[hidden] { display: none; }
.storage-notice p { margin: 0; line-height: 1.4; }
.storage-notice a { color: #fff; text-decoration: underline; }
.storage-notice button { flex: 0 0 auto; min-height: 38px; padding: 0 18px; border: 0; border-radius: 10px; color: #fff; background: var(--rose-dark); font-weight: 800; cursor: pointer; }

.orders-help { margin: -4px 0 20px; color: var(--muted); }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 18px 0; padding: 5px; background: var(--soft); border-radius: 12px; }
.account-tab { min-height: 42px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; }
.account-tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 4px 12px rgba(59, 40, 48, .08); }
.account-form { display: grid; gap: 13px; }
.account-form[hidden] { display: none; }
.account-form label { display: grid; gap: 6px; font-weight: 650; }
.account-form input { width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; }
.account-form label small { color: var(--muted); font-weight: 400; }
.account-form button { min-height: 46px; border: 0; border-radius: 11px; background: var(--accent, #a34764); color: #fff; font: inherit; font-weight: 750; cursor: pointer; }
.account-message { min-height: 22px; margin: 10px 0 0; color: #9b3652; font-weight: 650; }
.guest-orders { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.guest-orders h3, .account-profile h3 { margin: 0 0 8px; }
.guest-orders-list { display: grid; gap: 14px; }
.guest-orders-empty { padding: 20px 12px; color: var(--muted); background: var(--soft); border-radius: 14px; text-align: center; }
.account-profile__heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 24px; padding: 14px; background: var(--soft); border-radius: 13px; }
.account-profile__heading > div { display: grid; gap: 4px; }
.account-profile__name { font-size: 19px; }
.account-profile__email { color: var(--muted); font-size: 14px; }
.account-logout { padding: 9px 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.orders-list { display: grid; gap: 14px; }
.orders-empty { padding: 28px 12px; color: var(--muted); background: var(--soft); border-radius: 14px; text-align: center; }
.saved-order { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.saved-order__heading,
.saved-order__footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.saved-order__heading strong { font-size: 18px; }
.saved-order__status { padding: 6px 10px; border-radius: 999px; background: #f3ecef; color: var(--muted); font-size: 13px; font-weight: 800; }
.saved-order__status--paid { background: #e7f7eb; color: #23743c; }
.saved-order__status--failed { background: #fff0f0; color: #a23838; }
.saved-order__items { display: grid; gap: 8px; margin: 14px 0; }
.saved-order__item { display: flex; align-items: center; gap: 10px; }
.saved-order__item img { width: 52px; height: 52px; object-fit: cover; border-radius: 9px; }
.saved-order__footer { padding-top: 12px; border-top: 1px solid var(--line); }
.saved-order__footer small { color: var(--muted); }

.site-footer {
  margin-top: 34px;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #fbf5f7 100%);
  border-top: 1px solid var(--line);
}
.site-footer__grid { display: grid; grid-template-columns: 1.35fr repeat(3, 1fr); gap: clamp(24px, 5vw, 64px); width: min(1180px, calc(100% - 40px)); margin: 0 auto; padding: 44px 0 36px; }
.site-footer__brand, .site-footer__column { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer__brand img { width: min(230px, 100%); height: 64px; object-fit: contain; object-position: left center; }
.site-footer__brand strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; font-style: italic; }
.site-footer__brand span, .site-footer__column span { color: var(--muted); line-height: 1.5; }
.site-footer__phone { color: var(--ink); font-size: 21px; font-weight: 800; }
.site-footer__column h3 { margin: 8px 0 10px; font-size: 18px; }
.site-footer__column a { color: var(--muted); text-decoration: none; }
.site-footer__column a:hover { color: #9b3652; }
.site-footer__socials { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 16px; }
.site-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  min-width: 38px;
  height: 38px;
  padding: 0;
  color: var(--social-color);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  line-height: 1;
}
.site-footer__socials .header-social svg { width: 36px; height: 36px; fill: currentColor; }
.site-footer__socials .header-social--wa svg { width: 36px; height: 36px; }
.site-footer__socials .header-social--max .max-logo {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  border-radius: 11px;
}
.site-footer__socials .header-social--max .max-logo::before { inset: 7px; }
.site-footer__socials .header-social--max .max-logo::after {
  left: 7px;
  bottom: 5px;
  width: 11px;
  height: 11px;
}
.site-footer__socials .header-social--wa { order: 1; }
.site-footer__socials .header-social--max { order: 2; }
.site-footer__socials .header-social--vk { order: 3; }
.site-footer__socials .header-social--tg { order: 4; }
.site-footer__legal { padding: 14px 20px; color: var(--muted); background: #f4ecef; border-top: 1px solid var(--line); font-size: 12px; text-align: center; }

@media (max-width: 620px) {
  .welcome-bonus { flex-direction: column; gap: 8px; padding: 10px 14px; font-size: 14px; }
  .welcome-bonus a { width: 100%; }
  .cart-button,
  .orders-button { width: 100%; }
  .cart-item { grid-template-columns: 54px minmax(0, 1fr) auto; }
  .cart-item img { width: 54px; height: 54px; }
  .cart-item__quantity { grid-column: 2; }
  .checkout-form__row { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; padding-top: 34px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__grid > .site-footer__column:last-child { grid-column: 1 / -1; }
}

.order-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  margin-top: 10px;
}

.price-row .order-actions a {
  width: 50px;
  height: 50px;
  min-height: 50px;
  padding: 0;
  border: 0;
  border-radius: 15px;
  background: transparent;
  box-shadow: none;
  font-size: 0;
}

.price-row .order-actions a::before,
.price-row .order-actions a::after {
  display: none;
}

.app-ico {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 22px rgba(45, 38, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.app-ico::before,
.app-ico::after {
  content: "";
  position: absolute;
}

.app-ico--tg {
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.app-ico--tg::before {
  inset: 8px;
  border-radius: 999px;
  background: linear-gradient(160deg, #35d2ff 0%, #18aee9 58%, #0b84dd 100%);
  box-shadow: 0 4px 9px rgba(0, 143, 210, 0.24);
}

.app-ico--tg::after {
  left: 15px;
  top: 19px;
  width: 24px;
  height: 17px;
  background: #fff;
  clip-path: polygon(0 46%, 100% 0, 77% 100%, 51% 69%, 29% 88%);
}

.app-ico--max {
  background: linear-gradient(135deg, #12cffb 0%, #2764ff 45%, #9b2fff 100%);
}

.app-ico--max::before {
  inset: 8px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 42c-6-6-7-15-2-23 6-9 20-10 29-2 8 8 8 22-1 30-7 7-18 8-26 3l-9 5 4-10' fill='none' stroke='white' stroke-width='9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.app-ico--max::after {
  display: none;
}

.app-ico--wa {
  background: linear-gradient(160deg, #31f36f 0%, #12dc59 56%, #06b946 100%);
}

.app-ico--wa::before {
  inset: 7px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='white' d='M12.04 2C6.58 2 2.13 6.45 2.13 11.91c0 1.75.46 3.45 1.33 4.95L2.05 22l5.25-1.38a9.86 9.86 0 0 0 4.74 1.21h.01c5.46 0 9.91-4.45 9.91-9.91S17.5 2 12.04 2zm0 18.13h-.01a8.2 8.2 0 0 1-4.18-1.14l-.3-.18-3.12.82.83-3.04-.2-.31a8.19 8.19 0 0 1-1.26-4.37c0-4.52 3.68-8.2 8.21-8.2 2.19 0 4.25.85 5.8 2.4s2.4 3.61 2.4 5.8c0 4.52-3.68 8.2-8.17 8.2zm4.5-6.14c-.25-.12-1.47-.72-1.7-.8-.23-.09-.39-.12-.56.12-.17.25-.64.8-.78.96-.14.17-.29.18-.54.06-.25-.13-1.05-.39-2-1.23-.74-.66-1.24-1.47-1.38-1.72-.14-.25-.02-.38.11-.51.11-.11.25-.29.37-.43.13-.15.17-.25.25-.42.08-.16.04-.31-.02-.43-.06-.13-.56-1.35-.77-1.85-.2-.48-.41-.42-.56-.43h-.48c-.17 0-.43.06-.66.31-.23.25-.87.85-.87 2.08s.89 2.41 1.02 2.58c.12.17 1.75 2.68 4.25 3.75.59.26 1.06.41 1.42.52.6.19 1.14.16 1.57.1.48-.07 1.47-.6 1.68-1.18.21-.58.21-1.08.15-1.18-.06-.1-.23-.17-.48-.29z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.app-ico--wa::after {
  display: none;
}

.content-note {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.info-band {
  justify-content: space-between;
  align-items: stretch;
  gap: 32px;
  padding: clamp(22px, 3vw, 34px);
  color: var(--ink);
  background: linear-gradient(135deg, #fff 0%, #faf4f6 100%);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.contact-summary { flex: 1 1 520px; min-width: 0; }
.contact-summary h2 { margin: 2px 0 18px; font-size: clamp(26px, 3vw, 36px); line-height: 1.08; }
.contact-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.contact-details > * {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  text-decoration: none;
}
.contact-details span { color: var(--muted); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.contact-details strong { min-width: 0; font-size: 14px; line-height: 1.35; overflow-wrap: break-word; }

.bonus-band {
  margin: 28px 0;
  padding: 30px 34px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f3e8ed 0%, #fbf7f4 100%);
  border: 1px solid #eadde2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.bonus-band h2 {
  margin: 4px 0 12px;
}

.bonus-band p {
  margin: 0;
  max-width: 760px;
}

.bonus-band__note {
  margin-top: 10px !important;
  color: #6c6461;
}

.bonus-band__button {
  flex: 0 0 auto;
  padding: 14px 20px;
  border-radius: 14px;
  background: #2f734a;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
}

.bonus-band__button:hover {
  background: #275f3d;
}

.info-band .eyebrow,
.info-band p {
  color: var(--muted);
}

.messengers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 10px;
  flex: 0 1 390px;
}

.messengers a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 52px;
  padding: 8px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 5px 14px rgba(59, 40, 48, 0.05);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.messengers .contact-channel { grid-column: 1 / -1; }

.messengers a:hover { transform: translateY(-2px); }
.messengers .footer-social svg { width: 28px; height: 28px; }
.messengers .footer-social--max .max-logo { width: 28px; height: 28px; flex-basis: 28px; border-radius: 8px; }
.messengers .footer-social--max .max-logo::before { inset: 5px; }
.messengers .footer-social--max .max-logo::after { left: 5px; bottom: 4px; width: 8px; height: 8px; }
.messengers .footer-social > span:not(.max-logo) { color: var(--ink); }

.delivery-section {
  margin-top: 16px;
}

.delivery-details {
  scroll-margin-top: 150px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.delivery-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  padding: 0 clamp(18px, 3vw, 28px);
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  font-weight: 950;
  list-style: none;
}

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

.delivery-details summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(59, 40, 48, 0.07);
  font-size: 24px;
  line-height: 1;
}

.delivery-details[open] summary {
  border-bottom: 1px solid var(--line);
}

.delivery-details[open] summary::after {
  content: "−";
}

.delivery-content {
  max-width: 980px;
  padding: clamp(18px, 3vw, 30px);
}

.delivery-content h2 {
  margin-bottom: 16px;
}

.delivery-content h3 {
  min-height: 0;
  margin: 24px 0 10px;
  color: var(--rose-dark);
  font-size: 21px;
}

.delivery-content p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.delivery-content .delivery-lead {
  max-width: 720px;
  margin-bottom: 20px;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 600;
  line-height: 1.18;
}

.delivery-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.delivery-facts div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 17px;
  background: linear-gradient(145deg, #fff 0%, #faf3f5 100%);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.delivery-facts strong {
  color: var(--rose-dark);
  font-size: 21px;
}

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

.delivery-content .delivery-phone {
  display: inline-block;
  white-space: nowrap;
  color: var(--rose-dark);
  font-weight: 800;
  text-decoration: none;
}

.delivery-content .delivery-note {
  padding: 14px 16px;
  background: #f7f1f3;
  border-left: 3px solid var(--rose-dark);
  border-radius: 0 12px 12px 0;
}

.delivery-content a {
  color: var(--rose-dark);
}

@media (max-width: 1120px) {
  .product-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .intro,
  .info-band {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .info-band {
    display: flex;
    flex-direction: column;
    width: auto;
    max-width: calc(100% - 24px);
    overflow: hidden;
    gap: 20px;
    padding: 22px 18px;
  }

  .info-band > div,
  .messengers {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .messengers {
    align-items: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .messengers a {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: normal;
  }

  .contact-details { grid-template-columns: 1fr; }
  .contact-summary h2 { font-size: 28px; }

  .hero {
    min-height: auto;
    padding: 12px;
  }

  .hero-copy {
    order: 2;
    padding: 18px 10px 10px;
  }

  .hero h1 {
    max-width: 320px;
    margin-bottom: 12px;
    font-size: clamp(31px, 8.2vw, 38px);
    line-height: 1.1;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-gallery {
    min-height: auto;
    aspect-ratio: 9 / 13;
  }

  .hero-gallery img {
    object-fit: cover;
  }

  .hero .intro-actions {
    margin-top: 20px;
  }

  .hero-caption {
    right: 16px;
    bottom: 14px;
    max-width: calc(100% - 32px);
    font-size: 25px;
  }

  .product-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .category-tabs__item {
    min-height: 50px;
    padding: 0 18px;
    font-size: 15px;
  }

  .catalog-category {
    margin-top: 22px;
  }

  .catalog-category__header {
    display: grid;
    gap: 6px;
  }

  .catalog-category__header h3 {
    font-size: 21px;
  }

  .catalog-category__header p {
    max-width: none;
    text-align: left;
  }

  .product-card {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-gallery img {
    animation: none;
  }

  .hero-gallery img:first-child {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .storage-notice { align-items: stretch; flex-direction: column; gap: 10px; }
  .storage-notice button { width: 100%; }
  .delivery-facts { grid-template-columns: 1fr; }
  .delivery-content { padding: 18px 16px 24px; }
  .app-header {
    position: static;
    padding-right: 12px;
    padding-left: 12px;
  }

  .brand img {
    width: 118px;
  }

  .yandex-rating {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  .header-icons {
    order: 4;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .header-icons a {
    width: 22px;
    height: 22px;
    padding: 0;
  }

  .contact-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .individual-order-top {
    width: 100%;
  }

  .search-bar {
    grid-template-columns: 1fr;
  }

  .intro,
  .category-pills,
  .product-section,
  .bonus-band,
  .info-band,
  .delivery-section {
    margin-right: 12px;
    margin-left: 12px;
  }

  h1 {
    font-size: 38px;
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .primary-link {
    width: 100%;
  }

  .messengers {
    justify-content: flex-start;
    padding: 4px 0 6px;
  }

  .messengers a {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    font-size: 16px;
  }

  .messengers a { font-size: 14px; }

  .intro-actions {
    justify-content: stretch;
  }

  .bonus-band {
    align-items: stretch;
    flex-direction: column;
    padding: 24px 20px;
  }

  .bonus-band__button {
    width: 100%;
  }
}
