:root {
  --display: Didot, "Bodoni 72", "Bodoni MT", "Bodoni 72 Smallcaps", Cambria, Georgia, serif;
  --text: Optima, Candara, "Segoe UI", Arial, sans-serif;
  --utility: "Segoe UI", Arial, sans-serif;
  --ink: #17120f;
  --muted: #6d6258;
  --paper: #f3eee6;
  --surface: #fffcf7;
  --line: #d9cab8;
  --accent: #6f1228;
  --accent-2: #234435;
  --gold: #a8793e;
  --night: #191512;
  --shadow: rgba(23, 18, 15, 0.13);
  --page-pad: clamp(20px, 2.6vw, 64px);
  --radius-soft: 7px;
  --radius-card: 8px;
  --header-main-h: 56px;
  --header-facts-h: 56px;
  --header-total-h: 112px;
  --header-line: rgba(89,55,62,.16);
  --header-ink: #24191c;
  --glass-card-bg: rgba(255,252,247,.08);
  --glass-card-border: rgba(217,202,184,.3);
  --glass-card-shadow: 0 18px 48px rgba(23,18,15,.055);
  --modal-veil-bg: var(--glass-card-bg);
  --scrollbar-thumb: rgba(111,18,40,.38);
  --scrollbar-thumb-hover: rgba(111,18,40,.58);
  --motion-quick: 240ms;
  --motion-smooth: 420ms;
  --motion-ease: cubic-bezier(.16, 1, .3, 1);
  --motion-crossfade: 2200ms;
  --motion-crossfade-ease: cubic-bezier(.42, 0, .18, 1);
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) transparent;
}

[hidden] {
  display: none !important;
}

*::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
*::-webkit-scrollbar-track,
*::-webkit-scrollbar-corner {
  background: transparent;
}
*::-webkit-scrollbar-thumb {
  min-height: 36px;
  border: 2px solid transparent;
  border-radius: 999px;
  background: var(--scrollbar-thumb);
  background-clip: content-box;
}
*::-webkit-scrollbar-thumb:hover {
  background-color: var(--scrollbar-thumb-hover);
}
html {
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  background: #f4eee4;
}
body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  font-family: var(--text);
  color: var(--ink);
  background: transparent;
}
html.modal-open,
body.modal-open {
  overflow: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.page-video-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #f4eee4;
}
.page-video-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: .5;
  filter: saturate(.9) contrast(.96) brightness(1.04);
}
.page-video-bg::before,
.page-video-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.page-video-bg::before {
  background:
    linear-gradient(180deg, rgba(255,252,247,.42) 0%, rgba(246,241,233,.52) 52%, rgba(240,233,223,.5) 100%);
}
.page-video-bg::after {
  background:
    radial-gradient(circle at 18% 30%, rgba(255,252,247,.34), transparent 34%),
    radial-gradient(circle at 72% 46%, rgba(243,238,230,.2), transparent 32%);
  backdrop-filter: blur(.45px);
}


.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  isolation: isolate;
  min-height: var(--header-total-h);
  color: var(--header-ink);
  /* One translucent layer across both rows: the page shows through without a browser-dependent seam. */
  background: linear-gradient(105deg, rgba(255,252,247,.72) 0%, rgba(239,230,222,.68) 52%, rgba(229,215,204,.72) 100%);
  border-bottom: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.topbar-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-main-h);
  padding: 0 var(--page-pad);
}
.brand {
  grid-column: 2;
  justify-self: center;
  font-family: var(--display);
  font-size: clamp(29px, 1.7vw, 36px);
  letter-spacing: .135em;
  text-indent: .135em;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1;
  font-kerning: normal;
}
.header-facts {
  width: min(940px, calc(100% - 2 * var(--page-pad)));
  min-height: var(--header-facts-h);
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  list-style: none;
  border-top: 1px solid var(--header-line);
}
.header-fact {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 0;
  padding: 8px clamp(16px, 1.35vw, 28px) 10px;
  text-align: center;
  white-space: normal;
}
.header-fact + .header-fact::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 20px;
  background: var(--header-line);
  transform: translateY(-50%);
}
.header-fact-title {
  font-family: var(--display);
  font-size: clamp(17px, 1.08vw, 22px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .015em;
  color: var(--header-ink);
}
.header-fact-detail {
  color: rgba(36,25,28,.68);
  font-family: var(--text);
  font-size: clamp(10px, .6vw, 12px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .045em;
}
.topbar nav {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  color: var(--muted);
  font-family: var(--utility);
  font-size: clamp(13px, .68vw, 16px);
}
.topbar button {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.cart-button {
  border: 1px solid rgba(89,55,62,.2) !important;
  border-radius: var(--radius-soft);
  min-height: 44px;
  padding: 0 15px;
  background: rgba(255,255,255,.22) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.48);
  color: var(--header-ink);
  font-size: clamp(10px, .58vw, 12px);
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform var(--motion-quick) var(--motion-ease), background var(--motion-smooth) var(--motion-ease), border-color var(--motion-smooth) var(--motion-ease), box-shadow var(--motion-smooth) var(--motion-ease);
}
.cart-button:hover {
  border-color: rgba(89,55,62,.32) !important;
  background: rgba(255,255,255,.38) !important;
}
.cart-button:active {
  transform: scale(.98);
}
.cart-button:focus-visible {
  outline: 2px solid rgba(111,18,40,.55);
  outline-offset: 3px;
}
.cart-button span {
  display: inline-block;
  min-width: 1.5em;
  margin-left: 11px;
  padding-left: 11px;
  border-left: 1px solid var(--header-line);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

main {
  width: 100%;
  margin: 0;
  padding: 0 var(--page-pad) clamp(56px, 5vw, 108px);
}
.hero {
  min-height: calc(100vh - var(--header-total-h));
  min-height: calc(100svh - var(--header-total-h));
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding: clamp(42px, 5.2vh, 72px) 0 clamp(28px, 3.2vh, 52px);
}
.hero-selection {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(20px, 2.8vh, 40px);
  width: min(54vw, 900px, max(360px, calc(100svh - 190px)));
}
.hero-copy { max-width: clamp(700px, 50vw, 980px); }
.eyebrow {
  margin: 0 0 clamp(12px, .9vw, 20px);
  color: var(--gold);
  text-transform: uppercase;
  font-size: clamp(11px, .62vw, 15px);
  letter-spacing: 0.18em;
  font-family: var(--utility);
  font-weight: 600;
}
h1 {
  margin: 0 0 clamp(18px, 1.4vw, 32px);
  font-family: var(--display);
  font-size: clamp(56px, 5.45vw, 116px);
  line-height: 0.94;
  letter-spacing: 0;
  max-width: clamp(720px, 50vw, 1040px);
  font-weight: 400;
}
h2 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: clamp(26px, 2.15vw, 46px);
  line-height: 1.02;
  font-weight: 400;
}
p {
  color: var(--muted);
  line-height: 1.68;
  font-size: clamp(16px, .78vw, 19px);
}
.hero-copy > p:not(.eyebrow) {
  max-width: clamp(610px, 39vw, 760px);
  font-size: clamp(17px, .88vw, 20px);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, .9vw, 22px);
  margin: clamp(26px, 2vw, 44px) 0 clamp(22px, 1.55vw, 34px);
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(10px, .75vw, 18px);
  max-width: clamp(660px, 42vw, 930px);
}
.hero-proof span {
  border: 1px solid rgba(168,121,62,.42);
  background: rgba(255,252,247,.12);
  color: var(--muted);
  backdrop-filter: blur(12px) saturate(1.04);
  padding: clamp(8px, .58vw, 13px) clamp(10px, .75vw, 16px);
  font-family: var(--utility);
  font-size: clamp(12px, .6vw, 15px);
}
.primary, .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(44px, 2.35vw, 56px);
  border-radius: var(--radius-soft);
  border: 1px solid var(--accent);
  padding: 0 clamp(18px, 1.35vw, 32px);
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(12px, .62vw, 15px);
  font-family: var(--utility);
  font-weight: 600;
  white-space: nowrap;
  transition:
    color var(--motion-quick) var(--motion-ease),
    background-color var(--motion-smooth) var(--motion-ease),
    border-color var(--motion-smooth) var(--motion-ease),
    box-shadow var(--motion-smooth) var(--motion-ease),
    transform var(--motion-quick) var(--motion-ease),
    opacity var(--motion-quick) var(--motion-ease);
}
.primary:hover:not(:disabled),
.secondary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(23,18,15,.1);
}
.primary:active:not(:disabled),
.secondary:active:not(:disabled) {
  transform: translateY(0) scale(.985);
}
.primary {
  background: var(--accent);
  color: white;
}
.secondary {
  background: rgba(255,252,247,.13);
  color: var(--accent);
  backdrop-filter: blur(10px) saturate(1.04);
}
.hero-commerce {
  position: relative;
  grid-column: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  justify-content: stretch;
  gap: clamp(10px, min(1vw, 2vh), 22px);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  width: min(125%, calc(100vw - var(--page-pad) - var(--page-pad)));
}
.hero-commerce::before {
  content: none;
}
.hero-filter-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: clamp(7px, min(.75vw, 1.4vh), 16px);
  padding: clamp(8px, min(.72vw, 1.4vh), 16px);
  border: 1px solid var(--glass-card-border);
  border-radius: calc(var(--radius-card) + 2px);
  background: var(--glass-card-bg);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: var(--glass-card-shadow);
  backdrop-filter: blur(18px) saturate(1.04);
  transition: background var(--motion-smooth) var(--motion-ease), border-color var(--motion-smooth) var(--motion-ease), box-shadow var(--motion-smooth) var(--motion-ease), transform var(--motion-smooth) var(--motion-ease);
}
.hero-filter-card[hidden] {
  display: none;
}
.hero-filter-card:hover,
.hero-filter-card.active {
  background: rgba(255,252,247,.14);
  border-color: rgba(111,18,40,.3);
  box-shadow: 0 24px 64px rgba(23,18,15,.085);
  transform: translateY(-2px);
}
.hero-filter-image {
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-card);
  border: 1px solid rgba(23,18,15,.08);
  background-color: rgba(255,252,247,.22);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 7px rgba(255,252,247,.13);
  opacity: .76;
}
.hero-filter-image span {
  position: absolute;
  inset: 0;
  display: block;
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity var(--motion-crossfade) var(--motion-crossfade-ease);
}
.hero-filter-image.is-changing span {
  opacity: 1;
  will-change: opacity;
}
.hero-filter-image.is-committing span {
  opacity: 0;
  transition: none;
  will-change: auto;
}
.hero-filter-image.has-photo,
.hero-filter-image.has-photo span {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-filter-title {
  display: grid;
  min-height: 2.12em;
  place-items: center;
  font-family: var(--display);
  font-size: clamp(18px, min(1.32vw, 3.1vh), 31px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink);
  text-align: center;
}
.hero-filter-title span {
  display: block;
}
.hero-featured {
  grid-column: 1;
  min-width: 0;
  width: 100vw;
  margin-left: calc(var(--page-pad) * -1);
}
.hero-featured-title {
  max-width: none;
  margin: 0 0 clamp(12px, 1.8vh, 22px);
  padding: 0 var(--page-pad);
  font-family: var(--display);
  font-size: clamp(30px, min(2.35vw, 5vh), 50px);
  line-height: 1;
  font-weight: 400;
}
.hero-monobouquet-title {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.hero-featured-grid {
  --featured-grid-gap: clamp(12px, 1vw, 22px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, calc((100% - var(--featured-grid-gap) - var(--featured-grid-gap) - var(--featured-grid-gap) - var(--featured-grid-gap) - var(--featured-grid-gap)) / 6)));
  justify-content: space-between;
  column-gap: 0;
  row-gap: var(--featured-grid-gap);
  width: 100%;
  padding: 2px var(--page-pad) clamp(12px, 1.6vh, 18px);
}
.hero-featured-card {
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  gap: clamp(7px, min(.62vw, 1.2vh), 13px);
  min-width: 0;
  height: 100%;
  padding: clamp(8px, min(.72vw, 1.4vh), 16px);
  border: 1px solid var(--glass-card-border);
  border-radius: calc(var(--radius-card) + 2px);
  background: var(--glass-card-bg);
  box-shadow: var(--glass-card-shadow);
  backdrop-filter: blur(18px) saturate(1.04);
  -webkit-backdrop-filter: blur(18px) saturate(1.04);
  transition: background var(--motion-smooth) var(--motion-ease), border-color var(--motion-smooth) var(--motion-ease), box-shadow var(--motion-smooth) var(--motion-ease), transform var(--motion-smooth) var(--motion-ease);
}
.hero-featured-card:hover {
  background: rgba(255,252,247,.14);
  border-color: rgba(111,18,40,.24);
  box-shadow: 0 22px 58px rgba(23,18,15,.075);
  transform: translateY(-2px);
}
.hero-featured-open,
.hero-featured-name,
.hero-featured-details,
.hero-featured-cart {
  border: 0;
  color: inherit;
  cursor: pointer;
}
.hero-featured-open {
  display: block;
  width: 100%;
  padding: 0;
  background: transparent;
}
.hero-featured-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(23,18,15,.1);
  border-radius: var(--radius-soft);
  background-color: rgba(255,252,247,.22);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 0 5px rgba(255,252,247,.16);
  opacity: .76;
  transition: opacity var(--motion-crossfade) var(--motion-crossfade-ease);
}
.hero-featured-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  min-width: 0;
  width: 100%;
  padding: 0;
  text-align: center;
}
.hero-featured-category {
  max-width: 100%;
  overflow: hidden;
  color: var(--gold);
  font-family: var(--utility);
  font-size: clamp(9px, .46vw, 11px);
  letter-spacing: .12em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-featured-name {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.04em;
  margin: 5px 0 10px;
  padding: 0;
  background: transparent;
  font-family: var(--display);
  font-size: clamp(17px, min(1.08vw, 2.5vh), 25px);
  font-weight: 400;
  line-height: 1.02;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.hero-featured-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: auto;
  width: 100%;
}
.hero-featured-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  min-width: 0;
}
.hero-featured-price {
  width: 100%;
  justify-content: center;
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(17px, 1.05vw, 21px);
  line-height: 1.08;
  min-width: 0;
}
.hero-featured-details,
.hero-featured-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 30px;
  padding: 5px 6px;
  border: 1px solid rgba(111,18,40,.42);
  border-radius: var(--radius-soft);
  background: rgba(255,252,247,.1);
  color: var(--accent);
  font-family: var(--utility);
  font-size: clamp(8px, .42vw, 10px);
  line-height: 1;
  letter-spacing: .055em;
  text-transform: uppercase;
  white-space: nowrap;
}
.hero-featured-cart {
  background: rgba(111,18,40,.82);
  color: rgba(255,252,247,.96);
}

