:root {
  color-scheme: dark;
  --bg: #24323d;
  --bg-deep: #17232c;
  --panel: #22313c;
  --panel-soft: #2b3b47;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7fbff;
  --muted: #a9bac5;
  --accent: #f58a1f;
  --accent-strong: #ff9a2f;
  --accent-dark: #6a330b;
  --cream: #fff7eb;
  --danger: #f05a4f;
  --ok: #68d391;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  --radius: 8px;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
}

body.cart-visible {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
  padding: 10px max(15px, calc((100vw - 1395px) / 2));
  background: #fff;
  color: #111820;
  box-shadow: 0 1px 0 rgba(14, 28, 38, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: #111820;
  color: var(--accent-strong);
  font-weight: 900;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

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

.brand strong {
  max-width: 220px;
  overflow: hidden;
  color: #0f1820;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand small {
  margin-top: 2px;
  color: #5b6770;
  font-size: 12px;
}

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

.desktop-header-info {
  display: none;
}

.desktop-category-bar {
  display: none;
}

.round-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(15, 24, 32, 0.12);
  border-radius: 50%;
  background: #f4f6f8;
  color: #111820;
  font-weight: 800;
}

.round-link:hover {
  border-color: rgba(245, 138, 31, 0.55);
  color: #8e440d;
}

.icon-phone,
.icon-cart,
.icon-menu {
  position: relative;
  width: 18px;
  height: 18px;
}

.icon-phone::before {
  content: "";
  position: absolute;
  inset: 2px 4px 2px 3px;
  border: 3px solid currentColor;
  border-top-color: transparent;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-38deg);
}

.icon-cart::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 3px;
  width: 14px;
  height: 9px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 2px;
}

.icon-cart::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 1px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 8px 0 0 currentColor;
}

.icon-menu::before,
.icon-menu::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.icon-menu::before {
  top: 5px;
  box-shadow: 0 4px 0 currentColor;
}

.icon-menu::after {
  top: 13px;
}

.cart-count {
  position: absolute;
  right: -3px;
  top: -5px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #111820;
  font-size: 11px;
  line-height: 1;
}

.cart-label {
  display: none;
}

.page-shell {
  width: min(1395px, calc(100vw - 30px));
  margin: 0 auto;
  padding: 20px 0 78px;
}

.promo-ribbon {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  margin-bottom: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(245, 138, 31, 0.22);
  border-radius: var(--radius);
  background: #fff;
  color: #101820;
}

.promo-ribbon.is-hidden {
  display: none;
}

.promo-close {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #eef1f3;
  color: #27333d;
  font-size: 20px;
  line-height: 1;
}

.promo-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--accent);
  color: #101820;
  font-weight: 900;
}

.promo-ribbon strong,
.promo-ribbon span {
  display: block;
}

.promo-ribbon strong {
  font-size: 14px;
}

.promo-ribbon span {
  color: #53616d;
  font-size: 12px;
  line-height: 1.25;
}

.promo-ribbon a {
  align-self: center;
  padding: 9px 13px;
  border-radius: 999px;
  background: var(--accent);
  color: #111820;
  font-size: 13px;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: stretch;
  min-height: 254px;
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.95) 0%, rgba(20, 32, 42, 0.88) 42%, rgba(20, 32, 42, 0.26) 100%),
    url("assets/slider/shashlik-panorama.webp") center / cover no-repeat,
    #1a2832;
  overflow: hidden;
}

.slider-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1f2b34;
  cursor: pointer;
  font-size: 58px;
  line-height: 1;
  transform: translateY(-50%);
}

.slider-arrow--prev {
  left: 38px;
}

.slider-arrow--next {
  right: 38px;
}

.slider-dots {
  position: absolute;
  right: 24px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-dots button {
  position: relative;
  width: 34px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.slider-dots button::before {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 9px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  position: relative;
  z-index: 1;
}

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

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

h1 {
  margin-bottom: 10px;
  font-size: 44px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p {
  max-width: 640px;
  color: #c8d5dd;
  font-size: 18px;
  line-height: 1.55;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.hero-meta span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #f5fbff;
  font-size: 13px;
  font-weight: 700;
}

.hero-card {
  display: grid;
  grid-template-rows: 1fr auto auto;
  gap: 12px;
  min-width: 0;
  padding: 10px;
  border-radius: var(--radius);
  background: #111b23;
  box-shadow: var(--shadow);
}

.hero-card img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  border-radius: 6px;
}

.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card strong {
  margin-bottom: 4px;
  font-size: 18px;
}

.hero-card span {
  color: var(--muted);
  font-size: 13px;
}

.hero-add,
.primary {
  min-height: 44px;
  border-radius: 8px;
  background: var(--accent);
  color: #111820;
  font-weight: 900;
}

.deals,
.shop-tools,
.catalog,
.info-grid {
  margin-top: 18px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.section-heading h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.12;
}

.shop-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px 22px;
  align-items: center;
}

.shop-tools .section-heading {
  display: contents;
}

.shop-tools h2 {
  margin: 0;
  text-align: center;
}

.promo-activate {
  display: grid;
  grid-column: 1 / 2;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: min(470px, 100%);
  justify-self: center;
  height: 32px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.promo-activate input {
  width: 100%;
  height: 100%;
  padding: 0 14px;
  border: 0;
  background: transparent;
  color: #101820;
  outline: 0;
}

.promo-activate button {
  height: 100%;
  padding: 0 18px;
  border-left: 1px solid var(--accent);
  background: #fff;
  color: #d86900;
  font-size: 13px;
  font-weight: 800;
}

.price-toggle {
  display: flex;
  grid-row: 1 / 3;
  grid-column: 2 / 3;
  align-items: center;
  justify-content: end;
  gap: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.price-toggle button {
  padding: 5px 13px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: #fff;
  color: #d86900;
  font-weight: 800;
}

.gift-line {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  color: #cbd8e0;
  font-size: 12px;
  font-weight: 700;
}

.gift-line span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.deals-inline {
  display: none;
}

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

.deal-strip article {
  min-height: 132px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.deal-strip span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(245, 138, 31, 0.14);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
}

.deal-strip strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.deal-strip p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.category-bar-wrap {
  position: sticky;
  top: 64px;
  z-index: 30;
  margin: 18px -16px 0;
  padding: 8px 16px;
  background: rgba(21, 32, 41, 0.96);
  backdrop-filter: blur(12px);
}

.category-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-padding: 16px;
}

.category-bar::-webkit-scrollbar {
  display: none;
}

.category-chip {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #22313c;
  color: #d7e5ed;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.category-chip.is-active,
.category-chip:hover {
  border-color: transparent;
  background: var(--accent);
  color: #101820;
}

.catalog-section {
  scroll-margin-top: 128px;
  margin-bottom: 26px;
}

.catalog-section h2 {
  margin-bottom: 12px;
  font-size: 30px;
  line-height: 1.1;
}

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

.product-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(210px, 1fr) auto;
  min-height: 336px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  border-radius: 0;
  background: #31414d;
  filter: brightness(1.18) saturate(1.08) contrast(.96);
}

.product-picture {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  overflow: hidden;
}

.product-picture::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(255,255,255,.16);
  pointer-events: none;
}

.product-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px;
}

.product-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.product-title {
  margin: 0 0 5px;
  color: #fff;
  font-size: 16px;
  line-height: 1.22;
}

.product-desc {
  display: -webkit-box;
  min-height: 38px;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-tags {
  position: absolute;
  left: 12px;
  top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 22px;
  margin-bottom: 8px;
}

.product-tags span,
.weight-badge {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #dbe7ef;
  font-size: 11px;
  font-weight: 700;
}

.product-tags span {
  background: #19b867;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.18);
}

.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.price-button,
.qty-stepper {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px;
  min-width: 108px;
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid rgba(245, 138, 31, 0.75);
  border-radius: 8px;
  background: rgba(245, 138, 31, 0.08);
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 900;
}

.price-button i {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 15px;
}

.price-button i::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 4px;
  width: 12px;
  height: 8px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 2px;
}

