:root {
  color-scheme: light;
  --black: #141311;
  --ink: #141311;
  --paper: #FAF8F5;
  --surface: #FFFFFF;
  --soft: #F3EFE8;
  --line: #E6E1D8;
  --muted: #544F48;
  --wine: #8C6D46;
  --wine-soft: rgba(140, 109, 70, 0.10);
  --safe-bottom: max(16px, env(safe-area-inset-bottom));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.has-drawer { overflow: hidden; }

button, input, a, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
}
.skip-link:focus { top: 12px; }

.shop-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px clamp(16px, 3vw, 40px);
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.wordmark {
  color: var(--ink);
  text-decoration: none;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 5vw, 31px);
  letter-spacing: .22em;
  line-height: 1;
}

.brand-subtitle {
  font-size: 9.5px;
  letter-spacing: .14em;
  color: var(--muted);
  font-weight: 600;
}

.ecat-primary-nav {
  display: none;
  align-items: center;
  gap: 22px;
  margin-inline: 12px auto;
}
.ecat-primary-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.ecat-primary-nav a:hover {
  color: var(--ink);
}
@media (min-width: 960px) {
  .ecat-primary-nav {
    display: flex;
  }
}

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

.locale-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--line);
}

.locale-pill {
  min-width: 30px;
  min-height: 28px;
  padding: 0 7px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  cursor: pointer;
}

.locale-pill.is-active {
  background: var(--ink);
  color: #FFFFFF;
}

.locale-select {
  height: 28px;
  padding: 0 8px;
  border: 0;
  border-inline-start: 1px solid var(--line);
  border-radius: 0 999px 999px 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 560px) {
  .locale-pill {
    display: none;
  }
  .locale-select {
    border-inline-start: 0;
    border-radius: 999px;
  }
}

.header-channel-link {
  display: none;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
}

.icon-button, .bag-button {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--ink);
  cursor: pointer;
}

.icon-button svg, .bag-button svg, .sticky-bag svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bag-button span {
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
  font-size: 11px;
  font-weight: 700;
}

main {
  width: min(1320px, 100%);
  margin: 0 auto;
  padding: 0 clamp(16px, 4.5vw, 56px) 150px;
}

.intro { padding: 20px 0 14px; }
.intro-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.intro-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.outline-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #FFFFFF;
  color: var(--ink);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.outline-link:hover { border-color: var(--black); }

.test-label {
  margin: 0 0 6px;
  color: var(--wine);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .16em;
}

.intro h1, .drawer-heading h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.02em;
}

.intro h1 { font-size: clamp(28px, 4.2vw, 44px); line-height: 1.06; }
.intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}
.intro-meta strong { color: var(--ink); }

.search-panel { margin-top: 14px; }
.search-panel label { display: block; margin-bottom: 5px; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #FFFFFF;
}
.search-field:focus-within {
  border-color: var(--black);
  background: var(--paper);
}
.search-field input {
  width: 100%;
  min-height: 46px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}
.search-field button {
  border: 0;
  background: transparent;
  color: var(--wine);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.filter-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.filter-pill small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
}

.filter-pill.is-active {
  border-color: var(--black);
  background: var(--black);
  color: white;
}

.filter-pill.is-active small {
  color: rgba(255, 255, 255, 0.72);
}

.filter-row--brands .filter-pill.is-active {
  border-color: var(--wine);
  background: var(--wine);
}

.status-panel, .error-panel {
  display: grid;
  min-height: 300px;
  place-content: center;
  justify-items: center;
  text-align: center;
}
.loader {
  width: 32px;
  height: 32px;
  border: 2px solid var(--line);
  border-top-color: var(--wine);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loader { animation: none; } }

.catalog-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 14px 0 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.catalog-summary p { margin: 0; }
.catalog-summary strong { color: var(--ink); }

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