.hero-film {
  position: relative;
  width: 100%;
  justify-self: stretch;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(217,202,184,.74);
  background: rgba(255,252,247,.42);
  box-shadow: 0 26px 76px rgba(23,18,15,.12);
}
.hero-film::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid rgba(255,252,247,.42);
  pointer-events: none;
}
.hero-film video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-film-caption {
  position: absolute;
  left: clamp(14px, 1.1vw, 22px);
  right: clamp(14px, 1.1vw, 22px);
  bottom: clamp(14px, 1.1vw, 22px);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: rgba(255,252,247,.92);
  font-family: var(--utility);
  font-size: clamp(11px, .62vw, 14px);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-shadow: 0 1px 16px rgba(23,18,15,.58);
}
.hero-film-caption a {
  border: 1px solid rgba(255,252,247,.56);
  background: rgba(23,18,15,.18);
  padding: 9px 12px;
  backdrop-filter: blur(8px);
}
.promise-grid, .metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.catalog {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 1.35vw, 28px);
}
.promise-grid article, .product-card, .metric, .order-card, .login-card, .admin-content {
  background: rgba(255,252,247,.15);
  border: 1px solid rgba(217,202,184,.38);
  border-radius: var(--radius-card);
  backdrop-filter: blur(18px) saturate(1.04);
}
.promise-grid article, .metric { padding: 20px; }
.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(13px, .82vw, 18px);
  animation: product-reveal 560ms var(--motion-ease) both;
  transition: background var(--motion-smooth) var(--motion-ease), border-color var(--motion-smooth) var(--motion-ease), box-shadow var(--motion-smooth) var(--motion-ease), transform var(--motion-smooth) var(--motion-ease);
}
.product-card:hover {
  border-color: rgba(111,18,40,.22);
  box-shadow: 0 22px 58px rgba(23,18,15,.075);
  transform: translateY(-2px);
}
@keyframes product-reveal {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-card-inner {
  display: flex;
  flex-direction: column;
  width: min(100%, clamp(250px, 16.4vw, 335px));
  min-height: 100%;
}
.promise-grid span { color: var(--gold); font-weight: 700; }
.section-head { margin: 64px 0 20px; max-width: 760px; }
.catalog-stage[hidden] { display: none !important; }

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  height: auto;
  width: 100%;
  border-radius: var(--radius-soft);
  margin: 0 auto clamp(11px, .72vw, 14px);
  background-color: rgba(255,252,247,.22);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(23,18,15,.12);
  box-shadow: inset 0 0 0 8px rgba(255,252,247,.25);
  opacity: .82;
  transition: opacity 2.2s cubic-bezier(.42, 0, .18, 1), filter 2.2s cubic-bezier(.42, 0, .18, 1);
}
.js-product-gallery {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.js-product-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background-image: var(--gallery-next-image, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: var(--gallery-next-size, cover);
  opacity: 0;
  transition: opacity var(--motion-crossfade) var(--motion-crossfade-ease);
}
.js-product-gallery.is-gallery-fading::after {
  opacity: 1;
  will-change: opacity;
}
.js-product-gallery.is-gallery-committing::after {
  opacity: 0;
  transition: none;
  will-change: auto;
}
.product-image.has-photo,
.product-modal-image.has-photo,
.product-thumb.has-photo,
.hero-featured-image.has-photo,
.hero-filter-image.has-photo,
.cart-line-image.has-photo,
.rose-builder-image.has-photo {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255,252,247,.7);
}
.gallery-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background-color: rgba(255,252,247,.22);
  opacity: 1;
  transition: opacity var(--motion-quick) var(--motion-ease);
}
.product-tags {
  display: flex;
  align-items: center;
  gap: 0;
  width: 100%;
  margin: 0 0 8px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  color: var(--gold);
  font-family: var(--utility);
  font-size: clamp(10px, .52vw, 12px);
  letter-spacing: .13em;
  text-transform: uppercase;
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 28px), transparent 100%);
}
.product-tags::-webkit-scrollbar {
  display: none;
}
.product-tags span {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.product-tags span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  margin: 0 10px;
  border-radius: 50%;
  background: rgba(168,121,62,.72);
}
.product-card h3, .order-card h3 {
  width: 100%;
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(22px, 1.18vw, 28px);
  font-weight: 400;
  line-height: 1.02;
}
.product-card p {
  font-size: clamp(12px, .64vw, 14px);
  line-height: 1.42;
}
.price {
  font-family: var(--display);
  font-size: clamp(21px, 1.12vw, 27px);
  font-weight: 400;
  color: var(--accent);
}
.price-pair {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 10px;
  row-gap: 2px;
  min-width: 0;
}
.price-pair > span {
  white-space: nowrap;
}
.old-price {
  color: #756f6b;
  font-family: var(--display);
  font-size: clamp(14px, .78vw, 18px);
  font-weight: 400;
  line-height: 1.1;
  text-decoration-line: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: currentColor;
  white-space: nowrap;
}
.hero-featured-price .old-price {
  font-size: 14px;
}
.product-meta {
  min-height: 52px;
  margin-bottom: 14px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
  width: 100%;
  margin-top: auto;
}
.product-actions > div {
  min-width: 0;
}
.product-actions .price-pair {
  width: 100%;
  justify-content: center;
}
.product-actions .primary {
  min-height: clamp(38px, 2vw, 46px);
  min-width: clamp(112px, 6.5vw, 138px);
  flex: 0 0 auto;
}
.product-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 7px;
  width: 100%;
}
.product-buttons .secondary,
.product-buttons .primary {
  min-width: auto;
  min-height: clamp(38px, 2vw, 44px);
  padding: 0 clamp(10px, .6vw, 15px);
}