.price-button i::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 7px 0 0 currentColor;
}

.qty-stepper {
  grid-template-columns: 28px 1fr 28px;
  padding: 0 5px;
  background: var(--accent);
  color: #101820;
}

.qty-stepper button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.36);
  color: #101820;
  font-weight: 900;
}

.qty-stepper span {
  text-align: center;
}

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

.info-grid article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.info-grid h2 {
  margin-bottom: 10px;
  font-size: 20px;
}

.info-grid p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.info-grid a {
  color: #fff;
  font-weight: 800;
}

.cart-panel {
  position: fixed;
  z-index: 70;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(440px, 100vw);
  height: 100dvh;
  padding: 14px;
  border-left: 1px solid var(--line);
  background: #f7f9fb;
  color: #111820;
  box-shadow: -24px 0 80px rgba(0, 0, 0, 0.32);
  transform: translateX(105%);
  transition: transform 180ms ease;
}

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

.cart-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(15, 24, 32, 0.1);
}

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

.cart-panel__head strong {
  font-size: 24px;
}

.cart-panel__head span {
  margin-top: 2px;
  color: #65717a;
  font-size: 13px;
}

.cart-items {
  overflow-y: auto;
  padding: 10px 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(15, 24, 32, 0.08);
}

.cart-line img {
  width: 54px;
  height: 54px;
  border-radius: 6px;
  object-fit: cover;
  background: #dce4e9;
}

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

.cart-line strong {
  overflow: hidden;
  font-size: 14px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-line span {
  margin-top: 3px;
  color: #67747d;
  font-size: 12px;
}

.cart-line .qty-stepper {
  min-width: 94px;
  min-height: 34px;
}

.cart-empty {
  display: grid;
  place-items: center;
  gap: 14px;
  min-height: 260px;
  text-align: center;
}

.cart-empty[hidden],
.cart-summary[hidden] {
  display: none !important;
}

.cart-summary {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(15, 24, 32, 0.1);
}

.progress-block {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  color: #394650;
  font-size: 13px;
  font-weight: 800;
}

.progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe6eb;
}

.progress-track i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 160ms cubic-bezier(.22, 1, .36, 1);
}

.cart-summary dl {
  display: grid;
  gap: 7px;
  margin: 0 0 12px;
}

.cart-summary dl div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-summary dt {
  color: #66737c;
}

.cart-summary dd {
  margin: 0;
  font-weight: 800;
}

.cart-summary .total {
  padding-top: 8px;
  border-top: 1px solid rgba(15, 24, 32, 0.1);
  font-size: 20px;
}

.order-form {
  display: grid;
  gap: 10px;
  max-height: 46dvh;
  overflow-y: auto;
  padding-right: 2px;
}

.order-form label {
  display: grid;
  gap: 5px;
}

.order-form label span {
  color: #4a5660;
  font-size: 12px;
  font-weight: 800;
}

.order-form input,
.order-form select,
.order-form textarea {
  width: 100%;
  border: 1px solid #ccd7df;
  border-radius: 8px;
  background: #fff;
  color: #101820;
  outline: 0;
}

.order-form input,
.order-form select {
  height: 42px;
  padding: 0 11px;
}

.order-form textarea {
  resize: vertical;
  padding: 10px 11px;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 138, 31, 0.15);
}

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

.checkbox-line {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 8px !important;
}

.checkbox-line input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
}

.checkbox-line span {
  font-weight: 600 !important;
  line-height: 1.35;
}

.order-note {
  margin: -2px 0 0;
  color: #6d7880;
  font-size: 12px;
  line-height: 1.35;
}

.cart-fab {
  position: fixed;
  z-index: 50;
  right: 16px;
  bottom: 16px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 220px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #111820;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
}

.cart-fab[hidden],
.cart-count[hidden] {
  display: none !important;
}

.cart-fab strong,
.cart-fab span {
  font-weight: 900;
}