.product-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-visual {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  background: #F3EFE8;
  border: 1px solid var(--line);
}
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 6%;
  cursor: zoom-in;
}
.product-card.is-blocked .product-visual {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,.8), rgba(239,237,235,.8)),
    repeating-linear-gradient(45deg, transparent 0 10px, rgba(104,19,41,.04) 10px 20px);
}
.awaiting-mark {
  width: 74%;
  color: var(--muted);
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 4vw, 26px);
  line-height: 1.15;
}
.visual-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 5px 8px;
  border-radius: 4px;
  background: rgba(5,5,5,.86);
  color: white;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
}

.price-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.view-switcher {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 4px;
  pointer-events: none;
}

.view-pill {
  pointer-events: auto;
  min-height: 26px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.68);
  color: rgba(255, 255, 255, 0.85);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.view-pill.is-active {
  background: white;
  color: var(--black);
  border-color: white;
}

.product-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding-top: 10px;
}

.product-brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--wine);
}

.product-barcode {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

.product-code {
  margin: 3px 0 0;
  overflow-wrap: anywhere;
  font-size: clamp(15px, 3.4vw, 18px);
  font-weight: 650;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.colour-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.product-pack-meta {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--ink);
  font-weight: 600;
}

.add-button {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.add-button:hover {
  background: var(--black);
  border-color: var(--black);
  color: white;
}
.add-button.in-cart {
  background: var(--wine);
  border-color: var(--wine);
  color: white;
}
.add-button span:last-child { font-size: 18px; font-weight: 500; }

.blocked-state {
  min-height: 44px;
  margin: 7px 0 0;
  padding-top: 11px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.safety-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.safety-note span, .drawer-note span {
  display: inline-grid;
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--wine);
  border-radius: 50%;
  color: var(--wine);
  font-family: Georgia, serif;
  font-style: italic;
}
.safety-note p { margin: 2px 0 0; }

.empty-results { padding: 48px 0; color: var(--muted); text-align: center; }

.error-panel { max-width: 560px; margin: 0 auto; }
.error-kicker { color: var(--wine); font-size: 11px; font-weight: 750; letter-spacing: .13em; }
.error-panel h2 { margin: 4px 0 12px; font-family: Georgia, serif; font-size: 36px; font-weight: 400; }
.error-panel p { color: var(--muted); }
.error-panel button { min-height: 48px; padding: 0 24px; border: 0; background: var(--black); color: white; cursor: pointer; }

.sticky-order {
  position: fixed;
  z-index: 25;
  left: 16px;
  right: 16px;
  bottom: var(--safe-bottom);
  max-width: 760px;
  margin: 0 auto;
}
.sticky-order button {
  display: grid;
  width: 100%;
  min-height: 64px;
  grid-template-columns: 48px 1fr 44px;
  align-items: center;
  border: 0;
  border-radius: 12px;
  background: var(--black);
  color: white;
  box-shadow: 0 12px 35px rgba(0,0,0,.26);
  cursor: pointer;
  font-size: 16px;
  text-align: left;
}
.sticky-bag { display: grid; place-items: center; }
.sticky-bag svg { width: 24px; height: 24px; }
.sticky-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}
.sticky-summary small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}
.sticky-order .arrow { font-size: 26px; font-weight: 300; text-align: center; }

.drawer-backdrop {
  position: fixed;
  z-index: 45;
  inset: 0;
  background: rgba(0,0,0,.64);
  backdrop-filter: blur(2px);
}

