/* AW Gourmet — общие стили */

:root {
  /* Единый жёлтый */
  --yellow: #FCEDBB;
  --cream: #FCEDBB;
  --cream-warm: #FCEDBB;
  --cream-dark: #FCEDBB;
  --beige-light: #FCEDBB;
  --beige-section: #FCEDBB;

  /* Красные акценты */
  --red-brand: #FF000A;
  --red-dark: #CC0008;
  --red-light: #FF3340;
  --red-muted: #E8333A;

  /* Алиасы для совместимости */
  --burgundy: var(--red-brand);
  --burgundy-dark: var(--red-dark);
  --burgundy-light: var(--red-light);
  --burgundy-muted: var(--red-muted);
  --red: var(--red-brand);
  --blue-section: var(--beige-section);

  --white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-muted: #5A4A28;
  --gold: #FCEDBB;
  --gold-btn: #FCEDBB;
  --border: #FCEDBB;
  --border-light: #FCEDBB;

  --font-script: 'Great Vibes', cursive;
  --font-brand-script: 'Snell Roundhand', 'Allura', cursive;
  --font-sans: 'Montserrat', sans-serif;
  --header-height: 180px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(26, 26, 26, 0.28) transparent;
}

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

/* Minimal page scrollbar */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: rgba(26, 26, 26, 0.22);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 0, 10, 0.45);
  border: 2px solid transparent;
  background-clip: padding-box;
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner {
  background: transparent;
}

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

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

ul {
  list-style: none;
}

/* ─── Header ─── */
/*
  Фигурный край: правьте mask-image (SVG path).
  viewBox 0 0 100 100: Y=0 сверху, Y=100 низ выреза.
  Бока (V≈26) — высота ровной линии под меню/корзиной.
  Центр (Y→100) — глубина дуги под логотип.
*/

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: transparent;
  padding: 1rem 2rem 7.5rem;
  margin-bottom: -6.5rem;
  border-bottom: none;
  box-shadow: none;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
  pointer-events: none;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--cream);
  pointer-events: none;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 0 H100 V26 H82 C72 26 68 30 64 38 C59 50 56 58 53 62 C51.5 64 48.5 64 47 62 C44 58 41 50 36 38 C32 30 28 26 18 26 H0 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 0 H100 V26 H82 C72 26 68 30 64 38 C59 50 56 58 53 62 C51.5 64 48.5 64 47 62 C44 58 41 50 36 38 C32 30 28 26 18 26 H0 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.header-inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  pointer-events: auto;
}

.nav-left {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-wrap: nowrap;
  gap: 0;
  padding-top: 0.5rem;
}

.nav-left a {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 0.55rem;
  border-right: 1px solid var(--red);
  transition: opacity var(--transition);
}

.nav-left a:last-child {
  border-right: none;
}

.nav-left a:hover,
.nav-left a.active {
  opacity: 0.7;
}

.logo-block {
  justify-self: center;
  text-align: center;
  z-index: 1;
}

.logo-link {
  display: inline-block;
  line-height: 0;
}

.logo-image {
  height: 155px;
  width: auto;
  max-width: min(520px, 94vw);
  display: block;
  margin: 0 auto;
}

.cart-block {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  gap: 0.55rem;
  padding-top: 0.5rem;
  color: var(--red);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font-sans);
  transition: opacity var(--transition);
}

.cart-block:hover {
  opacity: 0.75;
}

.cart-icon {
  width: 28px;
  height: 28px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.5;
}

/* ─── Hero (в духе crumblcookies.com: жёлтый фон, десерты по краям) ─── */

.hero {
  position: relative;
  z-index: 1;
  height: 960px;
  min-height: 960px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: var(--cream);
}

.hero-decor {
  position: absolute;
  left: 0;
  right: 0;
  /* уходит вверх под sticky-меню, не обрезается блоком hero */
  top: -14rem;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-float {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(68.4vw, 756px);
  height: 100%;
  object-fit: contain;
  /* чёрный фон PNG становится прозрачным на жёлтом */
  mix-blend-mode: screen;
  filter: contrast(1.08) saturate(1.1);
  user-select: none;
  -webkit-user-drag: none;
}

.hero-float--left {
  left: 0;
  object-position: left center;
}

.hero-float--right {
  right: 0;
  object-position: right center;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: min(560px, 90vw);
  margin-top: -8rem;
  align-self: center;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.05;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: var(--text-dark);
  font-weight: 400;
  margin-bottom: 2rem;
  line-height: 1.55;
}

.btn-primary {
  display: inline-block;
  background: var(--text-dark);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1.15rem 2.85rem;
  border: 1px solid var(--text-dark);
  border-radius: 999px;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), opacity var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #000;
  border-color: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  opacity: 0.92;
}