.site-footer {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 18px 0 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer p {
  margin: 0 0 6px;
}

.privacy-page {
  min-height: 100dvh;
  background: #eef1f3;
  color: #17222b;
}

.privacy-shell {
  width: min(900px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.privacy-shell h1 {
  margin: 28px 0 12px;
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1;
}

.privacy-shell h2 {
  margin: 32px 0 10px;
  font-size: 22px;
}

.privacy-shell p,
.privacy-shell li {
  max-width: 75ch;
  color: #40505d;
  line-height: 1.65;
}

.privacy-shell a {
  color: #a94d00;
  text-decoration: underline;
}

@media (min-width: 901px) {
  .promo-ribbon {
    display: none;
  }

  .topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: 58px 48px;
    align-items: center;
    min-height: 130px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
  }

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

  .desktop-header-info {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    color: #14324c;
    font-size: 15px;
    font-weight: 800;
  }

  .desktop-header-info span {
    color: #1c2b38;
    font-size: 14px;
    line-height: 1.35;
  }

  .top-actions {
    grid-column: 3;
    grid-row: 1 / 3;
    align-self: start;
    padding-top: 4px;
  }

  /* Кнопка «Войти» на десктопе должна быть видна — как в референсе. */
  .top-actions .round-link:not(.cart-open):not(.login-open):not(.staff-login-open) {
    display: none;
  }

  .cart-open {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 174px;
    height: 40px;
    border-radius: 6px;
    background: #fff;
    color: #a0a7ad;
  }

  .cart-open .icon-cart {
    color: #a0a7ad;
  }

  .cart-label {
    display: inline;
    min-width: 0;
    overflow: hidden;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cart-count {
    right: -7px;
    top: -7px;
  }

  .desktop-category-bar {
    grid-column: 1 / 3;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 22px;
    overflow: hidden;
    white-space: nowrap;
  }

  .desktop-category-bar .category-chip {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #161b20;
    font-size: 15px;
  }

  .desktop-category-bar .category-chip.is-active,
  .desktop-category-bar .category-chip:hover {
    background: transparent;
    color: #d86900;
  }

  .category-bar-wrap {
    display: none;
  }

  .hero {
    min-height: 244px;
    height: 244px;
    margin-top: 0;
  }

  .hero-card {
    display: none;
  }

  .gift-line {
    display: none;
  }

  .product-card {
    min-height: 324px;
    grid-template-rows: 1fr;
  }

  .product-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
  }

  .product-picture {
    position: absolute;
    inset: 0;
  }

  .product-body {
    position: relative;
    z-index: 1;
    justify-content: flex-end;
    min-height: 100%;
    padding: 14px;
    background: linear-gradient(180deg, rgba(12, 18, 24, 0) 28%, rgba(12, 18, 24, 0.86) 100%);
  }

  .product-title {
    margin-bottom: 6px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  }

  .product-desc {
    min-height: 0;
    margin-bottom: 8px;
    color: #e1edf5;
    -webkit-line-clamp: 2;
  }

  .product-tags {
    z-index: 2;
  }

  .product-actions {
    align-items: end;
  }

  .weight-badge {
    background: rgba(16, 24, 32, 0.66);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 184px;
    padding: 18px 58px 24px 18px;
    background:
      linear-gradient(90deg, rgba(16, 24, 32, 0.96) 0%, rgba(20, 32, 42, 0.74) 55%, rgba(20, 32, 42, 0.24) 100%),
      url("https://lamadjo72.ru/upload/resize_cache/iblock/d60/254_197_2/2a36b0ajdyetjqnatlziitf34yv6nwri.jpg?168533721655635") right center / auto 100% no-repeat,
      #1a2832;
  }

  .hero-card {
    display: none;
  }

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

  .deals .section-heading {
    display: none;
  }

  .deal-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .deal-strip::-webkit-scrollbar {
    display: none;
  }

  .deal-strip article {
    flex: 0 0 206px;
    min-height: 82px;
    padding: 10px;
  }

  .deal-strip span {
    margin-bottom: 5px;
    padding: 4px 7px;
    font-size: 11px;
  }

  .deal-strip strong {
    margin-bottom: 0;
    font-size: 15px;
  }

  .deal-strip p {
    display: none;
  }

  .shop-tools {
    display: none;
  }

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

@media (min-width: 641px) and (max-width: 900px) {
  .promo-ribbon {
    display: none;
  }

  .hero {
    min-height: 108px;
    height: 108px;
    margin-top: 8px;
    padding: 12px 50px 12px 16px;
    overflow: hidden;
  }

  .hero p {
    display: none;
  }

  h1 {
    margin-bottom: 8px;
    font-size: 28px;
  }

  .hero-meta span {
    padding: 6px 8px;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .top-actions .staff-login-open {
    display: none !important;
  }

  .topbar {
    gap: 8px;
    padding: 8px 10px;
  }

  .topbar .brand {
    gap: 7px;
  }

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

  .topbar .brand strong {
    max-width: none;
    font-size: 18px;
    text-overflow: clip;
  }

  .topbar .brand small {
    font-size: 12px;
  }

  .top-actions {
    gap: 6px;
  }

  html {
    scroll-padding-top: 118px;
  }

  .topbar {
    min-height: 58px;
    padding: 8px 12px;
  }

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

  .brand strong {
    max-width: 150px;
    font-size: 15px;
  }

  .brand small {
    font-size: 11px;
  }

  .round-link {
    width: 38px;
    height: 38px;
  }

  .page-shell {
    width: 100%;
    padding: 10px 10px 86px;
  }

  .promo-ribbon {
    grid-template-columns: auto auto 1fr auto;
    gap: 8px;
    min-height: 64px;
    margin-bottom: 10px;
    padding: 8px;
  }

  .promo-ribbon a {
    grid-column: auto;
    justify-self: end;
    padding: 7px 11px;
    font-size: 12px;
  }

  .promo-icon {
    width: 34px;
    height: 34px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 164px;
    margin-bottom: 12px;
    padding: 16px 44px 20px 14px;
    gap: 12px;
    background:
      linear-gradient(90deg, rgba(16, 24, 32, 0.96) 0%, rgba(20, 32, 42, 0.74) 55%, rgba(20, 32, 42, 0.24) 100%),
      url("https://lamadjo72.ru/upload/resize_cache/iblock/d60/254_197_2/2a36b0ajdyetjqnatlziitf34yv6nwri.jpg?168533721655635") right center / auto 100% no-repeat,
      #1a2832;
  }

  h1 {
    margin-bottom: 6px;
    font-size: 27px;
  }

  .hero p {
    max-width: 220px;
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 1.35;
  }

  .hero-meta {
    gap: 6px;
    margin-top: 4px;
  }

  .hero-meta span {
    padding: 6px 7px;
    font-size: 11px;
  }

  .hero-card {
    display: none;
  }

  .hero-add {
    min-height: 38px;
    font-size: 13px;
  }

  .deals,
  .shop-tools,
  .catalog,
  .info-grid {
    margin-top: 12px;
  }

  .shop-tools {
    display: none;
  }

  .deals-inline {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-top: 10px;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .deals-inline::-webkit-scrollbar {
    display: none;
  }

  .deals-inline article {
    flex: 0 0 174px;
    min-height: 62px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
  }

  .deals-inline span {
    display: inline-flex;
    margin-bottom: 5px;
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(245, 138, 31, 0.16);
    color: var(--accent-strong);
    font-size: 11px;
    font-weight: 900;
  }

  .deals-inline strong {
    display: block;
    font-size: 14px;
  }

  .section-heading {
    margin-bottom: 8px;
  }

  .section-heading h2 {
    font-size: 22px;
  }

  .deal-strip {
    gap: 8px;
  }

  .deal-strip article {
    flex: 0 0 190px;
    min-height: 76px;
    padding: 9px;
  }

  .deal-strip span {
    margin-bottom: 5px;
    padding: 4px 7px;
    font-size: 11px;
  }

  .deal-strip strong {
    margin-bottom: 0;
    font-size: 14px;
  }

  .deal-strip p {
    display: none;
  }

  .category-bar-wrap {
    top: 58px;
    margin: 12px -10px 0;
    padding: 8px 10px;
  }

  .category-chip {
    padding: 8px 11px;
    font-size: 12px;
  }

  .catalog-section {
    scroll-margin-top: 112px;
    margin-bottom: 18px;
  }

  .catalog-section h2 {
    margin-bottom: 8px;
    font-size: 25px;
  }

  .product-list {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
  }

  .product-card {
    grid-template-columns: 126px minmax(0, 1fr);
    grid-template-rows: auto;
    min-height: 146px;
    padding: 10px 0;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }

  .product-card img {
    width: 118px;
    height: 118px;
    min-height: 0;
    margin-left: 2px;
  }

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

  .product-desc {
    min-height: 34px;
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 1.38;
  }

  .product-tags {
    min-height: 20px;
    margin-bottom: 6px;
  }

  .price-button,
  .qty-stepper {
    min-width: 102px;
    min-height: 38px;
    font-size: 13px;
  }

  .weight-badge {
    padding-inline: 6px;
  }

  .info-grid article {
    padding: 14px 12px;
  }

  .cart-panel {
    padding: 12px;
    transition: none;
  }

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

  .form-grid {
    grid-template-columns: 1fr;
  }

  .order-form {
    max-height: 48dvh;
  }

  .cart-fab {
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: flex;
    min-width: 0;
  }
}

/* Canonical header/footer geometry — measured against plovrf.com. */
@media (min-width: 901px) {
  .topbar {
    min-height: 130px;
    height: 130px;
    padding-top: 0;
    grid-template-rows: 81px 49px;
  }

  .brand {
    align-self: center;
  }

  .brand-logo {
    width: 205px;
    height: 70px;
    object-fit: contain;
  }

  .desktop-header-info {
    min-width: 0;
    gap: 18px;
    white-space: nowrap;
  }

  .desktop-header-info > a:first-child {
    font-size: 27px;
  }

  .desktop-header-info > a:not(:first-child),
  .desktop-header-info > span:not(.header-socials) {
    font-size: 14px;
  }

  .top-actions {
    gap: 8px;
  }

  .staff-login-open,
  .login-open {
    min-width: auto;
    padding: 0 12px;
  }
}

.hero {
  overflow: hidden;
}

.hero-copy {
  padding-bottom: 24px;
}

.hero-cta {
  margin-top: 2px;
}

.site-footer {
  min-height: 248px;
  height: auto;
  padding: 26px 4% 12px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.7fr 1.3fr;
  grid-template-rows: 1fr auto;
  gap: 14px 32px;
  background: #fff;
  color: #40505d;
}

.site-footer .footer-brand img {
  width: 245px;
  height: 76px;
  object-fit: contain;
}

.site-footer .footer-socials {
  align-content: center;
}

.site-footer .footer-contacts,
.site-footer .footer-navigation {
  align-content: start;
}

.site-footer strong,
.site-footer a,
.site-footer span {
  color: #40505d !important;
}

.developer-credit {
  grid-column: 1 / -1;
  min-height: 34px;
  padding-top: 10px;
  border-top: 1px solid #d9dee2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

@media (max-width: 900px) {
  .site-footer {
    padding: 28px 20px 18px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .developer-credit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-footer {
    min-height: 555px;
    padding: 20px 20px 14px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-footer .footer-brand img {
    width: 220px;
    height: 64px;
  }

  .developer-credit {
    grid-column: 1;
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}

@media (min-width: 641px) {
  .cart-fab:not([hidden]) {
    display: flex;
  }
}

@media (max-width: 390px) {
  .brand strong {
    max-width: 128px;
  }

  .top-actions {
    gap: 5px;
  }

  .round-link {
    width: 36px;
    height: 36px;
  }

  .hero-card {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .hero-add {
    grid-column: 2;
    width: 100%;
  }

  .product-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .product-card img {
    width: 104px;
    height: 104px;
  }

  .product-actions {
    gap: 6px;
  }

  .price-button,
  .qty-stepper {
    min-width: 94px;
    padding-inline: 8px;
  }
}

/* Catalog mosaic used by the desktop reference layout. */
@media (min-width: 981px) {
  .topbar .brand {
    width: 230px;
    min-width: 230px;
  }

  .desktop-header-info {
    gap: clamp(12px, 1vw, 18px);
  }

  .desktop-header-info > a:first-child {
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
  }

  .desktop-header-info > a:not(:first-child) {
    font-size: 16px;
    line-height: 1.18;
    font-weight: 900;
    white-space: nowrap;
  }

  .desktop-category-bar .category-chip {
    font-size: 17px;
    line-height: 1.18;
  }

  body:not(.privacy-page) { background: #fff8ef; }
  .topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    min-height: 130px;
    padding: 0 22px;
  }
  .desktop-header-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 2.4vw, 54px);
    min-width: 0;
    font-size: 14px;
    font-weight: 800;
  }
  .desktop-header-info > span { line-height: 1.25; }
  .top-actions { justify-self: end; }
  .top-actions .menu-open,
  .top-actions .round-link:first-child { display: none; }
  .top-actions .cart-open { width: 150px; border-radius: 4px; }
  .desktop-category-bar {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(20px, 1.7vw, 38px);
    min-height: 48px;
    overflow: hidden;
    border-top: 1px solid #edf0f2;
  }
  .desktop-category-bar .category-chip {
    flex: 0 0 auto;
    min-height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #17222b;
    font-size: 14px;
    font-weight: 850;
  }
  .desktop-category-bar .category-chip:first-child { color: #0877d1; }
  .page-shell {
    width: 100%;
    max-width: none;
    padding: 20px 15px 28px;
    background: #1f2b34;
  }
  .promo-ribbon,
  .category-bar-wrap,
  .shop-tools,
  .deals-inline { display: none !important; }
  .hero {
    width: min(100%, calc(100vw - 45px));
    height: 330px;
    min-height: 330px;
    margin: 0 auto 28px;
    border-radius: 0;
  }
  .hero-copy {
    left: clamp(280px, 21vw, 470px);
    max-width: 680px;
  }
  .hero-copy h1 {
    max-width: 640px;
    font-size: clamp(44px, 4vw, 68px);
    line-height: 1.02;
  }
  .hero-card { display: none; }
  .catalog {
    width: min(100%, calc(100vw - 45px));
    margin: 0 auto;
  }
  .catalog-section { margin-bottom: 34px; }
  .catalog-section h2 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 34px;
  }
  .product-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
  }
  .product-card {
    display: block;
    aspect-ratio: 488 / 560;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: #17232c;
  }
  .product-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(8, 16, 22, 0.06) 20%, rgba(8, 16, 22, 0.32) 52%, rgba(8, 16, 22, 0.96) 100%);
    pointer-events: none;
  }
  .product-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
  }
  .product-body {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    padding: 0;
  }
  .product-body > div:first-child {
    position: absolute;
    left: 22px;
    right: 140px;
    bottom: 22px;
  }
  .product-title {
    margin: 0 0 7px;
    font-size: clamp(18px, 1.25vw, 24px);
    line-height: 1.12;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
  }
  .product-desc {
    min-height: 0;
    margin: 0;
    color: #fff;
    font-size: 13px;
    line-height: 1.3;
    -webkit-line-clamp: 3;
  }
  .product-tags { left: 18px; top: 16px; }
  .product-actions {
    position: absolute;
    right: 18px;
    bottom: 18px;
    margin: 0;
  }
  .product-actions .weight-badge {
    position: absolute;
    right: calc(100% + 12px);
    bottom: 6px;
    white-space: nowrap;
  }
  .price-button,
  .qty-stepper {
    min-width: 116px;
    min-height: 48px;
    border: 0;
    border-radius: 4px;
    background: #0877d1;
    color: #fff;
    font-size: 18px;
  }
  .info-grid {
    width: min(100%, calc(100vw - 45px));
    margin: 38px auto 0;
    border-radius: 0;
    background: #fff;
    color: #17222b;
  }
  .site-footer { background: #fff; color: #40505d; }
}

@media (max-width: 640px) {
  body:not(.privacy-page) { background: #1f2b34; }
  .promo-ribbon,
  .hero,
  .shop-tools,
  .deals-inline { display: none !important; }
  .page-shell { padding-top: 0; }
  .category-bar-wrap { margin-top: 0; padding-top: 8px; }
  .catalog-section { margin-bottom: 30px; }
  .catalog-section h2 {
    margin: 0 10px 10px;
    color: #fff;
    font-size: 24px;
  }
  .product-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0 10px;
  }
  .product-card {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    grid-template-rows: 1fr;
    min-height: 158px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 0;
    background: transparent;
    padding: 0 0 14px;
    overflow: hidden;
  }
  .product-card img {
    width: 132px;
    height: 132px;
    min-height: 132px;
    border-radius: 5px;
  }

  .product-picture {
    width: 132px;
    height: 132px;
  }
  .product-body {
    position: relative;
    min-height: 132px;
    padding: 0 0 0 14px;
  }
  .product-title {
    padding-right: 4px;
    font-size: 17px;
    line-height: 1.18;
  }
  .product-desc {
    min-height: 0;
    padding-right: 4px;
    font-size: 14px;
    line-height: 1.22;
    -webkit-line-clamp: 2;
  }
  .product-tags { left: 82px; top: 0; }
  .product-actions {
    position: absolute;
    left: 14px;
    right: 0;
    bottom: 0;
    margin: 0;
  }
  .product-actions .weight-badge { font-size: 10px; }
  .price-button,
  .qty-stepper {
    min-width: 112px;
    min-height: 38px;
    border-color: #0877d1;
    background: #20313b;
    color: #fff;
  }
  .info-grid { margin: 24px 10px 0; }
}

@media (min-width: 981px) {
  .product-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .product-mosaic-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 17px;
    align-items: stretch;
  }

  .product-mosaic-stack {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 17px;
    min-width: 0;
  }

  .product-card--large {
    aspect-ratio: 488 / 655;
  }

  .product-card--small {
    aspect-ratio: 488 / 319;
  }

  .product-card--small .product-body > div:first-child {
    right: 138px;
    bottom: 18px;
  }

  .product-card--small .product-title {
    font-size: clamp(16px, 1.05vw, 21px);
  }

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

  .product-card--small .product-tags {
    left: 14px;
    top: 13px;
  }

  .product-card--small .product-tags span {
    font-size: 9px;
  }

  .product-card--small .product-actions {
    right: 14px;
    bottom: 14px;
  }

  .product-card--small .price-button,
  .product-card--small .qty-stepper {
    min-width: 108px;
    min-height: 42px;
    font-size: 15px;
  }
}

@media (max-width: 980px) {
  .product-mosaic-row,
  .product-mosaic-stack {
    display: contents;
  }
}

body:not(.privacy-page) {
  overflow-x: clip;
}

@media (min-width: 981px) {
  .desktop-header-info {
    gap: clamp(12px, 1vw, 18px) !important;
  }

  .hero-copy {
    left: 380px !important;
    width: 760px;
    max-width: 760px;
    padding-left: 0;
  }

  .hero-copy h1 {
    font-size: 54px;
    line-height: 1.02;
  }

  .product-body > .product-copy,
  .product-card--small .product-body > .product-copy {
    right: 178px !important;
  }

  .site-footer {
    padding-bottom: 49px;
  }
}

/* Final light-theme overrides: keep this block at EOF. */
body,
body:not(.privacy-page),
.page-shell {
  background: #f2f4f3 !important;
  color: #17232c;
}

.hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 34%, rgba(255,255,255,.18) 67%, rgba(255,255,255,.04) 100%),
    var(--hero-image) center / cover no-repeat,
    #fff !important;
}

.hero h1,
.hero-copy,
.hero p {
  color: #17232c;
}

.product-card::after {
  background: linear-gradient(180deg, rgba(255,255,255,0) 56%, rgba(255,255,255,.94) 66%, #fff 72%, #fff 100%) !important;
}

.product-card img {
  filter: none;
}

.product-card,
.info-grid article,
.site-footer {
  background: #fff;
}

.product-title {
  color: #17232c;
  text-shadow: none;
}

@media (min-width: 981px) {
  .product-card::after {
    content: none !important;
  }

  .product-body::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    height: 42%;
    background: #fff;
    pointer-events: none;
  }

  .product-copy,
  .product-actions {
    z-index: 1;
  }
}

/* 2026-07-29 verified card, slider, theme and footer corrections. */
.header-socials .social-link,
.site-footer .social-link {
  width: auto;
  min-width: 44px;
  padding: 0 5px;
}

.header-socials .social-link img,
.site-footer .social-link img {
  width: auto;
  max-width: 72px;
  height: 28px;
}

.hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.58) 36%, rgba(255,255,255,.1) 68%, transparent 100%),
    var(--hero-image) center / cover no-repeat,
    #fff !important;
}