.marketplace-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
  gap: 8px;
  width: 100%;
}
.marketplace-actions--compact {
  grid-template-columns: repeat(auto-fit, minmax(108px, 1fr));
}
.marketplace-link {
  --marketplace-color: var(--accent);
  --marketplace-border: rgba(111,18,40,.28);
  --marketplace-bg: rgba(255,252,247,.22);
  --marketplace-hover: rgba(255,252,247,.42);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .38em;
  min-width: 0;
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--marketplace-border);
  border-radius: var(--radius-soft);
  background: var(--marketplace-bg);
  color: var(--marketplace-color);
  font-family: var(--utility);
  font-size: clamp(12px, .68vw, 13px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: .035em;
  text-align: center;
  white-space: nowrap;
  transition: background var(--motion-smooth) var(--motion-ease), border-color var(--motion-smooth) var(--motion-ease), box-shadow var(--motion-smooth) var(--motion-ease), transform var(--motion-quick) var(--motion-ease);
}
.marketplace-link strong {
  font-size: 1.1em;
  font-weight: 700;
  letter-spacing: .015em;
}
.marketplace-link:hover {
  background: var(--marketplace-hover);
  box-shadow: 0 10px 24px rgba(23,18,15,.07);
  transform: translateY(-1px);
}
.marketplace-link:active {
  transform: translateY(0) scale(.99);
}
.marketplace-link:focus-visible {
  outline: 2px solid var(--marketplace-color);
  outline-offset: 3px;
}
.marketplace-link--ozon {
  --marketplace-color: #173862;
  --marketplace-border: rgba(0,91,255,.46);
  --marketplace-bg: rgba(238,244,255,.88);
  --marketplace-hover: rgba(224,235,255,.96);
}
.marketplace-link--ozon strong {
  color: #005bff;
}
.marketplace-link--flowwow {
  --marketplace-color: #370b27;
  --marketplace-border: rgba(255,118,99,.62);
  --marketplace-bg: rgba(255,118,99,.12);
  --marketplace-hover: rgba(255,118,99,.2);
}
.product-card .marketplace-actions,
.hero-featured-card .marketplace-actions {
  margin-top: 9px;
}
.hero-featured-card .marketplace-link {
  min-height: 38px;
  padding: 7px 10px;
  font-size: clamp(11.5px, .6vw, 12.5px);
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: clamp(10px, 3vw, 38px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--motion-smooth) var(--motion-ease), visibility 0s linear var(--motion-smooth);
}
.product-modal[hidden] {
  display: none;
}
.product-modal.is-visible {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(23,18,15,.28);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.product-modal-card {
  position: relative;
  z-index: 1;
  width: min(1060px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  max-height: min(760px, calc(100dvh - 48px));
  overflow: auto;
  background: var(--modal-veil-bg);
  border: 1px solid rgba(217,202,184,.9);
  border-radius: 12px;
  box-shadow: 0 34px 90px rgba(23,18,15,.24);
  backdrop-filter: blur(18px) saturate(1.02);
  padding: clamp(18px, 1.8vw, 34px);
  transform: translateY(14px) scale(.992);
  transition: transform var(--motion-smooth) var(--motion-ease), opacity var(--motion-smooth) var(--motion-ease);
}
.product-modal.is-visible .product-modal-card { transform: translateY(0) scale(1); }
.modal-close {
  position: sticky;
  top: 14px;
  right: auto;
  z-index: 2;
  float: right;
  margin: 0 0 -44px;
}
.product-modal-grid {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(320px, 1fr);
  gap: clamp(22px, 2.8vw, 52px);
  align-items: start;
}
.product-gallery {
  min-width: 0;
}
.product-modal-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  width: min(100%, 520px);
  margin: 0 auto;
  background-color: rgba(255,252,247,.22);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(23,18,15,.12);
  box-shadow: inset 0 0 0 12px rgba(255,252,247,.34);
  transition: opacity 2.2s cubic-bezier(.42, 0, .18, 1), filter 2.2s cubic-bezier(.42, 0, .18, 1);
}
.product-thumbs {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(58px, 6vw, 78px);
  justify-content: start;
  gap: 8px;
  margin-top: 10px;
  max-width: 100%;
  padding: 2px 2px 7px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 2px;
  scroll-snap-type: inline proximity;
  scrollbar-width: thin;
  touch-action: pan-x;
}
.product-thumbs::-webkit-scrollbar {
  height: 4px;
}
.product-thumb {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  padding: 0;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(217,202,184,.8);
  border-radius: 10px;
  background-color: rgba(255,252,247,.22);
  cursor: pointer;
  opacity: .72;
  scroll-snap-align: center;
  transition: opacity var(--motion-smooth) var(--motion-ease), border-color var(--motion-smooth) var(--motion-ease), transform var(--motion-quick) var(--motion-ease);
}
.product-thumb.is-thumb-loading::before {
  content: "";
  position: absolute;
  top: calc(50% - 7px);
  left: calc(50% - 7px);
  z-index: 0;
  width: 14px;
  height: 14px;
  border: 1px solid rgba(111,18,40,.18);
  border-top-color: rgba(111,18,40,.62);
  border-radius: 50%;
  animation: gallery-thumb-loading .8s linear infinite;
}
.product-thumb.is-thumb-error::before {
  content: "Нет фото";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  padding: 5px;
  color: var(--muted);
  font-family: var(--utility);
  font-size: 10px;
  line-height: 1.1;
  text-align: center;
}
.product-thumb.is-thumb-error .product-thumb-image {
  opacity: 0;
}
.product-thumb-image {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
@keyframes gallery-thumb-loading {
  to { transform: rotate(360deg); }
}
.product-thumb:hover { opacity: .9; transform: translateY(-1px); }
.product-thumb.active {
  border-color: var(--accent);
  opacity: 1;
}
.product-thumb:focus-visible,
.product-modal-image:focus-visible,
.rose-builder-image:focus-visible {
  outline: 3px solid rgba(111,18,40,.26);
  outline-offset: 3px;
}

.product-modal-image,
.rose-builder-image {
  appearance: none;
  display: block;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: initial;
  cursor: zoom-in;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}
.gallery-loading-state {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  background: rgba(244,238,228,.94);
  font-family: var(--utility);
  font-size: 13px;
  line-height: 1.35;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--motion-quick) var(--motion-ease), visibility 0s linear var(--motion-quick);
}
.is-image-loading > .gallery-loading-state,
.is-image-error > .gallery-loading-state {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.is-image-loading > .gallery-photo,
.is-image-error > .gallery-photo,
.is-image-loading > .image-viewer-photo,
.is-image-error > .image-viewer-photo {
  opacity: 0;
}
.gallery-expand-label {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 7px 11px;
  border: 1px solid rgba(255,252,247,.72);
  border-radius: 999px;
  color: #fffdf8;
  background: rgba(23,18,15,.7);
  box-shadow: 0 7px 20px rgba(23,18,15,.18);
  font-family: var(--utility);
  font-size: 12px;
  line-height: 1;
  pointer-events: none;
}
.gallery-expand-label svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.image-viewer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: clamp(10px, 2.5vw, 30px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--motion-smooth) var(--motion-ease), visibility 0s linear var(--motion-smooth);
}
.image-viewer[hidden] {
  display: none;
}
.image-viewer.is-visible {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.image-viewer .modal-backdrop {
  background: rgba(23,18,15,.78);
  backdrop-filter: blur(12px);
}
.image-viewer-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  width: min(980px, 100%);
  max-height: calc(100vh - 28px);
  max-height: calc(100dvh - 28px);
  padding: clamp(12px, 1.8vw, 20px);
  overflow: hidden;
  border: 1px solid rgba(255,252,247,.14);
  border-radius: 14px;
  background: #1b1715;
  box-shadow: 0 34px 90px rgba(0,0,0,.42);
  color: #fffdf8;
  transform: translateY(10px) scale(.994);
  transition: transform var(--motion-smooth) var(--motion-ease);
}
.image-viewer.is-visible .image-viewer-card {
  transform: translateY(0) scale(1);
}
.image-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.image-viewer-header h2 {
  max-width: min(70vw, 760px);
  margin: 0;
  overflow: hidden;
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 40px);
  font-weight: 400;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.image-viewer-header p {
  margin: 5px 0 0;
  color: rgba(255,253,248,.7);
  font-family: var(--utility);
  font-size: 12px;
}
.image-viewer-header .image-viewer-hint {
  display: none;
}
@media (pointer: coarse) {
  .image-viewer-header .image-viewer-hint {
    display: block;
  }
}
.image-viewer-close {
  flex: 0 0 auto;
  color: #fffdf8;
  border-color: rgba(255,252,247,.28);
  background: rgba(255,252,247,.08);
}
.image-viewer-close svg,
.image-viewer-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.image-viewer-stage {
  position: relative;
  width: min(100%, 76dvh, 820px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  background: #100e0d;
  touch-action: none;
  isolation: isolate;
}
.image-viewer-stage.is-zoomed {
  cursor: grab;
}
.image-viewer-stage.is-zoomed:active {
  cursor: grabbing;
}
.image-viewer-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #100e0d;
  opacity: 1;
  transition: opacity var(--motion-quick) var(--motion-ease);
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}
.image-viewer-stage .gallery-loading-state {
  color: rgba(255,253,248,.72);
  background: #100e0d;
}
.image-viewer-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,252,247,.34);
  border-radius: 50%;
  color: #fffdf8;
  background: rgba(23,18,15,.74);
  box-shadow: 0 8px 26px rgba(0,0,0,.28);
  cursor: pointer;
  transform: translateY(-50%);
}
.image-viewer-prev { left: 12px; }
.image-viewer-next { right: 12px; }
.image-viewer-nav:focus-visible,
.image-viewer-close:focus-visible {
  outline: 3px solid rgba(255,253,248,.72);
  outline-offset: 3px;
}
.image-viewer-thumbs {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 64px;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  margin: 0 auto;
  padding: 2px 2px 6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
  scrollbar-width: thin;
  touch-action: pan-x;
}
.image-viewer-thumbs .product-thumb {
  border-color: rgba(255,252,247,.32);
  background: #100e0d;
}
.image-viewer-thumbs .product-thumb.active {
  border-color: #fffdf8;
}
.product-modal-info h2 {
  margin: 0 46px 12px 0;
  font-family: var(--display);
  font-size: clamp(42px, 3.8vw, 72px);
  line-height: .95;
  font-weight: 400;
}
.modal-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 12px;
  row-gap: 2px;
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(30px, 2.1vw, 42px);
}
.modal-price .old-price {
  font-size: .5em;
}
.modal-actions {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
}
.modal-actions > .primary {
  width: 100%;
}
.modal-delivery {
  margin: -10px 0 16px;
  font-size: 15px;
  line-height: 1.4;
  color: var(--ink);
}
.product-assistance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 16px;
  row-gap: 2px;
  margin: -14px 0 20px;
  font-size: 15px;
  line-height: 1.4;
}
.product-assistance a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.product-assistance a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.product-delivery {
  margin: 8px 0 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.product-delivery strong,
.modal-delivery strong {
  font-weight: 700;
}
.product-assistance-slot .product-assistance {
  margin: 8px 0 0;
  font-size: 14px;
  column-gap: 12px;
}
.rose-builder-total .product-delivery {
  max-width: 240px;
  margin: 6px 0 0;
  text-wrap: balance;
}
.seo-product-copy .product-delivery {
  min-height: 0;
  color: var(--ink);
  font-size: 14px;
}
.modal-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}
.modal-list li {
  border: 1px solid rgba(168,121,62,.36);
  padding: 7px 10px;
  color: var(--muted);
  background: rgba(255,252,247,.18);
}
.modal-details {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}
.modal-details p,
.modal-note p {
  margin: 0;
}
.modal-note {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.rose-builder-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: clamp(10px, 3vw, 38px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--motion-smooth) var(--motion-ease), visibility 0s linear var(--motion-smooth);
}
.rose-builder-modal[hidden] {
  display: none;
}
.rose-builder-modal.is-visible {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.rose-builder-card {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  max-height: min(900px, calc(100vh - 48px));
  max-height: min(900px, calc(100dvh - 48px));
  overflow: auto;
  padding: clamp(20px, 2vw, 38px);
  border: 1px solid rgba(217,202,184,.9);
  border-radius: 12px;
  background: var(--modal-veil-bg);
  box-shadow: 0 34px 90px rgba(23,18,15,.24);
  backdrop-filter: blur(18px) saturate(1.02);
  -webkit-backdrop-filter: blur(18px) saturate(1.02);
  transform: translateY(14px) scale(.992);
  transition: transform var(--motion-smooth) var(--motion-ease), opacity var(--motion-smooth) var(--motion-ease);
}
.rose-builder-modal.is-visible .rose-builder-card { transform: translateY(0) scale(1); }
.rose-builder-header {
  max-width: 760px;
  margin: 0 54px clamp(22px, 2vw, 32px) 0;
}
.rose-builder-header h2 {
  max-width: 12ch;
  margin: 0 0 9px;
  font-family: var(--display);
  font-size: clamp(42px, 4vw, 68px);
  font-weight: 400;
  line-height: .96;
}
.rose-builder-header p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, .86vw, 17px);
  line-height: 1.45;
}
.rose-builder-grid {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(430px, 1.1fr);
  align-items: start;
  gap: clamp(26px, 3.2vw, 58px);
}
.rose-builder-preview {
  min-width: 0;
  transition: opacity var(--motion-smooth) var(--motion-ease);
}
.rose-builder-preview.is-switching {
  opacity: .34;
}
.rose-builder-image {
  position: relative;
  overflow: hidden;
  width: min(100%, 500px);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border: 1px solid rgba(23,18,15,.11);
  border-radius: var(--radius-card);
  background-color: rgba(255,252,247,.22);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 0 12px rgba(255,252,247,.24);
  transition: opacity 2.2s cubic-bezier(.42, 0, .18, 1), filter 2.2s cubic-bezier(.42, 0, .18, 1);
}
.rose-builder-thumbs {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(58px, 6vw, 78px);
  justify-content: start;
  gap: 8px;
  width: min(100%, 500px);
  margin: 10px auto 0;
  padding: 2px 2px 7px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 2px;
  scroll-snap-type: inline proximity;
  scrollbar-width: thin;
  touch-action: pan-x;
}
.rose-builder-thumbs[hidden] {
  display: none;
}
.rose-builder-thumbs::-webkit-scrollbar {
  height: 4px;
}
.rose-builder-product-copy {
  margin-top: clamp(14px, 1.3vw, 20px);
}
.rose-builder-product-copy h3 {
  margin: 0 0 7px;
  font-family: var(--display);
  font-size: clamp(28px, 2.2vw, 40px);
  font-weight: 400;
  line-height: 1.02;
}
.rose-builder-product-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.rose-builder-form,
.rose-builder-fields {
  display: grid;
  gap: clamp(20px, 2vw, 30px);
}
.rose-builder-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.rose-builder-field legend {
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  color: var(--ink);
  font-family: var(--utility);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .035em;
}
.rose-builder-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.rose-builder-field-country .rose-builder-options {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.rose-builder-decoration-options {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.rose-option {
  min-width: 0;
  min-height: 46px;
  padding: 9px 10px;
  border: 1px solid rgba(111,18,40,.18);
  border-radius: var(--radius-soft);
  background: rgba(255,252,247,.22);
  color: var(--ink);
  cursor: pointer;
  font-family: var(--utility);
  font-size: 13px;
  line-height: 1.2;
  transition: border-color var(--motion-smooth) var(--motion-ease), background var(--motion-smooth) var(--motion-ease), color var(--motion-quick) var(--motion-ease), box-shadow var(--motion-smooth) var(--motion-ease), transform var(--motion-quick) var(--motion-ease);
}
.rose-option:hover:not(:disabled) { transform: translateY(-1px); }
.rose-option:active:not(:disabled) { transform: translateY(0) scale(.99); }
.rose-option:hover:not(:disabled) {
  border-color: rgba(111,18,40,.42);
  background: rgba(255,252,247,.4);
}
.rose-option.active {
  border-color: rgba(111,18,40,.62);
  background: rgba(111,18,40,.08);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(111,18,40,.08);
}
.rose-option:focus-visible,
.rose-builder-card button:focus-visible {
  outline: 2px solid rgba(111,18,40,.72);
  outline-offset: 3px;
}
.rose-option:disabled {
  opacity: .34;
  cursor: not-allowed;
}
.rose-decoration-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: left;
}
.rose-decoration-swatch {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(58, 42, 37, .2);
  border-radius: 50%;
  background: var(--decoration-swatch);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
}
.rose-decoration-swatch.is-auto {
  background: linear-gradient(135deg, #f5f1e8 0 48%, #6f1228 52% 100%);
}
.rose-builder-purchase {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-top: clamp(18px, 1.7vw, 26px);
  border-top: 1px solid rgba(111,18,40,.18);
}
.rose-builder-total {
  display: grid;
  gap: 4px;
}
.rose-builder-total span {
  color: var(--muted);
  font-family: var(--utility);
  font-size: 12px;
}
.rose-builder-total > strong {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 12px;
  row-gap: 2px;
  color: var(--accent);
  font-family: var(--display);
  font-size: clamp(36px, 2.6vw, 44px);
  font-weight: 400;
  line-height: 1.08;
}
.rose-builder-total > strong > .old-price {
  font-size: clamp(17px, 1.2vw, 21px);
}
.rose-builder-purchase .primary {
  min-width: 160px;
  min-height: 48px;
}
.rose-builder-purchase-actions {
  display: grid;
  gap: 9px;
  width: min(100%, 340px);
}
.rose-builder-purchase-actions > .primary {
  width: 100%;
}
.rose-builder-marketplaces[hidden] {
  display: none;
}
.rose-builder-purchase .primary:disabled {
  opacity: .42;
  cursor: not-allowed;
}

.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: clamp(18px, 1.6vw, 30px) 0 0;
  color: var(--muted);
  font-family: var(--utility);
  font-size: 13px;
}
.catalog-controls[hidden] {
  display: none;
}
.catalog-load-error {
  margin: 18px 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--utility);
  font-size: 14px;
}
.catalog-load-error[hidden] { display: none; }

