@font-face {
  font-family: "Manrope CBD";
  src: url("./assets/fonts/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope CBD";
  src: url("./assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --shop-bg: #090b0a;
  --shop-surface: #121513;
  --shop-surface-2: #191d1a;
  --shop-line: rgba(235, 204, 130, 0.16);
  --shop-gold: #d4aa56;
  --shop-gold-light: #f1d58f;
  --shop-text: #f7f3e9;
  --shop-muted: #a9ada7;
  --shop-danger: #e98675;
  --shop-success: #7fc18d;
  --shop-width: 760px;
  --shop-telegram-top: 0px;
}

.shop-app[hidden],
.shop-modal[hidden],
.shop-nav[hidden],
.shop-header[hidden],
.shop-header [hidden] {
  display: none !important;
}

body.shop-open {
  min-height: 100svh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% -10%, rgba(187, 132, 47, 0.17), transparent 34%),
    var(--shop-bg);
}

body.modal-open {
  overflow: hidden;
}

.shop-app {
  min-height: 100svh;
  color: var(--shop-text);
  background:
    radial-gradient(circle at 85% 0%, rgba(190, 139, 56, 0.12), transparent 30%),
    linear-gradient(180deg, #0d100e 0%, var(--shop-bg) 36%);
  font-family: "Manrope CBD", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.shop-app button,
.shop-app input,
.shop-app select,
.shop-app textarea {
  font: inherit;
}

.shop-app button {
  color: inherit;
}

.shop-header {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 50%;
  width: min(100%, var(--shop-width));
  min-height: calc(64px + var(--safe-top));
  padding: calc(10px + var(--safe-top)) 14px 10px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto 40px;
  gap: 8px;
  align-items: center;
  transform: translateX(-50%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 10, 9, 0.9);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.shop-icon-button,
.shop-brand,
.warehouse-pill {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.shop-icon-button {
  position: relative;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.035);
}

.shop-icon-button > span {
  font-size: 25px;
  line-height: 1;
}

.shop-back > span {
  margin-top: -2px;
  font-size: 34px;
  font-weight: 200;
}

.shop-brand {
  min-width: 0;
  padding: 0;
  display: flex;
  gap: 9px;
  align-items: center;
  text-align: left;
}

.shop-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.shop-brand > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.shop-brand strong {
  color: var(--shop-gold-light);
  font-family: "Anton CBD", Impact, sans-serif;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.08em;
}

.shop-brand small {
  overflow: hidden;
  color: var(--shop-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.warehouse-pill {
  min-height: 34px;
  padding: 0 11px;
  display: flex;
  gap: 7px;
  align-items: center;
  border: 1px solid rgba(212, 170, 86, 0.2);
  border-radius: 99px;
  color: var(--shop-gold-light);
  background: rgba(212, 170, 86, 0.07);
  font-size: 11px;
  font-weight: 700;
}

.warehouse-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--shop-gold);
  box-shadow: 0 0 8px rgba(212, 170, 86, 0.9);
}

.shop-cart-button > span {
  transform: rotate(180deg);
}

.shop-cart-button b,
.shop-nav b {
  position: absolute;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border: 2px solid var(--shop-bg);
  border-radius: 99px;
  color: #18120a;
  background: var(--shop-gold-light);
  font-size: 9px;
  line-height: 1;
}

.shop-cart-button b {
  top: -4px;
  right: -4px;
}

.shop-view {
  width: min(100%, var(--shop-width));
  min-height: 100svh;
  margin: 0 auto;
  padding: calc(78px + var(--safe-top)) 14px calc(104px + var(--safe-bottom));
  outline: none;
}

.screen-section {
  animation: shop-screen-in 320ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
}

.eyebrow {
  color: var(--shop-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.screen-section h1 {
  margin: 8px 0 0;
  font-family: "Anton CBD", Impact, sans-serif;
  font-size: clamp(36px, 11vw, 62px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.screen-lead {
  max-width: 480px;
  margin: 18px 0 0;
  color: var(--shop-muted);
  font-size: 15px;
  line-height: 1.5;
}

.warehouse-screen {
  min-height: calc(100svh - 100px - var(--safe-top));
  padding: clamp(26px, 8vh, 80px) 4px 24px;
  display: flex;
  flex-direction: column;
}

.warehouse-grid {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}

.warehouse-card {
  position: relative;
  width: 100%;
  padding: 15px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 28px;
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 21px;
  color: var(--shop-text);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    var(--shop-surface);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.warehouse-card:active {
  transform: scale(0.985);
}

.warehouse-card.is-selected {
  border-color: rgba(231, 192, 110, 0.75);
  background:
    radial-gradient(circle at 85% 0%, rgba(212, 170, 86, 0.18), transparent 35%),
    var(--shop-surface-2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(212, 170, 86, 0.08);
}

.warehouse-card__icon {
  width: 52px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(212, 170, 86, 0.28);
  border-radius: 17px;
  color: var(--shop-gold-light);
  background: linear-gradient(145deg, rgba(212, 170, 86, 0.16), rgba(212, 170, 86, 0.03));
  font-family: "Anton CBD", Impact, sans-serif;
  font-size: 17px;
  letter-spacing: 0.04em;
}

.warehouse-card > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.warehouse-card strong {
  font-size: 16px;
}

.warehouse-card small {
  color: var(--shop-muted);
  font-size: 11px;
  line-height: 1.35;
}

.warehouse-card i {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  color: transparent;
  font-size: 12px;
  font-style: normal;
}

.warehouse-card.is-selected i {
  border-color: var(--shop-gold);
  color: #17120a;
  background: var(--shop-gold-light);
}

.telegram-auth-card {
  margin-top: 16px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(78, 163, 220, 0.15);
  border-radius: 17px;
  background: rgba(55, 141, 200, 0.055);
}

.telegram-auth-card__icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #07151e;
  background: #69bce9;
  font-size: 17px;
  font-weight: 900;
}

.telegram-auth-card > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.telegram-auth-card strong {
  font-size: 13px;
}

.telegram-auth-card small {
  color: #95aebc;
  font-size: 10px;
  line-height: 1.4;
}

.primary-action,
.secondary-action {
  min-height: 58px;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: center;
  border: 0;
  border-radius: 18px;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.primary-action {
  color: #151109 !important;
  background: linear-gradient(110deg, #b98d3f, #f1d58f 52%, #c79846);
  box-shadow: 0 15px 35px rgba(190, 139, 58, 0.2), inset 0 1px rgba(255, 255, 255, 0.55);
}

.primary-action:disabled {
  opacity: 0.38;
  cursor: default;
  box-shadow: none;
}

.warehouse-screen > .primary-action {
  width: 100%;
  margin-top: auto;
}

.secondary-action {
  width: 100%;
  border: 1px solid rgba(212, 170, 86, 0.26);
  color: var(--shop-gold-light);
  background: rgba(212, 170, 86, 0.07);
}

.catalog-intro {
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
}

.verification-badge {
  flex: 0 0 auto;
  margin-top: 6px;
  padding: 7px 9px;
  border: 1px solid rgba(232, 158, 90, 0.25);
  border-radius: 99px;
  color: #e7b37e;
  background: rgba(232, 158, 90, 0.07);
  font-size: 9px;
  font-weight: 800;
}

.verification-badge.is-verified {
  border-color: rgba(127, 193, 141, 0.25);
  color: #9ed1a8;
  background: rgba(127, 193, 141, 0.07);
}

.catalog-warehouse-note {
  width: 100%;
  margin-top: 22px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--shop-line);
  border-radius: 15px;
  color: var(--shop-text);
  background: linear-gradient(90deg, rgba(212, 170, 86, 0.1), rgba(212, 170, 86, 0.025));
  text-align: left;
}

.catalog-warehouse-note > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.catalog-warehouse-note small {
  color: var(--shop-muted);
  font-size: 9px;
}

.catalog-warehouse-note strong {
  font-size: 13px;
}

.catalog-warehouse-note > span:last-child {
  color: var(--shop-gold-light);
  font-size: 11px;
  font-weight: 700;
}

.catalog-search {
  min-height: 50px;
  margin-top: 14px;
  padding: 0 13px;
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 16px;
  color: var(--shop-muted);
  background: rgba(255, 255, 255, 0.045);
}

.catalog-search > span {
  font-size: 23px;
  transform: rotate(-20deg);
}

.catalog-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--shop-text);
  background: transparent;
  font-size: 14px;
}

.catalog-search input::placeholder {
  color: #727872;
}

.catalog-search button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: var(--shop-muted);
  background: rgba(255, 255, 255, 0.06);
}

.filter-row {
  margin: 14px -14px 0;
  padding: 0 14px 3px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar {
  display: none;
}

.filter-row button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  color: #b7bab6;
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
  font-weight: 650;
}

.filter-row button.is-active {
  border-color: var(--shop-gold-light);
  color: #17120a;
  background: var(--shop-gold-light);
}

.catalog-toolbar {
  margin: 17px 0 11px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}

.catalog-toolbar p {
  margin: 0;
  color: var(--shop-muted);
  font-size: 11px;
}

.catalog-toolbar p strong {
  color: var(--shop-text);
}

.catalog-toolbar label {
  display: flex;
  gap: 7px;
  align-items: center;
  color: var(--shop-muted);
  font-size: 10px;
}

.catalog-toolbar select,
.field-label select {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  outline: 0;
  color: var(--shop-text);
  background: #171a18;
}

.catalog-toolbar select {
  max-width: 130px;
  padding: 7px 23px 7px 8px;
  font-size: 10px;
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 19px;
  background: linear-gradient(180deg, #151915, #101310);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.16);
}

.product-card__open {
  position: relative;
  width: 100%;
  padding: 0;
  display: block;
  border: 0;
  background: transparent;
}

.product-art {
  --art-1: #76511f;
  --art-2: #281a0d;
  position: relative;
  min-height: 165px;
  overflow: hidden;
  display: grid;
  place-items: end center;
  background: linear-gradient(145deg, var(--art-2), #090b09 72%);
  background:
    radial-gradient(circle at 70% 22%, color-mix(in srgb, var(--art-1) 55%, transparent), transparent 31%),
    linear-gradient(145deg, var(--art-2), #090b09 72%);
}

.product-art--gold {
  --art-1: #d8a943;
  --art-2: #47300f;
}

.product-art--copper {
  --art-1: #bd6d35;
  --art-2: #3a1c12;
}

.product-art--honey {
  --art-1: #e0ba57;
  --art-2: #49370f;
}

.product-art--ice {
  --art-1: #76b1bd;
  --art-2: #183036;
}

.product-art--berry {
  --art-1: #a84f6b;
  --art-2: #371521;
}

.product-art--bread {
  --art-1: #a36b35;
  --art-2: #352013;
}

.product-art--apple {
  --art-1: #8ca744;
  --art-2: #273213;
}

.product-art__glow {
  position: absolute;
  top: 7%;
  right: 7%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--art-1);
  filter: blur(28px);
  opacity: 0.24;
}

.product-art__bottle {
  position: relative;
  z-index: 1;
  width: 49px;
  height: 122px;
  margin-bottom: -9px;
  border: 1px solid rgba(247, 220, 164, 0.32);
  border-radius: 12px 12px 15px 15px;
  background: linear-gradient(180deg, var(--art-1), #0c0f0c);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent 28% 66%, rgba(255, 209, 122, 0.12)),
    linear-gradient(180deg, color-mix(in srgb, var(--art-1) 36%, #171813), #0c0f0c);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.06), 0 20px 28px rgba(0, 0, 0, 0.35);
}

.product-art__bottle::before {
  content: "";
  position: absolute;
  top: -38px;
  left: 14px;
  width: 19px;
  height: 42px;
  border: 1px solid rgba(247, 220, 164, 0.27);
  border-bottom: 0;
  border-radius: 6px 6px 2px 2px;
  background: #151914;
}

.product-art__bottle::after {
  content: "";
  position: absolute;
  top: 42px;
  left: 5px;
  width: 37px;
  height: 42px;
  border: 1px solid rgba(247, 220, 164, 0.27);
  background: linear-gradient(150deg, rgba(234, 199, 119, 0.17), rgba(0, 0, 0, 0.45));
  box-shadow: 0 0 15px rgba(216, 169, 67, 0.08);
}

.product-art > strong {
  position: absolute;
  z-index: 2;
  right: 9px;
  bottom: 9px;
  color: rgba(255, 255, 255, 0.23);
  font-family: "Anton CBD", Impact, sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-art--compact {
  flex: 0 0 70px;
  width: 70px;
  min-height: 82px;
  border-radius: 14px;
}

.product-art--compact .product-art__bottle {
  width: 25px;
  height: 59px;
  margin-bottom: -4px;
  border-radius: 5px 5px 7px 7px;
}

.product-art--compact .product-art__bottle::before {
  top: -19px;
  left: 7px;
  width: 9px;
  height: 20px;
  border-radius: 3px 3px 1px 1px;
}

.product-art--compact .product-art__bottle::after,
.product-art--compact > strong {
  display: none;
}

.product-card__priority {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 234, 187, 0.3);
  border-radius: 99px;
  color: #1a1206;
  background: linear-gradient(100deg, #d1a24e, #f0d38d);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-card__body {
  padding: 11px;
}

.product-card__meta,
.product-card__package {
  margin: 0;
  color: var(--shop-muted);
  font-size: 9px;
}

.product-card h3 {
  min-height: 35px;
  margin: 5px 0 4px;
  font-size: 14px;
  line-height: 1.22;
}

.product-card__footer {
  min-height: 39px;
  margin-top: 11px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-end;
}

.product-card__footer > div:first-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.product-card__footer strong {
  font-size: 13px;
}

.product-card__footer small {
  color: var(--shop-muted);
  font-size: 8px;
}

.round-add {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 12px;
  color: #1a1307 !important;
  background: var(--shop-gold-light);
  font-size: 23px;
  font-weight: 400;
}

.mini-stepper,
.cart-stepper {
  display: flex;
  align-items: center;
  border: 1px solid rgba(212, 170, 86, 0.24);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(212, 170, 86, 0.07);
}

.mini-stepper button {
  width: 29px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--shop-gold-light);
  font-size: 18px;
}

.mini-stepper span {
  min-width: 21px;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
}

.page-heading {
  padding: 16px 0 22px;
}

.page-heading h1 {
  font-size: clamp(38px, 12vw, 64px);
}

.page-heading > p {
  margin: 10px 0 0;
  color: var(--shop-muted);
  font-size: 13px;
}

.empty-state {
  padding: 48px 20px;
  display: grid;
  justify-items: center;
  text-align: center;
}

.empty-state--large {
  min-height: 58svh;
  align-content: center;
}

.empty-state > span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid var(--shop-line);
  border-radius: 22px;
  color: var(--shop-gold-light);
  background: rgba(212, 170, 86, 0.06);
  font-size: 30px;
}

.empty-state h2 {
  margin: 18px 0 0;
  font-size: 20px;
}

.empty-state p {
  max-width: 280px;
  margin: 8px 0 0;
  color: var(--shop-muted);
  font-size: 13px;
  line-height: 1.5;
}

.empty-state button {
  min-height: 42px;
  margin-top: 20px;
  padding: 0 17px;
  border: 1px solid var(--shop-line);
  border-radius: 13px;
  color: var(--shop-gold-light);
  background: rgba(212, 170, 86, 0.07);
  font-size: 12px;
  font-weight: 750;
}

.cart-list {
  display: grid;
  gap: 10px;
}

.cart-item {
  padding: 10px;
  display: flex;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  background: var(--shop-surface);
}

.cart-item__content {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.cart-item small,
.cart-item p {
  color: var(--shop-muted);
  font-size: 9px;
}

.cart-item h3 {
  margin: 3px 0;
  font-size: 13px;
}

.cart-item p {
  margin: 0;
}

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

.cart-item__actions > strong {
  font-size: 12px;
}

.cart-stepper button {
  width: 31px;
  height: 31px;
  border: 0;
  color: var(--shop-gold-light);
  background: transparent;
  font-size: 17px;
}

.cart-stepper input {
  width: 34px;
  border: 0;
  outline: 0;
  color: var(--shop-text);
  background: transparent;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  appearance: textfield;
}

.cart-stepper input::-webkit-inner-spin-button {
  appearance: none;
}

.field-label {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-label > span {
  color: var(--shop-muted);
  font-size: 11px;
  font-weight: 650;
}

.field-label textarea,
.field-label select,
.field-label input {
  width: 100%;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  outline: none;
  color: var(--shop-text);
  background: var(--shop-surface);
}

.field-label textarea {
  resize: vertical;
  border-radius: 15px;
  font-size: 13px;
}

.field-label select,
.field-label input {
  min-height: 45px;
  border-radius: 13px;
}

.field-label input {
  font-size: 13px;
}

.order-summary {
  margin-top: 16px;
  padding: 17px;
  border: 1px solid var(--shop-line);
  border-radius: 20px;
  background:
    radial-gradient(circle at 90% 0%, rgba(212, 170, 86, 0.12), transparent 35%),
    var(--shop-surface);
}

.order-summary > div {
  padding: 6px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--shop-muted);
  font-size: 12px;
}

.order-summary > div strong {
  color: var(--shop-text);
}

.order-summary__total {
  margin-top: 8px;
  padding-top: 14px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 17px !important;
}

.order-summary__total strong {
  color: var(--shop-gold-light) !important;
}

.order-summary > p {
  margin: 9px 0 15px;
  color: var(--shop-muted);
  font-size: 9px;
  line-height: 1.5;
}

.order-summary .primary-action {
  width: 100%;
}

.orders-list {
  display: grid;
  gap: 10px;
}

.order-card {
  width: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  color: var(--shop-text);
  background: var(--shop-surface);
  text-align: left;
}

.order-card__top,
.order-card__bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.order-card__top > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-card small,
.order-card__bottom > span {
  color: var(--shop-muted);
  font-size: 10px;
}

.order-card__top strong {
  font-size: 14px;
}

.order-card__bottom {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.order-card__bottom strong {
  color: var(--shop-gold-light);
  font-size: 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid rgba(111, 158, 211, 0.25);
  border-radius: 99px;
  color: #9fc2e8;
  background: rgba(91, 145, 206, 0.08);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill.is-success {
  border-color: rgba(127, 193, 141, 0.25);
  color: #a4d9ad;
  background: rgba(127, 193, 141, 0.08);
}

.status-pill.is-warning {
  border-color: rgba(222, 174, 81, 0.28);
  color: #ebc578;
  background: rgba(222, 174, 81, 0.08);
}

.status-pill.is-danger {
  border-color: rgba(233, 134, 117, 0.25);
  color: #f0a699;
  background: rgba(233, 134, 117, 0.08);
}

.order-detail__heading {
  padding: 16px 0 22px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
}

.order-detail__heading h1 {
  font-size: clamp(34px, 10vw, 56px);
}

.order-progress {
  margin-bottom: 14px;
  padding: 16px;
  display: grid;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  background: var(--shop-surface);
}

.order-progress > div {
  position: relative;
  min-height: 48px;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
}

.order-progress > div:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: -4px;
  left: 5px;
  width: 1px;
  background: rgba(212, 170, 86, 0.25);
}

.order-progress i {
  width: 11px;
  height: 11px;
  margin-top: 3px;
  border: 2px solid var(--shop-gold);
  border-radius: 50%;
  background: var(--shop-surface);
}

.order-progress .is-current i {
  background: var(--shop-gold);
  box-shadow: 0 0 12px rgba(212, 170, 86, 0.65);
}

.order-progress span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-progress strong {
  font-size: 12px;
}

.order-progress small {
  color: var(--shop-muted);
  font-size: 9px;
}

.detail-card {
  margin-top: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 18px;
  background: var(--shop-surface);
}

.detail-card__heading {
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.detail-card h2 {
  margin: 0;
  font-size: 14px;
}

.detail-card__heading > strong {
  color: var(--shop-gold-light);
  font-size: 14px;
}

.order-line {
  padding: 11px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.order-line > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.order-line > span strong {
  font-size: 11px;
}

.order-line small {
  color: var(--shop-muted);
  font-size: 9px;
}

.order-line > strong {
  font-size: 11px;
}

.invoice-card {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.invoice-card > div {
  min-width: 0;
  display: flex;
  gap: 11px;
  align-items: center;
}

.invoice-card__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--shop-line);
  border-radius: 13px;
  color: var(--shop-gold-light);
  background: rgba(212, 170, 86, 0.07);
  font-size: 18px;
  font-weight: 800;
}

.invoice-card h2 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.invoice-card p {
  margin: 4px 0 0;
  color: var(--shop-muted);
  font-size: 9px;
}

.invoice-card button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 11px;
  border: 0;
  border-radius: 11px;
  color: #171108;
  background: var(--shop-gold-light);
  font-size: 9px;
  font-weight: 850;
}

.document-waiting {
  color: var(--shop-muted);
  font-size: 9px;
}

.document-row {
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
}

.document-row small {
  color: var(--shop-muted);
  font-size: 9px;
}

.order-detail > .secondary-action,
.admin-screen > .secondary-action {
  margin-top: 14px;
}

.profile-hero {
  padding: 18px 0 22px;
  display: flex;
  gap: 15px;
  align-items: center;
}

.profile-avatar {
  flex: 0 0 67px;
  width: 67px;
  height: 67px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(238, 205, 134, 0.38);
  border-radius: 22px;
  color: #181107;
  background: linear-gradient(135deg, #ac7e35, #f0d38b);
  box-shadow: 0 15px 30px rgba(184, 132, 47, 0.18);
  font-family: "Anton CBD", Impact, sans-serif;
  font-size: 30px;
}

.profile-hero > div {
  min-width: 0;
}

.profile-hero h1 {
  overflow: hidden;
  font-family: inherit;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.profile-hero p {
  margin: 5px 0 0;
  color: var(--shop-muted);
  font-size: 11px;
}

.profile-status {
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(232, 158, 90, 0.18);
  border-radius: 17px;
  background: rgba(232, 158, 90, 0.055);
}

.profile-status.is-verified {
  border-color: rgba(127, 193, 141, 0.18);
  background: rgba(127, 193, 141, 0.055);
}

.profile-status > span {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #1a1109;
  background: #e6aa74;
  font-weight: 900;
}

.profile-status.is-verified > span {
  background: #91cc9d;
}

.profile-status > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-status strong {
  font-size: 12px;
}

.profile-status small {
  color: var(--shop-muted);
  font-size: 9px;
}

.profile-details > div {
  padding: 11px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-details > div:last-child {
  border-bottom: 0;
}

.profile-details span {
  color: var(--shop-muted);
  font-size: 10px;
}

.profile-details strong {
  overflow: hidden;
  font-size: 11px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.settings-row {
  width: 100%;
  min-height: 63px;
  margin-top: 9px;
  padding: 0 15px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  color: var(--shop-text);
  background: var(--shop-surface);
  text-align: left;
}

.settings-row > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.settings-row small {
  color: var(--shop-muted);
  font-size: 9px;
}

.settings-row strong {
  font-size: 12px;
}

.settings-row i {
  color: var(--shop-gold);
  font-size: 24px;
  font-style: normal;
}

.settings-row--admin {
  border-color: var(--shop-line);
}

.security-note {
  margin: 16px 5px 0;
  color: #767c76;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.admin-note {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(212, 170, 86, 0.18);
  border-radius: 14px;
  color: #c9b58c;
  background: rgba(212, 170, 86, 0.05);
  font-size: 10px;
  line-height: 1.45;
}

.registration-form {
  padding: 1px 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 20px;
  background: var(--shop-surface);
}

.registration-form .primary-action {
  width: 100%;
  margin-top: 18px;
}

.telegram-link-note {
  margin-top: 16px;
  padding: 11px;
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(85, 166, 220, 0.16);
  border-radius: 14px;
  background: rgba(70, 151, 205, 0.05);
}

.telegram-link-note > span {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #07151e;
  background: #69bce9;
  font-weight: 900;
}

.telegram-link-note p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.telegram-link-note strong {
  font-size: 11px;
}

.telegram-link-note small {
  color: var(--shop-muted);
  font-size: 9px;
}

.admin-client-card {
  margin: 0 0 12px;
}

.admin-client-card > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.admin-client-card span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-client-card small {
  color: var(--shop-muted);
  font-size: 8px;
}

.admin-client-card strong {
  font-size: 11px;
}

.admin-client-card button,
.admin-order button {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--shop-line);
  border-radius: 10px;
  color: var(--shop-gold-light);
  background: rgba(212, 170, 86, 0.07);
  font-size: 8px;
  font-weight: 800;
}

.priority-list {
  display: grid;
  gap: 9px;
}

.admin-orders {
  margin-top: 24px;
}

.admin-orders .page-heading {
  padding-bottom: 12px;
}

.admin-orders .page-heading h2 {
  margin: 5px 0 0;
  font-size: 20px;
}

.admin-order {
  min-height: 57px;
  margin-top: 7px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: var(--shop-surface);
}

.admin-order > span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin-order small {
  color: var(--shop-muted);
  font-size: 8px;
}

.admin-order strong {
  font-size: 11px;
}

.admin-order i {
  color: var(--shop-success);
  font-size: 9px;
  font-style: normal;
}

.priority-item {
  padding: 9px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 37px;
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 17px;
  background: var(--shop-surface);
}

.priority-item .product-art--compact {
  width: 58px;
  min-height: 72px;
}

.priority-item > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.priority-item small {
  color: var(--shop-muted);
  font-size: 8px;
}

.priority-item strong {
  overflow: hidden;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.priority-item label {
  margin-top: 4px;
  display: flex;
  gap: 5px;
  align-items: center;
  color: #aeb2ad;
  font-size: 8px;
}

.priority-item label input {
  accent-color: var(--shop-gold);
}

.priority-item__actions {
  display: grid;
  gap: 5px;
}

.priority-item__actions button {
  width: 34px;
  height: 29px;
  border: 1px solid var(--shop-line);
  border-radius: 9px;
  color: var(--shop-gold-light);
  background: rgba(212, 170, 86, 0.06);
}

.priority-item__actions button:disabled {
  opacity: 0.2;
}

.shop-nav {
  position: fixed;
  z-index: 35;
  bottom: 0;
  left: 50%;
  width: min(100%, var(--shop-width));
  min-height: calc(67px + var(--safe-bottom));
  padding: 7px 10px calc(7px + var(--safe-bottom));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  transform: translateX(-50%);
  border-top: 1px solid rgba(255, 255, 255, 0.065);
  background: rgba(9, 11, 10, 0.92);
  box-shadow: 0 -18px 35px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.shop-nav button {
  position: relative;
  min-height: 49px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  border: 0;
  border-radius: 13px;
  color: #767d76;
  background: transparent;
}

.shop-nav button > span {
  font-size: 20px;
  line-height: 1;
}

.shop-nav button small {
  font-size: 8px;
  font-weight: 700;
}

.shop-nav button.is-active {
  color: var(--shop-gold-light);
  background: rgba(212, 170, 86, 0.065);
}

.shop-nav b {
  top: 1px;
  left: calc(50% + 7px);
}

.shop-modal {
  position: fixed;
  z-index: 80;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.shop-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.shop-modal__sheet {
  position: relative;
  z-index: 1;
  width: min(100%, var(--shop-width));
  max-height: calc(94svh - var(--safe-top));
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  background: #0d100e;
  box-shadow: 0 -25px 60px rgba(0, 0, 0, 0.55);
  animation: shop-sheet-in 340ms cubic-bezier(0.18, 0.78, 0.22, 1) both;
}

.shop-modal__sheet > .product-art {
  min-height: 250px;
}

.shop-modal__sheet > .product-art .product-art__bottle {
  width: 75px;
  height: 180px;
}

.shop-modal__sheet > .product-art .product-art__bottle::before {
  top: -53px;
  left: 22px;
  width: 29px;
  height: 57px;
}

.shop-modal__sheet > .product-art .product-art__bottle::after {
  top: 66px;
  left: 7px;
  width: 59px;
  height: 60px;
}

.modal-close {
  position: absolute;
  z-index: 3;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  color: var(--shop-text);
  background: rgba(0, 0, 0, 0.48);
  font-size: 22px;
}

.product-modal__body {
  padding: 18px 16px calc(18px + var(--safe-bottom));
}

.product-modal__body h2 {
  margin: 6px 0 0;
  font-size: 25px;
}

.product-modal__description {
  margin: 10px 0 0;
  color: var(--shop-muted);
  font-size: 12px;
  line-height: 1.55;
}

.product-specs {
  margin: 17px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
}

.product-specs > div {
  min-width: 0;
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--shop-surface);
}

.product-specs dt {
  color: var(--shop-muted);
  font-size: 8px;
}

.product-specs dd {
  margin: 0;
  overflow: hidden;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-modal__price {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.product-modal__price > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.product-modal__price small {
  color: var(--shop-muted);
  font-size: 8px;
}

.product-modal__price strong {
  color: var(--shop-gold-light);
  font-size: 22px;
}

.product-modal__price .primary-action {
  min-height: 48px;
  padding: 0 19px;
}

.availability-note {
  margin: 14px 0 0;
  color: #9eb5a2;
  font-size: 9px;
}

.availability-note i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--shop-success);
  box-shadow: 0 0 7px rgba(127, 193, 141, 0.65);
}

.shop-toast {
  position: fixed;
  z-index: 100;
  bottom: calc(82px + var(--safe-bottom));
  left: 50%;
  max-width: min(calc(100% - 30px), 430px);
  padding: 12px 16px;
  border: 1px solid rgba(236, 208, 147, 0.24);
  border-radius: 13px;
  color: var(--shop-text);
  background: rgba(25, 29, 26, 0.97);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  text-align: center;
  transform: translate(-50%, 18px);
  transition: opacity 180ms ease, transform 180ms ease;
  font-size: 11px;
}

.shop-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.loading-screen {
  padding-top: 10svh;
}

.loading-logo {
  width: 82px;
  height: 82px;
  display: block;
  opacity: 0.65;
}

.loading-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.loading-line {
  width: 65%;
  height: 22px;
  margin-top: 28px;
  border-radius: 8px;
  background: linear-gradient(90deg, #151915, #242920, #151915);
  background-size: 200% 100%;
  animation: shop-loading 1.2s linear infinite;
}

.loading-line--short {
  width: 42%;
  height: 13px;
  margin-top: 10px;
}

.loading-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.loading-grid i {
  aspect-ratio: 0.72;
  border-radius: 18px;
  background: linear-gradient(90deg, #121612, #222720, #121612);
  background-size: 200% 100%;
  animation: shop-loading 1.2s linear infinite;
}

@keyframes shop-screen-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shop-sheet-in {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes shop-loading {
  to {
    background-position: -200% 0;
  }
}

@media (min-width: 620px) {
  .shop-view {
    padding-right: 22px;
    padding-left: 22px;
  }

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

@media (max-width: 360px) {
  .shop-header {
    grid-template-columns: 37px minmax(0, 1fr) auto 37px;
    padding-right: 9px;
    padding-left: 9px;
  }

  .shop-icon-button {
    width: 37px;
    height: 37px;
  }

  .shop-brand img {
    width: 34px;
    height: 34px;
  }

  .warehouse-pill {
    padding: 0 8px;
  }

  .shop-view {
    padding-right: 10px;
    padding-left: 10px;
  }

  .catalog-intro {
    align-items: flex-end;
  }

  .catalog-intro h1 {
    font-size: 34px;
  }

  .verification-badge {
    padding: 6px 7px;
    font-size: 8px;
  }

  .product-card__body {
    padding: 9px;
  }

  .product-card h3 {
    font-size: 12px;
  }

  .product-art {
    min-height: 145px;
  }

  .invoice-card {
    align-items: flex-start;
  }

  .invoice-card button,
  .document-waiting {
    margin-top: 4px;
  }
}

/* Cards now have adaptive heights. Do not virtualize them with an estimated
   height: that can move the load-more control during a mobile tap. Images stay
   lazy-loaded and catalog pages are appended in small batches instead. */

html.platform-android .shop-header,
html.platform-android .shop-nav {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

html.platform-android
  .product-card[class*="product-card--seam-"]
  .product-card__open
  .product-art--image.product-art--framed
  .product-art__main {
  filter: none !important;
}

html.platform-android .product-card .availability i::after {
  animation: none !important;
}

/* v37: persistent summary of collapsed catalog filters */
.active-filter-summary {
  margin: 10px 0 12px;
  padding: 12px;
  border: 1px solid rgba(173, 128, 27, 0.3);
  border-radius: 17px;
  color: #241f16;
  background:
    radial-gradient(circle at 7% 0, rgba(217, 174, 65, 0.17), transparent 38%),
    linear-gradient(145deg, rgba(255, 253, 246, 0.99), rgba(244, 237, 218, 0.98));
  box-shadow:
    0 12px 28px rgba(77, 52, 8, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.active-filter-summary__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.active-filter-summary__heading > span {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.active-filter-summary__heading strong {
  color: #292218;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.15;
}

.active-filter-summary__heading small {
  color: #817867;
  font-size: 13.5px;
  font-weight: 750;
  line-height: 1.25;
}

.active-filter-summary__heading > button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(171, 57, 47, 0.62);
  border-radius: 11px;
  color: #fff5f2;
  background: linear-gradient(145deg, #b44a40, #792823);
  box-shadow:
    inset 0 1px 0 rgba(255, 224, 218, 0.18),
    0 7px 16px rgba(101, 25, 20, 0.2);
  font-size: 13px;
  font-weight: 900;
}

.active-filter-summary__chips {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.active-filter-summary__chips > button {
  max-width: 100%;
  min-height: 39px;
  padding: 6px 8px 6px 12px;
  border: 1px solid rgba(195, 150, 45, 0.38);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #f4ead0;
  background:
    linear-gradient(145deg, rgba(216, 173, 67, 0.09), transparent 58%),
    #171713;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 6px 14px rgba(38, 28, 8, 0.15);
  font-size: 13px;
  font-weight: 800;
}

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

.active-filter-summary__chips > button i {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #241b0c;
  background: linear-gradient(145deg, #efd078, #c8952e);
  box-shadow: inset 0 1px 0 rgba(255, 247, 211, 0.6);
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.active-filter-summary__chips > button:active,
.active-filter-summary__heading > button:active {
  transform: scale(0.97);
}

@media (max-width: 350px) {
  .active-filter-summary {
    padding: 10px;
    border-radius: 15px;
  }

  .active-filter-summary__heading strong {
    font-size: 15.5px;
  }

  .active-filter-summary__heading small {
    font-size: 12.5px;
  }

  .active-filter-summary__heading > button {
    min-height: 40px;
    padding-inline: 11px;
    font-size: 12px;
  }

  .active-filter-summary__chips > button {
    min-height: 37px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen-section,
  .shop-modal__sheet,
  .loading-line,
  .loading-grid i {
    animation: none;
  }
}

/* Refined mobile typography and Telegram fullscreen spacing. */
html.inside-telegram {
  --shop-telegram-top: max(
    92px,
    var(--tg-content-safe-area-inset-top, 0px),
    var(--tg-safe-area-inset-top, 0px),
    env(safe-area-inset-top, 0px)
  );
}

.shop-header {
  top: var(--shop-telegram-top);
}

.shop-header .shop-back[hidden] {
  display: grid !important;
  visibility: hidden;
  pointer-events: none;
}

.shop-view {
  padding-top: calc(78px + var(--shop-telegram-top));
}

.shop-app.is-auth-route .shop-view {
  padding-top: calc(24px + var(--shop-telegram-top));
  padding-bottom: calc(28px + var(--safe-bottom));
}

.shop-brand strong {
  font-family: "Manrope CBD", sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.shop-brand small {
  font-size: 11px;
  line-height: 1.25;
}

.warehouse-pill {
  max-width: 104px;
  overflow: hidden;
  padding: 0 12px;
  font-size: 12px;
  white-space: nowrap;
}

.warehouse-pill > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.screen-section h1 {
  max-width: 620px;
  font-family: "Manrope CBD", sans-serif;
  font-size: clamp(38px, 9.8vw, 58px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-transform: none;
}

.eyebrow {
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.11em;
}

.screen-lead {
  font-size: 16px;
  line-height: 1.6;
}

.catalog-intro {
  position: relative;
  display: block;
  padding-top: 16px;
}

.catalog-intro > div {
  padding-right: 0;
}

.catalog-intro h1 {
  width: 100%;
  max-width: 600px;
  padding-right: 0;
  font-size: clamp(38px, 9.5vw, 56px);
}

.verification-badge {
  position: static;
  width: fit-content;
  min-height: 30px;
  margin-top: 15px;
  padding: 7px 12px;
  border: 0;
  color: #241608;
  background: linear-gradient(105deg, #d99b52, #f3cf8a);
  box-shadow: 0 8px 20px rgba(202, 146, 76, 0.2);
  font-size: 11px;
}

.verification-badge.is-verified {
  border: 0;
  color: #07170c;
  background: linear-gradient(105deg, #62b879, #a7dfae);
  box-shadow: 0 8px 20px rgba(76, 171, 102, 0.18);
}

.catalog-warehouse-note {
  min-height: 68px;
  padding: 14px 16px;
}

.catalog-warehouse-note small {
  font-size: 11px;
}

.catalog-warehouse-note strong {
  font-size: 16px;
}

.catalog-warehouse-note > span:last-child {
  font-size: 13px;
}

.catalog-search {
  min-height: 56px;
}

.catalog-search input {
  font-size: 16px;
}

.filter-row button {
  min-height: 40px;
  padding: 0 15px;
  font-size: 13px;
}

.catalog-toolbar p,
.catalog-toolbar label {
  font-size: 12px;
}

.catalog-toolbar select {
  max-width: 155px;
  min-height: 36px;
  font-size: 12px;
}

.product-card__meta,
.product-card__package {
  font-size: 11px;
}

.product-card h3 {
  min-height: 40px;
  font-size: 16px;
  line-height: 1.28;
}

.product-card__footer strong {
  font-size: 15px;
}

.product-card__footer small {
  font-size: 10px;
}

.product-card__priority {
  padding: 7px 10px;
  font-size: 9px;
  letter-spacing: 0.02em;
}

.page-heading {
  max-width: 620px;
}

.page-heading h1 {
  font-size: clamp(38px, 9.8vw, 58px);
}

.page-heading > p {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.55;
}

.order-card small,
.order-card__bottom > span {
  font-size: 12px;
}

.order-card__top strong {
  font-size: 16px;
}

.order-card__bottom strong {
  font-size: 16px;
}

.status-pill {
  min-height: 32px;
  padding: 0 12px;
  border: 0;
  color: #f1f6ff;
  background: linear-gradient(105deg, #3e6e9f, #64a0d6);
  box-shadow: 0 7px 16px rgba(54, 105, 155, 0.22);
  font-size: 11px;
}

.status-pill.is-success {
  border: 0;
  color: #061a0d;
  background: linear-gradient(105deg, #55ad6c, #a3dca9);
  box-shadow: 0 7px 16px rgba(69, 153, 92, 0.2);
}

.status-pill.is-warning {
  border: 0;
  color: #241506;
  background: linear-gradient(105deg, #c6893e, #f0cc7c);
  box-shadow: 0 7px 16px rgba(185, 126, 49, 0.2);
}

.status-pill.is-danger {
  border: 0;
  color: #2a0806;
  background: linear-gradient(105deg, #c85d52, #ef9a8b);
  box-shadow: 0 7px 16px rgba(186, 74, 64, 0.2);
}

.profile-hero h1 {
  font-family: "Manrope CBD", sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.profile-hero p {
  font-size: 13px;
}

.profile-status strong,
.settings-row strong {
  font-size: 14px;
}

.profile-status small,
.settings-row small,
.profile-details span {
  font-size: 11px;
}

.profile-details strong {
  font-size: 13px;
}

.settings-row {
  min-height: 70px;
}

.security-note {
  font-size: 11px;
  line-height: 1.55;
}

.product-modal__body {
  padding: 22px 18px calc(22px + var(--safe-bottom));
}

.product-modal__body h2 {
  font-family: "Manrope CBD", sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.035em;
}

.product-modal__description {
  font-size: 14px;
  line-height: 1.6;
}

.product-specs dt {
  font-size: 10px;
}

.product-specs dd {
  font-size: 12px;
}

.product-order-controls {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(150px, 0.8fr);
  gap: 12px;
}

.product-order-controls .field-label {
  margin-top: 0;
}

.field-label > span {
  font-size: 12px;
}

.field-label select,
.field-label input {
  font-size: 15px;
}

.quantity-input {
  min-height: 48px;
  padding: 0 !important;
  display: grid;
  grid-template-columns: 44px minmax(48px, 1fr) 44px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: #171a18;
}

.quantity-input button {
  border: 0;
  color: var(--shop-gold-light);
  background: rgba(255, 255, 255, 0.025);
  font-size: 22px;
  cursor: pointer;
}

.quantity-input input {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  outline: 0;
  color: var(--shop-text);
  background: transparent;
  font-size: 16px;
  font-weight: 750;
  text-align: center;
  appearance: textfield;
}

.quantity-input input::-webkit-inner-spin-button {
  appearance: none;
}

.product-modal__price small {
  font-size: 10px;
}

.product-modal__price strong {
  font-size: 25px;
}

.availability-note {
  font-size: 11px;
  line-height: 1.45;
}

.shop-nav button small {
  font-size: 10px;
}

.shop-nav button > span {
  font-size: 22px;
}

.auth-screen {
  width: min(100%, 560px);
  min-height: calc(100svh - var(--shop-telegram-top) - 48px);
  margin: 0 auto;
  padding: 8px 4px 18px;
  display: flex;
  flex-direction: column;
}

.auth-screen__brand {
  width: 86px;
  height: 86px;
  margin-bottom: 22px;
}

.auth-screen__brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.auth-benefits {
  margin-top: 28px;
  display: grid;
  gap: 9px;
}

.auth-benefits > div {
  min-height: 68px;
  padding: 12px 14px;
  display: flex;
  gap: 13px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.025);
}

.auth-benefits i {
  flex: 0 0 37px;
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #211608;
  background: linear-gradient(135deg, #bc8b3f, #ebcb85);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.auth-benefits span,
.auth-account p {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.auth-benefits strong {
  font-size: 14px;
}

.auth-benefits small,
.auth-account small {
  color: var(--shop-muted);
  font-size: 11px;
  line-height: 1.35;
}

.auth-account {
  margin-top: 16px;
  padding: 13px 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(89, 171, 226, 0.16);
  border-radius: 17px;
  background: rgba(67, 148, 202, 0.05);
}

.auth-account > span {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #07151e;
  background: #73bee7;
  font-size: 18px;
  font-weight: 800;
}

.auth-account p {
  margin: 0;
}

.auth-account strong {
  font-size: 14px;
}

.auth-submit {
  width: 100%;
  margin-top: 18px;
}

.auth-legal {
  max-width: 420px;
  margin: 12px auto 0;
  color: #727872;
  font-size: 10px;
  line-height: 1.45;
  text-align: center;
}

@media (max-width: 430px) {
  html.inside-telegram {
    --shop-telegram-top: max(
      88px,
      var(--tg-content-safe-area-inset-top, 0px),
      var(--tg-safe-area-inset-top, 0px),
      env(safe-area-inset-top, 0px)
    );
  }

  .shop-header {
    grid-template-columns: 40px minmax(0, 1fr) 78px 40px;
  }

  .shop-brand small {
    display: none;
  }

  .catalog-intro h1 {
    font-size: clamp(36px, 10vw, 46px);
  }

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

  .auth-screen {
    min-height: auto;
  }
}

/* CBD mobile application system. */
:root {
  --cbd-bg: #0b0b0b;
  --cbd-surface: #151515;
  --cbd-surface-elevated: #1c1c1c;
  --cbd-border: #292929;
  --cbd-gold: #c9a84c;
  --cbd-gold-active: #d6b75c;
  --cbd-text: #f4f1e8;
  --cbd-text-secondary: #929292;
  --cbd-text-dark: #111113;
  --cbd-danger: #9c4038;
  --cbd-warning: #b87532;
  --cbd-success: #64805e;
  --shop-bg: var(--cbd-bg);
  --shop-surface: var(--cbd-surface);
  --shop-surface-2: var(--cbd-surface-elevated);
  --shop-line: var(--cbd-border);
  --shop-gold: var(--cbd-gold);
  --shop-gold-light: var(--cbd-gold-active);
  --shop-text: var(--cbd-text);
  --shop-muted: var(--cbd-text-secondary);
  --shop-success: var(--cbd-success);
  --shop-warning: var(--cbd-warning);
  --shop-danger: var(--cbd-danger);
  --shop-width: 480px;
}

html,
body {
  overflow-x: hidden;
}

body.shop-open {
  background: #070707;
}

.shop-app {
  width: min(100%, var(--shop-width));
  min-height: var(--tg-viewport-stable-height, 100svh);
  margin: 0 auto;
  overflow-x: clip;
  color: var(--cbd-text);
  background: var(--cbd-bg);
  font-family: "Manrope CBD", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
}

html.inside-telegram {
  --shop-telegram-top: max(
    88px,
    var(--tg-content-safe-area-inset-top, 0px),
    var(--tg-safe-area-inset-top, 0px),
    env(safe-area-inset-top, 0px)
  );
}

.shop-header {
  top: var(--shop-telegram-top);
  width: min(100%, var(--shop-width));
  min-height: 62px;
  padding: 9px 10px;
  grid-template-columns: 38px minmax(58px, 1fr) auto 38px 38px;
  grid-template-areas: "back brand warehouse profile cart";
  gap: 5px;
  border-color: var(--cbd-border);
  background: rgba(11, 11, 11, 0.98);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.shop-back {
  grid-area: back;
}

.shop-brand {
  grid-area: brand;
  gap: 7px;
}

.warehouse-pill {
  grid-area: warehouse;
}

.shop-profile-button {
  grid-area: profile;
}

.shop-cart-button {
  grid-area: cart;
}

.shop-header .shop-back[hidden] {
  display: grid !important;
  visibility: hidden;
  pointer-events: none;
}

.shop-icon-button {
  width: 38px;
  height: 38px;
  border-color: var(--cbd-border);
  border-radius: 7px;
  background: var(--cbd-surface);
}

.shop-icon-button > span {
  color: #a4a4a4;
  font-size: 21px;
}

.shop-back > span {
  margin: 0;
  color: var(--cbd-text);
  font-size: 31px;
}

.shop-brand img {
  width: 34px;
  height: 34px;
}

.shop-brand strong {
  color: var(--cbd-gold);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.shop-brand small {
  display: none;
}

.warehouse-pill {
  max-width: 84px;
  min-height: 38px;
  padding: 0 10px;
  gap: 6px;
  border-color: #393221;
  border-radius: 7px;
  color: var(--cbd-text);
  background: #17150f;
  font-size: 12px;
}

.warehouse-pill__dot {
  width: 5px;
  height: 5px;
  background: var(--cbd-gold);
  box-shadow: none;
}

.shop-view {
  width: 100%;
  min-height: var(--tg-viewport-stable-height, 100svh);
  padding: calc(76px + var(--shop-telegram-top)) 12px calc(84px + env(safe-area-inset-bottom, 0px));
  outline: 0;
}

.shop-app.is-auth-route .shop-view,
.shop-app.is-age-route .shop-view {
  padding: calc(20px + var(--shop-telegram-top)) 18px calc(24px + env(safe-area-inset-bottom, 0px));
}

.shop-app.is-product-route .shop-view {
  padding-right: 0;
  padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px));
  padding-left: 0;
}

.screen-section {
  animation: shop-screen-in 180ms ease-out both;
}

.screen-section h1,
.page-heading h1,
.profile-hero h1 {
  margin: 5px 0 0;
  font-family: "Manrope CBD", sans-serif;
  font-size: clamp(30px, 8.5vw, 40px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-transform: none;
}

.eyebrow {
  color: var(--cbd-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.screen-lead,
.page-heading p {
  color: var(--cbd-text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.primary-action,
.secondary-action,
.text-action {
  min-height: 48px;
  border-radius: 7px;
  font-weight: 750;
}

.primary-action {
  border: 1px solid var(--cbd-gold);
  color: var(--cbd-text-dark);
  background: var(--cbd-gold);
  box-shadow: none;
}

.primary-action:active {
  background: var(--cbd-gold-active);
  transform: translateY(1px);
}

.secondary-action {
  border: 1px solid var(--cbd-border);
  color: var(--cbd-text);
  background: var(--cbd-surface);
}

.text-action {
  border: 0;
  color: var(--cbd-text-secondary);
  background: transparent;
}

.age-screen,
.auth-screen {
  max-width: 430px;
  min-height: calc(var(--tg-viewport-stable-height, 100svh) - var(--shop-telegram-top) - 44px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.age-screen__logo,
.auth-screen__brand img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.age-screen__logo {
  margin-bottom: 24px;
}

.age-screen__mark {
  width: fit-content;
  margin-bottom: 16px;
  padding: 7px 9px;
  border: 1px solid var(--cbd-gold);
  border-radius: 5px;
  color: var(--cbd-gold);
  font-size: 15px;
  font-weight: 800;
}

.age-screen__warning {
  max-width: 350px;
  margin: 18px 0 0;
  padding: 12px 0;
  border-top: 1px solid var(--cbd-border);
  border-bottom: 1px solid var(--cbd-border);
  color: #777;
  font-size: 11px;
  line-height: 1.5;
}

.age-screen__actions {
  margin-top: 28px;
  display: grid;
  gap: 7px;
}

.age-screen--denied {
  align-items: flex-start;
}

.auth-screen {
  padding: 12px 0 24px;
  justify-content: flex-start;
}

.auth-screen__brand {
  margin-bottom: 24px;
}

.auth-benefits {
  margin: 25px 0 0;
  gap: 8px;
}

.auth-benefits > div,
.auth-account {
  border: 1px solid var(--cbd-border);
  border-radius: 8px;
  background: var(--cbd-surface);
  box-shadow: none;
}

.auth-benefits i {
  border-radius: 5px;
  color: var(--cbd-text-dark);
  background: var(--cbd-gold);
  box-shadow: none;
}

.auth-account {
  margin-top: 8px;
}

.warehouse-screen {
  max-width: 430px;
  margin: 0 auto;
}

.warehouse-card,
.telegram-auth-card {
  border-color: var(--cbd-border);
  border-radius: 8px;
  background: var(--cbd-surface);
  box-shadow: none;
}

.warehouse-card.is-selected {
  border-color: var(--cbd-gold);
  background: #19170f;
  box-shadow: none;
}

.warehouse-card__icon {
  border-radius: 6px;
  color: var(--cbd-text-dark);
  background: var(--cbd-gold);
}

.catalog-screen {
  padding-top: 3px;
}

.catalog-intro {
  padding: 4px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.catalog-intro h1 {
  margin-top: 4px;
  font-size: clamp(31px, 9vw, 39px);
}

.catalog-intro p {
  margin: 7px 0 0;
  color: var(--cbd-text-secondary);
  font-size: 12px;
}

.verification-badge,
.verification-badge.is-verified {
  position: static;
  flex: 0 0 auto;
  min-height: 26px;
  margin: 0 0 4px;
  padding: 6px 8px;
  border: 1px solid #374334;
  border-radius: 5px;
  color: #bdd0b8;
  background: #1a2118;
  box-shadow: none;
  font-size: 10px;
}

.catalog-warehouse-note {
  width: 100%;
  min-height: 58px;
  margin-top: 18px;
  padding: 10px 12px;
  border: 1px solid #393221;
  border-radius: 8px;
  color: var(--cbd-text);
  background: #15140f;
}

.catalog-warehouse-note small {
  color: var(--cbd-text-secondary);
  font-size: 10px;
}

.catalog-warehouse-note strong {
  margin-top: 2px;
  font-size: 14px;
}

.catalog-warehouse-note > span:last-child {
  color: var(--cbd-gold);
  font-size: 11px;
  font-weight: 750;
}

.catalog-search {
  margin-top: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px;
  gap: 7px;
}

.catalog-search > label {
  position: relative;
  min-width: 0;
  height: 50px;
  display: flex;
  align-items: center;
  border: 1px solid var(--cbd-border);
  border-radius: 8px;
  background: var(--cbd-surface);
}

.catalog-search > label:focus-within {
  border-color: var(--cbd-gold);
}

.catalog-search label > span {
  margin-left: 14px;
  color: var(--cbd-text-secondary);
  font-size: 20px;
}

.catalog-search input {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 8px 0 10px;
  border: 0;
  outline: 0;
  color: var(--cbd-text);
  background: transparent;
  font-size: 14px;
}

.catalog-search input::placeholder {
  color: #747474;
}

.catalog-search label button {
  flex: 0 0 40px;
  height: 40px;
  border: 0;
  color: var(--cbd-text-secondary);
  background: transparent;
  font-size: 20px;
}

.filter-button {
  position: relative;
  width: 50px;
  height: 50px;
  border: 1px solid var(--cbd-border);
  border-radius: 8px;
  color: var(--cbd-text);
  background: var(--cbd-surface);
  font-size: 19px;
}

.filter-button.is-active {
  border-color: var(--cbd-gold);
  color: var(--cbd-gold);
}

.filter-button b {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--cbd-text-dark);
  background: var(--cbd-gold);
  font-size: 10px;
}

.filter-row {
  width: calc(100% + 24px);
  margin: 10px -12px 0;
  padding: 0 12px 4px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.filter-row::-webkit-scrollbar,
.promo-scroller::-webkit-scrollbar {
  display: none;
}

.filter-row button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--cbd-border);
  border-radius: 6px;
  color: #c3c3c3;
  background: var(--cbd-surface);
  font-size: 12px;
  font-weight: 700;
  scroll-snap-align: start;
}

.filter-row button.is-active {
  border-color: var(--cbd-gold);
  color: var(--cbd-text-dark);
  background: var(--cbd-gold);
}

.promo-section {
  margin-top: 21px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
}

.section-heading span {
  color: var(--cbd-gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 3px 0 0;
  font-size: 20px;
  line-height: 1.1;
}

.section-heading button {
  border: 0;
  color: var(--cbd-text-secondary);
  background: transparent;
  font-size: 11px;
}

.promo-scroller {
  width: calc(100% + 24px);
  margin: 10px -12px 0;
  padding: 0 12px 4px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.promo-card {
  position: relative;
  flex: 0 0 176px;
  height: 112px;
  overflow: hidden;
  border: 1px solid var(--cbd-border);
  border-radius: 8px;
  color: var(--cbd-text);
  background: var(--cbd-surface);
  text-align: left;
  scroll-snap-align: start;
}

.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.34) 70%, transparent);
}

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

.promo-card .product-art__bottle {
  margin-left: 98px;
  transform: scale(0.72);
}

.promo-card > span {
  position: relative;
  z-index: 2;
  width: 115px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.promo-card i {
  color: var(--cbd-gold);
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.promo-card strong {
  overflow: hidden;
  font-size: 13px;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.promo-card small {
  color: var(--cbd-text-secondary);
  font-size: 10px;
}

.catalog-toolbar {
  min-height: 42px;
  margin-top: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.catalog-toolbar p {
  margin: 0;
  color: var(--cbd-text-secondary);
  font-size: 11px;
}

.catalog-toolbar p strong {
  color: var(--cbd-text);
  font-size: 13px;
}

.catalog-toolbar button {
  border: 0;
  color: var(--cbd-gold);
  background: transparent;
  font-size: 10px;
}

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

.product-card {
  min-width: 0;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--cbd-border);
  border-radius: 8px;
  background: var(--cbd-surface);
  box-shadow: none;
}

.product-card__open {
  position: relative;
  flex: 0 0 auto;
  height: 166px;
  border: 0;
  background: #10110f;
}

.product-art {
  min-height: 166px;
  background:
    radial-gradient(circle at 50% 35%, var(--art-1), transparent 30%),
    linear-gradient(145deg, var(--art-2), #0e0e0d 66%);
}

.product-art__glow {
  opacity: 0.42;
  filter: none;
}

.product-art--image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-art > strong {
  color: rgba(244, 241, 232, 0.24);
  font-size: 16px;
}

.product-badges {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  pointer-events: none;
}

.product-badges i {
  padding: 5px 6px;
  border-radius: 4px;
  color: var(--cbd-text-dark);
  background: var(--cbd-gold);
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-badges i.is-new {
  color: var(--cbd-text);
  background: #443723;
}

.product-card__body {
  flex: 1;
  padding: 12px 10px 10px;
  display: flex;
  flex-direction: column;
}

.product-card__brand {
  margin: 0;
  overflow: hidden;
  color: var(--cbd-gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-card h3 {
  min-height: 40px;
  margin: 6px 0 5px;
  overflow: hidden;
  color: var(--cbd-text);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card__meta,
.product-card__package {
  margin: 0;
  color: var(--cbd-text-secondary);
  font-size: 9px;
  line-height: 1.45;
}

.product-card__package {
  margin-top: 2px;
}

.availability {
  margin: 8px 0 0;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #8fa18c;
  font-size: 8px;
  line-height: 1.3;
}

.availability i {
  flex: 0 0 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cbd-success);
}

.availability.is-limited {
  color: #bd9b70;
}

.availability.is-limited i,
.availability.is-manager i {
  background: var(--cbd-warning);
}

.availability.is-unavailable {
  color: #b27670;
}

.availability.is-unavailable i {
  background: var(--cbd-danger);
}

.product-card__prices {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-card__prices > strong {
  color: var(--cbd-gold);
  font-size: 15px;
  line-height: 1.2;
}

.product-card__prices > strong small {
  color: var(--cbd-text-secondary);
  font-size: 8px;
  font-weight: 600;
}

.product-card__prices > span {
  color: var(--cbd-text-secondary);
  font-size: 8px;
}

.product-card__action {
  margin-top: 9px;
}

.product-add,
.mini-stepper {
  width: 100%;
  min-height: 44px;
  border-radius: 6px;
}

.product-add {
  border: 1px solid var(--cbd-gold);
  color: var(--cbd-text-dark);
  background: var(--cbd-gold);
  font-size: 11px;
  font-weight: 800;
}

.product-add:disabled {
  border-color: var(--cbd-border);
  color: #666;
  background: #1b1b1b;
}

.product-card.is-not-orderable .product-add:disabled,
.product-detail.is-not-orderable .primary-action:disabled {
  opacity: 1;
  border-color: rgba(184, 103, 91, 0.58);
  color: #e0aaa1;
  background: rgba(73, 35, 31, 0.72);
}

.mini-stepper {
  overflow: hidden;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  border: 1px solid #514521;
  background: #18170f;
}

.mini-stepper button {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  color: var(--cbd-gold);
  background: transparent;
  font-size: 20px;
}

.mini-stepper span {
  display: grid;
  place-items: center;
  color: var(--cbd-text);
  font-size: 13px;
  font-weight: 800;
}

.empty-state {
  min-height: 230px;
  border: 1px dashed var(--cbd-border);
  border-radius: 8px;
  background: #101010;
}

.empty-state button {
  min-height: 44px;
  border-radius: 6px;
  color: var(--cbd-text-dark);
  background: var(--cbd-gold);
}

.product-detail__media {
  position: relative;
  height: min(42vh, 350px);
  min-height: 270px;
  border-bottom: 1px solid var(--cbd-border);
  background: #10110f;
}

.product-detail {
  animation: none;
  transform: none;
}

.product-detail__media .product-art {
  height: 100%;
  min-height: 100%;
}

.product-detail__media .product-art__bottle {
  transform: scale(1.35);
}

.product-detail__body {
  padding: 20px 16px 30px;
}

.product-detail h1 {
  max-width: 430px;
  font-size: clamp(29px, 8vw, 38px);
}

.product-detail__lead {
  margin: 12px 0 0;
  color: var(--cbd-text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

.product-detail .availability {
  margin-top: 14px;
  font-size: 11px;
}

.product-specs--detail {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--cbd-border);
  border-radius: 8px;
  background: var(--cbd-surface);
}

.product-specs--detail > div {
  min-height: 64px;
  padding: 11px;
  border-color: var(--cbd-border);
}

.product-specs--detail dt {
  color: var(--cbd-text-secondary);
  font-size: 9px;
}

.product-specs--detail dd {
  margin-top: 4px;
  font-size: 12px;
}

.product-format-card {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-format-card span {
  color: var(--cbd-text-secondary);
  font-size: 10px;
}

.product-format-card strong {
  margin-top: 3px;
  display: block;
  color: var(--cbd-text);
  font-size: 13px;
}

.product-format-card button {
  min-height: 40px;
  border: 0;
  color: var(--cbd-gold);
  background: transparent;
  font-weight: 700;
}

.product-detail-bar {
  position: fixed;
  z-index: 34;
  left: 50%;
  bottom: 0;
  width: min(100%, var(--shop-width));
  min-height: calc(78px + env(safe-area-inset-bottom, 0px));
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: minmax(86px, 0.7fr) minmax(160px, 1.3fr);
  gap: 10px;
  align-items: center;
  transform: translateX(-50%);
  border-top: 1px solid var(--cbd-border);
  background: #0d0d0d;
}

.product-detail-bar > span small,
.product-detail-bar > span strong {
  display: block;
}

.product-detail-bar > span small {
  color: var(--cbd-text-secondary);
  font-size: 9px;
}

.product-detail-bar > span strong {
  margin-top: 2px;
  color: var(--cbd-gold);
  font-size: 20px;
}

.product-detail-bar .primary-action {
  width: 100%;
}

.cart-screen,
.orders-screen,
.profile-screen,
.order-detail {
  max-width: 456px;
  margin: 0 auto;
}

.page-heading {
  margin-bottom: 18px;
}

.cart-item,
.order-card,
.detail-card,
.profile-details,
.settings-row {
  border-color: var(--cbd-border);
  border-radius: 8px;
  background: var(--cbd-surface);
  box-shadow: none;
}

.cart-item {
  padding: 10px;
}

.cart-item .product-art--compact {
  border-radius: 6px;
}

.cart-stepper,
.quantity-input {
  border-color: #514521;
  border-radius: 6px;
  background: #18170f;
}

.cart-stepper button,
.quantity-input button {
  min-width: 44px;
  min-height: 44px;
  color: var(--cbd-gold);
}

.order-summary {
  border-color: var(--cbd-border);
  border-radius: 8px;
  background: var(--cbd-surface-elevated);
  box-shadow: none;
}

.order-card {
  padding: 14px;
  color: var(--cbd-text);
  text-align: left;
}

.order-card__top > strong {
  color: var(--cbd-gold);
  font-size: 15px;
}

.order-card__statuses {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.status-pill {
  min-height: 25px;
  padding: 5px 7px;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.status-pill.is-success {
  color: #d6e4d2;
  background: #33452f;
}

.status-pill.is-warning {
  color: #f0d1ad;
  background: #53371f;
}

.status-pill.is-progress {
  color: #d0d0d0;
  background: #343434;
}

.status-pill.is-document {
  color: #ead8a6;
  background: #443a1f;
}

.order-card__bottom {
  color: var(--cbd-text-secondary);
  font-size: 10px;
}

.profile-status {
  border-color: var(--cbd-border);
  border-radius: 8px;
  background: var(--cbd-surface);
  box-shadow: none;
}

.profile-status.is-verified {
  border-color: #344033;
  background: #151b14;
}

.settings-row {
  min-height: 72px;
}

.shop-nav {
  width: min(100%, var(--shop-width));
  min-height: calc(68px + env(safe-area-inset-bottom, 0px));
  padding: 6px 5px calc(6px + env(safe-area-inset-bottom, 0px));
  border-color: var(--cbd-border);
  background: #0d0d0d;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.shop-nav button {
  min-height: 52px;
  border-radius: 6px;
  color: #777;
  background: transparent;
}

.shop-nav button > span {
  font-size: 19px;
}

.shop-nav button small {
  font-size: 9px;
  font-weight: 700;
}

.shop-nav button.is-active {
  color: var(--cbd-gold);
  background: #18160f;
}

.shop-nav b,
.shop-cart-button b {
  color: var(--cbd-text-dark);
  background: var(--cbd-gold);
}

.floating-cart {
  position: fixed;
  z-index: 36;
  left: 50%;
  bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  width: min(calc(100% - 24px), 456px);
  min-height: 58px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  border: 1px solid var(--cbd-gold);
  border-radius: 8px;
  color: var(--cbd-text-dark);
  background: var(--cbd-gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  animation: floating-cart-in 180ms ease-out both;
}

.floating-cart[hidden] {
  display: none !important;
}

.floating-cart span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.floating-cart small {
  margin-top: 1px;
  font-size: 9px;
  font-weight: 650;
}

.floating-cart > strong {
  font-size: 16px;
}

.shop-app.has-floating-cart .shop-view {
  padding-bottom: calc(154px + env(safe-area-inset-bottom, 0px));
}

@keyframes floating-cart-in {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.shop-modal {
  align-items: flex-end;
  background: transparent;
}

.shop-modal__backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.shop-modal__sheet {
  width: min(100%, var(--shop-width));
  max-height: min(84svh, 760px);
  padding: 18px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto;
  border: 1px solid var(--cbd-border);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: var(--cbd-surface-elevated);
  box-shadow: none;
  animation: sheet-in 180ms ease-out both;
}

@keyframes sheet-in {
  from {
    transform: translateY(32px);
    opacity: 0.8;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.sheet-handle {
  width: 42px;
  height: 4px;
  margin: -5px auto 15px;
  display: block;
  border-radius: 2px;
  background: #505050;
}

.modal-close {
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border-color: var(--cbd-border);
  border-radius: 6px;
  background: var(--cbd-surface);
}

.sheet-heading {
  padding-right: 46px;
}

.sheet-heading h2 {
  margin: 4px 0 0;
  font-size: 25px;
}

.sheet-heading p {
  margin: 7px 0 0;
  color: var(--cbd-text-secondary);
  font-size: 12px;
  line-height: 1.5;
}

.filter-sheet__grid {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.field-label > span,
.range-field > span {
  color: var(--cbd-text-secondary);
  font-size: 10px;
}

.field-label input,
.field-label select,
.field-label textarea {
  min-height: 48px;
  border-color: var(--cbd-border);
  border-radius: 7px;
  color: var(--cbd-text);
  background: var(--cbd-surface);
  font-size: 13px;
}

.range-field {
  padding: 12px;
  display: grid;
  gap: 10px;
  border: 1px solid var(--cbd-border);
  border-radius: 7px;
  background: var(--cbd-surface);
}

.range-field strong {
  color: var(--cbd-gold);
}

.range-field input {
  width: 100%;
  accent-color: var(--cbd-gold);
}

.switch-row {
  min-height: 58px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--cbd-border);
  border-radius: 7px;
  background: var(--cbd-surface);
}

.switch-row span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.switch-row strong {
  font-size: 12px;
}

.switch-row small {
  color: var(--cbd-text-secondary);
  font-size: 9px;
}

.switch-row input {
  width: 20px;
  height: 20px;
  accent-color: var(--cbd-gold);
}

.sheet-actions {
  position: sticky;
  bottom: calc(-14px - env(safe-area-inset-bottom, 0px));
  z-index: 3;
  margin: 18px -14px calc(-14px - env(safe-area-inset-bottom, 0px));
  padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 8px;
  border-top: 1px solid var(--cbd-border);
  background: var(--cbd-surface-elevated);
}

.format-options,
.warehouse-sheet__list {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.format-options button,
.warehouse-sheet__list button {
  min-height: 68px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--cbd-border);
  border-radius: 7px;
  color: var(--cbd-text);
  background: var(--cbd-surface);
  text-align: left;
}

.format-options span,
.warehouse-sheet__list span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.format-options strong,
.warehouse-sheet__list strong {
  font-size: 13px;
}

.format-options small,
.warehouse-sheet__list small {
  color: var(--cbd-text-secondary);
  font-size: 10px;
  line-height: 1.4;
}

.format-options i,
.warehouse-sheet__list i {
  color: var(--cbd-gold);
  font-style: normal;
}

.warehouse-sheet__list button.is-selected {
  border-color: var(--cbd-gold);
  background: #19170f;
}

.loading-screen {
  min-height: 60svh;
}

.loading-grid i,
.loading-line {
  border-radius: 7px;
  background: linear-gradient(90deg, #141414, #202020, #141414);
}

.error-state {
  min-height: 64svh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.error-state > span {
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cbd-danger);
  border-radius: 6px;
  color: #d6a29c;
  background: #291715;
  font-size: 20px;
  font-weight: 800;
}

.error-state p {
  max-width: 340px;
  color: var(--cbd-text-secondary);
  line-height: 1.55;
}

.error-state .primary-action {
  width: 100%;
  margin-top: 18px;
}

@media (max-width: 350px) {
  .shop-header {
    grid-template-columns: 36px minmax(48px, 1fr) 62px 36px 36px;
    padding-right: 8px;
    padding-left: 8px;
    gap: 4px;
  }

  .shop-icon-button {
    width: 36px;
    height: 36px;
  }

  .shop-brand img {
    width: 29px;
    height: 29px;
  }

  .shop-brand strong {
    font-size: 15px;
  }

  .warehouse-pill {
    width: 62px;
    padding: 0 7px;
    font-size: 10px;
  }

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

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

  .product-card__open {
    height: 190px;
  }

  .product-art {
    min-height: 190px;
  }

  .product-card h3 {
    min-height: 0;
    font-size: 17px;
  }

  .product-card__meta,
  .product-card__package,
  .availability {
    font-size: 10px;
  }

  .product-card__prices > strong {
    font-size: 17px;
  }
}

/* v11: 1C-driven catalog taxonomy and premium product presentation */
.filter-row button {
  max-width: none;
  min-height: 46px;
  padding: 0 17px;
  white-space: nowrap;
}

.product-card {
  overflow: hidden;
  border: 1px solid rgba(213, 175, 76, 0.24);
  background:
    linear-gradient(155deg, rgba(213, 175, 76, 0.075), transparent 42%),
    #111210;
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.product-card__open {
  padding: 13px;
  background:
    radial-gradient(circle at 50% 42%, rgba(210, 165, 65, 0.17), transparent 47%),
    linear-gradient(180deg, #11120f, #090a09);
}

.product-card__open .product-art--framed {
  padding: 10px;
  overflow: hidden;
  border: 1px solid rgba(222, 185, 91, 0.18);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 44%, rgba(233, 197, 112, 0.15), transparent 58%),
    #0c0d0b;
  box-shadow:
    0 16px 28px rgba(0, 0, 0, 0.42),
    inset 0 0 34px rgba(212, 169, 72, 0.06);
}

.product-card__open .product-art--framed .product-art__ambient,
.product-card__open .product-art--framed::after {
  inset: 10px;
  border-radius: 14px;
}

.product-card__open .product-art--framed img {
  width: 100%;
  height: 100%;
  padding: 4px;
  border: 0;
  border-radius: 14px;
  object-fit: contain;
  object-position: center;
  background: rgba(245, 241, 231, 0.035);
  filter:
    drop-shadow(0 15px 18px rgba(0, 0, 0, 0.5))
    saturate(1.04)
    contrast(1.02);
}

.product-card__body {
  position: relative;
  border-top: 1px solid rgba(213, 175, 76, 0.13);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 55%),
    #111210;
}

.product-card__brand {
  min-height: 17px;
  color: var(--cbd-gold);
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.product-card h3 {
  color: #f6f4ed;
  letter-spacing: -0.018em;
}

.product-card__facts {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.product-card__facts span {
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(215, 177, 73, 0.2);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #d8d3c7;
  background: rgba(215, 177, 73, 0.055);
  font-size: 12px;
  font-weight: 720;
  line-height: 1.2;
}

.product-card__package {
  min-height: 0;
  margin-top: 10px;
  color: #aaa79f;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.product-add {
  border: 1px solid rgba(225, 188, 91, 0.38);
  color: #f0d889;
  background:
    linear-gradient(135deg, rgba(219, 178, 73, 0.2), rgba(219, 178, 73, 0.055)),
    #181712;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 24px rgba(0, 0, 0, 0.22);
}

.product-add:active {
  border-color: rgba(238, 202, 108, 0.68);
  color: #fff0b8;
  background:
    linear-gradient(135deg, rgba(219, 178, 73, 0.28), rgba(219, 178, 73, 0.1)),
    #1d1a12;
}

.product-detail {
  background: #090a09;
}

.product-detail__media {
  height: min(39vh, 330px);
  min-height: 250px;
  margin: 8px 14px 0;
  overflow: hidden;
  border: 1px solid rgba(215, 177, 73, 0.23);
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(214, 169, 72, 0.18), transparent 50%),
    #10110f;
  box-shadow:
    0 20px 42px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.product-detail__media .product-art--framed {
  padding: 14px;
  border-radius: 24px;
  background: transparent;
}

.product-detail__media .product-art--framed img {
  padding: 5px;
  border: 0;
  border-radius: 17px;
  object-fit: contain;
  object-position: center;
  background: rgba(246, 242, 232, 0.035);
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.52));
}

.product-detail__body {
  padding: 24px 16px 34px;
}

.product-detail h1 {
  max-width: 100%;
  margin-top: 8px;
  font-size: clamp(25px, 7vw, 32px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}

.product-about {
  margin-top: 18px;
  padding: 17px;
  border: 1px solid rgba(215, 177, 73, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(215, 177, 73, 0.07), transparent 52%),
    #121311;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.product-about h2 {
  margin: 0;
  color: #f4f1e7;
  font-size: 17px;
}

.product-about .product-detail__lead {
  margin-top: 8px;
  color: #c4c0b6;
  font-size: 15px;
  line-height: 1.58;
}

.product-specs--detail {
  grid-template-columns: 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(215, 177, 73, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(215, 177, 73, 0.05), transparent 45%),
    #121311;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.product-specs--detail > div {
  min-height: 61px;
  padding: 13px 15px;
  display: grid;
  grid-template-columns: minmax(105px, 0.72fr) minmax(0, 1.28fr);
  gap: 14px;
  align-items: center;
  border-right: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

.product-specs--detail > div:last-child {
  border-bottom: 0;
}

.product-specs--detail dt {
  color: #8e8b83;
  font-size: 12px;
  line-height: 1.35;
}

.product-specs--detail dd {
  min-width: 0;
  margin: 0;
  color: #f0ede4;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.38;
  overflow: visible;
  overflow-wrap: anywhere;
  text-align: right;
  text-overflow: clip;
  white-space: normal;
}

.product-format-card,
.detail-card {
  border-color: rgba(215, 177, 73, 0.18);
  background:
    linear-gradient(145deg, rgba(215, 177, 73, 0.055), transparent 48%),
    #121311;
}

@media (max-width: 350px) {
  .product-card__open {
    padding: 10px;
  }

  .product-card__facts span {
    padding-inline: 8px;
    font-size: 11px;
  }

  .product-detail__media {
    min-height: 225px;
    margin-inline: 10px;
  }

  .product-detail h1 {
    font-size: 24px;
  }

  .product-specs--detail > div {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
  }
}

/* v9: premium real-product artwork adapted from the legacy catalog */
.product-art--image {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #090909;
}

.product-art--image .product-art__ambient {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.product-art--image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 50% 48%;
  transition: transform 420ms cubic-bezier(0.2, 0.72, 0.2, 1), filter 420ms ease;
}

.product-art--gallery::after,
.product-art--framed::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
  pointer-events: none;
}

.product-art--gallery .product-art__ambient {
  background:
    radial-gradient(circle at 50% 42%, rgba(220, 169, 68, 0.22), transparent 44%),
    linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, 0.28));
}

.product-art--gallery::after {
  box-shadow:
    inset 0 -38px 42px -35px rgba(0, 0, 0, 0.92),
    inset 0 0 42px rgba(0, 0, 0, 0.16);
}

.product-art--framed {
  padding: 12px;
  background:
    linear-gradient(145deg, rgba(214, 168, 73, 0.13), transparent 42%),
    #0b0b0a;
}

.product-art--framed .product-art__ambient {
  inset: 12px;
  border-radius: 13px;
  background: radial-gradient(circle at 50% 50%, rgba(205, 151, 55, 0.2), transparent 62%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.product-art--framed img {
  border: 1px solid rgba(214, 168, 73, 0.2);
  border-radius: 13px;
  object-position: 50% 46%;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.product-art--framed::after {
  inset: 12px;
  border-radius: 13px;
  box-shadow: inset 0 -30px 38px -33px rgba(0, 0, 0, 0.9);
}

.product-card__open:active .product-art--image img,
.promo-card:active .product-art--image img {
  transform: scale(1.018);
}

.promo-card .product-art--image img {
  object-position: 58% 50%;
}

.product-art--compact.product-art--image {
  min-height: 100%;
  padding: 0;
  border-radius: 12px;
}

.product-art--compact.product-art--image img {
  border: 0;
  border-radius: 12px;
  object-fit: contain;
}

.product-art--compact.product-art--image::after,
.product-art--compact.product-art--image .product-art__ambient {
  inset: 0;
  border-radius: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .product-art--image img {
    transition: none;
  }
}

/* Brand ornament from the customer's visual language */
.shop-app::before,
.shop-app::after {
  content: "";
  position: fixed;
  z-index: 0;
  top: calc(var(--shop-telegram-top) + 76px);
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  width: 48px;
  pointer-events: none;
  background: url("./assets/gold-chain-reference.png") top center / 48px auto repeat-y;
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 90%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 90%, transparent);
}

.shop-app::before {
  left: max(0px, calc(50% - 240px));
}

.shop-app::after {
  right: max(0px, calc(50% - 240px));
  transform: scaleX(-1);
}

.shop-app.is-auth-route::before,
.shop-app.is-auth-route::after,
.shop-app.is-age-route::before,
.shop-app.is-age-route::after {
  opacity: 0.75;
}

.shop-view {
  position: relative;
  z-index: 1;
}

@media (max-width: 430px) {
  .shop-app::before,
  .shop-app::after {
    width: 42px;
    background-size: 42px auto;
    opacity: 0.32;
  }

  .shop-app.is-auth-route::before,
  .shop-app.is-auth-route::after,
  .shop-app.is-age-route::before,
  .shop-app.is-age-route::after {
    opacity: 0.75;
  }
}

/* Header, auth and typography refinement */
.shop-header {
  min-height: 74px;
  padding: 11px 16px;
  grid-template-columns: 48px minmax(94px, 1fr) auto 48px;
  grid-template-areas: "back brand warehouse cart";
  gap: 8px;
}

.shop-app.is-root-route .shop-header {
  grid-template-columns: minmax(104px, 1fr) auto 48px;
  grid-template-areas: "brand warehouse cart";
}

.shop-icon-button {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.shop-brand {
  gap: 9px;
}

.shop-brand img {
  width: 46px;
  height: 46px;
}

.shop-brand strong {
  font-size: 21px;
  font-weight: 850;
}

.warehouse-pill {
  min-height: 48px;
  padding: 0 13px;
  font-size: 15px;
  font-weight: 750;
}

.warehouse-pill__dot {
  width: 6px;
  height: 6px;
}

.shop-cart-button svg {
  width: 27px;
  height: 27px;
  stroke-width: 2;
}

.shop-view {
  padding-top: calc(91px + var(--shop-telegram-top));
}

.auth-screen {
  align-items: stretch;
}

.auth-screen__brand {
  width: 100%;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
}

.auth-screen__brand img {
  width: 112px;
  height: 112px;
}

.auth-screen > .eyebrow,
.auth-screen > h1,
.auth-screen > .screen-lead {
  width: 100%;
  align-self: center;
  text-align: center;
}

.auth-screen > .eyebrow {
  font-size: 14px;
}

.auth-screen > h1 {
  margin-top: 9px;
  font-size: clamp(42px, 11vw, 52px);
  line-height: 1.08;
}

.auth-screen > .screen-lead {
  max-width: 420px;
  margin: 18px auto 20px;
  font-size: 18px;
}

.auth-warehouse__heading strong {
  font-size: 19px;
}

.auth-warehouse__heading small {
  font-size: 13px;
}

.auth-warehouse__options button {
  min-height: 84px;
  font-weight: 800;
}

.auth-warehouse__options button strong {
  font-size: 16px;
  font-weight: 850;
}

.auth-warehouse__options button > span {
  font-size: 14px;
  font-weight: 900;
}

.auth-screen button,
.auth-submit {
  font-weight: 850;
}

.auth-submit {
  min-height: 58px;
  font-size: 17px;
}

.catalog-intro {
  align-items: flex-start;
}

.catalog-intro > div {
  width: 100%;
}

.catalog-search {
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 10px;
}

.catalog-search > label,
.filter-button {
  height: 58px;
}

.catalog-search label > span {
  position: relative;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  margin-left: 16px;
  display: block;
  font-size: 0;
}

.catalog-search label > span::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 2px;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.catalog-search label > span::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 17px;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.catalog-search input {
  padding-left: 9px;
  font-size: 17px;
}

.filter-button {
  width: 58px;
  min-width: 58px;
  border-radius: 10px;
}

.filter-button > span {
  display: block;
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-1px);
}

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

.promo-card strong {
  font-size: 21px;
}

.promo-card small {
  color: #c8c8c8;
  font-size: 17px;
  font-weight: 700;
}

.product-card h3 {
  font-size: 25px;
  font-weight: 800;
}

.product-card__brand {
  font-size: 13px;
}

.product-card__meta,
.product-card__package {
  font-size: 15px;
}

.availability {
  font-size: 14px;
}

.product-card__prices > strong {
  font-size: 28px;
}

.product-card__prices > strong small,
.product-card__prices > span {
  font-size: 14px;
}

.product-add {
  font-size: 17px;
  font-weight: 850;
}

.shop-nav {
  min-height: calc(76px + env(safe-area-inset-bottom, 0px));
}

.shop-nav button {
  min-height: 59px;
}

.shop-nav button > span,
.shop-nav button > span svg {
  width: 26px;
  height: 26px;
  font-size: 25px;
}

.shop-nav button small {
  font-size: 13px;
  font-weight: 750;
}

.floating-cart {
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 350px) {
  .shop-header,
  .shop-app.is-root-route .shop-header {
    padding-right: 10px;
    padding-left: 10px;
    gap: 6px;
  }

  .shop-header {
    grid-template-columns: 42px minmax(84px, 1fr) 62px 42px;
  }

  .shop-app.is-root-route .shop-header {
    grid-template-columns: minmax(92px, 1fr) 62px 42px;
  }

  .shop-icon-button {
    width: 42px;
    height: 42px;
  }

  .shop-brand img {
    width: 40px;
    height: 40px;
  }

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

  .warehouse-pill {
    min-height: 42px;
    padding: 0 9px;
    font-size: 12px;
  }

  .auth-screen__brand img {
    width: 96px;
    height: 96px;
  }

  .auth-screen > h1 {
    font-size: 40px;
  }

  .auth-screen > .screen-lead {
    font-size: 16px;
  }

  .catalog-search {
    grid-template-columns: minmax(0, 1fr) 54px;
  }

  .catalog-search > label,
  .filter-button {
    height: 54px;
  }

  .filter-button {
    width: 54px;
    min-width: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .screen-section,
  .shop-modal__sheet,
  .floating-cart {
    animation: none;
  }
}

/* Mobile readability and fullscreen refinement */
.shop-app {
  font-size: 17px;
}

.shop-header {
  min-height: 68px;
  padding: 10px 14px;
  grid-template-columns: 42px minmax(72px, 1fr) auto 42px 42px;
  gap: 7px;
}

.shop-app.is-root-route .shop-header {
  grid-template-columns: minmax(92px, 1fr) auto 42px 42px;
  grid-template-areas: "brand warehouse profile cart";
}

.shop-app.is-root-route .shop-back[hidden] {
  display: none !important;
}

.shop-icon-button {
  width: 42px;
  height: 42px;
}

.shop-brand {
  justify-self: start;
  padding: 0;
}

.shop-brand img {
  width: 40px;
  height: 40px;
}

.shop-brand strong {
  font-size: 19px;
}

.warehouse-pill {
  min-height: 42px;
  font-size: 14px;
}

.shop-cart-button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: #cfcfcf;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shop-view {
  padding-right: 16px;
  padding-left: 16px;
  padding-top: calc(84px + var(--shop-telegram-top));
}

.screen-section h1,
.page-heading h1,
.profile-hero h1 {
  font-size: clamp(38px, 10.5vw, 48px);
}

.eyebrow {
  font-size: 13px;
}

.screen-lead,
.page-heading p {
  font-size: 17px;
  line-height: 1.55;
}

.primary-action,
.secondary-action,
.text-action {
  min-height: 54px;
  font-size: 16px;
}

.auth-screen {
  max-width: 440px;
  padding-top: 8px;
}

.auth-screen__brand {
  margin-bottom: 20px;
}

.auth-screen__brand img {
  width: 84px;
  height: 84px;
}

.auth-screen .screen-lead {
  max-width: 390px;
  margin-bottom: 18px;
}

.auth-account {
  min-height: 72px;
  margin-top: 0;
  padding: 12px;
}

.auth-account > span {
  width: 46px;
  height: 46px;
  font-size: 20px;
}

.auth-account strong {
  font-size: 16px;
}

.auth-account small {
  margin-top: 3px;
  font-size: 12px;
}

.auth-warehouse {
  margin-top: 14px;
}

.auth-warehouse__heading {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.auth-warehouse__heading strong {
  font-size: 17px;
}

.auth-warehouse__heading small {
  color: var(--cbd-text-secondary);
  font-size: 12px;
}

.auth-warehouse__options {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.auth-warehouse__options button {
  position: relative;
  min-height: 78px;
  padding: 11px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--cbd-border);
  border-radius: 9px;
  color: var(--cbd-text);
  background: var(--cbd-surface);
  text-align: left;
}

.auth-warehouse__options button > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--cbd-text-dark);
  background: var(--cbd-gold);
  font-size: 13px;
  font-weight: 850;
}

.auth-warehouse__options button strong {
  min-width: 0;
  font-size: 14px;
  line-height: 1.25;
}

.auth-warehouse__options button i {
  opacity: 0;
  color: var(--cbd-gold);
  font-size: 17px;
  font-style: normal;
}

.auth-warehouse__options button.is-selected {
  border-color: var(--cbd-gold);
  background: #1b180f;
}

.auth-warehouse__options button.is-selected i {
  opacity: 1;
}

.auth-submit {
  margin-top: 14px;
}

.auth-submit:disabled {
  opacity: 0.45;
}

.auth-legal {
  font-size: 11px;
  line-height: 1.5;
}

.catalog-intro h1 {
  font-size: clamp(42px, 11vw, 50px);
}

.catalog-intro p {
  font-size: 15px;
}

.verification-badge,
.verification-badge.is-verified {
  min-height: 32px;
  padding: 7px 10px;
  font-size: 12px;
}

.catalog-warehouse-note {
  min-height: 66px;
  padding: 12px 14px;
}

.catalog-warehouse-note small {
  font-size: 12px;
}

.catalog-warehouse-note strong {
  font-size: 17px;
}

.catalog-warehouse-note > span:last-child {
  font-size: 13px;
}

.catalog-search {
  margin-top: 12px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 9px;
}

.catalog-search > label {
  height: 54px;
  border-radius: 10px;
}

.catalog-search input {
  font-size: 16px;
}

.filter-button {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  font-size: 22px;
}

.filter-button.is-open {
  border-color: var(--cbd-gold);
  color: var(--cbd-text-dark);
  background: var(--cbd-gold);
}

.catalog-inline-filters {
  margin-top: 10px;
  padding: 14px;
  border: 1px solid var(--cbd-border);
  border-radius: 10px;
  background: #121212;
  animation: inline-filters-in 160ms ease-out both;
}

@keyframes inline-filters-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.catalog-inline-filters__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.catalog-inline-filters__heading > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.catalog-inline-filters__heading strong {
  font-size: 17px;
}

.catalog-inline-filters__heading small,
.catalog-inline-filters__fields label > span {
  color: var(--cbd-text-secondary);
  font-size: 12px;
}

.catalog-inline-filters__heading button {
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--cbd-border);
  border-radius: 7px;
  color: var(--cbd-gold);
  background: #1b1b1b;
  font-size: 13px;
}

.catalog-inline-filters__fields {
  margin-top: 13px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.catalog-inline-filters__fields label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.catalog-inline-filters__fields select {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 34px 0 11px;
  border: 1px solid var(--cbd-border);
  border-radius: 8px;
  outline: 0;
  color: var(--cbd-text);
  background: var(--cbd-surface);
  font-size: 16px;
}

.catalog-inline-filters__price {
  grid-column: 1 / -1;
  padding: 11px;
  border: 1px solid var(--cbd-border);
  border-radius: 8px;
  background: var(--cbd-surface);
}

.catalog-inline-filters__price strong {
  color: var(--cbd-gold);
}

.catalog-inline-filters__price input {
  width: 100%;
  min-height: 28px;
  accent-color: var(--cbd-gold);
}

.catalog-inline-filters__switches {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-inline-filters__switches label {
  min-height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--cbd-border);
  border-radius: 8px;
  background: var(--cbd-surface);
  font-size: 14px;
}

.catalog-inline-filters__switches input {
  width: 18px;
  height: 18px;
  accent-color: var(--cbd-gold);
}

.filter-row {
  width: calc(100% + 32px);
  margin-right: -16px;
  margin-left: -16px;
  padding: 0 16px 5px;
  gap: 8px;
}

.filter-row button {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
}

.promo-section {
  margin-top: 26px;
}

.section-heading span {
  font-size: 11px;
}

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

.section-heading button {
  font-size: 13px;
}

.promo-scroller {
  width: calc(100% + 32px);
  margin-right: -16px;
  margin-left: -16px;
  padding: 0 16px 5px;
  gap: 11px;
}

.promo-card {
  flex-basis: min(82vw, 310px);
  height: 170px;
  border-radius: 10px;
}

.promo-card .product-art__bottle {
  margin-left: 150px;
  transform: scale(1.08);
}

.promo-card > span {
  width: 62%;
  padding: 18px;
  gap: 8px;
}

.promo-card i {
  font-size: 10px;
}

.promo-card strong {
  font-size: 19px;
}

.promo-card small {
  font-size: 14px;
}

.catalog-toolbar {
  min-height: 54px;
  margin-top: 20px;
}

.catalog-toolbar p,
.catalog-toolbar p strong {
  font-size: 15px;
}

.catalog-toolbar button {
  font-size: 13px;
}

.product-grid {
  grid-template-columns: 1fr;
  gap: 16px;
}

.catalog-load-more {
  width: 100%;
  min-height: 58px;
  margin: 18px 0 8px;
  border: 1px solid rgba(215, 177, 73, 0.42);
  border-radius: 18px;
  display: grid;
  place-content: center;
  gap: 2px;
  color: var(--cbd-text);
  background:
    linear-gradient(135deg, rgba(215, 177, 73, 0.13), rgba(215, 177, 73, 0.035)),
    rgba(14, 14, 13, 0.92);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.catalog-load-more span {
  font-size: 15px;
  font-weight: 800;
}

.catalog-load-more small {
  color: var(--cbd-text-secondary);
  font-size: 12px;
}

.catalog-load-more:active {
  transform: scale(0.985);
}

.product-card {
  min-height: 0;
  border-radius: 11px;
}

.product-card__open {
  height: clamp(230px, 64vw, 290px);
}

.product-art {
  min-height: clamp(230px, 64vw, 290px);
}

.product-card__open .product-art__bottle {
  transform: scale(1.45);
  transform-origin: center bottom;
}

.product-card__open .product-art > strong {
  right: 14px;
  bottom: 12px;
  font-size: 23px;
}

.product-badges {
  top: 12px;
  left: 12px;
  right: 12px;
  gap: 6px;
}

.product-badges i {
  padding: 7px 9px;
  font-size: 10px;
}

.product-card__body {
  padding: 18px 16px 16px;
}

.product-card__brand {
  font-size: 12px;
}

.product-card h3 {
  min-height: 0;
  margin: 7px 0;
  font-size: 23px;
  line-height: 1.22;
}

.product-card__meta,
.product-card__package {
  font-size: 14px;
}

.availability {
  margin-top: 10px;
  font-size: 13px;
}

.availability i {
  width: 7px;
  height: 7px;
}

.product-card__prices {
  padding-top: 15px;
  gap: 4px;
}

.product-card__prices > strong {
  font-size: 23px;
}

.product-card__prices > strong small,
.product-card__prices > span {
  font-size: 13px;
}

.product-card__action {
  margin-top: 13px;
}

.product-add,
.mini-stepper {
  min-height: 52px;
  border-radius: 8px;
}

.product-add {
  font-size: 16px;
}

.mini-stepper span {
  font-size: 17px;
}

.page-heading {
  margin-bottom: 22px;
}

.page-heading--cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 8px 12px;
}

.page-heading--cart > p {
  grid-column: 1 / -1;
  margin: 0;
}

.cart-clear {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #51302c;
  border-radius: 8px;
  color: #e0a49c;
  background: #211211;
  font-size: 13px;
  font-weight: 750;
}

.cart-list {
  gap: 14px;
}

.cart-item {
  min-height: 184px;
  padding: 14px;
  gap: 14px;
  border-radius: 11px;
}

.cart-item .product-art--compact {
  flex-basis: 112px;
  width: 112px;
  min-height: 156px;
  border-radius: 8px;
}

.cart-item .product-art--compact .product-art__bottle {
  transform: scale(1.55);
  transform-origin: center bottom;
}

.cart-item__content {
  gap: 14px;
}

.cart-item small,
.cart-item p {
  font-size: 13px;
}

.cart-item h3 {
  margin: 5px 0;
  font-size: 18px;
  line-height: 1.25;
}

.cart-item__actions {
  flex-wrap: wrap;
  gap: 10px;
}

.cart-item__actions > strong {
  margin-left: auto;
  font-size: 17px;
}

.cart-stepper input {
  width: 42px;
  font-size: 16px;
}

.field-label {
  gap: 9px;
}

.field-label > span,
.range-field > span {
  font-size: 13px;
}

.field-label input,
.field-label select,
.field-label textarea,
.cart-stepper input {
  font-size: 16px;
}

.field-label textarea {
  min-height: 118px;
  line-height: 1.5;
}

.order-summary {
  padding: 19px;
}

.order-summary > div {
  font-size: 15px;
}

.order-summary__total strong {
  font-size: 24px;
}

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

.product-detail .availability {
  font-size: 14px;
}

.product-specs--detail dt {
  font-size: 12px;
}

.product-specs--detail dd {
  font-size: 15px;
}

.product-format-card span {
  font-size: 12px;
}

.product-format-card strong {
  font-size: 16px;
}

.order-card__top strong,
.order-card__top > strong {
  font-size: 17px;
}

.order-card__bottom {
  font-size: 13px;
}

.status-pill {
  min-height: 30px;
  padding: 6px 9px;
  font-size: 11px;
}

.profile-status strong,
.settings-row strong,
.profile-details strong {
  font-size: 16px;
}

.profile-status small,
.settings-row small,
.profile-details span {
  font-size: 12px;
}

.warehouse-card strong {
  font-size: 16px;
}

.warehouse-card small {
  font-size: 12px;
}

.shop-nav button > span {
  font-size: 22px;
}

.shop-nav button > span svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shop-nav button small {
  font-size: 11px;
}

.floating-cart small {
  font-size: 11px;
}

.floating-cart > strong {
  font-size: 19px;
}

.shop-app.is-keyboard-active .shop-nav,
.shop-app.is-keyboard-active .floating-cart {
  display: none !important;
}

.shop-app.is-keyboard-active .shop-view {
  padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 350px) {
  .shop-header,
  .shop-app.is-root-route .shop-header {
    padding-right: 10px;
    padding-left: 10px;
  }

  .shop-app.is-root-route .shop-header {
    grid-template-columns: minmax(78px, 1fr) 62px 38px 38px;
  }

  .shop-view {
    padding-right: 12px;
    padding-left: 12px;
  }

  .catalog-search {
    grid-template-columns: minmax(0, 1fr) 50px;
  }

  .catalog-inline-filters__fields {
    grid-template-columns: 1fr;
  }

  .catalog-inline-filters__price {
    grid-column: auto;
  }

  .auth-warehouse__options {
    grid-template-columns: 1fr;
  }

  .product-card__open,
  .product-art {
    min-height: 220px;
    height: 220px;
  }

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

  .cart-item .product-art--compact {
    flex-basis: 92px;
    width: 92px;
  }
}

/* Final v6 mobile overrides */
.shop-header {
  min-height: 74px;
  padding: 11px 16px;
  grid-template-columns: 48px minmax(94px, 1fr) auto 48px;
  grid-template-areas: "back brand warehouse cart";
  gap: 8px;
}

.shop-app.is-root-route .shop-header {
  grid-template-columns: minmax(104px, 1fr) auto 48px;
  grid-template-areas: "brand warehouse cart";
}

.shop-icon-button {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}

.shop-brand {
  gap: 9px;
}

.shop-brand img {
  width: 46px;
  height: 46px;
}

.shop-brand strong {
  font-size: 21px;
  font-weight: 850;
}

.warehouse-pill {
  min-height: 48px;
  padding: 0 13px;
  font-size: 15px;
  font-weight: 750;
}

.shop-cart-button svg {
  width: 27px;
  height: 27px;
  stroke-width: 2;
}

.shop-view {
  padding-top: calc(91px + var(--shop-telegram-top));
}

.auth-screen__brand {
  width: 100%;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
}

.auth-screen__brand img {
  width: 112px;
  height: 112px;
}

.auth-screen > .eyebrow,
.auth-screen > h1,
.auth-screen > .screen-lead {
  width: 100%;
  text-align: center;
}

.auth-screen > .eyebrow {
  font-size: 14px;
}

.auth-screen > h1 {
  margin-top: 9px;
  font-size: clamp(42px, 11vw, 52px);
}

.auth-screen > .screen-lead {
  margin: 18px auto 20px;
  font-size: 18px;
}

.auth-warehouse__heading strong {
  font-size: 19px;
}

.auth-warehouse__heading small {
  font-size: 13px;
}

.auth-warehouse__options button {
  min-height: 84px;
  font-weight: 800;
}

.auth-warehouse__options button strong {
  font-size: 16px;
  font-weight: 850;
}

.auth-screen button,
.auth-submit {
  font-weight: 850;
}

.auth-submit {
  min-height: 58px;
  font-size: 17px;
}

.catalog-search {
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 10px;
}

.catalog-search > label,
.filter-button {
  height: 58px;
}

.catalog-search label > span {
  position: relative;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  margin-left: 16px;
  display: block;
  font-size: 0;
}

.catalog-search label > span::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 2px;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.catalog-search label > span::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 17px;
  width: 9px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.catalog-search input {
  padding-left: 9px;
  font-size: 17px;
}

.catalog-search > .filter-button {
  width: 58px;
  min-width: 58px;
  height: 58px;
  padding: 0;
  border: 1px solid var(--cbd-border);
  border-radius: 10px;
  color: var(--cbd-text);
  background: var(--cbd-surface);
}

.filter-button > span {
  display: block;
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
}

.filter-button .filter-button__icon {
  width: 24px;
  height: 19px;
  margin: 0 auto;
  display: grid;
  align-content: space-between;
  font-size: 0;
  transform: none;
}

.filter-button__icon i {
  position: relative;
  width: 24px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
}

.filter-button__icon i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: var(--cbd-surface);
  transform: translateY(-50%);
}

.filter-button__icon i:nth-child(1)::after,
.filter-button__icon i:nth-child(3)::after {
  left: 4px;
}

.filter-button__icon i:nth-child(2)::after {
  right: 4px;
}

.filter-button.is-open .filter-button__icon i::after {
  background: var(--cbd-gold);
}

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

.promo-card strong {
  font-size: 21px;
}

.promo-card small {
  color: #c8c8c8;
  font-size: 17px;
  font-weight: 700;
}

.product-card h3 {
  font-size: 25px;
  font-weight: 800;
}

.product-card__brand {
  font-size: 13px;
}

.product-card__meta,
.product-card__package {
  font-size: 15px;
}

.availability {
  font-size: 14px;
}

.product-card__prices > strong {
  font-size: 28px;
}

.product-card__prices > strong small,
.product-card__prices > span {
  font-size: 14px;
}

.product-add {
  font-size: 17px;
  font-weight: 850;
}

.shop-nav {
  min-height: calc(76px + env(safe-area-inset-bottom, 0px));
}

.shop-nav button {
  min-height: 59px;
}

.shop-nav button > span,
.shop-nav button > span svg {
  width: 26px;
  height: 26px;
  font-size: 25px;
}

.shop-nav button small {
  font-size: 13px;
  font-weight: 750;
}

.floating-cart {
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 350px) {
  .shop-header,
  .shop-app.is-root-route .shop-header {
    padding-right: 10px;
    padding-left: 10px;
    gap: 6px;
  }

  .shop-header {
    grid-template-columns: 42px minmax(84px, 1fr) 62px 42px;
  }

  .shop-app.is-root-route .shop-header {
    grid-template-columns: minmax(92px, 1fr) 62px 42px;
  }

  .shop-icon-button {
    width: 42px;
    height: 42px;
  }

  .shop-brand img {
    width: 40px;
    height: 40px;
  }

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

  .warehouse-pill {
    min-height: 42px;
    padding: 0 9px;
    font-size: 12px;
  }

  .auth-screen__brand img {
    width: 96px;
    height: 96px;
  }

  .auth-screen > h1 {
    font-size: 40px;
  }

  .auth-screen > .screen-lead {
    font-size: 16px;
  }

  .catalog-search {
    grid-template-columns: minmax(0, 1fr) 54px;
  }

  .catalog-search > label,
  .filter-button {
    height: 54px;
  }

  .catalog-search > .filter-button {
    width: 54px;
    min-width: 54px;
    height: 54px;
  }
}

/* v7: profile, order workflow and catalog filter legibility */
.profile-hero {
  gap: 17px;
}

.profile-hero > div {
  flex: 1 1 auto;
  min-width: 0;
}

.profile-avatar {
  flex-basis: 76px;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border-radius: 23px;
}

.profile-avatar--photo {
  background: #151515;
}

.profile-avatar--photo img,
.telegram-link-note__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.profile-hero h1 {
  max-width: 100%;
  overflow: visible;
  font-size: clamp(27px, 7.1vw, 36px);
  line-height: 1.08;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.profile-hero p {
  font-size: 15px;
  overflow-wrap: anywhere;
}

.profile-status {
  min-height: 68px;
  padding: 16px;
}

.profile-status > span {
  flex-basis: 42px;
  width: 42px;
  height: 42px;
  font-size: 18px;
}

.profile-status strong {
  font-size: 18px;
  line-height: 1.25;
}

.profile-details {
  padding: 17px;
}

.profile-details > div {
  padding: 15px 0;
  align-items: flex-start;
}

.profile-details span,
.settings-row small {
  flex: 0 0 auto;
  font-size: 14px;
  line-height: 1.35;
}

.profile-details strong,
.settings-row strong {
  min-width: 0;
  overflow: visible;
  font-size: 17px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-overflow: clip;
  white-space: normal;
}

.profile-details strong {
  text-align: right;
}

.settings-row {
  min-height: 76px;
  padding: 12px 16px;
}

.settings-row span {
  min-width: 0;
}

.registration-form {
  padding: 5px 17px 19px;
}

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

.registration-form__section-title {
  margin: 23px 0 2px;
  color: var(--cbd-text);
  font-size: 20px;
  font-weight: 850;
}

.registration-form .field-label > span {
  font-size: 14px;
  font-weight: 650;
}

.registration-form .field-label input {
  min-height: 54px;
  font-size: 17px;
}

.company-lookup-status {
  margin: -2px 0 4px;
  color: var(--cbd-text-secondary);
  font-size: 14px;
  line-height: 1.45;
}

.company-lookup-status.is-loading {
  color: var(--cbd-gold);
}

.company-lookup-status.is-success {
  color: #91cc9d;
}

.company-lookup-status.is-warning {
  color: #e7b36f;
}

.telegram-link-note {
  min-height: 66px;
  padding: 12px;
}

.telegram-link-note > span {
  flex-basis: 42px;
  width: 42px;
  height: 42px;
  overflow: hidden;
}

.telegram-link-note strong {
  font-size: 16px;
}

.telegram-link-note small {
  font-size: 13px;
}

.telegram-contact-request {
  width: 100%;
  min-height: 48px;
  margin-top: -2px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(94, 181, 235, 0.28);
  border-radius: 16px;
  color: #dcefff;
  background: linear-gradient(135deg, rgba(41, 132, 192, 0.2), rgba(16, 55, 82, 0.14));
  font: inherit;
  font-size: 15px;
  font-weight: 750;
}

.telegram-contact-request > span {
  color: #76c8f4;
  font-size: 19px;
  line-height: 1;
}

.telegram-contact-request:active {
  transform: translateY(1px);
  background: rgba(41, 132, 192, 0.26);
}

.order-comment-input,
.field-label textarea.order-comment-input {
  min-height: 54px;
  height: 54px;
  padding-top: 15px;
  padding-bottom: 15px;
  overflow: hidden;
  resize: none;
  line-height: 1.35;
}

.checkout-profile-warning {
  margin: 14px 0;
  padding: 14px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  border: 1px solid rgba(212, 170, 86, 0.28);
  border-radius: 10px;
  background: rgba(212, 170, 86, 0.08);
}

.checkout-profile-warning > span {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #171108;
  background: var(--cbd-gold);
  font-size: 18px;
  font-weight: 900;
}

.checkout-profile-warning div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checkout-profile-warning strong {
  font-size: 16px;
}

.checkout-profile-warning small {
  color: var(--cbd-text-secondary);
  font-size: 14px;
  line-height: 1.4;
}

.checkout-profile-warning button {
  grid-column: 2;
  justify-self: start;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--cbd-gold);
  border-radius: 7px;
  color: var(--cbd-gold);
  background: transparent;
  font-size: 14px;
  font-weight: 800;
}

.order-summary > p {
  font-size: 14px;
  line-height: 1.45;
}

.status-pill {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 850;
}

.order-progress {
  padding: 18px;
}

.order-progress > div {
  min-height: 58px;
  grid-template-columns: 27px minmax(0, 1fr);
}

.order-progress strong {
  font-size: 17px;
  line-height: 1.3;
}

.order-progress small {
  font-size: 13px;
}

.detail-card {
  padding: 18px;
}

.detail-card h2,
.detail-card__heading > strong {
  font-size: 19px;
}

.order-line {
  padding: 14px 0;
}

.order-line > span strong,
.order-line > strong {
  font-size: 16px;
  line-height: 1.35;
}

.order-line small {
  margin-top: 2px;
  font-size: 13px;
}

.invoice-card h2 {
  overflow: visible;
  font-size: 18px;
  line-height: 1.25;
  text-overflow: clip;
  white-space: normal;
}

.invoice-card p,
.document-waiting {
  font-size: 13px;
  line-height: 1.4;
}

.invoice-card button {
  min-height: 42px;
  padding: 0 13px;
  font-size: 14px;
}

.document-row {
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.35;
}

.document-row small {
  font-size: 13px;
  text-align: right;
}

.catalog-inline-filters__heading strong {
  font-size: 21px;
}

.catalog-inline-filters__heading small,
.catalog-inline-filters__fields label > span {
  font-size: 14px;
  line-height: 1.35;
}

.catalog-inline-filters__heading button {
  min-height: 40px;
  font-size: 14px;
}

.catalog-inline-filters__fields select {
  min-height: 54px;
  font-size: 17px;
}

.catalog-inline-filters__switches label {
  min-height: 46px;
  font-size: 15px;
}

.inline-filter-apply {
  width: 100%;
  min-height: 54px;
  margin-top: 14px;
  font-size: 17px;
  font-weight: 850;
}

.promo-section[hidden] {
  display: none !important;
}

.shop-app .warehouse-pill {
  width: auto;
  max-width: none;
  padding: 0 12px;
  font-size: 14px;
  white-space: nowrap;
}

.shop-app .warehouse-pill > span:last-child {
  overflow: visible;
  text-overflow: clip;
}

.warehouse-sheet__list button {
  min-height: 78px;
  padding: 14px;
}

.warehouse-sheet__list strong {
  font-size: 17px;
}

.warehouse-sheet__list small {
  font-size: 13px;
}

.sheet-heading h2 {
  font-size: 29px;
}

.sheet-heading p {
  font-size: 14px;
}

.catalog-nav-icon {
  width: 24px !important;
  height: 24px !important;
  display: grid !important;
  grid-template-columns: repeat(2, 9px);
  grid-template-rows: repeat(2, 9px);
  place-content: center;
  gap: 3px;
  font-size: 0 !important;
}

.catalog-nav-icon i {
  width: 9px;
  height: 9px;
  display: block;
  border: 1.8px solid currentColor;
  border-radius: 2px;
}

@media (max-width: 430px) {
  .shop-header {
    grid-template-columns: 48px minmax(46px, 1fr) auto 48px;
  }

  .shop-app.is-root-route .shop-header {
    grid-template-columns: minmax(46px, 1fr) auto 48px;
  }

  .shop-brand > span {
    display: none;
  }
}

@media (max-width: 350px) {
  .shop-header {
    grid-template-columns: 42px minmax(55px, 1fr) auto 42px;
  }

  .shop-app.is-root-route .shop-header {
    grid-template-columns: minmax(55px, 1fr) auto 42px;
  }

  .shop-app .warehouse-pill {
    width: auto;
    min-height: 42px;
    padding: 0 7px;
    font-size: 11px;
  }

  .profile-avatar {
    flex-basis: 68px;
    width: 68px;
    height: 68px;
  }

  .profile-hero h1 {
    font-size: 26px;
  }

  .registration-form__columns {
    grid-template-columns: 1fr;
  }

  .invoice-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .invoice-card button {
    width: 100%;
  }
}

/* v8: quieter background and softer mobile surfaces */
.shop-app {
  position: relative;
  isolation: isolate;
  background: #080908;
}

.shop-app::before,
.shop-app::after {
  z-index: 1;
  filter: blur(1.15px);
}

.shop-view {
  z-index: 2;
}

.shop-icon-button,
.warehouse-pill {
  border-radius: 14px;
}

.primary-action,
.secondary-action,
.text-action,
.catalog-search > label,
.filter-button,
.filter-row button,
.catalog-inline-filters__heading button,
.catalog-inline-filters__fields select,
.catalog-inline-filters__switches label,
.inline-filter-apply,
.field-label input,
.field-label select,
.field-label textarea,
.quantity-input,
.quantity-control,
.invoice-card button {
  border-radius: 14px;
}

.auth-account,
.auth-benefits > div,
.auth-warehouse__options button,
.warehouse-card,
.telegram-auth-card,
.catalog-inline-filters,
.priority-card,
.product-card,
.cart-line,
.cart-summary,
.order-card,
.order-progress,
.detail-card,
.invoice-card,
.profile-status,
.profile-details,
.settings-row,
.registration-form,
.warehouse-sheet__list button {
  border-radius: 18px;
}

.floating-cart {
  border-radius: 18px;
}

.shop-modal__sheet {
  border-radius: 30px 30px 0 0;
}

@media (max-width: 350px) {
  .auth-account,
  .auth-benefits > div,
  .auth-warehouse__options button,
  .warehouse-card,
  .telegram-auth-card,
  .catalog-inline-filters,
  .priority-card,
  .product-card,
  .cart-line,
  .cart-summary,
  .order-card,
  .order-progress,
  .detail-card,
  .invoice-card,
  .profile-status,
  .profile-details,
  .settings-row,
  .registration-form,
  .warehouse-sheet__list button {
    border-radius: 16px;
  }
}

/* v9: continuous Telegram safe-area and a clearer sticky header */
.shop-header {
  isolation: isolate;
  border-bottom-color: rgba(215, 177, 73, 0.12);
  background: rgba(8, 9, 8, 0.985);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.025),
    0 12px 28px rgba(0, 0, 0, 0.42),
    0 24px 54px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(18px) saturate(0.82);
  -webkit-backdrop-filter: blur(18px) saturate(0.82);
}

.shop-header::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: calc(100% - 1px);
  left: 0;
  height: calc(var(--shop-telegram-top) + 2px);
  pointer-events: none;
  background: #080908;
}

.shop-header::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: -1px;
  left: 14px;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(215, 177, 73, 0.2) 18%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(215, 177, 73, 0.2) 82%,
    transparent
  );
  box-shadow: 0 5px 18px rgba(215, 177, 73, 0.07);
}

@media (prefers-reduced-transparency: reduce) {
  .shop-header {
    background: #080908;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* v10: edge-to-edge product media and dimensional catalog cards */
.product-grid {
  gap: 18px;
}

.product-card {
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: visible;
  border-color: rgba(222, 183, 79, 0.24);
  border-radius: 24px;
  background: #111210;
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.product-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 7% 5% 5%;
  border-radius: 30px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 22%, rgba(224, 179, 70, 0.31), transparent 54%),
    radial-gradient(ellipse at 50% 78%, rgba(139, 81, 22, 0.2), transparent 62%);
  filter: blur(27px);
  opacity: 0.82;
}

.product-card__open {
  height: clamp(255px, 72vw, 330px);
  padding: 0;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
  background:
    radial-gradient(circle at 50% 43%, rgba(222, 177, 70, 0.18), transparent 54%),
    linear-gradient(180deg, #13140f 0%, #090a09 100%);
}

.product-card__open .product-art,
.product-card__open .product-art--image,
.product-card__open .product-art--image.product-art--framed {
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-card__open .product-art--image.product-art--framed .product-art__ambient,
.product-card__open .product-art--image.product-art--framed::after {
  inset: 0;
  border: 0;
  border-radius: 0;
}

.product-card__open .product-art--image.product-art--framed .product-art__ambient {
  background:
    radial-gradient(circle at 50% 48%, rgba(224, 181, 79, 0.2), transparent 59%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(0, 0, 0, 0.1));
  box-shadow: none;
}

.product-card__open .product-art--image.product-art--framed::after {
  box-shadow:
    inset 0 -36px 42px -38px rgba(0, 0, 0, 0.9),
    inset 0 0 34px rgba(0, 0, 0, 0.12);
}

.product-card__open .product-art--image.product-art--framed img {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
  box-shadow: none;
  filter:
    drop-shadow(0 17px 22px rgba(0, 0, 0, 0.42))
    saturate(1.045)
    contrast(1.025);
}

.product-card__body {
  overflow: hidden;
  border-top-color: rgba(220, 180, 78, 0.14);
  border-radius: 0 0 24px 24px;
  background:
    linear-gradient(155deg, rgba(220, 178, 72, 0.055), transparent 47%),
    #111210;
}

.product-card__prices > strong {
  font-size: 30px;
  line-height: 1.08;
}

/* Product detail keeps one clean media boundary instead of nested frames. */
.product-detail__media {
  overflow: hidden;
  border-color: rgba(220, 181, 79, 0.19);
  background:
    radial-gradient(circle at 50% 44%, rgba(220, 176, 73, 0.17), transparent 58%),
    #10110f;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34);
}

.product-detail__media .product-art--image,
.product-detail__media .product-art--image.product-art--framed {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-detail__media .product-art--image.product-art--framed .product-art__ambient,
.product-detail__media .product-art--image.product-art--framed::after {
  inset: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.product-detail__media .product-art--image.product-art--framed img {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  background: transparent;
  box-shadow: none;
  filter:
    drop-shadow(0 18px 22px rgba(0, 0, 0, 0.42))
    saturate(1.035)
    contrast(1.02);
}

.product-about {
  background:
    linear-gradient(145deg, rgba(215, 177, 73, 0.055), transparent 52%),
    #121311;
  box-shadow: none;
}

.product-detail-bar > span strong {
  font-size: 28px;
  line-height: 1.05;
}

/* A dark premium cart tray with a raised dimensional icon. */
.floating-cart {
  min-height: 70px;
  padding: 11px 18px 11px 82px;
  overflow: visible;
  border: 1px solid rgba(235, 198, 99, 0.48);
  border-radius: 20px;
  color: #f6f1e5;
  background:
    radial-gradient(circle at 14% 10%, rgba(226, 183, 77, 0.2), transparent 40%),
    linear-gradient(135deg, #282014 0%, #17140f 48%, #0d0f0d 100%);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.52),
    0 0 26px rgba(197, 139, 42, 0.12),
    inset 0 1px 0 rgba(255, 240, 187, 0.1);
}

.floating-cart::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 18px;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(255, 231, 151, 0.08), transparent 34%);
}

.floating-cart .floating-cart__icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 7px;
  width: 72px;
  height: 72px;
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 12px 13px rgba(0, 0, 0, 0.48));
  transform: translate(-7px, -57%) rotate(-4deg);
  transform-origin: center;
}

.floating-cart__icon svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.floating-cart .floating-cart__copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.floating-cart__copy > strong {
  color: #f7e4a2;
  font-size: 18px;
  font-weight: 850;
}

.floating-cart__copy small {
  color: #bfb8a7;
  font-size: 12px;
}

.floating-cart > strong {
  position: relative;
  z-index: 1;
  color: #f3cf69;
  font-size: 21px;
}

.floating-cart:not([hidden]) .floating-cart__icon {
  animation: floating-cart-icon-in 460ms cubic-bezier(0.18, 0.88, 0.22, 1.18) both;
}

@keyframes floating-cart-icon-in {
  from {
    opacity: 0;
    transform: translate(-20px, -38%) rotate(-14deg) scale(0.76);
  }
  to {
    opacity: 1;
    transform: translate(-7px, -57%) rotate(-4deg) scale(1);
  }
}

@media (max-width: 350px) {
  .product-card__open {
    height: clamp(235px, 76vw, 275px);
  }

  .floating-cart {
    width: calc(100% - 16px);
    padding-right: 12px;
    padding-left: 72px;
  }

  .floating-cart .floating-cart__icon {
    left: 5px;
    width: 65px;
    height: 65px;
  }

  .floating-cart > strong {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-cart:not([hidden]) .floating-cart__icon {
    animation: none;
  }
}

/* v11: catalog cards aligned to the supplied visual reference */
.product-grid {
  gap: 16px;
}

.product-card {
  border-color: rgba(218, 177, 72, 0.31);
  border-radius: 21px;
  background: #111210;
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.46),
    0 0 28px rgba(203, 147, 44, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.product-card::before {
  inset: 5% 4% 4%;
  background:
    radial-gradient(ellipse at 50% 22%, rgba(226, 180, 67, 0.26), transparent 55%),
    radial-gradient(ellipse at 50% 80%, rgba(126, 72, 18, 0.16), transparent 64%);
  filter: blur(25px);
  opacity: 0.72;
}

.product-card__open {
  height: clamp(215px, 57vw, 280px);
  border-radius: 21px 21px 0 0;
  background: #0b0c0b;
}

.product-card__open .product-art--image {
  isolation: isolate;
}

.product-card__open .product-art--image.product-art--framed .product-art__backdrop {
  position: absolute;
  z-index: 0;
  inset: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  object-fit: cover;
  object-position: center;
  opacity: 0.46;
  filter: blur(15px) saturate(0.86) brightness(0.54);
  transform: scale(1.055);
}

.product-card__open .product-art--image.product-art--framed .product-art__main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter:
    drop-shadow(0 12px 18px rgba(0, 0, 0, 0.42))
    saturate(1.045)
    contrast(1.02);
}

.product-card__open .product-art--image.product-art--framed::after {
  z-index: 2;
  background: linear-gradient(180deg, transparent 68%, rgba(0, 0, 0, 0.17));
  box-shadow:
    inset 0 0 30px rgba(0, 0, 0, 0.15),
    inset 0 -18px 24px -22px rgba(0, 0, 0, 0.85);
}

.product-card__body {
  padding: 16px 16px 15px;
  border-radius: 0 0 21px 21px;
  background:
    linear-gradient(160deg, rgba(217, 173, 66, 0.04), transparent 48%),
    #111210;
}

.product-card__brand {
  min-height: 0;
  color: #d9b452;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.045em;
}

.product-card h3 {
  min-height: 0;
  margin: 5px 0 0;
  color: #f7f4eb;
  font-size: clamp(24px, 6.5vw, 29px);
  font-weight: 850;
  line-height: 1.16;
  letter-spacing: -0.025em;
  -webkit-line-clamp: 3;
}

.product-card__summary {
  margin: 8px 0 0;
  color: #bcb8af;
  font-size: 15px;
  font-weight: 560;
  line-height: 1.48;
  overflow-wrap: anywhere;
}

.product-card .availability {
  margin-top: 9px;
  font-size: 14px;
  font-weight: 650;
}

.product-card__purchase {
  margin-top: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(128px, auto);
  gap: 12px;
  align-items: end;
}

.product-card__purchase .product-card__prices {
  margin: 0;
  padding: 0;
  align-self: center;
}

.product-card__prices > strong {
  color: #e2b84f;
  font-size: clamp(31px, 8.4vw, 38px);
  font-weight: 850;
  line-height: 1;
  letter-spacing: -0.025em;
}

.product-card__prices > strong small {
  color: #bbb5a8;
  font-size: 15px;
  font-weight: 650;
}

.product-card__prices > span {
  margin-top: 5px;
  color: #8f8a80;
  font-size: 14px;
  line-height: 1.3;
}

.product-card__unit {
  min-width: 128px;
  min-height: 62px;
  padding: 9px 13px;
  border: 1px solid rgba(221, 181, 78, 0.27);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #f0ece2;
  background:
    linear-gradient(145deg, rgba(218, 176, 71, 0.08), transparent 58%),
    #171713;
}

.product-card__unit small {
  color: #8f8c84;
  font-size: 10px;
  font-weight: 700;
}

.product-card__unit strong {
  margin-top: 3px;
  font-size: 16px;
  font-weight: 800;
}

.product-card__stepper {
  width: 154px;
  min-height: 62px;
  border-color: rgba(224, 183, 79, 0.34);
  border-radius: 15px;
  background:
    linear-gradient(145deg, rgba(220, 177, 70, 0.09), transparent 58%),
    #171713;
}

.product-card__stepper button {
  min-height: 60px;
  color: #e3b94e;
  font-size: 24px;
}

.product-card__stepper span {
  font-size: 17px;
}

.product-card__action {
  margin-top: 13px;
}

.product-card .product-add {
  min-height: 64px;
  border: 1px solid rgba(246, 215, 126, 0.45);
  border-radius: 13px;
  color: #17130b;
  background:
    linear-gradient(180deg, #e4c566 0%, #cfa73e 58%, #b88627 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 249, 209, 0.48),
    0 12px 24px rgba(127, 80, 12, 0.2);
  font-size: 19px;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.product-card .product-add:active {
  color: #151109;
  background:
    linear-gradient(180deg, #efd77f 0%, #d9b34c 58%, #c18f2c 100%);
  transform: translateY(1px);
}

.product-card .product-add--in-cart {
  color: #f5dda0;
  background:
    linear-gradient(140deg, rgba(220, 177, 70, 0.18), rgba(220, 177, 70, 0.055)),
    #181713;
}

/* Keep the full product visible while the blurred duplicate fills the media edges. */
.product-detail__media .product-art--image.product-art--framed .product-art__backdrop,
.product-art--compact.product-art--image.product-art--framed .product-art__backdrop {
  position: absolute;
  z-index: 0;
  inset: -12px;
  width: calc(100% + 24px);
  height: calc(100% + 24px);
  object-fit: cover;
  opacity: 0.34;
  filter: blur(14px) brightness(0.56);
  transform: scale(1.04);
}

.product-detail__media .product-art--image.product-art--framed .product-art__main,
.product-art--compact.product-art--image.product-art--framed .product-art__main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 350px) {
  .product-card__open {
    height: clamp(200px, 61vw, 230px);
  }

  .product-card__body {
    padding-right: 13px;
    padding-left: 13px;
  }

  .product-card h3 {
    font-size: 23px;
  }

  .product-card__summary {
    font-size: 14px;
  }

  .product-card__purchase {
    grid-template-columns: minmax(0, 1fr) 122px;
    gap: 8px;
  }

  .product-card__unit {
    min-width: 122px;
    padding-inline: 10px;
  }

  .product-card__stepper {
    width: 122px;
    grid-template-columns: 38px 1fr 38px;
  }

  .product-card__prices > strong {
    font-size: 29px;
  }
}

/* v12: concise 1C packaging details and guaranteed rounded product media */
.product-card__open {
  overflow: hidden;
  contain: paint;
  border-radius: 21px 21px 0 0;
  -webkit-clip-path: inset(0 round 21px 21px 0 0);
  clip-path: inset(0 round 21px 21px 0 0);
}

.product-card__open .product-art,
.product-card__open .product-art--image {
  overflow: hidden;
  border-radius: 21px 21px 0 0;
}

.product-card__producer {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: #d9b452;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: 0.045em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-card__producer + h3 {
  margin-top: 5px;
}

.product-card__body > h3:first-child {
  margin-top: 0;
}

/* v13: cleaner product details, actionable cart rows and stronger checkout cues */
.product-detail h1 {
  max-width: 100%;
  font-size: clamp(22px, 6vw, 28px);
  line-height: 1.18;
  letter-spacing: -0.018em;
}

.product-specs--detail {
  margin-top: 18px;
}

.product-specs--detail > div {
  min-height: 58px;
}

.product-format-card {
  margin-top: 12px;
}

.cart-clear {
  border-color: rgba(191, 54, 45, 0.78);
  color: #ffd7d2;
  background:
    linear-gradient(180deg, rgba(143, 37, 31, 0.86), rgba(83, 22, 20, 0.94)),
    #551714;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 215, 0.11),
    0 8px 18px rgba(95, 16, 13, 0.2);
  font-weight: 800;
}

.cart-clear:active {
  border-color: rgba(225, 78, 67, 0.9);
  color: #fff0ed;
  background: #721e19;
}

.cart-item[data-action="open-cart-product"] {
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 140ms ease;
}

.cart-item[data-action="open-cart-product"]:active {
  border-color: rgba(219, 178, 73, 0.42);
  background-color: #191813;
  transform: scale(0.992);
}

.cart-item[data-action="open-cart-product"]:focus-visible {
  outline: 2px solid rgba(225, 187, 87, 0.8);
  outline-offset: 3px;
}

.checkout-profile-warning {
  position: relative;
  overflow: hidden;
  border-color: rgba(239, 190, 65, 0.74);
  border-radius: 16px;
  background:
    radial-gradient(circle at 5% 20%, rgba(242, 184, 50, 0.2), transparent 38%),
    linear-gradient(135deg, rgba(111, 64, 12, 0.74), rgba(45, 31, 13, 0.96));
  box-shadow:
    0 0 0 1px rgba(255, 222, 132, 0.045),
    0 14px 30px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(221, 158, 33, 0.13);
  animation: company-warning-glow 2.4s ease-in-out infinite;
}

.checkout-profile-warning::after {
  content: "";
  position: absolute;
  top: -55%;
  bottom: -55%;
  left: -34%;
  width: 24%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 235, 172, 0.13), transparent);
  transform: skewX(-18deg);
  animation: company-warning-sheen 3.2s ease-in-out infinite;
}

.checkout-profile-warning > span {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, #ffe18a, #d79e29);
  box-shadow: 0 0 18px rgba(238, 184, 55, 0.34);
}

.checkout-profile-warning div,
.checkout-profile-warning button {
  position: relative;
  z-index: 1;
}

.checkout-profile-warning strong {
  color: #fff0bc;
  font-size: 18px;
}

.checkout-profile-warning small {
  color: #d4ccba;
}

.checkout-profile-warning button {
  min-height: 44px;
  padding: 0 17px;
  border-color: rgba(255, 224, 137, 0.65);
  border-radius: 11px;
  color: #201707;
  background: linear-gradient(180deg, #f0ce68, #c9972e);
  box-shadow: inset 0 1px 0 rgba(255, 248, 204, 0.45);
}

@keyframes company-warning-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 1px rgba(255, 222, 132, 0.045),
      0 14px 30px rgba(0, 0, 0, 0.34),
      0 0 20px rgba(221, 158, 33, 0.1);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 222, 132, 0.08),
      0 16px 34px rgba(0, 0, 0, 0.38),
      0 0 32px rgba(231, 169, 38, 0.22);
  }
}

@keyframes company-warning-sheen {
  0%,
  42% {
    left: -34%;
    opacity: 0;
  }
  56% {
    opacity: 1;
  }
  76%,
  100% {
    left: 116%;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-profile-warning,
  .checkout-profile-warning::after {
    animation: none;
  }

  .cart-item[data-action="open-cart-product"] {
    transition: none;
  }
}

/* v14: complete product artwork, rounded detail media and side-light pulse */
.product-card::before {
  inset: 10% -5px 8%;
  border-radius: 34px;
  background:
    radial-gradient(ellipse at 0% 42%, rgba(234, 188, 70, 0.4), transparent 43%),
    radial-gradient(ellipse at 100% 58%, rgba(191, 119, 31, 0.32), transparent 43%);
  filter: blur(19px);
  opacity: 0.38;
  transform: scaleX(0.93);
  animation: product-card-side-pulse 4.2s ease-in-out infinite;
}

.product-card:nth-child(3n + 2)::before {
  animation-delay: -1.4s;
}

.product-card:nth-child(3n)::before {
  animation-delay: -2.8s;
}

.product-card__title {
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  display: -webkit-box;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.product-card__title:focus-visible {
  outline: 2px solid rgba(232, 193, 88, 0.78);
  outline-offset: 4px;
  border-radius: 4px;
}

.product-card__title:active {
  color: #f0cf75;
}

.product-card__open .product-art--image.product-art--framed .product-art__main {
  box-sizing: border-box;
  padding: 4px 5px;
  object-fit: contain;
  object-position: center;
}

.product-detail__media {
  overflow: hidden;
  contain: paint;
  border-radius: 24px;
  -webkit-clip-path: inset(0 round 24px);
  clip-path: inset(0 round 24px);
}

.product-detail__media .product-art,
.product-detail__media .product-art--image {
  overflow: hidden;
  border-radius: inherit;
}

.product-detail__media .product-art--image.product-art--framed .product-art__backdrop {
  inset: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  object-fit: cover;
  object-position: center;
  opacity: 0.42;
  filter: blur(16px) saturate(0.9) brightness(0.56);
}

.product-detail__media .product-art--image.product-art--framed .product-art__main {
  box-sizing: border-box;
  padding: 10px 12px;
  object-fit: contain;
  object-position: center;
  border-radius: 19px;
}

@keyframes product-card-side-pulse {
  0%,
  100% {
    opacity: 0.28;
    transform: scaleX(0.92);
  }
  50% {
    opacity: 0.66;
    transform: scaleX(1.025);
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card::before {
    opacity: 0.42;
    animation: none;
    transform: none;
  }
}

/* v15: expressive navigation state and matching section title icons */
.shop-nav {
  padding-top: 7px;
  border-top-color: rgba(220, 180, 76, 0.13);
  background: rgba(8, 9, 8, 0.985);
  box-shadow:
    0 -14px 34px rgba(0, 0, 0, 0.44),
    0 -1px 0 rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(18px) saturate(0.82);
  -webkit-backdrop-filter: blur(18px) saturate(0.82);
}

.shop-nav button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 17px;
  color: #777a75;
  background: transparent;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.shop-nav button::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: 34px;
  height: 2px;
  border-radius: 0 0 999px 999px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, #f0ca65, transparent);
  box-shadow: 0 3px 12px rgba(222, 174, 61, 0.38);
  transform: translateX(-50%) scaleX(0.55);
  transition:
    opacity 180ms ease,
    transform 220ms ease;
}

.shop-nav button.is-active {
  border-color: rgba(225, 184, 76, 0.29);
  color: #f1ca61;
  background:
    radial-gradient(circle at 50% 0%, rgba(232, 187, 70, 0.17), transparent 58%),
    linear-gradient(180deg, rgba(47, 39, 21, 0.94), rgba(24, 22, 15, 0.98));
  box-shadow:
    0 10px 25px rgba(0, 0, 0, 0.28),
    0 0 20px rgba(206, 148, 35, 0.08),
    inset 0 1px 0 rgba(255, 236, 172, 0.08);
  transform: translateY(-2px);
}

.shop-nav button.is-active::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
}

.shop-nav button > span {
  transition:
    transform 180ms ease,
    filter 180ms ease;
}

.shop-nav button.is-active > span {
  filter: drop-shadow(0 0 8px rgba(230, 182, 60, 0.34));
  transform: scale(1.08);
}

.shop-nav button.is-active small {
  color: #f4d77f;
  font-weight: 850;
}

.shop-nav .section-nav-svg,
.section-title-icon .section-nav-svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-title-row {
  margin-top: 7px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.section-title-row h1,
.catalog-intro .section-title-row h1,
.page-heading .section-title-row h1 {
  margin: 0;
}

.section-title-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(225, 183, 75, 0.28);
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #e3b951;
  background:
    radial-gradient(circle at 50% 0%, rgba(230, 183, 67, 0.18), transparent 64%),
    #191711;
  box-shadow:
    0 9px 20px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 236, 170, 0.07);
}

.section-title-icon .section-nav-svg {
  width: 27px;
  height: 27px;
}

.section-title-icon .catalog-nav-icon {
  color: currentColor;
  transform: scale(1.04);
}

.catalog-intro .section-title-row + p,
.page-heading .section-title-row + p {
  margin-top: 10px;
}

@media (max-width: 350px) {
  .section-title-row {
    gap: 9px;
  }

  .section-title-icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .section-title-icon .section-nav-svg {
    width: 24px;
    height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-nav button,
  .shop-nav button::after,
  .shop-nav button > span {
    transition: none;
  }
}

/* v16: Android WebView vertical gesture recovery */
body.shop-open {
  overflow-y: auto;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}

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

.shop-view,
.screen-section,
.catalog-screen,
.orders-screen,
.cart-screen,
.profile-screen,
.product-grid,
.product-card,
.product-card__body,
.cart-list,
.cart-item,
.orders-list,
.order-card,
.product-detail,
.product-detail__body {
  touch-action: pan-y;
}

.product-card button,
.cart-item button,
.order-card,
.settings-row {
  touch-action: pan-y;
}

.product-card__open {
  contain: none;
  overflow: visible;
  -webkit-clip-path: none;
  clip-path: none;
}

.product-card__open .product-art,
.product-card__open .product-art--image {
  contain: paint;
  overflow: hidden;
  border-radius: 21px 21px 0 0;
  pointer-events: none;
  -webkit-clip-path: inset(0 round 21px 21px 0 0);
  clip-path: inset(0 round 21px 21px 0 0);
}

.product-art img,
.product-art__ambient,
.product-art::after {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}

@media (hover: none) and (pointer: coarse) {
  .shop-view button,
  .shop-view [data-action] {
    -webkit-tap-highlight-color: transparent;
  }
}

/* v17: iOS WebView stability - keep the premium look without stacking
   dozens of animated blur layers and duplicate decoded product images. */
html.is-ios-webview .shop-header,
html.is-ios-webview .shop-nav {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html.is-ios-webview .product-card::before {
  opacity: 0.34;
  filter: blur(12px);
  animation: none;
  transform: scaleX(0.96);
}

html.is-ios-webview .product-card__open {
  contain: paint;
  overflow: hidden;
  border-radius: 21px 21px 0 0;
  -webkit-clip-path: inset(0 round 21px 21px 0 0);
  clip-path: inset(0 round 21px 21px 0 0);
}

html.is-ios-webview .product-card__open .product-art__backdrop {
  display: none;
}

html.is-ios-webview .product-card__open .product-art--image.product-art--framed .product-art__main {
  filter: drop-shadow(0 8px 11px rgba(0, 0, 0, 0.38));
}

/* v18: dedicated Android content scroller and narrow-screen header fixes */
html.platform-android,
html.platform-android body {
  height: 100%;
  overflow: hidden;
}

html.platform-android body.shop-open {
  min-height: 0;
  height: var(--tg-viewport-height, 100dvh);
  overflow: hidden;
}

html.platform-android .shop-app {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

html.platform-android .shop-view {
  height: 100%;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

html.platform-android .shop-view::-webkit-scrollbar {
  display: none;
}

@media (max-width: 430px) {
  .shop-brand > span {
    min-width: 0;
    display: flex;
  }

  .shop-brand small {
    display: none;
  }

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

  .shop-header {
    grid-template-columns: 44px minmax(88px, 1fr) minmax(72px, auto) 44px;
    gap: 6px;
  }

  .shop-app.is-root-route .shop-header {
    grid-template-columns: minmax(88px, 1fr) minmax(72px, auto) 44px;
  }

  .shop-brand img {
    width: 40px;
    height: 40px;
  }

  .shop-icon-button {
    width: 44px;
    height: 44px;
  }

  .shop-app .warehouse-pill {
    min-width: 0;
    padding-inline: 9px;
    font-size: 13px;
  }
}

.page-heading--cart {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.page-heading--cart > p,
.page-heading--cart .cart-clear {
  grid-column: 1;
}

.page-heading--cart .cart-clear {
  min-height: 44px;
  margin-top: 2px;
  justify-self: start;
}

.product-detail-bar > span em {
  margin-top: 3px;
  display: block;
  color: #c9b580;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.25;
}

/* v19: Android end-of-page reserve, accurate company states and cleaner media */
html.platform-android .shop-app:not(.is-auth-route):not(.is-age-route) .shop-view {
  box-sizing: border-box;
  padding-bottom: calc(154px + var(--safe-bottom)) !important;
  scroll-padding-bottom: calc(154px + var(--safe-bottom));
}

html.platform-android .shop-app.has-floating-cart .shop-view {
  padding-bottom: calc(222px + var(--safe-bottom)) !important;
  scroll-padding-bottom: calc(222px + var(--safe-bottom));
}

html.platform-android .shop-app.is-product-route .shop-view {
  padding-bottom: calc(178px + var(--safe-bottom)) !important;
  scroll-padding-bottom: calc(178px + var(--safe-bottom));
}

html.platform-android .shop-view > .screen-section::after {
  content: "";
  width: 100%;
  height: 22px;
  display: block;
  pointer-events: none;
}

.profile-status.is-incomplete {
  border-color: rgba(211, 92, 76, 0.42);
  background:
    linear-gradient(145deg, rgba(154, 48, 39, 0.16), transparent 72%),
    #171110;
}

.profile-status.is-incomplete > span {
  color: #2a0906;
  background: #e98675;
}

.profile-status.is-pending {
  border-color: rgba(224, 177, 68, 0.34);
  background:
    linear-gradient(145deg, rgba(218, 169, 59, 0.12), transparent 72%),
    #17150f;
}

.profile-status.is-pending > span {
  color: #241607;
  background: #e5ba57;
}

.empty-state--large > .section-title-icon {
  flex-basis: 76px;
  width: 76px;
  height: 76px;
  border-radius: 23px;
}

.empty-state--large > .section-title-icon .section-nav-svg {
  width: 40px;
  height: 40px;
}

.empty-state--large > .section-title-icon .catalog-nav-icon {
  transform: scale(1.45);
}

.empty-state--large h2 {
  font-size: clamp(24px, 7vw, 30px);
}

.empty-state--large p {
  max-width: 320px;
  font-size: 15px;
}

.empty-state--large button {
  min-width: min(100%, 286px);
  min-height: 58px;
  padding-inline: 24px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 850;
  box-shadow:
    inset 0 1px 0 rgba(255, 245, 202, 0.34),
    0 13px 26px rgba(125, 79, 13, 0.22);
}

.product-card__open {
  width: calc(100% + 2px);
  margin: -1px -1px 0;
  border: 0;
  outline: 0;
  box-shadow: none;
}

.product-card__open .product-art,
.product-card__open .product-art--image,
.product-card__open .product-art--image.product-art--framed,
.product-card__open .product-art--image.product-art--framed img {
  border: 0 !important;
  box-shadow: none;
}

.product-card__open .product-art__ambient {
  display: none;
}

.product-card__open .product-art--image.product-art--framed .product-art__backdrop {
  inset: -18px;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  opacity: 0.58;
  filter: blur(17px) saturate(0.92) brightness(0.58);
}

.product-card__open .product-art--image.product-art--framed .product-art__main {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter:
    drop-shadow(0 9px 14px rgba(0, 0, 0, 0.3))
    saturate(1.035)
    contrast(1.015);
}

/* v20: readable product specifications and an explicit missing-image state */
.product-specs--detail > div {
  grid-template-columns: minmax(0, auto) minmax(16px, 1fr) minmax(0, 52%);
  gap: 9px;
}

.product-specs--detail > div::before {
  content: "";
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  min-width: 16px;
  border-bottom: 2px dotted rgba(215, 177, 73, 0.28);
  transform: translateY(2px);
}

.product-specs--detail dt {
  grid-column: 1;
  grid-row: 1;
  color: #b5b0a5;
  font-size: 15px;
  font-weight: 720;
  line-height: 1.35;
}

.product-specs--detail dd {
  grid-column: 3;
  grid-row: 1;
  font-size: 16px;
  line-height: 1.4;
}

.product-art__missing {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: min(78%, 250px);
  color: rgba(205, 205, 199, 0.68);
  font-size: 14px;
  font-weight: 720;
  line-height: 1.35;
  letter-spacing: 0.025em;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%);
}

@media (max-width: 350px) {
  .product-specs--detail > div {
    grid-template-columns: minmax(0, auto) minmax(10px, 1fr) minmax(0, 48%);
    gap: 7px;
  }

  .product-specs--detail dt {
    font-size: 14px;
  }

  .product-specs--detail dd {
    font-size: 15px;
  }

  .product-art__missing {
    font-size: 13px;
  }
}

/* v21: light catalog canvas while premium controls and product cards stay dark */
.shop-app.is-root-route {
  background: #ffffff;
}

.shop-app.is-root-route .catalog-screen {
  color: #17150f;
}

.shop-app.is-root-route .catalog-intro h1,
.shop-app.is-root-route .section-heading h2,
.shop-app.is-root-route .catalog-toolbar p strong {
  color: #17150f;
}

.shop-app.is-root-route .catalog-intro p,
.shop-app.is-root-route .catalog-toolbar p,
.shop-app.is-root-route .section-heading button {
  color: #746f63;
}

.shop-app.is-root-route .catalog-screen > .eyebrow,
.shop-app.is-root-route .catalog-intro .eyebrow,
.shop-app.is-root-route .section-heading span {
  color: #9a721b;
}

.shop-app.is-root-route::before,
.shop-app.is-root-route::after {
  opacity: 0.7;
  filter: blur(0.7px);
}

/* v22: centered catalog heading and light premium filter controls */
.shop-app.is-root-route .catalog-intro {
  width: 100%;
  padding-top: 8px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.shop-app.is-root-route .catalog-intro > div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.shop-app.is-root-route .catalog-intro .eyebrow {
  width: 100%;
  text-align: center;
}

.shop-app.is-root-route .catalog-intro .section-title-row {
  width: 100%;
  justify-content: center;
}

.shop-app.is-root-route .catalog-intro .section-title-row + p {
  margin-top: 15px;
  position: relative;
  left: 6px;
  text-align: center;
}

.shop-app.is-root-route .catalog-search {
  margin-top: 22px;
}

.shop-app.is-root-route .catalog-search > label,
.shop-app.is-root-route .catalog-search > .filter-button {
  border-color: rgba(154, 114, 27, 0.3);
  background: rgba(255, 254, 250, 0.97);
  box-shadow:
    0 10px 24px rgba(77, 55, 12, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.shop-app.is-root-route .catalog-search > label:focus-within {
  border-color: rgba(166, 119, 24, 0.7);
  box-shadow:
    0 12px 28px rgba(90, 61, 8, 0.15),
    0 0 0 3px rgba(201, 159, 58, 0.12);
}

.shop-app.is-root-route .catalog-search label > span {
  color: #9a721b;
}

.shop-app.is-root-route .catalog-search input {
  color: #211e17;
}

.shop-app.is-root-route .catalog-search input::placeholder {
  color: #8a8477;
}

.shop-app.is-root-route .catalog-search label button {
  color: #7c7465;
}

.shop-app.is-root-route .catalog-search > .filter-button {
  color: #9a721b;
}

.shop-app.is-root-route .filter-button__icon i::after {
  background: #fffefa;
}

.shop-app.is-root-route .catalog-search > .filter-button.is-open,
.shop-app.is-root-route .catalog-search > .filter-button.is-active {
  border-color: #b98725;
  color: #1c160a;
  background: linear-gradient(145deg, #f0d17b, #c99b37);
  box-shadow:
    0 12px 26px rgba(120, 79, 9, 0.22),
    inset 0 1px 0 rgba(255, 249, 219, 0.7);
}

.shop-app.is-root-route .catalog-search > .filter-button.is-open .filter-button__icon i::after,
.shop-app.is-root-route .catalog-search > .filter-button.is-active .filter-button__icon i::after {
  background: #f7df9b;
}

.shop-app.is-root-route .filter-row button {
  border-color: rgba(154, 114, 27, 0.25);
  color: #3d382d;
  background: rgba(255, 254, 250, 0.96);
  box-shadow:
    0 7px 17px rgba(70, 48, 7, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.shop-app.is-root-route .filter-row button.is-active {
  border-color: #b98725;
  color: #1b160b;
  background: linear-gradient(145deg, #efd078, #c99b37);
  box-shadow:
    0 9px 20px rgba(112, 74, 10, 0.2),
    inset 0 1px 0 rgba(255, 249, 221, 0.65);
}

.shop-app.is-root-route .catalog-inline-filters {
  border-color: rgba(154, 114, 27, 0.27);
  color: #211e17;
  background:
    linear-gradient(145deg, rgba(216, 176, 78, 0.08), transparent 48%),
    rgba(255, 254, 250, 0.98);
  box-shadow:
    0 16px 36px rgba(72, 49, 8, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.shop-app.is-root-route .catalog-inline-filters__heading small,
.shop-app.is-root-route .catalog-inline-filters__fields label > span {
  color: #777064;
}

.shop-app.is-root-route .catalog-inline-filters__heading button,
.shop-app.is-root-route .catalog-inline-filters__fields select,
.shop-app.is-root-route .catalog-inline-filters__price,
.shop-app.is-root-route .catalog-inline-filters__switches label {
  border-color: rgba(154, 114, 27, 0.22);
  color: #29251c;
  background: #fffefa;
  box-shadow: 0 6px 15px rgba(70, 48, 7, 0.07);
}

.shop-app.is-root-route .catalog-inline-filters__heading button {
  color: #8c6718;
}

@media (max-width: 350px) {
  .shop-app.is-root-route .catalog-intro .section-title-row {
    gap: 9px;
  }

  .shop-app.is-root-route .catalog-intro .section-title-row + p {
    left: 4px;
  }
}

/* v23: 1C product badges, profile support and catalog return-to-top control */
.product-badges {
  top: 14px;
  left: 14px;
  right: 14px;
  gap: 7px;
}

.product-badges i {
  min-height: 30px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 245, 208, 0.32);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #1b1407;
  background: linear-gradient(145deg, #f1d16f, #c69227);
  box-shadow:
    0 9px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 250, 224, 0.58);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-shadow: none;
}

.product-badges i.is-sale {
  border-color: rgba(255, 197, 174, 0.42);
  color: #fff6ef;
  background: linear-gradient(145deg, #cc5a3e, #7f2e25);
}

.product-badges i.is-new {
  border-color: rgba(194, 238, 201, 0.38);
  color: #f4fff4;
  background: linear-gradient(145deg, #548d5c, #274e34);
}

.product-badges i.is-hit {
  color: #1b1407;
  background: linear-gradient(145deg, #f4d879, #c58d24);
}

.product-badges i.is-recommended {
  border-color: rgba(235, 195, 89, 0.42);
  color: #f5d878;
  background: linear-gradient(145deg, #292319, #11120f);
}

.support-details {
  margin-top: 9px;
}

.support-details > summary {
  margin-top: 0;
  cursor: pointer;
  list-style: none;
}

.support-details > summary::-webkit-details-marker {
  display: none;
}

.support-details > summary > i {
  transition: transform 180ms ease;
}

.support-details[open] > summary {
  border-color: rgba(216, 175, 72, 0.35);
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(145deg, rgba(217, 174, 65, 0.08), transparent 60%),
    var(--cbd-surface);
}

.support-details[open] > summary > i {
  transform: rotate(90deg);
}

.support-panel {
  padding: 16px;
  display: grid;
  gap: 11px;
  border: 1px solid rgba(216, 175, 72, 0.28);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background:
    radial-gradient(circle at 90% 0%, rgba(220, 176, 68, 0.12), transparent 42%),
    #111310;
  box-shadow:
    0 17px 34px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.support-panel__heading {
  display: flex;
  align-items: center;
  gap: 11px;
}

.support-panel__heading > span {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #171108;
  background: linear-gradient(145deg, #efd075, #bf8a27);
  font-size: 20px;
  font-weight: 900;
}

.support-panel__heading > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.support-panel__heading strong {
  color: #f5f2e9;
  font-size: 17px;
}

.support-panel__heading small {
  color: #97938a;
  font-size: 13px;
}

.support-phone,
.support-telegram {
  min-height: 56px;
  padding: 10px 13px;
  border: 1px solid rgba(216, 175, 72, 0.22);
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #f4f1e8;
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}

.support-phone > span:first-child {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #e4bd58;
  background: rgba(220, 176, 68, 0.1);
  font-size: 18px;
}

.support-phone > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.support-phone small {
  color: #908c84;
  font-size: 12px;
}

.support-phone strong {
  font-size: 17px;
}

.support-telegram {
  justify-content: center;
  border-color: rgba(91, 181, 235, 0.36);
  color: #f3fbff;
  background: linear-gradient(145deg, rgba(55, 151, 211, 0.32), rgba(23, 88, 132, 0.25));
  font-size: 16px;
  font-weight: 850;
}

.support-telegram svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalog-scroll-top {
  position: fixed;
  z-index: 35;
  right: max(14px, calc((100vw - var(--shop-width)) / 2 + 14px));
  bottom: calc(91px + env(safe-area-inset-bottom, 0px));
  width: 50px;
  height: 50px;
  padding: 0;
  border: 1px solid rgba(165, 119, 27, 0.5);
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: #1d170b;
  background: linear-gradient(145deg, #f1d27b, #c99a34);
  box-shadow:
    0 13px 28px rgba(87, 58, 8, 0.22),
    inset 0 1px 0 rgba(255, 250, 221, 0.7);
  transition:
    opacity 160ms ease,
    transform 180ms ease;
}

.catalog-scroll-top[hidden] {
  display: none !important;
}

.catalog-scroll-top svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.catalog-scroll-top:active {
  transform: translateY(2px);
}

.shop-app.has-floating-cart .catalog-scroll-top {
  bottom: calc(164px + env(safe-area-inset-bottom, 0px));
}

@media (prefers-reduced-motion: reduce) {
  .support-details > summary > i,
  .catalog-scroll-top {
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* v24: product-specific image seams, edge-filled media and stronger stock pulse */
.product-card[class*="product-card--seam-"] {
  --product-seam-depth: 28px;
}

.product-card[class*="product-card--seam-"] .product-card__open {
  position: relative;
  z-index: 3;
  width: calc(100% + 2px);
  height: clamp(233px, calc(57vw + 18px), 298px);
  margin: -1px -1px calc(var(--product-seam-depth) * -1);
  overflow: hidden;
  contain: paint;
  border-radius: 21px 21px 0 0;
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    78% calc(100% - 18px),
    71% calc(100% - 15px),
    65% calc(100% - 9px),
    58% calc(100% - 3px),
    52% 100%,
    48% 100%,
    42% calc(100% - 3px),
    35% calc(100% - 9px),
    29% calc(100% - 15px),
    22% calc(100% - 18px),
    0 calc(100% - 18px)
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    78% calc(100% - 18px),
    71% calc(100% - 15px),
    65% calc(100% - 9px),
    58% calc(100% - 3px),
    52% 100%,
    48% 100%,
    42% calc(100% - 3px),
    35% calc(100% - 9px),
    29% calc(100% - 15px),
    22% calc(100% - 18px),
    0 calc(100% - 18px)
  );
}

.product-card[class*="product-card--seam-"] .product-card__body {
  position: relative;
  z-index: 2;
  padding-top: calc(16px + var(--product-seam-depth));
  border-top: 0;
}

.product-card--seam-1 .product-card__open {
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 19px),
    57% calc(100% - 19px),
    51% calc(100% - 16px),
    46% calc(100% - 10px),
    41% calc(100% - 4px),
    35% 100%,
    28% calc(100% - 2px),
    22% calc(100% - 8px),
    17% calc(100% - 15px),
    11% calc(100% - 19px),
    0 calc(100% - 19px)
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 19px),
    57% calc(100% - 19px),
    51% calc(100% - 16px),
    46% calc(100% - 10px),
    41% calc(100% - 4px),
    35% 100%,
    28% calc(100% - 2px),
    22% calc(100% - 8px),
    17% calc(100% - 15px),
    11% calc(100% - 19px),
    0 calc(100% - 19px)
  );
}

.product-card--seam-2 .product-card__open {
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    90% calc(100% - 18px),
    84% calc(100% - 14px),
    79% calc(100% - 7px),
    73% calc(100% - 1px),
    67% 100%,
    61% calc(100% - 5px),
    56% calc(100% - 12px),
    50% calc(100% - 18px),
    0 calc(100% - 18px)
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    90% calc(100% - 18px),
    84% calc(100% - 14px),
    79% calc(100% - 7px),
    73% calc(100% - 1px),
    67% 100%,
    61% calc(100% - 5px),
    56% calc(100% - 12px),
    50% calc(100% - 18px),
    0 calc(100% - 18px)
  );
}

.product-card--seam-3 .product-card__open {
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    89% calc(100% - 18px),
    84% calc(100% - 10px),
    79% calc(100% - 21px),
    73% calc(100% - 5px),
    67% calc(100% - 16px),
    61% calc(100% - 2px),
    55% calc(100% - 14px),
    48% 100%,
    42% calc(100% - 11px),
    35% calc(100% - 4px),
    29% calc(100% - 19px),
    22% calc(100% - 8px),
    15% calc(100% - 18px),
    0 calc(100% - 18px)
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    89% calc(100% - 18px),
    84% calc(100% - 10px),
    79% calc(100% - 21px),
    73% calc(100% - 5px),
    67% calc(100% - 16px),
    61% calc(100% - 2px),
    55% calc(100% - 14px),
    48% 100%,
    42% calc(100% - 11px),
    35% calc(100% - 4px),
    29% calc(100% - 19px),
    22% calc(100% - 8px),
    15% calc(100% - 18px),
    0 calc(100% - 18px)
  );
}

.product-card--seam-4 .product-card__open {
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    88% calc(100% - 18px),
    82% calc(100% - 12px),
    76% calc(100% - 5px),
    70% calc(100% - 2px),
    64% calc(100% - 8px),
    58% calc(100% - 16px),
    51% calc(100% - 19px),
    44% calc(100% - 14px),
    37% calc(100% - 6px),
    30% 100%,
    23% calc(100% - 5px),
    16% calc(100% - 14px),
    10% calc(100% - 18px),
    0 calc(100% - 18px)
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    88% calc(100% - 18px),
    82% calc(100% - 12px),
    76% calc(100% - 5px),
    70% calc(100% - 2px),
    64% calc(100% - 8px),
    58% calc(100% - 16px),
    51% calc(100% - 19px),
    44% calc(100% - 14px),
    37% calc(100% - 6px),
    30% 100%,
    23% calc(100% - 5px),
    16% calc(100% - 14px),
    10% calc(100% - 18px),
    0 calc(100% - 18px)
  );
}

.product-card--seam-5 .product-card__open {
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 19px),
    90% calc(100% - 19px),
    84% calc(100% - 13px),
    79% calc(100% - 4px),
    73% 100%,
    67% calc(100% - 4px),
    61% calc(100% - 14px),
    56% calc(100% - 19px),
    44% calc(100% - 19px),
    38% calc(100% - 13px),
    32% calc(100% - 3px),
    26% 100%,
    20% calc(100% - 5px),
    14% calc(100% - 14px),
    9% calc(100% - 19px),
    0 calc(100% - 19px)
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 19px),
    90% calc(100% - 19px),
    84% calc(100% - 13px),
    79% calc(100% - 4px),
    73% 100%,
    67% calc(100% - 4px),
    61% calc(100% - 14px),
    56% calc(100% - 19px),
    44% calc(100% - 19px),
    38% calc(100% - 13px),
    32% calc(100% - 3px),
    26% 100%,
    20% calc(100% - 5px),
    14% calc(100% - 14px),
    9% calc(100% - 19px),
    0 calc(100% - 19px)
  );
}

.product-card[class*="product-card--seam-"] .product-card__open .product-art,
.product-card[class*="product-card--seam-"] .product-card__open .product-art--image {
  border-radius: 21px 21px 0 0;
  -webkit-clip-path: none;
  clip-path: none;
}

.product-card[class*="product-card--seam-"]
  .product-card__open
  .product-art--image
  .product-art__main {
  box-sizing: border-box;
  padding: 0 !important;
  transform: scale(1.04);
  transform-origin: center;
}

.product-card .availability {
  min-height: 20px;
  gap: 9px;
}

.product-card .availability i {
  --availability-rgb: 89, 183, 112;
  position: relative;
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgb(var(--availability-rgb));
  box-shadow:
    0 0 0 3px rgba(var(--availability-rgb), 0.12),
    0 0 13px rgba(var(--availability-rgb), 0.52);
}

.product-card .availability i::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(var(--availability-rgb), 0.68);
  border-radius: inherit;
  pointer-events: none;
  animation: product-availability-pulse 1.75s ease-out infinite;
}

.product-card .availability.is-limited i,
.product-card .availability.is-manager i {
  --availability-rgb: 211, 143, 48;
  background: rgb(var(--availability-rgb));
}

.product-card .availability.is-unavailable i {
  --availability-rgb: 190, 75, 67;
  background: rgb(var(--availability-rgb));
}

.product-card .availability.is-unavailable i::after {
  display: none;
}

@keyframes product-availability-pulse {
  0% {
    opacity: 0.82;
    transform: scale(0.66);
  }
  72%,
  100% {
    opacity: 0;
    transform: scale(1.42);
  }
}

@media (max-width: 350px) {
  .product-card[class*="product-card--seam-"] {
    --product-seam-depth: 24px;
  }

  .product-card[class*="product-card--seam-"] .product-card__open {
    height: clamp(218px, calc(61vw + 14px), 246px);
  }

  .product-card[class*="product-card--seam-"] .product-card__body {
    padding-top: calc(13px + var(--product-seam-depth));
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card .availability i::after {
    animation: none;
    opacity: 0.35;
    transform: scale(1);
  }
}

/* v25: curved chrome and a wider set of product-image seams */
.shop-header {
  overflow: visible;
  border-bottom: 0;
  box-shadow: none;
}

.shop-header::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: -16px;
  left: 0;
  height: 17px;
  pointer-events: none;
  background: #080908;
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    92% 2px,
    83% 5px,
    73% 9px,
    62% 14px,
    54% 16px,
    50% 17px,
    46% 16px,
    38% 14px,
    27% 9px,
    17% 5px,
    8% 2px,
    0 0
  );
  clip-path: polygon(
    0 0,
    100% 0,
    92% 2px,
    83% 5px,
    73% 9px,
    62% 14px,
    54% 16px,
    50% 17px,
    46% 16px,
    38% 14px,
    27% 9px,
    17% 5px,
    8% 2px,
    0 0
  );
  filter:
    drop-shadow(0 1px 0 rgba(222, 181, 73, 0.18))
    drop-shadow(0 12px 16px rgba(0, 0, 0, 0.38));
}

.shop-brand img {
  width: 49px;
  height: 49px;
}

.shop-nav {
  isolation: isolate;
  overflow: visible;
  gap: 6px;
  padding-top: 7px;
  border-top: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.shop-nav::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: rgba(8, 9, 8, 0.985);
  -webkit-mask-image: radial-gradient(
    ellipse 50% 18px at 50% 0,
    transparent 97%,
    #000 100%
  );
  mask-image: radial-gradient(
    ellipse 50% 18px at 50% 0,
    transparent 97%,
    #000 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  filter: drop-shadow(0 -13px 24px rgba(0, 0, 0, 0.48));
}

.shop-nav::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  left: 0;
  height: 19px;
  pointer-events: none;
  background: radial-gradient(
    ellipse 50% 18px at 50% 0,
    transparent 93.5%,
    rgba(222, 181, 73, 0.21) 96%,
    transparent 100%
  );
}

.shop-nav button {
  --nav-curve-offset: 2px;
  z-index: 1;
  min-width: 0;
  min-height: 53px;
  border-color: rgba(255, 255, 255, 0.055);
  background: rgba(14, 15, 13, 0.8);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.025),
    0 7px 16px rgba(0, 0, 0, 0.16);
  transform: translateY(var(--nav-curve-offset));
}

.shop-nav button:nth-child(1),
.shop-nav button:nth-child(4) {
  --nav-curve-offset: -3px;
}

.shop-nav button.is-active {
  transform: translateY(calc(var(--nav-curve-offset) - 3px));
}

.product-card--seam-6 .product-card__open {
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    72% calc(100% - 18px),
    65% calc(100% - 14px),
    59% calc(100% - 6px),
    53% 100%,
    47% calc(100% - 2px),
    41% calc(100% - 9px),
    35% calc(100% - 16px),
    29% calc(100% - 18px),
    0 calc(100% - 18px)
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    72% calc(100% - 18px),
    65% calc(100% - 14px),
    59% calc(100% - 6px),
    53% 100%,
    47% calc(100% - 2px),
    41% calc(100% - 9px),
    35% calc(100% - 16px),
    29% calc(100% - 18px),
    0 calc(100% - 18px)
  );
}

.product-card--seam-7 .product-card__open {
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 17px),
    88% calc(100% - 17px),
    83% calc(100% - 8px),
    78% calc(100% - 17px),
    68% calc(100% - 17px),
    62% 100%,
    56% calc(100% - 17px),
    43% calc(100% - 17px),
    37% calc(100% - 5px),
    31% calc(100% - 17px),
    20% calc(100% - 17px),
    15% calc(100% - 10px),
    10% calc(100% - 17px),
    0 calc(100% - 17px)
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 17px),
    88% calc(100% - 17px),
    83% calc(100% - 8px),
    78% calc(100% - 17px),
    68% calc(100% - 17px),
    62% 100%,
    56% calc(100% - 17px),
    43% calc(100% - 17px),
    37% calc(100% - 5px),
    31% calc(100% - 17px),
    20% calc(100% - 17px),
    15% calc(100% - 10px),
    10% calc(100% - 17px),
    0 calc(100% - 17px)
  );
}

.product-card--seam-8 .product-card__open {
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 4px),
    89% calc(100% - 8px),
    78% calc(100% - 12px),
    68% calc(100% - 17px),
    58% calc(100% - 9px),
    48% calc(100% - 18px),
    38% calc(100% - 12px),
    27% calc(100% - 19px),
    16% calc(100% - 14px),
    0 calc(100% - 19px)
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 4px),
    89% calc(100% - 8px),
    78% calc(100% - 12px),
    68% calc(100% - 17px),
    58% calc(100% - 9px),
    48% calc(100% - 18px),
    38% calc(100% - 12px),
    27% calc(100% - 19px),
    16% calc(100% - 14px),
    0 calc(100% - 19px)
  );
}

.product-card--seam-9 .product-card__open {
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    90% calc(100% - 18px),
    83% calc(100% - 10px),
    77% 100%,
    70% calc(100% - 4px),
    64% calc(100% - 14px),
    59% calc(100% - 18px),
    42% calc(100% - 18px),
    35% calc(100% - 10px),
    29% 100%,
    22% calc(100% - 4px),
    16% calc(100% - 14px),
    11% calc(100% - 18px),
    0 calc(100% - 18px)
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    90% calc(100% - 18px),
    83% calc(100% - 10px),
    77% 100%,
    70% calc(100% - 4px),
    64% calc(100% - 14px),
    59% calc(100% - 18px),
    42% calc(100% - 18px),
    35% calc(100% - 10px),
    29% 100%,
    22% calc(100% - 4px),
    16% calc(100% - 14px),
    11% calc(100% - 18px),
    0 calc(100% - 18px)
  );
}

.product-card--seam-10 .product-card__open {
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 14px),
    88% calc(100% - 14px),
    78% calc(100% - 10px),
    67% calc(100% - 5px),
    56% calc(100% - 2px),
    50% 100%,
    44% calc(100% - 2px),
    33% calc(100% - 5px),
    22% calc(100% - 10px),
    12% calc(100% - 14px),
    0 calc(100% - 14px)
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 14px),
    88% calc(100% - 14px),
    78% calc(100% - 10px),
    67% calc(100% - 5px),
    56% calc(100% - 2px),
    50% 100%,
    44% calc(100% - 2px),
    33% calc(100% - 5px),
    22% calc(100% - 10px),
    12% calc(100% - 14px),
    0 calc(100% - 14px)
  );
}

.product-card--seam-11 .product-card__open {
  -webkit-clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    54% calc(100% - 18px),
    50% calc(100% - 12px),
    46% calc(100% - 18px),
    0 calc(100% - 18px)
  );
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    54% calc(100% - 18px),
    50% calc(100% - 12px),
    46% calc(100% - 18px),
    0 calc(100% - 18px)
  );
}

@media (max-width: 430px) {
  .shop-brand img {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 350px) {
  .shop-nav {
    gap: 3px;
    padding-inline: 6px;
  }

  .shop-nav button {
    min-height: 51px;
    border-radius: 15px;
  }

  .shop-brand img {
    width: 43px;
    height: 43px;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .shop-nav::before {
    background: #080908;
  }
}

/* v26: mirrored oval header and user-friendly category marquee */
.shop-header {
  background: transparent;
}

.shop-header::after {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: auto;
  background: rgba(8, 9, 8, 0.985);
  -webkit-clip-path: none;
  clip-path: none;
  -webkit-mask-image: radial-gradient(
    ellipse 50% 18px at 50% 100%,
    transparent 97%,
    #000 100%
  );
  mask-image: radial-gradient(
    ellipse 50% 18px at 50% 100%,
    transparent 97%,
    #000 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  filter:
    drop-shadow(0 1px 0 rgba(222, 181, 73, 0.18))
    drop-shadow(0 12px 18px rgba(0, 0, 0, 0.4));
}

.filter-row {
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

.filter-row.is-auto-scrolling {
  scroll-snap-type: none;
}

@media (prefers-reduced-transparency: reduce) {
  .shop-header::after {
    background: #080908;
  }
}

/* v27: convex header, centered section heroes and visible category motion */
.shop-header {
  background: #080908;
}

.shop-header::after {
  top: auto;
  right: 0;
  bottom: -18px;
  left: 0;
  height: 19px;
  background: #080908;
  -webkit-mask-image: none;
  mask-image: none;
  -webkit-clip-path: ellipse(50% 100% at 50% 0);
  clip-path: ellipse(50% 100% at 50% 0);
  filter:
    drop-shadow(0 1px 0 rgba(222, 181, 73, 0.17))
    drop-shadow(0 13px 18px rgba(0, 0, 0, 0.42));
}

.shop-app.is-root-route .catalog-intro .section-title-row {
  width: auto;
  max-width: 100%;
  align-self: center;
  justify-content: center;
}

.shop-app.is-root-route .catalog-intro .section-title-row h1 {
  flex: 0 1 auto;
  width: auto;
  max-width: none;
}

.shop-app.is-root-route .catalog-intro .section-title-row + p {
  left: 0;
  width: 100%;
  text-align: center;
}

.shop-app.is-root-route .catalog-toolbar {
  padding-left: clamp(32px, 10vw, 42px);
}

.orders-screen .page-heading,
.cart-screen .page-heading {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.orders-screen .page-heading .section-title-row,
.cart-screen .page-heading .section-title-row {
  width: auto;
  max-width: 100%;
  justify-content: center;
}

.orders-screen .page-heading h1 {
  width: auto;
  max-width: min(100%, 390px);
  font-size: clamp(29px, 8vw, 36px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.orders-screen .page-heading > p,
.cart-screen .page-heading > p {
  max-width: 360px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.cart-screen .page-heading > div {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cart-screen .page-heading .cart-clear,
.page-heading--cart .cart-clear {
  margin-top: 8px;
  justify-self: center;
  align-self: center;
}

.profile-hero {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.profile-hero > div {
  width: 100%;
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-hero h1,
.profile-hero p {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.profile-hero h1 {
  max-width: min(100%, 420px);
}

@media (max-width: 350px) {
  .shop-app.is-root-route .catalog-toolbar {
    padding-left: 29px;
  }

  .orders-screen .page-heading h1 {
    font-size: 28px;
  }
}

/* v28: actionable cart, distinct media cuts and premium authorization */
.shop-header {
  box-sizing: border-box;
  min-height: 74px;
  height: 74px;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.035),
    0 14px 30px rgba(0, 0, 0, 0.48),
    0 28px 58px rgba(0, 0, 0, 0.24);
}

.shop-header::after {
  filter:
    drop-shadow(0 1px 0 rgba(222, 181, 73, 0.2))
    drop-shadow(0 14px 20px rgba(0, 0, 0, 0.52));
}

.shop-brand {
  gap: 10px;
}

.shop-brand img {
  width: 52px;
  height: 52px;
}

.shop-brand strong {
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.025em;
}

.shop-nav button:not(.is-active) {
  border-color: #26271f;
  background: #11120f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.035),
    0 7px 16px rgba(0, 0, 0, 0.24);
}

.cart-item {
  position: relative;
}

.cart-item__remove {
  position: absolute;
  z-index: 8;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(225, 101, 88, 0.5);
  border-radius: 13px;
  color: #ffd8d2;
  background:
    linear-gradient(145deg, rgba(173, 57, 47, 0.94), rgba(92, 26, 23, 0.98)),
    #681d19;
  box-shadow:
    inset 0 1px 0 rgba(255, 222, 217, 0.14),
    0 9px 20px rgba(73, 11, 9, 0.38);
}

.cart-item__remove svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.cart-item__remove:active {
  color: #fff;
  background: #8e2922;
  transform: scale(0.94);
}

.cart-item__content > div:first-child {
  padding-right: 42px;
}

.shop-app.is-root-route .catalog-toolbar {
  padding-right: clamp(34px, 10vw, 44px);
}

.shop-app.is-root-route .catalog-toolbar button,
.shop-app.is-root-route .inline-filter-reset {
  color: #7e5912;
  font-weight: 850;
}

.shop-app.is-root-route .catalog-inline-filters__heading .inline-filter-reset {
  margin-right: 12px;
}

.catalog-scroll-top {
  box-shadow:
    0 18px 38px rgba(72, 43, 4, 0.42),
    0 0 0 4px rgba(219, 177, 67, 0.13),
    0 0 26px rgba(220, 174, 57, 0.28),
    inset 0 1px 0 rgba(255, 250, 221, 0.78);
}

.auth-warehouse__heading {
  align-items: center;
  text-align: center;
}

.auth-warehouse__heading strong {
  color: #f3e8c7;
  font-size: 19px;
}

.auth-warehouse__heading small {
  color: #aba598;
  font-size: 13px;
}

.auth-warehouse__options button {
  overflow: hidden;
  border-color: rgba(219, 178, 75, 0.32);
  border-radius: 18px;
  background:
    radial-gradient(circle at 15% 10%, rgba(235, 194, 92, 0.17), transparent 42%),
    linear-gradient(145deg, #1c1a13, #11120f);
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 183, 0.07),
    0 12px 25px rgba(0, 0, 0, 0.22);
}

.auth-warehouse__options button > span {
  border-radius: 12px;
  background: linear-gradient(145deg, #efd277, #bd8b2c);
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 208, 0.58),
    0 8px 18px rgba(143, 95, 15, 0.26);
}

.auth-warehouse__options button.is-selected {
  border-color: #e0b84d;
  color: #fff4cf;
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 204, 103, 0.31), transparent 45%),
    linear-gradient(145deg, #342a15, #18150e);
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 177, 0.14),
    0 13px 28px rgba(117, 75, 9, 0.24),
    0 0 0 1px rgba(224, 184, 77, 0.12);
}

.auth-submit {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 230, 148, 0.56);
  border-radius: 18px;
  color: #171208;
  background:
    linear-gradient(105deg, #b98525 0%, #e6c461 43%, #f2d77f 58%, #bd8b2b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 251, 224, 0.72),
    0 15px 30px rgba(139, 91, 11, 0.32),
    0 0 24px rgba(222, 177, 65, 0.15);
  text-shadow: 0 1px 0 rgba(255, 244, 193, 0.42);
}

.auth-submit:disabled {
  color: #837a63;
  background: linear-gradient(145deg, #2a281f, #1a1b17);
  box-shadow: none;
  text-shadow: none;
}

.auth-phone-hint {
  max-width: 390px;
  margin: 13px auto 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  color: #b7ad95;
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
}

.auth-phone-hint > span {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(220, 180, 75, 0.31);
  border-radius: 50%;
  color: #e2bd57;
  background: rgba(220, 180, 75, 0.08);
}

.auth-phone-hint + .auth-legal {
  margin-top: 8px;
}

.product-card--seam-0,
.product-detail--seam-0 {
  --cbd-media-shape: polygon(
    0 0,
    100% 0,
    100% calc(100% - 22px),
    72% calc(100% - 22px),
    61% calc(100% - 12px),
    50% 100%,
    39% calc(100% - 12px),
    28% calc(100% - 22px),
    0 calc(100% - 22px)
  );
}

.product-card--seam-1,
.product-detail--seam-1 {
  --cbd-media-shape: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    68% calc(100% - 18px),
    57% calc(100% - 13px),
    45% calc(100% - 3px),
    34% 100%,
    24% calc(100% - 7px),
    14% calc(100% - 16px),
    0 calc(100% - 18px)
  );
}

.product-card--seam-2,
.product-detail--seam-2 {
  --cbd-media-shape: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    86% calc(100% - 16px),
    76% calc(100% - 7px),
    66% 100%,
    55% calc(100% - 3px),
    43% calc(100% - 13px),
    32% calc(100% - 18px),
    0 calc(100% - 18px)
  );
}

.product-card--seam-3,
.product-detail--seam-3 {
  --cbd-media-shape: polygon(
    0 0,
    100% 0,
    100% calc(100% - 25px),
    75% calc(100% - 19px),
    50% calc(100% - 12px),
    25% calc(100% - 6px),
    0 100%
  );
}

.product-card--seam-4,
.product-detail--seam-4 {
  --cbd-media-shape: polygon(
    0 0,
    100% 0,
    100% 100%,
    75% calc(100% - 6px),
    50% calc(100% - 12px),
    25% calc(100% - 19px),
    0 calc(100% - 25px)
  );
}

.product-card--seam-5,
.product-detail--seam-5 {
  --cbd-media-shape: polygon(
    0 0,
    100% 0,
    100% calc(100% - 20px),
    88% calc(100% - 20px),
    75% 100%,
    62% calc(100% - 20px),
    38% calc(100% - 20px),
    25% 100%,
    12% calc(100% - 20px),
    0 calc(100% - 20px)
  );
}

.product-card--seam-6,
.product-detail--seam-6 {
  --cbd-media-shape: polygon(
    0 0,
    100% 0,
    100% calc(100% - 18px),
    76% calc(100% - 18px),
    70% calc(100% - 10px),
    64% calc(100% - 18px),
    56% calc(100% - 18px),
    50% 100%,
    44% calc(100% - 18px),
    34% calc(100% - 18px),
    27% calc(100% - 7px),
    20% calc(100% - 18px),
    0 calc(100% - 18px)
  );
}

.product-card--seam-7,
.product-detail--seam-7 {
  --cbd-media-shape: polygon(
    0 0,
    100% 0,
    100% calc(100% - 23px),
    72% calc(100% - 23px),
    66% calc(100% - 15px),
    60% calc(100% - 7px),
    55% 100%,
    45% 100%,
    40% calc(100% - 7px),
    34% calc(100% - 15px),
    28% calc(100% - 23px),
    0 calc(100% - 23px)
  );
}

.product-card--seam-8,
.product-detail--seam-8 {
  --cbd-media-shape: polygon(
    0 0,
    100% 0,
    100% calc(100% - 5px),
    88% calc(100% - 11px),
    76% calc(100% - 20px),
    63% calc(100% - 9px),
    50% calc(100% - 24px),
    37% calc(100% - 9px),
    24% calc(100% - 20px),
    12% calc(100% - 11px),
    0 calc(100% - 5px)
  );
}

.product-card--seam-9,
.product-detail--seam-9 {
  --cbd-media-shape: polygon(
    0 0,
    100% 0,
    100% calc(100% - 19px),
    85% calc(100% - 19px),
    76% calc(100% - 8px),
    67% calc(100% - 19px),
    57% calc(100% - 19px),
    50% 100%,
    43% calc(100% - 19px),
    29% calc(100% - 19px),
    19% calc(100% - 5px),
    10% calc(100% - 19px),
    0 calc(100% - 19px)
  );
}

.product-card--seam-10,
.product-detail--seam-10 {
  --cbd-media-shape: polygon(
    0 0,
    100% 0,
    100% calc(100% - 14px),
    90% calc(100% - 14px),
    80% calc(100% - 5px),
    70% calc(100% - 14px),
    60% calc(100% - 5px),
    50% calc(100% - 14px),
    40% calc(100% - 5px),
    30% calc(100% - 14px),
    20% calc(100% - 5px),
    10% calc(100% - 14px),
    0 calc(100% - 14px)
  );
}

.product-card--seam-11,
.product-detail--seam-11 {
  --cbd-media-shape: polygon(
    0 0,
    100% 0,
    100% calc(100% - 24px),
    82% calc(100% - 24px),
    70% calc(100% - 18px),
    58% calc(100% - 8px),
    50% 100%,
    42% calc(100% - 8px),
    30% calc(100% - 18px),
    18% calc(100% - 24px),
    0 calc(100% - 24px)
  );
}

.product-card[class*="product-card--seam-"] .product-card__open,
.product-detail[class*="product-detail--seam-"] .product-detail__media {
  -webkit-clip-path: var(--cbd-media-shape);
  clip-path: var(--cbd-media-shape);
}

.product-detail[class*="product-detail--seam-"] {
  --detail-seam-depth: 28px;
}

.product-detail[class*="product-detail--seam-"] .product-detail__media {
  z-index: 3;
  width: 100%;
  height: min(42vh, 350px);
  min-height: 260px;
  margin: 0 0 calc(var(--detail-seam-depth) * -1);
  overflow: hidden;
  contain: paint;
  border: 0;
  border-radius: 23px 23px 0 0;
  background:
    radial-gradient(circle at 50% 42%, rgba(214, 169, 72, 0.17), transparent 55%),
    #10110f;
  box-shadow: none;
}

.product-detail[class*="product-detail--seam-"] .product-detail__body {
  position: relative;
  z-index: 2;
  padding-top: calc(24px + var(--detail-seam-depth));
}

.product-detail__media .product-art,
.product-detail__media .product-art--image,
.product-detail__media .product-art--image.product-art--framed {
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-detail__media .product-art--image.product-art--framed .product-art__main {
  width: 100%;
  height: 100%;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
  transform: scale(1.02);
}

.product-specs--detail > div {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.product-specs--detail > div::before {
  display: none;
}

.product-specs--detail dt {
  grid-column: 1;
}

.product-specs--detail dd {
  grid-column: 2;
}

@media (max-width: 430px) {
  .shop-brand img {
    width: 52px;
    height: 52px;
  }

  .shop-brand strong {
    font-size: 22px;
  }
}

@media (max-width: 350px) {
  .shop-brand img {
    width: 48px;
    height: 48px;
  }

  .shop-brand strong {
    font-size: 20px;
  }

  .shop-app.is-root-route .catalog-toolbar {
    padding-right: 29px;
  }

  .cart-item__remove {
    top: 8px;
    right: 8px;
    width: 38px;
    height: 38px;
  }
}

/* v29: compact header chrome */
.shop-header {
  min-height: 70px;
  height: 70px;
  padding-top: 9px;
  padding-bottom: 9px;
}

.shop-header::after {
  bottom: -14px;
  height: 15px;
}

.shop-view {
  padding-top: calc(80px + var(--shop-telegram-top));
}

.shop-app::before,
.shop-app::after {
  top: calc(var(--shop-telegram-top) + 72px);
}

/* v30: explicit account logout */
.profile-logout {
  width: 100%;
  min-height: 64px;
  margin-top: 12px;
  padding: 10px 15px;
  border: 1px solid rgba(208, 82, 70, 0.4);
  border-radius: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f5d8d4;
  background:
    radial-gradient(circle at 10% 0%, rgba(205, 74, 62, 0.18), transparent 46%),
    linear-gradient(145deg, #1c1312, #11100f);
  box-shadow:
    inset 0 1px 0 rgba(255, 225, 220, 0.05),
    0 12px 25px rgba(42, 6, 4, 0.2);
  text-align: left;
}

.profile-logout__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(225, 104, 91, 0.35);
  border-radius: 14px;
  color: #f0a198;
  background: rgba(170, 48, 39, 0.16);
}

.profile-logout__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-logout > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.profile-logout strong {
  font-size: 16px;
  font-weight: 850;
}

.profile-logout small {
  color: #a38e8b;
  font-size: 12px;
}

.profile-logout:active {
  border-color: rgba(232, 107, 94, 0.62);
  background: #241312;
  transform: scale(0.985);
}

.logout-sheet__heading p {
  max-width: 420px;
}

.logout-sheet__notice {
  margin-top: 16px;
  padding: 13px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  border: 1px solid rgba(216, 175, 72, 0.22);
  border-radius: 16px;
  background: rgba(216, 175, 72, 0.055);
}

.logout-sheet__notice > span {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: #191307;
  background: linear-gradient(145deg, #ecd06f, #bc8828);
  font-size: 16px;
  font-weight: 900;
}

.logout-sheet__notice p {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.logout-sheet__notice strong {
  color: #eee7d5;
  font-size: 14px;
}

.logout-sheet__notice small {
  color: #9b968c;
  font-size: 12px;
  line-height: 1.45;
}

.logout-sheet__actions {
  grid-template-columns: 1fr 1fr;
}

.danger-action {
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(238, 119, 106, 0.55);
  border-radius: 16px;
  color: #fff1ef;
  background: linear-gradient(145deg, #a43931, #6e201c);
  box-shadow:
    inset 0 1px 0 rgba(255, 225, 221, 0.14),
    0 12px 24px rgba(78, 12, 8, 0.28);
  font-size: 16px;
  font-weight: 850;
}

.danger-action:disabled {
  opacity: 0.62;
}

/* v31: explicit Telegram phone consent */
.phone-screen {
  width: min(100%, 540px);
  min-height: 100%;
  margin: 0 auto;
  padding: max(26px, var(--shop-telegram-top)) 22px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.phone-screen__brand {
  width: 100%;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
}

.phone-screen__brand img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(0, 0, 0, 0.38));
}

.phone-screen > .eyebrow {
  font-size: 14px;
}

.phone-screen > h1 {
  margin: 9px 0 0;
  font-size: clamp(39px, 10.5vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.phone-screen > .screen-lead {
  max-width: 430px;
  margin: 18px auto 22px;
  color: #aaa79f;
  font-size: 16px;
  line-height: 1.55;
}

.phone-account {
  width: 100%;
  min-height: 72px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(220, 184, 85, 0.2);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(31, 29, 22, 0.96), rgba(15, 16, 14, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 240, 190, 0.05), 0 16px 32px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.phone-account__photo,
.phone-account__fallback {
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(239, 205, 105, 0.34);
  border-radius: 17px;
  color: #171208;
  background: linear-gradient(145deg, #f0d477, #bd882d);
  font-size: 20px;
  font-weight: 900;
}

.phone-account__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-account p {
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.phone-account strong,
.phone-account small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.phone-account strong {
  color: #f4f0e6;
  font-size: 16px;
}

.phone-account small {
  color: #99978f;
  font-size: 13px;
}

.phone-submit {
  width: 100%;
  min-height: 60px;
  margin-top: 16px;
  grid-template-columns: 34px 1fr 24px;
  font-size: 17px;
  font-weight: 850;
}

.phone-submit__icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #f2d574;
  background: rgba(20, 15, 7, 0.76);
  font-size: 19px;
}

.phone-submit.is-loading {
  opacity: 0.76;
}

.phone-screen__privacy {
  max-width: 390px;
  margin: 13px auto 0;
  color: #77766f;
  font-size: 12px;
  line-height: 1.45;
}

.phone-screen__cancel {
  align-self: center;
  margin-top: 14px;
  padding: 8px 12px;
  color: #9b968a;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

@media (max-height: 700px) {
  .phone-screen {
    justify-content: flex-start;
    padding-top: max(18px, var(--shop-telegram-top));
  }

  .phone-screen__brand {
    margin-bottom: 12px;
  }

  .phone-screen__brand img {
    width: 84px;
    height: 84px;
  }

  .phone-screen > .screen-lead {
    margin: 13px auto 16px;
  }
}

/* v32: larger phone action and tighter header without shrinking its controls */
.phone-submit {
  justify-content: space-between;
  gap: 10px;
}

.phone-submit__icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.phone-submit__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shop-header {
  min-height: 66px;
  height: 66px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.shop-header::after {
  bottom: -12px;
  height: 13px;
}

.shop-view {
  padding-top: calc(76px + var(--shop-telegram-top));
}

.shop-app::before,
.shop-app::after {
  top: calc(var(--shop-telegram-top) + 68px);
}

/* v33: controllable desktop category rail */
.category-strip {
  position: relative;
  width: calc(100% + 32px);
  margin-right: -16px;
  margin-left: -16px;
}

.category-strip .filter-row {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
  box-sizing: border-box;
}

.category-scroll-control {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .category-strip .filter-row {
    padding-right: 52px;
    padding-left: 52px;
    cursor: grab;
    user-select: none;
  }

  .category-strip .filter-row.is-dragging {
    cursor: grabbing;
  }

  .category-scroll-control {
    position: absolute;
    z-index: 8;
    top: 50%;
    display: grid;
    width: 36px;
    height: 40px;
    padding: 0;
    place-items: center;
    transform: translateY(-54%);
    border: 1px solid rgba(185, 139, 29, 0.35);
    border-radius: 13px;
    color: #17140b;
    background: linear-gradient(145deg, rgba(255, 239, 191, 0.98), rgba(211, 169, 61, 0.98));
    box-shadow: 0 7px 18px rgba(63, 45, 3, 0.2);
    font: 800 28px/1 Manrope, Arial, sans-serif;
    cursor: pointer;
    touch-action: manipulation;
  }

  .category-scroll-control:hover,
  .category-scroll-control:focus-visible {
    border-color: rgba(153, 108, 9, 0.68);
    box-shadow: 0 8px 22px rgba(81, 56, 0, 0.28);
  }

  .category-scroll-control.is-prev {
    left: 8px;
  }

  .category-scroll-control.is-next {
    right: 8px;
  }
}

/* v34: compact horizontal catalog cards, two visible rows per mobile viewport */
.product-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.product-card {
  width: 100%;
  height: clamp(246px, 69vw, 286px);
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  grid-template-rows: minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(190, 146, 42, 0.46);
  border-radius: 21px;
  background: #11120f;
  box-shadow:
    0 13px 28px rgba(41, 29, 5, 0.2),
    0 0 18px rgba(194, 143, 31, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

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

.product-card[class*="product-card--seam-"] .product-card__open {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  contain: paint;
  border: 0;
  border-radius: 20px 0 0 20px;
  background: #0a0b09;
  box-shadow: none;
  -webkit-clip-path: none !important;
  clip-path: none !important;
}

.product-card[class*="product-card--seam-"] .product-card__open .product-art,
.product-card[class*="product-card--seam-"] .product-card__open .product-art--image,
.product-card[class*="product-card--seam-"] .product-card__open .product-art--image.product-art--framed {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px 0 0 20px;
  background: #0a0b09;
  box-shadow: none;
  -webkit-clip-path: none;
  clip-path: none;
}

.product-card[class*="product-card--seam-"]
  .product-card__open
  .product-art--image.product-art--framed
  .product-art__backdrop {
  inset: -16px;
  width: calc(100% + 32px);
  height: calc(100% + 32px);
  object-fit: cover;
  object-position: center;
  opacity: 0.68;
  filter: blur(14px) saturate(0.96) brightness(0.68);
  transform: scale(1.06);
}

.product-card[class*="product-card--seam-"]
  .product-card__open
  .product-art--image.product-art--framed
  .product-art__main {
  width: 100%;
  height: 100%;
  padding: 0 !important;
  object-fit: contain;
  object-position: center;
  filter:
    drop-shadow(0 8px 12px rgba(0, 0, 0, 0.28))
    saturate(1.04)
    contrast(1.015);
  transform: scale(1.015);
  transform-origin: center;
}

.product-card[class*="product-card--seam-"] .product-card__open .product-art--image.product-art--framed::after {
  inset: 0;
  border-radius: 20px 0 0 20px;
  background:
    linear-gradient(90deg, transparent 82%, rgba(0, 0, 0, 0.2)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), transparent 76%, rgba(0, 0, 0, 0.13));
  box-shadow: inset -1px 0 0 rgba(226, 186, 79, 0.12);
}

.product-card[class*="product-card--seam-"] .product-card__body {
  position: relative;
  z-index: 3;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: 11px 10px 10px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 0;
  border-radius: 0 20px 20px 0;
  background:
    radial-gradient(circle at 0 10%, rgba(216, 174, 69, 0.07), transparent 42%),
    linear-gradient(155deg, #151611 0%, #10110f 78%);
}

.product-card__producer {
  min-height: 0;
  margin: 0;
  color: #d8ae45;
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card__producer + h3,
.product-card__body > h3:first-child,
.product-card h3 {
  min-height: 0;
  max-height: 48px;
  margin: 4px 0 0;
  overflow: hidden;
  color: #f7f3e9;
  font-size: clamp(14px, 4vw, 16.5px);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: -0.018em;
}

.product-card__title {
  -webkit-line-clamp: 3;
}

.product-card__summary {
  min-height: 0;
  max-height: 30px;
  margin: 5px 0 0;
  display: -webkit-box;
  overflow: hidden;
  color: #aaa79f;
  font-size: 11px;
  font-weight: 560;
  line-height: 1.28;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card .availability {
  min-height: 16px;
  max-height: 28px;
  margin: 6px 0 0;
  gap: 6px;
  overflow: hidden;
  color: #a6aea2;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.16;
}

.product-card .availability i {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-width: 1px;
  box-shadow:
    0 0 0 2px rgba(var(--availability-rgb), 0.11),
    0 0 9px rgba(var(--availability-rgb), 0.5);
}

.product-card .availability i::after {
  inset: -4px;
}

.product-card__purchase {
  min-width: 0;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
}

.product-card__purchase .product-card__prices {
  min-width: 0;
  margin: 0;
  padding: 0;
}

.product-card__prices > strong {
  display: block;
  overflow: hidden;
  color: #e2b84f;
  font-size: clamp(20px, 5.6vw, 23px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card__prices > strong small {
  color: #aaa59a;
  font-size: 9.5px;
  font-weight: 650;
}

.product-card__prices > span {
  margin-top: 3px;
  overflow: hidden;
  color: #858178;
  font-size: 9.5px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card__unit,
.product-card__stepper {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  border: 1px solid rgba(221, 181, 78, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(218, 176, 71, 0.075), transparent 58%),
    #171713;
}

.product-card__unit {
  padding: 5px 8px;
}

.product-card__unit small {
  font-size: 8px;
  line-height: 1.05;
}

.product-card__unit strong {
  margin-top: 2px;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.08;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card__stepper {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
}

.product-card__stepper button {
  min-height: 36px;
  font-size: 18px;
}

.product-card__stepper span {
  font-size: 13px;
}

.product-card__action {
  margin-top: 7px;
}

.product-card .product-add {
  width: 100%;
  min-height: 40px;
  padding: 5px 7px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.005em;
  box-shadow:
    inset 0 1px 0 rgba(255, 249, 209, 0.48),
    0 7px 16px rgba(127, 80, 12, 0.18);
}

.product-card .product-add:disabled {
  font-size: 10.5px;
}

.product-card .product-badges {
  top: 8px;
  right: 8px;
  left: 8px;
  gap: 4px;
}

.product-card .product-badges i {
  min-height: 22px;
  padding: 5px 7px;
  font-size: 8px;
  letter-spacing: 0.035em;
}

@media (max-width: 360px) {
  .product-card {
    height: 246px;
    grid-template-columns: minmax(0, 56%) minmax(0, 44%);
    border-radius: 18px;
  }

  .product-card[class*="product-card--seam-"] .product-card__open,
  .product-card[class*="product-card--seam-"] .product-card__open .product-art,
  .product-card[class*="product-card--seam-"] .product-card__open .product-art--image,
  .product-card[class*="product-card--seam-"] .product-card__open .product-art--image.product-art--framed {
    border-radius: 17px 0 0 17px;
  }

  .product-card[class*="product-card--seam-"] .product-card__body {
    padding: 9px 8px 8px;
    border-radius: 0 17px 17px 0;
  }

  .product-card h3 {
    max-height: 43px;
    font-size: 14px;
    -webkit-line-clamp: 3;
  }

  .product-card__summary {
    max-height: 26px;
    font-size: 10px;
  }

  .product-card .availability {
    margin-top: 4px;
    font-size: 9.5px;
  }

  .product-card__prices > strong {
    font-size: 19px;
  }

  .product-card__unit,
  .product-card__stepper {
    min-height: 35px;
  }

  .product-card .product-add {
    min-height: 37px;
    font-size: 12px;
  }
}

/* v35: beer style filter and a prominent reset action */
.shop-app.is-root-route .catalog-inline-filters__heading .inline-filter-reset {
  min-height: 42px;
  margin-right: 12px;
  padding: 0 13px;
  border: 1px solid rgba(126, 91, 24, 0.26);
  border-radius: 12px;
  color: #89775a;
  background: linear-gradient(145deg, #f7f2e7, #e9e1d0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    0 7px 16px rgba(78, 55, 11, 0.08);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.1;
  transition:
    transform 140ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.shop-app.is-root-route .catalog-inline-filters__heading .inline-filter-reset.is-active {
  border-color: rgba(174, 61, 50, 0.72);
  color: #fff5f2;
  background: linear-gradient(145deg, #b74a3f 0%, #7c2924 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 225, 218, 0.2),
    0 10px 22px rgba(115, 31, 24, 0.24),
    0 0 0 3px rgba(174, 61, 50, 0.07);
}

.shop-app.is-root-route .catalog-inline-filters__heading .inline-filter-reset.is-active:active {
  transform: scale(0.97);
}

.shop-app.is-root-route .catalog-inline-filters__heading .inline-filter-reset:disabled {
  cursor: default;
  opacity: 0.62;
}

@media (max-width: 350px) {
  .shop-app.is-root-route .catalog-inline-filters__heading .inline-filter-reset {
    max-width: 116px;
    margin-right: 4px;
    padding: 0 9px;
    font-size: 11px;
  }
}

/* v36: larger readable horizontal cards and dimensional bottom navigation */
.product-card {
  height: auto;
  min-height: clamp(286px, 76vw, 316px);
  grid-template-columns: minmax(0, 53%) minmax(0, 47%);
  align-items: stretch;
}

.product-card[class*="product-card--seam-"] .product-card__open {
  width: calc(100% + 1px);
  height: auto;
  min-height: 0;
  margin: -1px 0 -1px -1px;
  align-self: stretch;
  border-radius: 20px 0 0 20px;
}

.product-card[class*="product-card--seam-"] .product-card__open .product-art,
.product-card[class*="product-card--seam-"] .product-card__open .product-art--image,
.product-card[class*="product-card--seam-"] .product-card__open .product-art--image.product-art--framed {
  width: 100%;
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 20px 0 0 20px;
  box-shadow: none !important;
}

.product-card[class*="product-card--seam-"]
  .product-card__open
  .product-art--image.product-art--framed
  .product-art__main {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0 !important;
  /* Fill the image window edge-to-edge without distorting the artwork. */
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
}

.product-card[class*="product-card--seam-"] .product-card__body {
  height: auto;
  min-height: clamp(286px, 76vw, 316px);
  padding: 13px 12px 12px;
  overflow: hidden;
}

.product-card__producer {
  font-size: 11px;
  line-height: 1.2;
}

.product-card__producer + h3,
.product-card__body > h3:first-child,
.product-card h3 {
  min-height: 0;
  max-height: 69px;
  margin-top: 5px;
  font-size: clamp(17px, 4.8vw, 20px);
  line-height: 1.14;
}

.product-card__title {
  overflow: hidden;
  -webkit-line-clamp: 3;
}

.product-card__summary {
  max-height: 35px;
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.32;
}

.product-card .availability {
  min-height: 18px;
  max-height: 32px;
  margin-top: 7px;
  font-size: 12px;
  line-height: 1.2;
}

.product-card__purchase {
  gap: 7px;
}

.product-card__prices > strong {
  font-size: clamp(24px, 6.5vw, 28px);
}

.product-card__prices > strong small,
.product-card__prices > span {
  font-size: 10.5px;
}

.product-card__unit,
.product-card__stepper {
  min-height: 44px;
  border-radius: 11px;
}

.product-card__unit {
  padding: 6px 9px;
}

.product-card__unit small {
  font-size: 9px;
}

.product-card__unit strong {
  font-size: 13px;
}

.product-card__stepper button {
  min-height: 42px;
  font-size: 20px;
}

.product-card__stepper span {
  font-size: 14px;
}

.product-card__action {
  margin-top: 8px;
}

.product-card .product-add {
  min-height: 46px;
  padding: 6px 8px;
  border-radius: 10px;
  font-size: 14px;
}

.product-card .product-add:disabled {
  font-size: 11.5px;
}

.shop-nav button,
.shop-nav button:not(.is-active) {
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 10px 22px rgba(0, 0, 0, 0.43),
    0 2px 7px rgba(0, 0, 0, 0.34);
}

.shop-nav button.is-active {
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 179, 0.17),
    0 13px 28px rgba(0, 0, 0, 0.5),
    0 0 24px rgba(213, 168, 55, 0.17),
    0 0 0 1px rgba(218, 179, 74, 0.1);
}

@media (max-width: 360px) {
  .product-card {
    min-height: 280px;
    grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  }

  .product-card[class*="product-card--seam-"] .product-card__body {
    min-height: 280px;
    padding: 11px 9px 9px;
  }

  .product-card__producer + h3,
  .product-card__body > h3:first-child,
  .product-card h3 {
    max-height: 58px;
    font-size: 16.5px;
    line-height: 1.16;
  }

  .product-card__summary {
    max-height: 32px;
    font-size: 11.5px;
  }

  .product-card .availability {
    font-size: 11px;
  }

  .product-card__prices > strong {
    font-size: 22px;
  }

  .product-card .product-add {
    min-height: 43px;
    font-size: 13px;
  }
}

/* v39: product cards grow for long names and facts instead of clipping them. */
.product-card {
  grid-template-rows: auto;
}

.product-card[class*="product-card--seam-"] .product-card__body {
  height: auto;
  overflow: hidden;
}

.product-card__producer {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.product-card__producer + h3,
.product-card__body > h3:first-child,
.product-card h3 {
  max-height: none;
  overflow: visible;
}

.product-card__title {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.product-card__summary {
  display: block;
  max-height: none;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.product-card .availability {
  max-height: none;
  overflow: visible;
}

.product-card__purchase .product-card__prices {
  width: 100%;
  align-self: flex-start;
  text-align: left;
}

.product-card__prices > strong,
.product-card__prices > span {
  text-align: left;
}

/* v40: dark premium load-more CTA matching the catalog palette. */
.catalog-load-more {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 66px;
  margin: 22px 0 10px;
  padding: 11px 20px;
  overflow: hidden;
  border: 1px solid rgba(221, 180, 70, 0.56);
  border-radius: 16px;
  display: grid;
  place-content: center;
  gap: 4px;
  color: #fffdf8;
  background:
    linear-gradient(112deg, rgba(222, 178, 66, 0.2) 0%, transparent 31%),
    linear-gradient(145deg, #1c1a13 0%, #0b0c0a 58%, #15130e 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 184, 0.13),
    inset 0 -1px 0 rgba(0, 0, 0, 0.54),
    0 12px 26px rgba(39, 28, 5, 0.2),
    0 0 0 3px rgba(197, 151, 42, 0.045);
}

.catalog-load-more::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(230, 185, 74, 0.09) 48%, transparent);
}

.catalog-load-more span {
  color: #fff;
  font-size: 16.5px;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.catalog-load-more small {
  color: #b9ae91;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.2;
}

.catalog-load-more:focus-visible {
  outline: 2px solid rgba(239, 199, 95, 0.88);
  outline-offset: 3px;
}

.catalog-load-more:active {
  transform: translateY(1px) scale(0.988);
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 184, 0.09),
    0 6px 15px rgba(39, 28, 5, 0.18);
}

/* v43: keep bottom navigation stable while long catalogs append new cards. */
.shop-nav:not([hidden]) {
  position: fixed !important;
  z-index: 60;
  bottom: 0;
  display: grid !important;
  visibility: visible;
  opacity: 1;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(-50%, 0, 0);
  will-change: transform;
}

.shop-nav.is-layer-stable {
  transform: translate3d(-50%, 0, 0.01px);
}

/* v41: 1C badges stay on product artwork and details expose the same facts. */
.product-card[class*="product-card--seam-"] .product-card__open > .product-badges {
  top: 11px;
  right: auto;
  left: 11px;
  width: calc(100% - 22px);
  max-width: calc(100% - 22px);
  justify-content: flex-start;
  align-items: flex-start;
  gap: 6px;
}

.product-card[class*="product-card--seam-"] .product-card__open > .product-badges i {
  max-width: 100%;
  min-height: 25px;
  padding: 6px 9px;
  overflow: hidden;
  border-radius: 8px;
  font-size: 9.5px;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 248, 216, 0.42);
}

.product-card {
  box-shadow:
    0 19px 38px rgba(43, 31, 8, 0.28),
    0 7px 16px rgba(20, 16, 7, 0.2),
    0 0 27px rgba(194, 143, 31, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
}

.product-specs__availability dd {
  align-self: center;
}

.spec-availability {
  --availability-rgb: 89, 183, 112;
  margin: 0;
  display: inline-flex;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
  color: #7fc38f;
  font-size: 14px;
  font-weight: 760;
  line-height: 1.3;
  text-align: right;
}

.spec-availability i {
  position: relative;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgb(var(--availability-rgb));
  box-shadow:
    0 0 0 3px rgba(var(--availability-rgb), 0.12),
    0 0 13px rgba(var(--availability-rgb), 0.54);
}

.spec-availability i::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(var(--availability-rgb), 0.68);
  border-radius: inherit;
  animation: product-availability-pulse 1.75s ease-out infinite;
}

.spec-availability.is-limited,
.spec-availability.is-manager {
  --availability-rgb: 211, 143, 44;
  color: #d4a45d;
}

.spec-availability.is-unavailable {
  --availability-rgb: 197, 82, 70;
  color: #dc8c82;
}

.product-detail.is-not-orderable .product-detail-bar .primary-action:disabled {
  opacity: 1 !important;
  border: 1px solid rgba(226, 118, 103, 0.7);
  color: #fff5f2 !important;
  -webkit-text-fill-color: #fff5f2;
  background: linear-gradient(145deg, #9f3d35 0%, #5d211d 100%) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 217, 211, 0.16),
    0 10px 22px rgba(94, 26, 21, 0.28);
  text-shadow: 0 1px 2px rgba(38, 8, 6, 0.72);
}

.product-detail-bar > span em {
  margin-top: 5px;
  color: #d8c28d;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.3;
}

.product-detail-bar > span strong {
  font-size: 30px;
}

@media (prefers-reduced-motion: reduce) {
  .spec-availability i::after {
    animation: none;
  }
}

/* v45: let long 1C product names define the horizontal card height. */
.product-card {
  height: auto;
  grid-template-rows: minmax(min-content, auto);
}

.product-card[class*="product-card--seam-"] .product-card__body {
  height: auto;
  min-height: clamp(286px, 76vw, 316px);
  overflow: hidden;
}

.product-card__body h3,
.product-card__producer + h3,
.product-card__body > h3:first-child {
  height: auto;
  min-height: 0;
  max-height: none;
  margin: 5px 0 0;
  display: block;
  overflow: visible;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

.product-card__title {
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  display: block;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  text-overflow: clip;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

.product-card__summary,
.product-card .availability,
.product-card__purchase,
.product-card__action {
  flex-shrink: 0;
}

.product-card__summary {
  margin-top: 8px;
}

/* v46: Telegram support action uses the native Telegram brand color. */
.support-telegram {
  border-color: #56c4f2;
  color: #ffffff;
  background: #229ed9;
  background-image: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 10px 24px rgba(34, 158, 217, 0.3);
  text-shadow: 0 1px 1px rgba(10, 73, 105, 0.22);
  transition:
    background-color 150ms ease,
    box-shadow 150ms ease,
    transform 120ms ease;
}

.support-telegram:active {
  background: #1c8fc6;
  box-shadow:
    inset 0 2px 5px rgba(6, 65, 95, 0.2),
    0 6px 15px rgba(34, 158, 217, 0.24);
  transform: translateY(1px);
}

/* v49: unambiguous catalog filters, selected category and light empty states. */
.shop-app.is-root-route .catalog-search > .filter-button > b {
  z-index: 4;
  top: -10px;
  right: 0;
  box-sizing: border-box;
  min-width: 31px;
  height: 31px;
  padding: 0 7px;
  border: 2px solid #fffdf8;
  border-radius: 999px;
  color: #ffffff;
  background: #11120f;
  box-shadow:
    0 7px 16px rgba(22, 18, 9, 0.38),
    0 0 0 2px rgba(194, 147, 37, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
}

.active-category-badge {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  width: max-content;
  max-width: calc(100% - 34px);
  min-height: 58px;
  margin: 11px auto 16px;
  padding: 9px 10px 9px 15px;
  display: flex;
  align-items: center;
  gap: 11px;
  overflow: hidden;
  border: 1px solid rgba(204, 160, 53, 0.58);
  border-radius: 10px 25px 10px 25px;
  color: #fffaf0;
  background:
    radial-gradient(circle at 15% 0, rgba(239, 198, 91, 0.26), transparent 34%),
    linear-gradient(135deg, #242017 0%, #0d0e0c 58%, #17140e 100%);
  box-shadow:
    0 14px 28px rgba(50, 36, 7, 0.24),
    0 0 0 4px rgba(198, 151, 39, 0.055),
    inset 0 1px 0 rgba(255, 237, 181, 0.15);
}

.active-category-badge::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -50%;
  right: 36px;
  width: 54px;
  height: 200%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(229, 184, 71, 0.13), transparent);
  transform: rotate(18deg);
}

.active-category-badge > span {
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  border: 2px solid #e0b653;
  transform: rotate(45deg);
  background: rgba(214, 169, 60, 0.1);
  box-shadow: 0 0 12px rgba(221, 174, 59, 0.28);
}

.active-category-badge > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.active-category-badge small {
  color: #c7b98f;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.active-category-badge strong {
  overflow: hidden;
  color: #fffdf8;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.active-category-badge > button {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(230, 190, 86, 0.45);
  border-radius: 50%;
  color: #17130b;
  background: linear-gradient(145deg, #f0d173, #c8952d);
  box-shadow: inset 0 1px 0 rgba(255, 249, 218, 0.62);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  touch-action: manipulation;
}

.active-category-badge > button:active {
  transform: scale(0.94);
}

.empty-state.empty-state--surface {
  border: 1px solid rgba(169, 128, 31, 0.27);
  border-radius: 22px;
  color: #211e17;
  background:
    radial-gradient(circle at 15% 0, rgba(220, 179, 74, 0.12), transparent 37%),
    linear-gradient(150deg, #fffefa 0%, #f8f3e8 100%);
  box-shadow:
    0 17px 36px rgba(67, 48, 9, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.empty-state--surface h2 {
  color: #201d16;
}

.empty-state--surface p {
  color: #716b5f;
}

.empty-state--surface > .empty-state__search-icon {
  position: relative;
  box-sizing: border-box;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(178, 134, 31, 0.32);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(236, 220, 176, 0.56));
  box-shadow:
    0 12px 25px rgba(83, 58, 8, 0.12),
    inset 0 1px 0 #ffffff;
}

.empty-state--surface > .empty-state__search-icon::before {
  content: "";
  position: absolute;
  top: 25px;
  left: 25px;
  box-sizing: border-box;
  width: 27px;
  height: 27px;
  border: 4px solid #a67a19;
  border-radius: 50%;
}

.empty-state--surface > .empty-state__search-icon::after {
  content: "";
  position: absolute;
  top: 51px;
  left: 50px;
  width: 18px;
  height: 4px;
  border-radius: 4px;
  background: #a67a19;
  transform: rotate(45deg);
  transform-origin: left center;
}

.empty-state--surface > .section-title-icon {
  flex-basis: 88px;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(178, 134, 31, 0.32);
  border-radius: 28px;
  color: #9d741a;
  background: linear-gradient(145deg, #fffefa, #ecddb7);
  box-shadow:
    0 12px 25px rgba(83, 58, 8, 0.12),
    inset 0 1px 0 #ffffff;
}

.empty-state--surface > .section-title-icon .section-nav-svg {
  width: 46px;
  height: 46px;
}

.empty-state--surface > button {
  border-color: rgba(188, 143, 37, 0.72);
  color: #ffffff;
  background:
    linear-gradient(112deg, rgba(223, 180, 68, 0.2), transparent 34%),
    linear-gradient(145deg, #242016, #0d0e0c 68%);
  box-shadow:
    inset 0 1px 0 rgba(255, 238, 181, 0.16),
    0 11px 23px rgba(47, 34, 8, 0.2);
}

@media (max-width: 350px) {
  .shop-app.is-root-route .catalog-search > .filter-button > b {
    top: -8px;
    right: 0;
    min-width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .active-category-badge {
    max-width: calc(100% - 24px);
    padding-left: 12px;
    gap: 9px;
  }

  .active-category-badge strong {
    font-size: 14px;
  }
}

/* v50: premium 3D category cards with readable labels. */
.shop-app.is-root-route .category-strip {
  margin-top: 9px;
}

.shop-app.is-root-route .category-strip .filter-row {
  padding-top: 7px;
  padding-bottom: 13px;
  gap: 10px;
  align-items: stretch;
  scroll-padding-inline: 14px;
}

.shop-app.is-root-route .category-strip .filter-row > button {
  box-sizing: border-box;
  flex: 0 0 104px;
  width: 104px;
  min-height: 118px;
  padding: 8px 7px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  overflow: visible;
  border: 1px solid rgba(162, 119, 24, 0.26);
  border-radius: 23px;
  color: #302b21;
  background:
    radial-gradient(circle at 50% 8%, rgba(222, 179, 69, 0.14), transparent 43%),
    linear-gradient(155deg, #fffefa 0%, #f4eddd 100%);
  box-shadow:
    0 10px 23px rgba(71, 50, 9, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
  transform: translateZ(0);
  transition:
    transform 170ms ease,
    border-color 170ms ease,
    box-shadow 190ms ease,
    background-color 190ms ease;
}

.shop-app.is-root-route .category-strip .filter-row > button.is-active {
  border-color: rgba(218, 173, 63, 0.9);
  color: #fffaf0;
  background:
    radial-gradient(circle at 50% 4%, rgba(226, 180, 66, 0.22), transparent 45%),
    linear-gradient(150deg, #282318 0%, #0d0e0c 67%, #18150e 100%);
  box-shadow:
    0 14px 28px rgba(48, 34, 7, 0.24),
    0 0 0 3px rgba(199, 151, 39, 0.08),
    inset 0 1px 0 rgba(255, 238, 183, 0.18);
  transform: translateY(-2px);
}

.category-icon {
  position: relative;
  flex: 0 0 71px;
  width: 76px;
  height: 71px;
  display: block;
  pointer-events: none;
  background-image: url("./assets/category-icons-atlas.webp");
  background-repeat: no-repeat;
  background-size: 300% 200%;
  filter:
    drop-shadow(0 8px 8px rgba(45, 31, 5, 0.2))
    saturate(1.04);
  transform: translateZ(0);
  transition: transform 180ms ease, filter 180ms ease;
}

.category-icon--beer {
  background-position: 0 0;
}

.category-icon--cider {
  background-position: 50% 0;
}

.category-icon--mead {
  background-position: 100% 0;
}

.category-icon--zero-beer {
  background-position: 0 100%;
}

.category-icon--soft-drink {
  background-position: 50% 100%;
}

.category-icon--snacks {
  background-position: 100% 100%;
}

.category-icon--all {
  box-sizing: border-box;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(2, 24px);
  grid-template-rows: repeat(2, 24px);
  place-content: center;
  gap: 5px;
  background-image: none;
  filter: drop-shadow(0 9px 10px rgba(51, 35, 5, 0.24));
}

.category-icon--all::before {
  content: "";
  position: absolute;
  inset: 4px;
  z-index: -1;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(226, 181, 68, 0.22), transparent 68%);
}

.category-icon--all i {
  box-sizing: border-box;
  border: 1px solid rgba(255, 240, 191, 0.68);
  border-radius: 7px;
  background:
    linear-gradient(145deg, rgba(255, 250, 222, 0.75), transparent 34%),
    linear-gradient(145deg, #e7bd55, #9d7017);
  box-shadow:
    inset -3px -3px 5px rgba(87, 54, 4, 0.24),
    0 4px 7px rgba(75, 49, 5, 0.18);
  transform: rotate(-4deg);
}

.category-icon--all i:nth-child(2),
.category-icon--all i:nth-child(3) {
  transform: rotate(4deg);
}

.category-name {
  width: 100%;
  min-height: 29px;
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.16;
  text-align: center;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-icon--zero-beer + .category-name,
.category-icon--soft-drink + .category-name {
  font-size: 10.5px;
  letter-spacing: -0.015em;
}

.shop-app.is-root-route .category-strip .filter-row > button.is-active .category-icon {
  filter:
    drop-shadow(0 9px 10px rgba(0, 0, 0, 0.36))
    drop-shadow(0 0 8px rgba(224, 178, 61, 0.2))
    saturate(1.08);
  transform: scale(1.055) translateY(-1px);
}

.shop-app.is-root-route .category-strip .filter-row > button:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .shop-app.is-root-route .category-strip .filter-row > button:hover {
    border-color: rgba(178, 132, 29, 0.55);
    transform: translateY(-3px);
    box-shadow:
      0 14px 28px rgba(71, 50, 9, 0.17),
      inset 0 1px 0 rgba(255, 255, 255, 0.98);
  }

  .shop-app.is-root-route .category-strip .filter-row > button.is-active:hover {
    box-shadow:
      0 16px 31px rgba(48, 34, 7, 0.29),
      0 0 0 3px rgba(199, 151, 39, 0.1),
      inset 0 1px 0 rgba(255, 238, 183, 0.18);
  }
}

@media (max-width: 350px) {
  .shop-app.is-root-route .category-strip .filter-row > button {
    flex-basis: 94px;
    width: 94px;
    min-height: 111px;
    padding-inline: 5px;
    border-radius: 20px;
  }

  .category-icon {
    flex-basis: 65px;
    width: 69px;
    height: 65px;
  }

  .category-icon--all {
    grid-template-columns: repeat(2, 21px);
    grid-template-rows: repeat(2, 21px);
  }

  .category-name {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shop-app.is-root-route .category-strip .filter-row > button,
  .category-icon {
    transition: none;
  }
}

/* v51: isolated category-card shadows and a curved pinned category label. */
.shop-app.is-root-route .category-strip,
.shop-app.is-root-route .category-strip .filter-row {
  background: transparent;
  box-shadow: none;
  filter: none;
}

.shop-app.is-root-route .category-strip .filter-row > button {
  isolation: isolate;
  box-shadow:
    0 8px 11px -7px rgba(62, 43, 7, 0.38),
    0 2px 4px -2px rgba(71, 49, 7, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

.shop-app.is-root-route .category-strip .filter-row > button.is-active {
  box-shadow:
    0 9px 13px -7px rgba(46, 32, 5, 0.48),
    0 0 0 2px rgba(199, 151, 39, 0.08),
    inset 0 1px 0 rgba(255, 238, 183, 0.18);
}

@media (hover: hover) and (pointer: fine) {
  .shop-app.is-root-route .category-strip .filter-row > button:hover {
    box-shadow:
      0 10px 14px -7px rgba(62, 43, 7, 0.43),
      0 2px 4px -2px rgba(71, 49, 7, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.98);
  }

  .shop-app.is-root-route .category-strip .filter-row > button.is-active:hover {
    box-shadow:
      0 11px 15px -7px rgba(46, 32, 5, 0.54),
      0 0 0 2px rgba(199, 151, 39, 0.1),
      inset 0 1px 0 rgba(255, 238, 183, 0.18);
  }
}

.sticky-category-label {
  position: fixed;
  z-index: 39;
  top: calc(var(--shop-telegram-top) + 62px);
  left: 50%;
  isolation: isolate;
  box-sizing: border-box;
  width: min(100%, var(--shop-width));
  min-height: 64px;
  padding: 18px 24px 17px;
  display: flex;
  justify-content: center;
  gap: 7px;
  align-items: center;
  transform: translateX(-50%);
  border: 0;
  border-radius: 0;
  color: #fffaf0;
  background: transparent;
  box-shadow: none;
  pointer-events: none;
  animation: sticky-category-in 170ms ease-out both;
}

.sticky-category-label[hidden] {
  display: none !important;
}

.sticky-category-label::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 0, rgba(221, 178, 66, 0.075), transparent 48%),
    #090a09;
  clip-path: ellipse(70% 112% at 50% 0);
  filter: drop-shadow(0 9px 8px rgba(0, 0, 0, 0.3));
}

.sticky-category-label::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 8px;
  right: 0;
  left: 0;
  width: 94%;
  height: 1px;
  margin: 0 auto;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(216, 174, 68, 0.34) 20%,
    rgba(255, 255, 255, 0.17) 50%,
    rgba(216, 174, 68, 0.34) 80%,
    transparent
  );
}

.sticky-category-label small {
  color: #d7ad4e;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.15;
}

.sticky-category-label strong {
  overflow: hidden;
  color: #fffdf8;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes sticky-category-in {
  from {
    opacity: 0;
    transform: translate(-50%, -7px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 350px) {
  .sticky-category-label {
    top: calc(var(--shop-telegram-top) + 61px);
    min-height: 61px;
    padding: 18px 15px 15px;
  }

  .sticky-category-label small,
  .sticky-category-label strong {
    font-size: 14px;
  }

  .sticky-category-label strong {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sticky-category-label {
    animation: none;
  }
}

/* v53: cleaner selected-category badge and no decorative diamond. */
.active-category-badge {
  width: min(84%, 400px);
  max-width: calc(100% - 28px);
  min-height: 62px;
  margin: 13px auto 18px;
  padding: 9px 30px 9px 34px;
  gap: 12px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 0;
  background:
    radial-gradient(circle at 20% 0, rgba(238, 195, 84, 0.18), transparent 38%) padding-box,
    linear-gradient(145deg, #211d14 0%, #0b0c0a 62%, #17130d 100%) padding-box,
    linear-gradient(110deg, #6f4b11 0%, #e1ba58 48%, #7b5415 100%) border-box;
  box-shadow: none;
  filter: drop-shadow(0 11px 12px rgba(35, 25, 5, 0.24));
  clip-path: polygon(7% 0, 93% 0, 100% 50%, 93% 100%, 7% 100%, 0 50%);
}

.active-category-badge::after,
.active-category-badge > span {
  display: none;
}

.active-category-badge > div {
  flex: 1 1 auto;
  justify-items: start;
  gap: 3px;
}

.active-category-badge small {
  color: #d0bd8b;
  font-size: 10.5px;
  letter-spacing: 0.13em;
}

.active-category-badge strong {
  max-width: 100%;
  color: #fffdf8;
  font-size: 17px;
  line-height: 1.14;
}

.active-category-badge > button {
  flex-basis: 36px;
  width: 36px;
  height: 36px;
  border-color: rgba(255, 232, 157, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 218, 0.68),
    0 5px 10px rgba(0, 0, 0, 0.25);
}

@media (max-width: 350px) {
  .active-category-badge {
    width: calc(100% - 24px);
    max-width: none;
    min-height: 58px;
    padding: 8px 25px 8px 29px;
  }

  .active-category-badge strong {
    font-size: 15px;
  }
}

/* v54: desktop category clicks and a lighter product-information surface. */
.product-about,
.product-specs--detail {
  border-color: rgba(178, 133, 30, 0.32);
  color: #171712;
  background:
    radial-gradient(circle at 12% 0, rgba(220, 179, 70, 0.1), transparent 38%),
    linear-gradient(145deg, #fffefa 0%, #f8f4e9 100%);
  box-shadow:
    0 14px 30px rgba(45, 34, 9, 0.12),
    inset 0 1px 0 #ffffff;
}

.product-about h2 {
  color: #171712;
}

.product-about .product-detail__lead {
  color: #48473f;
}

.product-specs--detail > div {
  border-bottom-color: rgba(39, 35, 25, 0.1);
}

.product-specs--detail dt {
  color: #6e6a60;
}

.product-specs--detail dd {
  color: #181712;
}

.product-specs--detail .spec-availability {
  color: #287a43;
}

.product-specs--detail .spec-availability.is-manager {
  color: #9a5a12;
}

.product-specs--detail .spec-availability.is-unavailable {
  color: #a93c32;
}

.product-detail-bar > span small {
  color: #aaa69d;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
}

@media (max-width: 350px) {
  .product-detail-bar > span small {
    font-size: 13px;
  }
}

/* v55: full-width category labels and fully light product specifications. */
@media (max-width: 560px) {
  .active-category-badge {
    width: calc(100% + 20px);
    max-width: none;
    min-height: 64px;
    margin-right: -10px;
    margin-left: -10px;
    padding: 10px 32px 10px 35px;
    clip-path: polygon(4% 0, 96% 0, 100% 50%, 96% 100%, 4% 100%, 0 50%);
  }

  .active-category-badge > div {
    min-width: 0;
  }

  .active-category-badge strong {
    max-width: none;
    overflow: visible;
    font-size: 17px;
    line-height: 1.18;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

.sticky-category-label {
  min-height: 68px;
  padding: 19px 22px 18px;
  overflow: visible;
  filter:
    drop-shadow(0 14px 16px rgba(0, 0, 0, 0.43))
    drop-shadow(0 4px 7px rgba(200, 153, 39, 0.14));
}

.sticky-category-label::before {
  right: 0;
  bottom: -5px;
  left: 0;
  background:
    radial-gradient(ellipse at 50% 0, rgba(223, 180, 68, 0.11), transparent 52%),
    rgba(8, 9, 8, 0.965);
  clip-path: ellipse(72% 115% at 50% 0);
  filter: none;
  backdrop-filter: blur(14px) saturate(0.92);
  -webkit-backdrop-filter: blur(14px) saturate(0.92);
}

.product-specs--detail,
.product-specs--detail > div {
  color: #181712;
  background-color: transparent;
}

.product-specs--detail > div {
  background: transparent;
}

.product-specs--detail dt {
  color: #68645b;
}

.product-specs--detail dd {
  color: #181712;
}

.product-specs__availability dd {
  min-width: 0;
  justify-self: end;
}

.product-specs--detail .spec-availability {
  display: inline-grid;
  grid-template-columns: 12px minmax(0, auto);
  justify-content: end;
  gap: 6px;
  align-items: center;
  max-width: 100%;
  text-align: left;
}

.product-specs--detail .spec-availability i {
  align-self: center;
}

.product-specs--detail .spec-availability > span {
  min-width: 0;
  line-height: 1.25;
}

@media (max-width: 380px) {
  .product-specs--detail > div {
    grid-template-columns: minmax(82px, 0.72fr) minmax(0, 1.28fr);
    gap: 8px;
  }

  .product-specs--detail dt {
    font-size: 13px;
  }

  .product-specs--detail dd,
  .product-specs--detail .spec-availability {
    font-size: 14px;
  }

  .product-specs--detail .spec-availability {
    gap: 5px;
  }
}

/* v56: sticky category repeats the header's smooth convex lower edge. */
.sticky-category-label {
  min-height: 56px;
  padding: 15px 22px 13px;
  overflow: visible;
  background: rgba(8, 9, 8, 0.975);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.035),
    0 11px 24px rgba(0, 0, 0, 0.42);
  filter: none;
  backdrop-filter: blur(16px) saturate(0.9);
  -webkit-backdrop-filter: blur(16px) saturate(0.9);
}

/* v58: light, high-contrast surfaces throughout the profile screen. */
.profile-screen .profile-status,
.profile-screen .profile-details,
.profile-screen .settings-row,
.profile-screen .support-panel {
  border-color: rgba(178, 133, 30, 0.32);
  color: #171712;
  background:
    radial-gradient(circle at 12% 0, rgba(220, 179, 70, 0.1), transparent 38%),
    linear-gradient(145deg, #fffefa 0%, #f8f4e9 100%);
  box-shadow:
    0 14px 30px rgba(45, 34, 9, 0.12),
    inset 0 1px 0 #ffffff;
}

.profile-screen .profile-status.is-verified {
  border-color: rgba(66, 134, 78, 0.38);
}

.profile-screen .profile-status.is-incomplete {
  border-color: rgba(183, 71, 57, 0.4);
}

.profile-screen .profile-status.is-pending {
  border-color: rgba(178, 133, 30, 0.4);
}

.profile-screen .profile-status strong,
.profile-screen .profile-details strong,
.profile-screen .settings-row strong,
.profile-screen .support-panel__heading strong,
.profile-screen .support-phone strong {
  color: #171712;
}

.profile-screen .profile-status small,
.profile-screen .profile-details span,
.profile-screen .settings-row small,
.profile-screen .support-panel__heading small,
.profile-screen .support-phone small {
  color: #6e6a60;
}

.profile-screen .profile-details > div {
  border-bottom-color: rgba(39, 35, 25, 0.1);
}

.profile-screen .settings-row > i {
  color: #3e3b33;
}

.profile-screen .settings-row:active,
.profile-screen .support-details[open] > summary {
  border-color: rgba(160, 116, 19, 0.46);
  background:
    radial-gradient(circle at 12% 0, rgba(220, 179, 70, 0.14), transparent 42%),
    linear-gradient(145deg, #fbf7ec 0%, #eee4cb 100%);
}

.profile-screen .support-panel {
  border-top: 0;
}

.profile-screen .support-phone {
  border-color: rgba(178, 133, 30, 0.3);
  color: #171712;
  background: rgba(255, 255, 255, 0.72);
}

.shop-nav button[data-route="profile"].is-active {
  border-color: rgba(178, 133, 30, 0.5);
  color: #171712;
  background:
    radial-gradient(circle at 50% 0, rgba(220, 179, 70, 0.14), transparent 58%),
    linear-gradient(145deg, #fffefa 0%, #eee4cb 100%);
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 13px 28px rgba(0, 0, 0, 0.42),
    0 0 22px rgba(213, 168, 55, 0.14);
}

.shop-nav button[data-route="profile"].is-active > span {
  filter: none;
}

.shop-nav button[data-route="profile"].is-active small {
  color: #171712;
}

/* v57: readable product price and pack details beside an unavailable action. */
.product-detail-bar__price {
  min-width: 0;
}

.product-detail-bar > .product-detail-bar__price > strong {
  min-width: 0;
  display: flex;
  gap: 5px;
  align-items: baseline;
  white-space: nowrap;
}

.product-detail-bar > .product-detail-bar__price > strong > span {
  min-width: 0;
}

.product-detail-bar > .product-detail-bar__price > strong > small {
  margin: 0;
  display: inline;
  flex: 0 0 auto;
  color: #aaa69d;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.2;
}

.product-detail-bar > .product-detail-bar__price > .product-detail-bar__box {
  margin-top: 4px;
  display: grid;
  gap: 1px;
  color: #d8c28d;
  font-style: normal;
}

.product-detail-bar > .product-detail-bar__price > .product-detail-bar__box > span {
  display: block;
  white-space: nowrap;
}

.product-detail.is-not-orderable .product-detail-bar {
  grid-template-columns: minmax(140px, 1.1fr) minmax(126px, 0.9fr);
  gap: 8px;
}

.product-detail.is-not-orderable .product-detail-bar .primary-action:disabled {
  width: min(100%, 174px);
  min-height: 52px;
  padding: 7px 10px;
  justify-self: end;
  font-size: 13.5px;
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-align: center;
  white-space: normal;
}

@media (max-width: 350px) {
  .product-detail.is-not-orderable .product-detail-bar {
    padding-right: 10px;
    padding-left: 10px;
    grid-template-columns: minmax(136px, 1.08fr) minmax(122px, 0.92fr);
  }

  .product-detail-bar > .product-detail-bar__price > strong {
    gap: 4px;
  }

  .product-detail-bar > .product-detail-bar__price > strong > small,
  .product-detail-bar > .product-detail-bar__price > .product-detail-bar__box {
    font-size: 12.5px;
  }

  .product-detail.is-not-orderable .product-detail-bar .primary-action:disabled {
    padding-inline: 8px;
    font-size: 13px;
  }
}

.sticky-category-label::before {
  top: auto;
  right: 0;
  bottom: -13px;
  left: 0;
  height: 14px;
  background:
    radial-gradient(ellipse at 50% 0, rgba(223, 180, 68, 0.1), transparent 62%),
    rgba(8, 9, 8, 0.975);
  -webkit-clip-path: ellipse(50% 100% at 50% 0);
  clip-path: ellipse(50% 100% at 50% 0);
  filter:
    drop-shadow(0 1px 0 rgba(222, 181, 73, 0.18))
    drop-shadow(0 11px 15px rgba(0, 0, 0, 0.42));
  backdrop-filter: blur(16px) saturate(0.9);
  -webkit-backdrop-filter: blur(16px) saturate(0.9);
}

/* v59: clearer search focus, larger reset control and live catalog suggestions. */
.shop-app.is-root-route #catalog-search-input {
  -webkit-appearance: none;
  appearance: none;
  font-size: 18px;
  line-height: 36px;
  caret-color: #d8aa35;
}

.shop-app.is-root-route #catalog-search-input::placeholder {
  opacity: 1;
  transition: opacity 110ms ease, color 110ms ease;
}

.shop-app.is-root-route #catalog-search-input:focus::placeholder {
  color: transparent;
  opacity: 0;
}

.shop-app.is-root-route #catalog-search-input::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}

.shop-app.is-root-route .catalog-search label > button[data-action="clear-search"] {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  padding: 0 0 2px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(166, 119, 24, 0.24);
  border-radius: 14px;
  color: #8f6818;
  background: rgba(219, 176, 67, 0.1);
  font-family: Arial, sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.shop-app.is-root-route .catalog-search label > button[data-action="clear-search"][hidden] {
  display: none !important;
}

.shop-app.is-root-route .catalog-search label > button[data-action="clear-search"]:active {
  color: #5f430d;
  background: rgba(219, 176, 67, 0.2);
  transform: scale(0.94);
}

.shop-app.is-root-route .catalog-search-suggestions {
  position: relative;
  z-index: 24;
  box-sizing: border-box;
  width: calc(100% - 68px);
  margin-top: 8px;
  padding: 7px;
  overflow: hidden;
  border: 1px solid rgba(166, 119, 24, 0.34);
  border-radius: 18px;
  color: #171712;
  background:
    radial-gradient(circle at 12% 0, rgba(220, 179, 70, 0.11), transparent 38%),
    linear-gradient(145deg, #fffefa 0%, #f8f4e9 100%);
  box-shadow:
    0 18px 34px rgba(45, 34, 9, 0.17),
    inset 0 1px 0 #ffffff;
}

.catalog-search-suggestions__heading {
  min-height: 32px;
  padding: 3px 8px 6px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.catalog-search-suggestions__heading strong {
  color: #625d52;
  font-size: 12px;
  font-weight: 800;
}

.catalog-search-suggestions__heading small {
  min-width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #6e4d0e;
  background: rgba(216, 170, 53, 0.16);
  font-size: 11px;
  font-weight: 900;
}

.catalog-search-suggestions__list {
  display: grid;
  gap: 2px;
}

.catalog-search-suggestions__list > button {
  width: 100%;
  min-height: 58px;
  padding: 7px 9px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 24px;
  gap: 9px;
  align-items: center;
  border: 0;
  border-radius: 13px;
  color: #171712;
  background: transparent;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
}

.catalog-search-suggestions__list > button + button {
  border-top: 1px solid rgba(39, 35, 25, 0.08);
}

.catalog-search-suggestions__list > button:hover,
.catalog-search-suggestions__list > button:focus-visible {
  outline: 0;
  background: rgba(218, 174, 65, 0.11);
  box-shadow: inset 0 0 0 1px rgba(166, 119, 24, 0.18);
}

.catalog-search-suggestions__kind {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(166, 119, 24, 0.3);
  border-radius: 12px;
  color: #5d410d;
  background: linear-gradient(145deg, #f3d579, #d4a43b);
  font-size: 14px;
  font-weight: 950;
}

.catalog-search-suggestions__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.catalog-search-suggestions__copy strong {
  overflow: hidden;
  color: #171712;
  font-size: 15px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-search-suggestions__copy small {
  overflow: hidden;
  color: #716c62;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-search-suggestions__list > button > i {
  color: #99701c;
  font-size: 18px;
  font-style: normal;
  text-align: center;
}

@media (max-width: 350px) {
  .shop-app.is-root-route .catalog-search-suggestions {
    width: calc(100% - 64px);
  }

  .shop-app.is-root-route #catalog-search-input {
    font-size: 17px;
  }

  .shop-app.is-root-route .catalog-search label > button[data-action="clear-search"] {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }
}

/* v60: light order history, order details and invoice/document surfaces. */
.orders-screen .order-card,
.order-detail .order-progress,
.order-detail .detail-card {
  border-color: rgba(178, 133, 30, 0.32);
  color: #171712;
  background:
    radial-gradient(circle at 12% 0, rgba(220, 179, 70, 0.1), transparent 38%),
    linear-gradient(145deg, #fffefa 0%, #f8f4e9 100%);
  box-shadow:
    0 14px 30px rgba(45, 34, 9, 0.12),
    inset 0 1px 0 #ffffff;
}

.orders-screen .order-card {
  padding: 17px;
  gap: 14px;
  transition: border-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.orders-screen .order-card:active {
  border-color: rgba(160, 116, 19, 0.5);
  box-shadow:
    0 8px 18px rgba(45, 34, 9, 0.14),
    inset 0 1px 0 #ffffff;
  transform: scale(0.985);
}

.orders-screen .order-card__top {
  align-items: flex-start;
}

.orders-screen .order-card__top > span:first-child small,
.orders-screen .order-card__bottom > span:first-child {
  color: #6e6a60;
}

.orders-screen .order-card__top > span:first-child strong {
  color: #171712;
}

.order-card__amount {
  min-width: 105px;
  align-items: flex-end;
  text-align: right;
}

.orders-screen .order-card__amount small {
  color: #767065;
  font-size: 10px;
}

.orders-screen .order-card__amount strong {
  color: #8f6818;
  font-size: 17px;
  white-space: nowrap;
}

.orders-screen .order-card__bottom {
  border-top-color: rgba(39, 35, 25, 0.1);
}

.orders-screen .order-card__bottom > span:last-child {
  color: #8f6818;
  font-weight: 850;
}

.orders-screen .status-pill,
.order-detail .status-pill {
  border: 1px solid rgba(72, 90, 111, 0.24);
  color: #34495f;
  background: #e9eff5;
}

.orders-screen .status-pill.is-success,
.order-detail .status-pill.is-success {
  border-color: rgba(47, 122, 70, 0.28);
  color: #21683a;
  background: #e4f3e7;
}

.orders-screen .status-pill.is-warning,
.order-detail .status-pill.is-warning {
  border-color: rgba(166, 119, 24, 0.3);
  color: #704d0c;
  background: #f7e9bd;
}

.orders-screen .status-pill.is-danger,
.order-detail .status-pill.is-danger {
  border-color: rgba(173, 63, 52, 0.28);
  color: #91352d;
  background: #f7e4e1;
}

.orders-screen .status-pill.is-progress,
.order-detail .status-pill.is-progress {
  border-color: rgba(166, 119, 24, 0.25);
  color: #634a18;
  background: #f4ecd8;
}

.order-detail .order-progress {
  padding: 18px;
}

.order-detail .order-detail__heading {
  flex-direction: column;
  gap: 12px;
}

.order-detail .order-detail__heading > div {
  min-width: 0;
}

.order-detail .order-detail__heading h1 {
  font-size: clamp(30px, 8vw, 38px);
  line-height: 1.05;
}

.order-detail .order-detail__heading h1 > span {
  margin-top: 4px;
  display: block;
  font-size: 0.82em;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.order-detail .order-detail__heading > .status-pill {
  align-self: flex-start;
}

.order-detail .order-progress > div:not(:last-child)::before {
  background: rgba(166, 119, 24, 0.3);
}

.order-detail .order-progress i {
  border-color: #c79428;
  background: #fffefa;
}

.order-detail .order-progress .is-current i {
  background: #d8aa35;
  box-shadow: 0 0 0 4px rgba(216, 170, 53, 0.16);
}

.order-detail .order-progress strong,
.order-detail .detail-card h2,
.order-detail .document-row > span {
  color: #171712;
}

.order-detail .order-progress small,
.order-detail .document-row small,
.order-detail .invoice-card p {
  color: #6e6a60;
}

.order-detail .detail-card__heading {
  min-height: 48px;
  margin-bottom: 4px;
}

.detail-card__total {
  flex: 0 0 auto;
  display: grid;
  gap: 2px;
  justify-items: end;
}

.detail-card__total small {
  color: #767065;
  font-size: 10px;
  font-weight: 750;
}

.detail-card__total strong {
  color: #8f6818;
  font-size: 19px;
  white-space: nowrap;
}

.order-detail .order-line {
  padding: 14px 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  border-top-color: rgba(39, 35, 25, 0.1);
}

.order-line__index {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(166, 119, 24, 0.3);
  border-radius: 10px;
  color: #5d410d;
  background: linear-gradient(145deg, #f3d579, #d4a43b);
  font-size: 11px;
  font-weight: 900;
}

.order-detail .order-line__copy {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.order-detail .order-line__copy > strong {
  color: #171712;
  font-size: 15px;
  overflow-wrap: anywhere;
}

.order-detail .order-line__copy small {
  color: #656158;
  font-size: 12px;
}

.order-detail .order-line__copy small b {
  color: #3e3b33;
}

.order-line__total {
  min-width: 92px;
  display: grid;
  gap: 3px;
  justify-items: end;
  text-align: right;
}

.order-detail .order-line__total small {
  color: #767065;
  font-size: 10px;
}

.order-detail .order-line__total strong {
  color: #171712;
  font-size: 15px;
  white-space: nowrap;
}

.order-detail .invoice-card__icon {
  border-color: rgba(166, 119, 24, 0.3);
  color: #6e4d0e;
  background: linear-gradient(145deg, #f5dc91, #d4a43b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.order-detail .invoice-card h2 {
  color: #171712;
}

.order-detail .invoice-card button {
  color: #171108;
  background: linear-gradient(145deg, #efcf75, #d4a43b);
  box-shadow: 0 7px 16px rgba(143, 104, 24, 0.18);
}

.order-detail .document-waiting {
  min-height: 34px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(166, 119, 24, 0.25);
  border-radius: 10px;
  color: #634a18;
  background: #f4ecd8;
  font-weight: 800;
  text-align: center;
}

.order-detail .document-row {
  border-top-color: rgba(39, 35, 25, 0.1);
}

@media (max-width: 380px) {
  .orders-screen .order-card__top {
    gap: 8px;
  }

  .order-card__amount {
    min-width: 92px;
  }

  .orders-screen .order-card__amount strong {
    font-size: 15px;
  }

  .order-detail .order-line {
    grid-template-columns: 32px minmax(0, 1fr);
  }

  .order-line__total {
    min-width: 0;
    padding-top: 7px;
    grid-column: 2;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-top: 1px dashed rgba(39, 35, 25, 0.12);
    text-align: left;
  }

  .order-detail .invoice-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-detail .invoice-card button,
  .order-detail .document-waiting {
    width: 100%;
    justify-content: center;
  }
}

/* v61: full-width search suggestions and an in-profile help guide. */
.shop-app.is-root-route .catalog-search-suggestions {
  width: 100%;
}

.profile-screen .help-panel {
  gap: 14px;
}

.profile-screen .help-panel .support-panel__heading > span {
  color: #5d410d;
  background: linear-gradient(145deg, #f3d579, #d4a43b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-family: Georgia, serif;
  font-style: italic;
}

.help-steps {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.help-steps > li {
  min-height: 66px;
  padding: 11px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  border: 1px solid rgba(178, 133, 30, 0.22);
  border-radius: 14px;
  color: #171712;
  background: rgba(255, 255, 255, 0.7);
}

.help-steps > li > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(166, 119, 24, 0.3);
  border-radius: 10px;
  color: #5d410d;
  background: linear-gradient(145deg, #f3d579, #d4a43b);
  font-size: 12px;
  font-weight: 900;
}

.help-steps > li > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.profile-screen .help-steps strong {
  color: #171712;
  font-size: 14px;
  line-height: 1.3;
}

.profile-screen .help-steps small {
  color: #68645b;
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 350px) {
  .profile-screen .help-panel {
    padding: 13px;
  }

  .help-steps > li {
    padding: 10px;
    grid-template-columns: 31px minmax(0, 1fr);
    gap: 8px;
  }

  .help-steps > li > span {
    width: 29px;
    height: 29px;
    border-radius: 9px;
  }
}

/* v62: editorial order states, plain item numbering and FAQ accordions. */
.orders-screen .order-card__statuses {
  margin-top: 1px;
  display: block;
}

.order-status {
  --order-status-accent: #b88927;
  --order-status-glow: rgba(184, 137, 39, 0.18);
  position: relative;
  min-width: 0;
  padding: 4px 0;
  display: inline-grid;
  grid-template-columns: 9px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  text-align: left;
}

.order-status::before {
  content: "";
  position: absolute;
  top: -5px;
  bottom: -5px;
  left: 3px;
  width: 1px;
  background: linear-gradient(transparent, var(--order-status-accent), transparent);
  opacity: 0.5;
}

.order-status__signal {
  position: relative;
  z-index: 1;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: var(--order-status-accent);
  box-shadow: 0 0 0 4px var(--order-status-glow);
}

.order-status__copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.order-status__copy strong {
  color: #171712;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
}

.order-status__copy small {
  color: #777166;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.25;
}

.order-status.is-warning {
  --order-status-accent: #c27a25;
  --order-status-glow: rgba(194, 122, 37, 0.17);
}

.order-status.is-success {
  --order-status-accent: #3d8c55;
  --order-status-glow: rgba(61, 140, 85, 0.16);
}

.order-status.is-danger {
  --order-status-accent: #b34a3f;
  --order-status-glow: rgba(179, 74, 63, 0.15);
}

.order-detail .order-detail__heading > .order-status {
  align-self: flex-start;
}

.order-detail .order-detail__heading .order-status__copy strong {
  color: #f6f2e8;
  font-size: 14px;
}

.order-detail .order-detail__heading .order-status__copy small {
  color: #aaa59a;
  font-size: 11px;
}

.order-detail .order-line {
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
}

.order-detail .order-line__index {
  width: auto;
  height: auto;
  padding-top: 1px;
  display: block;
  border: 0;
  border-radius: 0;
  color: #9a701b;
  background: transparent;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.profile-screen .help-panel .support-panel__heading > span {
  font-family: inherit;
  font-style: normal;
}

.faq-item {
  border-top: 1px solid rgba(39, 35, 25, 0.12);
  border-bottom: 1px solid rgba(39, 35, 25, 0.12);
}

.faq-item > summary {
  min-height: 62px;
  padding: 11px 2px;
  display: grid;
  grid-template-columns: 27px minmax(0, 1fr) 25px;
  gap: 9px;
  align-items: center;
  color: #171712;
  cursor: pointer;
  list-style: none;
  outline: 0;
  touch-action: manipulation;
}

.faq-item > summary:focus-visible {
  box-shadow: inset 2px 0 0 rgba(154, 112, 27, 0.72);
}

.faq-item > summary::-webkit-details-marker {
  display: none;
}

.faq-item__number {
  color: #9a701b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.faq-item > summary > strong {
  color: #171712;
  font-size: 15px;
  line-height: 1.3;
}

.faq-item > summary > i {
  position: relative;
  width: 24px;
  height: 24px;
  display: block;
}

.faq-item > summary > i::before,
.faq-item > summary > i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: #9a701b;
  transform: translate(-50%, -50%);
  transition: transform 170ms ease, opacity 170ms ease;
}

.faq-item > summary > i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] > summary > i::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item[open] > summary {
  color: #6f4f10;
}

.faq-item__answer {
  padding: 0 2px 4px 36px;
}

.help-steps {
  gap: 0;
}

.help-steps > li {
  min-height: 0;
  padding: 12px 0;
  grid-template-columns: 23px minmax(0, 1fr);
  gap: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.help-steps > li + li {
  border-top: 1px solid rgba(39, 35, 25, 0.09);
}

.help-steps > li > span {
  width: auto;
  height: auto;
  display: block;
  border: 0;
  border-radius: 0;
  color: #9a701b;
  background: transparent;
  font-size: 11px;
  line-height: 1.45;
  text-align: left;
}

@media (max-width: 350px) {
  .faq-item__answer {
    padding-left: 29px;
  }

  .order-detail .order-line {
    grid-template-columns: 21px minmax(0, 1fr);
    gap: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item > summary > i::before,
  .faq-item > summary > i::after {
    transition: none;
  }
}

/* v65: manufacturer directory, automatic-new UI and personal favorites. */
.category-icon.category-icon--producers {
  display: grid;
  place-items: center;
  overflow: visible;
  background-image: none;
  filter: drop-shadow(0 9px 10px rgba(51, 35, 5, 0.22));
}

.category-icon--producers::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(146, 101, 14, 0.34);
  border-radius: 25px;
  background:
    radial-gradient(circle at 36% 24%, rgba(255, 255, 255, 0.82), transparent 31%),
    linear-gradient(145deg, #f2d369 0%, #ca952b 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    inset 0 -8px 14px rgba(107, 66, 4, 0.13);
}

.category-icon--producers svg {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 58px;
  overflow: visible;
  fill: rgba(28, 25, 18, 0.13);
  stroke: #252116;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.favorite-toggle {
  box-sizing: border-box;
  width: 42px;
  height: 42px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(157, 112, 23, 0.35);
  border-radius: 50%;
  color: #4a4438;
  background: rgba(255, 254, 250, 0.95);
  box-shadow:
    0 8px 18px rgba(53, 38, 8, 0.16),
    inset 0 1px 0 #ffffff;
  cursor: pointer;
  transition: transform 160ms ease, color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.favorite-toggle svg {
  width: 22px;
  height: 22px;
  overflow: visible;
}

.favorite-toggle path {
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: fill 160ms ease;
}

.favorite-toggle.is-favorite {
  border-color: rgba(130, 86, 7, 0.5);
  color: #201c13;
  background: linear-gradient(145deg, #f5d975, #d7a837);
  box-shadow:
    0 9px 20px rgba(115, 77, 8, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.favorite-toggle.is-favorite path {
  fill: currentColor;
}

.favorite-toggle:active {
  transform: scale(0.91);
}

.favorite-toggle:focus-visible {
  outline: 3px solid rgba(235, 190, 76, 0.52);
  outline-offset: 2px;
}

.product-card > .favorite-toggle--card {
  position: absolute;
  top: 11px;
  right: 11px;
  z-index: 12;
}

.product-detail__media {
  position: relative;
}

.product-detail__media > .favorite-toggle--detail {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 12;
}

.producers-screen,
.favorites-screen {
  display: grid;
  align-content: start;
  gap: 14px;
}

.producers-heading,
.favorites-heading {
  margin-bottom: 0;
}

.producers-heading .section-title-row,
.favorites-heading .section-title-row {
  min-width: 0;
}

.producers-heading h1,
.favorites-heading h1 {
  min-width: 0;
}

.producers-title-icon,
.favorites-title-icon {
  border-color: rgba(168, 120, 22, 0.38);
  color: #2b261b;
  background: linear-gradient(145deg, #f3d36e, #d3a033);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 7px 16px rgba(78, 51, 5, 0.18);
}

.producers-title-icon .section-nav-svg,
.favorites-title-icon .section-nav-svg {
  fill: rgba(28, 25, 18, 0.08);
  stroke: currentColor;
}

.producer-list {
  display: grid;
  gap: 11px;
}

.producer-card {
  overflow: hidden;
  border: 1px solid rgba(173, 130, 31, 0.27);
  border-radius: 25px;
  color: #171712;
  background:
    radial-gradient(circle at 12% 0, rgba(225, 184, 76, 0.1), transparent 38%),
    linear-gradient(145deg, #fffefa 0%, #f9f5eb 100%);
  box-shadow:
    0 12px 26px rgba(45, 34, 9, 0.11),
    inset 0 1px 0 #ffffff;
}

.producer-card.is-expanded {
  border-color: rgba(173, 124, 23, 0.46);
  box-shadow:
    0 17px 34px rgba(45, 34, 9, 0.16),
    0 0 0 3px rgba(207, 157, 45, 0.07),
    inset 0 1px 0 #ffffff;
}

.producer-card__summary {
  width: 100%;
  min-height: 82px;
  padding: 10px 16px 10px 11px;
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) auto 18px;
  gap: 11px;
  align-items: center;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.producer-avatar {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 3px solid #e0ae37;
  border-radius: 50%;
  color: #211d13;
  background: #f4cf55;
  box-shadow:
    0 7px 15px rgba(74, 49, 5, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.producer-avatar--1 {
  background: linear-gradient(145deg, #ffe382, #e1ad33);
}

.producer-avatar--2 {
  color: #f9d66e;
  background: linear-gradient(145deg, #34362d, #11120f);
}

.producer-avatar--3 {
  color: #f7f2e4;
  background: linear-gradient(145deg, #59635a, #26332e);
}

.producer-card__name {
  min-width: 0;
  overflow: hidden;
  color: #171712;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.producer-card__count {
  color: #858177;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.producer-card__chevron {
  width: 11px;
  height: 11px;
  border-right: 2px solid #777268;
  border-bottom: 2px solid #777268;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 180ms ease;
}

.producer-card.is-expanded .producer-card__chevron {
  transform: translateY(3px) rotate(225deg);
}

.producer-card__panel {
  padding: 2px 11px 12px;
  border-top: 1px solid rgba(47, 41, 27, 0.08);
  background: rgba(246, 240, 225, 0.48);
}

.producer-products {
  padding: 10px 0;
  display: grid;
  gap: 7px;
}

.producer-product {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(49, 43, 29, 0.09);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.82);
}

.producer-product__open {
  width: 100%;
  min-height: 67px;
  padding: 8px 58px 8px 8px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 0;
  color: #171712;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.producer-product__thumb {
  width: 46px;
  height: 49px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(166, 119, 24, 0.22);
  border-radius: 13px;
  color: #624714;
  background: linear-gradient(145deg, #fff9e9, #efe2bd);
  font-size: 10px;
  font-weight: 900;
}

.producer-product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.producer-product__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.producer-product__copy strong {
  overflow: hidden;
  color: #171712;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.producer-product__copy small {
  overflow: hidden;
  color: #777269;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.producer-product__price {
  color: #171712;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.producer-product > .favorite-toggle--producer {
  position: absolute;
  top: 13px;
  right: 9px;
  z-index: 2;
  width: 39px;
  height: 39px;
  box-shadow: none;
}

.producer-product > .favorite-toggle--producer svg {
  width: 19px;
  height: 19px;
}

.producer-card__browse {
  width: 100%;
  min-height: 45px;
  padding: 10px 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(153, 107, 19, 0.3);
  border-radius: 14px;
  color: #2c2517;
  background: linear-gradient(145deg, #f2d575, #d8aa3f);
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.favorites-grid {
  margin-top: 0;
}

.favorites-empty {
  min-height: 270px;
}

.favorites-empty__heart {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(167, 118, 23, 0.32);
  border-radius: 50%;
  color: #8b6317;
  background: linear-gradient(145deg, #fff9e9, #ead49a);
  box-shadow: 0 12px 24px rgba(77, 51, 5, 0.14);
  font-family: Georgia, serif;
  font-size: 42px;
  line-height: 1;
}

.settings-row--favorites {
  display: flex;
}

.settings-row--favorites > span:first-child {
  flex: 1 1 auto;
}

.settings-row > .settings-row__favorite-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(158, 112, 21, 0.26);
  border-radius: 50%;
  color: #9a8e77;
  background: rgba(255, 255, 255, 0.72);
  font-size: 16px;
}

.settings-row > .settings-row__favorite-icon.is-filled {
  color: #2b2417;
  background: linear-gradient(145deg, #f4d675, #d8a83a);
}

@media (max-width: 370px) {
  .producers-heading h1 {
    font-size: 30px;
    letter-spacing: -0.055em;
  }

  .producer-card__summary {
    padding-right: 12px;
    grid-template-columns: 54px minmax(0, 1fr) 15px;
    gap: 9px;
  }

  .producer-avatar {
    width: 51px;
    height: 51px;
  }

  .producer-card__count {
    grid-column: 2;
    color: #777269;
    font-size: 11px;
  }

  .producer-card__chevron {
    grid-row: 1 / span 2;
    grid-column: 3;
  }

  .producer-product__open {
    grid-template-columns: 45px minmax(0, 1fr);
  }

  .producer-product__price {
    grid-column: 2;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .favorite-toggle,
  .favorite-toggle path,
  .producer-card__chevron {
    transition: none;
  }
}

/* v66: numeric 1C stock limits in product controls and the cart. */
.cart-item__content > div:first-child .cart-item__stock {
  width: fit-content;
  margin-top: 7px;
  padding: 4px 8px;
  border: 1px solid rgba(73, 142, 85, 0.25);
  border-radius: 999px;
  color: #335f3b;
  background: rgba(220, 240, 219, 0.72);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
}

.cart-stepper button:disabled,
.mini-stepper button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  filter: saturate(0.45);
}

/* v67: company subdivisions, branch-aware checkout and order snapshots. */
.registration-branches__heading {
  margin: 22px 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.registration-branches__heading > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.registration-branches__heading small {
  color: #b99747;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.registration-branches__heading strong {
  color: #fffdfa;
  font-size: 21px;
  line-height: 1.15;
}

.registration-branches__heading em {
  flex: 0 0 auto;
  padding: 5px 8px;
  border: 1px solid rgba(215, 171, 65, 0.32);
  border-radius: 999px;
  color: #d5ae52;
  font-size: 10px;
  font-style: normal;
  font-weight: 850;
}

.registration-branches__note {
  margin: 8px 0 12px;
  color: #aaa59b;
  font-size: 13px;
  line-height: 1.45;
}

.registration-branches {
  display: grid;
  gap: 12px;
}

.registration-branch {
  padding: 15px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(178, 133, 30, 0.3);
  border-radius: 22px;
  color: #171712;
  background:
    radial-gradient(circle at 8% 0, rgba(220, 179, 70, 0.1), transparent 34%),
    linear-gradient(145deg, #fffefa 0%, #f7f2e6 100%);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.17),
    inset 0 1px 0 #fff;
}

.registration-branch__heading {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 9px;
}

.registration-branch__heading > span:first-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.registration-branch__heading small {
  color: #8b6a23;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.registration-branch__heading strong {
  overflow: hidden;
  color: #171712;
  font-size: 16px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.registration-branch__default {
  min-height: 32px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(170, 122, 22, 0.25);
  border-radius: 999px;
  color: #69501a;
  background: rgba(235, 209, 138, 0.35);
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.registration-branch__default input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: #c99423;
}

.registration-branch__remove {
  width: 34px;
  height: 34px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(152, 63, 51, 0.2);
  border-radius: 50%;
  color: #8c443a;
  background: rgba(247, 228, 225, 0.72);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.registration-branch .field-label {
  gap: 6px;
}

.registration-branch .field-label > span {
  color: #676258;
  font-size: 11px;
  font-weight: 750;
}

.registration-form .registration-branch .field-label input {
  min-height: 48px;
  border-color: rgba(39, 35, 25, 0.12);
  color: #171712;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 #fff;
  font-size: 15px;
}

.registration-form .registration-branch .field-label input::placeholder {
  color: #9a958b;
}

.registration-form .registration-branch .field-label input:focus {
  border-color: #c79525;
  box-shadow: 0 0 0 3px rgba(199, 149, 37, 0.14);
}

.registration-branch-add {
  width: 100%;
  min-height: 52px;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px dashed rgba(215, 171, 65, 0.52);
  border-radius: 17px;
  color: #f1d88d;
  background: rgba(215, 171, 65, 0.08);
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.registration-branch-add > span {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #171108;
  background: #d9ac3f;
  font-size: 19px;
  line-height: 1;
}

.profile-branches {
  display: grid;
  gap: 10px;
}

.profile-branches__heading {
  padding: 2px 2px 0;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.profile-branches__heading > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.profile-branches__heading small {
  color: #a8a399;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-branches__heading strong {
  color: #fffdfa;
  font-size: 19px;
}

.profile-branches__heading button {
  padding: 0;
  border: 0;
  color: #d8b454;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
}

.profile-branches__list {
  display: grid;
  gap: 9px;
}

.profile-branch-card,
.checkout-branch-card {
  border: 1px solid rgba(178, 133, 30, 0.3);
  color: #171712;
  background:
    radial-gradient(circle at 8% 0, rgba(220, 179, 70, 0.1), transparent 38%),
    linear-gradient(145deg, #fffefa 0%, #f8f4e9 100%);
  box-shadow:
    0 14px 30px rgba(45, 34, 9, 0.12),
    inset 0 1px 0 #fff;
}

.profile-branch-card {
  padding: 14px;
  display: grid;
  gap: 9px;
  border-radius: 19px;
}

.profile-branch-card.is-default {
  border-color: rgba(178, 133, 30, 0.48);
}

.profile-branch-card > div:first-child {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-branch-card > div:first-child > span:last-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.profile-branch-card__number {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #5e430f;
  background: #edd07d;
  font-size: 10px;
  font-weight: 900;
}

.profile-branch-card strong {
  overflow: hidden;
  color: #171712;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-branch-card small,
.profile-branch-card p {
  color: #6e6a60;
  font-size: 11px;
  line-height: 1.4;
}

.profile-branch-card p {
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid rgba(39, 35, 25, 0.09);
}

.profile-branch-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.branch-badge,
.branch-sync {
  min-height: 24px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 850;
}

.branch-badge {
  color: #63490f;
  background: #f0d88f;
}

.branch-sync {
  margin-left: auto;
  color: #6b5940;
  background: #eee7d8;
}

.branch-sync.is-synced {
  color: #28653a;
  background: #e1f0e4;
}

.checkout-branch-card {
  margin: 14px 0;
  padding: 16px;
  display: grid;
  gap: 13px;
  border-radius: 22px;
}

.checkout-branch-card__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.checkout-branch-card__heading > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.checkout-branch-card__heading small {
  color: #8d6b24;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.checkout-branch-card__heading strong {
  color: #171712;
  font-size: 17px;
}

.checkout-branch-card__heading button {
  padding: 0;
  border: 0;
  color: #8f6818;
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 850;
}

.checkout-branch-card__select > span {
  color: #6e6a60;
}

.checkout-branch-card__select select {
  min-height: 50px;
  border-color: rgba(39, 35, 25, 0.14);
  color: #171712;
  background-color: rgba(255, 255, 255, 0.86);
}

.checkout-branch-card__details {
  display: grid;
}

.checkout-branch-card__details > div,
.order-customer-card > div:not(.detail-card__heading) {
  padding: 10px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(39, 35, 25, 0.09);
}

.checkout-branch-card__details span,
.order-customer-card > div > span {
  flex: 0 0 auto;
  color: #777166;
  font-size: 11px;
}

.checkout-branch-card__details strong,
.order-customer-card > div > strong {
  min-width: 0;
  color: #171712;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: right;
}

@media (max-width: 430px) {
  .registration-branch .registration-form__columns {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .registration-branch__heading {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .registration-branch__default {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: start;
  }

  .registration-branch__remove {
    grid-row: 1;
    grid-column: 2;
  }
}

/* v68: a true full-width workspace for Telegram Desktop and browsers. */
@media (min-width: 768px) {
  :root {
    --shop-width: 100%;
    --desktop-rail-width: clamp(92px, 8.5vw, 108px);
    --desktop-gutter: clamp(20px, 3vw, 58px);
  }

  body.shop-open,
  .shop-app {
    width: 100%;
    max-width: none;
  }

  .shop-app {
    margin: 0;
  }

  .shop-header,
  .shop-app.is-root-route .shop-header {
    right: 0;
    left: 0;
    width: 100%;
    max-width: none;
    min-height: 74px;
    padding: 10px var(--desktop-gutter);
    transform: none !important;
  }

  .shop-header {
    grid-template-columns: 46px minmax(260px, 1fr) auto 46px 46px;
    gap: 10px;
  }

  .shop-app.is-root-route .shop-header {
    grid-template-columns: minmax(280px, 1fr) auto 46px 46px;
    grid-template-areas: "brand warehouse profile cart";
  }

  .shop-brand {
    max-width: 390px;
  }

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

  .shop-view,
  .shop-app.is-product-route .shop-view,
  .shop-app.has-floating-cart .shop-view {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-top: calc(92px + var(--shop-telegram-top));
    padding-right: var(--desktop-gutter);
    padding-bottom: 56px;
    padding-left: calc(var(--desktop-rail-width) + var(--desktop-gutter));
  }

  .shop-app.is-auth-route .shop-view,
  .shop-app.is-age-route .shop-view {
    padding-right: var(--desktop-gutter);
    padding-left: var(--desktop-gutter);
  }

  .shop-nav {
    top: calc(var(--shop-telegram-top) + 74px);
    right: auto;
    bottom: 0;
    left: 0;
    width: var(--desktop-rail-width);
    max-width: none;
    height: auto;
    min-height: 0;
    padding: 18px 10px;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: minmax(72px, auto);
    gap: 9px;
    align-content: start;
    transform: none;
    border-top: 0;
    border-right: 1px solid rgba(220, 180, 76, 0.13);
    background: rgba(8, 9, 8, 0.985);
    box-shadow: 14px 0 34px rgba(0, 0, 0, 0.2);
  }

  .shop-nav:not([hidden]),
  .shop-nav.is-layer-stable {
    transform: none !important;
    will-change: auto;
  }

  .shop-nav::before {
    background: rgba(8, 9, 8, 0.985);
    -webkit-mask-image: none;
    mask-image: none;
    filter: none;
  }

  .shop-nav::after {
    display: none;
  }

  .shop-nav button {
    width: 100%;
    min-height: 72px;
    padding: 9px 6px;
    gap: 5px;
  }

  .shop-nav button small {
    font-size: 10px;
  }

  .shop-nav button.is-active {
    transform: none;
  }

  .shop-nav button:hover {
    border-color: rgba(225, 184, 76, 0.2);
    color: #ead487;
    background: rgba(48, 41, 23, 0.72);
  }

  .floating-cart {
    right: var(--desktop-gutter);
    bottom: 26px;
    left: auto;
    width: min(430px, calc(100% - var(--desktop-rail-width) - 2 * var(--desktop-gutter)));
    transform: none !important;
  }

  .product-detail-bar {
    right: 0;
    left: var(--desktop-rail-width);
    width: auto;
    max-width: none;
    padding-right: var(--desktop-gutter);
    padding-left: var(--desktop-gutter);
    transform: none !important;
  }

  .sticky-category-label {
    right: 0;
    left: var(--desktop-rail-width);
    width: auto;
    max-width: none;
    transform: none !important;
  }

  .catalog-screen,
  .cart-screen,
  .orders-screen,
  .profile-screen,
  .order-detail,
  .producers-screen,
  .favorites-screen {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
  }

  .shop-app.is-root-route .catalog-intro > div {
    align-items: flex-start;
  }

  .shop-app.is-root-route .catalog-intro .eyebrow {
    text-align: left;
  }

  .shop-app.is-root-route .catalog-intro .section-title-row {
    justify-content: flex-start;
  }

  .catalog-search {
    max-width: none;
    grid-template-columns: minmax(0, 1fr) 58px;
  }

  .category-strip {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .category-strip .filter-row {
    padding-right: 58px;
    padding-left: 58px;
  }

  .promo-card {
    flex-basis: clamp(240px, 30vw, 330px);
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
    align-items: stretch;
  }

  .product-card {
    width: 100%;
    height: 278px;
    min-height: 278px;
    grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  }

  .product-card__body {
    padding: 17px 16px 15px;
  }

  .orders-list,
  .producer-list,
  .profile-branches__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
  }

  .order-card,
  .producer-card,
  .profile-branch-card {
    height: 100%;
  }

  .cart-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(430px, 1fr));
    gap: 16px;
  }

  .cart-item {
    height: 100%;
    margin: 0;
  }

  .profile-screen {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px 20px;
    align-items: start;
  }

  .profile-hero,
  .profile-status,
  .profile-details,
  .profile-branches {
    grid-column: 1 / -1;
  }

  .profile-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .profile-screen > .settings-row,
  .profile-screen > .support-details {
    width: 100%;
    margin: 0;
  }

  .registration-screen,
  .registration-form {
    width: 100%;
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
  }

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

  .product-detail {
    width: min(100%, 1440px);
    max-width: none;
    margin: 0 auto;
    display: block;
  }

  .product-detail__media,
  .product-detail__body {
    min-width: 0;
  }
}

@media (min-width: 1000px) {
  .profile-screen {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-details {
    padding-right: 18px;
    padding-left: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
  }

  .profile-details > div:nth-child(odd) {
    padding-right: 18px;
    border-right: 1px solid rgba(39, 35, 25, 0.09);
  }

  .profile-details > div:nth-child(even) {
    padding-left: 18px;
  }

  .profile-details > div strong {
    max-width: 68%;
  }
}

@media (min-width: 1100px) {
  .product-detail {
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(430px, 1.1fr);
    gap: clamp(24px, 3vw, 48px);
    align-items: start;
  }
}

/* v77: a dedicated desktop storefront; the mobile Mini App remains unchanged. */
.desktop-catalog-sidebar,
.desktop-breadcrumb {
  display: none;
}

.shop-nav .desktop-nav-only {
  display: none !important;
}

@media (min-width: 900px) {
  html.platform-desktop {
    --desktop-store-header: 82px;
    --desktop-store-menu: 58px;
    --desktop-store-gutter: clamp(24px, 3.4vw, 68px);
    --desktop-store-width: 1720px;
  }

  html.platform-desktop body.shop-open {
    background: #f4f1e9;
  }

  html.platform-desktop .shop-app:not(.is-auth-route):not(.is-age-route) {
    min-height: 100svh;
    background:
      linear-gradient(90deg, rgba(183, 139, 36, 0.045) 1px, transparent 1px) 0 0 / 72px 72px,
      #f4f1e9;
  }

  html.platform-desktop .shop-header,
  html.platform-desktop .shop-app.is-root-route .shop-header {
    top: var(--shop-telegram-top);
    right: 0;
    left: 0;
    width: 100%;
    min-height: var(--desktop-store-header);
    padding: 12px var(--desktop-store-gutter);
    grid-template-columns: 48px minmax(260px, 1fr) auto auto 50px;
    grid-template-areas: "back brand warehouse profile cart";
    gap: 12px;
    transform: none !important;
    border-bottom: 1px solid rgba(231, 194, 102, 0.13);
    background:
      radial-gradient(circle at 18% -120%, rgba(220, 173, 59, 0.16), transparent 42%),
      rgba(8, 10, 9, 0.985);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  html.platform-desktop .shop-app.is-root-route .shop-header {
    grid-template-columns: minmax(320px, 1fr) auto auto 50px;
    grid-template-areas: "brand warehouse profile cart";
  }

  html.platform-desktop .shop-brand {
    width: fit-content;
    max-width: 440px;
    gap: 13px;
  }

  html.platform-desktop .shop-brand img {
    width: 52px;
    height: 52px;
  }

  html.platform-desktop .shop-brand strong {
    font-size: 24px;
    letter-spacing: 0.065em;
  }

  html.platform-desktop .shop-brand small {
    margin-top: 2px;
    color: #a9a69d;
    font-size: 11px;
    letter-spacing: 0.015em;
  }

  html.platform-desktop .shop-icon-button,
  html.platform-desktop .warehouse-pill,
  html.platform-desktop .telegram-return-button {
    height: 48px;
    border-radius: 15px;
  }

  html.platform-desktop .shop-icon-button {
    width: 48px;
  }

  html.platform-desktop .shop-cart-button.is-active {
    border-color: rgba(225, 183, 72, 0.72);
    color: #171308;
    background: linear-gradient(145deg, #f4d66e, #c99728);
    box-shadow: 0 10px 24px rgba(210, 163, 47, 0.24);
  }

  html.platform-desktop .shop-cart-button.is-active svg {
    stroke: #171308;
  }

  html.platform-desktop .warehouse-pill {
    min-width: 126px;
    padding: 0 17px;
    justify-content: center;
    border-color: rgba(220, 178, 73, 0.27);
    color: #f0d27d;
    background: rgba(218, 171, 60, 0.08);
    font-size: 12px;
  }

  html.platform-desktop .telegram-return-button {
    min-width: 154px;
  }

  html.platform-desktop .shop-nav {
    z-index: 39;
    top: calc(var(--shop-telegram-top) + var(--desktop-store-header));
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    max-width: none;
    height: var(--desktop-store-menu);
    min-height: var(--desktop-store-menu);
    padding: 0 var(--desktop-store-gutter);
    display: flex !important;
    grid-template-columns: none;
    grid-auto-rows: auto;
    gap: 5px;
    align-items: center;
    align-content: center;
    transform: none !important;
    border: 0;
    border-bottom: 1px solid rgba(40, 36, 25, 0.1);
    background: rgba(255, 253, 247, 0.985);
    box-shadow: 0 10px 28px rgba(47, 37, 14, 0.09);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  html.platform-desktop .shop-nav::before,
  html.platform-desktop .shop-nav::after {
    display: none;
  }

  html.platform-desktop .shop-nav .desktop-nav-only {
    display: inline-flex !important;
  }

  html.platform-desktop .shop-nav button {
    position: relative;
    width: auto;
    min-width: 0;
    min-height: 42px;
    height: 42px;
    padding: 0 16px;
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 12px;
    color: #5f5b51;
    background: transparent;
  }

  html.platform-desktop .shop-nav button > span,
  html.platform-desktop .shop-nav button > span svg {
    width: 20px;
    height: 20px;
    font-size: 18px;
  }

  html.platform-desktop .shop-nav button small {
    color: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.01em;
  }

  html.platform-desktop .shop-nav button::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: -8px;
    left: 14px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: transparent;
  }

  html.platform-desktop .shop-nav button:hover {
    border-color: transparent;
    color: #332b1b;
    background: rgba(205, 157, 44, 0.09);
  }

  html.platform-desktop .shop-nav button.is-active {
    color: #1c180f;
    background: linear-gradient(145deg, rgba(239, 210, 124, 0.62), rgba(211, 162, 51, 0.27));
    box-shadow: inset 0 0 0 1px rgba(174, 122, 20, 0.22);
    transform: none;
  }

  html.platform-desktop .shop-nav button.is-active::after {
    background: #ad7918;
  }

  html.platform-desktop .shop-nav button[data-route="cart"] {
    display: none;
  }

  html.platform-desktop .shop-view,
  html.platform-desktop .shop-app.is-product-route .shop-view,
  html.platform-desktop .shop-app.has-floating-cart .shop-view {
    width: 100%;
    max-width: none;
    min-height: 100svh;
    margin: 0;
    padding:
      calc(var(--shop-telegram-top) + var(--desktop-store-header) + var(--desktop-store-menu) + 30px)
      var(--desktop-store-gutter)
      72px;
  }

  html.platform-desktop .shop-view > .screen-section {
    width: min(100%, var(--desktop-store-width));
    max-width: var(--desktop-store-width);
    margin-right: auto;
    margin-left: auto;
  }

  html.platform-desktop .shop-app.is-auth-route .shop-view,
  html.platform-desktop .shop-app.is-age-route .shop-view {
    padding-top: calc(var(--shop-telegram-top) + 32px);
  }

  html.platform-desktop .sticky-category-label {
    top: calc(var(--shop-telegram-top) + var(--desktop-store-header) + var(--desktop-store-menu));
    right: var(--desktop-store-gutter);
    left: var(--desktop-store-gutter);
    width: auto;
    max-width: var(--desktop-store-width);
    margin: 0 auto;
    transform: none !important;
    border-radius: 0 0 14px 14px;
  }

  html.platform-desktop .floating-cart {
    right: var(--desktop-store-gutter);
    bottom: 30px;
    left: auto;
    width: min(420px, calc(100% - 2 * var(--desktop-store-gutter)));
    transform: none !important;
  }

  html.platform-desktop .product-detail-bar {
    right: 0;
    left: 0;
    width: 100%;
    max-width: none;
    padding-right: var(--desktop-store-gutter);
    padding-left: var(--desktop-store-gutter);
    transform: none !important;
  }

  html.platform-desktop .desktop-breadcrumb {
    grid-column: 1 / -1;
    min-width: 0;
    margin-bottom: 2px;
    display: flex;
    gap: 9px;
    align-items: center;
    color: #837d70;
    font-size: 12px;
    white-space: nowrap;
  }

  html.platform-desktop .desktop-breadcrumb button {
    padding: 0;
    border: 0;
    color: #936913;
    background: transparent;
    font-weight: 800;
    cursor: pointer;
  }

  html.platform-desktop .desktop-breadcrumb small,
  html.platform-desktop .desktop-breadcrumb strong {
    min-width: 0;
    overflow: hidden;
    color: inherit;
    font-size: inherit;
    text-overflow: ellipsis;
  }

  html.platform-desktop .desktop-breadcrumb strong {
    color: #413c32;
  }

  html.platform-desktop .catalog-screen {
    display: block;
  }

  html.platform-desktop .catalog-intro {
    min-height: 156px;
    padding: 28px 34px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(225, 184, 76, 0.2);
    border-radius: 28px;
    color: #f8f3e7;
    background:
      radial-gradient(circle at 78% 18%, rgba(229, 185, 73, 0.18), transparent 25%),
      radial-gradient(circle at 96% 110%, rgba(166, 117, 23, 0.2), transparent 35%),
      linear-gradient(135deg, #10120f 0%, #171810 55%, #0b0d0b 100%);
    box-shadow: 0 20px 42px rgba(41, 33, 13, 0.17);
  }

  html.platform-desktop .shop-app.is-root-route .catalog-intro > div {
    width: 100%;
    align-items: flex-start;
  }

  html.platform-desktop .shop-app.is-root-route .catalog-intro .eyebrow {
    align-self: flex-start;
    color: #d9ae45;
    text-align: left;
  }

  html.platform-desktop .shop-app.is-root-route .catalog-intro .section-title-row {
    width: auto;
    align-self: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  html.platform-desktop .shop-app.is-root-route .catalog-intro h1 {
    color: #fffaf0;
    font-size: clamp(44px, 4vw, 66px);
    text-align: left;
  }

  html.platform-desktop .shop-app.is-root-route .catalog-intro p {
    align-self: flex-start;
    color: #aaa79e;
    font-size: 13px;
    text-align: left;
  }

  html.platform-desktop .catalog-search {
    margin-top: 20px;
    grid-template-columns: minmax(0, 1fr);
  }

  html.platform-desktop .catalog-search > label {
    height: 62px;
    border-radius: 16px;
    border-color: rgba(157, 112, 22, 0.25);
    background: #fffefa;
    box-shadow: 0 12px 28px rgba(58, 44, 13, 0.1);
  }

  html.platform-desktop .catalog-search input {
    font-size: 17px;
  }

  html.platform-desktop .catalog-search > .filter-button,
  html.platform-desktop .category-strip,
  html.platform-desktop .catalog-inline-filters {
    display: none !important;
  }

  html.platform-desktop .catalog-search-suggestions {
    width: 100%;
    max-width: none;
    border-radius: 18px;
  }

  html.platform-desktop .desktop-catalog-storefront {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: clamp(20px, 2vw, 32px);
    align-items: start;
  }

  html.platform-desktop .desktop-catalog-sidebar {
    position: sticky;
    top: calc(var(--shop-telegram-top) + var(--desktop-store-header) + var(--desktop-store-menu) + 20px);
    max-height: calc(100svh - var(--shop-telegram-top) - var(--desktop-store-header) - var(--desktop-store-menu) - 40px);
    display: grid;
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(75, 63, 34, 0.12);
    border-radius: 22px;
    color: #242018;
    background: #fffdfa;
    box-shadow: 0 16px 38px rgba(59, 44, 12, 0.1);
    scrollbar-color: rgba(166, 119, 24, 0.45) transparent;
    scrollbar-width: thin;
  }

  html.platform-desktop .desktop-catalog-sidebar__heading,
  html.platform-desktop .desktop-catalog-filters__heading {
    padding: 18px 18px 14px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
  }

  html.platform-desktop .desktop-catalog-sidebar__heading span,
  html.platform-desktop .desktop-catalog-filters__heading span {
    display: grid;
    gap: 3px;
  }

  html.platform-desktop .desktop-catalog-sidebar__heading small,
  html.platform-desktop .desktop-catalog-filters__heading small {
    color: #9a721b;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
  }

  html.platform-desktop .desktop-catalog-sidebar__heading strong,
  html.platform-desktop .desktop-catalog-filters__heading strong {
    color: #211d15;
    font-size: 17px;
    font-weight: 900;
  }

  html.platform-desktop .desktop-catalog-sidebar__heading b {
    min-width: 36px;
    height: 28px;
    padding: 0 8px;
    display: grid;
    place-items: center;
    border-radius: 99px;
    color: #6e531b;
    background: #f4ead0;
    font-size: 10px;
  }

  html.platform-desktop .desktop-catalog-categories {
    padding: 0 10px 14px;
    display: grid;
    gap: 3px;
  }

  html.platform-desktop .desktop-catalog-categories button {
    width: 100%;
    min-height: 42px;
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    border: 0;
    border-radius: 11px;
    color: #5d584e;
    background: transparent;
    font-size: 12px;
    font-weight: 750;
    text-align: left;
    cursor: pointer;
  }

  html.platform-desktop .desktop-catalog-categories button i {
    color: #aaa395;
    font-size: 18px;
    font-style: normal;
  }

  html.platform-desktop .desktop-catalog-categories button:hover {
    color: #2c261b;
    background: #f6f0e2;
  }

  html.platform-desktop .desktop-catalog-categories button.is-active {
    color: #1d180e;
    background: linear-gradient(145deg, #f3d77c, #dcae44);
    box-shadow: 0 7px 16px rgba(123, 84, 14, 0.17);
  }

  html.platform-desktop .desktop-catalog-categories .desktop-producers-link {
    margin-top: 6px;
    border: 1px solid rgba(165, 116, 18, 0.2);
    color: #8a6417;
    background: #fff9e9;
  }

  html.platform-desktop .desktop-catalog-filters {
    padding: 0 14px 16px;
    display: grid;
    gap: 12px;
    border-top: 1px solid rgba(54, 46, 29, 0.09);
  }

  html.platform-desktop .desktop-catalog-filters__heading {
    margin: 0 -4px;
    padding-right: 4px;
    padding-left: 4px;
  }

  html.platform-desktop .desktop-catalog-filters__heading button {
    padding: 5px 0;
    border: 0;
    color: #90691b;
    background: transparent;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
  }

  html.platform-desktop .desktop-catalog-filters__heading button:disabled {
    color: #bcb6a9;
    cursor: default;
  }

  html.platform-desktop .desktop-catalog-filters > label {
    display: grid;
    gap: 6px;
  }

  html.platform-desktop .desktop-catalog-filters > label > span {
    color: #756f63;
    font-size: 10px;
    font-weight: 800;
  }

  html.platform-desktop .desktop-catalog-filters select {
    width: 100%;
    height: 42px;
    padding: 0 11px;
    border: 1px solid rgba(67, 58, 38, 0.13);
    border-radius: 11px;
    outline: 0;
    color: #29251d;
    background: #f8f5ed;
    font-size: 12px;
  }

  html.platform-desktop .desktop-catalog-filters select:focus {
    border-color: rgba(168, 119, 22, 0.55);
    box-shadow: 0 0 0 3px rgba(209, 163, 54, 0.11);
  }

  html.platform-desktop .desktop-catalog-filters__switches {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  html.platform-desktop .desktop-catalog-filters__switches label {
    min-height: 40px;
    padding: 0 9px;
    display: flex;
    gap: 7px;
    align-items: center;
    border: 1px solid rgba(67, 58, 38, 0.12);
    border-radius: 10px;
    color: #5e584d;
    background: #faf7f0;
    font-size: 10px;
    font-weight: 800;
    cursor: pointer;
  }

  html.platform-desktop .desktop-catalog-filters__switches input {
    accent-color: #b98520;
  }

  html.platform-desktop .desktop-catalog-sidebar__note {
    padding: 14px;
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: #e8dcbf;
    background: #171712;
  }

  html.platform-desktop .desktop-catalog-sidebar__note > i {
    width: 8px;
    height: 8px;
    margin-top: 4px;
    border-radius: 50%;
    background: #63c77f;
    box-shadow: 0 0 10px rgba(83, 201, 115, 0.65);
  }

  html.platform-desktop .desktop-catalog-sidebar__note span {
    min-width: 0;
    display: grid;
    gap: 3px;
  }

  html.platform-desktop .desktop-catalog-sidebar__note strong {
    color: #f2e6c7;
    font-size: 11px;
  }

  html.platform-desktop .desktop-catalog-sidebar__note small {
    color: #918a7a;
    font-size: 9px;
    line-height: 1.4;
  }

  html.platform-desktop .desktop-catalog-products {
    min-width: 0;
  }

  html.platform-desktop .active-filter-summary {
    border-radius: 16px;
  }

  html.platform-desktop .promo-section {
    margin-top: 0;
    border-radius: 22px;
  }

  html.platform-desktop .catalog-toolbar {
    margin-top: 0;
    padding: 4px 2px 14px;
  }

  html.platform-desktop .catalog-toolbar p {
    color: #4c473d;
  }

  html.platform-desktop .product-grid,
  html.platform-desktop .favorites-screen .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 18px;
    align-items: start;
  }

  html.platform-desktop .product-card {
    --product-art-column: 100%;
    width: 100%;
    height: auto;
    min-height: 500px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 240px minmax(260px, auto);
    align-self: start;
    overflow: hidden;
    border-radius: 23px;
    box-shadow: 0 15px 34px rgba(39, 31, 10, 0.19);
  }

  html.platform-desktop .product-card__open {
    grid-row: 1;
    grid-column: 1;
    width: 100%;
    height: 240px;
    min-height: 240px;
  }

  html.platform-desktop .product-card[class*="product-card--seam-"] .product-card__body {
    grid-row: 2;
    grid-column: 1;
    width: 100%;
    height: auto;
    min-height: 260px;
    padding: 17px 16px 16px;
    overflow: visible;
  }

  html.platform-desktop .product-card > .favorite-toggle--card {
    top: 12px;
    right: auto;
    left: 12px;
  }

  html.platform-desktop .product-card[class*="product-card--seam-"] .product-card__open > .product-badges {
    top: 12px;
    right: 12px;
    left: 62px;
  }

  html.platform-desktop .product-card__producer {
    min-height: 15px;
    font-size: 10px;
  }

  html.platform-desktop .product-card__title {
    font-size: 18px;
    line-height: 1.16;
  }

  html.platform-desktop .product-card__purchase {
    margin-top: auto;
  }

  html.platform-desktop .product-card__action {
    margin-top: 10px;
  }

  html.platform-desktop .page-heading,
  html.platform-desktop .orders-screen .page-heading,
  html.platform-desktop .cart-screen .page-heading,
  html.platform-desktop .producers-heading,
  html.platform-desktop .favorites-heading {
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  html.platform-desktop .page-heading .section-title-row,
  html.platform-desktop .producers-heading .section-title-row,
  html.platform-desktop .favorites-heading .section-title-row {
    justify-content: flex-start;
  }

  html.platform-desktop .page-heading > p,
  html.platform-desktop .producers-heading p,
  html.platform-desktop .favorites-heading p {
    margin-right: 0;
    margin-left: 0;
    text-align: left;
  }

  html.platform-desktop .orders-screen .page-heading h1,
  html.platform-desktop .cart-screen .page-heading h1,
  html.platform-desktop .producers-heading h1,
  html.platform-desktop .favorites-heading h1,
  html.platform-desktop .profile-hero h1,
  html.platform-desktop .order-detail__heading h1 {
    color: #211e17;
  }

  html.platform-desktop .orders-screen .page-heading > p,
  html.platform-desktop .cart-screen .page-heading > p,
  html.platform-desktop .producers-heading p,
  html.platform-desktop .favorites-heading p,
  html.platform-desktop .profile-hero p {
    color: #716b60;
  }

  html.platform-desktop .orders-screen,
  html.platform-desktop .producers-screen,
  html.platform-desktop .favorites-screen,
  html.platform-desktop .profile-screen,
  html.platform-desktop .cart-screen,
  html.platform-desktop .order-detail {
    gap: 22px;
  }

  html.platform-desktop .orders-list,
  html.platform-desktop .producer-list {
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 18px;
  }

  html.platform-desktop .order-card,
  html.platform-desktop .producer-card {
    border-radius: 20px;
  }

  html.platform-desktop .producer-search > label {
    min-height: 62px;
    border-radius: 16px;
  }

  html.platform-desktop .cart-screen:not(.cart-screen--empty) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 410px);
    gap: 18px 28px;
    align-items: start;
  }

  html.platform-desktop .cart-screen:not(.cart-screen--empty) > .page-heading {
    grid-column: 1 / -1;
  }

  html.platform-desktop .cart-screen:not(.cart-screen--empty) > .cart-list {
    grid-row: 2 / span 6;
    grid-column: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  html.platform-desktop .cart-screen:not(.cart-screen--empty) > .checkout-branch-card,
  html.platform-desktop .cart-screen:not(.cart-screen--empty) > .field-label,
  html.platform-desktop .cart-screen:not(.cart-screen--empty) > .checkout-profile-warning,
  html.platform-desktop .cart-screen:not(.cart-screen--empty) > .order-summary {
    grid-column: 2;
    margin: 0;
  }

  html.platform-desktop .cart-screen:not(.cart-screen--empty) > .order-summary {
    position: sticky;
    top: calc(var(--shop-telegram-top) + var(--desktop-store-header) + var(--desktop-store-menu) + 20px);
    border-radius: 20px;
    box-shadow: 0 17px 36px rgba(53, 39, 9, 0.15);
  }

  html.platform-desktop .cart-item {
    min-height: 150px;
    border-radius: 20px;
  }

  html.platform-desktop .cart-item .product-art {
    width: 142px;
    min-width: 142px;
  }

  html.platform-desktop .profile-screen {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
  }

  html.platform-desktop .profile-hero {
    grid-row: 1;
    grid-column: 1 / span 4;
  }

  html.platform-desktop .profile-status {
    grid-row: 2;
    grid-column: 1 / span 4;
  }

  html.platform-desktop .profile-details {
    grid-column: 5 / -1;
    grid-row: 1 / span 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html.platform-desktop .profile-branches {
    grid-column: 1 / -1;
  }

  html.platform-desktop .profile-screen > .settings-row,
  html.platform-desktop .profile-screen > .support-details {
    grid-column: span 4;
    height: 100%;
    min-height: 84px;
  }

  html.platform-desktop .profile-screen > .profile-logout {
    grid-column: 1 / -1;
  }

  html.platform-desktop .profile-branches__list {
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  }

  html.platform-desktop .product-detail {
    width: min(100%, 1480px);
    max-width: 1480px;
    display: grid;
    grid-template-columns: minmax(380px, 0.92fr) minmax(480px, 1.08fr);
    gap: 24px clamp(28px, 3vw, 52px);
    align-items: start;
  }

  html.platform-desktop .product-detail__media {
    position: sticky;
    top: calc(var(--shop-telegram-top) + var(--desktop-store-header) + var(--desktop-store-menu) + 20px);
  }

  html.platform-desktop .product-detail__body {
    border: 1px solid rgba(65, 55, 33, 0.11);
    border-radius: 26px;
    background: #fffefa;
    box-shadow: 0 18px 42px rgba(55, 42, 13, 0.11);
  }

  html.platform-desktop .order-detail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
  }

  html.platform-desktop .order-detail > .desktop-breadcrumb,
  html.platform-desktop .order-detail > .order-detail__heading,
  html.platform-desktop .order-detail > .order-progress,
  html.platform-desktop .order-detail > .secondary-action {
    grid-column: 1 / -1;
  }

  html.platform-desktop .order-detail > .detail-card {
    height: 100%;
    margin: 0;
    border-radius: 20px;
  }

  html.platform-desktop .empty-state--large {
    min-height: 420px;
    border-radius: 28px;
  }
}

@media (min-width: 1500px) {
  html.platform-desktop .desktop-catalog-storefront {
    grid-template-columns: 286px minmax(0, 1fr);
  }

  html.platform-desktop .product-grid,
  html.platform-desktop .favorites-screen .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
  }
}

/* v76: pinned Marovar assortment and live producer search. */
.producer-search {
  width: 100%;
}

.producer-search > label {
  position: relative;
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(173, 130, 31, 0.32);
  border-radius: 17px;
  color: #211e17;
  background: rgba(255, 254, 250, 0.98);
  box-shadow:
    0 10px 24px rgba(77, 55, 12, 0.11),
    inset 0 1px 0 #ffffff;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.producer-search > label:focus-within {
  border-color: rgba(166, 119, 24, 0.72);
  box-shadow:
    0 12px 28px rgba(90, 61, 8, 0.15),
    0 0 0 3px rgba(201, 159, 58, 0.12),
    inset 0 1px 0 #ffffff;
}

.producer-search__icon {
  position: relative;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  margin-left: 16px;
  color: #9a721b;
  font-size: 0;
}

.producer-search__icon::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 2px;
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.producer-search__icon::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 17px;
  width: 10px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left center;
}

.producer-search input {
  width: 100%;
  min-width: 0;
  height: 54px;
  padding: 0 10px;
  border: 0;
  outline: 0;
  color: #211e17;
  background: transparent;
  font: inherit;
  font-size: 16px;
  caret-color: #d8aa35;
  -webkit-appearance: none;
  appearance: none;
}

.producer-search input::placeholder {
  color: #8a8477;
  opacity: 1;
  transition: opacity 110ms ease, color 110ms ease;
}

.producer-search input:focus::placeholder {
  color: transparent;
  opacity: 0;
}

.producer-search input::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
  appearance: none;
}

.producer-search button[data-action="clear-producer-search"] {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  margin-right: 5px;
  padding: 0 0 2px;
  border: 0;
  border-radius: 50%;
  color: #7c7465;
  background: transparent;
  font-size: 31px;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
}

.producer-search button[data-action="clear-producer-search"][hidden] {
  display: none !important;
}

.producer-search button[data-action="clear-producer-search"]:active {
  color: #5f430d;
  background: rgba(219, 176, 67, 0.2);
  transform: scale(0.94);
}

.producer-card.is-pinned {
  border-color: rgba(185, 132, 25, 0.5);
  background:
    radial-gradient(circle at 12% 0, rgba(225, 184, 76, 0.2), transparent 42%),
    linear-gradient(145deg, #fffefa 0%, #f8f0d9 100%);
}

.producer-card.is-pinned .producer-avatar {
  color: #f7d36c;
  background: linear-gradient(145deg, #34301f, #10110e);
}

.producer-search-empty {
  min-height: 260px;
}

@media (max-width: 370px) {
  .producer-search > label {
    min-height: 52px;
    border-radius: 15px;
  }

  .producer-search input {
    height: 50px;
    font-size: 15px;
  }

  .producer-search__icon {
    margin-left: 13px;
  }

  .producer-search button[data-action="clear-producer-search"] {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
  }
}

/* v69: keep favorites on the artwork and let desktop cards fit their content. */
.product-card {
  --product-art-column: 53%;
}

.product-card > .favorite-toggle--card {
  right: auto;
  left: calc(var(--product-art-column) - 53px);
}

.product-card[class*="product-card--seam-"] .product-card__open > .product-badges {
  width: calc(100% - 74px);
  max-width: calc(100% - 74px);
}

@media (max-width: 360px) {
  .product-card {
    --product-art-column: 52%;
  }
}

@media (min-width: 768px) {
  .product-grid {
    align-items: start;
  }

  .product-card {
    --product-art-column: 48%;
    height: auto;
    min-height: 320px;
    grid-template-rows: minmax(320px, auto);
    align-self: start;
  }

  .product-card[class*="product-card--seam-"] .product-card__body {
    height: auto;
    min-height: 320px;
    overflow: visible;
  }

  .producer-list {
    align-items: start;
  }

  .producer-card {
    height: auto;
    align-self: start;
  }
}

/* v70: favorite control sits in the upper-left corner of the product artwork. */
.product-card > .favorite-toggle--card {
  top: 11px;
  right: auto;
  left: 11px;
}

.product-card[class*="product-card--seam-"] .product-card__open > .product-badges {
  top: 11px;
  right: 11px;
  left: 64px;
  width: auto;
  max-width: none;
}

/* v71: wide desktop order headings align with the content column. */
@media (min-width: 1440px) {
  .orders-screen .page-heading {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .orders-screen .page-heading .eyebrow,
  .orders-screen .page-heading .section-title-row,
  .orders-screen .page-heading h1 {
    text-align: left;
  }

  .orders-screen .page-heading .section-title-row {
    justify-content: flex-start;
  }

  .orders-screen .page-heading > p {
    max-width: 460px;
    margin-right: 0;
    margin-left: 0;
    text-align: left;
  }
}

/* v72: wide desktop cart alignment and simplified catalog navigation. */
@media (min-width: 1440px) {
  .cart-screen .page-heading {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .cart-screen .page-heading > div {
    align-items: flex-start;
  }

  .cart-screen .page-heading .section-title-row {
    justify-content: flex-start;
  }

  .cart-screen .page-heading > p {
    margin-right: 0;
    margin-left: 0;
    text-align: left;
  }

  .cart-screen .page-heading .cart-clear {
    align-self: flex-start;
  }

  .shop-app.is-root-route .catalog-intro .eyebrow {
    align-self: center;
    text-align: center;
  }

  .category-scroll-control {
    display: none;
  }

  .category-strip .filter-row {
    padding-right: 0;
    padding-left: 0;
  }
}

/* v73: align the sticky category on wide screens and center mobile favorites. */
@media (min-width: 1440px) {
  .sticky-category-label {
    right: var(--desktop-gutter);
    left: calc(var(--desktop-rail-width) + var(--desktop-gutter));
    width: auto;
    max-width: none;
    transform: none !important;
  }
}

@media (max-width: 767px) {
  .favorites-screen .favorites-heading,
  .favorites-screen .favorites-heading > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .favorites-screen .favorites-heading .eyebrow,
  .favorites-screen .favorites-heading .section-title-row,
  .favorites-screen .favorites-heading p {
    width: 100%;
    text-align: center;
  }

  .favorites-screen .favorites-heading .section-title-row {
    justify-content: center;
  }

  .favorites-screen .favorites-heading p {
    margin-right: auto;
    margin-left: auto;
  }
}

/* v74: durable Telegram authorization recovery on desktop and mobile. */
.auth-context-error {
  width: 100%;
  margin-top: 13px;
  padding: 14px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  border: 1px solid rgba(224, 184, 77, 0.42);
  border-radius: 17px;
  color: #eee6d2;
  background:
    radial-gradient(circle at 8% 0%, rgba(225, 181, 65, 0.18), transparent 46%),
    linear-gradient(145deg, #211b10, #13130f);
  box-shadow: inset 0 1px 0 rgba(255, 239, 182, 0.07);
  text-align: left;
}

.auth-context-error > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #1a1307;
  background: linear-gradient(145deg, #efd273, #bd8828);
  font-size: 20px;
  font-weight: 950;
}

.auth-context-error > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.auth-context-error strong {
  color: #fff1c7;
  font-size: 14px;
  line-height: 1.3;
}

.auth-context-error p,
.auth-context-error small {
  margin: 0;
  line-height: 1.45;
}

.auth-context-error p {
  color: #d1c5aa;
  font-size: 12px;
}

.auth-context-error small {
  color: #9f9787;
  font-size: 11px;
}

.auth-context-close {
  align-self: center;
  margin-top: 10px;
  padding: 8px 13px;
  color: #d9bf79;
  background: transparent;
  font-size: 12px;
  font-weight: 800;
}

.auth-context-error + .auth-context-close + .auth-warehouse {
  margin-top: 15px;
}

/* v75: desktop return-to-Telegram control and native Mini App minimization. */
.telegram-return-button {
  grid-area: profile;
}

.telegram-return-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.telegram-return-button__label {
  display: none;
}

@media (max-width: 767px) {
  .shop-header .telegram-return-button {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .shop-header .telegram-return-button:not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .telegram-return-button {
    width: 46px;
    height: 46px;
    border-color: rgba(212, 170, 86, 0.2);
    color: #e5c66f;
    background: rgba(212, 170, 86, 0.07);
  }

  .telegram-return-button:hover {
    border-color: rgba(230, 196, 104, 0.42);
    background: rgba(212, 170, 86, 0.13);
  }
}

@media (min-width: 1100px) {
  .shop-header,
  .shop-app.is-root-route .shop-header {
    grid-template-columns: 46px minmax(260px, 1fr) auto minmax(156px, auto) 46px;
    grid-template-areas: "back brand warehouse profile cart";
  }

  .shop-app.is-root-route .shop-header {
    grid-template-columns: minmax(280px, 1fr) auto minmax(156px, auto) 46px;
    grid-template-areas: "brand warehouse profile cart";
  }

  .telegram-return-button {
    width: auto;
    min-width: 156px;
    padding: 0 14px;
    gap: 8px;
    border-radius: 14px;
  }

  .telegram-return-button__label {
    display: inline;
    font-size: 11px !important;
    font-weight: 800;
    line-height: 1.2 !important;
    white-space: nowrap;
  }
}

/* v78: polished desktop storefront and product page; mobile Mini App is untouched. */
.desktop-store-only {
  display: none !important;
}

@media (min-width: 900px) {
  html.platform-desktop {
    --desktop-store-header: 96px;
    --desktop-store-menu: 74px;
    --desktop-store-gutter: clamp(28px, 4vw, 78px);
    --desktop-store-width: 1760px;
  }

  html.platform-desktop .desktop-store-only {
    display: block !important;
  }

  html.platform-desktop h1 > .desktop-store-only {
    display: inline !important;
  }

  html.platform-desktop .catalog-title-mobile {
    display: none;
  }

  html.platform-desktop .shop-header,
  html.platform-desktop .shop-app.is-root-route .shop-header {
    min-height: var(--desktop-store-header);
    padding-top: 16px;
    padding-right: max(var(--desktop-store-gutter), calc((100vw - var(--desktop-store-width)) / 2));
    padding-bottom: 16px;
    padding-left: max(var(--desktop-store-gutter), calc((100vw - var(--desktop-store-width)) / 2));
    grid-template-columns: 58px minmax(300px, 1fr) auto auto 58px;
    grid-template-areas: "back brand warehouse profile cart";
    gap: 16px;
    align-items: center;
    border-bottom-color: rgba(232, 192, 84, 0.2);
    background:
      radial-gradient(circle at 18% -160%, rgba(225, 181, 67, 0.23), transparent 48%),
      linear-gradient(100deg, #17170f 0%, #0c0f0d 52%, #090b0a 100%);
  }

  html.platform-desktop .shop-app.is-root-route .shop-header {
    grid-template-columns: minmax(340px, 1fr) auto auto 58px;
    grid-template-areas: "brand warehouse profile cart";
  }

  html.platform-desktop .shop-brand {
    max-width: 520px;
    gap: 16px;
  }

  html.platform-desktop .shop-brand img {
    width: 62px;
    height: 62px;
  }

  html.platform-desktop .shop-brand strong {
    color: #e2bd59;
    font-size: 30px;
    line-height: 1;
    letter-spacing: 0.055em;
  }

  html.platform-desktop .shop-brand small {
    margin-top: 5px;
    color: #c0baab;
    font-size: 13px;
    font-weight: 650;
  }

  html.platform-desktop .shop-icon-button,
  html.platform-desktop .warehouse-pill,
  html.platform-desktop .telegram-return-button {
    height: 56px;
    min-height: 56px;
    border-radius: 16px;
  }

  html.platform-desktop .shop-icon-button {
    width: 56px;
  }

  html.platform-desktop .shop-back > span {
    font-size: 35px;
  }

  html.platform-desktop .warehouse-pill {
    min-width: 148px;
    padding: 0 21px;
    font-size: 14px;
    font-weight: 800;
  }

  html.platform-desktop .telegram-return-button {
    min-width: 192px;
    padding: 0 20px;
    gap: 10px;
  }

  html.platform-desktop .telegram-return-button__label {
    font-size: 13px !important;
  }

  html.platform-desktop .shop-cart-button svg {
    width: 28px;
    height: 28px;
  }

  html.platform-desktop .shop-nav {
    height: var(--desktop-store-menu);
    min-height: var(--desktop-store-menu);
    padding-right: max(var(--desktop-store-gutter), calc((100vw - var(--desktop-store-width)) / 2));
    padding-left: max(var(--desktop-store-gutter), calc((100vw - var(--desktop-store-width)) / 2));
    gap: 12px;
    justify-content: center;
    overflow: visible;
    border-bottom-color: rgba(104, 81, 29, 0.14);
    background: rgba(255, 254, 249, 0.985);
    box-shadow: 0 12px 30px rgba(45, 34, 10, 0.11);
  }

  html.platform-desktop .shop-nav button {
    flex: 0 0 auto;
    min-width: 158px;
    min-height: 54px;
    height: 54px;
    padding: 0 24px;
    gap: 11px;
    border: 1px solid transparent;
    border-radius: 15px;
    color: #4f4a40;
    background: transparent;
    box-shadow: none;
    transform: none !important;
    transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
  }

  html.platform-desktop .shop-nav button:hover {
    border-color: rgba(176, 128, 25, 0.16);
    color: #231f16;
    background: #f6f0df;
    transform: none !important;
  }

  html.platform-desktop .shop-nav button:active {
    transform: none !important;
  }

  html.platform-desktop .shop-nav button.is-active {
    border-color: rgba(158, 110, 17, 0.26);
    color: #1c180f;
    background: linear-gradient(145deg, #f4d77e, #d9a83a);
    box-shadow: 0 8px 18px rgba(150, 102, 13, 0.18);
  }

  html.platform-desktop .shop-nav button::after {
    display: none;
  }

  html.platform-desktop .shop-nav button > span,
  html.platform-desktop .shop-nav button > span svg {
    width: 25px;
    height: 25px;
    font-size: 23px;
  }

  html.platform-desktop .shop-nav button small {
    font-size: 15px;
    font-weight: 850;
    letter-spacing: 0;
  }

  html.platform-desktop .shop-view,
  html.platform-desktop .shop-app.is-product-route .shop-view,
  html.platform-desktop .shop-app.has-floating-cart .shop-view {
    padding-top: calc(var(--shop-telegram-top) + var(--desktop-store-header) + var(--desktop-store-menu) + 36px);
    padding-bottom: 84px;
  }

  html.platform-desktop .sticky-category-label {
    display: none !important;
  }

  html.platform-desktop .catalog-intro {
    position: relative;
    isolation: isolate;
    min-height: 224px;
    padding: 38px 180px;
    overflow: hidden;
    justify-content: center;
    border: 1px solid rgba(171, 123, 24, 0.22);
    border-radius: 30px;
    color: #211d15;
    background:
      radial-gradient(circle at 50% 115%, rgba(226, 186, 82, 0.18), transparent 42%),
      linear-gradient(135deg, #fffefa 0%, #f7f0de 100%);
    box-shadow: 0 18px 44px rgba(54, 40, 10, 0.12);
  }

  html.platform-desktop .catalog-intro::before,
  html.platform-desktop .catalog-intro::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -150px;
    bottom: -150px;
    width: 128px;
    opacity: 0.24;
    background: url("./assets/gold-chain.svg") center 16% / 88px auto repeat-y;
    pointer-events: none;
  }

  html.platform-desktop .catalog-intro::before {
    left: 38px;
  }

  html.platform-desktop .catalog-intro::after {
    right: 38px;
    transform: scaleX(-1);
  }

  html.platform-desktop .shop-app.is-root-route .catalog-intro > div {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  html.platform-desktop .shop-app.is-root-route .catalog-intro .catalog-intro__eyebrow {
    width: auto;
    min-height: 0;
    margin: 0 0 8px;
    padding: 0;
    align-self: center;
    border: 0;
    border-radius: 0;
    color: #a87513;
    background: transparent;
    box-shadow: none;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-align: center;
  }

  html.platform-desktop .catalog-intro .section-title-row {
    width: 100%;
    justify-content: center !important;
    text-align: center !important;
  }

  html.platform-desktop .catalog-intro .section-title-icon {
    display: none;
  }

  html.platform-desktop .shop-app.is-root-route .catalog-intro h1 {
    color: #17140e;
    font-size: clamp(48px, 4vw, 68px);
    line-height: 1.03;
    letter-spacing: -0.045em;
    text-align: center;
  }

  html.platform-desktop .shop-app.is-root-route .catalog-intro p {
    margin-top: 12px;
    align-self: center;
    color: #726b5e;
    font-size: 15px;
    font-weight: 650;
    text-align: center;
  }

  html.platform-desktop .catalog-search {
    margin-top: 24px;
  }

  html.platform-desktop .catalog-search > label {
    height: 70px;
    border-width: 1px;
    border-radius: 19px;
    box-shadow: 0 14px 32px rgba(58, 44, 13, 0.12);
  }

  html.platform-desktop .catalog-search > label > span {
    font-size: 32px;
  }

  html.platform-desktop .catalog-search input {
    font-size: 18px;
    font-weight: 600;
  }

  html.platform-desktop .desktop-catalog-storefront {
    margin-top: 30px;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 32px;
  }

  html.platform-desktop .desktop-catalog-sidebar {
    top: calc(var(--shop-telegram-top) + var(--desktop-store-header) + var(--desktop-store-menu) + 24px);
    max-height: calc(100svh - var(--shop-telegram-top) - var(--desktop-store-header) - var(--desktop-store-menu) - 48px);
    border-radius: 26px;
    box-shadow: 0 18px 42px rgba(54, 40, 10, 0.12);
  }

  html.platform-desktop .desktop-catalog-sidebar__heading,
  html.platform-desktop .desktop-catalog-filters__heading {
    padding: 25px 24px 19px;
  }

  html.platform-desktop .desktop-catalog-sidebar__heading small,
  html.platform-desktop .desktop-catalog-filters__heading small {
    font-size: 11px;
  }

  html.platform-desktop .desktop-catalog-sidebar__heading strong,
  html.platform-desktop .desktop-catalog-filters__heading strong {
    font-size: 21px;
  }

  html.platform-desktop .desktop-catalog-sidebar__heading b {
    min-width: 46px;
    height: 34px;
    font-size: 12px;
  }

  html.platform-desktop .desktop-catalog-categories {
    padding: 0 14px 20px;
    gap: 6px;
  }

  html.platform-desktop .desktop-catalog-categories button {
    min-height: 54px;
    padding: 0 16px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 780;
  }

  html.platform-desktop .desktop-catalog-categories button i {
    font-size: 22px;
  }

  html.platform-desktop .desktop-catalog-filters {
    padding: 0 19px 21px;
    gap: 15px;
  }

  html.platform-desktop .desktop-catalog-filters__heading button,
  html.platform-desktop .desktop-catalog-filters > label > span,
  html.platform-desktop .desktop-catalog-filters__switches label {
    font-size: 12px;
  }

  html.platform-desktop .desktop-catalog-filters select {
    height: 48px;
    padding: 0 14px;
    border-radius: 13px;
    font-size: 14px;
  }

  html.platform-desktop .desktop-catalog-sidebar__note {
    padding: 18px 20px;
  }

  html.platform-desktop .desktop-catalog-sidebar__note strong {
    font-size: 13px;
  }

  html.platform-desktop .desktop-catalog-sidebar__note small {
    font-size: 11px;
  }

  html.platform-desktop .active-category-badge {
    width: 100%;
    max-width: none;
    min-height: 112px;
    margin: 0 0 24px;
    padding: 22px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(171, 123, 24, 0.2);
    border-radius: 22px;
    color: #211d15;
    background:
      radial-gradient(circle at 95% 0, rgba(221, 178, 69, 0.16), transparent 42%),
      #fffefa;
    box-shadow: 0 13px 30px rgba(56, 42, 10, 0.1);
    filter: none;
    -webkit-clip-path: none;
    clip-path: none;
  }

  html.platform-desktop .active-category-badge::after {
    display: none;
  }

  html.platform-desktop .active-category-badge > div {
    min-width: 0;
    display: grid;
    gap: 3px;
  }

  html.platform-desktop .active-category-badge small {
    color: #a87513;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  html.platform-desktop .active-category-badge strong {
    max-width: 100%;
    overflow: visible;
    color: #1d1912;
    font-size: clamp(26px, 2.1vw, 36px);
    line-height: 1.15;
    letter-spacing: -0.025em;
    text-overflow: clip;
    white-space: normal;
  }

  html.platform-desktop .active-category-badge__meta {
    margin-top: 5px;
    color: #756e61;
    font-size: 13px;
    font-weight: 650;
  }

  html.platform-desktop .active-category-badge > button {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(158, 110, 17, 0.22);
    border-radius: 50%;
    color: #6f5218;
    background: #f8efd7;
    font-size: 28px;
    cursor: pointer;
  }

  html.platform-desktop .product-grid,
  html.platform-desktop .favorites-screen .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
  }

  html.platform-desktop .product-card {
    min-height: 660px;
    grid-template-rows: 290px minmax(370px, auto);
    overflow: hidden;
    border: 1px solid rgba(70, 57, 29, 0.13);
    border-radius: 26px;
    color: #211e17;
    background: #fffefa;
    box-shadow: 0 17px 38px rgba(45, 34, 10, 0.13);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  }

  html.platform-desktop .product-card:hover {
    border-color: rgba(171, 123, 24, 0.28);
    box-shadow: 0 23px 48px rgba(45, 34, 10, 0.18);
    transform: translateY(-3px);
  }

  html.platform-desktop .product-card__open {
    height: 290px;
    min-height: 290px;
    overflow: hidden;
    -webkit-clip-path: none !important;
    clip-path: none !important;
    background:
      radial-gradient(circle at 50% 42%, rgba(224, 183, 77, 0.17), transparent 52%),
      #f4f0e6;
  }

  html.platform-desktop .product-card__open .product-art {
    -webkit-clip-path: none !important;
    clip-path: none !important;
  }

  html.platform-desktop .product-card__open .product-art__backdrop {
    opacity: 0.18;
    filter: blur(24px) saturate(0.82) brightness(1.05);
  }

  html.platform-desktop .product-card__open .product-art__main {
    box-sizing: border-box;
    padding: 18px 20px;
    object-fit: contain;
  }

  html.platform-desktop .product-card[class*="product-card--seam-"] .product-card__body {
    min-height: 370px;
    padding: 22px 22px 20px;
    color: #211e17;
    background: #fffefa !important;
  }

  html.platform-desktop .product-card__producer {
    min-height: 17px;
    color: #9e7118;
    font-size: 12px;
    letter-spacing: 0.07em;
  }

  html.platform-desktop .product-card__title {
    color: #1c1913;
    font-size: 21px;
    line-height: 1.22;
    letter-spacing: -0.02em;
  }

  html.platform-desktop .product-card__summary {
    margin-top: 8px;
    color: #746e62;
    font-size: 13px;
    line-height: 1.45;
  }

  html.platform-desktop .desktop-product-facts {
    margin: 15px 0 0;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  html.platform-desktop .desktop-product-facts > div {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid rgba(74, 61, 34, 0.09);
    border-radius: 11px;
    background: #f7f3e9;
  }

  html.platform-desktop .desktop-product-facts dt {
    color: #8b8477;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
  }

  html.platform-desktop .desktop-product-facts dd {
    margin: 3px 0 0;
    overflow: hidden;
    color: #302c24;
    font-size: 12px;
    font-weight: 750;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  html.platform-desktop .product-card .availability {
    margin-top: 13px;
    color: #4c6e53;
    font-size: 12px;
  }

  html.platform-desktop .product-card__purchase {
    margin-top: 14px;
    padding-top: 15px;
    border-top: 1px solid rgba(63, 52, 29, 0.1);
  }

  html.platform-desktop .product-card__prices > strong {
    color: #1f1b12;
    font-size: 28px;
  }

  html.platform-desktop .product-card__prices > strong small,
  html.platform-desktop .product-card__prices > span {
    color: #766f62;
  }

  html.platform-desktop .product-card__unit {
    border-color: rgba(145, 102, 17, 0.18);
    color: #352f23;
    background: #faf5e8;
  }

  html.platform-desktop .product-card__action {
    margin-top: 14px;
  }

  html.platform-desktop .product-card .product-add {
    min-height: 52px;
    border-radius: 14px;
    color: #1d1709;
    background: linear-gradient(145deg, #f0d069, #d5a337);
    font-size: 14px;
    font-weight: 900;
  }

  html.platform-desktop .product-card .product-add--in-cart {
    color: #f5dda0;
    background: #1b1912;
  }

  html.platform-desktop .shop-app.is-product-route .shop-view {
    padding-bottom: 84px;
  }

  html.platform-desktop .product-detail {
    width: min(100%, 1580px);
    max-width: 1580px;
    grid-template-columns: minmax(440px, 0.94fr) minmax(520px, 1.06fr);
    gap: 24px clamp(34px, 3.2vw, 60px);
    align-items: start;
    color: #211e17;
    background: transparent !important;
  }

  html.platform-desktop .desktop-breadcrumb {
    min-height: 42px;
    margin-bottom: 0;
    padding: 0 2px;
    color: #777064;
    font-size: 13px;
  }

  html.platform-desktop .desktop-breadcrumb button {
    color: #9c6e13;
    font-size: 13px;
  }

  html.platform-desktop .product-detail__media {
    position: sticky;
    top: calc(var(--shop-telegram-top) + var(--desktop-store-header) + var(--desktop-store-menu) + 26px);
    height: min(66svh, 690px);
    min-height: 560px;
    margin: 0;
    overflow: hidden;
    contain: paint;
    border: 1px solid rgba(80, 65, 32, 0.13);
    border-radius: 30px;
    -webkit-clip-path: none !important;
    clip-path: none !important;
    background:
      radial-gradient(circle at 50% 44%, rgba(222, 180, 72, 0.2), transparent 55%),
      linear-gradient(145deg, #fffefa, #f1ecdf);
    box-shadow: 0 20px 46px rgba(49, 37, 10, 0.14);
  }

  html.platform-desktop .product-detail__media .product-art,
  html.platform-desktop .product-detail__media .product-art--image {
    width: 100%;
    height: 100% !important;
    min-height: 100% !important;
    border-radius: inherit;
    -webkit-clip-path: none !important;
    clip-path: none !important;
    background: transparent;
  }

  html.platform-desktop .product-detail__media .product-art--image.product-art--framed .product-art__backdrop {
    opacity: 0.1 !important;
    filter: blur(34px) saturate(0.78) brightness(1.18) !important;
    transform: scale(1.02) !important;
  }

  html.platform-desktop .product-detail__media .product-art--image.product-art--framed .product-art__main {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 44px !important;
    border-radius: 0;
    object-fit: contain;
    filter: drop-shadow(0 20px 28px rgba(30, 24, 9, 0.2));
    transform: none !important;
  }

  html.platform-desktop .product-detail__body {
    padding: 38px 40px 42px !important;
    overflow: hidden;
    border: 1px solid rgba(70, 57, 29, 0.13);
    border-radius: 30px;
    color: #211e17;
    background: #fffefa !important;
    box-shadow: 0 20px 46px rgba(49, 37, 10, 0.13);
  }

  html.platform-desktop .product-detail__body > .eyebrow {
    width: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    color: #a87513;
    background: transparent;
    box-shadow: none;
    font-size: 13px;
    letter-spacing: 0.12em;
  }

  html.platform-desktop .product-detail h1 {
    max-width: 100%;
    margin-top: 10px;
    color: #1b1812 !important;
    font-size: clamp(34px, 2.45vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.035em;
  }

  html.platform-desktop .desktop-product-purchase {
    margin-top: 26px;
    padding: 24px;
    display: grid !important;
    gap: 15px;
    border: 1px solid rgba(170, 120, 18, 0.2);
    border-radius: 22px;
    color: #211d15;
    background:
      radial-gradient(circle at 96% 0, rgba(225, 182, 71, 0.19), transparent 44%),
      #f8f2e3;
  }

  html.platform-desktop .desktop-product-purchase__top {
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
  }

  html.platform-desktop .desktop-product-purchase__price {
    display: flex;
    gap: 7px;
    align-items: baseline;
  }

  html.platform-desktop .desktop-product-purchase__price strong {
    color: #1d190f;
    font-size: 38px;
    line-height: 1;
    letter-spacing: -0.035em;
  }

  html.platform-desktop .desktop-product-purchase__price small {
    color: #756d5e;
    font-size: 13px;
    font-weight: 750;
  }

  html.platform-desktop .desktop-product-purchase__stock {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    color: #267845;
    font-size: 13px;
    font-weight: 850;
    text-align: right;
  }

  html.platform-desktop .desktop-product-purchase__stock i {
    flex: 0 0 9px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #4cc477;
    box-shadow: 0 0 0 4px rgba(76, 196, 119, 0.13);
  }

  html.platform-desktop .desktop-product-purchase__stock.is-unavailable,
  html.platform-desktop .desktop-product-purchase__stock.is-manager {
    color: #9b4e43;
  }

  html.platform-desktop .desktop-product-purchase__stock.is-unavailable i,
  html.platform-desktop .desktop-product-purchase__stock.is-manager i {
    background: #c66a5e;
    box-shadow: 0 0 0 4px rgba(198, 106, 94, 0.12);
  }

  html.platform-desktop .desktop-product-purchase__box {
    margin: -4px 0 0;
    color: #7a6232;
    font-size: 13px;
    font-weight: 750;
  }

  html.platform-desktop .desktop-product-purchase__unit {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  html.platform-desktop .desktop-product-purchase__unit > span {
    padding: 12px 14px;
    display: grid;
    gap: 4px;
    border: 1px solid rgba(80, 64, 31, 0.1);
    border-radius: 13px;
    background: rgba(255, 254, 250, 0.78);
  }

  html.platform-desktop .desktop-product-purchase__unit small {
    color: #8a8274;
    font-size: 10px;
    font-weight: 750;
  }

  html.platform-desktop .desktop-product-purchase__unit strong {
    color: #2b261d;
    font-size: 14px;
  }

  html.platform-desktop .desktop-product-purchase__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  html.platform-desktop .desktop-product-purchase__actions:has(.mini-stepper) {
    grid-template-columns: minmax(190px, 0.72fr) minmax(220px, 1.28fr);
  }

  html.platform-desktop .desktop-product-purchase__actions .primary-action,
  html.platform-desktop .desktop-product-purchase__cart {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 15px;
    color: #1b1608;
    background: linear-gradient(145deg, #f1d36f, #d3a034);
    box-shadow: 0 10px 24px rgba(150, 102, 13, 0.19);
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
  }

  html.platform-desktop .desktop-product-purchase__actions .mini-stepper {
    min-height: 56px;
    border: 1px solid rgba(151, 105, 18, 0.2);
    border-radius: 15px;
    background: #fffefa;
  }

  html.platform-desktop .desktop-product-purchase__actions .mini-stepper button,
  html.platform-desktop .desktop-product-purchase__actions .mini-stepper span {
    color: #282219;
    font-size: 17px;
  }

  html.platform-desktop .product-about {
    margin-top: 24px;
    padding: 22px 24px;
    border: 1px solid rgba(70, 57, 29, 0.1);
    border-radius: 20px;
    color: #29251d;
    background: #f8f5ec;
  }

  html.platform-desktop .product-about h2 {
    color: #211d16;
    font-size: 20px;
  }

  html.platform-desktop .product-about .product-detail__lead {
    color: #625d53;
    font-size: 15px;
    line-height: 1.65;
  }

  html.platform-desktop .product-specs--detail {
    margin-top: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid rgba(70, 57, 29, 0.11);
    border-radius: 20px;
    background: rgba(70, 57, 29, 0.1);
  }

  html.platform-desktop .product-specs--detail > div {
    min-height: 76px;
    padding: 15px 17px;
    display: grid;
    grid-template-columns: minmax(92px, 0.8fr) minmax(0, 1.2fr);
    gap: 12px;
    align-items: center;
    border: 0;
    color: #28241c;
    background: #fbf9f2;
  }

  html.platform-desktop .product-specs--detail > div::before {
    display: none;
  }

  html.platform-desktop .product-specs--detail dt,
  html.platform-desktop .product-specs--detail dd {
    grid-row: auto;
    color: #2a261e;
  }

  html.platform-desktop .product-specs--detail dt {
    grid-column: 1;
    font-size: 12px;
    font-weight: 700;
  }

  html.platform-desktop .product-specs--detail dd {
    grid-column: 2;
    font-size: 14px;
    font-weight: 800;
    text-align: right;
  }

  html.platform-desktop .product-format-card {
    margin-top: 16px;
    border: 1px solid rgba(70, 57, 29, 0.11);
    color: #29251d;
    background: #f8f5ec;
  }

  html.platform-desktop .product-format-card span {
    color: #7d7669;
  }

  html.platform-desktop .product-format-card strong {
    color: #242018;
  }

  html.platform-desktop .product-detail-bar {
    display: none !important;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  html.platform-desktop .shop-nav {
    gap: 7px;
  }

  html.platform-desktop .shop-nav button {
    min-width: 0;
    padding-right: 17px;
    padding-left: 17px;
  }

  html.platform-desktop .shop-nav button small {
    font-size: 13px;
  }

  html.platform-desktop .catalog-intro {
    padding-right: 130px;
    padding-left: 130px;
  }

  html.platform-desktop .desktop-catalog-storefront {
    grid-template-columns: 292px minmax(0, 1fr);
    gap: 24px;
  }

  html.platform-desktop .product-grid,
  html.platform-desktop .favorites-screen .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  }

  html.platform-desktop .product-detail {
    max-width: 940px;
    grid-template-columns: minmax(0, 1fr);
  }

  html.platform-desktop .product-detail__media {
    position: relative;
    top: auto;
    height: 540px;
    min-height: 540px;
  }
}

/* v80: one rectangular desktop store header, full category navigation and complete card facts. */
@media (min-width: 900px) {
  html.platform-desktop {
    --desktop-store-header: 92px;
    --desktop-store-menu: 0px;
  }

  html.platform-desktop .shop-header,
  html.platform-desktop .shop-app.is-root-route .shop-header {
    box-sizing: border-box;
    width: 100%;
    height: var(--desktop-store-header);
    min-height: var(--desktop-store-header);
    padding-top: 0;
    padding-right: max(var(--desktop-store-gutter), calc((100vw - var(--desktop-store-width)) / 2));
    padding-bottom: 0;
    padding-left: max(var(--desktop-store-gutter), calc((100vw - var(--desktop-store-width)) / 2));
    display: grid;
    grid-template-columns: 50px minmax(172px, 232px) minmax(0, 1fr) auto auto 54px;
    grid-template-areas: "back brand desktop-nav desktop-phone warehouse cart";
    gap: clamp(10px, 1vw, 18px);
    align-items: center;
    overflow: visible;
    border: 0;
    border-bottom: 1px solid rgba(226, 185, 77, 0.22);
    border-radius: 0 !important;
    -webkit-clip-path: none !important;
    clip-path: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    background:
      radial-gradient(circle at 15% -180%, rgba(222, 180, 68, 0.25), transparent 48%),
      linear-gradient(100deg, #17170f 0%, #0c0f0d 55%, #080a09 100%) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  }

  html.platform-desktop .shop-app.is-root-route .shop-header {
    grid-template-columns: minmax(172px, 232px) minmax(0, 1fr) auto auto 54px;
    grid-template-areas: "brand desktop-nav desktop-phone warehouse cart";
  }

  html.platform-desktop .shop-header::after,
  html.platform-desktop .shop-app.is-root-route .shop-header::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    -webkit-clip-path: none !important;
    clip-path: none !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
    background: linear-gradient(90deg, transparent, rgba(229, 189, 82, 0.32), transparent);
    filter: none;
    pointer-events: none;
  }

  html.platform-desktop .shop-brand {
    grid-area: brand;
    width: auto;
    min-width: 0;
    max-width: 232px;
    gap: 12px;
  }

  html.platform-desktop .shop-brand img {
    width: 54px;
    height: 54px;
  }

  html.platform-desktop .shop-brand strong {
    font-size: 25px;
  }

  html.platform-desktop .shop-brand small {
    font-size: 11px;
    white-space: nowrap;
  }

  html.platform-desktop .desktop-header-nav.desktop-store-only {
    grid-area: desktop-nav;
    width: 100%;
    height: 100%;
    min-width: 0;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
  }

  html.platform-desktop .shop-header .desktop-header-nav[hidden] {
    display: none !important;
  }

  html.platform-desktop .desktop-header-nav button {
    position: relative;
    min-width: 0;
    padding: 0 clamp(3px, 0.45vw, 10px);
    overflow: hidden;
    border: 0;
    border-radius: 0;
    color: #d4d0c6;
    background: transparent;
    font-family: inherit;
    font-size: clamp(11px, 0.72vw, 14px);
    font-weight: 780;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    transition: color 150ms ease, background 150ms ease;
  }

  html.platform-desktop .desktop-header-nav button::after {
    content: "";
    position: absolute;
    right: 13px;
    bottom: 0;
    left: 13px;
    height: 3px;
    background: transparent;
  }

  html.platform-desktop .desktop-header-nav button:hover {
    color: #ffffff;
    background: rgba(222, 180, 68, 0.08);
  }

  html.platform-desktop .desktop-header-nav button.is-active {
    color: #edc85f;
    background: linear-gradient(180deg, transparent, rgba(215, 166, 50, 0.1));
  }

  html.platform-desktop .desktop-header-nav button.is-active::after {
    background: #d9aa3e;
  }

  html.platform-desktop .desktop-header-phone.desktop-store-only {
    grid-area: desktop-phone;
    min-width: 150px;
    padding-left: 16px;
    display: grid !important;
    gap: 3px;
    border-left: 1px solid rgba(227, 190, 91, 0.2);
    color: #f3efe4;
    text-decoration: none;
    white-space: nowrap;
  }

  html.platform-desktop .desktop-header-phone small {
    color: #9f9b91;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  html.platform-desktop .desktop-header-phone strong {
    color: #f1d378;
    font-size: 14px;
    font-weight: 850;
  }

  html.platform-desktop .warehouse-pill {
    grid-area: warehouse;
    min-width: 112px;
    height: 50px;
    min-height: 50px;
    padding: 0 16px;
    border-radius: 6px !important;
  }

  html.platform-desktop .shop-cart-button {
    grid-area: cart;
    width: 54px;
    height: 50px;
    min-height: 50px;
    border-radius: 6px !important;
  }

  html.platform-desktop .telegram-return-button,
  html.platform-desktop .shop-nav {
    display: none !important;
  }

  html.platform-desktop .shop-view,
  html.platform-desktop .shop-app.is-product-route .shop-view,
  html.platform-desktop .shop-app.has-floating-cart .shop-view {
    padding-top: calc(var(--shop-telegram-top) + var(--desktop-store-header) + 30px);
  }

  html.platform-desktop .catalog-intro {
    min-height: 182px;
    padding: 30px 48px;
    justify-content: flex-start;
    border-radius: 8px;
  }

  html.platform-desktop .shop-app.is-root-route .catalog-intro > div {
    align-items: flex-start;
    text-align: left;
  }

  html.platform-desktop .shop-app.is-root-route .catalog-intro .catalog-intro__eyebrow {
    align-self: flex-start;
    text-align: left;
  }

  html.platform-desktop .catalog-intro .section-title-row {
    justify-content: flex-start !important;
    text-align: left !important;
  }

  html.platform-desktop .shop-app.is-root-route .catalog-intro h1 {
    font-size: clamp(44px, 3.6vw, 62px);
    text-align: left;
  }

  html.platform-desktop .shop-app.is-root-route .catalog-intro p {
    align-self: flex-start;
    text-align: left;
  }

  html.platform-desktop .catalog-search {
    margin-top: 18px;
  }

  html.platform-desktop .catalog-search > label {
    height: 62px;
    border-radius: 7px;
  }

  html.platform-desktop .catalog-search label > span {
    position: relative;
    width: 28px;
    height: 28px;
    min-width: 28px;
    overflow: hidden;
    color: transparent !important;
    font-size: 0 !important;
  }

  html.platform-desktop .catalog-search label > span::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 2px;
    box-sizing: border-box;
    width: 17px;
    height: 17px;
    border: 2px solid #a97617;
    border-radius: 50%;
    background: transparent;
    transform: none;
  }

  html.platform-desktop .catalog-search label > span::after {
    content: "";
    position: absolute;
    top: 19px;
    left: 17px;
    width: 10px;
    height: 2px;
    border: 0;
    border-radius: 2px;
    background: #a97617;
    transform: rotate(45deg);
    transform-origin: left center;
  }

  html.platform-desktop .category-strip {
    width: 100%;
    margin-top: 16px;
    display: block !important;
  }

  html.platform-desktop .category-strip .category-scroll-control {
    display: none !important;
  }

  html.platform-desktop .category-strip .filter-row {
    width: 100%;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    scroll-snap-type: none;
  }

  html.platform-desktop .category-strip .filter-row > button {
    width: 100%;
    min-width: 0;
    min-height: 60px;
    height: 60px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(89, 73, 39, 0.14);
    border-radius: 6px;
    color: #332e24;
    background: #fffefa;
    box-shadow: 0 7px 18px rgba(50, 38, 12, 0.07);
  }

  html.platform-desktop .category-strip .filter-row > button:hover {
    border-color: rgba(176, 128, 25, 0.34);
    background: #f7f0de;
  }

  html.platform-desktop .category-strip .filter-row > button.is-active {
    border-color: #11130f;
    color: #f3cf67;
    background: #11130f;
    box-shadow: 0 9px 22px rgba(18, 18, 13, 0.2);
  }

  html.platform-desktop .category-strip .category-icon {
    display: none !important;
  }

  html.platform-desktop .category-strip .category-name {
    width: 100%;
    overflow: visible;
    color: inherit;
    font-size: 12px;
    font-weight: 820;
    line-height: 1.25;
    text-align: center;
    text-overflow: clip;
    white-space: normal;
  }

  html.platform-desktop .desktop-catalog-storefront {
    margin-top: 24px;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
  }

  html.platform-desktop .desktop-catalog-sidebar {
    border-radius: 8px;
  }

  html.platform-desktop .desktop-catalog-sidebar > .desktop-catalog-sidebar__heading,
  html.platform-desktop .desktop-catalog-sidebar > .desktop-catalog-categories {
    display: none !important;
  }

  html.platform-desktop .desktop-catalog-filters {
    border-top: 0;
  }

  html.platform-desktop .active-category-badge {
    border-color: #11130f;
    border-radius: 7px;
    color: #ffffff;
    background: #11130f;
    box-shadow: 0 12px 28px rgba(17, 19, 15, 0.18);
  }

  html.platform-desktop .active-category-badge small,
  html.platform-desktop .active-category-badge__meta {
    color: #c7b77f;
  }

  html.platform-desktop .active-category-badge strong {
    color: #ffffff;
  }

  html.platform-desktop .active-category-badge > button {
    border-color: rgba(239, 203, 100, 0.36);
    color: #f0ca60;
    background: rgba(239, 203, 100, 0.09);
  }

  html.platform-desktop .product-card {
    min-height: 790px;
    grid-template-rows: 312px minmax(478px, auto);
    border-radius: 10px;
  }

  html.platform-desktop .product-card[class*="product-card--seam-"] .product-card__body {
    min-height: 478px;
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
  }

  html.platform-desktop .product-card__producer,
  html.platform-desktop .product-card__summary {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }

  html.platform-desktop .product-card__summary {
    min-height: 0;
  }

  html.platform-desktop .desktop-product-facts {
    margin-top: 14px;
    overflow: hidden;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    border: 1px solid rgba(70, 59, 34, 0.12);
    border-radius: 7px;
  }

  html.platform-desktop .desktop-product-facts > div {
    min-width: 0;
    min-height: 38px;
    padding: 8px 10px;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    border: 0;
    border-bottom: 1px solid rgba(70, 59, 34, 0.09);
    border-radius: 0;
    background: #f8f4ea;
  }

  html.platform-desktop .desktop-product-facts > div:last-child {
    border-bottom: 0;
  }

  html.platform-desktop .desktop-product-facts > div:first-child {
    background: #151710;
  }

  html.platform-desktop .desktop-product-facts dt {
    padding-top: 2px;
    color: #857e70;
    font-size: 9px;
    line-height: 1.3;
  }

  html.platform-desktop .desktop-product-facts dd {
    margin: 0;
    overflow: visible;
    color: #2d2921;
    font-size: 12px;
    font-weight: 780;
    line-height: 1.35;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }

  html.platform-desktop .desktop-product-facts > div:first-child dt {
    color: #dcb852;
  }

  html.platform-desktop .desktop-product-facts > div:first-child dd {
    color: #ffffff;
  }

  html.platform-desktop .product-card__purchase {
    margin-top: auto;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  html.platform-desktop {
    --desktop-store-header: 82px;
  }

  html.platform-desktop .shop-header,
  html.platform-desktop .shop-app.is-root-route .shop-header {
    grid-template-columns: 42px 145px minmax(0, 1fr) 116px 88px 46px;
    gap: 7px;
  }

  html.platform-desktop .shop-app.is-root-route .shop-header {
    grid-template-columns: 145px minmax(0, 1fr) 116px 88px 46px;
  }

  html.platform-desktop .shop-brand {
    max-width: 145px;
    gap: 8px;
  }

  html.platform-desktop .shop-brand img {
    width: 44px;
    height: 44px;
  }

  html.platform-desktop .shop-brand strong {
    font-size: 21px;
  }

  html.platform-desktop .shop-brand small {
    display: none;
  }

  html.platform-desktop .desktop-header-nav button {
    padding: 0 5px;
    font-size: 10.5px;
  }

  html.platform-desktop .desktop-header-phone.desktop-store-only {
    min-width: 116px;
    padding-left: 8px;
  }

  html.platform-desktop .desktop-header-phone small {
    display: none;
  }

  html.platform-desktop .desktop-header-phone strong {
    font-size: 11px;
  }

  html.platform-desktop .warehouse-pill {
    min-width: 88px;
    height: 46px;
    min-height: 46px;
    padding: 0 8px;
    font-size: 10px;
  }

  html.platform-desktop .shop-cart-button {
    width: 46px;
    height: 46px;
    min-height: 46px;
  }

  html.platform-desktop .catalog-intro {
    min-height: 164px;
    padding: 26px 32px;
  }

  html.platform-desktop .category-strip .filter-row {
    gap: 5px;
  }

  html.platform-desktop .category-strip .filter-row > button {
    min-height: 68px;
    height: 68px;
    padding: 7px 6px;
  }

  html.platform-desktop .category-strip .category-name {
    font-size: 10px;
  }

  html.platform-desktop .desktop-catalog-storefront {
    grid-template-columns: 246px minmax(0, 1fr);
    gap: 22px;
  }

  html.platform-desktop .product-card {
    min-height: 742px;
    grid-template-rows: 276px minmax(466px, auto);
  }

  html.platform-desktop .product-card[class*="product-card--seam-"] .product-card__body {
    min-height: 466px;
  }
}

@media (min-width: 900px) {
  html.platform-desktop .shop-app.is-root-route .category-strip .filter-row > button {
    box-sizing: border-box;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 60px !important;
    height: 60px !important;
    max-height: 60px;
    margin: 0 !important;
    padding: 8px 12px !important;
    justify-self: stretch !important;
    align-self: stretch !important;
    border: 1px solid rgba(89, 73, 39, 0.14) !important;
    border-radius: 6px !important;
    color: #332e24 !important;
    background: #fffefa !important;
    box-shadow: 0 7px 18px rgba(50, 38, 12, 0.07) !important;
    transform: none !important;
  }

  html.platform-desktop .shop-app.is-root-route .category-strip .filter-row > button.is-active {
    border-color: #11130f !important;
    color: #f3cf67 !important;
    background: #11130f !important;
    box-shadow: 0 9px 22px rgba(18, 18, 13, 0.2) !important;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  html.platform-desktop .desktop-header-phone.desktop-store-only {
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
  }

  html.platform-desktop .shop-app.is-root-route .category-strip .filter-row > button {
    min-height: 68px !important;
    height: 68px !important;
    max-height: 68px;
    padding: 7px 6px !important;
  }
}

/* v79: one coherent full-screen desktop store across every customer route. */
@media (min-width: 900px) {
  html.platform-desktop .shop-caption-mobile {
    display: none;
  }

  html.platform-desktop #shop-header-caption > .desktop-store-only {
    display: inline !important;
  }

  html.platform-desktop .shop-view > .screen-section {
    width: min(100%, var(--desktop-store-width));
    max-width: var(--desktop-store-width);
  }

  html.platform-desktop .desktop-page-header {
    width: 100%;
    margin: 0 0 4px;
    display: grid !important;
    gap: 15px;
  }

  html.platform-desktop .desktop-page-header__breadcrumb {
    width: 100%;
    min-height: 32px;
    padding: 0 3px;
    grid-column: auto;
    color: #746e62;
    font-size: 13px;
  }

  html.platform-desktop .desktop-page-header__breadcrumb button,
  html.platform-desktop .product-detail > .desktop-breadcrumb button,
  html.platform-desktop .order-detail > .desktop-breadcrumb button {
    color: #936711;
    font-size: 13px;
    font-weight: 850;
    transition: color 140ms ease;
  }

  html.platform-desktop .desktop-page-header__breadcrumb button:hover,
  html.platform-desktop .product-detail > .desktop-breadcrumb button:hover,
  html.platform-desktop .order-detail > .desktop-breadcrumb button:hover {
    color: #5d4008;
  }

  html.platform-desktop .desktop-page-header__main {
    position: relative;
    isolation: isolate;
    min-height: 190px;
    padding: 34px 44px;
    display: flex;
    gap: 34px;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    border: 1px solid rgba(167, 119, 21, 0.2);
    border-radius: 28px;
    color: #211e17;
    background:
      radial-gradient(circle at 88% -15%, rgba(222, 180, 72, 0.2), transparent 38%),
      linear-gradient(135deg, #fffefa 0%, #f5edda 100%);
    box-shadow: 0 18px 42px rgba(51, 38, 9, 0.11);
  }

  html.platform-desktop .desktop-page-header__main::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -170px;
    right: 58px;
    bottom: -170px;
    width: 104px;
    opacity: 0.18;
    background: url("./assets/gold-chain.svg") center / 76px auto repeat-y;
    pointer-events: none;
  }

  html.platform-desktop .desktop-page-header__main > div {
    min-width: 0;
  }

  html.platform-desktop .desktop-page-header__main small {
    color: #9f6f11;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }

  html.platform-desktop .desktop-page-header__main h1 {
    margin: 7px 0 0;
    color: #19160f;
    font-size: clamp(42px, 3.25vw, 58px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -0.045em;
  }

  html.platform-desktop .desktop-page-header__main p {
    max-width: 720px;
    margin: 13px 0 0;
    color: #6d6659;
    font-size: 15px;
    font-weight: 620;
    line-height: 1.55;
  }

  html.platform-desktop .desktop-page-header__action {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid rgba(140, 95, 12, 0.24);
    border-radius: 14px;
    color: #2b220f;
    background: rgba(255, 253, 246, 0.84);
    box-shadow: 0 8px 20px rgba(64, 45, 8, 0.1);
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
  }

  html.platform-desktop .desktop-page-header__action:hover {
    background: #ffffff;
  }

  html.platform-desktop .desktop-page-header + .page-heading {
    display: none !important;
  }

  html.platform-desktop .orders-screen,
  html.platform-desktop .producers-screen,
  html.platform-desktop .favorites-screen,
  html.platform-desktop .profile-screen,
  html.platform-desktop .cart-screen,
  html.platform-desktop .order-detail {
    gap: 28px;
  }

  html.platform-desktop .orders-screen > .desktop-page-header,
  html.platform-desktop .producers-screen > .desktop-page-header,
  html.platform-desktop .favorites-screen > .desktop-page-header,
  html.platform-desktop .cart-screen > .desktop-page-header {
    grid-column: 1 / -1;
  }

  html.platform-desktop .producer-search,
  html.platform-desktop .orders-list,
  html.platform-desktop .producer-list,
  html.platform-desktop .favorites-grid {
    margin-top: 0;
  }

  html.platform-desktop .producer-search > label {
    min-height: 68px;
    border-radius: 18px;
  }

  html.platform-desktop .producer-search input {
    height: 66px;
    font-size: 17px;
  }

  html.platform-desktop .producer-list,
  html.platform-desktop .orders-list {
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 22px;
    align-items: start;
  }

  html.platform-desktop .producer-card,
  html.platform-desktop .order-card {
    overflow: hidden;
    border-radius: 22px;
    box-shadow: 0 15px 34px rgba(49, 37, 10, 0.1);
  }

  html.platform-desktop .producer-card__summary {
    min-height: 94px;
    padding: 16px 20px;
  }

  html.platform-desktop .producer-card__name {
    font-size: 17px;
  }

  html.platform-desktop .order-card {
    min-height: 218px;
    padding: 22px;
  }

  html.platform-desktop .order-card__top strong {
    font-size: 19px;
  }

  html.platform-desktop .favorites-screen .product-grid {
    margin-top: 0;
  }

  html.platform-desktop .cart-screen:not(.cart-screen--empty) > .desktop-page-header {
    grid-row: 1;
  }

  html.platform-desktop .cart-screen:not(.cart-screen--empty) > .cart-list {
    grid-row: 2 / span 6;
  }

  html.platform-desktop .cart-screen--empty > .empty-state {
    margin-top: 0;
  }

  html.platform-desktop .cart-item {
    min-height: 172px;
    overflow: hidden;
    border: 1px solid rgba(67, 54, 28, 0.12);
    background: #fffefa;
    box-shadow: 0 13px 30px rgba(47, 35, 9, 0.1);
  }

  html.platform-desktop .cart-item .product-art,
  html.platform-desktop .cart-item .product-art--compact {
    flex-basis: 158px;
    width: 158px;
    min-width: 158px;
    height: 170px;
    min-height: 170px;
    border-radius: 0;
    background: #f4f0e6;
  }

  html.platform-desktop .cart-item .product-art__backdrop,
  html.platform-desktop .cart-item .product-art__ambient {
    display: none !important;
  }

  html.platform-desktop .cart-item .product-art__main {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 12px !important;
    object-fit: contain !important;
    object-position: center;
    transform: none !important;
  }

  html.platform-desktop .profile-screen > .desktop-page-header {
    grid-row: 1;
    grid-column: 1 / -1;
  }

  html.platform-desktop .profile-hero {
    grid-row: 2;
    grid-column: 1 / span 4;
  }

  html.platform-desktop .profile-status {
    grid-row: 3;
    grid-column: 1 / span 4;
  }

  html.platform-desktop .profile-details {
    grid-row: 2 / span 2;
    grid-column: 5 / -1;
  }

  html.platform-desktop .profile-branches {
    grid-row: 4;
    grid-column: 1 / -1;
  }

  html.platform-desktop .profile-hero,
  html.platform-desktop .profile-status,
  html.platform-desktop .profile-details,
  html.platform-desktop .profile-branches,
  html.platform-desktop .profile-screen > .settings-row,
  html.platform-desktop .profile-screen > .support-details {
    border-radius: 22px;
    box-shadow: 0 14px 32px rgba(47, 35, 9, 0.09);
  }

  html.platform-desktop .profile-hero h1 {
    font-size: 27px;
  }

  html.platform-desktop .profile-details > div {
    min-height: 84px;
    padding: 17px 20px;
  }

  html.platform-desktop .profile-screen > .settings-row,
  html.platform-desktop .profile-screen > .support-details {
    min-height: 100px;
  }

  html.platform-desktop .product-grid,
  html.platform-desktop .favorites-screen .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    align-items: stretch;
  }

  html.platform-desktop .product-card {
    height: 100%;
    min-height: 690px;
    grid-template-rows: 312px minmax(378px, auto);
  }

  html.platform-desktop .product-card__open {
    width: 100%;
    height: 312px;
    min-height: 312px;
    border-bottom: 1px solid rgba(70, 57, 29, 0.09);
    background:
      radial-gradient(circle at 50% 42%, rgba(220, 178, 69, 0.12), transparent 54%),
      linear-gradient(145deg, #fffefa, #f0ebdf);
  }

  html.platform-desktop .product-card[class*="product-card--seam-"] .product-card__open,
  html.platform-desktop .product-card[class*="product-card--seam-"] .product-card__open .product-art,
  html.platform-desktop .product-card[class*="product-card--seam-"] .product-card__open .product-art--image,
  html.platform-desktop .product-card[class*="product-card--seam-"] .product-card__open .product-art--image.product-art--framed {
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    border-radius: 0;
    -webkit-clip-path: none !important;
    clip-path: none !important;
    background: transparent;
  }

  html.platform-desktop .product-card .product-art__ambient,
  html.platform-desktop .product-card .product-art__backdrop {
    display: none !important;
  }

  html.platform-desktop .product-card[class*="product-card--seam-"]
    .product-card__open
    .product-art--image.product-art--framed
    .product-art__main {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    padding: 14px 18px !important;
    border: 0;
    border-radius: 0;
    object-fit: contain !important;
    object-position: center;
    filter: drop-shadow(0 14px 22px rgba(42, 32, 10, 0.13));
    transform: none !important;
  }

  html.platform-desktop .product-card[class*="product-card--seam-"] .product-card__body {
    min-height: 378px;
    padding: 23px 23px 21px;
  }

  html.platform-desktop .product-card__title {
    overflow: visible;
    display: block;
    color: #1b1812;
    font-size: 21px;
    line-height: 1.23;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  html.platform-desktop .product-card__summary {
    min-height: 38px;
  }

  html.platform-desktop .product-card__purchase {
    width: 100%;
  }

  html.platform-desktop .product-card .product-add,
  html.platform-desktop .product-card .mini-stepper {
    min-height: 54px;
  }

  html.platform-desktop .product-detail {
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 26px clamp(38px, 3.4vw, 66px);
  }

  html.platform-desktop .product-detail > .desktop-breadcrumb,
  html.platform-desktop .order-detail > .desktop-breadcrumb {
    min-height: 36px;
    padding: 0 3px;
  }

  html.platform-desktop .product-detail > .desktop-breadcrumb button + span,
  html.platform-desktop .product-detail > .desktop-breadcrumb strong,
  html.platform-desktop .order-detail > .desktop-breadcrumb strong {
    color: #756e62;
  }

  html.platform-desktop .product-detail[class*="product-detail--seam-"] .product-detail__media {
    height: clamp(600px, 68svh, 760px);
    min-height: 600px;
    margin: 0;
    background:
      radial-gradient(circle at 50% 46%, rgba(219, 176, 67, 0.12), transparent 57%),
      linear-gradient(145deg, #fffefa, #eee9dd);
  }

  html.platform-desktop .product-detail__media .product-art__ambient,
  html.platform-desktop .product-detail__media .product-art__backdrop {
    display: none !important;
  }

  html.platform-desktop .product-detail__media
    .product-art--image.product-art--framed
    .product-art__main {
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    padding: 32px !important;
    object-fit: contain !important;
    object-position: center;
    filter: drop-shadow(0 18px 30px rgba(44, 33, 10, 0.14));
    transform: none !important;
  }

  html.platform-desktop .product-detail__body {
    align-self: start;
  }

  html.platform-desktop .product-detail h1 {
    font-size: clamp(38px, 2.6vw, 50px);
    overflow-wrap: anywhere;
  }

  html.platform-desktop .product-about,
  html.platform-desktop .product-specs--detail,
  html.platform-desktop .desktop-product-purchase {
    width: 100%;
  }

  html.platform-desktop .order-detail__heading h1 {
    font-size: clamp(38px, 3vw, 52px);
  }
}

@media (min-width: 1680px) {
  html.platform-desktop .desktop-catalog-storefront {
    grid-template-columns: 336px minmax(0, 1fr);
    gap: 36px;
  }

  html.platform-desktop .product-grid,
  html.platform-desktop .favorites-screen .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  html.platform-desktop .desktop-page-header__main {
    min-height: 166px;
    padding: 28px 32px;
  }

  html.platform-desktop .desktop-page-header__main h1 {
    font-size: 42px;
  }

  html.platform-desktop .product-grid,
  html.platform-desktop .favorites-screen .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html.platform-desktop .product-card {
    min-height: 650px;
    grid-template-rows: 276px minmax(374px, auto);
  }

  html.platform-desktop .product-card__open {
    height: 276px;
    min-height: 276px;
  }

  html.platform-desktop .product-detail[class*="product-detail--seam-"] .product-detail__media {
    height: 580px;
    min-height: 580px;
  }
}

/* v80 final sizing overrides intentionally follow the v79 route styles. */
@media (min-width: 900px) {
  html.platform-desktop .product-card {
    min-height: 790px;
    grid-template-rows: 312px minmax(478px, auto);
  }

  html.platform-desktop .product-card[class*="product-card--seam-"] .product-card__body {
    min-height: 478px;
  }

  html.platform-desktop .product-card__summary {
    min-height: 0;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  html.platform-desktop .product-card {
    min-height: 742px;
    grid-template-rows: 276px minmax(466px, auto);
  }

  html.platform-desktop .product-card[class*="product-card--seam-"] .product-card__body {
    min-height: 466px;
  }
}

/* v81: polished light desktop header, visual category tiles and private stock limits. */
.availability-label--desktop {
  display: none;
}

@media (min-width: 900px) {
  html.platform-desktop .shop-header,
  html.platform-desktop .shop-app.is-root-route .shop-header {
    border-bottom-color: rgba(73, 61, 33, 0.13);
    color: #24231e;
    background:
      radial-gradient(circle at 16% -190%, rgba(222, 181, 67, 0.15), transparent 48%),
      linear-gradient(180deg, #ffffff 0%, #fbfaf5 100%) !important;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.95),
      0 12px 34px rgba(51, 43, 24, 0.14);
    backdrop-filter: blur(18px) saturate(1.05);
    -webkit-backdrop-filter: blur(18px) saturate(1.05);
  }

  html.platform-desktop .shop-header::before,
  html.platform-desktop .shop-app.is-root-route .shop-header::before {
    background: #ffffff;
  }

  html.platform-desktop .shop-header::after,
  html.platform-desktop .shop-app.is-root-route .shop-header::after {
    background: linear-gradient(90deg, transparent, rgba(169, 123, 27, 0.3), transparent);
  }

  html.platform-desktop .shop-brand strong {
    color: #a77719;
  }

  html.platform-desktop .shop-brand small {
    color: #777268;
  }

  html.platform-desktop .desktop-header-nav button {
    color: #5c584f;
  }

  html.platform-desktop .desktop-header-nav button:hover {
    color: #171812;
    background: #f7f2e6;
  }

  html.platform-desktop .desktop-header-nav button.is-active {
    color: #171812;
    background: linear-gradient(180deg, rgba(225, 187, 84, 0.02), rgba(225, 187, 84, 0.13));
  }

  html.platform-desktop .desktop-header-nav button.is-active::after {
    background: #bd8a21;
  }

  html.platform-desktop .desktop-header-phone.desktop-store-only {
    border-left-color: rgba(91, 76, 42, 0.15);
    color: #25251f;
  }

  html.platform-desktop .desktop-header-phone small {
    color: #8b867c;
  }

  html.platform-desktop .desktop-header-phone strong {
    color: #8f6514;
  }

  html.platform-desktop .shop-header .shop-icon-button,
  html.platform-desktop .shop-header .warehouse-pill {
    border-color: rgba(92, 74, 35, 0.16);
    color: #25251f;
    background: #f8f6f0;
    box-shadow: inset 0 1px 0 #ffffff;
  }

  html.platform-desktop .shop-header .shop-icon-button:hover,
  html.platform-desktop .shop-header .warehouse-pill:hover {
    border-color: rgba(168, 121, 24, 0.35);
    background: #f2ead8;
  }

  html.platform-desktop .shop-header .shop-cart-button svg {
    stroke: #292a24;
  }

  html.platform-desktop .shop-cart-button b {
    border-color: #ffffff;
  }

  html.platform-desktop .desktop-catalog-sidebar {
    overflow: hidden auto;
    border-color: rgba(226, 186, 79, 0.24);
    border-radius: 12px;
    color: #f6f1e6;
    background:
      radial-gradient(circle at 10% 0%, rgba(214, 171, 62, 0.11), transparent 34%),
      linear-gradient(155deg, #181914 0%, #0d0f0c 100%);
    box-shadow: 0 18px 42px rgba(25, 22, 13, 0.2);
    scrollbar-color: rgba(210, 166, 55, 0.52) transparent;
  }

  html.platform-desktop .desktop-catalog-filters {
    padding: 8px 18px 22px;
    gap: 15px;
    border-top: 0;
    color: #f5f1e8;
    background: transparent;
  }

  html.platform-desktop .desktop-catalog-filters__heading {
    margin: 0;
    padding: 18px 0 10px;
  }

  html.platform-desktop .desktop-catalog-filters__heading small {
    color: #d6aa43;
  }

  html.platform-desktop .desktop-catalog-filters__heading strong {
    color: #ffffff;
    font-size: 23px;
  }

  html.platform-desktop .desktop-catalog-filters__heading button {
    color: #e3bd61;
  }

  html.platform-desktop .desktop-catalog-filters__heading button:disabled {
    color: #66675f;
  }

  html.platform-desktop .desktop-catalog-filters > label {
    gap: 8px;
  }

  html.platform-desktop .desktop-catalog-filters > label > span {
    color: #d6d2c8;
    font-size: 11px;
    letter-spacing: 0.02em;
  }

  html.platform-desktop .desktop-catalog-filters select {
    height: 48px;
    padding: 0 13px;
    border-color: rgba(225, 186, 83, 0.22);
    border-radius: 8px;
    color: #ffffff;
    background: #20221c;
    font-size: 13px;
    color-scheme: dark;
  }

  html.platform-desktop .desktop-catalog-filters select:hover {
    border-color: rgba(225, 186, 83, 0.42);
  }

  html.platform-desktop .desktop-catalog-filters select:focus {
    border-color: #d1a53d;
    box-shadow: 0 0 0 3px rgba(209, 165, 61, 0.15);
  }

  html.platform-desktop .desktop-catalog-filters__switches {
    gap: 9px;
  }

  html.platform-desktop .desktop-catalog-filters__switches label {
    min-height: 46px;
    padding: 0 11px;
    border-color: rgba(225, 186, 83, 0.2);
    border-radius: 8px;
    color: #ece8de;
    background: #20221c;
    font-size: 11px;
  }

  html.platform-desktop .desktop-catalog-filters__switches label:hover {
    border-color: rgba(225, 186, 83, 0.42);
    background: #282a22;
  }

  html.platform-desktop .desktop-catalog-filters__switches input {
    accent-color: #d4a943;
  }

  html.platform-desktop .desktop-catalog-sidebar__note {
    display: none !important;
  }

  html.platform-desktop .shop-app.is-root-route .category-strip .filter-row > button {
    min-height: 132px !important;
    height: 132px !important;
    max-height: 132px;
    padding: 12px 10px 11px !important;
    flex-direction: column;
    gap: 5px;
    border-color: rgba(114, 89, 35, 0.2) !important;
    border-radius: 10px !important;
    color: #25241e !important;
    background:
      radial-gradient(circle at 50% 12%, rgba(229, 191, 89, 0.18), transparent 40%),
      linear-gradient(155deg, #ffffff 0%, #f6f0e1 100%) !important;
    box-shadow:
      0 11px 24px rgba(54, 42, 17, 0.1),
      inset 0 1px 0 #ffffff !important;
  }

  html.platform-desktop .shop-app.is-root-route .category-strip .filter-row > button:hover {
    border-color: rgba(177, 130, 31, 0.48) !important;
    background:
      radial-gradient(circle at 50% 12%, rgba(229, 191, 89, 0.24), transparent 42%),
      linear-gradient(155deg, #ffffff 0%, #f2e6c9 100%) !important;
    transform: translateY(-2px) !important;
  }

  html.platform-desktop .shop-app.is-root-route .category-strip .filter-row > button.is-active {
    border-color: #11130f !important;
    color: #f4cd64 !important;
    background:
      radial-gradient(circle at 50% 6%, rgba(225, 181, 65, 0.18), transparent 40%),
      linear-gradient(155deg, #24251d 0%, #0d0f0c 76%) !important;
    box-shadow:
      0 13px 28px rgba(19, 19, 14, 0.23),
      inset 0 1px 0 rgba(255, 241, 195, 0.14) !important;
  }

  html.platform-desktop .category-strip .category-icon {
    flex-basis: 72px;
    width: 76px;
    height: 72px;
    display: block !important;
  }

  html.platform-desktop .category-strip .category-icon.category-icon--producers,
  html.platform-desktop .category-strip .category-icon.category-icon--all {
    display: grid !important;
  }

  html.platform-desktop .category-strip .category-name,
  html.platform-desktop .category-strip .category-icon--zero-beer + .category-name,
  html.platform-desktop .category-strip .category-icon--soft-drink + .category-name {
    min-height: 0;
    color: inherit;
    font-size: clamp(12px, 0.78vw, 15px);
    font-weight: 860;
    line-height: 1.15;
  }

  html.platform-desktop .catalog-intro::before,
  html.platform-desktop .catalog-intro::after,
  html.platform-desktop .desktop-page-header__main::after {
    display: none !important;
  }

  html.platform-desktop .shop-app::before,
  html.platform-desktop .shop-app::after {
    top: calc(var(--shop-telegram-top) + var(--desktop-store-header) + 18px);
    bottom: 24px;
    width: clamp(42px, 3.2vw, 70px);
    opacity: 0.2;
    filter: none;
    background: url("./assets/gold-chain.svg") top center / 100% auto repeat-y;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 94%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 94%, transparent);
  }

  html.platform-desktop .shop-app::before {
    right: auto;
    left: 6px;
  }

  html.platform-desktop .shop-app::after {
    right: 6px;
    left: auto;
  }

  html.platform-desktop .availability-label--mobile {
    display: none !important;
  }

  html.platform-desktop .availability-label--desktop.desktop-store-only {
    display: inline !important;
  }

  html.platform-desktop .cart-item__stock {
    display: none !important;
  }

  html.platform-desktop .cart-quantity-control {
    display: grid;
    gap: 7px;
  }

  html.platform-desktop .cart-quantity-control__label.desktop-store-only {
    display: block !important;
    color: #777166;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
  }

  html.platform-desktop .cart-stepper {
    min-height: 48px;
    overflow: visible;
    border-color: rgba(80, 65, 32, 0.22);
    border-radius: 9px;
    background: #f7f3e9;
  }

  html.platform-desktop .cart-stepper button {
    width: 48px;
    height: 48px;
    color: #211f18;
    background: #eee4cc;
    font-size: 22px;
    font-weight: 650;
    cursor: pointer;
  }

  html.platform-desktop .cart-stepper button:first-child {
    border-radius: 8px 0 0 8px;
  }

  html.platform-desktop .cart-stepper button:last-child {
    border-radius: 0 8px 8px 0;
  }

  html.platform-desktop .cart-stepper button:hover:not(:disabled) {
    color: #7a5510;
    background: #e5d39f;
  }

  html.platform-desktop .cart-stepper input {
    box-sizing: border-box;
    width: 82px;
    height: 48px;
    border-right: 1px solid rgba(80, 65, 32, 0.17);
    border-left: 1px solid rgba(80, 65, 32, 0.17);
    border-radius: 0;
    color: #171812;
    background: #ffffff;
    font-size: 17px;
    font-weight: 850;
    cursor: text;
  }

  html.platform-desktop .cart-stepper input:focus {
    box-shadow: inset 0 0 0 2px #c7952d;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  html.platform-desktop .shop-app.is-root-route .category-strip .filter-row > button {
    min-height: 116px !important;
    height: 116px !important;
    max-height: 116px;
    padding: 9px 5px 8px !important;
  }

  html.platform-desktop .category-strip .category-icon {
    flex-basis: 60px;
    width: 64px;
    height: 60px;
  }

  html.platform-desktop .category-strip .category-icon--producers svg {
    width: 52px;
    height: 49px;
  }

  html.platform-desktop .category-strip .category-name,
  html.platform-desktop .category-strip .category-icon--zero-beer + .category-name,
  html.platform-desktop .category-strip .category-icon--soft-drink + .category-name {
    font-size: 10.5px;
  }

  html.platform-desktop .desktop-catalog-filters {
    padding-right: 14px;
    padding-left: 14px;
  }
}

/* v82: explicit desktop back navigation, producer directions and stable quantity updates. */
.producer-category-filter {
  width: 100%;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(169, 122, 27, 0.24);
  border-radius: 19px;
  background:
    radial-gradient(circle at 5% 0%, rgba(224, 183, 73, 0.14), transparent 35%),
    linear-gradient(145deg, #fffefa 0%, #f6f0e2 100%);
  box-shadow: 0 12px 28px rgba(51, 39, 12, 0.09);
}

.producer-category-filter__heading {
  margin-bottom: 13px;
  display: grid;
  gap: 5px;
}

.producer-category-filter__heading > div {
  display: grid;
  gap: 3px;
}

.producer-category-filter__heading small {
  color: #9b7019;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.producer-category-filter__heading strong {
  color: #211e17;
  font-size: 18px;
  font-weight: 900;
}

.producer-category-filter__heading p {
  margin: 0;
  color: #746e62;
  font-size: 12px;
  line-height: 1.45;
}

.producer-category-filter__row {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding: 2px 1px 7px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.producer-category-filter__row::-webkit-scrollbar {
  display: none;
}

.producer-category-filter__row > button {
  box-sizing: border-box;
  flex: 0 0 112px;
  min-height: 126px;
  padding: 10px 7px 9px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(107, 83, 33, 0.17);
  border-radius: 14px;
  color: #29271f;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 18px rgba(50, 38, 12, 0.08);
  scroll-snap-align: start;
  cursor: pointer;
}

.producer-category-filter__row > button.is-active {
  border-color: #141610;
  color: #f2ca60;
  background:
    radial-gradient(circle at 50% 4%, rgba(225, 181, 65, 0.18), transparent 42%),
    linear-gradient(155deg, #25261e 0%, #0e100d 78%);
  box-shadow: 0 11px 24px rgba(20, 20, 14, 0.22);
}

.producer-category-filter__row .category-icon {
  flex-basis: 61px;
  width: 66px;
  height: 61px;
}

.producer-category-filter__row .category-icon--producers svg {
  width: 52px;
  height: 49px;
}

.producer-category-filter__copy {
  width: 100%;
  min-width: 0;
  display: grid;
  gap: 3px;
  text-align: center;
}

.producer-category-filter__copy strong {
  display: -webkit-box;
  overflow: hidden;
  color: inherit;
  font-size: 11px;
  font-weight: 880;
  line-height: 1.15;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.producer-category-filter__copy small {
  overflow: hidden;
  color: #817b70;
  font-size: 9px;
  font-weight: 720;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.producer-category-filter__row > button.is-active .producer-category-filter__copy small {
  color: #c4b687;
}

.producer-card__identity {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.producer-card__name {
  display: block;
}

.producer-card__categories {
  min-width: 0;
  overflow: hidden;
  color: #8a806d;
  font-size: 10px;
  font-weight: 720;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* The old ambient pulse restarted after every control update and looked like a flash. */
.product-card::before {
  animation: none !important;
  opacity: 0.42;
  transform: none;
}

@media (min-width: 900px) {
  html.platform-desktop .shop-app:not(.is-root-route) .shop-header:not([hidden]) {
    grid-template-columns: 112px minmax(172px, 232px) minmax(0, 1fr) auto auto 54px;
  }

  html.platform-desktop .shop-header .shop-back:not([hidden]) {
    box-sizing: border-box;
    width: 112px;
    height: 50px;
    padding: 0 15px 0 11px;
    display: flex !important;
    gap: 8px;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    color: #25251f;
  }

  html.platform-desktop .shop-header .shop-back:not([hidden]) > span {
    margin: -2px 0 0;
    color: #25251f !important;
    font-size: 31px;
    font-weight: 350;
    line-height: 1;
  }

  html.platform-desktop .shop-header .shop-back__label.desktop-store-only {
    display: inline !important;
    color: #292821;
    font-size: 13px;
    font-weight: 850;
    line-height: 1;
  }

  html.platform-desktop .desktop-page-header__breadcrumb,
  html.platform-desktop .product-detail > .desktop-breadcrumb,
  html.platform-desktop .order-detail > .desktop-breadcrumb {
    min-height: 42px;
    font-size: 16px;
  }

  html.platform-desktop .desktop-page-header__breadcrumb button,
  html.platform-desktop .product-detail > .desktop-breadcrumb button,
  html.platform-desktop .order-detail > .desktop-breadcrumb button {
    font-size: 16px;
  }

  html.platform-desktop .desktop-page-header__main small {
    font-size: 14px;
  }

  html.platform-desktop .desktop-page-header__main p {
    margin-top: 15px;
    font-size: 18px;
    line-height: 1.5;
  }

  html.platform-desktop .producer-category-filter {
    padding: 22px;
    border-radius: 22px;
  }

  html.platform-desktop .producer-category-filter__heading {
    margin-bottom: 18px;
    display: flex;
    gap: 24px;
    align-items: end;
    justify-content: space-between;
  }

  html.platform-desktop .producer-category-filter__heading small {
    font-size: 11px;
  }

  html.platform-desktop .producer-category-filter__heading strong {
    font-size: 25px;
  }

  html.platform-desktop .producer-category-filter__heading p {
    max-width: 560px;
    font-size: 14px;
    text-align: right;
  }

  html.platform-desktop .producer-category-filter__row {
    display: grid;
    grid-template-columns: repeat(var(--producer-category-count), minmax(0, 1fr));
    gap: 10px;
    overflow: visible;
    padding: 0;
  }

  html.platform-desktop .producer-category-filter__row > button {
    min-width: 0;
    min-height: 132px;
    padding: 11px 8px 10px;
    border-radius: 11px;
  }

  html.platform-desktop .producer-category-filter__row > button:hover {
    border-color: rgba(171, 124, 27, 0.46);
    background: #f4ead3;
  }

  html.platform-desktop .producer-category-filter__row > button.is-active:hover {
    border-color: #141610;
    background:
      radial-gradient(circle at 50% 4%, rgba(225, 181, 65, 0.18), transparent 42%),
      linear-gradient(155deg, #25261e 0%, #0e100d 78%);
  }

  html.platform-desktop .producer-category-filter__row .category-icon {
    flex-basis: 68px;
    width: 72px;
    height: 68px;
  }

  html.platform-desktop .producer-category-filter__copy strong {
    font-size: clamp(11px, 0.72vw, 14px);
  }

  html.platform-desktop .producer-category-filter__copy small {
    font-size: 10px;
  }

  html.platform-desktop .producer-card__summary {
    min-height: 108px;
  }

  html.platform-desktop .producer-card__categories {
    font-size: 12px;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  html.platform-desktop .shop-app:not(.is-root-route) .shop-header:not([hidden]) {
    grid-template-columns: 92px 128px minmax(0, 1fr) 116px 88px 46px;
  }

  html.platform-desktop .shop-header .shop-back:not([hidden]) {
    width: 92px;
    padding-right: 9px;
    padding-left: 7px;
    gap: 5px;
  }

  html.platform-desktop .shop-header .shop-back__label.desktop-store-only {
    font-size: 11px;
  }

  html.platform-desktop .desktop-page-header__main small {
    font-size: 12px;
  }

  html.platform-desktop .desktop-page-header__main p {
    font-size: 16px;
  }

  html.platform-desktop .producer-category-filter {
    padding: 16px;
  }

  html.platform-desktop .producer-category-filter__heading strong {
    font-size: 21px;
  }

  html.platform-desktop .producer-category-filter__heading p {
    max-width: 430px;
    font-size: 12px;
  }

  html.platform-desktop .producer-category-filter__row {
    gap: 6px;
  }

  html.platform-desktop .producer-category-filter__row > button {
    min-height: 116px;
    padding: 8px 4px;
  }

  html.platform-desktop .producer-category-filter__row .category-icon {
    flex-basis: 57px;
    width: 61px;
    height: 57px;
  }

  html.platform-desktop .producer-category-filter__copy strong {
    font-size: 10px;
  }

  html.platform-desktop .producer-category-filter__copy small {
    font-size: 8.5px;
  }
}

/* v83: high-contrast desktop cart line items. */
@media (min-width: 900px) {
  html.platform-desktop .cart-item {
    min-height: 204px;
    padding: 16px;
    gap: 20px;
    border-color: rgba(83, 67, 34, 0.18);
    background:
      radial-gradient(circle at 0% 0%, rgba(221, 180, 70, 0.09), transparent 34%),
      linear-gradient(145deg, #ffffff 0%, #fbf8ef 100%);
    box-shadow:
      0 16px 34px rgba(47, 35, 9, 0.12),
      inset 0 1px 0 #ffffff;
  }

  html.platform-desktop .cart-item .product-art,
  html.platform-desktop .cart-item .product-art--compact {
    flex-basis: 170px;
    width: 170px;
    min-width: 170px;
    height: 170px;
    min-height: 170px;
    overflow: hidden;
    border: 1px solid rgba(87, 69, 31, 0.12);
    border-radius: 12px;
    background: linear-gradient(150deg, #f8f5ed 0%, #ebe4d4 100%);
  }

  html.platform-desktop .cart-item__content {
    gap: 16px;
  }

  html.platform-desktop .cart-item__content > div:first-child {
    padding: 4px 58px 0 0;
    display: grid;
    gap: 6px;
    align-content: start;
  }

  html.platform-desktop .cart-item__content > div:first-child > small {
    color: #8c6416;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.35;
    letter-spacing: 0.025em;
  }

  html.platform-desktop .cart-item__content > div:first-child > h3 {
    margin: 0;
    color: #171812;
    font-size: clamp(20px, 1.28vw, 24px);
    font-weight: 880;
    line-height: 1.18;
    letter-spacing: -0.025em;
  }

  html.platform-desktop .cart-item__content > div:first-child > p:not(.cart-item__stock) {
    margin: 1px 0 0;
    color: #504b41;
    font-size: 14px;
    font-weight: 720;
    line-height: 1.4;
  }

  html.platform-desktop .cart-item__actions {
    min-height: 68px;
    padding-top: 13px;
    gap: 14px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(85, 68, 34, 0.13);
  }

  html.platform-desktop .cart-item__actions > strong {
    min-width: 160px;
    margin-left: auto;
    padding: 9px 13px 10px;
    display: grid;
    gap: 2px;
    justify-items: end;
    border: 1px solid rgba(143, 102, 21, 0.2);
    border-radius: 10px;
    color: #171812;
    background: linear-gradient(145deg, #fbf5e5 0%, #eee0bc 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.05;
  }

  html.platform-desktop .cart-item__actions > strong::before {
    content: "Сумма позиции";
    color: #716854;
    font-size: 9px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.09em;
    text-transform: uppercase;
  }

  html.platform-desktop .cart-item__remove {
    border-color: rgba(127, 36, 29, 0.18);
    box-shadow: 0 8px 18px rgba(78, 20, 16, 0.24);
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  html.platform-desktop .cart-item {
    min-height: 186px;
    padding: 14px;
    gap: 14px;
  }

  html.platform-desktop .cart-item .product-art,
  html.platform-desktop .cart-item .product-art--compact {
    flex-basis: 132px;
    width: 132px;
    min-width: 132px;
    height: 156px;
    min-height: 156px;
  }

  html.platform-desktop .cart-item__content > div:first-child > h3 {
    font-size: 18px;
  }

  html.platform-desktop .cart-item__content > div:first-child > small {
    font-size: 10.5px;
  }

  html.platform-desktop .cart-item__content > div:first-child > p:not(.cart-item__stock) {
    font-size: 12px;
  }

  html.platform-desktop .cart-item__actions {
    gap: 9px;
  }

  html.platform-desktop .cart-item__actions > strong {
    min-width: 124px;
    padding-right: 10px;
    padding-left: 10px;
    font-size: 18px;
  }
}

/* v84: stable cart controls, explicit back navigation, product variants and catalog views. */
.shop-back__label {
  display: inline;
  color: #f4efe1;
  font-size: 11px;
  font-weight: 850;
  line-height: 1;
  white-space: nowrap;
}

.cart-item[data-action="open-cart-product"] {
  transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.cart-item[data-action="open-cart-product"]:active {
  transform: none !important;
}

.cart-item .product-art,
.cart-item .product-art--compact {
  flex-shrink: 0;
}

.cart-item,
.cart-item__content,
.cart-item__actions,
.cart-stepper {
  min-width: 0;
}

.cart-stepper input,
.cart-item__actions > strong,
[data-cart-summary="count"],
[data-cart-summary="total"] {
  font-variant-numeric: tabular-nums;
}

.cart-item__actions > strong {
  box-sizing: border-box;
  flex: 0 0 96px;
  width: 96px;
  min-width: 96px;
  text-align: right;
}

.catalog-toolbar {
  min-width: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}

.catalog-toolbar > p {
  margin: 0;
}

.catalog-view-switch {
  box-sizing: border-box;
  flex: 0 0 auto;
  padding: 3px;
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  border: 1px solid rgba(222, 181, 73, 0.24);
  border-radius: 12px;
  background: rgba(20, 20, 16, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.catalog-view-switch > button {
  min-width: 82px;
  min-height: 36px;
  padding: 0 9px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9px;
  color: #aaa69c;
  background: transparent;
  font-size: 10px;
  cursor: pointer;
}

.catalog-view-switch > button.is-active {
  color: #1b170d;
  background: linear-gradient(145deg, #f0ce66, #c99527);
  box-shadow: 0 5px 13px rgba(126, 82, 9, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.catalog-view-switch > button strong {
  font: inherit;
  font-weight: 850;
}

.catalog-view-switch__grid {
  width: 15px;
  height: 15px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.catalog-view-switch__grid i {
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.catalog-view-switch__list {
  width: 16px;
  height: 14px;
  display: grid;
  gap: 2px;
  align-content: center;
}

.catalog-view-switch__list i {
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.product-card__options {
  min-width: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 7px;
}

.product-option-group {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.product-option-group > small {
  color: #a79d87;
  font-size: 8px;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.product-option-switch {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.product-option-switch > button {
  box-sizing: border-box;
  flex: 1 1 68px;
  min-width: 0;
  min-height: 31px;
  padding: 5px 6px;
  display: grid;
  gap: 1px;
  place-content: center;
  border: 1px solid rgba(222, 181, 73, 0.25);
  border-radius: 8px;
  color: #d4cdbd;
  background: rgba(244, 208, 104, 0.045);
  line-height: 1.08;
  text-align: center;
  cursor: pointer;
}

.product-option-switch > button strong {
  overflow-wrap: anywhere;
  font-size: 9px;
  font-weight: 880;
}

.product-option-switch > button span {
  overflow-wrap: anywhere;
  color: #8f8a7f;
  font-size: 7.5px;
  font-weight: 650;
}

.product-option-switch > button.is-active {
  border-color: #e3b84d;
  color: #1b170d;
  background: linear-gradient(145deg, #f0ce68, #c79326);
  box-shadow: 0 5px 12px rgba(130, 83, 9, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.product-option-switch > button.is-active span {
  color: #5a4318;
}

.product-card__options--detail {
  margin: 14px 0 4px;
}

.producer-card__summary {
  height: auto;
}

.producer-card__identity,
.producer-card__name {
  min-width: 0;
  overflow: visible;
}

.producer-card__name {
  display: block;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.producer-card__categories {
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (max-width: 899px) {
  .shop-header:not([hidden]) {
    grid-template-columns: 82px minmax(44px, 1fr) auto 48px;
    grid-template-areas: "back brand warehouse cart";
  }

  .shop-app.is-root-route .shop-header:not([hidden]) {
    grid-template-columns: minmax(104px, 1fr) auto 48px;
    grid-template-areas: "brand warehouse cart";
  }

  .shop-header .shop-back:not([hidden]) {
    box-sizing: border-box;
    width: 82px;
    height: 44px;
    padding: 0 9px;
    display: inline-flex !important;
    gap: 5px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
  }

  .shop-header .shop-back:not([hidden]) > span {
    margin: -1px 0 0;
    font-size: 21px;
    font-weight: 650;
  }

  .shop-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 4px;
  }

  .shop-nav button {
    padding-right: 2px;
    padding-left: 2px;
  }

  .shop-nav button small {
    font-size: 8.5px;
  }

  .product-card.has-product-options,
  .product-card.has-product-options[class*="product-card--seam-"] .product-card__body {
    min-height: 390px;
  }

  .product-grid.is-list-view {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .product-grid.is-list-view .product-card {
    --product-art-column: 35%;
    min-height: 232px;
    grid-template-columns: minmax(0, 35%) minmax(0, 65%);
    grid-template-rows: minmax(232px, auto);
    border-radius: 17px;
  }

  .product-grid.is-list-view .product-card.has-product-options {
    min-height: 314px;
    grid-template-rows: minmax(314px, auto);
  }

  .product-grid.is-list-view .product-card[class*="product-card--seam-"] .product-card__open,
  .product-grid.is-list-view .product-card[class*="product-card--seam-"] .product-card__open .product-art,
  .product-grid.is-list-view .product-card[class*="product-card--seam-"] .product-card__open .product-art--image {
    min-height: 100%;
    border-radius: 17px 0 0 17px;
  }

  .product-grid.is-list-view .product-card[class*="product-card--seam-"] .product-card__body {
    min-height: 232px;
    padding: 10px 9px 9px;
    border-radius: 0 17px 17px 0;
  }

  .product-grid.is-list-view .product-card.has-product-options[class*="product-card--seam-"] .product-card__body {
    min-height: 314px;
  }

  .product-grid.is-list-view .product-card__producer {
    font-size: 8.5px;
  }

  .product-grid.is-list-view .product-card h3,
  .product-grid.is-list-view .product-card__title {
    margin-top: 3px;
    font-size: 14px;
    line-height: 1.13;
  }

  .product-grid.is-list-view .product-card__summary {
    display: none;
  }

  .product-grid.is-list-view .product-card .availability {
    margin-top: 5px;
    font-size: 10px;
  }

  .product-grid.is-list-view .product-card__options {
    margin-top: 6px;
    gap: 5px;
  }

  .product-grid.is-list-view .product-option-switch > button {
    min-height: 27px;
    padding: 4px;
  }

  .product-grid.is-list-view .product-option-switch > button strong {
    font-size: 8px;
  }

  .product-grid.is-list-view .product-option-switch > button span {
    display: none;
  }

  .product-grid.is-list-view .product-card__prices > strong {
    font-size: 21px;
  }

  .product-grid.is-list-view .product-card__unit,
  .product-grid.is-list-view .product-card__stepper {
    min-height: 36px;
  }

  .product-grid.is-list-view .product-card .product-add {
    min-height: 39px;
    font-size: 12px;
  }

  .producer-card__summary {
    min-height: 88px;
    padding-top: 11px;
    padding-bottom: 11px;
    align-items: center;
  }
}

@media (max-width: 370px) {
  .shop-header:not([hidden]) {
    padding-right: 10px;
    padding-left: 10px;
    grid-template-columns: 75px minmax(40px, 1fr) auto 44px;
    gap: 5px;
  }

  .shop-app.is-root-route .shop-header:not([hidden]) {
    grid-template-columns: minmax(88px, 1fr) auto 44px;
  }

  .shop-header .shop-back:not([hidden]) {
    width: 75px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .shop-back__label {
    font-size: 10px;
  }

  .shop-nav {
    gap: 3px;
    padding-right: 5px;
    padding-left: 5px;
  }

  .shop-nav button small {
    font-size: 7.5px;
  }

  .catalog-view-switch > button {
    min-width: 67px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .catalog-view-switch > button strong {
    font-size: 9px;
  }

  .cart-item__actions > strong {
    flex-basis: 82px;
    width: 82px;
    min-width: 82px;
  }
}

@media (min-width: 900px) {
  html.platform-desktop .shop-header .shop-back__label {
    display: inline !important;
    color: #292821;
    font-size: 13px;
    font-weight: 850;
  }

  html.platform-desktop .catalog-view-switch {
    border-color: rgba(109, 83, 30, 0.16);
    background: #eee8d9;
    box-shadow: inset 0 1px 0 #ffffff;
  }

  html.platform-desktop .catalog-view-switch > button {
    min-width: 112px;
    min-height: 42px;
    color: #696257;
    font-size: 12px;
  }

  html.platform-desktop .catalog-view-switch > button.is-active {
    color: #f2ce67;
    background: #151710;
    box-shadow: 0 7px 15px rgba(35, 28, 10, 0.16);
  }

  html.platform-desktop .product-option-group > small {
    color: #8a806e;
    font-size: 9px;
  }

  html.platform-desktop .product-option-switch {
    gap: 7px;
  }

  html.platform-desktop .product-option-switch > button {
    min-height: 40px;
    padding: 7px 9px;
    border-color: rgba(118, 91, 35, 0.16);
    color: #3e392f;
    background: #f5f0e4;
  }

  html.platform-desktop .product-option-switch > button strong {
    font-size: 11px;
  }

  html.platform-desktop .product-option-switch > button span {
    color: #7c7467;
    font-size: 9px;
  }

  html.platform-desktop .product-option-switch > button.is-active {
    border-color: #171912;
    color: #f2cc64;
    background: #171912;
  }

  html.platform-desktop .product-option-switch > button.is-active span {
    color: #bdb28e;
  }

  html.platform-desktop .product-card.has-product-options {
    min-height: 850px;
    grid-template-rows: 312px minmax(538px, auto);
  }

  html.platform-desktop .product-card.has-product-options[class*="product-card--seam-"] .product-card__body {
    min-height: 538px;
  }

  html.platform-desktop .product-grid.is-list-view,
  html.platform-desktop .favorites-screen .product-grid.is-list-view {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card {
    --product-art-column: 250px;
    min-height: 370px;
    height: auto;
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    grid-template-rows: minmax(370px, auto);
    border-radius: 15px;
    transform: none;
  }

  html.platform-desktop .product-grid.is-list-view .product-card:hover {
    transform: none;
  }

  html.platform-desktop .product-grid.is-list-view .product-card__open,
  html.platform-desktop .product-grid.is-list-view .product-card[class*="product-card--seam-"] .product-card__open {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    min-height: 370px;
    border-right: 1px solid rgba(70, 57, 29, 0.09);
    border-bottom: 0;
    border-radius: 0;
  }

  html.platform-desktop .product-grid.is-list-view .product-card[class*="product-card--seam-"] .product-card__open .product-art,
  html.platform-desktop .product-grid.is-list-view .product-card[class*="product-card--seam-"] .product-card__open .product-art--image {
    border-radius: 0;
  }

  html.platform-desktop .product-grid.is-list-view .product-card[class*="product-card--seam-"] .product-card__body {
    grid-column: 2;
    grid-row: 1;
    min-height: 370px;
    padding: 20px 23px;
    border-radius: 0;
  }

  html.platform-desktop .product-grid.is-list-view .product-card__title {
    font-size: 24px;
  }

  html.platform-desktop .product-grid.is-list-view .desktop-product-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  html.platform-desktop .product-grid.is-list-view .desktop-product-facts > div {
    min-height: 50px;
    padding: 8px 9px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    border: 1px solid rgba(70, 59, 34, 0.09);
    border-radius: 8px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card__purchase {
    margin-top: 12px;
    display: grid;
    grid-template-columns: minmax(170px, 1fr) minmax(180px, 250px);
    gap: 16px;
    align-items: end;
  }

  html.platform-desktop .product-grid.is-list-view .product-card__action {
    width: min(100%, 300px);
    margin-top: 10px;
    align-self: flex-end;
  }

  html.platform-desktop .product-card__options--detail {
    margin-top: 18px;
    padding: 15px;
    border: 1px solid rgba(107, 84, 35, 0.12);
    border-radius: 12px;
    background: #faf6ec;
  }

  html.platform-desktop .cart-item__actions > strong {
    flex-basis: 160px;
    width: 160px;
    min-width: 160px;
  }

  html.platform-desktop .producer-card__summary {
    min-height: 108px;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  html.platform-desktop .shop-header .shop-back__label {
    font-size: 11px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card {
    --product-art-column: 210px;
    grid-template-columns: 210px minmax(0, 1fr);
  }

  html.platform-desktop .cart-item__actions > strong {
    flex-basis: 124px;
    width: 124px;
    min-width: 124px;
  }
}

/* v85: image-free text list, mobile selects and explicit cart quantity editing. */
.catalog-view-switch > button,
.catalog-view-switch > button strong {
  color: #ffffff !important;
}

.product-option-select {
  position: relative;
  display: none;
}

.product-option-group--mobile {
  display: none;
}

.product-option-select select {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  appearance: none;
  cursor: pointer;
}

.product-card__description {
  margin: 7px 0 0;
  color: #b8b1a3;
  font-size: 11px;
  line-height: 1.38;
}

.cart-quantity-control {
  display: grid;
  gap: 5px;
}

.cart-quantity-control__label {
  display: block;
  color: #aaa395;
  font-size: 9px;
  font-weight: 850;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.cart-quantity-control__hint {
  color: #8e887d;
  font-size: 8px;
  font-weight: 650;
  line-height: 1.15;
  text-align: center;
}

.cart-stepper input[data-action="cart-input"] {
  box-sizing: border-box;
  width: 58px;
  min-width: 58px;
  height: 44px;
  border-right: 1px solid rgba(212, 170, 86, 0.28);
  border-left: 1px solid rgba(212, 170, 86, 0.28);
  border-radius: 0;
  color: #171812;
  background: #ffffff;
  font-size: 16px;
  cursor: text;
  caret-color: #b88622;
}

.cart-stepper input[data-action="cart-input"]:focus {
  box-shadow: inset 0 0 0 2px #d2a239;
}

@media (max-width: 899px) {
  .product-option-group--mobile {
    display: grid;
  }

  .product-option-group--buttons {
    display: none !important;
  }

  .product-option-switch--buttons {
    display: none !important;
  }

  .product-option-select {
    display: block;
  }

  .product-option-select select {
    min-height: 44px;
    padding: 0 40px 0 12px;
    border: 1px solid rgba(225, 184, 75, 0.38);
    border-radius: 10px;
    outline: 0;
    color: #f5f0e4;
    background: #191a15;
    font-size: 12px;
    font-weight: 800;
  }

  .product-option-select select:focus {
    border-color: #edc45c;
    box-shadow: 0 0 0 2px rgba(237, 196, 92, 0.18);
  }

  .product-option-select > span {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #e8bd51;
    border-bottom: 2px solid #e8bd51;
    pointer-events: none;
    transform: translateY(-70%) rotate(45deg);
  }

  .product-grid.is-list-view .product-card.product-card--text-list,
  .product-grid.is-list-view .product-card.product-card--text-list.has-product-options {
    box-sizing: border-box;
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    overflow: hidden;
    border-radius: 15px;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__body,
  .product-grid.is-list-view .product-card--text-list.has-product-options .product-card__body,
  .product-grid.is-list-view .product-card--text-list[class*="product-card--seam-"] .product-card__body {
    box-sizing: border-box;
    min-height: 0 !important;
    padding: 13px 12px 12px;
    display: block;
    border-radius: 15px;
  }

  .product-grid.is-list-view .product-card--text-list .favorite-toggle--card {
    top: 11px;
    right: 10px;
    left: auto;
    width: 36px;
    height: 36px;
  }

  .product-grid.is-list-view .product-card--text-list h3 {
    margin: 3px 44px 0 0;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__title {
    font-size: 15px;
    line-height: 1.2;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__summary {
    margin-top: 5px;
    display: block;
    color: #979185;
    font-size: 10px;
    line-height: 1.3;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .product-grid.is-list-view .product-card--text-list .desktop-product-facts {
    display: none !important;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__options {
    margin-top: 10px;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__purchase {
    margin-top: 9px;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__unit {
    display: none;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__action {
    margin-top: 8px;
  }

  .cart-stepper button {
    min-width: 44px;
    min-height: 44px;
  }
}

@media (min-width: 900px) {
  html.platform-desktop .catalog-view-switch {
    border-color: #2b2d25;
    background: #151710;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }

  html.platform-desktop .catalog-view-switch > button,
  html.platform-desktop .catalog-view-switch > button strong {
    color: #ffffff !important;
  }

  html.platform-desktop .catalog-view-switch > button.is-active {
    color: #ffffff !important;
    background: linear-gradient(145deg, #d9aa3b, #a9771d);
  }

  html.platform-desktop .product-grid.is-list-view .product-card.product-card--text-list,
  html.platform-desktop .favorites-screen .product-grid.is-list-view .product-card.product-card--text-list {
    min-height: 0 !important;
    height: auto !important;
    display: block !important;
    overflow: hidden;
    border-radius: 13px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__body,
  html.platform-desktop .product-grid.is-list-view .product-card--text-list[class*="product-card--seam-"] .product-card__body {
    box-sizing: border-box;
    min-height: 0 !important;
    padding: 20px 76px 20px 22px;
    border-radius: 13px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .favorite-toggle--card {
    top: 18px;
    right: 18px;
    left: auto;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__title {
    font-size: 22px;
    line-height: 1.2;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__description {
    max-width: 900px;
    display: -webkit-box;
    overflow: hidden;
    color: #716b60;
    font-size: 13px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .desktop-product-facts {
    display: none !important;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__options {
    max-width: 720px;
    margin-top: 13px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__purchase {
    max-width: 720px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__action {
    width: min(100%, 320px);
  }

  html.platform-desktop .cart-quantity-control__hint {
    display: none;
  }
}

@media (min-width: 1200px) {
  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
    grid-template-areas:
      "producer availability"
      "title purchase"
      "summary purchase"
      "description action";
    column-gap: 24px;
    row-gap: 5px;
    align-items: start;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list.has-product-options .product-card__body {
    grid-template-columns: minmax(250px, 1.25fr) minmax(280px, 1fr) minmax(210px, 0.7fr);
    grid-template-areas:
      "producer options availability"
      "title options purchase"
      "summary options purchase"
      "description options action";
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__producer {
    grid-area: producer;
    margin: 0;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list h3 {
    grid-area: title;
    margin: 2px 0 0;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__summary {
    grid-area: summary;
    margin: 2px 0 0;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__description {
    grid-area: description;
    margin: 3px 0 0;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__options {
    grid-area: options;
    max-width: none;
    margin: 0;
    align-self: center;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .availability {
    grid-area: availability;
    margin: 0;
    padding-right: 42px;
    justify-self: end;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__purchase {
    grid-area: purchase;
    width: 100%;
    max-width: none;
    margin: 7px 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__action {
    grid-area: action;
    width: 100%;
    margin: 8px 0 0;
    align-self: end;
  }
}

/* v86: one seamless desktop shell from the Telegram controls through the storefront. */
@media (min-width: 900px) {
  html.platform-desktop {
    --desktop-shell-background:
      radial-gradient(ellipse 74% 44% at 14% 0%, rgba(215, 170, 57, 0.16), transparent 58%),
      radial-gradient(ellipse 52% 34% at 92% 8%, rgba(225, 193, 111, 0.12), transparent 62%),
      linear-gradient(112deg, #f4edda 0%, #fffdf7 48%, #eee2c7 100%);
    background: #f4edda;
  }

  html.platform-desktop.inside-telegram {
    --shop-telegram-top: 0px;
  }

  html.platform-desktop body.shop-open,
  html.platform-desktop .shop-app:not(.is-auth-route):not(.is-age-route) {
    background: var(--desktop-shell-background) !important;
    background-attachment: fixed !important;
    background-position: center top !important;
    background-size: 100vw 100vh !important;
  }

  html.platform-desktop .shop-header,
  html.platform-desktop .shop-app.is-root-route .shop-header {
    top: 0 !important;
    border-bottom: 1px solid rgba(132, 101, 34, 0.14);
    background: var(--desktop-shell-background) !important;
    background-attachment: fixed !important;
    background-position: center top !important;
    background-size: 100vw 100vh !important;
    box-shadow: 0 10px 28px rgba(69, 51, 14, 0.07);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  html.platform-desktop.inside-telegram .shop-header,
  html.platform-desktop.inside-telegram .shop-app.is-root-route .shop-header {
    padding-right: max(
      88px,
      var(--desktop-store-gutter),
      calc((100vw - var(--desktop-store-width)) / 2)
    );
  }

  html.platform-desktop .shop-header::before,
  html.platform-desktop .shop-header::after,
  html.platform-desktop .shop-app.is-root-route .shop-header::before,
  html.platform-desktop .shop-app.is-root-route .shop-header::after {
    display: none !important;
  }

  html.platform-desktop .shop-view {
    background: transparent;
  }

  html.platform-desktop .catalog-intro,
  html.platform-desktop .desktop-page-header__main {
    border-color: rgba(151, 113, 29, 0.16) !important;
    background: rgba(255, 255, 255, 0.38) !important;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.78),
      0 16px 36px rgba(75, 55, 13, 0.07) !important;
    backdrop-filter: blur(16px) saturate(1.04);
    -webkit-backdrop-filter: blur(16px) saturate(1.04);
  }
}

/* v87: compact profile groups, consistent desktop type and stable mobile navigation. */
.shop-app .promo-card,
.shop-app .promo-card > span,
.shop-app .promo-card strong {
  color: #fffdf7;
}

.shop-app .promo-card small {
  color: #f0d99d;
}

.shop-app .promo-card .product-art__missing {
  display: none;
}

@media (min-width: 900px) {
  html.platform-desktop .desktop-header-nav button {
    font-size: clamp(12px, 0.92vw, 15px);
  }

  html.platform-desktop .shop-brand small,
  html.platform-desktop .desktop-header-phone small {
    font-size: 11px;
  }

  html.platform-desktop .desktop-header-phone strong {
    font-size: clamp(13px, 0.9vw, 15px);
  }

  html.platform-desktop .warehouse-pill {
    font-size: 14px;
  }

  html.platform-desktop .desktop-page-header__breadcrumb,
  html.platform-desktop .product-detail > .desktop-breadcrumb,
  html.platform-desktop .order-detail > .desktop-breadcrumb,
  html.platform-desktop .desktop-page-header__breadcrumb button,
  html.platform-desktop .product-detail > .desktop-breadcrumb button,
  html.platform-desktop .order-detail > .desktop-breadcrumb button {
    font-size: 16px;
    line-height: 1.35;
  }

  html.platform-desktop .desktop-page-header__main p {
    font-size: clamp(17px, 1.1vw, 19px);
  }

  html.platform-desktop .profile-details {
    padding: 0 !important;
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
    grid-template-rows: repeat(3, minmax(72px, auto));
    gap: 0 18px;
    align-content: start;
    overflow: visible;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html.platform-desktop .profile-details > div {
    box-sizing: border-box;
    min-width: 0;
    min-height: 72px !important;
    padding: 15px 18px !important;
    border: 1px solid rgba(91, 72, 31, 0.12) !important;
    border-bottom: 0 !important;
    color: #1d1a14;
    background: rgba(255, 254, 250, 0.86);
    box-shadow: 0 10px 24px rgba(48, 36, 10, 0.055);
  }

  html.platform-desktop .profile-details > div:nth-child(1) {
    grid-row: 1;
    grid-column: 1;
    border-radius: 18px 18px 0 0;
  }

  html.platform-desktop .profile-details > div:nth-child(2) {
    grid-row: 2;
    grid-column: 1;
  }

  html.platform-desktop .profile-details > div:nth-child(3) {
    grid-row: 3;
    grid-column: 1;
    border-bottom: 1px solid rgba(91, 72, 31, 0.12) !important;
    border-radius: 0 0 18px 18px;
  }

  html.platform-desktop .profile-details > div:nth-child(4) {
    grid-row: 1;
    grid-column: 2;
    border-radius: 18px 18px 0 0;
  }

  html.platform-desktop .profile-details > div:nth-child(5) {
    grid-row: 2;
    grid-column: 2;
    border-bottom: 1px solid rgba(91, 72, 31, 0.12) !important;
    border-radius: 0 0 18px 18px;
  }

  html.platform-desktop .profile-details span {
    color: #6d685f;
    font-size: 14px;
    font-weight: 650;
  }

  html.platform-desktop .profile-details strong {
    max-width: 66%;
    color: #1d1a14;
    font-size: 17px;
    line-height: 1.3;
    overflow-wrap: anywhere;
    text-overflow: clip;
    white-space: normal;
  }

  html.platform-desktop .profile-branches {
    padding: 0;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html.platform-desktop .profile-branches__heading {
    padding: 0 2px 3px;
  }

  html.platform-desktop .profile-branches__heading small {
    color: #716c62;
    font-size: 12px;
  }

  html.platform-desktop .profile-branches__heading strong {
    color: #211e17;
    font-size: 22px;
  }

  html.platform-desktop .profile-branches__heading button {
    color: #815b13;
    font-size: 14px;
  }

  html.platform-desktop .profile-branches__list {
    grid-template-columns: repeat(auto-fit, minmax(320px, 420px));
    gap: 14px;
  }

  html.platform-desktop .profile-branch-card {
    min-height: 148px;
    padding: 17px;
  }

  html.platform-desktop .profile-branch-card strong {
    font-size: 17px;
  }

  html.platform-desktop .profile-branch-card small,
  html.platform-desktop .profile-branch-card p {
    font-size: 13px;
  }

  html.platform-desktop .profile-screen > .settings-row,
  html.platform-desktop .profile-screen > .support-details,
  html.platform-desktop .profile-screen > .support-details > summary.settings-row {
    min-height: 104px;
  }

  html.platform-desktop .profile-screen > .support-details > summary.settings-row {
    height: 104px;
    margin: 0;
  }

  html.platform-desktop .settings-row small {
    color: #6d685f;
    font-size: 13px;
  }

  html.platform-desktop .settings-row strong {
    color: #1d1a14;
    font-size: 18px;
  }

  html.platform-desktop .settings-row i {
    font-size: 28px;
  }

  html.platform-desktop .order-detail .order-detail__heading .order-status__copy strong {
    color: #1d1a14;
    font-size: 16px;
  }

  html.platform-desktop .order-detail .order-detail__heading .order-status__copy small {
    color: #666158;
    font-size: 13px;
  }

  html.platform-desktop .order-detail .order-progress strong {
    font-size: 16px;
  }

  html.platform-desktop .order-detail .order-progress small {
    font-size: 13px;
  }

  html.platform-desktop .order-detail .detail-card h2 {
    font-size: 20px;
  }

  html.platform-desktop .order-detail .order-line__copy strong,
  html.platform-desktop .order-detail .order-line__total strong {
    font-size: 16px;
  }

  html.platform-desktop .order-detail .order-line__copy small,
  html.platform-desktop .order-detail .order-line__total small,
  html.platform-desktop .order-detail .invoice-card p,
  html.platform-desktop .order-detail .document-row small {
    font-size: 13px;
  }

  html.platform-desktop .order-detail .document-row {
    font-size: 15px;
  }

  html.platform-desktop .order-detail .invoice-card button {
    min-height: 44px;
    padding: 0 16px;
    font-size: 13px;
  }

  html.platform-desktop .orders-screen .order-card__top > span:first-child small,
  html.platform-desktop .orders-screen .order-card__bottom {
    color: #625e55;
    font-size: 13px;
  }

  html.platform-desktop .orders-screen .order-card__top > span:first-child strong {
    font-size: 21px;
  }

  html.platform-desktop .orders-screen .order-card__amount small {
    font-size: 12px;
  }

  html.platform-desktop .orders-screen .order-card__amount strong {
    font-size: 20px;
  }

  html.platform-desktop .orders-screen .order-status__copy strong {
    font-size: 15px;
  }

  html.platform-desktop .orders-screen .order-status__copy small {
    font-size: 12px;
  }

  html.platform-desktop .producer-card__name {
    font-size: 19px;
    line-height: 1.25;
  }

  html.platform-desktop .producer-card__categories,
  html.platform-desktop .producer-card__count {
    color: #686258;
    font-size: 13px;
  }

  html.platform-desktop .product-card,
  html.platform-desktop .product-card__body,
  html.platform-desktop .product-card__open {
    min-width: 0;
  }

  html.platform-desktop .product-card__producer {
    font-size: 13px;
  }

  html.platform-desktop .product-card__summary {
    color: #615c53;
    font-size: 14px;
  }

  html.platform-desktop .product-card h3,
  html.platform-desktop .product-card__title {
    color: #1b1812;
  }

  html.platform-desktop .product-art__missing {
    box-sizing: border-box;
    width: auto;
    max-width: 72%;
    padding: 7px 10px;
    border: 1px solid rgba(84, 70, 40, 0.12);
    border-radius: 9px;
    color: #5d584f;
    background: rgba(255, 254, 250, 0.78);
    box-shadow: 0 7px 18px rgba(53, 40, 12, 0.08);
    text-shadow: none;
  }

  html.platform-desktop .cart-quantity-control__label,
  html.platform-desktop .cart-screen > .field-label > span {
    color: #666158;
    font-size: 12px;
  }
}

@media (max-width: 899px) {
  .shop-nav {
    align-items: end;
  }

  .shop-nav button,
  .shop-nav button:nth-child(1),
  .shop-nav button:nth-child(4),
  .shop-nav button.is-active {
    --nav-curve-offset: 0px;
    box-sizing: border-box;
    height: 63px;
    min-height: 63px;
    align-self: end;
    transform: none !important;
  }

  .shop-nav button > span,
  .shop-nav button.is-active > span {
    transform: none !important;
  }

  .shop-nav button small {
    min-height: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8.5px;
    line-height: 1.1;
    text-align: center;
  }

  .producers-heading .section-title-row {
    gap: 9px;
    align-items: center;
  }

  .producers-heading .section-title-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .producers-heading .section-title-row h1 {
    min-width: 0;
    font-size: clamp(30px, 9.2vw, 36px);
    line-height: 1.04;
    letter-spacing: -0.045em;
    overflow-wrap: normal;
  }

  .product-card,
  .product-card__body,
  .product-card__open,
  .producer-card,
  .order-card,
  .cart-item {
    min-width: 0;
  }

  .product-card__title,
  .producer-card__name {
    overflow-wrap: anywhere;
  }
}

@media (min-width: 900px) and (max-width: 1279px) {
  html.platform-desktop .desktop-header-phone.desktop-store-only {
    display: none !important;
  }

  html.platform-desktop .shop-header,
  html.platform-desktop .shop-app.is-root-route .shop-header,
  html.platform-desktop .shop-app:not(.is-root-route) .shop-header:not([hidden]) {
    padding-right: 20px;
    padding-left: 20px;
    grid-template-columns: 92px 110px minmax(0, 1fr) 82px 46px;
    grid-template-areas: "back brand desktop-nav warehouse cart";
    gap: 7px;
  }

  html.platform-desktop .shop-app.is-root-route .shop-header {
    grid-template-columns: 110px minmax(0, 1fr) 82px 46px;
    grid-template-areas: "brand desktop-nav warehouse cart";
  }

  html.platform-desktop.inside-telegram .shop-header,
  html.platform-desktop.inside-telegram .shop-app.is-root-route .shop-header {
    padding-right: 88px;
  }

  html.platform-desktop .desktop-header-nav button {
    padding-right: 3px;
    padding-left: 3px;
  }
}

/* v88: one source for the order variant, larger list typography and roomier mobile producer cards. */
@media (max-width: 899px) {
  .catalog-view-switch > button {
    min-height: 40px;
    font-size: 11px;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__body,
  .product-grid.is-list-view .product-card--text-list.has-product-options .product-card__body,
  .product-grid.is-list-view .product-card--text-list[class*="product-card--seam-"] .product-card__body {
    padding: 16px 14px 14px;
  }

  .product-grid.is-list-view .product-card--text-list .favorite-toggle--card {
    top: 13px;
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .product-grid.is-list-view .product-card--text-list h3 {
    margin: 5px 50px 0 0;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__producer {
    font-size: 11px;
    line-height: 1.25;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__title {
    padding-bottom: 1px;
    overflow: visible;
    font-size: 18px;
    line-height: 1.24;
    text-overflow: clip;
    white-space: normal;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__summary {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.4;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__description {
    margin-top: 7px;
    font-size: 13px;
    line-height: 1.45;
    -webkit-line-clamp: 4;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__options {
    margin-top: 13px;
    gap: 8px;
  }

  .product-grid.is-list-view .product-card--text-list .product-option-group {
    gap: 6px;
  }

  .product-grid.is-list-view .product-card--text-list .product-option-group > small {
    padding-bottom: 1px;
    font-size: 11px;
    line-height: 1.2;
  }

  .product-grid.is-list-view .product-card--text-list .product-option-select select {
    min-height: 50px;
    padding-right: 42px;
    padding-left: 13px;
    font-size: 14px;
    line-height: 1.25;
  }

  .product-grid.is-list-view .product-card--text-list .availability {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.3;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__purchase {
    margin-top: 11px;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__prices > strong {
    font-size: 24px;
    line-height: 1.12;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__prices > strong small,
  .product-grid.is-list-view .product-card--text-list .product-card__prices > span {
    font-size: 11px;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__action {
    margin-top: 10px;
  }

  .product-grid.is-list-view .product-card--text-list .product-add {
    min-height: 46px;
    font-size: 14px;
  }

  .producer-category-filter__row > button {
    flex-basis: 136px;
    min-height: 164px;
    padding: 12px 9px 11px;
    gap: 7px;
  }

  .producer-category-filter__copy {
    gap: 5px;
  }

  .producer-category-filter__copy strong {
    padding-bottom: 1px;
    overflow: visible;
    font-size: 13px;
    line-height: 1.22;
    -webkit-line-clamp: 3;
  }

  .producer-category-filter__copy small {
    padding-bottom: 1px;
    overflow: visible;
    font-size: 10.5px;
    line-height: 1.25;
    text-overflow: clip;
    white-space: normal;
  }

  .producer-card__summary {
    min-height: 108px;
    padding: 13px 12px;
    grid-template-columns: 56px minmax(0, 1fr) 16px;
    grid-template-rows: auto auto;
    gap: 6px 10px;
    align-items: center;
  }

  .producer-card__summary .producer-avatar {
    grid-row: 1 / span 2;
    grid-column: 1;
    width: 54px;
    height: 54px;
  }

  .producer-card__identity {
    grid-row: 1;
    grid-column: 2;
    gap: 5px;
    align-self: end;
  }

  .producer-card__name {
    overflow: visible;
    font-size: 17px;
    line-height: 1.27;
    text-overflow: clip;
    white-space: normal;
  }

  .producer-card__categories {
    overflow: visible;
    font-size: 11.5px;
    line-height: 1.35;
    text-overflow: clip;
    white-space: normal;
  }

  .producer-card__count {
    grid-row: 2;
    grid-column: 2;
    align-self: start;
    color: #6f695e;
    font-size: 12.5px;
    line-height: 1.25;
  }

  .producer-card__chevron {
    grid-row: 1 / span 2;
    grid-column: 3;
    align-self: center;
  }
}

@media (min-width: 900px) {
  html.platform-desktop .catalog-view-switch > button {
    min-height: 46px;
    font-size: 13px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__body,
  html.platform-desktop .product-grid.is-list-view .product-card--text-list[class*="product-card--seam-"] .product-card__body {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__producer {
    font-size: 14px;
    line-height: 1.3;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__title {
    padding-bottom: 2px;
    overflow: visible;
    font-size: 26px;
    line-height: 1.2;
    text-overflow: clip;
    white-space: normal;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__summary {
    color: #625d54;
    font-size: 15px;
    line-height: 1.4;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__description {
    font-size: 15px;
    line-height: 1.5;
    -webkit-line-clamp: 3;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__options {
    gap: 10px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-option-group > small {
    padding-bottom: 1px;
    font-size: 12px;
    line-height: 1.2;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-option-switch > button {
    min-height: 48px;
    padding: 8px 10px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-option-switch > button strong {
    font-size: 14px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-option-switch > button span {
    font-size: 11px;
    line-height: 1.25;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .availability {
    font-size: 14px;
    line-height: 1.35;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__prices > strong {
    font-size: 29px;
    line-height: 1.15;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__prices > strong small,
  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__prices > span {
    font-size: 12px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__unit small {
    font-size: 11px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__unit strong {
    font-size: 15px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-add {
    min-height: 48px;
    font-size: 15px;
  }
}

/* v89: wider catalog categories and a unified favorites empty state. */
.favorites-empty.empty-state--large {
  min-height: 58svh;
}

.favorites-empty.empty-state--large .favorites-empty__heart {
  box-sizing: border-box;
  width: 88px;
  height: 88px;
  border-radius: 28px;
  color: #a97914;
  background: linear-gradient(145deg, #fffefa, #ecd78f);
  font-size: 50px;
}

.settings-row > .settings-row__favorite-icon {
  border-color: rgba(193, 143, 31, 0.42);
  color: #c6911e;
  background: rgba(236, 197, 93, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.settings-row > .settings-row__favorite-icon.is-filled {
  border-color: #c89425;
  color: #2b2417;
  background: linear-gradient(145deg, #f4d675, #d8a83a);
}

@media (max-width: 899px) {
  .shop-app.is-root-route .category-strip .filter-row > button {
    flex-basis: 114px;
    width: 114px;
  }

  .shop-app.is-root-route .category-strip .filter-row > button.category-producers-link {
    flex-basis: 128px;
    width: 128px;
  }

  .shop-app.is-root-route .category-strip .category-icon {
    flex-basis: 74px;
    width: 80px;
    height: 74px;
  }

  .shop-app.is-root-route .category-strip .category-name {
    min-height: 31px;
    font-size: 12px;
    line-height: 1.22;
  }

  .shop-app.is-root-route .category-strip .category-producers-link .category-name {
    min-height: 18px;
    overflow: visible;
    font-size: 12px;
    line-height: 1.25;
    text-overflow: clip;
    white-space: normal;
    -webkit-line-clamp: 2;
  }
}

/* v90: private stock display, stable editable quantities and a denser text catalog. */
.mini-stepper input.mini-stepper__input {
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  min-height: 42px;
  align-self: stretch;
  border: 0;
  border-right: 1px solid rgba(212, 170, 86, 0.2);
  border-left: 1px solid rgba(212, 170, 86, 0.2);
  border-radius: 0;
  outline: 0;
  color: #f7f2e7;
  background: rgba(8, 9, 7, 0.32);
  font: inherit;
  font-size: 16px;
  font-weight: 850;
  line-height: 1;
  text-align: center;
  caret-color: #efc658;
  appearance: textfield;
  -webkit-appearance: none;
  user-select: text;
  touch-action: manipulation;
}

.mini-stepper input.mini-stepper__input::-webkit-inner-spin-button,
.mini-stepper input.mini-stepper__input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}

.mini-stepper input.mini-stepper__input:focus {
  position: relative;
  z-index: 2;
  background: #11130f;
  box-shadow: inset 0 0 0 2px #dfb341;
}

.cart-item {
  border-color: rgba(113, 85, 28, 0.2);
  color: #1d1b16;
  background:
    radial-gradient(circle at 0 0, rgba(222, 181, 73, 0.09), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #fbf8ef 100%);
  box-shadow:
    0 13px 30px rgba(53, 39, 8, 0.12),
    inset 0 1px 0 #ffffff;
}

.cart-item__content > div:first-child > small {
  color: #91681a;
}

.cart-item__content h3,
.cart-item__actions > strong {
  color: #1b1a15;
}

.cart-item__content > div:first-child > p:not(.cart-item__stock) {
  color: #5e584d;
}

.cart-item__content > div:first-child .cart-item__stock {
  width: fit-content;
  margin-top: 8px;
  padding: 5px 9px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid rgba(54, 135, 73, 0.25);
  border-radius: 999px;
  color: #2f6d3d;
  background: #eaf6e8;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.15;
}

.cart-item__stock > i {
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3cab5c;
  box-shadow: 0 0 0 3px rgba(60, 171, 92, 0.13);
}

.cart-stepper {
  border-color: rgba(115, 88, 35, 0.22);
  background: #f6f0df;
}

.cart-stepper button {
  color: #76520f;
  background: #efe3c7;
}

.cart-stepper input[data-action="cart-input"] {
  position: relative;
  z-index: 1;
  width: 64px;
  min-width: 64px;
  height: 48px;
  color: #171812;
  background: #ffffff;
  font-size: 18px;
  line-height: 1;
  user-select: text;
  touch-action: manipulation;
}

.cart-quantity-control__label,
.cart-quantity-control__hint {
  color: #6e675a;
}

.favorites-empty.empty-state--large {
  min-height: 230px;
}

.favorites-empty.empty-state--large > .section-title-icon {
  box-sizing: border-box;
}

.section-title-icon--favorites {
  color: #c28e1e;
}

@media (max-width: 899px) {
  .catalog-intro > div > p,
  .page-heading p,
  .favorites-heading p,
  .producers-heading p {
    color: #918c82;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: normal;
  }

  .empty-state--large h2 {
    font-size: 30px;
    line-height: 1.2;
  }

  .catalog-inline-filters__fields {
    gap: 14px;
  }

  .catalog-inline-filters__fields label {
    gap: 8px;
  }

  .catalog-inline-filters__fields label > span {
    font-size: 15px;
    font-weight: 750;
  }

  .catalog-inline-filters__fields select {
    min-height: 62px;
    padding-right: 42px;
    padding-left: 14px;
    border-radius: 12px;
    font-size: 18px;
  }

  .filter-sheet__grid {
    gap: 14px;
  }

  .filter-sheet .field-label {
    margin-top: 0;
    gap: 8px;
  }

  .filter-sheet .field-label > span {
    font-size: 15px;
    font-weight: 750;
  }

  .filter-sheet .field-label select {
    min-height: 62px;
    padding-right: 42px;
    padding-left: 14px;
    border-radius: 12px;
    font-size: 18px;
  }

  .shop-nav button small {
    min-height: 13px;
    font-size: 10px;
    font-weight: 760;
    line-height: 1.15;
  }

  .cart-item,
  .cart-item[data-action="open-cart-product"]:active {
    border-color: rgba(113, 85, 28, 0.2);
    background:
      radial-gradient(circle at 0 0, rgba(222, 181, 73, 0.09), transparent 34%),
      linear-gradient(145deg, #ffffff 0%, #fbf8ef 100%);
  }

  .cart-item small,
  .cart-item p {
    color: #655f54;
  }

  .cart-item h3 {
    color: #1d1b16;
  }

  .cart-quantity-control__label {
    font-size: 10px;
  }

  .cart-quantity-control__hint {
    font-size: 9px;
  }

  .cart-stepper button {
    min-width: 48px;
    min-height: 48px;
    color: #76520f;
    background: #efe3c7;
    font-size: 21px;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__body,
  .product-grid.is-list-view .product-card--text-list.has-product-options .product-card__body,
  .product-grid.is-list-view .product-card--text-list[class*="product-card--seam-"] .product-card__body {
    min-height: 0 !important;
    padding: 13px 14px 12px;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(148px, auto);
    grid-template-areas:
      "producer producer"
      "title title"
      "summary summary"
      "description description"
      "options options"
      "availability purchase"
      "action action";
    column-gap: 12px;
    row-gap: 6px;
    align-items: start;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__producer {
    grid-area: producer;
    margin: 0;
  }

  .product-grid.is-list-view .product-card--text-list h3 {
    grid-area: title;
    margin: 0 48px 0 0;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__title {
    font-size: 18px;
    line-height: 1.22;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__summary {
    grid-area: summary;
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__description {
    grid-area: description;
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    -webkit-line-clamp: 2;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__options {
    grid-area: options;
    margin: 2px 0 0;
  }

  .product-grid.is-list-view .product-card--text-list .product-option-select select {
    min-height: 48px;
    font-size: 14px;
  }

  .product-grid.is-list-view .product-card--text-list .availability {
    grid-area: availability;
    margin: 0;
    padding: 0 0 4px;
    align-self: end;
    font-size: 12px;
    line-height: 1.3;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__purchase {
    grid-area: purchase;
    width: 100%;
    max-width: 196px;
    margin: 0;
    display: grid;
    justify-self: end;
    justify-items: end;
    align-self: end;
    gap: 6px;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__prices {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 3px 8px;
    align-items: baseline;
    justify-content: flex-end;
    text-align: right;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__prices > strong {
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 24px;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__prices > span {
    margin: 0;
    flex: 0 1 auto;
    white-space: normal;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__stepper {
    width: 154px;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__action {
    grid-area: action;
    margin: 2px 0 0;
  }

  .product-grid.is-list-view .product-card--text-list .product-add {
    min-height: 44px;
    font-size: 14px;
  }
}

@media (min-width: 900px) {
  html.platform-desktop .cart-item__stock {
    display: inline-flex !important;
  }

  html.platform-desktop .catalog-intro > div > p,
  html.platform-desktop .desktop-page-header__main > p {
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: normal;
  }

  html.platform-desktop .desktop-catalog-filters select {
    height: 54px;
    padding-right: 38px;
    padding-left: 15px;
    font-size: 14px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__body,
  html.platform-desktop .product-grid.is-list-view .product-card--text-list[class*="product-card--seam-"] .product-card__body {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__description {
    -webkit-line-clamp: 2;
  }
}

@media (min-width: 900px) {
  html.platform-desktop .category-strip .category-icon {
    width: 80px;
  }

  html.platform-desktop .category-strip .category-name {
    box-sizing: border-box;
    padding-bottom: 1px;
  }
}

@media (min-width: 900px) and (max-width: 1279px) {
  html.platform-desktop .category-strip .category-icon {
    width: 68px;
  }

  html.platform-desktop .category-strip .category-icon--producers svg {
    width: 56px;
  }
}

/* v91: clean cart artwork and balanced list-view purchase rows on mobile. */
@media (max-width: 899px) {
  .cart-item {
    align-items: flex-start;
  }

  .cart-item .product-art--compact.product-art--image {
    box-sizing: border-box;
    flex-basis: 112px;
    width: 112px;
    min-width: 112px;
    height: 112px;
    min-height: 112px;
    max-height: 112px;
    margin-top: 27px;
    overflow: hidden;
    border: 1px solid rgba(107, 82, 31, 0.16);
    border-radius: 9px;
    background: #ffffff;
    box-shadow: 0 7px 18px rgba(56, 42, 13, 0.08);
  }

  .cart-item .product-art--compact.product-art--image .product-art__backdrop,
  .cart-item .product-art--compact.product-art--image .product-art__ambient,
  .cart-item .product-art--compact.product-art--image::after {
    display: none !important;
  }

  .cart-item .product-art--compact.product-art--image .product-art__main {
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 3px;
    border: 0;
    border-radius: 8px;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
    box-shadow: none;
    filter: none;
    transform: none !important;
  }

  .cart-item__actions > strong {
    flex-basis: auto;
    width: auto;
    min-width: 108px;
    margin-top: 5px;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  .product-grid.is-list-view .product-card--text-list .availability {
    padding-top: 4px;
    padding-bottom: 0;
    align-self: start;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__purchase {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    grid-auto-flow: row;
    justify-items: stretch;
    align-self: start;
    row-gap: 12px;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__prices {
    min-height: 30px;
    align-items: center;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__stepper {
    margin-top: 0;
    justify-self: end;
  }
}

/* v92: explicit ООО/ИП registration step and address-based ИП points. */
.registration-entity-type {
  width: 100%;
  max-width: 1180px;
  margin: 18px auto 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.registration-entity-type__option {
  position: relative;
  min-width: 0;
  min-height: 112px;
  padding: 15px 48px 15px 15px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  border: 1px solid rgba(177, 135, 35, 0.28);
  border-radius: 20px;
  color: #1b1914;
  background:
    radial-gradient(circle at 0 0, rgba(226, 184, 73, 0.12), transparent 42%),
    linear-gradient(145deg, #fffefa 0%, #f7f2e7 100%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.13), inset 0 1px 0 #fff;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.registration-entity-type__option:hover {
  transform: translateY(-1px);
  border-color: rgba(211, 165, 51, 0.62);
}

.registration-entity-type__option.is-active {
  border-color: #d4a93d;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18), 0 0 0 3px rgba(216, 173, 66, 0.16);
}

.registration-entity-type__badge {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(173, 127, 20, 0.26);
  border-radius: 17px;
  color: #17130b;
  background: linear-gradient(145deg, #f6d978, #d7a733);
  box-shadow: 0 8px 18px rgba(154, 111, 17, 0.2);
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 0.03em;
}

.registration-entity-type__option > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.registration-entity-type__option strong {
  color: #171712;
  font-size: 17px;
  line-height: 1.2;
}

.registration-entity-type__option small {
  color: #746f65;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.registration-entity-type__option > i {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #15120b;
  background: #dbae42;
  box-shadow: 0 5px 12px rgba(142, 100, 10, 0.24);
  font-size: 14px;
  font-style: normal;
  font-weight: 950;
  opacity: 0;
  transform: scale(0.75);
  transition: opacity 150ms ease, transform 150ms ease;
}

.registration-entity-type__option.is-active > i {
  opacity: 1;
  transform: scale(1);
}

.registration-branch__remove[hidden] {
  display: none !important;
}

.registration-entity-prompt {
  width: 100%;
  max-width: 1180px;
  min-height: 150px;
  margin: 0 auto;
  padding: 28px 20px;
  display: grid;
  place-content: center;
  gap: 7px;
  border: 1px dashed rgba(216, 173, 66, 0.42);
  border-radius: 22px;
  color: #efe7d3;
  background: rgba(216, 173, 66, 0.06);
  text-align: center;
}

.registration-entity-prompt strong {
  font-size: 20px;
}

.registration-entity-prompt p {
  margin: 0;
  color: #aaa59b;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 560px) {
  .registration-entity-type {
    grid-template-columns: minmax(0, 1fr);
  }

  .registration-entity-type__option {
    min-height: 96px;
    padding: 12px 44px 12px 12px;
    border-radius: 18px;
  }

  .registration-entity-type__badge {
    width: 52px;
    height: 52px;
    border-radius: 15px;
    font-size: 16px;
  }

  .registration-entity-type__option strong {
    font-size: 16px;
  }
}

/* Payment date supplied by the approved 1C invoice. */
.order-detail .invoice-card__payment {
  width: fit-content;
  max-width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  display: grid;
  gap: 2px;
  border: 1px solid rgba(184, 137, 25, 0.3);
  border-radius: 14px;
  color: #171712;
  background: linear-gradient(135deg, #fffaf0, #f7e8b9);
}

.order-detail .invoice-card__payment small {
  color: #756b55;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.order-detail .invoice-card__payment strong {
  color: #171712;
  font-size: 18px;
  line-height: 1.25;
}

.order-detail .invoice-card__payment em {
  color: #7b6225;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 560px) {
  .order-detail .invoice-card {
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
  }

  .order-detail .invoice-card > div {
    width: 100%;
    align-items: flex-start;
  }

  .order-detail .invoice-card > div > span:last-child {
    min-width: 0;
    flex: 1 1 auto;
  }

  .order-detail .invoice-card > button,
  .order-detail .invoice-card > .document-waiting {
    width: 100%;
    justify-content: center;
  }

  .order-detail .invoice-card__payment {
    width: 100%;
    margin-top: 10px;
    padding: 10px 12px;
  }

  .order-detail .invoice-card__payment strong {
    font-size: 17px;
  }
}

@media (min-width: 900px) {
  html.platform-desktop .order-detail .invoice-card__payment strong {
    font-size: 20px;
  }

  html.platform-desktop .order-detail .invoice-card__payment em {
    font-size: 14px;
  }
}


/* 2026-08-19: multi-brewery filters and brewery favorites */
.brewery-multi-filter {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.catalog-inline-filters__fields > .brewery-multi-filter,
.filter-sheet__grid > .brewery-multi-filter {
  grid-column: 1 / -1;
}

.brewery-multi-filter__heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.brewery-multi-filter__heading span {
  color: #514a3f;
  font-size: 12px;
  font-weight: 850;
}

.brewery-multi-filter__heading small,
.brewery-multi-filter__summary {
  color: #8b8274;
  font-size: 10px;
  font-weight: 700;
}

.brewery-multi-filter__options {
  max-height: 210px;
  padding: 7px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(91, 75, 43, 0.15);
  border-radius: 12px;
  background: #f8f5ed;
  scrollbar-width: thin;
}

.brewery-multi-filter__options label {
  min-width: 0;
  min-height: 38px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(92, 75, 41, 0.1);
  border-radius: 9px;
  color: #29251d;
  background: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.brewery-multi-filter__options label:has(input:checked) {
  border-color: rgba(167, 119, 24, 0.55);
  background: linear-gradient(145deg, #f8e7ad, #efd27d);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.brewery-multi-filter__options input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  accent-color: #bd8820;
}

.brewery-multi-filter__options span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.producer-card__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  align-items: center;
}

.producer-card__header .producer-card__summary {
  padding-right: 4px;
}

.favorite-toggle--brewery {
  width: 40px;
  height: 40px;
  justify-self: center;
  box-shadow: 0 6px 14px rgba(53, 38, 8, 0.13);
}

.favorite-toggle--brewery svg {
  width: 20px;
  height: 20px;
}

.favorites-breweries,
.favorites-products {
  min-width: 0;
  display: grid;
  gap: 11px;
}

.favorites-section-heading {
  padding: 0 4px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
}

.favorites-section-heading span {
  display: grid;
  gap: 2px;
}

.favorites-section-heading small {
  color: #8d8371;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.favorites-section-heading strong {
  color: #201c14;
  font-size: 19px;
  font-weight: 900;
}

.favorites-section-heading b {
  color: #847965;
  font-size: 11px;
}

@media (max-width: 520px) {
  .brewery-multi-filter__options {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 900px) {
  html.platform-desktop .desktop-catalog-filters > .brewery-multi-filter {
    min-width: 0;
  }

  html.platform-desktop .brewery-multi-filter--desktop .brewery-multi-filter__heading {
    align-items: start;
    flex-direction: column;
    gap: 2px;
  }

  html.platform-desktop .brewery-multi-filter--desktop .brewery-multi-filter__options {
    max-height: 230px;
    grid-template-columns: 1fr;
  }

  html.platform-desktop .favorites-breweries .producer-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* 2026-08-19: desktop filter typography, nested wheel scrolling and list artwork */
.product-card__list-artwork {
  display: none;
}

@media (min-width: 900px) {
  html.platform-desktop .desktop-catalog-filters,
  html.platform-desktop .desktop-catalog-filters button,
  html.platform-desktop .desktop-catalog-filters select,
  html.platform-desktop .desktop-catalog-filters label,
  html.platform-desktop .brewery-multi-filter,
  html.platform-desktop .brewery-multi-filter button,
  html.platform-desktop .brewery-multi-filter input {
    font-family: inherit;
  }

  html.platform-desktop .desktop-catalog-filters__heading small {
    color: #d6aa43;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  html.platform-desktop .desktop-catalog-filters__heading strong {
    color: #ffffff;
    font-size: 27px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.025em;
  }

  html.platform-desktop .desktop-catalog-filters__heading button {
    font-size: 12px;
    font-weight: 850;
  }

  html.platform-desktop .brewery-multi-filter--desktop .brewery-multi-filter__heading {
    gap: 4px;
  }

  html.platform-desktop .brewery-multi-filter--desktop .brewery-multi-filter__heading span {
    color: #e8e3d9;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.3;
    letter-spacing: 0;
  }

  html.platform-desktop .brewery-multi-filter--desktop .brewery-multi-filter__heading small {
    color: #aaa398;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
  }

  html.platform-desktop .brewery-multi-filter--desktop .brewery-multi-filter__summary {
    color: #aaa398;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
  }

  html.platform-desktop .brewery-multi-filter--desktop .brewery-multi-filter__options {
    max-height: 250px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    scrollbar-gutter: stable;
    scrollbar-color: #d0a23a #f3ead6;
    scrollbar-width: thin;
  }

  html.platform-desktop .brewery-multi-filter--desktop .brewery-multi-filter__options label {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 760;
    line-height: 1.3;
  }

  html.platform-desktop .brewery-multi-filter--desktop .brewery-multi-filter__options input {
    width: 18px;
    height: 18px;
  }

  html.platform-desktop .desktop-catalog-filters > label > span {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.3;
  }

  html.platform-desktop .desktop-catalog-filters select {
    font-size: 15px;
    font-weight: 650;
  }

  html.platform-desktop .desktop-catalog-filters__switches label {
    font-size: 13px;
    font-weight: 800;
  }

  html.platform-desktop .desktop-catalog-products,
  html.platform-desktop .desktop-catalog-products #catalog-results,
  html.platform-desktop .desktop-catalog-products .catalog-toolbar {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
  }

  html.platform-desktop .desktop-catalog-products .catalog-toolbar {
    padding-right: 0;
    padding-left: 0;
  }

  html.platform-desktop .desktop-catalog-products .catalog-toolbar > p {
    margin-right: auto;
  }

  html.platform-desktop .desktop-catalog-products .catalog-view-switch {
    margin-right: 0;
    margin-left: auto;
    justify-self: end;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list {
    position: relative;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__list-artwork {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 22px;
    box-sizing: border-box;
    width: 138px;
    height: 138px;
    padding: 0;
    display: block;
    overflow: hidden;
    border: 1px solid rgba(117, 88, 31, 0.16);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(56, 42, 13, 0.1);
    cursor: pointer;
    transform: translateY(-50%);
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__list-artwork .product-art,
  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__list-artwork .product-art--image {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border: 0;
    border-radius: 11px;
    background: #ffffff;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__list-artwork .product-art__ambient,
  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__list-artwork .product-art__backdrop,
  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__list-artwork .product-art::after {
    display: none !important;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__list-artwork .product-art__main {
    position: absolute;
    inset: 0;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 6px;
    border: 0;
    border-radius: 11px;
    object-fit: contain;
    object-position: center;
    background: #ffffff;
    box-shadow: none;
    filter: none;
    transform: none !important;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__producer,
  html.platform-desktop .product-grid.is-list-view .product-card--text-list h3,
  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__summary,
  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__description {
    box-sizing: border-box;
    margin-left: 160px !important;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__list-artwork {
    left: 18px;
    width: 118px;
    height: 118px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__producer,
  html.platform-desktop .product-grid.is-list-view .product-card--text-list h3,
  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__summary,
  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__description {
    margin-left: 132px !important;
  }
}


/* 2026-08-19: keep the desktop scroll-to-top control in the bottom action lane */
@media (min-width: 900px) {
  html.platform-desktop .catalog-scroll-top {
    bottom: calc(30px + env(safe-area-inset-bottom, 0px));
  }

  html.platform-desktop .shop-app.has-floating-cart .catalog-scroll-top {
    right: max(0px, calc(var(--desktop-store-gutter) - 64px));
    bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  }
}


@media (min-width: 900px) and (max-width: 1279px) {
  html.platform-desktop .shop-app.has-floating-cart .catalog-scroll-top {
    right: calc(var(--desktop-store-gutter) + 434px);
  }
}


/* 2026-08-19: enlarge desktop list artwork and keep text clear of it */
@media (min-width: 1200px) {
  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__list-artwork {
    left: 12px;
    width: 204px;
    height: 204px;
    border-radius: 8px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__list-artwork .product-art,
  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__list-artwork .product-art--image,
  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__list-artwork .product-art__main {
    border-radius: 7px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__list-artwork .product-art__main {
    padding: 4px;
  }

  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__producer,
  html.platform-desktop .product-grid.is-list-view .product-card--text-list h3,
  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__summary,
  html.platform-desktop .product-grid.is-list-view .product-card--text-list .product-card__description {
    margin-left: 216px !important;
  }
}

/* 2026-08-20: mobile filter alignment and bottom action */
@media (max-width: 899px) {
  .catalog-inline-filters__fields > .brewery-multi-filter .brewery-multi-filter__heading {
    align-items: center;
  }

  .catalog-inline-filters__fields > .brewery-multi-filter .brewery-multi-filter__heading span {
    color: #514a3f;
    font-size: 14px;
    line-height: 1.25;
  }

  .catalog-inline-filters__fields > .brewery-multi-filter .brewery-multi-filter__heading small,
  .catalog-inline-filters__fields > .brewery-multi-filter .brewery-multi-filter__summary {
    color: #777064;
    font-size: 11px;
    line-height: 1.3;
  }

  .catalog-inline-filters__fields > .brewery-multi-filter .brewery-multi-filter__options {
    max-height: 230px;
    grid-template-columns: minmax(0, 1fr);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    scrollbar-gutter: stable;
  }

  .catalog-inline-filters__fields > .brewery-multi-filter .brewery-multi-filter__options label {
    box-sizing: border-box;
    min-height: 44px;
    padding: 8px 10px;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    overflow: hidden;
  }

  .catalog-inline-filters__fields > .brewery-multi-filter .brewery-multi-filter__options label > span {
    width: auto;
    min-width: 0;
    flex: 1 1 auto;
    color: #29251d;
    font-size: 14px;
    font-weight: 760;
    line-height: 1.25;
    text-align: left;
  }

  .catalog-inline-filters__fields > .brewery-multi-filter .brewery-multi-filter__options input[type="checkbox"],
  .catalog-inline-filters__switches input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 20px;
    min-width: 20px;
    height: 20px;
    margin: 0;
    flex: 0 0 20px;
    border: 2px solid #706757;
    border-radius: 5px;
    background-color: #fffdf7;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px 10px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  }

  .catalog-inline-filters__fields > .brewery-multi-filter .brewery-multi-filter__options input[type="checkbox"]:checked,
  .catalog-inline-filters__switches input[type="checkbox"]:checked {
    border-color: #a97713;
    background-color: #c79222;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M1 6l4 4L15 1' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  }

  .catalog-inline-filters__fields > .brewery-multi-filter .brewery-multi-filter__options input[type="checkbox"]:focus-visible,
  .catalog-inline-filters__switches input[type="checkbox"]:focus-visible {
    outline: 3px solid rgba(199, 146, 34, 0.22);
    outline-offset: 2px;
  }

  .catalog-inline-filters {
    overflow: visible;
    padding-bottom: 18px;
  }

  .inline-filter-apply {
    position: sticky;
    z-index: 8;
    bottom: calc(84px + var(--safe-bottom));
    box-shadow: 0 10px 24px rgba(62, 43, 8, 0.24);
  }
}

/* 2026-08-25: unified brewery catalog, visible packaging choices and bot invite. */
.product-card__producer {
  width: fit-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.product-card__producer:hover,
.product-card__producer:focus-visible {
  color: #d19a28;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catalog-brewery-shortcut {
  box-sizing: border-box;
  width: 100%;
  margin: -2px 0 13px;
  padding: 11px 13px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  border: 1px solid rgba(174, 126, 28, 0.28);
  border-radius: 18px;
  color: #1b1811;
  background: linear-gradient(145deg, #fffdf7, #f5ead0);
  box-shadow: 0 10px 24px rgba(63, 43, 8, 0.1);
  text-align: left;
  cursor: pointer;
}

.catalog-brewery-shortcut .producer-avatar {
  width: 46px;
  height: 46px;
  border-width: 2px;
}

.catalog-brewery-shortcut > span:nth-child(2) {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.catalog-brewery-shortcut small {
  color: #98701e;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-brewery-shortcut strong {
  overflow: hidden;
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-brewery-shortcut i {
  overflow: hidden;
  color: #777064;
  font-size: 10px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-brewery-shortcut > b {
  color: #8a6316;
  font-size: 10px;
  white-space: nowrap;
}

.producer-card__summary {
  grid-template-columns: 60px minmax(0, 1fr) auto 18px;
}

.producer-card__chevron {
  transform: rotate(-45deg);
}

.producer-card__summary:hover .producer-card__name,
.producer-card__summary:focus-visible .producer-card__name {
  color: #a87512;
}

.brewery-screen {
  display: grid;
  align-content: start;
  gap: 14px;
}

.brewery-hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(169, 122, 25, 0.27);
  border-radius: 24px;
  color: #1b1811;
  background:
    radial-gradient(circle at 92% 0, rgba(225, 180, 66, 0.2), transparent 35%),
    linear-gradient(145deg, #fffefa, #f7f0df);
  box-shadow: 0 14px 30px rgba(53, 37, 8, 0.12);
}

.brewery-hero-card__main {
  position: relative;
  padding: 18px 54px 16px 16px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
}

.brewery-hero-card__main > .producer-avatar {
  width: 58px;
  height: 58px;
}

.brewery-hero-card__main > div {
  min-width: 0;
}

.brewery-hero-card__main small,
.brewery-format-panel > div:first-child small,
.brewery-results-heading small {
  display: block;
  color: #9a711c;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brewery-hero-card__main h1 {
  margin: 3px 0 6px;
  font-size: clamp(25px, 7vw, 38px);
  line-height: 1;
}

.brewery-hero-card__main p {
  margin: 0;
  color: #6d6659;
  font-size: 12px;
  line-height: 1.45;
}

.brewery-hero-card__main > .favorite-toggle--brewery {
  position: absolute;
  top: 14px;
  right: 14px;
}

.brewery-hero-card__facts {
  padding: 11px 14px 14px;
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.6fr;
  gap: 8px;
  border-top: 1px solid rgba(78, 61, 27, 0.08);
  background: rgba(255, 255, 255, 0.42);
}

.brewery-hero-card__facts > span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.brewery-hero-card__facts small {
  color: #8d8679;
  font-size: 9px;
}

.brewery-hero-card__facts strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brewery-format-panel {
  padding: 14px;
  display: grid;
  gap: 10px;
  border: 1px solid rgba(157, 115, 26, 0.19);
  border-radius: 20px;
  background: rgba(255, 253, 247, 0.9);
  box-shadow: 0 9px 22px rgba(60, 42, 10, 0.08);
}

.brewery-format-panel > div:first-child strong {
  display: block;
  margin-top: 2px;
  color: #1b1811;
  font-size: 18px;
}

.brewery-format-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 7px;
}

.brewery-format-tabs > button {
  min-height: 48px;
  padding: 7px 8px;
  display: grid;
  place-content: center;
  gap: 2px;
  border: 1px solid rgba(168, 122, 27, 0.22);
  border-radius: 13px;
  color: #5e574a;
  background: #faf6ec;
  cursor: pointer;
}

.brewery-format-tabs > button strong {
  font-size: 12px;
}

.brewery-format-tabs > button small {
  color: #908777;
  font-size: 9px;
}

.brewery-format-tabs > button.is-active {
  border-color: #c28b20;
  color: #17140d;
  background: linear-gradient(145deg, #f0cf69, #d29c2d);
  box-shadow: 0 7px 16px rgba(107, 72, 8, 0.2);
}

.brewery-format-tabs > button.is-active small {
  color: #5e4312;
}

.brewery-results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.brewery-results-heading > div {
  display: grid;
  gap: 2px;
}

.brewery-results-heading strong {
  color: #1b1811;
  font-size: 18px;
}

.brewery-results-heading > button {
  padding: 8px 10px;
  border: 1px solid rgba(155, 111, 22, 0.2);
  border-radius: 11px;
  color: #775511;
  background: #fffaf0;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.brewery-product-grid .product-card__producer {
  display: none !important;
}

.settings-row--bot-link {
  border-color: rgba(178, 130, 31, 0.3);
  background: linear-gradient(145deg, #fffdf7, #f5e8c8);
}

.settings-row--bot-link .settings-row__copy-icon {
  color: #a67616;
  font-size: 20px;
  font-style: normal;
}

@media (max-width: 899px) {
  .product-option-group--mobile {
    display: none !important;
  }

  .product-option-group--buttons {
    display: grid !important;
  }

  .product-option-switch--buttons {
    display: flex !important;
  }

  .product-option-switch > button {
    min-height: 42px;
    padding: 7px 8px;
  }

  .product-option-switch > button strong {
    font-size: 11px;
  }

  .product-option-switch > button span {
    font-size: 9px;
  }

  .catalog-brewery-shortcut {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .catalog-brewery-shortcut > b {
    grid-column: 2;
  }
}

@media (min-width: 900px) {
  html.platform-desktop .brewery-screen {
    gap: 20px;
  }

  html.platform-desktop .brewery-hero-card__main {
    padding: 24px 74px 22px 24px;
    grid-template-columns: 78px minmax(0, 1fr);
  }

  html.platform-desktop .brewery-hero-card__main > .producer-avatar {
    width: 72px;
    height: 72px;
  }

  html.platform-desktop .brewery-hero-card__main p {
    max-width: 760px;
    font-size: 14px;
  }

  html.platform-desktop .brewery-format-panel {
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
  }
}

/* 2026-08-25: readable, consistent typography and stable artwork in brewery pages. */
.producers-screen,
.producers-screen button,
.producers-screen input,
.brewery-screen,
.brewery-screen button,
.brewery-screen input,
.brewery-screen select,
.catalog-brewery-shortcut {
  font-family: "Manrope CBD", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.producers-screen h1,
.producers-screen h2,
.brewery-screen h1,
.brewery-screen h2,
.brewery-screen h3 {
  font-family: inherit;
}

.producer-category-filter__heading small,
.catalog-brewery-shortcut small,
.brewery-hero-card__main small,
.brewery-format-panel > div:first-child small,
.brewery-results-heading small {
  font-size: 12px;
  line-height: 1.35;
}

.producer-category-filter__heading p,
.brewery-hero-card__main p {
  font-size: 14px;
  line-height: 1.5;
}

.producer-category-filter__copy strong {
  font-size: 14px;
  line-height: 1.25;
}

.producer-category-filter__copy small {
  font-size: 12px;
  line-height: 1.3;
}

.producer-card__name {
  font-size: 16px;
}

.producer-card__categories,
.producer-card__count {
  font-size: 13px;
  line-height: 1.35;
}

.producer-search input {
  font-size: 16px;
}

.catalog-brewery-shortcut strong {
  font-size: 16px;
}

.catalog-brewery-shortcut i,
.catalog-brewery-shortcut > b {
  font-size: 13px;
  line-height: 1.35;
}

.brewery-hero-card__facts small {
  font-size: 12px;
  line-height: 1.3;
}

.brewery-hero-card__facts strong {
  font-size: 14px;
  line-height: 1.35;
}

.brewery-format-tabs > button {
  min-height: 54px;
}

.brewery-format-tabs > button strong {
  font-size: 14px;
  line-height: 1.3;
}

.brewery-format-tabs > button small {
  font-size: 12px;
  line-height: 1.25;
}

.brewery-results-heading > button {
  font-size: 14px;
  line-height: 1.3;
}

.brewery-screen .product-option-group > small,
.brewery-screen .product-option-switch > button span {
  font-size: 12px;
  line-height: 1.3;
}

.brewery-screen .product-option-switch > button strong {
  font-size: 14px;
  line-height: 1.25;
}

.brewery-screen .product-card__list-artwork {
  display: none !important;
}

@media (max-width: 370px) {
  .producer-category-filter__copy strong,
  .producer-card__name,
  .producer-search input {
    font-size: 14px;
  }

  .producer-category-filter__copy small,
  .producer-card__categories,
  .producer-card__count {
    font-size: 12px;
  }
}

/* 2026-08-25: mobile header is part of the catalog flow, not a fixed black bar. */
@media (max-width: 899px) {
  .shop-header:not([hidden]),
  .shop-app.is-root-route .shop-header:not([hidden]) {
    position: relative;
    z-index: 3;
    top: auto;
    right: auto;
    left: auto;
    box-sizing: border-box;
    width: 100%;
    min-height: 0;
    margin: 0 0 22px;
    padding: calc(var(--shop-telegram-top) + 14px) 18px 12px;
    gap: 14px;
    align-items: center;
    overflow: visible;
    border: 0;
    color: #211e17;
    background: transparent !important;
    box-shadow: none;
    transform: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .shop-header:not([hidden]) {
    grid-template-columns: 82px minmax(0, 1fr) auto;
    grid-template-areas: "back brand warehouse";
  }

  .shop-app.is-root-route .shop-header:not([hidden]) {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand warehouse";
  }

  .shop-header::before,
  .shop-header::after,
  .shop-app.is-root-route .shop-header::before,
  .shop-app.is-root-route .shop-header::after {
    display: none !important;
    content: none !important;
  }

  .shop-header .shop-cart-button,
  .shop-header .telegram-return-button,
  .shop-app.is-root-route .shop-back {
    display: none !important;
  }

  .shop-header .shop-brand,
  .shop-app.is-root-route .shop-brand {
    min-width: 0;
    max-width: none;
    padding: 0;
    display: flex;
    gap: 11px;
    align-items: center;
    justify-self: start;
    color: #211e17;
  }

  .shop-header .shop-brand img,
  .shop-app.is-root-route .shop-brand img {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    object-fit: contain;
  }

  .shop-header .shop-brand > span,
  .shop-app.is-root-route .shop-brand > span {
    min-width: 0;
    display: flex !important;
    justify-content: center;
  }

  .shop-header .shop-brand strong,
  .shop-app.is-root-route .shop-brand strong {
    color: #a77719;
    font-family: "Manrope CBD", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 22px;
    font-weight: 850;
    line-height: 1;
    letter-spacing: -0.02em;
  }

  .shop-header .shop-brand small,
  .shop-app.is-root-route .shop-brand small {
    display: none !important;
  }

  .shop-header .warehouse-pill,
  .shop-app.is-root-route .warehouse-pill {
    box-sizing: border-box;
    width: auto;
    max-width: 132px;
    min-height: 50px;
    padding: 7px 12px;
    display: grid;
    gap: 2px;
    align-content: center;
    justify-items: start;
    border: 1px solid rgba(202, 160, 62, 0.24);
    border-radius: 13px;
    color: #29251d;
    background: rgba(255, 253, 247, 0.78);
    box-shadow: 0 5px 14px rgba(64, 45, 10, 0.06);
    font-size: 14px;
    line-height: 1.15;
    white-space: nowrap;
  }

  .shop-header .warehouse-pill::before,
  .shop-app.is-root-route .warehouse-pill::before {
    content: "Склад";
    color: #847a69;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .shop-header .warehouse-pill > span,
  .shop-app.is-root-route .warehouse-pill > span {
    max-width: 108px;
    overflow: hidden;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .shop-header .shop-back:not([hidden]) {
    border: 1px solid rgba(212, 170, 86, 0.2);
    color: #29251d;
    background: rgba(255, 253, 247, 0.76);
    box-shadow: 0 5px 14px rgba(64, 45, 10, 0.06);
  }

  .shop-app:not(.is-auth-route):not(.is-age-route) .shop-view,
  .shop-app.is-product-route:not(.is-auth-route):not(.is-age-route) .shop-view,
  .shop-app.has-floating-cart:not(.is-auth-route):not(.is-age-route) .shop-view {
    padding-top: 12px !important;
  }

  .sticky-category-label {
    display: none !important;
  }
}

@media (max-width: 370px) {
  .shop-header:not([hidden]),
  .shop-app.is-root-route .shop-header:not([hidden]) {
    margin-bottom: 18px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .shop-header .shop-brand img,
  .shop-app.is-root-route .shop-brand img {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .shop-header .shop-brand strong,
  .shop-app.is-root-route .shop-brand strong {
    font-size: 19px;
  }

  .shop-header .warehouse-pill,
  .shop-app.is-root-route .warehouse-pill {
    max-width: 112px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .shop-header .warehouse-pill > span,
  .shop-app.is-root-route .warehouse-pill > span {
    max-width: 88px;
  }
}

/* 2026-08-25: readable technical labels and consistent price units on mobile cards. */
@media (max-width: 899px) {
  .product-card,
  .product-detail {
    --product-technical-accent: linear-gradient(105deg, #f7d66d 0%, #dda52e 55%, #f0c85b 100%);
  }

  .product-card__technical-label,
  .product-option-group > small,
  .product-card__unit small,
  .product-card .availability.is-available .availability-label--mobile,
  .product-card .availability.is-limited .availability-label--mobile,
  .product-card__price-unit {
    color: #e6b94b;
    background: var(--product-technical-accent);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .product-card__summary,
  .product-grid.is-list-view .product-card--text-list .product-card__summary {
    display: grid;
    gap: 3px;
    font-size: 14px;
    line-height: 1.4;
  }

  .product-card__summary .product-card__fact-separator,
  .product-grid.is-list-view .product-card--text-list .product-card__summary .product-card__fact-separator {
    display: none;
  }

  .product-card__fact--style .product-card__technical-value {
    color: #f1eadb;
    font-weight: 750;
  }

  .product-card__technical-label {
    font-weight: 850;
  }

  .product-card__technical-value {
    color: #c7c1b4;
    font-weight: 650;
  }

  .product-option-group {
    gap: 7px;
  }

  .product-option-group > small,
  .product-grid.is-list-view .product-card--text-list .product-option-group > small {
    padding-bottom: 1px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.08em;
  }

  .product-card .product-option-switch > button,
  .product-grid.is-list-view .product-card--text-list .product-option-switch > button {
    min-height: 46px;
    padding: 7px 9px;
  }

  .product-card .product-option-switch > button strong,
  .product-grid.is-list-view .product-card--text-list .product-option-switch > button strong {
    font-size: 15px !important;
    font-weight: 900;
    line-height: 1.15;
  }

  .product-card .product-option-switch > button span,
  .product-grid.is-list-view .product-card--text-list .product-option-switch > button span {
    font-size: 11px;
    line-height: 1.2;
  }

  .product-card .availability,
  .product-grid.is-list-view .product-card--text-list .availability {
    font-size: 14px !important;
    font-weight: 800;
    line-height: 1.3;
  }

  .product-card__prices > strong,
  .product-grid.is-list-view .product-card--text-list .product-card__prices > strong {
    display: flex;
    align-items: baseline;
    gap: 6px;
    overflow: visible;
    white-space: nowrap;
  }

  .product-grid.is-list-view .product-card--text-list .product-card__prices > strong {
    justify-content: flex-end;
  }

  .product-card__prices > strong .product-card__price-unit,
  .product-grid.is-list-view .product-card--text-list .product-card__prices > strong .product-card__price-unit {
    position: static;
    margin: 0;
    display: inline-block;
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    vertical-align: baseline;
    white-space: nowrap;
    transform: none;
  }

  .product-card__unit small {
    font-size: 10px;
    font-weight: 850;
  }

  .product-card__unit strong {
    font-size: 15px;
  }
}

/* 2026-08-25: polish inner navigation and simplify mobile product choices. */
@media (max-width: 899px) {
  .shop-app:not(.is-root-route) .shop-header .shop-back:not([hidden]) {
    border-color: rgba(143, 91, 4, 0.42);
    color: #21170a;
    background: linear-gradient(145deg, #f7da77 0%, #e6b441 54%, #c98c1d 100%);
    box-shadow:
      0 11px 25px rgba(112, 73, 7, 0.3),
      inset 0 1px 0 rgba(255, 251, 218, 0.72);
  }

  .shop-app:not(.is-root-route) .shop-header .shop-back:not([hidden]) > span,
  .shop-app:not(.is-root-route) .shop-header .shop-back:not([hidden]) > small {
    color: #21170a !important;
  }

  .product-card .product-card__producer,
  .product-grid.is-list-view .product-card--text-list .product-card__producer {
    color: #e8bb4b !important;
    -webkit-text-fill-color: #e8bb4b;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.25;
    opacity: 1;
    text-shadow: 0 1px 10px rgba(226, 171, 49, 0.22);
  }

  .product-card .product-option-switch > button,
  .product-grid.is-list-view .product-card--text-list .product-option-switch > button {
    min-height: 46px;
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .catalog-scroll-top {
    border-color: rgba(126, 80, 5, 0.46);
    box-shadow:
      0 20px 40px rgba(39, 25, 2, 0.46),
      0 9px 18px rgba(149, 97, 8, 0.4),
      0 0 0 3px rgba(255, 230, 148, 0.56),
      0 0 30px rgba(231, 178, 49, 0.52),
      inset 0 1px 0 rgba(255, 252, 224, 0.84);
    filter: drop-shadow(0 7px 10px rgba(45, 28, 2, 0.34));
  }
}

/* 2026-08-25: clearer brewery statistics, results and product actions. */
@media (max-width: 899px) {
  .brewery-hero-card__facts {
    padding: 12px 10px 14px;
    grid-template-columns: minmax(58px, 0.62fr) minmax(66px, 0.72fr) minmax(0, 1.9fr);
    gap: 0;
    align-items: stretch;
  }

  .brewery-hero-card__facts > span {
    min-width: 0;
    padding: 0 10px;
    align-content: start;
  }

  .brewery-hero-card__facts > span:first-child {
    padding-left: 2px;
  }

  .brewery-hero-card__facts > span + span {
    border-left: 1px solid rgba(116, 86, 28, 0.2);
  }

  .brewery-hero-card__facts > span:last-child {
    padding-right: 2px;
  }

  .brewery-hero-card__facts small {
    color: #786f61;
    font-size: 12px;
    font-weight: 700;
  }

  .brewery-hero-card__facts strong {
    color: #19150e;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.25;
  }

  .brewery-hero-card__facts > span:last-child strong {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .brewery-results-heading {
    align-items: center;
  }

  .brewery-results-heading > div {
    gap: 0;
  }

  .brewery-results-heading strong {
    color: #f0c95c;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.2;
    text-shadow: 0 2px 13px rgba(218, 162, 35, 0.22);
  }

  .brewery-product-grid .favorite-toggle--card {
    border-color: rgba(137, 94, 16, 0.42);
    color: #1d1810 !important;
    background: rgba(255, 253, 247, 0.98);
    box-shadow:
      0 9px 20px rgba(43, 29, 4, 0.26),
      inset 0 1px 0 #ffffff;
    opacity: 1;
  }

  .brewery-product-grid .favorite-toggle--card path {
    fill: transparent;
    stroke: #1d1810 !important;
    stroke-width: 2.15;
  }

  .brewery-product-grid .favorite-toggle--card.is-favorite {
    color: #21170a !important;
    background: linear-gradient(145deg, #f6db79, #d7a333);
  }

  .brewery-product-grid .favorite-toggle--card.is-favorite path {
    fill: #21170a;
    stroke: #21170a !important;
  }
}

/* 2026-08-25: readable product variants and safe spacing below the mobile header. */
@media (max-width: 899px) {
  .shop-app.is-product-route:not(.is-auth-route):not(.is-age-route) .shop-view {
    padding-top: 30px !important;
  }

  .product-detail .product-card__options--detail {
    margin-top: 18px;
    margin-bottom: 8px;
    gap: 10px;
  }

  .product-detail .product-option-group {
    gap: 9px;
  }

  .product-detail .product-option-group > small {
    padding-bottom: 2px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0.09em;
  }

  .product-detail .product-option-switch > button {
    min-height: 58px;
    padding: 12px 14px;
    border-radius: 13px;
  }

  .product-detail .product-option-switch > button strong {
    font-size: 18px !important;
    font-weight: 900;
    line-height: 1.15;
  }

  .product-detail__media > .favorite-toggle--detail {
    border-color: rgba(137, 94, 16, 0.42);
    color: #1d1810 !important;
    background: rgba(255, 253, 247, 0.98);
    box-shadow:
      0 9px 20px rgba(43, 29, 4, 0.25),
      inset 0 1px 0 #ffffff;
    opacity: 1;
  }

  .product-detail__media > .favorite-toggle--detail path {
    fill: transparent;
    stroke: #1d1810 !important;
    stroke-width: 2.15;
  }

  .product-detail__media > .favorite-toggle--detail.is-favorite path {
    fill: #21170a;
    stroke: #21170a !important;
  }
}

/* 2026-08-25: keep the brewery badge clear of the inline mobile header. */
@media (max-width: 899px) {
  .shop-app.is-brewery-route:not(.is-auth-route):not(.is-age-route) .shop-view {
    padding-top: 30px !important;
  }
}