.slider-arrow {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 8px;
  background: rgba(20,28,33,.72);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  font-size: 42px;
  font-weight: 400;
}

.slider-arrow:hover {
  background: #f58a1f;
}

.developer-credit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #e6eaed;
  color: #7b8790;
  font-size: 13px;
}

.developer-credit a {
  color: #0877d1 !important;
}

@media (min-width: 981px) {
  .product-card,
  .product-card--large,
  .product-card--small {
    position: relative;
    display: block !important;
    overflow: hidden;
    background: #e9eeeb;
  }

  .product-picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
  }

  .product-card img,
  .product-card--large img,
  .product-card--small img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: transparent;
  }

  .product-card::after {
    content: none !important;
    background: transparent !important;
  }

  .product-body {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: block;
    padding: 0;
  }

  .product-body::before {
    content: none !important;
  }

  .product-body > .product-copy,
  .product-card--small .product-body > .product-copy {
    position: absolute;
    left: 20px;
    right: 176px !important;
    bottom: 14px;
    padding: 10px 12px;
    border-radius: 7px;
    background: rgba(255,255,255,.94);
  }

  .product-card--small .product-body > .product-copy {
    left: 18px;
    bottom: 14px;
  }

  .product-card--small .product-title {
    font-size: clamp(16px, .95vw, 19px);
  }

  .product-actions {
    position: absolute;
    right: 14px;
    bottom: 14px;
    margin: 0;
  }
}