.order-drawer {
  position: fixed;
  z-index: 50;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  max-height: min(86vh, 900px);
  flex-direction: column;
  padding: 10px 22px var(--safe-bottom);
  overflow: hidden;
  border-radius: 22px 22px 0 0;
  background: white;
  box-shadow: 0 -18px 50px rgba(0,0,0,.18);
}
.drawer-handle { width: 44px; height: 5px; margin: 0 auto 14px; border-radius: 9px; background: #c8c6c4; }
.drawer-heading { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.drawer-heading h2 { font-size: 34px; }
.drawer-totals { margin: 6px 0 0; font-size: 13px; color: var(--wine); font-weight: 650; }
.drawer-close { width: 44px; height: 44px; border: 0; background: transparent; color: var(--wine); cursor: pointer; font-size: 36px; font-weight: 200; line-height: 1; }

.order-items { overflow: auto; overscroll-behavior: contain; flex: 1; }
.order-item {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 36px;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.order-item img { width: 84px; height: 116px; border-radius: 6px; object-fit: cover; object-position: center 18%; background: var(--soft); }
.order-item h3 { margin: 2px 0 4px; overflow-wrap: anywhere; font-size: 15px; font-weight: 600; }
.order-item p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.remove-item { width: 36px; height: 36px; border: 0; background: transparent; color: var(--wine); cursor: pointer; font-size: 28px; font-weight: 200; }
.quantity-control { display: grid; width: 140px; grid-template-columns: 38px 1fr 38px; align-items: center; margin-top: 10px; text-align: center; }
.quantity-control button { width: 36px; height: 36px; border: 1px solid var(--wine); border-radius: 50%; background: white; color: var(--wine); cursor: pointer; font-size: 20px; }

.empty-cart { padding: 48px 0; text-align: center; }
.empty-cart p { margin: 0 0 7px; font-family: Georgia, serif; font-size: 26px; }
.empty-cart span { color: var(--muted); font-size: 13px; }
.drawer-footer { padding-top: 14px; border-top: 1px solid var(--line); }
.drawer-note { display: flex; gap: 10px; margin: 0 0 12px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.drawer-note em { font-style: normal; }
.drawer-note span { width: 21px; height: 21px; flex-basis: 21px; }

.drawer-actions-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.whatsapp-button {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-radius: 10px;
  background: var(--black);
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
}
.whatsapp-button[aria-disabled="true"],
.secondary-action-button[aria-disabled="true"],
.secondary-action-button:disabled {
  opacity: .35;
  pointer-events: none;
}
.whatsapp-button span:last-child { font-size: 24px; }

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

.secondary-action-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.secondary-action-button:hover {
  border-color: var(--black);
}

.keep-shopping { display: block; min-height: 42px; margin: 4px auto 0; border: 0; background: transparent; color: var(--wine); font-size: 13px; font-weight: 600; cursor: pointer; }

.zoom-modal {
  position: fixed;
  z-index: 65;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
}
.zoom-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}
.zoom-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(560px, 100%);
  max-height: 92vh;
  border-radius: 16px;
  background: var(--paper);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.zoom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
.zoom-header strong { display: block; font-size: 16px; }
.zoom-header small { color: var(--muted); font-size: 12px; }
.zoom-stage {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  background: #efedeb;
  overflow: hidden;
}
.zoom-stage img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
}
.zoom-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
}
.zoom-views { display: flex; gap: 6px; }
.zoom-add-button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: var(--wine);
  color: white;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.toast {
  position: fixed;
  z-index: 80;
  left: 50%;
  bottom: 98px;
  width: max-content;
  max-width: calc(100% - 40px);
  transform: translateX(-50%);
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--wine);
  color: white;
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  font-size: 13px;
  text-align: center;
}

.wordmark-lockup {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.header-brand-logo {
  display: block;
  height: 30px;
  width: auto;
  object-fit: contain;
}

.header-pdf-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #b91c1c;
  background: #b91c1c;
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}
.header-pdf-button:hover {
  background: #991b1b;
}

.primary-pdf-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--wine);
  border-radius: 999px;
  background: var(--wine);
  color: white;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.primary-pdf-link:hover {
  background: var(--black);
  border-color: var(--black);
}

.print-only-brand-banner {
  display: none;
}

.telegram-floors-directory {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #FFFFFF;
  box-shadow: 0 4px 16px rgba(20, 19, 17, 0.04);
  overflow: hidden;
}

.telegram-floors-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.telegram-floors-summary::-webkit-details-marker {
  display: none;
}

.telegram-floors-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.telegram-floors-body {
  padding: 0 16px 16px;
  border-top: 1px solid var(--line);
}

.telegram-floors-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.telegram-floors-brand img {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.telegram-floors-brand strong {
  display: block;
  font-size: 12.5px;
  letter-spacing: .02em;
}

.telegram-floors-brand span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.telegram-floors-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 12px;
}