.btn-yellow {
  background: var(--cream-warm);
  color: var(--burgundy-dark);
  width: 100%;
  padding: 1.15rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition);
}

.btn-yellow:hover {
  background: var(--cream-dark);
}

.btn-add {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
  padding: 0.7rem 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-add:hover {
  background: var(--text-dark);
  color: var(--white);
  border-color: var(--text-dark);
}

.btn-add.is-added {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

/* ─── Our Creations ─── */

.creations {
  background: var(--white);
  padding: 4rem 0 5rem;
}

.creations .section-header {
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.carousel-wrapper {
  position: relative;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0 3rem;
  box-sizing: border-box;
}

.carousel-wrapper:not(.is-scrollable) .carousel-btn {
  display: none;
}

.carousel-wrapper:not(.is-scrollable) {
  padding: 0 1rem;
}

.carousel {
  position: relative;
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 0 1.5rem;
  align-items: flex-start;
  cursor: grab;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.carousel-wrapper:not(.is-scrollable) .carousel {
  overflow-x: visible;
  scroll-snap-type: none;
  cursor: default;
  touch-action: auto;
  justify-content: center;
  flex-wrap: nowrap;
}

.carousel-wrapper.is-infinite .carousel {
  scroll-snap-type: none;
}

.carousel.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

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

.carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.carousel-item-img {
  display: block;
  height: 520px;
  width: auto;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--beige-light);
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(255, 0, 10, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--burgundy);
  z-index: 2;
  transition: transform var(--transition), background var(--transition);
}

.carousel-btn--prev {
  left: 0;
}

.carousel-btn--next {
  right: 0;
}

.carousel-btn:hover {
  transform: translateY(-50%) scale(1.08);
  background: var(--white);
}

/* ─── Flavor bar (бесшовная бегущая строка) ─── */

.flavor-bar {
  background: var(--white);
  border-top: 1px solid var(--red);
  border-bottom: 1px solid var(--red);
  overflow: hidden;
  padding: 1rem 0;
}

.flavor-bar-track {
  display: flex;
  width: max-content;
  animation: scroll-flavors linear infinite;
  animation-duration: var(--flavor-duration, 35s);
  will-change: transform;
}

.flavor-bar-set {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
  flex-shrink: 0;
}

.flavor-bar-set span {
  font-family: var(--font-script);
  font-size: 1.45rem;
  color: var(--burgundy-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

@keyframes scroll-flavors {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-1 * var(--flavor-shift, 50%)));
  }
}

/* ─── Experience ─── */

.experience {
  background: var(--cream-warm);
  display: grid;
  grid-template-columns: 1fr minmax(320px, 72rem) 1fr;
  align-items: stretch;
  gap: 0;
  padding: 0;
  overflow: hidden;
  min-height: 560px;
}

.experience-inner {
  display: contents;
}

.experience-text {
  grid-column: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 3rem;
  width: 100%;
  max-width: none;
  justify-self: stretch;
  align-self: stretch;
  background: var(--cream);
}

.experience-label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.experience-title {
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  line-height: 1.05;
  position: relative;
  padding-bottom: 1.25rem;
}

.experience-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 3.5rem;
  height: 3px;
  background: var(--red);
}

.experience-desc {
  font-size: 1.05rem;
  color: var(--text-dark);
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 500;
}

.experience-image {
  grid-column: 3;
  display: flex;
  align-items: stretch;
  justify-content: center;
  align-self: stretch;
  overflow: hidden;
  background: var(--cream-warm);
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.experience-image-photo {
  display: block;
  width: 100%;
  max-width: 480px;
  height: calc(100% + 120px);
  min-height: calc(560px + 120px);
  margin-top: -120px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

/* ─── Features collage ─── */

.features {
  background: var(--white);
  padding: 0;
  border-top: 1px solid var(--border-light);
}

/* Высота одного ряда коллажа (десктоп): меняйте оба значения одинаково, напр. 560px / 620px / 720px */
.features-band {
  display: grid;
  /* 50% / 50% — большой кадр и мозаика; стык верхнего и нижнего рядов совпадает по центру */
  grid-template-columns: 1fr 1fr;
  gap: 0;
  height: 940px;
  max-height: 940px;
}

.features-hero-shot {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: var(--cream);
}

.features-hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.features-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0;
  height: 100%;
  min-height: 0;
}

.features-cell {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.features-cell--img {
  background: var(--cream);
}

.features-cell-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.features-cell--text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  padding: 1rem 1rem;
  background: #fdfbf7;
}

.features-cell-title {
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dark);
  line-height: 1.25;
}

.features-cell-copy {
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  line-height: 1.55;
  color: var(--text-dark);
  max-width: 18rem;
}

@font-face {
  font-family: 'Snell Roundhand';
  src:
    url('../fonts/snellroundhand_regular.otf') format('opentype'),
    url('../fonts/snellroundhand.otf') format('opentype'),
    url('../fonts/snellroundhand_bold.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ─── Custom Requests ─── */

.custom-requests {
  background-color: var(--cream);
  background-image: url('../images/texture-bows.png');
  background-repeat: repeat;
  background-size: 220px auto;
  background-position: top left;
  padding: 5rem 2rem;
  border-top: 1px solid var(--border-light);
}

.form-wrapper {
  max-width: 900px;
  margin: 2rem auto 0;
  padding: 2rem;
  background: rgba(252, 237, 187, 0.94);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.custom-requests .section-header {
  background: rgba(252, 237, 187, 0.92);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem 1.5rem;
  border-radius: 4px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.custom-requests .form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.custom-requests .form-group input,
.custom-requests .form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.custom-requests .form-group input:focus,
.custom-requests .form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 0, 10, 0.12);
}

.custom-requests .form-group textarea {
  min-height: 200px;
  resize: vertical;
}

.custom-requests .btn-yellow {
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.custom-requests .btn-yellow:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.form-submit {
  margin-top: 2rem;
}

/* ─── Order page ─── */

.order-page {
  background: var(--cream);
  min-height: 60vh;
  padding: 2rem 2rem 4rem;
}

.order-storefront ::selection {
  background: rgba(255, 0, 10, 0.18);
  color: var(--text-dark);
}

.order-intro {
  max-width: 1400px;
  margin: 0 auto 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255, 0, 10, 0.12);
}

.order-intro-title {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.7rem;
  line-height: 1.15;
}

.order-intro-text {
  max-width: 40rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.order-layout {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.75rem;
  align-items: start;
}

.order-filters-toggle,
.order-filters-close {
  display: none;
}

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.sidebar-head h2,
.sidebar-title {
  margin-bottom: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.sidebar h3,
.filter-section h3,
.filter-section h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  color: var(--text-dark);
}

.sidebar-nav a {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  border-bottom: 1px solid transparent;
}

.sidebar-nav a.active,
.sidebar-nav a:hover {
  color: var(--text-dark);
  text-decoration: none;
  border-bottom-color: rgba(255, 0, 10, 0.35);
}

.sidebar-nav a.active {
  font-weight: 700;
  border-bottom-color: var(--red);
}

.filter-section {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 0, 10, 0.12);
}

.filter-section h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  color: var(--text-dark);
}

.filter-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  color: var(--red);
}

.filter-label--spaced {
  margin-top: 1.15rem;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
}

.filter-option:hover {
  color: var(--text-dark);
}

.filter-option input {
  accent-color: var(--red);
  width: 1rem;
  height: 1rem;
}

.products-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.products-header {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 0;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog-admin-enter,
.catalog-admin-done,
.catalog-admin-btn {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 0.9rem;
  cursor: pointer;
}

.catalog-admin-enter:hover,
.catalog-admin-done:hover,
.catalog-admin-btn:hover {
  border-color: var(--red);
  color: var(--red);
}

.catalog-admin-btn--danger {
  color: var(--red);
}

.catalog-admin-bar[hidden] {
  display: none;
}

.catalog-admin-bar {
  margin-bottom: 1.5rem;
  padding: 1rem 1rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--border-light);
}

.catalog-admin-add {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.catalog-admin-add-title,
.catalog-admin-submit,
.catalog-admin-status,
.catalog-admin-done {
  grid-column: 1 / -1;
}

.catalog-admin-add-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-admin-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: left;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.catalog-admin-field input,
.catalog-admin-field select,
.catalog-admin-login input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-dark);
  outline: none;
}