.product-picture::after {
  content: none !important;
  background: transparent !important;
}

/* One consolidated footer: no duplicated information block above it. */
.site-footer {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.site-footer .footer-delivery,
.site-footer .footer-payment {
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #566670;
  font-size: 14px;
}

.site-footer .footer-delivery strong,
.site-footer .footer-payment strong,
.site-footer .footer-contacts strong {
  color: #24323b;
  font-size: 16px;
}

@media (max-width: 980px) {
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .product-card img {
    object-fit: cover;
    background: transparent;
  }

  .developer-credit {
    flex-direction: column;
    align-items: center;
  }
}

/* Final light-theme overrides kept last so desktop parity rules cannot darken them. */
body,
body:not(.privacy-page),
.page-shell {
  background: #f2f4f3 !important;
  color: #17232c;
}

.hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 34%, rgba(255,255,255,.18) 67%, rgba(255,255,255,.04) 100%),
    var(--hero-image) center / cover no-repeat,
    #fff !important;
}

.hero h1,
.hero-copy,
.hero p {
  color: #17232c;
}

.product-card::after {
  background: linear-gradient(180deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.82) 55%, #fff 68%, #fff 100%) !important;
}

.product-card img {
  filter: none;
}

.product-card,
.info-grid article,
.site-footer {
  background: #fff;
}

.product-title {
  color: #17232c;
  text-shadow: none;
}

/* Light restaurant theme. */
:root {
  color-scheme: light;
  --bg: #f2f4f3;
  --bg-deep: #ffffff;
  --panel: #ffffff;
  --panel-soft: #f5f7f6;
  --line: rgba(23, 35, 44, .12);
  --text: #17232c;
  --muted: #586872;
  --accent: #f58a1f;
  --accent-strong: #c95808;
  --shadow: 0 8px 20px rgba(23, 35, 44, .1);
}

body,
body:not(.privacy-page) {
  background: #f2f4f3;
  color: #17232c;
}

.page-shell {
  background: #f2f4f3;
}

.hero {
  border-color: rgba(23, 35, 44, .12);
  background:
    linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 34%, rgba(255,255,255,.18) 67%, rgba(255,255,255,.04) 100%),
    var(--hero-image) center / cover no-repeat,
    #fff;
}

.hero h1,
.hero-copy {
  color: #17232c;
}

.hero p {
  color: #344650;
}

.eyebrow {
  color: #b84d09;
}

.hero-meta span {
  border-color: rgba(23, 35, 44, .14);
  background: rgba(255,255,255,.82);
  color: #17232c;
}

.slider-arrow {
  border-color: rgba(23,35,44,.18);
  background: rgba(255,255,255,.94);
  color: #17232c;
}

.catalog-section h2 {
  color: #17232c !important;
}

.product-card {
  background: #fff;
  box-shadow: 0 4px 14px rgba(23, 35, 44, .09);
}

.product-card::after {
  background: linear-gradient(180deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.45) 58%, rgba(255,255,255,.98) 82%, #fff 100%);
}

.product-card img {
  background: #eef1ef;
  filter: brightness(1.3) saturate(.98) contrast(.9);
}

.product-title {
  color: #17232c;
  text-shadow: none;
}

.product-desc {
  color: #3d505a;
}

.weight-badge {
  border: 1px solid rgba(23,35,44,.1);
  background: #eef2f1;
  color: #344650;
}

.price-button,
.qty-stepper {
  background: #f58a1f;
  color: #17232c;
}

.info-grid {
  background: #fff;
  color: #17232c;
}

.info-grid article {
  border-color: rgba(23,35,44,.12);
  background: #fff;
}

.info-grid h2 {
  color: #17232c !important;
}

.info-grid p,
.info-grid a {
  color: #42545e !important;
}

.site-footer {
  border-color: rgba(23,35,44,.12);
  background: #fff;
  color: #17232c;
}

@media (min-width: 981px) {
  body:not(.privacy-page),
  .page-shell {
    background: #f2f4f3;
  }
}

@media (max-width: 640px) {
  body:not(.privacy-page),
  .page-shell {
    background: #f2f4f3;
  }

  .catalog-section h2 {
    color: #17232c;
  }

  .product-card {
    border-bottom-color: rgba(23,35,44,.12);
    background: #fff;
  }

  .product-card img {
    background: #eef1ef;
  }

  .price-button,
  .qty-stepper {
    border-color: #f58a1f;
    background: #fff2e5;
    color: #9d3f06;
  }
}

@media (min-width: 981px) {
  .desktop-category-bar .category-chip {
    font-size: 17px;
    line-height: 1.18;
    font-weight: 850;
  }
}

/* 2026-07-28 reference-parity pass: header, slider, cards and footer. */
.brand-mark {
  background: transparent;
  box-shadow: none;
}

.brand-mark img {
  object-fit: contain;
}

.brand strong {
  font-size: 25px;
  letter-spacing: .025em;
}

.brand small {
  color: #d85416;
  font-family: "Segoe Script", "Marck Script", cursive;
  font-size: 15px;
  font-weight: 800;
}

.header-socials {
  display: flex !important;
  align-items: center;
  gap: 7px;
}

.social-link {
  display: inline-grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  min-width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 6px;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 900;
  line-height: 1;
}