.tg-channel-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--black);
  color: white;
  text-decoration: none;
  font-size: 11px;
  font-weight: 650;
}
.tg-channel-chip--test {
  background: #1d4ed8;
}
.tg-channel-chip--wa {
  background: #15803d;
}

.telegram-floors-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.tg-floor-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 48px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.tg-floor-btn:hover,
.tg-floor-btn.is-active {
  border-color: var(--black);
  background: var(--black);
  color: white;
}
.tg-floor-btn:hover small,
.tg-floor-btn.is-active small {
  color: rgba(255, 255, 255, 0.76);
}
.tg-floor-num {
  font-size: 12px;
  font-weight: 700;
}
.tg-floor-btn small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}
.tg-floor-btn--accent {
  border-color: rgba(104, 19, 41, 0.35);
  background: rgba(104, 19, 41, 0.06);
}
.tg-floor-btn--video {
  border-color: rgba(29, 78, 216, 0.35);
  background: rgba(29, 78, 216, 0.05);
}

.product-card-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 6px;
}

.card-direct-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-size: 11px;
  font-weight: 650;
}
.card-direct-link:hover {
  border-color: var(--black);
  background: var(--soft);
}
.card-direct-link--wa {
  border-color: rgba(21, 128, 61, 0.35);
  color: #166534;
}

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

.pdf-dialog {
  width: min(600px, 100%);
}
.pdf-dialog-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pdf-dialog-brand img {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.pdf-dialog-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
}
.pdf-option-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.pdf-option-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}
.pdf-option-group select {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-size: 14px;
}
.pdf-option-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pdf-check-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  cursor: pointer;
}
.pdf-features-list {
  display: grid;
  gap: 5px;
  padding: 12px;
  border-radius: 10px;
  background: var(--soft);
  border: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink);
}
.pdf-status-line {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--wine-soft);
  color: var(--wine);
  font-size: 12px;
  font-weight: 650;
}

@media (min-width: 700px) {
  .header-channel-link { display: inline-flex; }
  .telegram-floors-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .drawer-secondary-actions { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; }
  .order-drawer { left: auto; width: min(540px, 100%); height: 100%; max-height: none; border-radius: 0; padding: 18px 32px 24px; }
  .drawer-backdrop { backdrop-filter: blur(4px); }
}

@media (min-width: 1040px) {
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 24px; }
  .sticky-order { left: auto; right: 36px; width: 420px; }
}

@media print {
  .skip-link, .shop-header, .search-panel, .filter-bar, .sticky-order, .view-switcher, .add-button, .intro-quick-links, .telegram-floors-directory, .pdf-modal, .zoom-modal, .order-drawer, .drawer-backdrop, .toast { display: none !important; }
  .product-card { break-inside: avoid; page-break-inside: avoid; }
  .print-only-brand-banner {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    margin-bottom: 14px;
    border-bottom: 2px solid #11100f;
  }
  .print-only-brand-banner p { margin: 4px 0 0; font-size: 11px; color: #444; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

:focus-visible { outline: 2px solid #b83d5b; outline-offset: 3px; }
[hidden] { display: none !important; }

/* Stock Status Badges & B2B Trade Conditions Grid */
.stock-status-badge {
  position: absolute;
  top: 40px;
  inset-inline-start: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}
.stock-status-badge.is-in {
  background: rgba(16, 122, 65, 0.94);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.stock-status-badge.is-out {
  background: rgba(24, 22, 20, 0.86);
  color: #f4ebe1;
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.ecat-b2b-section {
  max-width: 1360px;
  margin: 28px auto 48px;
  padding: 0 20px;
}
.ecat-b2b-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.ecat-b2b-card {
  background: #ffffff;
  border: 1px solid var(--line, #e6e1d8);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px -16px rgba(20, 19, 17, 0.08);
}
.ecat-b2b-kicker {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8c6d46;
  margin-bottom: 6px;
}
.ecat-b2b-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  color: #141311;
}
.ecat-b2b-card p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #544f48;
}