.catalog-admin-field input:focus,
.catalog-admin-field select:focus,
.catalog-admin-login input:focus {
  border-color: var(--red);
}

.catalog-admin-fields .catalog-admin-field input,
.catalog-admin-fields .catalog-admin-field select,
.catalog-admin-add .catalog-admin-field input,
.catalog-admin-add .catalog-admin-field select {
  border-color: var(--red);
}

.catalog-admin-submit {
  justify-self: start;
  width: auto;
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 0.6rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.catalog-admin-status,
.catalog-admin-msg,
.catalog-admin-error {
  font-size: 0.8rem;
  color: var(--red);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}

.catalog-admin-status:empty,
.catalog-admin-msg:empty,
.catalog-admin-error:empty {
  display: none;
}

.catalog-admin-fields {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-align: left;
}

.catalog-admin-flag {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.catalog-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.2rem;
}

.product-card.is-hidden {
  box-shadow: inset 0 0 0 1px var(--text-muted);
}

body.catalog-admin-on .product-card:hover {
  transform: none;
}

.catalog-admin-overlay {
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(26, 26, 26, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.catalog-admin-overlay[hidden] {
  display: none;
}

.catalog-admin-login {
  width: min(100%, 380px);
  background: var(--white);
  padding: 1.4rem 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.catalog-admin-login h2 {
  font-size: 1.15rem;
  font-weight: 700;
}

.catalog-admin-login-actions {
  display: flex;
  gap: 0.5rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.products-status {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 3rem 1rem;
}

.products-status-block {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 1.15rem;
}

.products-reset {
  border: 1px solid var(--text-dark);
  background: transparent;
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform 0.18s ease;
}

.products-reset:hover {
  background: var(--text-dark);
  color: var(--white);
}

.products-reset:active {
  transform: scale(0.98);
}

.product-card {
  background: var(--white);
  text-align: center;
  border: none;
  border-radius: 1.15rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  box-shadow: 0 14px 40px rgba(255, 0, 10, 0.1);
  transform: translateY(-5px);
}

.product-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  border-radius: 1.15rem 1.15rem 0 0;
  background-color: #fff8e6;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-img,
  .products-reset {
    transition: none;
  }

  .product-card:hover,
  .product-card:hover .product-img {
    transform: none;
  }
}

.product-card-body {
  padding: 1.15rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
  color: var(--text-dark);
  line-height: 1.3;
}

.product-gift-line {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin: 0 0 0.7rem;
  min-height: 2.35em;
}

.product-price {
  font-size: 0.92rem;
  color: var(--text-dark);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 1.1rem;
}

.product-actions {
  margin-top: auto;
}

.qty-selector {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 0.75rem;
  border: 1px solid rgba(26, 26, 26, 0.16);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.qty-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  color: var(--text-dark);
  transition: color var(--transition), background var(--transition);
}

.qty-btn:hover {
  color: var(--red);
  background: rgba(255, 0, 10, 0.06);
}

.qty-value {
  width: 36px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-left: 1px solid rgba(26, 26, 26, 0.1);
  border-right: 1px solid rgba(26, 26, 26, 0.1);
  padding: 0.25rem;
  background: transparent;
  color: var(--text-dark);
}

/* ─── Collections page ─── */

.collections-page {
  padding: 1.5rem 2rem 5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.collection-hero-row {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 0.9fr);
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.collection-hero-frame {
  background: transparent;
  border-radius: 2rem;
  overflow: hidden;
}

.collection-hero {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 2rem;
  display: block;
}

.collection-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.collection-title {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 0.9rem;
}

.collection-intro > p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 36rem;
}

.collection-rule {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.35rem 0 1.15rem;
  color: var(--red);
}

.collection-rule::before,
.collection-rule::after {
  content: '';
  height: 1px;
  flex: 1;
  background: rgba(255, 0, 10, 0.35);
}

.collection-points {
  list-style: none;
  display: flex;
  gap: 1.25rem;
}

.collection-points li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  max-width: 7.5rem;
  text-align: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.collection-point-icon {
  width: 2rem;
  height: 2rem;
  color: var(--red);
}

.collection-point-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.collection-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin: 0.5rem 0 2rem;
}

.collection-tab {
  border: 1px solid rgba(255, 0, 10, 0.45);
  background: transparent;
  color: var(--red);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.collection-tab.is-active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.flavour-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.flavour-card {
  background: var(--white);
  border-radius: 1.15rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(26, 26, 26, 0.04);
}

.flavour-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: #f7f4ee;
}

.flavour-card-body {
  padding: 0.9rem 1rem 1.05rem;
}

.flavour-card-body h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.flavour-card-body p {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.flavour-pill {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 0, 10, 0.08);
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.35;
  white-space: nowrap;
}

.collection-note {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 52rem;
}

.collection-video {
  width: min(100%, 640px);
  margin-top: 1.5rem;
  border-radius: 1rem;
  background: var(--white);
  display: block;
}

@media (max-width: 900px) {
  .collection-hero-row,
  .flavour-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .collections-page {
    padding: 1.25rem 1rem 3.5rem;
  }

  .collection-hero-row,
  .flavour-grid,
  .collection-points {
    grid-template-columns: 1fr;
    display: grid;
  }

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

/* ─── About page ─── */

.about-page {
  padding: 3rem 2rem 5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text {
  padding: 2.5rem 2rem;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--cream);
}

.about-text p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.about-text p.emphasis {
  font-weight: 500;
  color: var(--red);
}

.about-signoff {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.about-signoff-brand {
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: var(--red);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.about-signoff-tagline {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0;
}

.about-portrait {
  position: relative;
  display: flex;
  justify-content: center;
}

.portrait-frame {
  width: min(100%, 440px);
  height: 580px;
  border-radius: 50% / 45%;
  overflow: hidden;
  background: url('../images/photo_2026-07-13_09-45-26.jpg') center/cover no-repeat;
  border: 2px solid var(--white);
  box-shadow: 0 12px 48px rgba(255, 0, 10, 0.12);
}

.portrait-bow {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 144px;
  height: auto;
}

.footer-logo-img {
  height: 36px;
  width: auto;
}

/* ─── Floating contact button ─── */

.floating-contact {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  background: var(--burgundy);
  color: var(--beige-light);
  border: none;
  border-radius: 2rem;
  padding: 0.9rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(255, 0, 10, 0.2);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.floating-contact:hover {
  transform: translateY(-2px);
  background: var(--burgundy-dark);
  box-shadow: 0 6px 28px rgba(255, 0, 10, 0.3);
}

.floating-contact .sparkle {
  font-size: 0.9rem;
}

/* ─── Footer mini ─── */

.site-footer-mini {
  padding: 2rem;
  text-align: left;
}

.footer-logo {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--red);
}

/* ─── Contact footer ─── */
/*
  Волна над футером: правьте path в mask-image.
  viewBox 0 0 1440 120, Y=0 сверху. Заливка — верх до волнистого края.
*/

.site-contact {
  position: relative;
  background: var(--white);
  border-top: none;
  padding: 11.5rem 2rem 5rem;
}

.site-contact::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 140px;
  background: var(--cream);
  pointer-events: none;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 52C160 86 300 98 460 62C620 26 740 8 880 40C1020 72 1140 112 1300 76C1360 60 1400 48 1440 54V0H0Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='black' d='M0 52C160 86 300 98 460 62C620 26 740 8 880 40C1020 72 1140 112 1300 76C1360 60 1400 48 1440 54V0H0Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.site-contact-grid {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.site-legal {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 3rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 0, 10, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.site-legal a {
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: opacity var(--transition);
}

.site-legal a:hover {
  opacity: 0.7;
}

.site-legal a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.site-contact-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-contact-title {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-top: 0.75rem;
}

.site-contact-title--instagram {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.site-contact-ig-icon {
  width: 1.05em;
  height: 1.05em;
  flex-shrink: 0;
  color: var(--red);
}

.site-contact-col .site-contact-title:first-child {
  margin-top: 0;
}

.site-contact-text {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  line-height: 1.5;
}

a.site-contact-text {
  text-decoration: none;
  transition: opacity var(--transition);
}

a.site-contact-text:hover {
  opacity: 0.7;
}

a.site-contact-text[href^="mailto:"] {
  text-transform: none;
  letter-spacing: 0.02em;
}

/* ─── Legal pages ─── */

.legal-page {
  width: min(100% - 2rem, 860px);
  margin: 0 auto;
  padding: 4rem 0 7rem;
}

.legal-page-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 0, 10, 0.18);
}

.legal-page h1 {
  max-width: 18ch;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.legal-effective-date {
  margin-top: 1rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-intro {
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.legal-section {
  margin-top: 2.75rem;
}

.legal-section h2 {
  margin-bottom: 0.85rem;
  color: var(--red);
  font-size: 1.1rem;
  line-height: 1.35;
}

.legal-section p + p,
.legal-section ul + p,
.legal-section p + ul {
  margin-top: 1rem;
}

.legal-section ul {
  padding-left: 1.35rem;
  list-style: disc;
}

.legal-section li + li {
  margin-top: 0.35rem;
}

.legal-contact {
  font-style: normal;
  line-height: 1.8;
}

/* ─── Responsive ─── */

@media (max-width: 1100px) {
  .features-band {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }

  /* Высота на планшете / узком экране */
  .features-hero-shot {
    height: 280px;
  }

  .features-mosaic {
    height: 320px;
  }
}

/* Ниже 1350px: ровное меню без фигурного края + мобильная адаптация */
@media (max-width: 1349px) {
  .site-header {
    padding: 0.85rem 1.25rem 1rem;
    margin-bottom: 0;
    background: var(--cream);
    filter: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  }

  .site-header::before {
    display: none;
  }

  .logo-image {
    height: 110px;
    max-width: min(300px, 55vw);
  }

  .nav-left a {
    font-size: 0.8rem;
    padding: 0 0.65rem;
  }

  .hero-decor {
    top: 0;
  }

  .hero {
    overflow: hidden;
    height: auto;
    min-height: min(70vh, 640px);
  }

  .hero-content {
    margin-top: -2rem;
  }

  .hero-float {
    width: min(50.4vw, 384px);
  }
}

@media (max-width: 768px) {
  .header-inner {
    display: grid;
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 0.65rem;
  }

  .logo-block {
    position: static;
    order: 1;
  }

  .nav-left {
    order: 2;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 0;
    row-gap: 0.3rem;
  }

  .cart-block {
    order: 3;
    justify-content: center;
    justify-self: center;
    padding-top: 0;
  }

  .logo-image {
    height: 84px;
    max-width: min(240px, 70vw);
  }

  .site-header {
    padding: 0.75rem 1rem 0.85rem;
  }

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

  .experience-text,
  .experience-image {
    grid-column: 1;
  }

  .experience-text {
    padding: 3rem 2rem;
    max-width: none;
    order: 1;
  }

  .experience-image {
    order: 2;
    padding: 0;
  }

  .experience-image-photo {
    max-width: 100%;
    height: 380px;
    min-height: 380px;
  }

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

  .portrait-frame {
    width: min(100%, 360px);
    height: 480px;
  }

  .form-grid,
  .order-layout,
  .site-contact-grid {
    grid-template-columns: 1fr;
  }

  .order-page {
    padding: 1.25rem 1rem 3rem;
  }

  .order-intro {
    margin-bottom: 1.25rem;
  }

  .order-layout {
    gap: 1.25rem;
  }

  .products-area {
    order: 1;
  }

  .order-filters-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--text-dark);
    background: var(--white);
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    cursor: pointer;
    min-height: 44px;
    transition: background var(--transition), color var(--transition);
  }

  .order-filters-toggle:hover {
    background: var(--text-dark);
    color: var(--white);
  }

  .order-filters-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
  }

  .order-filters-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1400;
    background: rgba(26, 26, 26, 0.4);
  }

  .order-filters-backdrop[hidden] {
    display: none;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1500;
    width: min(86vw, 320px);
    max-width: 320px;
    padding: 1.25rem 1.25rem 2rem;
    background: var(--cream);
    box-shadow: 0 12px 40px rgba(26, 26, 26, 0.18);
    transform: translateX(-105%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  body.order-filters-open {
    overflow: hidden;
  }

  .products-header-row {
    flex-wrap: wrap;
  }

  .site-contact {
    padding: 8rem 1.25rem 6.5rem;
  }

  .legal-document .floating-contact {
    display: none;
  }

  .site-contact::before {
    height: 88px;
  }

  .features-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .features-cell-img {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .features-cell--text {
    min-height: 140px;
  }

  .hero-float {
    width: min(43.2vw, 216px);
    opacity: 0.9;
  }

  .hero-title {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .carousel-item-img {
    height: 400px;
    max-height: 60vh;
  }
}

@media (max-width: 480px) {
  .features-mosaic {
    grid-template-columns: 1fr;
  }

  .nav-left a {
    font-size: 0.72rem;
    padding: 0 0.45rem;
    letter-spacing: 0.08em;
  }

  .logo-image {
    height: 72px;
  }

  .hero-float {
    width: min(38.4vw, 168px);
  }

  .cart-sidebar {
    max-width: 100%;
  }
}

/* ─── Cart sidebar ─── */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.4);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  height: 100dvh;
  background: var(--white);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  box-shadow: -8px 0 32px rgba(255, 0, 10, 0.1);
}

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

.cart-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border-light);
  flex-shrink: 0;
}

.cart-sidebar-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dark);
}

.cart-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  transition: color var(--transition);
}