.social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-svg,
.price-cart-svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  --hero-image: url("assets/slider/shashlik-panorama.webp");
  grid-template-columns: 1fr;
  background:
    linear-gradient(90deg, rgba(12, 17, 20, .96) 0%, rgba(12, 17, 20, .83) 36%, rgba(12, 17, 20, .08) 70%),
    var(--hero-image) center / cover no-repeat,
    #111;
  transition: background-image .25s ease;
}

.hero-copy {
  max-width: 620px;
  padding-left: 72px;
}

.hero-copy h1 {
  font-size: clamp(43px, 4vw, 64px);
}

.slider-arrow {
  z-index: 5;
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.slider-arrow:hover {
  background: #f58a1f;
  transform: translateY(-50%) scale(1.06);
}

.slider-arrow:focus-visible {
  outline: 3px solid #f58a1f;
  outline-offset: 3px;
}

.slider-arrow:active {
  transform: translateY(-50%) scale(.96);
}

.slider-dots button {
  width: 34px;
  height: 24px;
  transform: none;
}

.slider-dots button::before {
  transition: background .2s ease;
}

.slider-dots button.is-active::before {
  background: #f58a1f;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.product-tags {
  z-index: 4;
  max-width: calc(100% - 36px);
  pointer-events: none;
}

.product-copy {
  min-width: 0;
}

.price-button {
  grid-template-columns: auto 20px;
}

.price-button > i {
  display: none;
}

.product-card img {
  object-position: center;
}

.site-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: auto auto minmax(280px, 1fr) minmax(260px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 30px clamp(22px, 4vw, 56px) 34px;
  background: #fff;
  color: #24323b;
  text-align: left;
}

.site-footer .footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer .footer-brand img {
  width: 70px;
  height: 70px;
}

.site-footer .footer-brand strong,
.site-footer .footer-brand small {
  display: block;
}

.site-footer .footer-brand strong {
  color: #17232c;
  font-size: 22px;
  font-weight: 950;
}

.site-footer .footer-brand small {
  color: #d85416;
  font-family: "Segoe Script", cursive;
  font-size: 14px;
  font-weight: 800;
}

.site-footer .footer-socials,
.site-footer .footer-contacts,
.site-footer .footer-navigation,
.site-footer .footer-delivery,
.site-footer .footer-payment {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
}

.site-footer .footer-socials {
  align-items: center;
}

.site-footer .footer-socials > span {
  flex-basis: 100%;
  color: #6a7680;
  font-size: 12px;
  font-weight: 800;
}

.site-footer .footer-contacts,
.site-footer .footer-navigation,
.site-footer .footer-delivery,
.site-footer .footer-payment {
  flex-direction: column;
}

.site-footer a {
  color: #24323b;
  font-weight: 750;
}

.site-footer .footer-navigation a {
  color: #566670;
  font-size: 14px;
  font-weight: 750;
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid #e6eaed;
  color: #7b8790;
  font-size: 12px;
  text-align: center;
}

@media (min-width: 981px) {
  .desktop-header-info > span:not(.header-socials) {
    white-space: nowrap;
  }

  .product-card::before {
    content: none;
  }

  .product-card img {
    z-index: 0;
  }

  .product-card--large img {
    object-fit: cover;
    background: transparent;
  }

  .product-body > .product-copy,
  .product-card--small .product-body > .product-copy {
    position: absolute;
    left: 22px;
    right: 178px;
    bottom: 22px;
  }

  .product-card--small .product-body > .product-copy {
    left: 18px;
    bottom: 18px;
  }

  .product-title {
    overflow-wrap: anywhere;
    font-size: 20px;
    line-height: 1.14;
  }

  .product-card--small .product-title {
    font-size: 20px;
    line-height: 1.14;
  }

  .product-card--small .weight-badge {
    display: none;
  }

  .product-desc {
    font-size: 15px;
    line-height: 1.32;
    font-weight: 750;
  }

  .price-button,
  .qty-stepper {
    font-size: 20px;
    font-weight: 950;
    min-width: 132px;
  }

  .site-footer {
    font-size: 16px;
  }

  .info-grid h2 {
    color: #fff;
  }

  .info-grid p {
    color: #c2d0d9;
  }
}

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

  .header-socials {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: 100vw !important;
    max-width: 100vw !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .catalog {
    width: 100% !important;
    max-width: 100% !important;
  }

  .product-list {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
  }

  .product-card {
    grid-template-columns: 132px minmax(0, calc(100vw - 172px)) !important;
    width: 100% !important;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-bottom: 94px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .product-tags {
    left: 8px;
    top: 8px;
    max-width: 116px;
  }

  .product-body > .product-copy {
    position: static;
  }

  .product-title {
    max-width: calc(100vw - 172px);
    padding-right: 0;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .product-card img {
    object-fit: contain;
    background: #17232c;
  }

  .product-card,
  .product-body,
  .product-copy {
    min-width: 0;
    max-width: 100%;
  }

  .product-body {
    width: calc(100vw - 172px) !important;
    overflow: hidden;
  }

  .product-actions {
    left: 14px;
    right: 6px;
    gap: 6px;
  }

  .price-button,
  .qty-stepper {
    min-width: 96px;
    min-height: 44px;
    padding-inline: 8px;
  }

  .price-cart-svg {
    width: 17px;
    height: 17px;
  }

  .round-link {
    width: 44px;
    height: 44px;
  }

  .category-chip {
    min-height: 44px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .info-grid a,
  .site-footer .footer-contacts a,
  .site-footer .footer-navigation a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .site-footer .social-link {
    flex-basis: 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
  }
}

/* Final desktop parity overrides verified against the reference site. */
@media (min-width: 981px) {
  .desktop-header-info {
    gap: clamp(12px, 1vw, 18px) !important;
  }

  .hero-copy {
    left: 380px !important;
    width: 760px;
    max-width: 760px;
    padding-left: 0;
  }

  .hero-copy h1 {
    font-size: 54px;
    line-height: 1.02;
  }

  .product-body > .product-copy,
  .product-card--small .product-body > .product-copy {
    right: 178px !important;
  }

  .site-footer {
    padding-bottom: 49px;
  }
}

/* Active light theme — intentionally last. */
body,
body:not(.privacy-page),
.page-shell {
  background: #f2f4f3 !important;
  color: #17232c;
}

.hero {
  background:
    linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.88) 34%, rgba(255,255,255,.18) 67%, rgba(255,255,255,.04) 100%),
    var(--hero-image) center / cover no-repeat,
    #fff !important;
}

.hero h1,
.hero-copy,
.hero p {
  color: #17232c;
}

.product-card::after {
  background: linear-gradient(180deg, rgba(255,255,255,0) 0 58%, #fff 58% 100%) !important;
}

.product-card img {
  filter: brightness(1.42) saturate(.94) contrast(.84);
}

.product-card,
.info-grid article,
.site-footer {
  background: #fff;
}

.product-title {
  color: #17232c;
  text-shadow: none;
}

@media (min-width: 981px) {
  .product-card::after {
    content: none !important;
  }

  .product-body::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    height: 42%;
    background: #fff;
    pointer-events: none;
  }

  .product-copy,
  .product-actions {
    z-index: 1;
  }
}

/* Reference parity layer: one fixed PlovRF-style presentation. */
/* Замеры сняты с прода пловрф.com 2026-08-12, см. AGENTS.md. */

/* Страница светлая-кремовая, тёмная только полоса каталога. */
body,
body:not(.privacy-page) {
  background: #fff8ef !important;
  color: #17232c;
}

/* Тёмная полоса во всю ширину: слайдер + категории + каталог. */
.page-shell {
  background: #1f2b34 !important;
  color: #fff;
}

.topbar {
  background: #fff !important;
  border-bottom: 1px solid #e2e5e7;
  color: #111a22;
}

.topbar a,
.desktop-header-info,
.desktop-header-info a,
.desktop-category-bar a {
  color: #111a22 !important;
}

.login-open,
.staff-login-open {
  width: auto;
  min-width: 72px;
  padding: 0 18px;
  border: 0;
  border-radius: 4px;
  background: #eff1f2;
  font-size: 15px;
}

.staff-login-open {
  min-width: 112px;
  padding: 0 12px;
}

.top-actions .cart-open {
  display: flex;
  width: 178px;
  min-width: 178px;
  padding: 0 14px;
  border: 0;
  border-radius: 4px;
  background: #f58a1f;
  color: #111820;
}

.cart-open .cart-svg {
  width: 22px;
  height: 22px;
  margin-right: 9px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-open .cart-label {
  display: block;
  flex: 1;
  overflow: hidden;
  font-size: 14px;
  font-weight: 800;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-open .cart-count {
  position: static;
  flex: 0 0 auto;
  min-width: 22px;
  height: 22px;
  background: #fff;
  color: #111820;
}

/* Референс: padding 20px 15px 28px, ширина контента = окно минус 30px.
   Никакого max-width — иначе на широком мониторе появляются пустые «уши». */
.page-shell {
  width: 100%;
  max-width: none;
  padding: 20px 15px 28px;
}

/* Референс: высота 330px, радиус 7px, отступ снизу 22px. */
.hero {
  grid-template-columns: 1fr;
  min-height: 330px;
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(31,43,52,.9) 0%, rgba(31,43,52,.62) 31%, rgba(31,43,52,.12) 62%, rgba(31,43,52,0) 100%),
    var(--hero-image) center / cover no-repeat,
    #1f2b34 !important;
}

/* Референс: left 410px, width 760px. */
.hero-copy {
  left: auto !important;
  width: min(760px, calc(100% - 470px));
  max-width: 760px;
  margin-left: 410px;
  padding: 44px 0 48px;
  color: #fff !important;
}

@media (max-width: 1199px) {
  .hero-copy {
    width: min(760px, calc(100% - 180px));
    margin-left: 110px;
  }
}

.hero-copy h1 {
  margin-bottom: 14px;
  color: #fff !important;
  font-size: clamp(34px, 2.55vw + 17px, 68px);
  line-height: 1.02;
}

.hero-copy p {
  color: #e3e8eb !important;
}

.hero-cta {
  align-self: flex-start;
  margin-top: 20px;
  padding: 14px 24px;
  border-radius: 4px;
  background: #f58a1f;
  color: #111820 !important;
  font-size: 16px;
  font-weight: 900;
}

.slider-arrow {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #1f2b34;
  font-size: 42px;
}

.slider-arrow--prev { left: 26px; }
.slider-arrow--next { right: 26px; }

.slider-dots {
  left: 50%;
  right: auto;
  bottom: 22px;
  transform: translateX(-50%);
}

.slider-dots button {
  width: 34px;
  height: 18px;
}

.slider-dots button::before {
  height: 4px;
  background: rgba(255,255,255,.56);
}

.slider-dots button.is-active::before {
  background: #f58a1f;
}

.category-bar-wrap {
  margin: 0;
}

/* Каталог тянется во всю ширину полосы, как на референсе.
   Ширину здесь не ограничивать — ограничение даёт padding у .page-shell. */
.catalog {
  width: 100%;
  margin: 0;
}

/* Высоту ряда задаёт колонка из двух маленьких карточек.
   Большой карточке нельзя оставлять aspect-ratio: она вылезала из своей
   колонки на 4px и наезжала на промежуток. */
@media (min-width: 981px) {
  .product-card--large {
    aspect-ratio: auto;
    width: 100%;
    height: 100%;
  }
}

.catalog-section h2 {
  color: #fff;
  font-size: 34px;
}

.product-card,
.product-card--large,
.product-card--small {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: #17232c !important;
  color: #fff;
  overflow: hidden;
}

.product-card::after,
.product-body::before,
.product-picture::after {
  content: none !important;
  display: none !important;
  background: none !important;
}

.product-picture,
.product-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.product-card img {
  display: block;
  object-fit: cover;
  object-position: center;
  background: #17232c;
  filter: none !important;
}

.product-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  width: auto !important;
  min-height: 128px;
  padding: 52px 18px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(7,13,17,.78) 38%, rgba(7,13,17,.96) 100%);
  overflow: visible;
}

.product-copy,
.product-card--small .product-body > .product-copy {
  position: static !important;
  padding-right: 168px;
}

.product-title {
  margin-bottom: 5px;
  color: #fff;
  font-size: 20px;
  line-height: 1.12;
  text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

.product-desc {
  min-height: 0;
  margin: 0;
  color: #d8dfe3;
  font-size: 15px;
}

.product-actions {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: auto;
  gap: 8px;
}

.weight-badge {
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(11,18,23,.76);
  color: #fff;
  font-size: 11px;
}

.product-tags {
  z-index: 3;
  left: 14px;
  top: 14px;
  gap: 5px;
}

.product-tags span {
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 12px;
  background: #19b867;
  font-size: 11px;
  line-height: 1;
}

.price-button,
.qty-stepper {
  min-width: 112px;
  min-height: 44px;
  border: 0;
  border-radius: 4px;
  background: #f58a1f;
  color: #111820;
  font-size: 16px;
}

.price-cart-svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.05fr .75fr 1.25fr 1.35fr 1.15fr;
  gap: 30px;
  padding: 42px max(30px, calc((100vw - 1395px) / 2)) 24px;
  background: #0b141b !important;
  color: #d8e0e5;
}

.site-footer strong,
.site-footer a,
.site-footer span {
  color: inherit;
}

.footer-bottom,
.developer-credit {
  grid-column: 1 / -1;
}

@media (min-width: 981px) {
  .topbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: 76px 54px;
    min-height: 130px;
    padding: 0 max(30px, calc((100vw - 1395px) / 2));
  }

  .desktop-header-info {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 1vw, 18px) !important;
    font-size: 14px;
  }

  .desktop-category-bar {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #e5e7e8;
  }

  .desktop-category-bar .category-chip {
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #111820;
    font-size: 17px;
  }

  .menu-open,
  .top-actions > a[href^="tel"] {
    display: none;
  }

  .product-body > .product-copy,
  .product-card--small .product-body > .product-copy {
    position: static !important;
    inset: auto !important;
    padding: 0 168px 0 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  .product-card--small .product-body > .product-copy {
    padding-right: 148px !important;
  }
}

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

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

  .brand strong { font-size: 16px; }
  .brand small { font-size: 10px; }

  .top-actions {
    display: flex !important;
    flex: 0 0 auto;
    gap: 5px;
  }

  .round-link,
  .top-actions .cart-open {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 4px;
  }

  .top-actions > a[href^="tel"],
  .top-actions .cart-open,
  .top-actions .menu-open {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .login-open,
  .staff-login-open,
  .cart-open .cart-label,
  .cart-open .cart-count {
    display: none;
  }

  .cart-open .cart-svg {
    margin: 0;
  }

  .hero {
    display: grid !important;
    min-height: 390px;
  }

  .hero-copy {
    width: calc(100% - 104px);
    margin-left: 62px;
    padding: 48px 0 58px;
  }

  .hero-copy h1 {
    font-size: clamp(36px, 8vw, 48px);
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
  }

  .slider-arrow--prev { left: 8px; }
  .slider-arrow--next { right: 8px; }

  .catalog {
    width: calc(100vw - 20px);
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 32px 20px 24px;
  }
}