.cart-panel {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(480px, 100%);
  padding: 20px;
  background: var(--glass-card-bg);
  border-left: 1px solid var(--glass-card-border);
  box-shadow: var(--glass-card-shadow);
  backdrop-filter: blur(18px) saturate(1.04);
  -webkit-backdrop-filter: blur(18px) saturate(1.04);
  transform: translateX(102%);
  transition: transform var(--motion-smooth) var(--motion-ease), box-shadow var(--motion-smooth) var(--motion-ease);
  z-index: 60;
  overflow: auto;
}
.cart-panel.open { transform: translateX(0); }
.cart-head, .admin-head, .order-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  background: rgba(255,252,247,.16);
  cursor: pointer;
  transition: color var(--motion-quick) var(--motion-ease), background var(--motion-smooth) var(--motion-ease), border-color var(--motion-smooth) var(--motion-ease), transform var(--motion-quick) var(--motion-ease);
}
.icon-button:hover { border-color: rgba(111,18,40,.32); background: rgba(255,252,247,.34); }
.icon-button:active { transform: scale(.96); }
.cart-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-family: var(--utility);
  font-size: 12px;
  letter-spacing: 0.02em;
}
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  background: rgba(255,252,247,.18);
  padding: 11px 12px;
  color: var(--ink);
}
textarea { min-height: 76px; resize: vertical; }
.order-form { display: grid; gap: 12px; margin-top: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cart-total { display: flex; justify-content: space-between; padding: 12px 0; }
.result { color: var(--accent-2); font-weight: 700; }

.admin-body {
  background: #eeebe6;
}
.admin-shell { max-width: 1280px; margin: 0 auto; }
.login-card, .admin-content { padding: 24px; margin-top: 24px; }
.hidden { display: none !important; }
.metric strong { display: block; font-size: 26px; margin-top: 4px; }
.metric span {
  font-family: var(--utility);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.orders-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.order-card { padding: 16px; }
.status {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: var(--radius-soft);
  background: #eadfd3;
  color: var(--accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.order-origin {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 7px;
  color: var(--muted);
  font-family: var(--utility);
  font-size: 11px;
  letter-spacing: .035em;
}
.order-source {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border: 1px solid rgba(111,18,40,.2);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(255,252,247,.38);
  font-weight: 700;
}
.order-source--ozon {
  border-color: rgba(0,91,255,.28);
  color: #004bd6;
  background: rgba(0,91,255,.075);
}
.external-status {
  display: inline-flex;
  margin-left: 7px;
  color: #004bd6;
  font-family: var(--utility);
  font-size: 11px;
}
.admin-order-items {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}
.admin-order-item {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  border: 1px solid rgba(111,18,40,.12);
  border-radius: var(--radius-soft);
  background: rgba(255,252,247,.26);
}
.admin-order-item span {
  color: var(--ink);
  line-height: 1.35;
}
.admin-order-item small {
  color: var(--muted);
  font-family: var(--utility);
  font-size: 11px;
  line-height: 1.4;
}
.admin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.admin-actions { display: flex; gap: 10px; margin-top: 12px; }
.admin-product-card {
  gap: 10px;
}
.products-admin-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(210px, .45fr) auto;
  align-items: end;
  gap: 12px;
  margin: 16px 0;
  padding: 16px;
  border: 1px solid rgba(111,18,40,.12);
  border-radius: var(--radius-card);
  background: rgba(255,252,247,.3);
}
.products-admin-toolbar p {
  margin: 0 0 10px;
  color: var(--muted);
  font-family: var(--utility);
  font-size: 12px;
  white-space: nowrap;
}
.products-admin-toolbar strong {
  color: var(--accent);
}
.admin-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}
.admin-product-card > h3 {
  margin-bottom: 0;
}
.admin-product-slug {
  display: block;
  width: 100%;
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-product-editor {
  width: 100%;
  margin-top: 4px;
  border-top: 1px solid rgba(111,18,40,.12);
}
.admin-product-editor > summary,
.admin-product-seo > summary,
.admin-product-technical > summary {
  cursor: pointer;
  color: var(--accent);
  font-family: var(--utility);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}
.admin-product-editor > summary {
  padding: 14px 0 2px;
}
.admin-product-editor[open] > summary {
  margin-bottom: 14px;
}
.admin-product-fields,
.admin-marketplace-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.admin-field-wide {
  grid-column: 1 / -1;
}
.admin-marketplace-editor {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 15px;
  border: 1px solid rgba(111,18,40,.12);
  border-radius: var(--radius-soft);
  background: rgba(255,252,247,.2);
}
.admin-marketplace-editor h4,
.admin-marketplace-editor p {
  margin: 0;
}
.admin-marketplace-editor h4 {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
}
.admin-marketplace-editor p,
.admin-product-technical p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}
.marketplace-field {
  padding: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius-soft);
}
.marketplace-field--ozon {
  border-color: rgba(0,91,255,.22);
  background: rgba(0,91,255,.055);
  color: #004bd6;
}
.marketplace-field--flowwow {
  border-color: rgba(255,118,99,.4);
  background: rgba(255,118,99,.09);
  color: #370b27;
}
.marketplace-field--ozon input:focus {
  border-color: rgba(0,91,255,.7);
  outline: 2px solid rgba(0,91,255,.16);
  outline-offset: 1px;
}
.marketplace-field--flowwow input:focus {
  border-color: rgba(255,118,99,.85);
  outline: 2px solid rgba(255,118,99,.18);
  outline-offset: 1px;
}
.admin-product-seo,
.admin-product-technical {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(111,18,40,.1);
}
.admin-product-seo[open],
.admin-product-technical[open] {
  display: grid;
  gap: 10px;
}
.admin-product-card.is-inactive {
  border-color: rgba(111, 18, 40, .12);
}
.admin-product-photo {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(111, 18, 40, .13);
  border-radius: var(--radius-soft);
  background: rgba(255, 252, 247, .2);
}
.admin-product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-product-photo.is-missing {
  border-style: dashed;
  background: rgba(111, 18, 40, .035);
  color: rgba(111, 18, 40, .58);
  font-family: var(--utility);
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.admin-product-status {
  display: grid;
  gap: 3px;
  color: rgba(37, 29, 25, .68);
  font-family: var(--utility);
  font-size: 11px;
  letter-spacing: .035em;
}
.admin-product-status.has-photo span {
  color: #315b45;
}
.admin-product-status.is-missing span {
  color: var(--accent);
}
.admin-product-status small {
  overflow-wrap: anywhere;
  color: var(--muted);
  font-size: 10px;
}
.admin-product-toggle {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  color: var(--ink);
}
.admin-product-toggle input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--accent);
}
.admin-product-toggle input:disabled + span {
  color: var(--muted);
}
.admin-product-card .admin-actions {
  align-items: center;
  justify-content: space-between;
}
.settings-admin .order-card {
  margin-top: 18px;
  padding: clamp(18px, 2vw, 28px);
}
.settings-admin .admin-grid {
  gap: 18px;
}
.settings-document {
  grid-column: 1 / -1;
}
.settings-document textarea {
  min-height: 180px;
  line-height: 1.55;
}
.settings-admin .admin-actions {
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 68px;
  padding-inline: var(--page-pad);
}
.admin-topbar .brand {
  flex: 0 0 auto;
  font-size: clamp(22px, 1.7vw, 30px);
}
.admin-topbar nav {
  flex: 0 1 auto;
  max-width: min(72vw, 760px);
  overflow-x: auto;
  scrollbar-width: none;
}
.admin-topbar nav::-webkit-scrollbar {
  display: none;
}
.admin-topbar nav button {
  flex: 0 0 auto;
  min-height: 44px;
  padding-inline: clamp(8px, 1vw, 15px);
  white-space: nowrap;
}
.payments-admin {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}
.payment-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.payment-summary,
.payment-settings-form,
.payment-environment {
  min-width: 0;
  margin: 0;
  padding: clamp(18px, 2vw, 28px);
}
.payment-summary-head,
.payment-form-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.payment-summary h2,
.payment-settings-form h2,
.payment-environment h2,
.payment-error h2 {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 500;
  letter-spacing: -.02em;
}
.payment-summary p,
.payment-form-head p,
.payment-error p {
  max-width: 64ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.payment-form-head > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--utility);
  font-size: 12px;
}
.payment-state {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 10px;
  font-family: var(--utility);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}
.payment-state-ready {
  background: var(--accent-2);
  color: #fff;
}
.payment-state-standby {
  background: #e8dcc8;
  color: #49351e;
}
.payment-state-blocked {
  background: #ead4d8;
  color: #68132a;
}
.payment-state-off {
  background: #e5dfd8;
  color: #514840;
}
.payment-records {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}
.payment-records-single {
  grid-template-columns: minmax(0, 1fr);
}
.payment-records div {
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.payment-records dt {
  color: var(--muted);
  font-family: var(--utility);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.payment-records dd {
  margin: 5px 0 0;
  font-family: var(--utility);
  font-size: clamp(20px, 1.8vw, 28px);
  font-variant-numeric: tabular-nums;
}
.payment-toggle-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.payment-toggle {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 15px;
  background: rgba(255,252,247,.18);
  color: var(--ink);
  cursor: pointer;
}
.payment-toggle input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  accent-color: var(--accent-2);
}
.payment-toggle input:disabled {
  cursor: not-allowed;
  opacity: .55;
}
.payment-toggle:has(input:disabled) {
  cursor: not-allowed;
}
.payment-toggle span {
  display: grid;
  gap: 5px;
  min-width: 0;
}
.payment-toggle strong {
  font-size: 14px;
  font-weight: 700;
}
.payment-toggle small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.payment-tax-grid {
  margin-top: 18px;
}
.payment-actions {
  align-items: center;
  flex-wrap: wrap;
  margin-top: 20px;
}
.payment-actions button:disabled {
  cursor: wait;
  opacity: .55;
}
.payment-checks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 20px;
  margin-top: 20px;
}
.payment-check {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding-block: 12px;
  border-bottom: 1px solid var(--line);
  font-family: var(--utility);
  font-size: 13px;
}
.payment-check span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.payment-check strong {
  flex: 0 0 auto;
  color: var(--accent-2);
  font-size: 12px;
}
.payment-loading,
.payment-error {
  padding: 24px;
}
.payment-loading {
  color: var(--muted);
  font-family: var(--utility);
}
.payment-error button {
  margin-top: 16px;
}
.payments-admin :is(button, input, select):focus-visible {
  outline: 2px solid rgba(111,18,40,.62);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .payment-overview,
  .payment-toggle-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .payment-checks {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .admin-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding-block: 10px;
  }
  .admin-topbar .brand,
  .admin-topbar nav {
    grid-column: 1;
  }
  .admin-topbar .brand {
    justify-self: start;
  }
  .admin-topbar nav {
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
  }
  .payment-summary-head,
  .payment-form-head {
    display: grid;
    gap: 12px;
  }
  .payment-state {
    justify-self: start;
  }
  .payment-checks {
    grid-template-columns: minmax(0, 1fr);
  }
  .payment-actions button {
    width: 100%;
    white-space: normal;
  }
  .products-admin-toolbar,
  .admin-product-fields,
  .admin-marketplace-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-field-wide {
    grid-column: auto;
  }
  .products-admin-toolbar p {
    margin: 0;
  }
}