.cart-close:hover {
  color: var(--burgundy);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 3rem 1rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-img {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  background: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.cart-item-img svg {
  width: 32px;
  height: 32px;
  stroke: var(--white);
  fill: none;
  stroke-width: 1.2;
}

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

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.cart-item-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
}

.cart-item-remove {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.15rem;
  color: var(--burgundy);
  flex-shrink: 0;
  transition: opacity var(--transition);
}

.cart-item-remove:hover {
  opacity: 0.7;
}

.cart-item-remove svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.cart-item-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cart-qty {
  display: flex;
  align-items: center;
  border: 1px solid rgba(26, 26, 26, 0.16);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}

.cart-qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition), background var(--transition);
}

.cart-qty-btn:hover {
  background: rgba(255, 0, 10, 0.06);
  color: var(--red);
}

.cart-qty-value {
  width: 36px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  border-left: 1px solid rgba(26, 26, 26, 0.1);
  border-right: 1px solid rgba(26, 26, 26, 0.1);
  line-height: 36px;
}

.cart-item-total {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
}

.cart-footer {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border-light);
  flex-shrink: 0;
  background: var(--white);
}

.cart-promo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-dark);
  cursor: pointer;
  padding: 0;
  margin-bottom: 1.25rem;
  transition: color var(--transition);
}