@media (max-width: 640px) {
  .brand > span:last-child {
    display: none;
  }

  .hero {
    display: grid !important;
    min-height: 360px;
    background:
      linear-gradient(90deg, rgba(10,18,24,.85), rgba(10,18,24,.18)),
      var(--hero-image) center / cover no-repeat,
      #101a22 !important;
  }

  .hero-copy {
    width: calc(100% - 72px);
    margin-left: 36px;
    padding: 40px 0 54px;
  }

  .hero-copy h1 { font-size: 38px; }
  .hero-copy > p:not(.eyebrow) { font-size: 15px; }
  .hero-meta { display: none; }

  .product-card,
  .product-card--large,
  .product-card--small {
    min-height: 440px;
  }

  .product-body {
    min-height: 130px;
    padding: 52px 14px 14px;
  }

  .product-copy,
  .product-card--small .product-body > .product-copy {
    padding-right: 0;
    padding-bottom: 52px;
  }

  .product-title { font-size: 19px; }
  .product-desc { font-size: 14px; }

  .product-actions {
    right: 12px;
    bottom: 12px;
    left: 12px;
    justify-content: space-between;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 16px 22px;
  }

  .footer-bottom,
  .developer-credit {
    grid-column: 1;
  }
}

body:not(.privacy-page) .catalog-section > h2 {
  color: #fff !important;
  text-shadow: none !important;
}

