:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-strong: #f7f5f2;
  --text: #171717;
  --muted: #6f6f6f;
  --muted-strong: #4f4a47;
  --line: #e8e8e8;
  --line-strong: #ded8d3;
  --accent: #b83257;
  --accent-dark: #8f2544;
  --success: #2f6f55;
  --gold: #9b7a40;
  --focus-ring: 0 0 0 4px rgba(184, 50, 87, .1);
  --shadow-soft: 0 10px 26px rgba(40, 29, 25, .07);
  --shadow: 0 18px 46px rgba(0, 0, 0, .08);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 640px;
  margin-top: 24px;
}

.hero-stats span {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}

.hero-stats strong {
  color: var(--text);
  font-size: 20px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.category-rail {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 8px;
  max-height: calc(100dvh - 112px);
  overflow: auto;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  scrollbar-gutter: stable;
}

.catalog-main {
  min-width: 0;
}

.catalog-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.catalog-summary strong {
  overflow: hidden;
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-filter-chips {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.catalog-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  max-width: 100%;
  padding: 5px 9px;
  border: 1px solid rgba(184, 50, 87, .16);
  border-radius: 999px;
  background: rgba(255, 245, 248, .86);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.catalog-filter-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.catalog-filter-chip .icon {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
  opacity: .72;
}

.catalog-filter-chip:hover,
.catalog-filter-chip:focus-visible {
  border-color: rgba(184, 50, 87, .32);
  background: #fff;
  color: var(--accent-dark);
}

.catalog-controls [data-price-reset]:disabled {
  border-color: rgba(23, 23, 23, .08);
  background: #f6f5f3;
  color: #8c8580;
  box-shadow: none;
}

.category-rail .filter-button {
  width: 100%;
  border-radius: 8px;
  text-align: left;
}

.category-rail-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 34px;
  margin: -2px -2px 2px;
  padding: 5px 6px 8px;
  border-bottom: 1px solid rgba(23, 23, 23, .08);
  background: rgba(255, 255, 255, .96);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.category-rail-head strong {
  min-width: 26px;
  padding: 4px 7px;
  border-radius: 999px;
  background: #f5f2ef;
  color: var(--text);
  font-size: 11px;
  line-height: 1;
  text-align: center;
}

.photo-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(23, 23, 23, .72);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
}

.product-modal-media {
  position: relative;
}

.product-modal-thumbs {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  pointer-events: auto;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(10px);
}

.product-modal-thumbs button {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.product-modal-thumbs button.active {
  border-color: var(--accent);
}

.product-modal-thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal-counter,
.product-modal-nav {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(23, 23, 23, .08);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 12px 28px rgba(23, 20, 18, .16);
  backdrop-filter: blur(10px);
}

.product-modal-counter {
  top: 12px;
  right: 12px;
  min-height: 32px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

.product-modal-nav {
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  transform: translateY(-50%);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.product-modal-nav.prev {
  left: 12px;
}

.product-modal-nav.next {
  right: 12px;
}

.product-modal-nav:hover,
.product-modal-nav:focus-visible {
  border-color: rgba(184, 50, 87, .28);
  box-shadow: 0 16px 32px rgba(23, 20, 18, .2);
}

.product-modal-nav:active {
  transform: translateY(-50%) scale(.96);
}

.product-composition {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.product-composition strong {
  color: var(--text);
}

.checkout select {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  outline: 0;
}

.checkout select:focus {
  border-color: rgba(184, 50, 87, .42);
  box-shadow: 0 0 0 4px rgba(184, 50, 87, .08);
}

.checkout-row.two,
.checkout-row.three,
.payment-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.checkout-row.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.payment-switch label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.payment-switch input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--accent);
}

.payment-switch label:has(input:disabled) {
  opacity: .5;
  cursor: not-allowed;
}

.payment-note {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.payment-note:not([hidden]) {
  padding: 10px 12px;
  border: 1px solid rgba(184, 50, 87, .16);
  border-radius: 8px;
  background: #fff6f8;
  color: var(--accent-dark);
  font-weight: 800;
}

.payment-only,
.checkout-subsection {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.payment-only strong,
.subsection-head strong {
  color: var(--text);
}

.payment-only span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.subsection-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.address-entry {
  display: grid;
  gap: 8px;
}

.checkout-inline-note {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(155, 122, 64, .2);
  border-radius: 8px;
  background: #fff9eb;
  color: #6f5116;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.checkout-row.two.time-clarified {
  grid-template-columns: 1fr;
}

.address-field {
  position: relative;
}

.address-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 80;
  display: grid;
  max-height: min(310px, 42vh);
  overflow: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(31, 36, 32, .14);
  -webkit-overflow-scrolling: touch;
}

.address-suggestions[hidden] {
  display: none;
}

.address-suggestions button {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.address-suggestions button:hover,
.address-suggestions button:focus-visible {
  background: var(--surface-strong);
  outline: none;
}

.address-suggestions strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.address-suggestions span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.inline-form-check {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
  color: var(--text);
  font-weight: 800;
}

.inline-form-check input {
  width: 17px;
  min-height: 17px;
  accent-color: var(--accent);
}

.recipient-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.account-order-actions {
  margin-top: 12px;
}

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

  .category-rail {
    position: static;
    display: flex;
    overflow-x: auto;
  }

  .category-rail-head {
    display: none;
  }

  .category-rail .filter-button {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .catalog-summary {
    position: sticky;
    top: 76px;
    z-index: 3;
  }
}

@media (max-width: 680px) {
  .hero-stats,
  .checkout-row.two,
  .checkout-row.three,
  .recipient-fields,
  .payment-switch {
    grid-template-columns: 1fr;
  }

  .checkout-panel-title {
    display: grid;
  }

  .checkout-panel-title span {
    max-width: none;
    text-align: left;
  }

  .catalog-summary {
    display: grid;
    gap: 4px;
  }

  .product-actions {
    grid-template-columns: 1fr;
  }
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(184, 50, 87, .28);
  outline-offset: 2px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  font-weight: 700;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .64);
}

.nav a {
  min-height: 36px;
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover {
  background: #fff;
  color: var(--text);
}

.top-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.account-link {
  min-height: 42px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.loyalty-chip {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 11px;
  border: 1px solid rgba(155, 122, 64, .28);
  border-radius: 8px;
  background: #fff9eb;
  color: #6f5116;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(155, 122, 64, .08);
}

.loyalty-chip[hidden] {
  display: none;
}

.loyalty-chip span,
.loyalty-chip strong {
  line-height: 1;
  white-space: nowrap;
}

.loyalty-chip span {
  color: #8a681e;
}

.loyalty-chip strong {
  color: var(--text);
  font-size: 13px;
}

.cart-toggle {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.cart-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 0 0 5px 5px;
  position: relative;
}

.cart-icon.has-svg {
  border: 0;
  border-radius: 0;
}

.cart-icon::before {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  top: -8px;
  height: 10px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.cart-icon.has-svg::before {
  content: none;
}

.cart-icon .icon {
  width: 18px;
  height: 18px;
}

.cart-count {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.hero {
  display: grid;
  align-items: end;
  min-height: min(680px, calc(100svh - 94px));
  padding: clamp(44px, 8vw, 92px) clamp(16px, 5vw, 70px) 42px;
}

.hero-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg,
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .86) 35%, rgba(255, 255, 255, .28) 72%, rgba(255, 255, 255, .12) 100%),
    linear-gradient(0deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .2));
}

.hero-copy {
  width: min(100%, 700px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 6vw, 76px);
  line-height: .96;
}

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

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-text {
  max-width: 640px;
  color: #4d4d4d;
  font-size: 18px;
  line-height: 1.6;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(31, 36, 32, .055);
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease, transform .16s ease, opacity .16s ease;
}

.button:hover,
.cart-toggle:hover,
.account-link:hover,
.loyalty-chip:hover {
  transform: translateY(-1px);
}

.loyalty-chip:hover,
.loyalty-chip:focus-visible {
  border-color: rgba(155, 122, 64, .42);
  background: #fff4d8;
}

.button:active,
.add-button:active,
.details-button:active,
.icon-button:active,
.pagination-page:active {
  transform: translateY(0);
}

.button:disabled,
button:disabled {
  opacity: .62;
  cursor: not-allowed;
  transform: none !important;
}

.button.primary {
  border-color: rgba(184, 50, 87, .18);
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 14px 30px rgba(184, 50, 87, .22);
}

.button.primary:hover {
  background: linear-gradient(135deg, #c83c63, var(--accent-dark));
  box-shadow: 0 18px 38px rgba(184, 50, 87, .26);
}

.button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, .7);
  color: var(--text);
}

.button.ghost:hover {
  border-color: rgba(23, 23, 23, .14);
  background: #fff;
  box-shadow: 0 12px 26px rgba(31, 36, 32, .08);
}

.button .icon {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
}

.button > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.button.full {
  width: 100%;
}

.catalog-band,
.info-grid,
.contact-band {
  max-width: 1240px;
  margin: 0 auto;
  padding: 52px clamp(16px, 4vw, 52px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 18px;
}

.catalog-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr)) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

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

.catalog-controls span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.catalog-controls input,
.catalog-controls select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.catalog-controls input[aria-invalid="true"] {
  border-color: rgba(184, 50, 87, .58);
  background: #fff7f9;
  box-shadow: 0 0 0 3px rgba(184, 50, 87, .08);
}

.catalog-filter-error {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 9px 11px;
  border: 1px solid rgba(184, 50, 87, .2);
  border-radius: 8px;
  background: #fff7f9;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.catalog-filter-error[hidden] {
  display: none;
}

.search {
  display: grid;
  gap: 7px;
  width: min(100%, 360px);
}

.search-field {
  position: relative;
  display: grid;
}

.search span,
.checkout span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.search input,
.checkout input,
.checkout textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  outline: 0;
}

.search input {
  min-height: 46px;
  padding: 12px 44px 12px 14px;
}

.search-clear {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.search-clear[hidden] {
  display: none;
}

.search-clear .icon {
  width: 16px;
  height: 16px;
}

.search-clear:hover,
.search-clear:focus-visible {
  background: var(--surface-strong);
  color: var(--accent-dark);
}

.search input:focus,
.checkout input:focus,
.checkout textarea:focus,
.checkout select:focus,
.catalog-controls input:focus,
.catalog-controls select:focus {
  border-color: rgba(184, 50, 87, .42);
  box-shadow: var(--focus-ring);
}

.checkout input[aria-invalid="true"],
.checkout textarea[aria-invalid="true"],
.checkout select[aria-invalid="true"],
.checkout .legal-check.field-error {
  border-color: rgba(184, 50, 87, .58);
  background: #fff7f9;
}

.checkout .field-error > span {
  color: var(--accent-dark);
}

.checkout input[aria-invalid="true"]:focus,
.checkout textarea[aria-invalid="true"]:focus,
.checkout select[aria-invalid="true"]:focus {
  border-color: rgba(184, 50, 87, .74);
  box-shadow: 0 0 0 4px rgba(184, 50, 87, .12);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-button {
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted-strong);
  font-weight: 800;
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.filter-button.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.filter-button:hover {
  border-color: rgba(184, 50, 87, .28);
  color: var(--accent-dark);
}

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

.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.pagination-pages {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.pagination-page,
.pagination-gap {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  min-height: 40px;
  padding: 8px 11px;
  border-radius: 8px;
  font-weight: 900;
}

.pagination-page {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
}

.pagination-page.active,
.pagination-page[aria-current="page"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.pagination-gap {
  color: var(--muted);
}

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.product-card:hover {
  border-color: rgba(184, 50, 87, .2);
  box-shadow: 0 18px 42px rgba(40, 29, 25, .1);
  transform: translateY(-2px);
}

.product-image {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3f3f3;
  cursor: pointer;
}

.product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.product-image img.image-fallback,
.product-modal-media img.image-fallback,
.cart-item img.image-fallback,
.cart-addon img.image-fallback {
  padding: 18px;
  object-fit: contain;
  background: #f7f4f1;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 27px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
}

.product-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  display: flex;
  max-width: calc(100% - 20px);
  flex-wrap: wrap;
  gap: 6px;
  pointer-events: none;
}

.badge.discount-badge {
  background: var(--accent);
  color: #fff;
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 11px;
  padding: 15px;
}

.product-meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.product-category {
  overflow: hidden;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stock-pill {
  padding: 4px 7px;
  border-radius: 999px;
  background: #f0f7f3;
  color: var(--success);
  font-size: 11px;
  font-weight: 900;
}

.stock-pill.empty {
  background: #f4f4f4;
  color: var(--muted);
}

.product-title {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
  display: -webkit-box;
  min-height: 40px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-title a {
  color: inherit;
  text-decoration: none;
}

.product-title a:hover,
.product-title a:focus-visible {
  color: var(--accent-dark);
}

.product-description {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  display: -webkit-box;
  min-height: 56px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-spec-row span {
  min-height: 24px;
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.product-bottom {
  display: grid;
  gap: 12px;
  margin-top: auto;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
}

.price strong {
  font-size: 18px;
}

.price del {
  color: var(--muted);
  font-size: 13px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.add-button,
.details-button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.add-button {
  border: 0;
  background: #1f2420;
  color: #fff;
}

.details-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.add-button:hover {
  background: var(--success);
}

.add-button:disabled {
  background: #d8d2cc;
  color: #6f6760;
  box-shadow: none;
}

.add-button.added {
  background: var(--success);
}

.skeleton-card {
  pointer-events: none;
}

.skeleton-box,
.skeleton-line {
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

.skeleton-line {
  height: 14px;
  border-radius: 999px;
}

.skeleton-line.short {
  width: 58%;
}

.skeleton-box::after,
.skeleton-line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .78), transparent);
  animation: skeleton-shine 1.2s infinite;
}

@keyframes skeleton-shine {
  to {
    transform: translateX(100%);
  }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(31, 36, 32, .42);
}

.product-modal {
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 80;
  display: none;
  grid-template-columns: minmax(280px, 440px) minmax(0, 500px);
  width: min(calc(100vw - 28px), 940px);
  height: min(720px, calc(100dvh - 28px));
  max-height: calc(100dvh - 28px);
  transform: translate(-50%, -50%);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-modal.open {
  display: grid;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.product-modal-media {
  display: grid;
  min-height: 0;
  background: #f4f4f4;
}

.product-modal-media > img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #f4f4f4;
}

.product-modal-body {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 0;
  overflow-y: auto;
  padding: clamp(22px, 4vw, 38px);
}

.product-modal-body h2 {
  font-size: clamp(26px, 4vw, 42px);
}

.product-modal-body p {
  color: var(--muted);
  line-height: 1.65;
}

.modal-facts,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-facts span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.modal-price strong {
  font-size: 28px;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.rich-empty {
  display: grid;
  gap: 6px;
}

.rich-empty strong {
  color: var(--text);
  font-size: 17px;
}

.rich-empty span {
  color: var(--muted);
  line-height: 1.45;
}

.rich-empty .button {
  justify-self: center;
  margin-top: 8px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-grid article,
.contact-band {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.info-grid article {
  padding: 24px;
}

.info-grid p,
.contact-band p {
  color: var(--muted);
  line-height: 1.6;
}

.info-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 54px;
  padding: 34px clamp(20px, 4vw, 44px);
}

.contact-band p {
  max-width: 680px;
  margin-bottom: 0;
}

.cart-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(31, 36, 32, .36);
}

.cart-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 60;
  display: flex;
  width: min(100vw, 680px);
  height: 100vh;
  height: 100dvh;
  flex-direction: column;
  transform: translateX(105%);
  border-left: 1px solid var(--line);
  background: var(--bg);
  box-shadow: -24px 0 60px rgba(31, 36, 32, .18);
  transition: transform .2s ease;
}

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

.cart-drawer.cart-empty .cart-items {
  flex: 1 1 auto;
  align-content: center;
  max-height: none;
}

.cart-drawer.cart-empty .checkout,
.cart-drawer.cart-empty .cart-addons {
  display: none;
}

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line);
}

.cart-head h2 {
  font-size: 28px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.icon-button .icon {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.cart-items {
  display: grid;
  flex: 0 0 auto;
  gap: 12px;
  max-height: 34vh;
  overflow: auto;
  padding: 14px 18px;
}

.cart-addons {
  display: grid;
  flex: 0 0 auto;
  gap: 8px;
  padding: 0 18px 12px;
  border-bottom: 1px solid var(--line);
}

.cart-addons-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.cart-addons-head strong {
  font-size: 14px;
}

.cart-addons-head span,
.legal-check span,
.legal-check a {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.cart-addons-list {
  display: flex;
  gap: 8px;
  margin-right: -8px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  padding: 1px 8px 8px 0;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.cart-addons-list::-webkit-scrollbar {
  height: 6px;
}

.cart-addons-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(113, 91, 63, .22);
}

.cart-addon {
  display: grid;
  flex: 0 0 118px;
  grid-template-rows: 64px minmax(30px, auto) auto 32px;
  align-items: stretch;
  gap: 6px;
  min-width: 0;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  scroll-snap-align: start;
}

.cart-addon img {
  width: 100%;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
}

.cart-addon strong,
.cart-addon span {
  display: block;
}

.cart-addon strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: clip;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cart-addon span {
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.cart-addon button {
  display: grid;
  place-items: center;
  width: 100%;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.cart-addon button.added {
  font-size: 12px;
  font-weight: 900;
}

.cart-item {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.cart-item img {
  width: 82px;
  height: 82px;
  border-radius: 6px;
  object-fit: cover;
}

.cart-item-title {
  margin: 0 0 7px;
  font-size: 14px;
  font-weight: 800;
}

.cart-item-info {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.cart-item-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.cart-item-meta strong {
  color: var(--text);
  font-size: 14px;
}

.cart-item-meta span {
  color: var(--muted);
  font-size: 12px;
}

.cart-item-note {
  font-weight: 800;
}

.cart-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stepper button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  cursor: pointer;
}

.stepper button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.delivery-slot-hint {
  display: block;
  margin-top: -4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.checkout {
  display: grid;
  gap: 12px;
  overflow: auto;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.checkout label {
  display: grid;
  gap: 6px;
}

.checkout-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .035);
}

.checkout-panel-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.checkout-panel-title strong {
  color: var(--text);
  font-size: 15px;
}

.checkout-panel-title span {
  max-width: 210px;
  text-align: right;
  line-height: 1.35;
}

.checkout .legal-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.checkout .button.full[type="submit"] {
  min-height: 50px;
  box-shadow: 0 14px 34px rgba(184, 50, 87, .18);
}

.legal-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 1px;
  accent-color: var(--accent);
}

.legal-check a {
  color: var(--accent-dark);
  font-weight: 800;
}

.checkout input,
.checkout textarea {
  min-height: 44px;
  padding: 11px 12px;
}

.checkout .inline-form-check input,
.checkout .delivery-switch input,
.checkout .legal-check input {
  width: 18px;
  min-width: 18px;
  max-width: 18px;
  min-height: 18px;
  padding: 0;
}

.checkout textarea {
  resize: vertical;
}

.delivery-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.delivery-switch label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  font-weight: 800;
  cursor: pointer;
}

.delivery-switch label:has(input:checked) {
  border-color: rgba(184, 50, 87, .42);
  background: #fff5f8;
  color: var(--accent-dark);
}

.delivery-switch input {
  width: 16px;
  min-height: 16px;
  accent-color: var(--accent);
}

.pickup-box {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--muted);
}

.pickup-box strong {
  color: var(--text);
}

.promo-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.cart-summary {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(250, 250, 250, .98);
}

.cart-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.delivery-hint {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.loyalty-earn-preview {
  min-height: 34px;
  padding: 8px 10px;
  border: 1px solid rgba(155, 122, 64, .22);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff9eb, #fff);
  color: #735819 !important;
}

.loyalty-earn-preview[hidden] {
  display: none !important;
}

.loyalty-earn-preview span {
  min-width: 0;
  color: #82631f;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.loyalty-earn-preview strong {
  color: var(--text);
  font-size: 14px;
  font-weight: 950;
  white-space: nowrap;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 0;
  border-top: 1px solid var(--line);
  color: var(--text) !important;
}

.cart-total strong {
  font-size: 22px;
}

.checkout-submit-bar {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: grid;
  gap: 9px;
  margin: 0 -4px -4px;
  padding: 12px;
  border: 1px solid rgba(23, 23, 23, .08);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 -16px 34px rgba(31, 36, 32, .09);
  backdrop-filter: blur(12px);
}

.checkout-submit-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.checkout-submit-total span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.checkout-submit-total small {
  color: #735819;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.checkout-submit-total small[hidden] {
  display: none;
}

.checkout-submit-total strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.checkout .checkout-submit-bar .legal-check {
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.checkout .checkout-submit-bar .legal-check input {
  margin-top: 0;
}

.checkout .checkout-submit-bar .button.full[type="submit"] {
  min-height: 46px;
}

.checkout-status {
  min-height: 0;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.checkout-status:not(:empty) {
  padding: 10px 12px;
  border: 1px solid rgba(47, 111, 85, .18);
  border-radius: 8px;
  background: #f4faf6;
  color: var(--success);
  line-height: 1.35;
}

.checkout-status[data-status="loading"]:not(:empty) {
  border-color: rgba(155, 122, 64, .26);
  background: #fff9eb;
  color: #7f5f19;
}

.checkout-status[data-status="warning"]:not(:empty) {
  border-color: rgba(155, 122, 64, .28);
  background: #fff9eb;
  color: #7f5f19;
}

.checkout-status[data-status="error"]:not(:empty) {
  border-color: rgba(184, 50, 87, .26);
  background: #fff3f6;
  color: var(--accent-dark);
}

.checkout-status[data-status="success"]:not(:empty) {
  border-color: rgba(47, 111, 85, .2);
  background: #f4faf6;
  color: var(--success);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 1fr);
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 52px) 42px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  max-width: 460px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-content: start;
}

.site-footer nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.site-footer nav strong {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-footer nav a,
.legal-back {
  min-height: 38px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.legal-page {
  background: #fbfaf8;
}

.legal-doc {
  width: min(100% - 24px, 880px);
  margin: clamp(12px, 4vw, 34px) auto;
  padding: clamp(18px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  background: #fff;
}

.legal-doc h1 {
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.legal-doc h2 {
  margin-top: 30px;
  font-size: 22px;
}

.legal-doc p {
  color: #4d4d4d;
  font-size: 16px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.legal-doc a {
  color: var(--accent-dark);
  font-weight: 800;
}

.seo-page {
  background: #fbfaf8;
}

.seo-product,
.seo-category {
  width: min(100% - 24px, 1120px);
  margin: clamp(12px, 4vw, 34px) auto;
  padding: clamp(16px, 4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.seo-product-grid {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 34px);
  align-items: start;
}

.seo-product-media {
  display: grid;
  gap: 10px;
}

.seo-product-media > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  background: #f3f3f3;
  object-fit: cover;
}

.seo-product-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.seo-product-thumbs img {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.seo-product-info {
  display: grid;
  gap: 14px;
}

.seo-product-info h1,
.seo-category h1 {
  margin: 0;
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
}

.seo-lead {
  margin: 0;
  color: #4d4d4d;
  font-size: 17px;
  line-height: 1.65;
}

.seo-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.seo-price strong {
  font-size: 28px;
}

.seo-price del {
  color: var(--muted);
  font-weight: 800;
}

.seo-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.seo-facts span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.seo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.seo-product-section {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
}

.seo-product-section h2 {
  margin: 0;
  font-size: 18px;
}

.seo-product-section p {
  margin: 0;
  color: #4d4d4d;
  line-height: 1.6;
}

.seo-product-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.seo-product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.seo-product-card:hover,
.seo-product-card:focus-visible {
  border-color: rgba(184, 50, 87, .2);
  box-shadow: 0 18px 42px rgba(40, 29, 25, .1);
  transform: translateY(-2px);
}

.seo-product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  background: #f3f3f3;
  object-fit: cover;
}

.seo-product-card span {
  display: block;
  padding: 12px 12px 0;
  color: var(--text);
  font-weight: 900;
  line-height: 1.35;
}

.seo-product-card strong {
  display: block;
  padding: 6px 12px 13px;
  color: var(--accent-dark);
  font-size: 16px;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .seo-product-grid {
    grid-template-columns: 1fr;
  }

  .seo-product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: min(640px, calc(100svh - 84px));
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-controls,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .catalog-pagination {
    justify-content: stretch;
  }

  .catalog-pagination > .button,
  .pagination-pages {
    flex: 1 1 100%;
  }
}

@media (max-width: 680px) {
  .topbar {
    min-height: 64px;
    padding: 10px 12px;
  }

  .brand small,
  .cart-label {
    display: none;
  }

  .account-link {
    min-height: 38px;
    padding: 9px 10px;
    font-size: 13px;
  }

  .loyalty-chip {
    grid-template-columns: 1fr;
    gap: 2px;
    min-height: 38px;
    padding: 6px 8px;
    text-align: center;
  }

  .loyalty-chip span {
    font-size: 10px;
  }

  .loyalty-chip strong {
    font-size: 11px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero {
    min-height: min(620px, calc(100svh - 64px));
    padding: 44px 12px 28px;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .82) 52%, rgba(255, 255, 255, .62) 100%),
      linear-gradient(0deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .28));
  }

  h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

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

  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .catalog-band,
  .info-grid,
  .contact-band {
    padding-left: 12px;
    padding-right: 12px;
  }

  .section-head,
  .contact-band {
    align-items: stretch;
    flex-direction: column;
  }

  .search {
    width: 100%;
  }

  .product-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .product-title {
    min-height: 0;
  }

  .cart-drawer {
    display: flex;
    width: 100vw;
    overflow: hidden;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .cart-head {
    position: sticky;
    top: 0;
    flex: 0 0 auto;
    z-index: 2;
    padding: 12px 14px 10px;
    background: var(--bg);
  }

  .cart-head h2 {
    font-size: 23px;
  }

  .cart-head .eyebrow {
    margin-bottom: 2px;
  }

  .cart-items {
    flex: 0 0 auto;
    max-height: min(154px, 22dvh);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px 14px 8px;
    -webkit-overflow-scrolling: touch;
  }

  .cart-item {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 9px;
    padding: 8px;
  }

  .cart-item img {
    width: 58px;
    height: 58px;
  }

  .cart-item-title {
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 5px;
    font-size: 13px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cart-item-info {
    gap: 6px;
  }

  .cart-item-meta {
    gap: 4px 8px;
  }

  .cart-controls {
    gap: 6px 8px;
  }

  .stepper {
    gap: 6px;
  }

  .stepper button {
    width: 28px;
    height: 28px;
  }

  .cart-addons {
    flex: 0 0 auto;
    gap: 5px;
    padding: 0 14px 8px;
  }

  .cart-addons-head {
    align-items: center;
  }

  .cart-addons-head span {
    display: none;
  }

  .cart-addons-list {
    margin-right: -14px;
    padding: 0 14px 5px 0;
  }

  .cart-addon {
    flex-basis: 94px;
    grid-template-rows: 46px minmax(28px, auto) auto 28px;
    gap: 5px;
    padding: 6px;
  }

  .cart-addon img {
    height: 46px;
  }

  .cart-addon strong,
  .cart-addon span {
    font-size: 11px;
  }

  .cart-addon button {
    height: 28px;
    border-radius: 7px;
    font-size: 17px;
  }

  .checkout {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px 14px calc(16px + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }

  .checkout-panel {
    gap: 9px;
    padding: 10px;
  }

  .checkout-panel-title {
    padding-bottom: 6px;
  }

  .checkout input,
  .checkout textarea,
  .checkout select {
    min-height: 42px;
    padding: 10px 11px;
  }

  .checkout-subsection,
  .payment-only,
  .cart-summary {
    padding: 10px;
  }

  .checkout-submit-bar {
    margin: 0 -2px -2px;
    padding: 10px;
  }

  .checkout-row.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .checkout-row.three input {
    min-width: 0;
  }

  .address-suggestions {
    position: static;
    max-height: 240px;
    margin-top: 6px;
    box-shadow: none;
  }

  .product-modal {
    inset: auto 0 0 0;
    grid-template-columns: 1fr;
    width: 100vw;
    height: auto;
    max-height: 92dvh;
    overflow: auto;
    transform: none;
    border-radius: 8px 8px 0 0;
  }

  .product-modal-media {
    min-height: 0;
    grid-template-rows: minmax(220px, 46vh) auto;
    gap: 8px;
    padding: 10px;
    aspect-ratio: auto;
  }

  .product-modal-media > img {
    min-height: 0;
    height: 100%;
    border-radius: 8px;
    background: #fff;
  }

  .product-modal-thumbs {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 2;
    padding: 4px 0 2px;
    background: transparent;
    backdrop-filter: none;
  }

  .product-modal-thumbs button {
    width: 52px;
    height: 52px;
    border-color: var(--line);
  }

  .product-modal-counter {
    top: 18px;
    right: 18px;
  }

  .product-modal-nav {
    top: calc(10px + 23vh);
    width: 38px;
    height: 38px;
  }

  .product-modal-nav.prev {
    left: 18px;
  }

  .product-modal-nav.next {
    right: 18px;
  }

  .product-modal-body {
    overflow: visible;
  }

  .product-actions,
  .delivery-switch,
  .promo-row {
    grid-template-columns: 1fr;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .cart-item img {
    width: 72px;
    height: 72px;
  }

  .cart-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links,
  .site-footer nav {
    grid-template-columns: 1fr;
  }
}

.catalog-main .product-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.product-actions {
  grid-template-columns: 1fr;
}

/* 2026 visual polish: stronger hierarchy without changing shop flows. */
body {
  background:
    linear-gradient(180deg, #fff 0, #fff 54%, #f8fbf8 100%);
}

.topbar {
  min-height: 76px;
  border-bottom-color: rgba(23, 23, 23, .08);
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 10px 34px rgba(20, 18, 17, .055);
}

.brand-mark {
  border-radius: 8px;
  background:
    linear-gradient(145deg, #1f2420 0%, #2f6f55 52%, #b83257 100%);
  box-shadow: 0 10px 22px rgba(31, 36, 32, .18);
}

.nav {
  background: rgba(255, 255, 255, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.nav a:hover,
.nav a:focus-visible,
.account-link:hover,
.cart-toggle:hover {
  background: #fff;
  box-shadow: 0 10px 22px rgba(31, 36, 32, .08);
}

.hero {
  min-height: min(760px, calc(100svh - 76px));
  align-items: center;
  padding-bottom: clamp(52px, 8vw, 96px);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .9) 32%, rgba(255, 255, 255, .38) 67%, rgba(255, 255, 255, .1) 100%),
    linear-gradient(0deg, rgba(47, 111, 85, .08), rgba(184, 50, 87, .04));
}

.hero-copy {
  position: relative;
  padding-top: clamp(22px, 4vw, 36px);
}

.hero-copy::before {
  content: "";
  display: block;
  width: 86px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--success));
}

.hero h1 {
  margin-bottom: 14px;
  color: #171412;
  text-wrap: balance;
}

.hero-text {
  color: #383634;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions .button,
.contact-actions .button {
  min-width: 178px;
}

.hero-stats span {
  border-color: rgba(23, 23, 23, .1);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 26px rgba(31, 36, 32, .07);
  backdrop-filter: blur(12px);
}

.catalog-band {
  padding-top: clamp(44px, 6vw, 76px);
}

.section-head {
  align-items: center;
  padding: 0 2px;
}

.section-head h2 {
  max-width: 620px;
  color: #181614;
  text-wrap: balance;
}

.catalog-controls,
.catalog-summary,
.category-rail,
.product-card,
.info-grid article,
.contact-band,
.checkout-panel,
.cart-summary {
  border-color: rgba(23, 23, 23, .09);
  box-shadow: 0 16px 40px rgba(31, 36, 32, .065);
}

.catalog-controls {
  position: sticky;
  top: 88px;
  z-index: 5;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
}

.category-rail {
  gap: 6px;
  padding: 10px;
  background: rgba(255, 255, 255, .92);
}

.category-rail .filter-button {
  justify-content: flex-start;
  min-height: 38px;
  border-color: transparent;
  background: transparent;
  line-height: 1.18;
}

.category-rail .filter-button.active {
  background: #1f2420;
  color: #fff;
  box-shadow: 0 10px 22px rgba(31, 36, 32, .16);
}

.catalog-summary {
  background:
    linear-gradient(135deg, #fff 0%, #fbf7f8 48%, #f3faf6 100%);
}

.product-grid {
  gap: 16px;
}

.product-card {
  position: relative;
  background: #fff;
}

.product-card:focus-within {
  border-color: rgba(184, 50, 87, .32);
  box-shadow: 0 20px 46px rgba(31, 36, 32, .12), 0 0 0 3px rgba(184, 50, 87, .08);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.product-card:hover {
  border-color: rgba(184, 50, 87, .28);
  box-shadow: 0 22px 50px rgba(31, 36, 32, .13);
  transform: translateY(-3px);
}

.product-image {
  aspect-ratio: 4 / 5;
}

.badge,
.photo-count {
  backdrop-filter: blur(10px);
}

.product-body {
  gap: 10px;
  padding: 13px;
}

.product-title {
  font-size: 17px;
}

.product-bottom {
  gap: 10px;
}

.catalog-main .product-actions {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
}

.price strong {
  color: #141414;
  font-size: 20px;
}

.add-button {
  min-height: 42px;
  background: linear-gradient(135deg, #1f2420, #2f6f55);
  box-shadow: 0 10px 22px rgba(47, 111, 85, .18);
}

.add-button,
.details-button,
.cart-addon button,
.pagination-page {
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, color .16s ease, transform .16s ease;
}

.add-button:hover {
  box-shadow: 0 14px 28px rgba(47, 111, 85, .22);
  transform: translateY(-1px);
}

.add-button:disabled {
  background: #d8d2cc;
  color: #6f6760;
  box-shadow: none;
}

.details-button {
  min-height: 38px;
  background: #fbfbfa;
}

.details-button:hover {
  border-color: rgba(23, 23, 23, .16);
  background: #fff;
  box-shadow: 0 10px 22px rgba(31, 36, 32, .08);
  transform: translateY(-1px);
}

.info-grid article {
  background:
    linear-gradient(180deg, #fff 0%, #fbfbfa 100%);
}

.contact-band {
  overflow: hidden;
  background:
    linear-gradient(135deg, #1f2420 0%, #2f6f55 58%, #8f2544 100%);
  color: #fff;
}

.contact-band .eyebrow,
.contact-band p {
  color: rgba(255, 255, 255, .78);
}

.contact-band .button.ghost {
  border-color: rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.cart-drawer {
  background:
    linear-gradient(180deg, #fff 0%, #fbfbfa 100%);
}

.cart-head,
.checkout {
  background: rgba(255, 255, 255, .94);
}

.cart-item,
.cart-addon {
  border-color: rgba(23, 23, 23, .09);
}

.cart-item,
.cart-addon {
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.cart-item:hover,
.cart-addon:hover {
  border-color: rgba(47, 111, 85, .18);
  box-shadow: 0 10px 24px rgba(31, 36, 32, .08);
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .catalog-controls {
    position: static;
  }
}

@media (max-width: 680px) {
  .legal-doc h1 {
    font-size: clamp(28px, 8vw, 32px);
  }

  .topbar {
    min-height: 64px;
    box-shadow: 0 8px 22px rgba(20, 18, 17, .06);
  }

  .hero {
    align-items: end;
  }

  .hero-copy::before {
    width: 62px;
    margin-bottom: 16px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .product-image {
    aspect-ratio: 1 / 1;
  }

  .catalog-main .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .catalog-main .product-card {
    min-width: 0;
  }

  .catalog-main .product-body {
    gap: 7px;
    padding: 9px;
  }

  .catalog-main .product-meta-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .catalog-main .product-title {
    min-height: 34px;
    font-size: 13px;
    line-height: 1.25;
  }

  .catalog-main .product-description {
    min-height: 0;
    font-size: 11px;
    line-height: 1.35;
    -webkit-line-clamp: 2;
  }

  .catalog-main .product-spec-row {
    display: none;
  }

  .catalog-main .price strong {
    font-size: 15px;
  }

  .catalog-main .price del {
    font-size: 11px;
  }

  .catalog-main .product-actions {
    gap: 6px;
    grid-template-columns: 1fr;
  }

  .catalog-main .add-button,
  .catalog-main .details-button {
    min-height: 34px;
    padding: 7px 8px;
    font-size: 12px;
  }
}

/* 2026-06-28 pass: mobile density and resilient media placeholders. */
.product-image::before,
.product-modal-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background:
    linear-gradient(145deg, rgba(47, 111, 85, .08), rgba(184, 50, 87, .08)),
    #f7f4f1;
  color: rgba(79, 74, 71, .72);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
}

.product-image img,
.product-modal-media > img {
  position: relative;
  z-index: 1;
}

.product-image.has-image-fallback img,
.product-modal-media.has-image-fallback > img {
  opacity: .42;
}

.product-image.has-image-fallback::before,
.product-modal-media.has-image-fallback::before {
  content: "Фото скоро появится";
}

@media (max-width: 680px) {
  .hero {
    min-height: min(560px, calc(100svh - 64px));
    padding-top: 30px;
  }

  .hero-actions .button {
    min-height: 40px;
  }

  .hero-stats {
    gap: 7px;
    margin-top: 16px;
  }

  .hero-stats span {
    min-height: 48px;
    padding: 9px 11px;
  }

  .catalog-band {
    padding-top: 28px;
  }

  .catalog-controls {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }

  .catalog-controls label:nth-of-type(3),
  .catalog-controls .button {
    grid-column: 1 / -1;
  }

  .catalog-controls input,
  .catalog-controls select {
    min-height: 40px;
    padding: 9px 10px;
  }

  .category-rail {
    margin-inline: -12px;
    padding-inline: 12px;
    border-inline: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .catalog-summary {
    padding: 9px 10px;
  }

  .catalog-main .product-card {
    box-shadow: 0 8px 22px rgba(31, 36, 32, .055);
  }

  .catalog-main .product-image {
    aspect-ratio: 1 / .86;
  }

  .catalog-main .badge,
  .catalog-main .photo-count {
    padding: 4px 6px;
    font-size: 10px;
  }

  .cart-drawer {
    height: 100svh;
  }

  .cart-head {
    min-height: 54px;
  }

  .cart-items {
    max-height: min(128px, 18svh);
  }

  .cart-item {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 8px;
    padding: 7px;
  }

  .cart-item img {
    width: 56px;
    height: 56px;
  }

  .cart-controls {
    align-items: center;
    flex-direction: row;
  }

  .cart-addons {
    padding-bottom: 6px;
  }

  .cart-addon {
    flex-basis: 88px;
    grid-template-rows: 44px minmax(28px, auto) auto 28px;
  }

  .checkout {
    gap: 8px;
    padding-top: 8px;
  }

  .checkout-panel {
    gap: 8px;
    padding: 9px;
  }

  .checkout-panel-title strong {
    font-size: 14px;
  }

  .checkout-panel-title span {
    font-size: 11px;
  }

  .cart-summary {
    gap: 6px;
    padding: 9px;
  }
}

/* 2026-07-02 clarity pass: calmer surfaces, obvious actions, less visual noise. */
.topbar {
  border-bottom-color: rgba(23, 23, 23, .08);
  box-shadow: 0 8px 24px rgba(23, 23, 23, .045);
}

.catalog-controls,
.catalog-summary,
.category-rail,
.product-card,
.info-grid article,
.checkout-panel,
.cart-summary {
  box-shadow: 0 8px 22px rgba(31, 36, 32, .045);
}

.catalog-controls {
  border-color: rgba(23, 23, 23, .08);
  background: rgba(255, 255, 255, .96);
}

.category-rail .filter-button {
  min-height: 40px;
  color: var(--muted-strong);
}

.category-rail .filter-button.active {
  background: var(--text);
}

.product-card {
  border-color: rgba(23, 23, 23, .08);
}

.product-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(31, 36, 32, .08);
}

.product-body {
  gap: 9px;
}

.product-title {
  min-height: 0;
}

.product-description {
  min-height: 0;
  -webkit-line-clamp: 2;
}

.product-spec-row span,
.stock-pill,
.badge,
.photo-count {
  font-weight: 800;
}

.add-button {
  background: var(--text);
  box-shadow: none;
}

.add-button:hover {
  background: var(--success);
  box-shadow: none;
}

.details-button {
  background: #fff;
  box-shadow: none;
}

.details-button:hover {
  box-shadow: none;
}

.modal-backdrop,
.cart-backdrop {
  background: rgba(23, 23, 23, .48);
  backdrop-filter: blur(2px);
}

.product-modal {
  width: min(calc(100vw - 32px), 880px);
  height: auto;
  max-height: min(760px, calc(100dvh - 32px));
  grid-template-columns: minmax(280px, 410px) minmax(0, 1fr);
  border-color: rgba(23, 23, 23, .1);
  box-shadow: 0 24px 80px rgba(23, 23, 23, .18);
}

.product-modal-body {
  gap: 13px;
  padding: clamp(18px, 3vw, 30px);
}

.product-modal-body h2 {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.product-modal-body p {
  margin: 0;
  line-height: 1.55;
}

.modal-price strong {
  font-size: 24px;
}

.modal-actions .button {
  min-height: 44px;
}

.cart-drawer {
  width: min(100vw, 620px);
  background: #fff;
}

.cart-head {
  background: #fff;
}

.cart-head h2 {
  font-family: Inter, system-ui, sans-serif;
  font-size: 24px;
}

.cart-items {
  max-height: min(240px, 30dvh);
}

.cart-item,
.cart-addon {
  box-shadow: none;
}

.cart-item:hover,
.cart-addon:hover {
  transform: none;
  box-shadow: none;
}

.cart-addons {
  padding-top: 2px;
  background: #fff;
}

.cart-addon {
  flex-basis: 104px;
  grid-template-rows: 54px minmax(30px, auto) auto 30px;
  background: #fff;
}

.cart-addon img {
  height: 54px;
}

.checkout {
  gap: 10px;
  scroll-padding-bottom: 170px;
  background: #fff;
}

.checkout-panel {
  gap: 10px;
  box-shadow: none;
}

.checkout-panel-title {
  padding-bottom: 0;
  border-bottom: 0;
}

.checkout-panel-title strong {
  font-size: 16px;
}

.checkout-panel-title span {
  max-width: none;
  color: var(--muted);
  text-align: left;
}

.checkout-submit-bar {
  margin: 2px -2px -2px;
  border-color: rgba(23, 23, 23, .08);
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -10px 28px rgba(23, 23, 23, .08);
}

.checkout .checkout-submit-bar .button.full[type="submit"] {
  min-height: 48px;
}

@media (max-width: 680px) {
  .catalog-layout {
    gap: 12px;
  }

  .catalog-controls {
    border-radius: 8px;
  }

  .catalog-main .product-grid {
    gap: 9px;
  }

  .catalog-main .product-card {
    border-color: rgba(23, 23, 23, .08);
  }

  .catalog-main .product-body {
    padding: 8px;
  }

  .catalog-main .product-category {
    max-width: 100%;
    font-size: 10px;
  }

  .catalog-main .stock-pill {
    min-height: 20px;
    padding: 3px 6px;
    font-size: 10px;
  }

  .catalog-main .product-description {
    display: none;
  }

  .catalog-main .product-actions {
    grid-template-columns: 1fr;
  }

  .cart-drawer {
    width: 100vw;
    height: 100dvh;
    border-left: 0;
  }

  .cart-head {
    min-height: 52px;
    padding: 10px 12px 8px;
  }

  .cart-head h2 {
    font-size: 21px;
  }

  .cart-items {
    max-height: min(118px, 17svh);
    padding: 8px 12px 7px;
  }

  .cart-addons {
    padding: 0 12px 7px;
  }

  .cart-addons-head {
    min-height: 24px;
  }

  .cart-addons-head strong {
    font-size: 13px;
  }

  .cart-addon {
    flex-basis: 82px;
    grid-template-rows: 40px minmax(26px, auto) auto 26px;
    gap: 4px;
    padding: 5px;
  }

  .cart-addon img {
    height: 40px;
  }

  .cart-addon strong,
  .cart-addon span {
    font-size: 10px;
  }

  .cart-addon button {
    height: 26px;
  }

  .checkout {
    gap: 7px;
    padding: 8px 12px calc(12px + env(safe-area-inset-bottom));
    scroll-padding-bottom: 180px;
  }

  .checkout-panel {
    gap: 8px;
    padding: 10px;
  }

  .checkout-panel-title {
    display: grid;
    gap: 2px;
  }

  .checkout-panel-title span {
    font-size: 11px;
  }

  .checkout .legal-check {
    padding: 9px;
  }

  .checkout-submit-bar {
    gap: 7px;
    padding: 9px;
  }

  .checkout .checkout-submit-bar .legal-check {
    gap: 7px;
    font-size: 10px;
    line-height: 1.18;
  }

  .checkout .checkout-submit-bar .legal-check span,
  .checkout .checkout-submit-bar .legal-check a {
    font-size: 10px;
    line-height: 1.18;
  }

  .checkout .checkout-submit-bar .button.full[type="submit"] {
    min-height: 42px;
  }

  .checkout-submit-total strong {
    font-size: 20px;
  }

  .product-modal {
    inset: auto 0 0 0;
    width: 100vw;
    height: min(96dvh, 900px);
    max-height: 96dvh;
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    transform: none;
  }

  .product-modal-media {
    grid-template-rows: minmax(190px, 36svh) auto;
    gap: 8px;
    padding: 12px 12px 8px;
    background: #fff;
  }

  .product-modal-media > img {
    border-radius: 8px;
  }

  .product-modal-thumbs {
    max-height: 56px;
    padding: 0 2px 2px;
  }

  .product-modal-thumbs button {
    width: 46px;
    height: 46px;
  }

  .product-modal-body {
    min-height: 0;
    overflow: auto;
    padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  }

  .product-modal-body h2 {
    font-size: 23px;
  }

  .modal-facts span {
    padding: 6px 8px;
    font-size: 11px;
  }

  .modal-actions {
    position: sticky;
    bottom: calc(-16px - env(safe-area-inset-bottom));
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    margin: 4px -16px calc(-16px - env(safe-area-inset-bottom));
    padding: 10px 16px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(10px);
  }
}

/* 2026-07-03 usability pass: simpler mobile cart and calmer checkout flow. */
.cart-addon button {
  font-size: 12px;
  font-weight: 900;
}

.checkout-submit-bar .checkout-status {
  grid-column: 1 / -1;
}

@media (max-width: 680px) {
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
  }

  .hero-stats span {
    min-height: 64px;
    padding: 10px 12px;
    box-shadow: none;
  }

  .hero-stats span:last-child {
    grid-column: 1 / -1;
    min-height: 54px;
  }

  .cart-items {
    max-height: min(104px, 15svh);
  }

  .cart-addons {
    gap: 4px;
    padding-bottom: 5px;
  }

  .cart-addons-list {
    gap: 7px;
  }

  .cart-addon {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    grid-template-areas:
      "image title action"
      "image price action";
    align-items: center;
    flex-basis: 188px;
    min-height: 58px;
    padding: 6px;
  }

  .cart-addon img {
    grid-area: image;
    width: 46px;
    height: 46px;
  }

  .cart-addon strong {
    grid-area: title;
    -webkit-line-clamp: 1;
  }

  .cart-addon span {
    grid-area: price;
  }

  .cart-addon button {
    grid-area: action;
    width: auto;
    min-width: 74px;
    height: 34px;
    padding: 0 10px;
    font-size: 11px;
  }

  .checkout {
    gap: 8px;
    scroll-padding-bottom: 24px;
  }

  .checkout-panel {
    border-color: rgba(23, 23, 23, .07);
    background: #fff;
  }

  .checkout-panel-title span {
    display: none;
  }

  .payment-only {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 9px 10px;
  }

  .payment-only span {
    text-align: right;
  }

  .checkout-submit-bar {
    position: sticky;
    bottom: 0;
    z-index: 5;
    grid-template-columns: minmax(0, 1fr) minmax(142px, auto);
    grid-template-rows: minmax(40px, auto) auto auto;
    align-items: center;
    gap: 7px 9px;
    min-height: 112px;
    margin: 4px 0 0;
    padding: 8px 9px calc(8px + env(safe-area-inset-bottom));
  }

  .checkout-submit-total {
    min-width: 0;
  }

  .checkout-submit-total span {
    font-size: 11px;
  }

  .checkout-submit-total small {
    max-width: 100%;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .checkout-submit-total strong {
    overflow: hidden;
    font-size: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .checkout .checkout-submit-bar .button.full[type="submit"] {
    grid-column: 2;
    grid-row: 1;
    min-height: 40px;
    padding-inline: 12px;
    white-space: nowrap;
  }

  .checkout .checkout-submit-bar .legal-check {
    grid-column: 1 / -1;
    grid-row: 2;
    align-items: center;
    padding-top: 1px;
  }

  .checkout .checkout-submit-bar .legal-check span,
  .checkout .checkout-submit-bar .legal-check a {
    font-size: 11px;
    line-height: 1.25;
  }
}

/* 2026-07-03 visual refinement pass: clearer dialogs, cart, and catalog controls. */
.modal-backdrop,
.cart-backdrop {
  background: rgba(18, 16, 15, .54);
}

.catalog-controls {
  align-items: end;
  gap: 10px;
  padding: 12px;
}

.catalog-controls label,
.search {
  border-radius: 8px;
}

.catalog-controls input,
.catalog-controls select,
.search input {
  border-color: rgba(23, 23, 23, .1);
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.catalog-controls label:focus-within,
.search:focus-within {
  box-shadow: 0 0 0 3px rgba(184, 50, 87, .08);
}

.category-rail {
  scrollbar-width: thin;
}

.category-rail .filter-button {
  transition: background .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}

.category-rail .filter-button:hover {
  border-color: rgba(23, 23, 23, .1);
  background: #f8f8f7;
  color: var(--text);
}

.category-rail .filter-button.active:hover {
  background: var(--text);
  color: #fff;
}

.product-card {
  overflow: hidden;
}

.product-card .details-button,
.product-card .add-button {
  border-radius: 7px;
}

.product-modal {
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(18, 16, 15, .26);
}

.product-modal-media {
  background:
    linear-gradient(180deg, #fbfaf8 0%, #f1ece8 100%);
}

.product-modal-media > img {
  padding: 10px;
  object-fit: contain;
}

.modal-close {
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-color: rgba(23, 23, 23, .1);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 24px rgba(23, 20, 18, .12);
  backdrop-filter: blur(10px);
}

.product-modal-body {
  scrollbar-width: thin;
}

.product-modal-body .product-category {
  width: max-content;
  max-width: 100%;
}

.modal-facts span,
.product-composition {
  border: 1px solid rgba(23, 23, 23, .08);
  background: #fbfbfa;
}

.modal-actions {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
}

.modal-actions .button {
  justify-content: center;
}

.cart-drawer {
  isolation: isolate;
}

.cart-head {
  min-height: 70px;
}

.cart-items,
.checkout {
  scrollbar-width: thin;
}

.cart-item {
  border-color: rgba(23, 23, 23, .08);
  background: #fff;
}

.cart-item-title {
  line-height: 1.3;
}

.cart-addons-head {
  padding-top: 2px;
}

.cart-addons-head strong {
  color: var(--text);
}

.cart-addon {
  border-color: rgba(23, 23, 23, .08);
}

.cart-addon button:hover,
.cart-addon button:focus-visible {
  background: var(--text);
}

.checkout-panel {
  border-color: rgba(23, 23, 23, .08);
}

.checkout-panel-title strong::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 999px;
  background: var(--accent);
  vertical-align: 1px;
}

.checkout-submit-bar {
  border-color: rgba(23, 23, 23, .1);
}

@media (max-width: 680px) {
  .catalog-controls {
    gap: 7px;
    padding: 9px;
  }

  .catalog-controls .button {
    min-height: 40px;
  }

  .category-rail {
    gap: 6px;
    padding-bottom: 8px;
  }

  .category-rail .filter-button {
    min-height: 36px;
    padding: 8px 11px;
  }

  .product-modal {
    height: min(94dvh, 860px);
    max-height: 94dvh;
    border-radius: 14px 14px 0 0;
  }

  .product-modal::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    z-index: 4;
    width: 42px;
    height: 4px;
    border-radius: 999px;
    background: rgba(23, 23, 23, .18);
    transform: translateX(-50%);
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .product-modal-media {
    padding-top: 18px;
  }

  .product-modal-media > img {
    padding: 6px;
  }

  .product-modal-body {
    gap: 10px;
  }

  .modal-actions {
    grid-template-columns: 1fr;
  }

  .cart-head {
    min-height: 54px;
  }

  .cart-item-title {
    font-size: 12px;
  }

  .checkout-panel-title strong::before {
    width: 6px;
    height: 6px;
    margin-right: 6px;
  }
}

/* 2026-07-03 checkout simplification pass: visible steps, shorter required flow. */
.checkout-progress {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 10px 18px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  list-style: none;
}

.checkout-progress li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.checkout-progress li span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted-strong);
  font-size: 11px;
}

.checkout-progress li strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-progress li.active {
  border-color: rgba(184, 50, 87, .3);
  background: #fff6f9;
  color: var(--accent-dark);
}

.checkout-progress li.active span {
  background: var(--accent);
  color: #fff;
}

.checkout-progress li.done {
  border-color: rgba(47, 111, 85, .22);
  background: #f4faf6;
  color: var(--success);
}

.checkout-progress li.done span {
  background: var(--success);
  color: #fff;
}

.checkout-panel-optional {
  gap: 0;
}

.checkout-panel-optional .checkout-panel-title {
  margin-bottom: 2px;
}

.checkout-extra {
  border-top: 1px solid var(--line);
}

.checkout-extra:first-of-type {
  border-top: 0;
}

.checkout-extra summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 30px 10px 0;
  color: var(--text);
  cursor: pointer;
  list-style: none;
}

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

.checkout-extra summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background:
    linear-gradient(var(--accent-dark), var(--accent-dark)) center / 10px 2px no-repeat,
    linear-gradient(var(--accent-dark), var(--accent-dark)) center / 2px 10px no-repeat,
    var(--surface-strong);
  color: var(--accent-dark);
  font-size: 16px;
  font-weight: 900;
  transform: translateY(-50%);
}

.checkout-extra[open] summary::after {
  background:
    linear-gradient(var(--accent-dark), var(--accent-dark)) center / 10px 2px no-repeat,
    var(--surface-strong);
}

.checkout-extra summary span,
.checkout-extra summary small {
  display: block;
  min-width: 0;
}

.checkout-extra summary span {
  font-size: 14px;
  font-weight: 900;
}

.checkout-extra summary small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
}

.checkout-extra-body {
  display: grid;
  gap: 10px;
  padding: 0 0 12px;
}

.checkout-summary-panel {
  gap: 10px;
}

.checkout-summary-panel .cart-summary {
  padding: 0;
  border: 0;
  background: transparent;
}

.checkout-summary-panel .cart-summary > div {
  min-height: 28px;
}

.checkout-summary-panel .cart-total {
  min-height: 38px;
  margin-top: 2px;
}

.cart-item {
  align-items: center;
}

.cart-item-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (max-width: 680px) {
  .checkout-progress {
    gap: 6px;
    padding: 8px 14px;
  }

  .checkout-progress li {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 4px;
    min-height: 50px;
    padding: 7px 5px;
    text-align: center;
  }

  .checkout-progress li span {
    width: 20px;
    height: 20px;
  }

  .checkout-progress li strong {
    max-width: 100%;
    font-size: 11px;
  }

  .cart-items {
    max-height: min(132px, 18svh);
  }

  .checkout {
    background: #f8f7f5;
  }

  .checkout-panel {
    box-shadow: none;
  }

  .checkout-extra summary {
    min-height: 44px;
    padding-block: 8px;
  }

  .checkout-extra summary small {
    display: none;
  }

  .checkout-summary-panel .checkout-panel-title {
    display: none;
  }

  .checkout-submit-bar {
    position: sticky;
    bottom: 0;
    min-height: 0;
    border-radius: 10px;
  }
}

/* 2026-07-03 checkout clarity pass: one visible final total, no duplicated item pricing. */
.cart-item-meta {
  display: grid;
  align-items: start;
  gap: 4px;
}

.cart-item-meta strong {
  line-height: 1.3;
}

.cart-item-meta .cart-item-note {
  color: var(--muted);
  font-size: 11px;
}

.checkout-summary-panel .cart-summary {
  gap: 6px;
}

.checkout-summary-panel .cart-summary > div {
  min-height: 26px;
}

.checkout-submit-total span {
  color: var(--muted-strong);
}

@media (max-width: 680px) {
  .cart-item-meta {
    gap: 3px;
  }

  .cart-item-meta strong {
    font-size: 12px;
  }

  .checkout-summary-panel {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .loyalty-earn-preview {
    min-height: 32px;
    padding: 7px 9px;
  }

  .loyalty-earn-preview span {
    font-size: 11px;
  }
}

/* 2026-07-03 checkout guidance pass: show the next missing action without adding form clutter. */
.cart-drawer.cart-empty .checkout-progress,
.cart-drawer.cart-empty .checkout-nudge {
  display: none;
}

.checkout-nudge {
  display: grid;
  gap: 3px;
  margin: 0 18px 12px;
  padding: 10px 12px;
  border: 1px solid rgba(155, 122, 64, .24);
  border-radius: 8px;
  background: #fffaf0;
  color: #735819;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.checkout-nudge[hidden] {
  display: none;
}

.checkout-nudge strong,
.checkout-nudge span {
  display: block;
  min-width: 0;
}

.checkout-nudge strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 950;
}

.checkout-nudge[data-state="ready"] {
  border-color: rgba(47, 111, 85, .22);
  background: #f4faf6;
  color: var(--success);
}

.checkout-nudge[data-state="blocked"] {
  border-color: rgba(184, 50, 87, .24);
  background: #fff3f6;
  color: var(--accent-dark);
}

.checkout-locked-email input[readonly] {
  border-color: rgba(47, 111, 85, .22);
  background: #f4faf6;
  color: var(--text);
  cursor: default;
}

.checkout-locked-email input[readonly]:focus {
  border-color: rgba(47, 111, 85, .32);
  box-shadow: 0 0 0 4px rgba(47, 111, 85, .08);
}

.checkout-locked-email small {
  display: block;
  margin-top: 2px;
  color: var(--success);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

@media (max-width: 680px) {
  .checkout-nudge {
    margin: 0 14px 8px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .checkout-nudge strong {
    font-size: 12px;
  }
}

/* 2026-07-03 mobile cart flow pass: avoid sticky payment controls covering checkout fields. */
@media (max-width: 680px) {
  .cart-drawer {
    overflow: hidden;
  }

  .checkout {
    flex: 1 1 auto;
    min-height: 0;
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
    scroll-padding-bottom: 24px;
  }

  .checkout-submit-bar {
    position: static;
    margin: 4px 0 0;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(23, 23, 23, .07);
    backdrop-filter: none;
  }

  .checkout-submit-total strong {
    font-size: 20px;
  }
}

/* 2026-07-03 storefront first-screen polish: faster catalog access and branded empty media. */
.hero {
  min-height: min(620px, calc(90svh - 82px));
}

@media (min-width: 681px) {
  .hero {
    padding-top: clamp(34px, 6vw, 70px);
    padding-bottom: 28px;
  }

  .hero h1 {
    margin-bottom: 12px;
  }

  .hero-text {
    line-height: 1.5;
  }

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

  .hero-stats {
    margin-top: 18px;
  }

  .hero-stats span {
    padding: 11px 14px;
  }

  .catalog-band {
    padding-top: 30px;
  }
}

.product-image.has-image-fallback,
.product-modal-media.has-image-fallback {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, .9), transparent 28%),
    linear-gradient(145deg, #fff8f4 0%, #f5efeb 48%, #edf7f0 100%);
}

.catalog-error-card {
  grid-column: 1 / -1;
  justify-items: center;
  gap: 10px;
  padding: clamp(22px, 5vw, 34px);
  border-color: rgba(184, 50, 87, .18);
  background: linear-gradient(135deg, #fff7f9 0%, #fff 60%, #f6fbf7 100%);
  text-align: center;
}

.catalog-error-card strong {
  font-size: clamp(18px, 4vw, 24px);
}

.catalog-error-card span {
  max-width: 560px;
  color: var(--muted);
  line-height: 1.5;
}

.catalog-error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
}

.product-image.has-image-fallback::before,
.product-modal-media.has-image-fallback::before {
  content: "";
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, .78) 0 26%, transparent 27%),
    linear-gradient(145deg, rgba(47, 111, 85, .1), rgba(184, 50, 87, .1));
}

.product-image.has-image-fallback::after,
.product-modal-media.has-image-fallback::after {
  content: "Фото скоро";
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 2;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  border: 1px solid rgba(23, 23, 23, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(23, 20, 18, .08);
  transform: translateX(-50%);
}

.product-image.has-image-fallback img,
.product-modal-media.has-image-fallback > img {
  opacity: .88;
}

.cart-item.has-image-fallback img,
.cart-addon.has-image-fallback img {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, .82), transparent 34%),
    linear-gradient(145deg, #fff8f4, #eef7f1);
  opacity: .9;
}

@media (max-width: 680px) {
  .hero {
    min-height: min(500px, calc(82svh - 52px));
    padding: 22px 14px 24px;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .88) 48%, rgba(255, 255, 255, .34) 100%),
      linear-gradient(0deg, rgba(255, 255, 255, .32), rgba(255, 255, 255, .1));
  }

  .hero h1 {
    margin-bottom: 10px;
    font-size: clamp(38px, 13vw, 54px);
  }

  .hero-text {
    max-width: 330px;
    color: #342f2d;
    font-size: 14px;
    line-height: 1.45;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: 340px;
    margin-top: 16px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    max-width: 340px;
    margin-top: 12px;
  }

  .hero-stats span {
    min-height: 50px;
    padding: 7px 6px;
    font-size: 10px;
    line-height: 1.2;
  }

  .hero-stats span:last-child {
    grid-column: auto;
    min-height: 50px;
  }

  .hero-stats strong {
    font-size: 15px;
    line-height: 1;
  }

  .catalog-band {
    padding-top: 22px;
  }

  .catalog-controls {
    gap: 7px;
  }

  .catalog-controls label:nth-of-type(3) {
    grid-column: 1;
  }

  .catalog-controls .button {
    grid-column: 2;
    min-height: 40px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.15;
  }

  .product-image.has-image-fallback::after {
    bottom: 8px;
    padding: 4px 7px;
    font-size: 10px;
  }
}

/* 2026-07-03 mobile catalog density pass: summary should not visually cover products. */
@media (max-width: 680px) {
  .catalog-summary {
    position: static;
    z-index: 1;
    gap: 6px;
    margin-bottom: 10px;
    padding: 8px 10px;
    border-color: rgba(23, 23, 23, .08);
    background: #fff;
    box-shadow: none;
    font-size: 12px;
  }

  .catalog-summary strong {
    white-space: normal;
  }

  .catalog-main .product-grid {
    align-items: start;
    gap: 9px;
  }

  .catalog-main .product-card {
    box-shadow: 0 6px 18px rgba(31, 36, 32, .055);
  }

  .catalog-main .product-body {
    gap: 6px;
    padding: 8px;
  }

  .catalog-main .product-title {
    min-height: 32px;
    font-size: 12.5px;
    line-height: 1.24;
  }

  .catalog-main .product-bottom {
    gap: 7px;
  }

  .catalog-main .product-actions {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 6px;
  }

  .catalog-main .add-button,
  .catalog-main .details-button {
    min-height: 36px;
    padding: 7px 6px;
    font-size: 12px;
    line-height: 1.1;
  }
}

/* 2026-07-03 mobile product modal action pass: keep the buy action visible and compact. */
@media (max-width: 680px) {
  .product-modal-body {
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .modal-actions {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
  }

  .modal-actions .button {
    min-height: 46px;
    padding-inline: 14px;
    white-space: nowrap;
  }

  .modal-actions .button.ghost {
    min-width: 92px;
    padding-inline: 12px;
  }
}

/* 2026-07-03 mobile checkout reachability pass: keep payment visible without hiding form fields. */
.cart-drawer.cart-empty .checkout-submit-bar {
  display: none;
}

.cart-drawer.cart-has-items .checkout {
  flex: 1 1 auto;
  min-height: 0;
}

.cart-drawer .checkout-submit-bar {
  flex: 0 0 auto;
  margin: 0 18px 18px;
}

.checkout-submit-bar .legal-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 8px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.checkout-submit-bar .legal-check input {
  width: 18px;
  min-width: 18px;
  max-width: 18px;
  min-height: 18px;
  margin-top: 0;
  padding: 0;
}

.checkout-submit-bar .legal-check span,
.checkout-submit-bar .legal-check a {
  font-size: 11px;
  line-height: 1.3;
}

.checkout-submit-bar .button.full[type="submit"] {
  min-height: 46px;
}

@media (min-width: 681px) {
  .cart-drawer .checkout-submit-bar {
    grid-template-columns: minmax(0, 1fr) minmax(190px, auto);
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 8px 12px;
    padding: 12px;
  }

  .cart-drawer .checkout-submit-total {
    grid-column: 1;
    grid-row: 1;
  }

  .cart-drawer .checkout-submit-total strong {
    font-size: 24px;
  }

  .cart-drawer .checkout-submit-bar .button.full[type="submit"] {
    grid-column: 2;
    grid-row: 1;
    min-height: 46px;
    padding-inline: 18px;
  }

  .cart-drawer .checkout-submit-bar .legal-check {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .cart-drawer .checkout-submit-bar .checkout-status {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

@media (max-width: 680px) {
  .cart-head {
    min-height: 52px;
    padding: 10px 14px 8px;
  }

  .cart-head h2 {
    font-size: 21px;
    line-height: 1.05;
  }

  .cart-head .eyebrow {
    margin-bottom: 2px;
    font-size: 10px;
  }

  .checkout-progress {
    gap: 5px;
    padding: 6px 12px 7px;
  }

  .checkout-progress li {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    gap: 5px;
    min-height: 36px;
    padding: 5px 6px;
    text-align: left;
  }

  .checkout-progress li span {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }

  .checkout-progress li strong {
    font-size: 10.5px;
  }

  .checkout-nudge {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    margin: 0 12px 6px;
    padding: 7px 9px;
    font-size: 11px;
  }

  .checkout-nudge strong {
    font-size: 11px;
    white-space: nowrap;
  }

  .checkout-nudge span {
    line-height: 1.25;
  }

  /* 2026-07-03 mobile cart item clipping fix: one cart line needs room for title, price and quantity controls. */
  .cart-items {
    max-height: min(152px, 22svh);
    padding: 8px 12px;
  }

  .cart-item {
    align-items: start;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 8px;
    min-height: 104px;
    padding: 8px;
  }

  .cart-item img {
    width: 56px;
    height: 56px;
  }

  .cart-controls {
    gap: 6px;
    justify-content: space-between;
  }

  .stepper button {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  .checkout {
    gap: 7px;
    padding: 8px 12px;
    scroll-padding-bottom: 24px;
  }

  .checkout-panel {
    gap: 9px;
    padding: 10px;
  }

  .checkout-panel-title {
    padding-bottom: 6px;
  }

  .checkout-panel-title strong {
    font-size: 14px;
  }

  .checkout input,
  .checkout textarea,
  .checkout select {
    min-height: 40px;
    padding: 9px 10px;
    font-size: 16px;
  }

  .checkout-row.two,
  .delivery-switch {
    gap: 6px;
  }

  .delivery-switch label {
    min-height: 38px;
    padding: 8px 10px;
  }

  .checkout-extra summary {
    min-height: 38px;
    padding: 7px 28px 7px 0;
  }

  .checkout-summary-panel {
    padding: 8px 10px;
  }

  .checkout-submit-bar {
    position: static;
    z-index: 9;
    grid-template-columns: minmax(0, 1fr) minmax(132px, auto);
    grid-template-rows: auto auto auto;
    align-items: center;
    gap: 6px 8px;
    min-height: 0;
    margin: 0;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border-radius: 10px 10px 0 0;
    box-shadow: 0 -14px 30px rgba(23, 23, 23, .1);
    backdrop-filter: blur(12px);
  }

  .checkout-submit-total strong {
    max-width: none;
    overflow: visible;
    font-size: 19px;
    text-overflow: clip;
    white-space: nowrap;
  }

  .checkout-submit-total {
    display: grid;
    justify-content: start;
    gap: 2px;
  }

  .checkout-submit-total span {
    display: block;
    font-size: 10px;
    line-height: 1.1;
  }

  .checkout-submit-bar .button.full[type="submit"] {
    grid-column: 2;
    grid-row: 1;
    min-height: 40px;
    padding-inline: 12px;
    white-space: nowrap;
  }

  .checkout-submit-bar .legal-check {
    grid-column: 1 / -1;
    grid-row: 2;
    align-items: center;
    padding-top: 0;
  }

  .checkout-status:not(:empty) {
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* 2026-07-03 cart full-scroll pass: the whole checkout drawer scrolls as one surface. */
.cart-drawer {
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-padding-bottom: 150px;
  -webkit-overflow-scrolling: touch;
}

.cart-head,
.checkout-progress,
.checkout-nudge,
.cart-items,
.cart-addons,
.checkout {
  flex: 0 0 auto;
}

.cart-head {
  position: static;
}

.cart-items {
  max-height: none;
  overflow: visible;
}

.cart-drawer.cart-empty .cart-items {
  flex: 1 1 auto;
  align-content: center;
  max-height: none;
}

.cart-addons-list {
  overflow-x: auto;
  overflow-y: hidden;
}

.checkout,
.cart-drawer.cart-has-items .checkout {
  min-height: auto;
  overflow: visible;
}

.cart-drawer .checkout-submit-bar {
  position: sticky;
  bottom: 0;
  z-index: 6;
}

/* 2026-07-04 addon action icon pass: compact carousel cards without losing feedback text. */
.cart-addon-add {
  gap: 0;
}

.cart-addon-add .icon {
  width: 17px;
  height: 17px;
}

.cart-addon-add-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.cart-addon-add.added {
  padding: 0 8px;
}

.cart-addon-add.added .icon {
  display: none;
}

.cart-addon-add.added .cart-addon-add-label {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
}

/* 2026-07-04 catalog filter chip pass: make active filtering visible and removable. */
.catalog-filter-chip {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .62);
}

/* 2026-07-04 catalog reset disabled pass: disabled reset should read as unavailable. */
.catalog-controls [data-price-reset]:disabled:hover,
.catalog-controls [data-price-reset]:disabled:focus-visible {
  border-color: rgba(23, 23, 23, .08);
  background: #f6f5f3;
  color: #8c8580;
  box-shadow: none;
  outline: none;
}

/* 2026-07-04 search clear pass: keep query removal close to the search field. */
.search-clear:disabled {
  pointer-events: none;
}

@media (max-width: 680px) {
  .catalog-filter-chips {
    gap: 5px;
  }

  .catalog-filter-chip {
    min-height: 25px;
    max-width: 100%;
    padding: 4px 8px;
    font-size: 11px;
  }
}

@media (max-width: 680px) {
  .cart-drawer {
    overflow-x: hidden;
    overflow-y: auto;
    scroll-padding-bottom: calc(170px + env(safe-area-inset-bottom));
  }

  .cart-head {
    position: static;
  }

  .cart-items {
    max-height: none;
    overflow: visible;
  }

  .checkout,
  .cart-drawer.cart-has-items .checkout {
    flex: 0 0 auto;
    min-height: auto;
    overflow: visible;
    padding-bottom: 10px;
  }

  .cart-drawer .checkout-submit-bar {
    position: sticky;
    bottom: 0;
    margin: 6px 0 0;
  }
}

/* 2026-07-04 checkout missing-fields chip pass: make the next actions scannable in the cart. */
.checkout-nudge {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 8px;
}

.checkout-nudge-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.checkout-nudge-copy strong,
.checkout-nudge-copy span {
  display: block;
  min-width: 0;
}

.checkout-nudge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}

.checkout-nudge-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  max-width: 100%;
  padding: 4px 8px;
  border: 1px solid rgba(155, 122, 64, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .86);
  color: #735819;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.checkout-nudge[data-state="ready"] .checkout-nudge-copy span {
  color: var(--success);
}

.checkout-nudge[data-state="blocked"] .checkout-nudge-copy span {
  color: var(--accent-dark);
}

@media (max-width: 680px) {
  .checkout-nudge {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .checkout-nudge strong {
    white-space: normal;
  }

  .checkout-nudge-list {
    gap: 4px;
  }

  .checkout-nudge-chip {
    min-height: 22px;
    padding: 3px 7px;
    font-size: 10.5px;
  }
}

/* 2026-07-04 catalog action icon pass: make product-card actions easier to scan. */
.product-actions .add-button,
.product-actions .details-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.product-actions .icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.product-actions .add-button span,
.product-actions .details-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .product-actions .add-button,
  .product-actions .details-button {
    gap: 4px;
  }

  .product-actions .icon {
    width: 14px;
    height: 14px;
  }
}

/* 2026-07-04 product modal action icon pass: keep modal commands aligned with card buttons. */
.modal-actions .button .icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.modal-actions .button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .modal-actions .button .icon {
    width: 15px;
    height: 15px;
  }
}

/* 2026-07-04 product modal icon controls pass: replace text glyph controls with stable SVG icons. */
.modal-close .icon,
.product-modal-nav .icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

@media (max-width: 680px) {
  .modal-close .icon,
  .product-modal-nav .icon {
    width: 18px;
    height: 18px;
  }
}

/* 2026-07-04 customer category rail pass: keep imported category lists compact and readable. */
@media (min-width: 981px) {
  .category-rail .filter-button > span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 980px) {
  .category-rail {
    scrollbar-gutter: auto;
  }
}

/* 2026-07-04 category count pass: show product volume without stretching category chips. */
.category-rail .filter-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.category-rail .filter-button > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-rail .filter-button > small {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  min-height: 22px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(31, 36, 32, .06);
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.category-rail .filter-button.active > small {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

@media (min-width: 981px) {
  .category-rail .filter-button > span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@media (max-width: 980px) {
  .category-rail .filter-button {
    max-width: min(76vw, 280px);
  }

  .category-rail .filter-button > span {
    white-space: nowrap;
  }
}

/* 2026-07-04 storefront order CTA icon pass: align cart entry points with the shared icon system. */
.hero-actions [data-open-cart].button,
.contact-actions [data-open-cart].button {
  padding-inline: 16px;
}

@media (max-width: 680px) {
  .button .icon {
    width: 15px;
    height: 15px;
  }
}

/* 2026-07-04 auth decoupling pass: login keeps its public UI without admin.css. */
.auth-page {
  min-height: 100dvh;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96) 0%, rgba(252, 249, 246, .96) 48%, rgba(246, 250, 247, .96) 100%);
}

.auth-shell {
  display: grid;
  min-height: 100dvh;
  place-items: center;
  padding: clamp(16px, 4vw, 40px);
}

.auth-card {
  width: min(100%, 460px);
  padding: clamp(20px, 4vw, 28px);
  border: 1px solid rgba(23, 23, 23, .09);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 26px 80px rgba(23, 20, 18, .12);
}

.auth-card .brand {
  width: max-content;
}

.auth-card-head {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.auth-badge {
  width: max-content;
  min-height: 26px;
  padding: 5px 9px;
  border: 1px solid rgba(47, 111, 85, .18);
  border-radius: 999px;
  background: #f4faf6;
  color: var(--success);
  font-size: 12px;
  font-weight: 900;
}

.auth-card h1 {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(28px, 6vw, 36px);
  line-height: 1.1;
}

.auth-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.auth-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-top: 18px;
  padding: 4px;
  border: 1px solid rgba(23, 23, 23, .08);
  border-radius: 8px;
  background: #f7f7f5;
}

.auth-methods button {
  min-height: 38px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.auth-methods button.active {
  background: #fff;
  color: var(--text);
  box-shadow: 0 8px 18px rgba(31, 36, 32, .07);
}

.auth-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
  padding: 4px;
  border: 1px solid rgba(23, 23, 23, .08);
  border-radius: 999px;
  background: #fbfbfa;
}

.auth-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.auth-step.active {
  border-color: rgba(184, 50, 87, .22);
  background: #fff;
  color: var(--accent-dark);
  box-shadow: 0 8px 18px rgba(31, 36, 32, .07);
}

.auth-step.done {
  border-color: rgba(47, 111, 85, .18);
  background: #f4faf6;
  color: var(--success);
}

.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.auth-form label {
  display: grid;
  gap: 6px;
}

.auth-form span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 15px;
}

.auth-form input[aria-invalid="true"] {
  border-color: rgba(184, 50, 87, .62);
  background: #fff7f9;
  box-shadow: 0 0 0 3px rgba(184, 50, 87, .08);
}

.auth-form input[aria-invalid="true"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(184, 50, 87, .12);
}

.auth-form .button {
  min-height: 46px;
}

.auth-radio-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.auth-radio-group legend {
  grid-column: 1 / -1;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.auth-radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.auth-radio-group input {
  width: auto;
  min-height: 0;
  padding: 0;
}

.auth-call-box > div {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(47, 111, 85, .18);
  border-radius: 8px;
  background: #f4faf6;
}

.auth-call-box a {
  color: var(--text);
  font-size: 22px;
  font-weight: 900;
  text-decoration: none;
}

.auth-form .button:disabled {
  opacity: .76;
  box-shadow: none;
}

.auth-form[aria-busy="true"] .button {
  cursor: wait;
}