.cart-promo:hover {
  color: var(--burgundy);
}

.cart-promo svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.cart-total-label {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.cart-total-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.cart-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.cart-pay-btn {
  width: 100%;
  padding: 1.05rem 1.5rem;
  background: var(--text-dark);
  color: var(--white);
  border: 1px solid var(--text-dark);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  margin-bottom: 0.75rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.cart-pay-btn:hover {
  background: #000;
  border-color: #000;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cart-pay-btn:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

.cart-back-btn {
  width: 100%;
  padding: 0.95rem 1.25rem;
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}

.cart-back-btn:hover {
  background: var(--text-dark);
  color: var(--white);
}

body.cart-open,
body.delivery-open {
  overflow: hidden;
}

/* ─── Delivery modal ─── */

.delivery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.5);
  z-index: 2100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.delivery-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.delivery-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 2101;
  width: calc(100% - 2rem);
  max-width: 980px;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  background: var(--white);
  transform: translate(-50%, -46%) scale(0.98);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.delivery-modal.is-open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  visibility: visible;
}

.delivery-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border-light);
}

.delivery-modal-title {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.delivery-form {
  padding: 0;
}

.delivery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  align-items: stretch;
}

.delivery-col {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.delivery-field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
  resize: vertical;
  min-height: 5rem;
}