@media (max-width: 1240px) {
  .hero {
    padding-top: 42px;
  }
  .hero-selection {
    width: min(68vw, 820px, max(340px, calc(100svh - 210px)));
  }
  .hero-commerce {
    width: min(125%, calc(100vw - var(--page-pad) - var(--page-pad)));
    min-height: auto;
  }
  .promise-grid,
  .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .hero-featured-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--featured-grid-gap);
  }
  .hero-featured-card {
    flex: 0 0 calc((100% - var(--featured-grid-gap) - var(--featured-grid-gap)) / 3);
  }
}

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

@media (max-width: 960px) {
  .hero-selection {
    width: min(82vw, 720px, max(320px, calc(100svh - 210px)));
  }
  h1 {
    font-size: clamp(42px, 9vw, 76px);
  }
  .product-meta {
    min-height: 0;
  }
  .catalog {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .orders-board {
    grid-template-columns: 1fr;
  }
  .product-modal-grid {
    grid-template-columns: 1fr;
  }
  .product-modal-card {
    max-height: calc(100vh - 28px);
    max-height: calc(100dvh - 28px);
  }
}

@media (min-width: 681px) and (max-height: 760px) {
  .hero {
    padding-top: 30px;
    padding-bottom: 18px;
  }
  .hero-selection {
    width: min(82vw, 720px, max(300px, calc(100svh - 250px)));
    gap: 14px;
  }
  .hero-commerce {
    gap: 8px;
  }
  .hero-featured-grid {
    gap: 8px;
  }
  .hero-filter-card,
  .hero-featured-card {
    gap: 6px;
    padding: 7px;
  }
  .hero-filter-title {
    min-height: 34px;
    font-size: clamp(16px, 2.8vh, 19px);
  }
  .hero-featured-title {
    margin-bottom: 8px;
    font-size: clamp(26px, 4.2vh, 32px);
  }
  .hero-monobouquet-title {
    margin-bottom: 0;
  }
  .hero-featured-category {
    font-size: 8px;
  }
  .hero-featured-name {
    min-height: 2em;
    margin: 3px 0 6px;
    font-size: clamp(16px, 2.8vh, 19px);
  }
  .hero-featured-price {
    font-size: clamp(17px, 2.7vh, 19px);
  }
  .hero-featured-details,
  .hero-featured-cart {
    padding: 5px 7px;
  }
}

@media (max-width: 680px) {
  :root {
    --header-main-h: 58px;
    --header-facts-h: 54px;
    --header-total-h: 112px;
  }
  .topbar-main {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .brand {
    grid-column: 1;
    justify-self: start;
    font-size: clamp(20px, 5.6vw, 24px);
    letter-spacing: .1em;
    text-indent: 0;
  }
  .topbar nav {
    grid-column: 2;
  }
  .header-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    min-height: var(--header-facts-h);
    margin: 0;
  }
  .header-fact {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 4px;
    white-space: normal;
  }
  .header-fact-title {
    font-size: clamp(14px, 4vw, 17px);
  }
  .header-fact-detail {
    max-width: 17ch;
    font-size: clamp(8px, 2.35vw, 10px);
    line-height: 1.15;
    white-space: normal;
  }
  .header-fact + .header-fact::before {
    height: 30px;
  }
  .cart-button {
    min-height: 40px;
    padding-inline: 12px;
  }
  .hero {
    padding-top: 42px;
    min-height: auto;
  }
  .hero-selection {
    width: 100%;
    gap: 28px;
  }
  .hero-commerce {
    min-height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    background: transparent;
  }
  .hero-filter-card:last-of-type {
    grid-column: 1 / -1;
    width: calc((100% - 8px) / 2);
    justify-self: center;
  }
  .hero-filter-card {
    gap: 7px;
    padding: 7px;
  }
  .hero-filter-title {
    min-height: 36px;
    font-size: clamp(15px, 4.5vw, 20px);
  }
  .hero-featured-title {
    font-size: clamp(30px, 8vw, 42px);
  }
  .hero-featured-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-bottom: 12px;
  }
  .hero-featured-card {
    flex-basis: calc((100% - 10px) / 2);
  }
  .hero-featured-details,
  .hero-featured-cart {
    min-height: 44px;
  }
  .hero-featured-card .marketplace-link {
    min-height: 44px;
    padding: 9px 10px;
    font-size: 12px;
  }
  .hero-commerce::before {
    display: none;
  }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .promise-grid,
  .catalog,
  .metric-row,
  .orders-board {
    grid-template-columns: minmax(0, 1fr);
  }
  .catalog {
    grid-template-columns: minmax(0, 1fr);
  }
  .two, .admin-grid { grid-template-columns: 1fr; }
}

@media (max-width: 359px) {
  .hero-featured-grid {
    width: min(100%, 300px);
    margin-inline: auto;
    padding-inline: 16px;
  }
  .hero-featured-card {
    flex-basis: 100%;
  }
}

@media (min-width: 681px) and (max-width: 860px) {
  .promise-grid,
  .metric-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .topbar nav {
    justify-content: flex-end;
  }
  .catalog,
  .promise-grid,
  .metric-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-card,
  .promise-grid article,
  .metric,
  .order-card {
    padding: 16px;
  }
  .cart-panel {
    padding: 16px;
  }
}

@media (min-width: 841px) and (max-height: 800px) {
  .rose-builder-card {
    padding: 18px 28px 22px;
  }
  .rose-builder-header {
    margin-bottom: 16px;
  }
  .rose-builder-header h2 {
    font-size: 48px;
  }
  .rose-builder-grid {
    gap: 32px;
  }
  .rose-builder-image {
    width: min(100%, 400px);
  }
  .rose-builder-product-copy {
    margin-top: 10px;
  }
  .rose-builder-product-copy h3 {
    font-size: 30px;
  }
  .rose-builder-form,
  .rose-builder-fields {
    gap: 14px;
  }
  .rose-option {
    min-height: 42px;
    padding-block: 7px;
  }
  .rose-builder-purchase {
    padding-top: 13px;
  }
}

@media (max-width: 840px) {
  .rose-builder-modal {
    align-items: start;
    padding: 12px;
  }
  .rose-builder-card {
    width: 100%;
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
  }
  .rose-builder-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .rose-builder-preview {
    display: block;
  }
  .rose-builder-product-copy {
    margin-top: 14px;
  }
}