body:not(.privacy-page) .product-card .product-title,
body:not(.privacy-page) .product-card .product-desc {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.72) !important;
}

/* Final reference-only corrections. */
.brand {
  width: 230px;
  height: 62px;
  overflow: hidden;
}

.brand-logo {
  display: block;
  width: 230px;
  height: 62px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* Все три знака — 48x48 с rx=14, скругление задаёт сам SVG,
   поэтому обёртку не обрезаем: иначе углы срезаются дважды. */
.header-socials .social-link,
.site-footer .social-link {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.header-socials .social-link img,
.site-footer .social-link img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: cover;
}

@media (min-width: 981px) {
  .desktop-header-info {
    justify-content: flex-start;
    padding-left: 22px;
  }

  .top-actions {
    gap: 8px;
  }
}

@media (max-width: 980px) {
  .brand {
    width: min(212px, calc(100vw - 166px));
    height: 48px;
  }

  .brand-logo {
    width: 100%;
    height: 48px;
  }
}

@media (max-width: 420px) {
  .topbar {
    flex-wrap: nowrap;
  }

  .brand {
    width: calc(100vw - 164px);
    min-width: 112px;
  }

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

/* --------------------------------------------------------------------------
   Мобильная раскладка каталога.
   Слой parity выше сделал карточку «фото на всю плитку», и на телефоне это
   ломало компактный список: карточка вырастала до 440px вместо 159px.
   Здесь возвращаем горизонтальную карточку, как на пловрф.com (замер 375px:
   карточка 355x159, фото слева, полоса каталога без боковых отступов).
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .page-shell {
    padding: 12px 0 22px;
  }

  /* Слайдер на телефоне на референсе есть, высота 173px. */
  .hero {
    display: grid !important;
    min-height: 173px;
    margin: 0 10px 14px;
    border-radius: 7px;
  }

  .hero-copy {
    width: calc(100% - 32px);
    margin-left: 16px;
    padding: 14px 0 16px;
  }

  .hero-copy h1 {
    font-size: 22px;
  }

  .hero-copy p {
    font-size: 13px;
    line-height: 1.25;
  }

  /* На телефоне слайдер референса компактный — цифры вынесены в каталог. */
  .hero-meta {
    display: none;
  }

  .product-card,
  .product-card--large,
  .product-card--small {
    position: relative;
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    grid-template-rows: 1fr;
    aspect-ratio: auto;
    min-height: 158px;
    padding: 0 0 14px;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    background: transparent !important;
  }

  .product-picture,
  .product-card img {
    position: relative;
    inset: auto;
    width: 132px;
    height: 132px;
    min-height: 132px;
    border-radius: 5px;
  }

  .product-body {
    position: relative;
    inset: auto;
    min-height: 132px;
    padding: 0 0 0 14px;
    background: none;
  }

  .product-copy {
    padding-right: 0;
  }

  .product-actions {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 14px;
  }
}

/* Final measured parity overrides. Keep at EOF. */
@media (min-width: 901px) {
  .topbar {
    grid-template-columns: 150px minmax(0, 1fr) 430px !important;
    padding-right: 15px !important;
    padding-left: 15px !important;
  }

  .brand-logo {
    width: 140px !important;
    height: 68px !important;
    object-fit: contain !important;
  }

  .desktop-header-info {
    justify-content: flex-start !important;
    gap: clamp(7px, .65vw, 12px) !important;
    font-size: 10px !important;
    white-space: nowrap;
  }

  .header-socials {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    gap: 5px !important;
  }

  .header-socials .social-link {
    width: 22px !important;
    height: 22px !important;
  }

  .desktop-header-info > span:not(.header-socials) {
    display: none !important;
  }

  .top-actions {
    gap: 6px !important;
    width: 430px !important;
    justify-content: flex-end !important;
  }

  .top-actions .round-link {
    padding-right: 10px !important;
    padding-left: 10px !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }

  .hero-copy {
    height: 330px !important;
    padding: 38px 0 28px !important;
  }

  .hero-cta {
    margin-top: 8px !important;
  }

  .site-footer {
    min-height: 248px !important;
    padding: 26px 4% 12px !important;
    gap: 14px 32px !important;
    background: #fff !important;
    color: #40505d !important;
  }

  .site-footer strong,
  .site-footer a,
  .site-footer span {
    color: #40505d !important;
  }

  .site-footer .footer-brand picture {
    display: block;
    width: 230px !important;
    max-height: 76px !important;
  }

  .site-footer .footer-brand img {
    display: block;
    width: 230px !important;
    height: auto !important;
    max-height: 76px !important;
    object-fit: contain !important;
  }

  .developer-credit {
    min-height: 34px !important;
    padding-top: 10px !important;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 173px !important;
    height: 173px !important;
  }

  .hero-copy {
    height: 173px !important;
    width: calc(100% - 120px) !important;
    margin-left: 60px !important;
    padding: 24px 0 22px !important;
    text-align: center !important;
  }

  .hero-copy > p:not(.eyebrow),
  .hero-meta {
    display: none !important;
  }

  .hero-copy h1 {
    margin-top: 8px !important;
    font-size: 24px !important;
    line-height: 1.05 !important;
  }

  .hero-cta {
    display: none !important;
  }

  .site-footer {
    min-height: 555px !important;
    padding: 20px 16px 14px !important;
    gap: 12px !important;
    background: #1f2b34 !important;
    color: #fff !important;
  }

  .site-footer strong,
  .site-footer a,
  .site-footer span {
    color: #fff !important;
  }

  .site-footer .footer-brand picture {
    width: 230px !important;
    max-height: 64px !important;
  }

  .site-footer .footer-brand img {
    width: 230px !important;
    height: auto !important;
    max-height: 64px !important;
    object-fit: contain !important;
    filter: none !important;
  }

  .site-footer .footer-contacts,
  .site-footer .footer-navigation {
    gap: 5px !important;
  }

  .site-footer a,
  .site-footer span {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .developer-credit {
    min-height: 42px !important;
    padding-top: 8px !important;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .site-footer strong,
  .site-footer a,
  .site-footer span {
    color: #fff !important;
  }

  .site-footer .footer-brand picture {
    display: block;
    width: 230px !important;
    max-height: 64px !important;
  }

  .site-footer .footer-brand img {
    display: block;
    width: 230px !important;
    height: auto !important;
    max-height: 64px !important;
    object-fit: contain !important;
    filter: none !important;
  }
}

.analytics-consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 95;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  width: min(640px, calc(100vw - 32px));
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(11, 20, 27, 0.96);
  color: #fff;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.analytics-consent[hidden] {
  display: none !important;
}

.analytics-consent__copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.analytics-consent__copy p {
  margin: 0;
  color: #d7e0e5;
  font-size: 13px;
  line-height: 1.45;
}

.analytics-consent__copy a {
  color: #fff;
  text-decoration: underline;
}

.analytics-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.analytics-consent__button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 4px;
  background: #f58a1f;
  color: #111820;
  font-size: 14px;
  font-weight: 900;
}

.analytics-consent__button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
}

@media (max-width: 640px) {
  .analytics-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: 1fr;
    gap: 12px;
    width: auto;
    padding: 14px;
  }

  .analytics-consent__actions {
    justify-content: stretch;
  }

  .analytics-consent__button {
    flex: 1 1 100%;
  }
}