.delivery-field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 0, 10, 0.12);
}

.delivery-receipt {
  background: #f6f1e4;
  padding: 0 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.delivery-receipt-edge {
  height: 14px;
  margin: 0 -1.1rem;
  background-image: radial-gradient(circle at 8px 14px, var(--white) 7px, transparent 8px);
  background-size: 16px 14px;
  background-repeat: repeat-x;
  background-color: #f6f1e4;
}

.delivery-receipt-card {
  background: var(--white);
  padding: 1.15rem 1.1rem 1.25rem;
  border: 1px solid rgba(26, 26, 26, 0.06);
}

.delivery-receipt-title {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.delivery-receipt-head,
.delivery-receipt-line,
.delivery-receipt-row,
.delivery-receipt-total {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.delivery-receipt-head {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0.55rem;
}

.delivery-receipt-items {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}

.delivery-receipt-line {
  font-size: 0.88rem;
  line-height: 1.35;
}

.delivery-receipt-line span:last-child,
.delivery-receipt-row span:last-child,
.delivery-receipt-total span:last-child {
  flex-shrink: 0;
  font-weight: 600;
}

.delivery-receipt-empty {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.delivery-receipt-row {
  padding-top: 0.65rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.88rem;
}

.delivery-receipt-row span:last-child {
  color: var(--burgundy);
}

.delivery-receipt-total {
  margin-top: 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.delivery-receipt-total span:last-child {
  color: var(--burgundy);
}

.delivery-receipt .cart-pay-btn {
  margin-top: auto;
}

@media (max-width: 800px) {
  .delivery-layout {
    grid-template-columns: 1fr;
  }

  .delivery-receipt-edge {
    background-image: radial-gradient(circle at 8px 0, var(--white) 7px, transparent 8px);
    background-position: 0 -7px;
  }
}

.delivery-field {
  position: relative;
}

.delivery-field label,
.delivery-slots legend {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.4rem;
}

.delivery-slots {
  border: none;
  padding: 0;
  margin: 0;
}

.delivery-field input,
.delivery-field select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-dark);
  outline: none;
}

.delivery-field select {
  cursor: pointer;
}

.delivery-field input:focus,
.delivery-field select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255, 0, 10, 0.12);
}

.delivery-field input.is-invalid,
.delivery-field select.is-invalid {
  border-color: var(--red);
}

.delivery-suggest {
  list-style: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 2;
  max-height: 180px;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.delivery-suggest-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.65rem 0.8rem;
  border: none;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--text-dark);
  cursor: pointer;
}