@media (max-width: 600px) {
  .image-viewer {
    place-items: stretch;
    padding: 0;
  }
  .image-viewer-card {
    grid-template-rows: auto auto auto;
    align-content: start;
    width: 100%;
    max-height: none;
    min-height: 100vh;
    min-height: 100dvh;
    padding: max(12px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
  }
  .image-viewer-header h2 {
    max-width: calc(100vw - 84px);
    font-size: clamp(25px, 8vw, 34px);
    line-height: .95;
    white-space: normal;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .image-viewer-stage {
    width: 100%;
    max-height: calc(100dvh - 164px);
  }
  .image-viewer-nav {
    width: 44px;
    height: 44px;
  }
  .image-viewer-prev { left: 8px; }
  .image-viewer-next { right: 8px; }
  .image-viewer-thumbs {
    grid-auto-columns: 58px;
    justify-content: start;
    width: 100%;
  }
}

@media (max-width: 425px) {
  .product-modal {
    align-items: start;
    padding: 8px;
  }
  .product-modal-card {
    width: 100%;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    padding: 12px;
    overflow-x: hidden;
  }
  .modal-close {
    top: 10px;
    right: 10px;
    background: rgba(255,252,247,.94);
  }
  .product-modal-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .product-modal-image {
    width: min(100%, calc(100vw - 48px));
    max-height: min(72vw, 320px);
  }
  .product-thumbs,
  .rose-builder-thumbs {
    grid-auto-columns: 56px;
  }
  .product-modal-info {
    min-width: 0;
  }
  .product-modal-info h2 {
    margin-right: 42px;
    font-size: clamp(36px, 12vw, 48px);
  }
  .modal-price {
    font-size: 30px;
  }
  .modal-list {
    gap: 7px;
  }
  .modal-list li {
    padding: 7px 9px;
  }
  .rose-builder-modal {
    padding: 8px;
  }
  .rose-builder-card {
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    padding: 16px 14px 18px;
    border-radius: 10px;
    overflow-x: hidden;
  }
  .rose-builder-header {
    margin: 0 42px 20px 0;
  }
  .rose-builder-header h2 {
    max-width: 10ch;
    font-size: clamp(38px, 12vw, 50px);
  }
  .rose-builder-header p {
    font-size: 13px;
  }
  .rose-builder-grid {
    gap: 24px;
  }
  .rose-builder-preview {
    display: block;
  }
  .rose-builder-image {
    width: min(100%, 330px);
  }
  .rose-builder-product-copy {
    margin-top: 14px;
  }
  .rose-builder-product-copy h3 {
    font-size: clamp(28px, 8.5vw, 36px);
  }
  .rose-builder-options,
  .rose-builder-field-country .rose-builder-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rose-option {
    min-height: 44px;
  }
  .rose-builder-purchase {
    align-items: stretch;
    flex-direction: column;
  }
  .rose-builder-purchase .primary {
    width: 100%;
  }
  .rose-builder-purchase-actions {
    width: 100%;
  }
}

/* Storefront contacts, cart and legal surfaces */
.storefront-body {
  --header-main-h: 88px;
  --header-facts-h: 52px;
  --header-total-h: 140px;
  --modal-reading-layer: rgba(255, 252, 247, .56);
  --modal-readable-muted: #564a42;
}

.storefront-topbar .topbar-main {
  min-height: var(--header-main-h);
}

.storefront-topbar .topbar-actions {
  position: absolute;
  top: 17px;
  right: var(--page-pad);
  display: grid;
  grid-template-columns: 138px 148px;
  grid-template-rows: 52px 44px;
  align-items: center;
  justify-items: stretch;
  column-gap: 14px;
  row-gap: 8px;
  width: 300px;
  min-width: 300px;
  padding: 0;
}

@media (min-width: 901px) {
  .storefront-topbar .header-facts {
    width: min(
      940px,
      calc(
        100% - var(--page-pad) - 314px -
        max(var(--page-pad), (100% - 940px) / 2)
      )
    );
    margin-right: 0;
    margin-left: max(var(--page-pad), calc((100% - 940px) / 2));
  }
}

@media (min-width: 901px) and (max-width: 920px) {
  .storefront-topbar .topbar-actions {
    right: max(14px, calc(var(--page-pad) - 8px));
  }
}

.header-messengers {
  display: flex;
  align-items: center;
}

.header-contact {
  grid-column: 1 / -1;
  grid-row: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  text-align: center;
}

.header-hours {
  color: rgba(36, 25, 28, .58);
  font-family: var(--utility);
  font-size: 13px;
  font-weight: 400;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: .065em;
  line-height: 16px;
  white-space: nowrap;
}

.header-phone {
  display: block;
  width: 100%;
  min-height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(111, 18, 40, .86);
  font-family: var(--display);
  font-size: clamp(24px, 1.25vw, 27px);
  font-weight: 400;
  font-variant-numeric: proportional-nums lining-nums;
  font-feature-settings: "pnum" 1, "lnum" 1;
  letter-spacing: .045em;
  line-height: 28px;
  text-align: center;
  text-align-last: auto;
  white-space: nowrap;
  transition: color var(--motion-smooth) var(--motion-ease), opacity var(--motion-smooth) var(--motion-ease);
}

.header-phone:hover {
  color: var(--accent);
  text-decoration: none;
}

.header-phone.is-placeholder {
  color: rgba(111, 18, 40, .82);
  cursor: default;
  text-decoration: none;
}

.header-phone.is-placeholder:hover {
  color: rgba(111, 18, 40, .82);
}

.header-messengers {
  grid-column: 1;
  grid-row: 2;
  justify-content: space-between;
  width: 138px;
  gap: 0;
}

.messenger-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(111, 18, 40, .13);
  border-radius: 7px;
  background: rgba(255, 252, 247, .16);
  color: rgba(111, 18, 40, .72);
  transition: color var(--motion-smooth) var(--motion-ease), background var(--motion-smooth) var(--motion-ease), border-color var(--motion-smooth) var(--motion-ease), transform var(--motion-quick) var(--motion-ease), box-shadow var(--motion-smooth) var(--motion-ease);
}

.messenger-link[hidden] {
  display: none;
}

.messenger-link svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.messenger-link-max svg {
  width: 20px;
  height: 20px;
}

.messenger-link:hover {
  border-color: rgba(111, 18, 40, .28);
  background: rgba(255, 252, 247, .32);
  color: var(--accent);
}

.messenger-link:active {
  transform: scale(.94);
}

.messenger-link.is-placeholder {
  border-color: rgba(111, 18, 40, .15);
  background: rgba(255, 252, 247, .22);
  color: rgba(111, 18, 40, .76);
  cursor: default;
}

.messenger-link.is-placeholder:hover,
.messenger-link.is-placeholder:active {
  border-color: rgba(111, 18, 40, .15);
  background: rgba(255, 252, 247, .22);
  color: rgba(111, 18, 40, .76);
  transform: none;
}

.messenger-link:focus-visible,
.header-phone:focus-visible,
.footer-legal button:focus-visible,
.footer-legal a:focus-visible {
  outline: 2px solid rgba(111, 18, 40, .58);
  outline-offset: 3px;
}

.storefront-topbar .cart-button {
  grid-column: 2;
  grid-row: 2;
  width: 148px;
  min-width: 148px;
  min-height: 44px;
  padding-inline: 17px;
  font-size: 12.5px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(360px, 1.2fr);
  align-items: end;
  gap: clamp(28px, 5vw, 96px);
  margin: clamp(50px, 7vw, 108px) var(--page-pad) 0;
  padding: clamp(28px, 3.6vw, 58px) 0 clamp(34px, 4vw, 64px);
  border-top: 1px solid rgba(111, 18, 40, .2);
  color: rgba(111, 18, 40, .82);
}

.footer-identity {
  display: grid;
  gap: 9px;
}

.footer-identity strong {
  font-family: var(--display);
  font-size: clamp(18px, 1.3vw, 25px);
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-identity span {
  font-family: var(--utility);
  font-size: 12px;
  letter-spacing: .045em;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px clamp(16px, 2vw, 32px);
}

.footer-legal button,
.footer-legal a {
  min-height: 34px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: var(--utility);
  font-size: 12px;
  letter-spacing: .025em;
  text-align: left;
  transition: color var(--motion-smooth) var(--motion-ease), border-color var(--motion-smooth) var(--motion-ease), opacity var(--motion-smooth) var(--motion-ease);
}

.footer-legal button:hover,
.footer-legal a:hover {
  color: var(--accent);
  border-bottom-color: rgba(111, 18, 40, .42);
}

.cart-panel {
  width: min(520px, 100%);
  height: 100vh;
  height: 100dvh;
  padding: 0 22px 28px;
  color: var(--ink);
  transition: transform var(--motion-smooth) var(--motion-ease), box-shadow var(--motion-smooth) var(--motion-ease);
}

.cart-panel[inert] {
  pointer-events: none;
}

.cart-head {
  position: sticky;
  top: 0;
  z-index: 3;
  margin: 0 -22px 10px;
  padding: 18px 22px 14px;
  border-bottom: 1px solid rgba(111, 18, 40, .12);
  background: rgba(255, 252, 247, .98);
  box-shadow: 0 12px 26px rgba(23, 18, 15, .035);
  backdrop-filter: blur(22px) saturate(1.02);
  -webkit-backdrop-filter: blur(22px) saturate(1.02);
}

.cart-head h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 3vw, 52px);
  font-weight: 400;
  line-height: 1;
}

.cart-line {
  display: grid;
  grid-template-columns: clamp(88px, 20vw, 104px) minmax(0, 1fr) 40px;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
  border-bottom-color: rgba(111, 18, 40, .14);
}

.cart-line-image {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(111, 18, 40, .16);
  border-radius: var(--radius-card);
  background-color: rgba(255, 252, 247, .22);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  box-shadow: inset 0 0 0 7px rgba(255, 252, 247, .28);
}

.cart-line-no-image {
  grid-template-columns: minmax(0, 1fr) 40px;
}

.cart-line-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.cart-line-copy strong {
  font-family: var(--display);
  font-size: clamp(19px, 1.35vw, 24px);
  font-weight: 400;
  line-height: 1.08;
}

.cart-line-copy small {
  color: var(--modal-readable-muted);
  font-family: var(--utility);
  font-size: 12px;
  line-height: 1.4;
}

.cart-line-copy span {
  color: var(--accent);
  font-family: var(--utility);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.cart-empty {
  margin: 26px 0 30px;
  color: var(--modal-readable-muted);
}

.checkout-security {
  margin: -2px 2px 0;
  color: var(--modal-readable-muted);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
  overflow-wrap: anywhere;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 2px 0 4px;
  border: 0;
}

.payment-methods[hidden],
.payment-method-option[hidden] {
  display: none;
}

.payment-methods legend {
  margin: 0;
  padding: 0 0 2px;
  color: var(--modal-readable-muted);
  font-family: var(--utility);
  font-size: 12px;
  letter-spacing: .02em;
}

.payment-method-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 7px 11px;
  border: 1px solid rgba(111, 18, 40, .16);
  border-radius: var(--radius-card);
  background: rgba(255, 252, 247, .24);
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--motion-quick) var(--motion-ease), background var(--motion-smooth) var(--motion-ease);
}

.payment-method-option:hover {
  border-color: rgba(111, 18, 40, .34);
  background: rgba(255, 252, 247, .4);
}

.payment-method-option:has(input:checked) {
  border-color: rgba(111, 18, 40, .52);
  background: rgba(255, 249, 243, .52);
}

.payment-method-option--preferred {
  border-color: rgba(111, 18, 40, .3);
  background: rgba(111, 18, 40, .07);
}

.payment-method-option--preferred:has(input:checked) {
  border-color: rgba(111, 18, 40, .68);
  background: rgba(111, 18, 40, .12);
}

.payment-method-option--preferred .payment-method-title {
  color: var(--accent);
}

.payment-method-option:focus-within {
  outline: 2px solid rgba(111, 18, 40, .48);
  outline-offset: 2px;
}

.payment-method-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.payment-method-option input:focus-visible {
  outline: 0;
}

.payment-method-option input:disabled,
.payment-method-option input:disabled + .payment-method-copy {
  cursor: not-allowed;
  opacity: .55;
}

.payment-method-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.payment-method-title {
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .005em;
  line-height: 1.05;
}

