@font-face {
  font-family: Golos;
  src: url("assets/fonts/golos-regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Golos;
  src: url("assets/fonts/golos-semibold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: Bodoni;
  src: url("assets/fonts/bodoni-italic.ttf") format("truetype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
:root {
  --popup-paper: #f2ece8;
  --popup-ink: #443039;
  --popup-muted: #715e64;
  --popup-accent: #69444f;
  --popup-radius: 30px 14px 30px 14px;
  --paper: #ecede8;
  --ink: #171916;
  --muted: #62675e;
  --accent: #d0d8b9;
  --white: #fff;
  --line: #b8bcb2;
  --error: #8a241b;
  --botanical-opacity: 0.24;
  --botanical-text: #3f463d;
  --header-paper: #e6dcda;
  --header-line: #cdbbbd;
  --header-accent: #8b646f;
  --header-top: 12px;
  --header-clearance: 128px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-20: 80px;
  --gutter: 32px;
  --page-edge: max(var(--gutter), calc(50% - 960px + var(--gutter)));
  --radius: 0px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --fast: 120ms;
  --panel: 240ms;
  --font-ui: Golos, Arial, sans-serif;
  --font-display: Bodoni, Georgia, serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-padding-top: var(--header-clearance);
  background: var(--paper);
}
body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100svh;
  background: var(--paper);
  color: var(--ink);
  font: 14px/1.5 var(--font-ui);
  -webkit-font-smoothing: antialiased;
}
body.has-dialog {
  overflow: hidden;
}
/* Sparse botanical transfers sit behind the interface, never over photographs. */
body::before,
.shop::before,
.footer::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  background-image: url("assets/floral-memory.webp");
  background-repeat: no-repeat;
  opacity: var(--botanical-opacity);
}
body::before {
  inset: 0 0 auto;
  height: clamp(180px, 18vw, 360px);
  background-position: right -2vw top clamp(-180px, -6.5vw, -70px);
  background-size: clamp(650px, 48vw, 1280px) auto;
  opacity: 0.2;
  mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
}
.shop,
.footer {
  position: relative;
  isolation: isolate;
}
.shop::before {
  inset: -82px 0 0;
  background-position: right -95px top -54px;
  background-size: clamp(900px, 75vw, 1700px) auto;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 14%,
    #000 75%,
    transparent
  );
}
.footer::before {
  inset: 0;
  background-position: left -70px bottom -46px;
  background-size: clamp(700px, 60vw, 1400px) auto;
  -webkit-mask-image:
    linear-gradient(to right, #000 55%, transparent 98%),
    linear-gradient(to bottom, transparent, #000 12%, #000 86%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, #000 55%, transparent 98%),
    linear-gradient(to bottom, transparent, #000 12%, #000 86%, transparent);
  mask-composite: intersect;
}
@media (max-width: 600px) {
  :root {
    --botanical-opacity: 0.2;
  }
  body::before {
    height: clamp(100px, 30vw, 160px);
    background-size: max(420px, 100vw) auto;
    background-position: right -40px top -55px;
    opacity: 0.15;
  }
  .shop::before {
    inset: -104px 0 0;
    background-size: clamp(460px, 140vw, 700px) auto;
    background-position: right -95px top 0;
  }
  .footer::before {
    background-size: clamp(420px, 120vw, 720px) auto;
    background-position: left -100px bottom -100px;
  }
}
@media (forced-colors: active) {
  body::before,
  .shop::before,
  .footer::before {
    display: none;
  }
}
button,
input {
  font: inherit;
  color: inherit;
}
button,
a,
input,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 0;
  border-radius: var(--radius);
  background: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: not-allowed;
  color: var(--muted);
  background: #d9dcd4;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}
button:active:not(:disabled),
a:active {
  opacity: 0.65;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h2,
h3 {
  font-weight: 400;
}
h2 {
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.045em;
}
button[hidden],
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  background: var(--ink);
  color: white;
  padding: 12px 20px;
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: none;
}
.muted {
  color: var(--muted);
}
.header {
  position: sticky;
  top: var(--header-top);
  z-index: 30;
  min-height: 88px;
  margin: 12px var(--page-edge) 24px;
  padding: 5px 28px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 32px;
  align-items: center;
  background: var(--header-paper);
  border: 1px solid var(--header-line);
  border-radius: 30px 14px 30px 14px;
}
.header .brand {
  width: 148px;
  background: var(--header-paper);
}
.header .logo-crop {
  aspect-ratio: 74 / 39;
}
.header .logo-crop img {
  object-fit: contain;
}
.header-emblem,
.footer-emblem {
  display: block;
  width: 44px;
  height: 48px;
  color: var(--header-accent);
}
.header-emblem svg,
.footer-emblem svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header-emblem circle,
.footer-emblem circle {
  fill: currentColor;
  stroke: none;
}
.header-emblem .butterfly-wing {
  transform-box: view-box;
  transform-origin: 40px 56px;
}
.header-emblem .butterfly-wing path {
  vector-effect: non-scaling-stroke;
  stroke-width: 0.66px;
}
.brand {
  width: 155px;
  min-height: 64px;
  display: flex;
  align-items: center;
}
.logo-crop {
  display: block;
  width: 100%;
  aspect-ratio: 1.9;
  overflow: hidden;
  mix-blend-mode: darken;
}
.logo-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.brand,
.hero-logo,
.footer-logo {
  background-color: var(--paper);
}
.navigation {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 12px;
}
.navigation a,
.text-button {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 8px 0;
}
.cart-trigger {
  justify-self: end;
  gap: 8px;
  font-size: 12px;
}
.bag-icon {
  width: 21px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#cart-count {
  font-variant-numeric: tabular-nums;
}
.navigation a {
  position: relative;
}
.navigation a::after {
  content: "";
  position: absolute;
  height: 1px;
  left: 0;
  right: 0;
  bottom: 9px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
}
.hero-logo {
  width: min(100%, 360px);
  margin: 0;
}
.memory-contour {
  margin: 0 var(--page-edge);
  pointer-events: none;
  opacity: 0.82;
}
.memory-contour picture,
.memory-contour img {
  display: block;
  width: 100%;
}
.memory-contour img {
  height: auto;
}
.shop.section {
  padding-top: 8px;
}
@media (max-width: 600px) {
  .memory-contour img {
    aspect-ratio: 400 / 108;
  }
}
.section {
  padding: 88px var(--page-edge) 0;
  scroll-margin-top: 24px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 36px;
  padding-top: 24px;
}
.section-heading h2 {
  font: italic 600 clamp(60px, 7.6vw, 112px) / 1 var(--font-display);
  letter-spacing: -0.07em;
}
.section-heading sup {
  font: 11px / 1 var(--font-ui);
  letter-spacing: 0;
  vertical-align: top;
  margin-left: 8px;
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}
.filters button {
  padding: 8px 0;
  min-height: 44px;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.filters button[aria-pressed="true"] {
  color: var(--ink);
  border-color: var(--ink);
}
.filters button span {
  font-size: 10px;
  vertical-align: super;
  margin-left: 2px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.product {
  min-width: 0;
}
.product-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0;
}
.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #dfe1da;
}
.product-image img {
  position: absolute;
  max-width: none;
  height: auto;
  top: 50%;
  transform: translateY(-50%);
}
.sample-label {
  font-size: 11px;
  color: var(--muted);
}
.product-image .sample-label {
  position: absolute;
  left: 16px;
  top: 14px;
  z-index: 1;
  background: var(--paper);
  padding: 3px 7px;
}
.product-image::after {
  content: "Рассмотреть";
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: var(--paper);
  padding: 8px 12px;
  font-size: 12px;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity var(--fast),
    transform var(--fast);
}
.product-link:focus-visible .product-image::after {
  opacity: 1;
  transform: none;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-top: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}
.product-meta h3 {
  font-size: 16px;
}
.product-meta span {
  font-size: 12px;
  color: var(--muted);
}
.product-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}
.catalog-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 28px;
}
.empty-state {
  padding: 64px 0;
  text-align: center;
}
.empty-state h3 {
  font-size: 28px;
  letter-spacing: -0.03em;
}
.empty-state p {
  margin: 12px 0 24px;
  color: var(--muted);
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--accent);
  border: 1px solid transparent;
}
.button.primary {
  background: var(--ink);
  color: var(--paper);
  width: 100%;
}
.button.primary:disabled {
  background: #d9dcd4;
  color: #666b61;
}
.loading-copy {
  min-height: 220px;
  display: flex;
  align-items: center;
  font-size: 16px;
}
.notice {
  padding: 24px;
  background: var(--accent);
}
.footer {
  padding: 88px var(--page-edge) 20px;
}
.footer-panel {
  background: var(--header-paper);
  border: 1px solid var(--header-line);
  border-radius: 30px 14px 30px 14px;
  padding: 32px 28px 0;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 272px;
  align-items: start;
  gap: 48px;
  padding-bottom: 28px;
}
.footer-logo {
  display: block;
  width: 272px;
  max-width: 100%;
  background: var(--header-paper);
}
.footer-logo .logo-crop {
  aspect-ratio: 17 / 9;
}
.footer-logo img {
  object-fit: contain;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.footer-group h2 {
  margin: 0 0 16px;
  font: 400 12px/1.5 var(--font-ui);
  letter-spacing: 0;
}
.footer-group a,
.footer-group button {
  display: flex;
  min-height: 44px;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-width: 44px;
  padding: 8px 0;
  font-size: 12px;
  line-height: 1.5;
  text-align: left;
  color: #605454;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.footer-signature {
  min-width: 0;
}
.footer-signature-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--header-line);
}
.footer-signature-top > span:first-child {
  font-size: 11px;
  color: #605454;
}
.footer-emblem {
  width: 40px;
  height: 40px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
  gap: 16px;
  font-size: 11px;
  border-top: 1px solid var(--header-line);
}
.footer-bottom > a {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.info-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 64px 32px 32px;
}
.info-dialog h2 {
  font: italic 600 clamp(32px, 5vw, 44px)/1.1 var(--font-display);
  letter-spacing: -0.045em;
  margin-bottom: 24px;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.info-dialog p {
  font-size: 14px;
  line-height: 1.7;
}
.info-dialog p + p {
  margin-top: 16px;
}
/* Native dialogs provide focus trapping and Escape; layers retain square geometry. */
dialog {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  max-height: calc(100svh - 48px);
  overscroll-behavior: contain;
}
dialog::backdrop {
  background: rgb(16 21 18 / 65%);
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 44px;
  height: 44px;
  background: var(--paper);
  z-index: 2;
  font:
    22px/1 Arial,
    sans-serif;
}
.product-dialog[open] {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  width: min(1040px, calc(100vw - 64px));
  max-width: none;
}
.product-detail-image {
  position: relative;
  min-height: 600px;
  background: #dfe1da;
  overflow: hidden;
}
.product-detail-image img {
  position: absolute;
  max-width: none;
  height: auto;
  top: 50%;
  transform: translateY(-50%);
}
.product-detail {
  padding: 64px 48px 40px;
  background: #f1f1ec;
}
.product-detail h2 {
  font: italic 600 48px / 1.05 var(--font-display);
  letter-spacing: -0.05em;
  margin: 16px 0 8px;
}
.product-price {
  font-size: 15px;
  margin: 28px 0 16px;
}
.detail-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.sizes {
  border: 0;
  padding: 0;
  margin: 32px 0 24px;
}
.sizes legend {
  padding: 0;
  margin-bottom: 16px;
  font-size: 13px;
}
.sizes > div {
  display: flex;
  gap: 8px;
}
.size-option {
  position: relative;
  display: inline-flex;
}
.size-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.size-option span {
  display: flex;
  width: 48px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  cursor: pointer;
}
.size-option input:checked + span {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.size-option input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.inline-status {
  min-height: 24px;
  font-size: 12px;
  margin-top: 12px;
  color: var(--muted);
}
.underlined {
  padding: 0;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 12px;
}
.product-info {
  border-top: 1px solid var(--line);
  margin-top: 20px;
  font-size: 12px;
}
.product-info summary {
  cursor: pointer;
  padding: 16px 0;
  min-height: 48px;
}
.product-info p {
  color: var(--muted);
  padding-bottom: 12px;
  line-height: 1.6;
}
.cart-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  max-height: 100svh;
  height: 100svh;
  width: min(540px, 100%);
  max-width: 100%;
  padding: 40px;
  background: #f1f1ec;
  overflow-y: auto;
}
.cart-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-heading h2 {
  font: italic 600 48px / 1 var(--font-display);
  letter-spacing: -0.05em;
}
.cart-heading .dialog-close {
  position: static;
  margin-right: -8px;
}
.cart-subtitle {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.cart-content {
  padding: 24px 0;
}
.cart-empty {
  padding: 12vh 0;
  text-align: center;
}
.cart-empty h3 {
  font: italic 600 48px/1.2 var(--font-display);
  letter-spacing: -0.05em;
}
.cart-empty p {
  margin: 16px 0 28px;
  font-size: 13px;
  color: var(--muted);
}
.cart-line {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.cart-line:first-child {
  padding-top: 0;
}
.cart-line-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #dfe1da;
}
.cart-line-image img {
  position: absolute;
  max-width: none;
  height: auto;
  top: 50%;
  transform: translateY(-50%);
}
.cart-line h3 {
  font-size: 15px;
}
.cart-line p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.cart-line-controls {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.quantity {
  display: flex;
  align-items: center;
  gap: 2px;
}
.quantity button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  font-size: 18px;
}
.quantity span {
  min-width: 24px;
  text-align: center;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.remove-line {
  font-size: 11px;
  min-height: 44px;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 4px 0;
}
.cart-summary {
  padding-top: 20px;
}
.cart-summary > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}
.cart-summary > p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.storage-status {
  color: var(--error);
  font-size: 12px;
  margin-top: 16px;
}
.image-failed::after {
  content: "Изображение недоступно";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transform: none;
  background: #dfe1da;
  color: var(--ink);
  font-size: 13px;
  padding: 24px;
  text-align: center;
}
@media (hover: hover) {
  .footer-group a:hover,
  .footer-group button:hover,
  .footer-bottom a:hover {
    color: var(--ink);
    text-decoration: underline;
  }
  .navigation a:hover::after {
    transform: scaleX(1);
  }
  .text-button:hover,
  .underlined:hover {
    opacity: 0.65;
  }
  .button:not(:disabled):hover {
    background: var(--accent);
    color: var(--ink);
  }
  .filters button:hover {
    color: var(--ink);
  }
  .product-link:hover .product-image::after {
    opacity: 1;
    transform: none;
  }
  .product-link:hover h3 {
    text-decoration: underline;
    text-underline-offset: 4px;
  }
  .size-option:hover span {
    border-color: var(--ink);
  }
  .dialog-close:hover {
    background: var(--accent);
  }
  .quantity button:not(:disabled):hover {
    background: var(--accent);
  }
  .remove-line:hover {
    opacity: 0.6;
  }
}
@media (prefers-reduced-motion: no-preference) {
  /* One 600ms wingbeat every five seconds, with the first after five seconds. */
  .header-emblem .butterfly-wing {
    animation: butterfly-wingbeat 5s ease-in-out 5s infinite;
    --wing-turn: -4deg;
  }
  .header-emblem .butterfly-wing--right {
    --wing-turn: 4deg;
  }
  @keyframes butterfly-wingbeat {
    0%, 12%, 100% {
      transform: rotate(0deg) scaleX(1);
    }
    6% {
      transform: rotate(var(--wing-turn)) scaleX(0.22);
    }
  }
  .navigation a::after {
    transition: transform var(--fast) var(--ease);
  }
  dialog[open] {
    animation: dialog-enter var(--panel) var(--ease);
  }
  .cart-dialog[open] {
    animation: cart-enter var(--panel) var(--ease);
  }
  @keyframes dialog-enter {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes cart-enter {
    from {
      opacity: 0;
      transform: translateX(24px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (max-width: 1000px) {
  :root {
    --gutter: 24px;
  }
  .header {
    min-height: 88px;
    gap: 20px;
    padding-inline: 20px;
  }
  .navigation .category-shortcut {
    display: none;
  }

  .section {
    padding-top: 64px;
  }
  .product-grid {
    gap: 16px;
  }
  .product-image {
    aspect-ratio: 3/4;
  }
  .product-meta {
    align-items: start;
    flex-direction: column;
    gap: 2px;
  }
  .product-bottom {
    font-size: 10px;
  }
  .filters {
    gap: 16px;
    font-size: 12px;
  }
  .product-dialog[open] {
    width: calc(100vw - 48px);
  }
  .product-detail {
    padding: 64px 24px 24px;
  }
  .product-detail-image {
    min-height: 610px;
  }
  .product-detail h2 {
    font-size: 40px;
  }
  .footer {
    padding-top: 72px;
  }
  .footer-main {
    grid-template-columns: minmax(0, 1fr) 272px;
    gap: 32px;
  }
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
  .footer-group--brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 600px) {
  :root {
    --gutter: 16px;
    --header-top: 10px;
    --header-clearance: 150px;
  }
  .header {
    grid-template-columns: 1fr auto;
    gap: 0 12px;
    padding: 6px 12px;
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 24px 12px 24px 12px;
  }
  .header .brand {
    width: 106px;
    min-height: 52px;
  }
  .header .logo-crop {
    aspect-ratio: 53 / 28;
  }
  .header-emblem {
    position: absolute;
    top: 11px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 38px;
  }
  .header-emblem .butterfly-wing path {
    stroke-width: 0.42px;
  }
  .navigation {
    display: flex;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 10px;
    font-size: 10px;
  }
  .navigation .category-shortcut {
    display: flex;
  }
  .cart-trigger {
    grid-column: 2;
    grid-row: 1;
    font-size: 10px;
    gap: 5px;
  }

  .section {
    padding-top: 56px;
  }
  .section-heading {
    align-items: start;
    margin-bottom: 24px;
    gap: 24px;
  }
  .section-heading h2 {
    font-size: 40px;
  }
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 20px;
  }
  .filters {
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
  }
  .product-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .product:nth-child(2) {
    margin-top: 0;
  }
  .product-image {
    aspect-ratio: 4/5;
  }
  .product-meta {
    flex-direction: row;
    gap: 12px;
    padding-top: 12px;
  }
  .product-meta h3 {
    font-size: 16px;
  }
  .product-meta span {
    font-size: 12px;
  }
  .product-bottom {
    font-size: 11px;
  }
  .product-image::after {
    display: none;
  }
  .catalog-note {
    font-size: 11px;
    line-height: 1.6;
    margin-top: 24px;
  }
  .image-action {
    right: 12px;
    bottom: 12px;
    min-height: 44px;
    font-size: 11px;
    padding: 10px 12px;
    gap: 20px;
  }
  .footer {
    padding-top: 60px;
  }
  .footer-panel {
    padding: 24px 16px 0;
    border-radius: 24px 12px 24px 12px;
  }
  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-bottom: 24px;
  }
  .footer-nav {
    column-gap: 16px;
  }
  .footer-group h2 {
    margin-bottom: 8px;
  }
  .footer-group--brand {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }
  .footer-group--brand h2 {
    grid-column: 1 / -1;
  }
  .footer-signature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--header-line);
  }
  .footer-signature-top {
    order: 1;
    flex-direction: column-reverse;
    gap: 4px;
    border: 0;
    padding: 0;
    margin: 0;
  }
  .footer-signature-top > span:first-child {
    font-size: 10px;
  }
  .footer-logo {
    width: 148px;
    flex-shrink: 0;
  }
  .footer-logo .logo-crop {
    aspect-ratio: 74 / 39;
  }
  .footer-bottom {
    font-size: 10px;
    min-height: 56px;
  }
  .footer-bottom > a {
    gap: 8px;
  }
  .info-dialog {
    padding: 64px 24px 24px;
  }
  .product-dialog[open] {
    display: block;
    width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
  }
  .product-detail-image {
    min-height: 0;
    height: 400px;
  }
  .product-detail {
    padding: 24px;
  }
  .product-detail h2 {
    margin-top: 8px;
  }
  .product-price {
    margin: 20px 0 12px;
  }
  .sizes {
    margin: 24px 0 20px;
  }
  .cart-dialog {
    padding: 24px 20px;
  }
  .cart-heading h2 {
    font-size: 32px;
  }
  .cart-line {
    grid-template-columns: 80px 1fr;
    gap: 12px;
  }
  .quantity button {
    width: 44px;
  }
  .cart-line-controls {
    gap: 4px;
  }
  .dialog-close {
    top: 12px;
    right: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .product-image::after {
    transform: none;
  }
}
@media (forced-colors: active) {
  button,
  .size-option span {
    border: 1px solid ButtonText;
  }
}
body.keyboard-input *,
body.keyboard-input *::before,
body.keyboard-input *::after {
  animation: none !important;
  transition: none !important;
}
.product-image.image-failed::after {
  display: flex;
}
.remove-line {
  min-width: 44px;
}

.navigation a,
.filters button {
  min-width: 44px;
}
.size-option span,
.quantity button {
  border-color: #777e70;
}
/* Keep comparison labels and form controls on clear paper. */
.product-link,
.filters {
  background-color: var(--paper);
}
.catalog-note {
  color: var(--botanical-text);
}

/* The original campaign photographs sit in matching blush contours. */
.brand-intro {
  margin: 0 var(--page-edge);
  padding: 24px 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(2, minmax(0, 420px));
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.brand-promo {
  flex: 0 0 auto;
  width: 100%;
  padding: 8px;
  background: var(--header-paper);
  border-radius: 30px 14px 30px 14px;
}
.brand-promo img {
  width: 100%;
  height: auto;
  border-radius: 22px 6px 22px 6px;
}
@media (min-width: 601px) and (max-width: 1200px) {
  .brand-intro { grid-template-columns: repeat(2, minmax(0, 420px)); }
  .brand-intro .hero-logo { grid-column: 1 / -1; justify-self: center; }
}
@media (max-width: 600px) {
  .brand-intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .brand-intro .hero-logo {
    width: min(100%, 240px);
  }
  .brand-promo { width: 100%; padding: 6px; border-radius: 24px 12px 24px 12px; }
  .brand-promo img { border-radius: 18px 6px 18px 6px; }
}

/* One continuous surface keeps the image and caption within the same contour. */
.product-grid { gap: 28px 12px; }
.product-link {
  overflow: hidden;
  border-radius: 20px 9px 20px 9px;
  background: #d7d6d5;
}
.product-image { aspect-ratio: 530 / 705; border-radius: 0; }
.product-image, .product-detail-image, .cart-line-image { background: #d7d6d5; }
.product-image img, .product-detail-image img, .cart-line-image img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: 100%;
  object-fit: contain; transform: none; clip-path: none;
}
/* Model photos fill the frame without stretching; only the outermost edge is cropped. */
.product-image--model img { object-fit: cover; }
.product-meta { border: 0; min-height: 52px; padding: 12px 14px 14px; align-items: center; background: var(--header-paper); }
.product-meta h3 { font-size: 13px; line-height: 1.4; font-weight: 400; }
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .product-grid { gap: 24px 10px; }
  .product-link { border-radius: 16px 7px 16px 7px; }
  .product-meta { min-height: 50px; padding: 9px 10px 11px; }
  .product-meta h3 { font-size: 12px; }
}

.product-meta { flex-direction: row; align-items: baseline; gap: 8px; }
.product-meta h3 { min-width: 0; }
.product-meta .product-card-price { flex-shrink: 0; color: var(--ink); font-size: 13px; white-space: nowrap; }
@media (max-width: 600px) { .product-meta .product-card-price { font-size: 12px; } }

/* Privacy choices and the brand invitation share the header's paper and contours. */
.cookie-banner,
.brand-dialog {
  color: var(--popup-ink);
  background: var(--popup-paper);
  border: 1px solid var(--header-line);
  border-radius: var(--popup-radius);
}
.cookie-banner {
  position: fixed;
  z-index: 40;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: var(--page-edge);
  width: min(480px, calc(100% - 2 * var(--page-edge)));
  max-height: calc(100svh - 32px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px 28px 12px;
  box-shadow: 0 8px 32px rgb(68 48 57 / 9%);
}
.popup-eyebrow {
  display: block;
  color: var(--popup-muted);
  font-size: 11px;
  letter-spacing: .06em;
  line-height: 1.5;
}
.cookie-banner h2,
.brand-dialog h2 {
  font: italic 600 40px/1.06 var(--font-display);
  letter-spacing: -.035em;
}
.cookie-banner h2 { margin: 8px 0 12px; font-size: 34px; }
.cookie-banner > p,
.popup-copy { font-size: 14px; line-height: 1.65; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px; margin-top: 20px; }
.popup-button {
  min-height: 46px;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid var(--popup-accent);
  border-radius: 10px 4px 10px 4px;
  background: var(--popup-accent);
  color: #fff9f6;
  font-size: 13px;
  line-height: 1.4;
}
.popup-button--outline { background: transparent; color: var(--popup-accent); }
.popup-button:disabled { color: #65545a; background: #e2d6d6; border-color: #b7a3aa; }
.popup-button:focus-visible { outline-color: var(--popup-ink); outline-offset: 3px; }
.popup-text-button {
  min-height: 44px;
  min-width: 44px;
  padding: 8px 0;
  color: var(--popup-muted);
  font-size: 12px;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.cookie-links { display: flex; justify-content: space-between; gap: 12px; }
.brand-dialog { max-height: calc(100svh - 32px); max-width: calc(100% - 32px); }
.brand-dialog::backdrop { background: rgb(39 28 33 / 40%); }
.brand-dialog .dialog-close { background: transparent; color: var(--popup-ink); border-radius: 50%; right: 12px; top: 12px; }
.brand-dialog .dialog-close:focus-visible { outline-offset: 0; }
.cookie-dialog { width: 560px; padding: 36px 32px 24px; }
.cookie-dialog > .popup-eyebrow { margin: 0 40px 12px 0; }
.cookie-dialog h2 { margin-bottom: 16px; }
.cookie-dialog > .popup-copy { padding-bottom: 24px; }
.cookie-option {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--header-line);
}
.cookie-option h3, .cookie-option strong { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.cookie-option p, .cookie-option-description { display: block; font-size: 12px; line-height: 1.6; color: var(--popup-muted); }
.cookie-fixed { margin-top: 2px; color: var(--popup-muted); font-size: 11px; }
.cookie-option--choice { cursor: pointer; }
.cookie-option input { position: absolute; right: 0; top: 14px; width: 48px; height: 44px; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.cookie-switch { width: 44px; height: 26px; padding: 3px; border: 1px solid #938087; border-radius: 16px; background: #d7cccd; margin-top: 3px; }
.cookie-switch::after { content: ""; display: block; height: 18px; width: 18px; border-radius: 50%; background: var(--popup-ink); }
.cookie-option input:checked + .cookie-switch { background: var(--popup-accent); border-color: var(--popup-accent); }
.cookie-option input:checked + .cookie-switch::after { transform: translateX(18px); background: var(--popup-paper); }
.cookie-option input:focus-visible + .cookie-switch { outline: 2px solid var(--popup-ink); outline-offset: 4px; }
.cookie-detail { border-top: 1px solid var(--header-line); padding-top: 16px; font-size: 12px; line-height: 1.6; color: var(--popup-muted); }
.cookie-settings-actions { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.popup-error { margin-top: 12px; color: var(--error); font-size: 13px; }
.privacy-feedback { position: fixed; z-index: 40; bottom: 16px; left: var(--page-edge); width: min(480px, calc(100% - 2 * var(--page-edge))); padding: 20px; border: 1px solid var(--header-line); border-radius: var(--popup-radius); background: var(--popup-paper); color: var(--popup-ink); font-size: 13px; }
.privacy-dialog { padding: 64px 32px 32px; border-radius: var(--popup-radius); background: var(--popup-paper); }
.telegram-dialog { width: 760px; overflow: auto; }
.telegram-dialog[open] { display: grid; grid-template-columns: .8fr 1.2fr; }
.telegram-art {
  position: relative;
  isolation: isolate;
  min-height: 440px;
  padding: 36px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: var(--header-paper);
  border-right: 1px solid var(--header-line);
  color: var(--popup-accent);
}
.telegram-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/floral-memory.webp") center / auto 110% no-repeat; opacity: .3; }
.telegram-art-brand { font: italic 600 34px/.95 var(--font-display); letter-spacing: -.04em; }
.telegram-butterfly { width: 100%; height: 220px; stroke: currentColor; stroke-width: .65; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-12deg); }
.telegram-art-note { font-size: 10px; letter-spacing: .025em; }
.telegram-content { padding: 64px 36px 24px; }
.telegram-content h2 { font-size: 50px; margin: 16px 0 24px; }
.telegram-subscribe { width: 100%; justify-content: space-between; margin-top: 28px; }
.telegram-unavailable { margin: 8px 0 12px; font-size: 11px; color: var(--popup-muted); }
@media (hover: hover) {
  .popup-button:not(:disabled):hover { background: #51313c; color: #fff9f6; }
  .popup-text-button:hover { color: var(--popup-ink); }
  .brand-dialog .dialog-close:hover { background: var(--header-paper); }
}
@media (prefers-reduced-motion: no-preference) {
  .cookie-banner:not([hidden]) { animation: dialog-enter var(--panel) var(--ease); }
}
/* Choices and keyboard navigation respond immediately. */
.keyboard-input dialog[open], .keyboard-input .cookie-banner { animation: none; }
@media (max-width: 600px) {
  .cookie-banner { bottom: max(12px, env(safe-area-inset-bottom)); padding: 20px 20px 8px; }
  .cookie-banner h2 { font-size: 30px; }
  .cookie-banner > p { font-size: 13px; }
  .cookie-actions { grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
  .cookie-links { flex-wrap: wrap; gap: 0 12px; }
  .cookie-links .popup-text-button { font-size: 11px; }
  .cookie-dialog { padding: 28px 22px 20px; }
  .cookie-dialog h2 { font-size: 34px; padding-right: 16px; }
  .cookie-option { grid-template-columns: 1fr; gap: 4px; }
  .cookie-option--choice { grid-template-columns: 1fr 44px; gap: 16px; }
  .cookie-settings-actions { display: grid; }
  .cookie-settings-actions .popup-text-button { text-align: center; }
  .telegram-dialog[open] { grid-template-columns: 1fr; }
  .telegram-art { min-height: 132px; height: 132px; padding: 24px; border-right: 0; border-bottom: 1px solid var(--header-line); }
  .telegram-art-brand { font-size: 28px; }
  .telegram-art-note { display: none; }
  .telegram-butterfly { position: absolute; right: 18px; top: 0; width: 140px; height: 145px; }
  .telegram-content { padding: 24px 24px 16px; }
  .telegram-content h2 { font-size: 42px; margin: 12px 0 16px; }
  .telegram-subscribe { margin-top: 24px; }
  .telegram-dialog .dialog-close { background: var(--header-paper); top: 4px; right: 4px; }
}