.delivery-suggest-item:hover {
  background: var(--cream);
}

.delivery-map {
  height: 220px;
  background: var(--cream);
  border: 1px solid var(--border-light);
}

.delivery-map-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: -0.4rem;
}

.delivery-slot-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.delivery-slot {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.delivery-slot.is-active {
  background: var(--burgundy);
  color: var(--white);
  border-color: var(--burgundy);
}

.delivery-slot:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.delivery-slot-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.45rem;
}

.delivery-error {
  font-size: 0.8rem;
  color: var(--red);
}

.delivery-modal .cart-pay-btn {
  margin-bottom: 0;
}

.checkout-page {
  min-height: 40vh;
  padding: 3rem 1.5rem 5rem;
  max-width: 560px;
  margin: 0 auto;
}

.checkout-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  border: 1px solid var(--border-light);
}

.checkout-card h1 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.checkout-card p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.checkout-total {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--burgundy);
  margin: 1rem 0 1.5rem;
}

.checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkout-status {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.checkout-status.is-error {
  color: var(--red);
}

.checkout-status.is-ok {
  color: var(--text-dark);
}

/* ─── Product detail modal (Order) ─── */

body.product-modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(26, 26, 26, 0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-modal.is-open {
  opacity: 1;
}

.product-modal[hidden] {
  display: none !important;
}

.product-modal-dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: min(90vh, 820px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--cream);
  border: none;
  border-radius: 1.15rem;
  padding: 0;
  box-shadow: 0 24px 64px rgba(26, 26, 26, 0.18);
  transform: translateY(14px) scale(0.985);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-modal.is-open .product-modal-dialog {
  transform: none;
}

.product-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-dark);
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: background var(--transition), color var(--transition), transform 0.18s ease;
}