.payment-method-title small {
  margin-left: 7px;
  color: var(--accent);
  font-family: var(--text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .045em;
  text-transform: uppercase;
  white-space: nowrap;
}

.payment-method-detail {
  display: none;
}

.checkout-result {
  display: grid;
  gap: 10px;
}

.checkout-result .result {
  margin: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.checkout-retry {
  width: 100%;
}

.payment-return {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.payment-return.is-visible {
  opacity: 1;
  visibility: visible;
}

.payment-return-card {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  padding: clamp(28px, 6vw, 46px);
  border-radius: 16px;
  background: rgba(28, 25, 22, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  color: #fff;
  text-align: center;
  transform: translateY(12px);
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.payment-return.is-visible .payment-return-card {
  transform: translateY(0);
}

.payment-return-mark {
  position: relative;
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
}

.payment-return-mark::after {
  content: "";
  position: absolute;
  inset: 17px;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  transform: translate(-1px, -3px) rotate(45deg);
}

.payment-return-mark[data-state="checking"]::after,
.payment-return-mark[data-state="pending"]::after {
  inset: 13px;
  border-width: 2px 2px 0 0;
  border-radius: 50%;
  transform: none;
  animation: payment-return-spin 900ms linear infinite;
}

.payment-return-mark[data-state="failed"]::before,
.payment-return-mark[data-state="failed"]::after {
  content: "";
  position: absolute;
  top: 27px;
  left: 16px;
  width: 26px;
  height: 2px;
  border: 0;
  border-radius: 2px;
  background: currentColor;
}

.payment-return-mark[data-state="failed"]::before { transform: rotate(45deg); }
.payment-return-mark[data-state="failed"]::after { transform: rotate(-45deg); }

.payment-return[data-state="paid"] .payment-return-mark { color: #d8e8d7; }
.payment-return[data-state="failed"] .payment-return-mark { color: #f0c8c0; }

.payment-return-card h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 6vw, 42px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.payment-return-card > p {
  max-width: 40ch;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.55;
}

.payment-return-order {
  min-height: 24px;
  padding-top: 12px;
  color: #fff !important;
  font-variant-numeric: tabular-nums;
}

.payment-return-actions {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

@keyframes payment-return-spin {
  to { transform: rotate(360deg); }
}

.cart-panel input,
.cart-panel textarea,
.cart-panel select {
  background: rgba(255, 252, 247, .42);
  border-color: rgba(111, 18, 40, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .36);
}

.order-form { gap: 8px; }
.order-form > label,
.checkout-address label,
.checkout-when label {
  min-width: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}
.order-form input:not([type="checkbox"]):not([type="radio"]),
.order-form select { min-height: 44px; font-size: 15px; }
.checkout-address {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr) clamp(74px, 18%, 90px);
  gap: 8px;
  min-width: 0;
}
.checkout-address label,
.checkout-address input,
.checkout-address select { min-width: 0; }
.checkout-street { position: relative; min-width: 0; }
.checkout-address-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 6;
  width: min(335px, calc(100vw - 32px));
  max-height: 220px;
  overflow-y: auto;
  border: 1px solid rgba(111, 18, 40, .2);
  border-radius: var(--radius-soft);
  background: #fffaf4;
  box-shadow: 0 12px 28px rgba(23, 18, 15, .16);
}
.checkout-address-suggestions[hidden],
.checkout-address-tools[hidden],
.checkout-address-tools [hidden] { display: none; }
.checkout-address-suggestions button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid rgba(111, 18, 40, .1);
  background: transparent;
  color: var(--ink);
  font: 13px/1.35 var(--utility);
  text-align: left;
  cursor: pointer;
}
.checkout-address-suggestions button:hover,
.checkout-address-suggestions button:focus-visible { background: rgba(111, 18, 40, .08); }
.checkout-address-suggestions button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.checkout-address-suggestions .address-provider {
  display: block;
  padding: 7px 12px;
  color: var(--modal-readable-muted);
  font: 11px/1.3 var(--utility);
  text-align: right;
}
.checkout-address-suggestions .address-provider a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.checkout-address-suggestions .address-provider img { display: inline-block; width: auto; height: 15px; vertical-align: middle; }
.checkout-address-tools { display: grid; justify-items: center; gap: 4px; margin-top: -3px; }
.checkout-location {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  max-width: 100%;
  padding: 0 10px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-soft);
  background: var(--accent);
  color: var(--surface);
  font: 12px/1.3 var(--utility);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--motion-quick) var(--motion-ease);
}
.checkout-location::before { content: ""; position: absolute; inset: -3px 0; }
.checkout-location:hover { background: #85243d; }
.checkout-location:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.checkout-location:disabled { opacity: .6; cursor: wait; }
.checkout-location svg { width: 15px; height: 15px; stroke: currentColor; stroke-width: 1.5; }
#addressLookupStatus { color: var(--modal-readable-muted); font: 12px/1.3 var(--utility); text-align: center; }
.order-form .checkout-address input { padding-inline: 9px; }
.order-form .checkout-address select { padding-left: 6px; padding-right: 12px; font-size: 12px; }
.order-form input:focus-visible,
.order-form select:focus-visible,
.order-form textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.field-optional { color: var(--modal-readable-muted); font-size: 12px; }
.checkout-when { grid-template-columns: minmax(0, 1fr); }
.checkout-when > * { min-width: 0; }
.checkout-when input,
.checkout-when select {
  min-width: 0;
  max-width: 100%;
  height: 48px;
  min-height: 48px;
  margin: 0;
  font: 16px/1.25 var(--utility);
}
.checkout-when input[type="date"] {
  width: auto;
  justify-self: stretch;
}
.order-extras { border-top: 1px solid rgba(111, 18, 40, .14); }
.order-extras summary {
  padding: 9px 3px;
  color: var(--accent);
  font-family: var(--utility);
  font-size: 13px;
  cursor: pointer;
}
.order-extras summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.order-extras-fields { display: grid; gap: 11px; padding: 2px 0 12px; }
.cart-total { border-top: 1px solid rgba(111, 18, 40, .14); font-family: var(--utility); }
.cart-total strong { color: var(--accent); font-family: var(--display); font-size: 25px; font-variant-numeric: tabular-nums; font-weight: 400; }
.order-form > .primary {
  position: sticky;
  bottom: max(8px, env(safe-area-inset-bottom));
  z-index: 2;
  box-shadow: 0 10px 22px rgba(23, 18, 15, .18);
}
.payment-method-title small { display: none; }

.order-form .primary:disabled {
  cursor: not-allowed;
  opacity: .42;
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: clamp(10px, 3vw, 38px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--motion-smooth) var(--motion-ease), visibility 0s linear var(--motion-smooth);
}

.legal-modal[hidden] {
  display: none;
}
.legal-modal.is-visible {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.legal-modal-card {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  max-height: min(820px, calc(100vh - 48px));
  max-height: min(820px, calc(100dvh - 48px));
  overflow: auto;
  padding: clamp(26px, 3.2vw, 54px);
  border: 1px solid rgba(217, 202, 184, .9);
  border-radius: 12px;
  background: var(--modal-veil-bg);
  color: var(--ink);
  box-shadow: 0 34px 90px rgba(23, 18, 15, .2);
  backdrop-filter: blur(28px) saturate(.96) brightness(1.12);
  -webkit-backdrop-filter: blur(28px) saturate(.96) brightness(1.12);
  transform: translateY(14px) scale(.992);
  transition: transform var(--motion-smooth) var(--motion-ease), opacity var(--motion-smooth) var(--motion-ease);
}
.legal-modal.is-visible .legal-modal-card { transform: translateY(0) scale(1); }

.legal-modal-card h2 {
  max-width: 18ch;
  margin: 0 50px clamp(22px, 2.4vw, 34px) 0;
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 62px);
  font-weight: 400;
  line-height: .98;
}

.legal-modal-body {
  max-width: 72ch;
  color: var(--modal-readable-muted);
  font-size: clamp(14px, .9vw, 17px);
  line-height: 1.68;
  white-space: pre-wrap;
}

.product-modal-card,
.rose-builder-card,
.legal-modal-card {
  isolation: isolate;
  color: var(--ink);
  background: rgba(255, 252, 247, .72);
  backdrop-filter: blur(28px) saturate(.96) brightness(1.12);
  -webkit-backdrop-filter: blur(28px) saturate(.96) brightness(1.12);
}

.product-modal-card::before,
.rose-builder-card::before,
.legal-modal-card::before {
  content: none;
}

.modal-backdrop {
  background: rgba(23, 18, 15, .18);
  backdrop-filter: blur(13px) saturate(.82);
  -webkit-backdrop-filter: blur(13px) saturate(.82);
}

.product-modal-info,
.rose-builder-card,
.legal-modal-card {
  text-shadow: 0 1px 0 rgba(255, 252, 247, .34);
}

.product-modal-info .product-tags,
.product-modal-info .modal-details,
.product-modal-info .modal-note,
.rose-builder-header p,
.rose-builder-product-copy p,
.rose-builder-total span {
  color: var(--modal-readable-muted);
}

.product-modal-info .modal-list li,
.rose-option {
  color: #302722;
  background: rgba(255, 252, 247, .66);
  border-color: rgba(111, 18, 40, .2);
  text-shadow: none;
}

.rose-option:hover:not(:disabled) {
  background: rgba(255, 252, 247, .82);
}

.rose-option.active {
  background: rgba(255, 245, 246, .72);
  color: var(--accent);
}

.product-modal-info {
  font-size: clamp(16px, 1vw, 18px);
  line-height: 1.55;
}

.product-modal-info .product-tags {
  font-size: clamp(11px, .68vw, 13px);
}

.product-modal-info .eyebrow {
  font-size: clamp(12px, .72vw, 14px);
}

.product-modal-info .modal-list li {
  padding: 9px 12px;
  font-size: clamp(15px, .86vw, 17px);
  line-height: 1.35;
}

.product-modal-info .modal-details,
.product-modal-info .modal-note {
  font-size: clamp(16px, .94vw, 18px);
  line-height: 1.58;
}

.rose-builder-header p {
  font-size: clamp(16px, .94vw, 18px);
  line-height: 1.5;
}

.rose-builder-field legend {
  margin-bottom: 12px;
  font-size: clamp(15px, .86vw, 17px);
}

.rose-option {
  min-height: 50px;
  font-size: clamp(15px, .86vw, 17px);
}

.rose-builder-product-copy p,
.rose-builder-total span {
  font-size: clamp(15px, .86vw, 17px);
}

@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
  }
  .footer-legal {
    justify-content: flex-start;
  }
}

@media (max-width: 900px) {
  .storefront-body {
    --header-main-h: 144px;
    --header-facts-h: 52px;
    --header-total-h: 196px;
  }
  .storefront-topbar .topbar-main {
    grid-template-columns: 1fr;
    grid-template-rows: 38px 106px;
    align-items: center;
    padding-inline: var(--page-pad);
  }
  .storefront-topbar .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    font-size: clamp(22px, 3.2vw, 28px);
  }
  .storefront-topbar .topbar-actions {
    position: static;
    top: auto;
    right: auto;
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    width: min(100%, 300px);
    min-width: 0;
    grid-template-columns: 138px 148px;
    grid-template-rows: 52px 44px;
    column-gap: 14px;
    row-gap: 8px;
    justify-self: center;
    justify-content: center;
    justify-items: stretch;
    padding: 0;
  }
  .storefront-topbar .header-messengers {
    justify-content: space-between;
    gap: 0;
  }
  .storefront-topbar .messenger-link {
    width: 42px;
    height: 42px;
  }
  .storefront-topbar .cart-button {
    min-width: 148px;
    min-height: 44px;
  }
  .header-phone {
    font-size: clamp(19px, 2.3vw, 22px);
  }
}

@media (max-width: 680px) {
  .storefront-body {
    --header-main-h: 144px;
    --header-facts-h: 52px;
    --header-total-h: 196px;
  }
  .storefront-topbar .topbar-main {
    grid-template-columns: 1fr;
    grid-template-rows: 38px 106px;
    align-items: center;
    padding-inline: var(--page-pad);
  }
  .storefront-topbar .brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    font-size: clamp(21px, 5.8vw, 24px);
  }
  .storefront-topbar .topbar-actions {
    grid-column: 1;
    grid-row: 2;
    align-self: end;
    width: min(100%, 300px);
    min-width: 0;
    grid-template-columns: 138px 148px;
    grid-template-rows: 52px 44px;
    align-items: center;
    justify-self: center;
    justify-content: center;
    justify-items: stretch;
    column-gap: 14px;
    row-gap: 8px;
    padding: 0;
  }
  .storefront-topbar .cart-button {
    justify-self: stretch;
    min-width: 148px;
    min-height: 44px;
  }
  .messenger-link {
    width: 42px;
    height: 42px;
  }
  .messenger-link svg {
    width: 19px;
    height: 19px;
  }
  .header-phone {
    font-size: clamp(18px, 4.6vw, 20px);
  }
  .header-hours {
    font-size: 12px;
    letter-spacing: .055em;
    line-height: 16px;
  }
  .site-footer {
    margin-top: 54px;
    padding-bottom: 38px;
  }
  .footer-legal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .footer-legal button {
    min-height: 44px;
  }
}

@media (max-width: 520px) {
  .cart-panel {
    padding: 0 16px 24px;
  }
  .checkout-address-suggestions {
    left: -133px;
    right: auto;
    width: calc(100vw - 32px);
  }
  .cart-head {
    margin-inline: -16px;
    padding-inline: 16px;
  }
  .cart-line {
    grid-template-columns: 68px minmax(0, 1fr) 36px;
    gap: 8px;
    padding-block: 9px;
  }
  .cart-line-copy { gap: 4px; }
  .cart-line-copy strong {
    font-size: 17px;
  }
  .legal-modal {
    align-items: start;
    padding: 8px;
  }
  .legal-modal-card {
    width: 100%;
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
    padding: 24px 18px;
    border-radius: 10px;
  }
  .legal-modal-card h2 {
    max-width: calc(100% - 50px);
    font-size: clamp(29px, 9vw, 38px);
    overflow-wrap: anywhere;
  }
}

@media (max-width: 380px) {
  .order-form > .primary { position: static; }
  .checkout-address { grid-template-columns: 120px minmax(0, 1fr) 68px; gap: 6px; }
  .checkout-address-suggestions { left: -126px; }
  .checkout-address label { font-size: 12px; }
  .order-form .checkout-address input,
  .order-form .checkout-address select { font-size: 14px; padding-left: 8px; }
  .order-form .checkout-address select { font-size: 12px; padding-left: 4px; padding-right: 12px; }
  .storefront-topbar .topbar-main {
    padding-inline: 14px;
  }
  .storefront-topbar .topbar-actions {
    width: min(100%, 300px);
    grid-template-columns: 138px 148px;
    column-gap: 14px;
    row-gap: 8px;
  }
  .header-messengers {
    justify-content: space-between;
    gap: 0;
  }
  .messenger-link {
    width: 42px;
    height: 42px;
  }
  .header-phone {
    font-size: 18px;
  }
  .header-phone.is-placeholder {
    font-size: 18px;
  }
  .storefront-topbar .cart-button {
    min-width: 148px;
    padding-inline: 16px;
  }
  .cart-line {
    grid-template-columns: 76px minmax(0, 1fr) 38px;
    gap: 8px;
  }
}

@media (max-width: 360px) {
  .checkout-address { grid-template-columns: minmax(0, 1fr) 72px; }
  .checkout-address > label:first-child { grid-column: 1 / -1; }
  .checkout-address-suggestions { left: 0; right: auto; width: min(335px, calc(100vw - 32px)); }
}

@media (max-width: 330px) {
  .storefront-topbar .topbar-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr);
  }
  .storefront-topbar .header-messengers {
    width: 100%;
  }
  .storefront-topbar .cart-button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .messenger-link {
    min-width: 40px;
    min-height: 40px;
  }

  .page-video-bg img {
    filter: none;
  }

  .page-video-bg::after,
  .hero-filter-card,
  .hero-featured-card,
  .product-card,
  .product-modal-card,
  .rose-builder-card,
  .legal-modal-card,
  .modal-backdrop,
  .cart-panel,
  .cart-head {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-filter-card,
  .hero-featured-card,
  .product-card {
    background: rgba(255, 252, 247, .52);
  }

  .product-modal-card,
  .rose-builder-card,
  .legal-modal-card,
  .cart-panel {
    background: rgba(255, 252, 247, .96);
  }

  .cart-head {
    background: rgba(255, 252, 247, .98);
  }

  .modal-backdrop {
    background: rgba(23, 18, 15, .32);
  }

  .product-card,
  .hero-filter-card,
  .hero-featured-card,
  .hero-featured-image,
  .product-image,
  .product-modal-card,
  .product-modal-image,
  .rose-builder-card,
  .rose-builder-preview,
  .rose-builder-image,
  .legal-modal-card,
  .cart-panel {
    animation: none;
    transition: none;
  }
}