.product-modal-close:hover {
  background: var(--red);
  color: var(--white);
}

.product-modal-close:active {
  transform: scale(0.96);
}

.product-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  align-items: stretch;
  min-height: 0;
  max-height: min(90vh, 820px);
}

.product-modal-media-col {
  position: relative;
  background: #fff8e6;
  min-height: 0;
}

.product-modal-media {
  width: 100%;
  height: 100%;
  min-height: 420px;
  aspect-ratio: auto;
  border-radius: 0;
  background: #fff8e6 center / cover no-repeat;
}

.product-modal-info {
  display: flex;
  flex-direction: column;
  min-height: 0;
  max-height: min(90vh, 820px);
  background: var(--cream);
  padding: 2rem 1.85rem 1.5rem;
}

.product-modal-copy-block {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 0.35rem;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 0, 10, 0.35) transparent;
}

.product-modal-copy-block::-webkit-scrollbar {
  width: 6px;
}

.product-modal-copy-block::-webkit-scrollbar-thumb {
  background: rgba(255, 0, 10, 0.28);
  border-radius: 999px;
}

.product-modal-title {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
  padding-right: 2.5rem;
}

.product-modal-tagline {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 36ch;
  margin-bottom: 1rem;
}

.product-modal-tagline[hidden],
.product-modal-meta[hidden] {
  display: none !important;
}

.product-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.product-modal-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 0, 10, 0.28);
  background: transparent;
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-modal-section {
  margin-bottom: 1.25rem;
}

.product-modal-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.7rem;
}

.product-modal-flavours {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.product-modal-flavours li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 0, 10, 0.1);
}

.product-modal-flavours li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.product-modal-flavour-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
}

.product-modal-flavour-note {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.product-modal-spec {
  margin-bottom: 1rem;
  padding: 0;
  background: transparent;
  border-top: 1px solid rgba(255, 0, 10, 0.12);
  padding-top: 0.85rem;
}

.product-modal-spec summary {
  cursor: pointer;
  list-style: none;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0;
}

.product-modal-spec summary::-webkit-details-marker {
  display: none;
}

.product-modal-spec summary::after {
  content: '+';
  margin-left: 0.45rem;
  font-weight: 600;
}

.product-modal-spec[open] summary {
  margin-bottom: 0.55rem;
}

.product-modal-spec[open] summary::after {
  content: '−';
}

.product-modal-spec p,
.product-modal-empty {
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.product-modal-spec p + p {
  margin-top: 0.55rem;
}

.product-modal-origin {
  margin-top: 0.35rem;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.product-modal-buy {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "price qty"
    "add add";
  gap: 0.85rem 1rem;
  align-items: center;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 0, 10, 0.14);
  background: var(--cream);
}

.product-modal-price {
  grid-area: price;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-dark);
  margin: 0;
}

.product-modal-qty {
  grid-area: qty;
  background: var(--white);
  border-radius: 2px;
  justify-self: end;
}

.product-modal-add {
  grid-area: add;
  width: 100%;
  min-height: 3rem;
  margin-top: 0;
  border-radius: 999px;
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background var(--transition), transform 0.18s ease, box-shadow var(--transition);
}

.product-modal-add:hover {
  background: #000;
  border-color: #000;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.product-modal-add:active {
  transform: scale(0.98);
}

.product-modal-add.is-added {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.products-grid .product-card {
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .product-modal,
  .product-modal-dialog,
  .product-modal-close,
  .product-modal-add {
    transition: none;
  }

  .product-modal-dialog {
    transform: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .product-modal {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(26, 26, 26, 0.48);
  }
}

@media (max-width: 760px) {
  .product-modal {
    padding: 0;
    align-items: flex-end;
  }

  .product-modal-dialog {
    width: 100%;
    max-height: 94vh;
    border-radius: 1.15rem 1.15rem 0 0;
    transform: translateY(24px);
  }

  .product-modal.is-open .product-modal-dialog {
    transform: none;
  }

  .product-modal-layout {
    grid-template-columns: 1fr;
    max-height: 94vh;
  }

  .product-modal-media {
    min-height: 0;
    aspect-ratio: 5 / 4;
    height: auto;
  }

  .product-modal-info {
    max-height: none;
    padding: 1.25rem 1.15rem 1.35rem;
  }

  .product-modal-copy-block {
    max-height: min(38vh, 280px);
  }

  .product-modal-title {
    padding-right: 2.75rem;
    font-size: 1.3rem;
  }

  .product-modal-close {
    top: 0.75rem;
    right: 0.75rem;
  }
}