/*
 * iPadOS browsers always use WebKit, but an attached pointer or desktop-style
 * browsing mode can make the coarse-pointer media query above stop matching.
 * Keep the same visual fallbacks without disabling the ambient photo motion:
 * fixed filtered layers can otherwise stall WebKit's first paint.
 */
@supports (-webkit-touch-callout: none) {
  .page-video-bg img {
    filter: none;
  }

  .page-video-bg::after,
  .hero-filter-card,
  .hero-featured-card,
  .product-card,
  .seo-product-card,
  .product-modal-card,
  .rose-builder-card,
  .legal-modal-card,
  .modal-backdrop,
  .cart-panel,
  .cart-head {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hero-filter-card,
  .hero-featured-card,
  .product-card {
    background: rgba(255, 252, 247, .52);
  }

  .seo-product-card {
    background: rgba(255, 252, 247, .72);
  }

  .product-modal-card,
  .rose-builder-card,
  .legal-modal-card,
  .cart-panel {
    background: rgba(255, 252, 247, .96);
  }

  .cart-head {
    background: rgba(255, 252, 247, .98);
  }

  .modal-backdrop {
    background: rgba(23, 18, 15, .32);
  }
}

@media (max-width: 380px) and (hover: none) and (pointer: coarse) {
  .messenger-link {
    min-width: 40px;
    min-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .hero-filter-image span,
  .js-product-gallery::after {
    transition-duration: var(--motion-crossfade) !important;
  }
}

/* Search landing pages reuse the storefront world without changing the main shop composition. */
.product-card-media-link {
  display: block;
}

.seo-page-body {
  min-height: 100vh;
}

.seo-topbar {
  min-height: var(--header-main-h);
}

.seo-topbar .topbar-main {
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
}

.seo-topbar .brand {
  grid-column: 1;
  justify-self: start;
  font-size: clamp(24px, 1.5vw, 32px);
}

.seo-primary-nav {
  grid-column: 2 !important;
  justify-self: center !important;
  display: flex;
  gap: clamp(16px, 2vw, 34px) !important;
}

.seo-primary-nav a,
.seo-topbar .header-phone {
  border-bottom: 1px solid transparent;
  color: var(--header-ink);
  font-family: var(--utility);
  font-size: 13px;
  letter-spacing: .045em;
  transition: border-color var(--motion-quick) var(--motion-ease), color var(--motion-quick) var(--motion-ease);
}

.seo-primary-nav a:hover,
.seo-topbar .header-phone:hover {
  border-bottom-color: rgba(111, 18, 40, .42);
  color: var(--accent);
}

.seo-topbar .header-phone {
  min-height: auto;
  line-height: 1.25;
  text-align: right;
}

.seo-topbar .header-contact {
  grid-column: 3;
  justify-self: end;
  justify-items: end;
  gap: 9px;
  width: auto;
}

.seo-topbar .header-hours {
  color: rgba(36, 25, 28, .58);
  font-size: 12px;
  letter-spacing: .055em;
  line-height: 1.1;
}

.seo-page-shell {
  width: min(1460px, calc(100% - 2 * var(--page-pad)));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 78px) 0 24px;
}

.seo-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: clamp(26px, 4vw, 54px);
  color: rgba(23, 18, 15, .62);
  font-family: var(--utility);
  font-size: 12px;
}

.seo-breadcrumbs a {
  border-bottom: 1px solid rgba(111, 18, 40, .22);
}

.seo-page-intro {
  max-width: 820px;
  margin-bottom: clamp(34px, 5vw, 72px);
}

.seo-page-intro h1,
.seo-product-details h1,
.seo-legal-page h1,
.seo-not-found h1 {
  max-width: 14ch;
  margin: 0 0 20px;
  font-family: var(--display);
  font-size: clamp(44px, 5.4vw, 82px);
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.02em;
}

.seo-page-intro p,
.seo-product-description,
.seo-legal-page article,
.seo-not-found > p:not(.seo-error-code) {
  max-width: 72ch;
  color: rgba(23, 18, 15, .74);
  font-size: clamp(16px, 1.12vw, 19px);
  line-height: 1.65;
}

.seo-builder-link {
  margin-top: 16px;
}

.seo-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.7vw, 30px);
}

.seo-product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(217, 202, 184, .5);
  border-radius: var(--radius-card);
  background: rgba(255, 252, 247, .34);
  box-shadow: 0 18px 52px rgba(23, 18, 15, .055);
  backdrop-filter: blur(18px) saturate(1.03);
  -webkit-backdrop-filter: blur(18px) saturate(1.03);
  transition: transform var(--motion-smooth) var(--motion-ease), box-shadow var(--motion-smooth) var(--motion-ease);
}

.seo-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 66px rgba(23, 18, 15, .09);
}

.seo-product-media {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
}

.seo-product-media img,
.seo-product-gallery img,
.seo-related img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.seo-product-copy {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.seo-product-copy h2 {
  min-height: 2.1em;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(22px, 1.55vw, 31px);
  font-weight: 400;
  line-height: 1.05;
}

.seo-product-copy p {
  min-height: 2.8em;
  margin: 0;
  color: rgba(23, 18, 15, .66);
  font-size: 13px;
  line-height: 1.4;
}

.seo-product-copy > .seo-product-offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--accent);
}

.seo-product-copy strong {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 400;
}

.seo-product-copy > .seo-product-offer a,
.admin-public-link {
  border-bottom: 1px solid rgba(111, 18, 40, .34);
  font-family: var(--utility);
  font-size: 12px;
}

.seo-product-copy > .marketplace-actions {
  margin-top: 2px;
}

.seo-product-page {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr);
  align-items: start;
  gap: clamp(30px, 5vw, 90px);
}

.seo-product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.seo-product-gallery img {
  aspect-ratio: 1;
  border-radius: var(--radius-card);
  background: rgba(255, 252, 247, .3);
}

.seo-product-gallery img:first-child {
  grid-column: 1 / -1;
}

.seo-product-details {
  position: sticky;
  top: calc(var(--header-main-h) + 24px);
  display: grid;
  gap: 18px;
}

.seo-product-details h1 {
  max-width: 16ch;
  font-size: clamp(42px, 4vw, 70px);
}

.seo-product-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 14px;
  row-gap: 2px;
  color: var(--accent);
}

.seo-product-price strong {
  font-family: var(--display);
  font-size: clamp(30px, 2.6vw, 46px);
  font-weight: 400;
}

.seo-product-price del {
  color: #756f6b;
  font-family: var(--display);
  font-size: clamp(16px, 1.15vw, 21px);
  font-weight: 400;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}

.seo-product-details > p {
  margin: 0;
  color: rgba(23, 18, 15, .68);
}

.seo-product-details dl {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid rgba(111, 18, 40, .16);
}

.seo-product-details dl div {
  display: grid;
  grid-template-columns: minmax(80px, .34fr) 1fr;
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(111, 18, 40, .12);
}

.seo-product-details dt {
  color: rgba(23, 18, 15, .55);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.seo-product-details dd {
  margin: 0;
  line-height: 1.45;
}

.seo-order-link {
  width: 100%;
}

.seo-product-description {
  font-size: 15px;
}

.seo-related {
  margin-top: clamp(60px, 8vw, 120px);
}

.seo-related h2 {
  margin: 0 0 24px;
  font-family: var(--display);
  font-size: clamp(34px, 3.5vw, 56px);
  font-weight: 400;
}

.seo-related > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.seo-related a {
  display: grid;
  gap: 10px;
  font-family: var(--display);
  font-size: 22px;
}

.seo-related img {
  aspect-ratio: 1;
  border-radius: var(--radius-card);
}

.seo-legal-page article {
  padding: clamp(24px, 4vw, 58px);
  border: 1px solid rgba(217, 202, 184, .5);
  border-radius: var(--radius-card);
  background: rgba(255, 252, 247, .42);
}

.seo-legal-page h1 {
  max-width: 18ch;
}

.seo-not-found {
  min-height: 62vh;
  display: grid;
  place-content: center;
  justify-items: start;
}

.seo-error-code {
  margin: 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: 22px;
}

.seo-not-found .primary {
  margin-top: 18px;
}

.seo-footer .footer-legal a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
}

/* SEO administration */
.seo-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.seo-overview article,
.seo-resource-links {
  padding: 18px;
  border: 1px solid rgba(217, 202, 184, .58);
  border-radius: var(--radius-card);
  background: rgba(255, 252, 247, .28);
}

.seo-overview article {
  display: grid;
  gap: 8px;
}

.seo-overview span {
  color: var(--muted);
  font-size: 12px;
}

.seo-overview strong {
  overflow-wrap: anywhere;
  font-family: var(--display);
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 400;
}

.seo-resource-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 12px;
}

.seo-resource-links a,
.admin-public-link {
  color: var(--accent);
}

.seo-settings-form {
  display: grid;
  gap: 12px;
}

.seo-settings-section {
  margin: 0;
}

.seo-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.seo-category-settings {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(217, 202, 184, .66);
  border-radius: var(--radius-card);
}

.seo-category-settings legend {
  padding: 0 8px;
  font-family: var(--display);
  font-size: 24px;
}

.seo-category-settings label,
.admin-product-seo label {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.seo-category-settings textarea,
.admin-product-seo textarea {
  resize: vertical;
}

.seo-toggle-list {
  margin-top: 14px;
}

.seo-actions {
  position: sticky;
  bottom: 12px;
  z-index: 4;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(217, 202, 184, .72);
  border-radius: var(--radius-card);
  background: rgba(255, 252, 247, .92);
  box-shadow: 0 16px 38px rgba(23, 18, 15, .12);
}

.admin-product-seo {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(111, 18, 40, .14);
}

.admin-product-seo summary {
  margin-bottom: 12px;
  color: var(--accent);
  cursor: pointer;
  font-family: var(--utility);
  font-size: 13px;
}

@media (max-width: 1100px) {
  .seo-product-grid,
  .seo-related > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .seo-category-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .seo-topbar .topbar-main {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    min-height: auto;
    padding-block: 13px;
  }
  .seo-topbar .brand {
    grid-column: 1;
  }
  .seo-topbar .header-contact {
    grid-column: 2;
  }
  .seo-primary-nav {
    grid-column: 1 / -1 !important;
    grid-row: 2;
    justify-self: start !important;
    overflow-x: auto;
    max-width: 100%;
    padding-bottom: 2px;
  }
  .seo-page-shell {
    width: min(100% - 32px, 1460px);
    padding-top: 28px;
  }
  .seo-page-intro h1,
  .seo-product-details h1,
  .seo-legal-page h1,
  .seo-not-found h1 {
    font-size: clamp(38px, 12vw, 58px);
  }
  .seo-product-grid,
  .seo-related > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .seo-product-page {
    grid-template-columns: 1fr;
  }
  .seo-product-details {
    position: static;
  }
  .seo-overview {
    grid-template-columns: 1fr;
  }
  .seo-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .seo-product-grid,
  .seo-related > div {
    grid-template-columns: 1fr;
  }
  .seo-product-gallery {
    grid-template-columns: 1fr;
  }
  .seo-product-gallery img:first-child {
    grid-column: auto;
  }
  .seo-product-copy h2 {
    min-height: 0;
  }
}

@media (hover: none) and (pointer: coarse) {
  .seo-product-card {
    background: rgba(255, 252, 247, .72);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (orientation: portrait) {
  .hero-commerce {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .hero-filter-card:last-of-type {
    grid-column: auto;
    width: auto;
    justify-self: stretch;
  }
}

@media (min-width: 1185px) {
  .hero-commerce {
    width: 100%;
    min-width: 0;
  }
}
