﻿:root {
  color-scheme: dark;
  --sidebar-sticky-top: 196px;
  --sidebar-heading-shift: 58px;
  --mobile-menu-top: 160px;
  --bg: #090907;
  --panel: rgba(17, 16, 13, 0.96);
  --panel-solid: #12110e;
  --ink: #fffaf0;
  --muted: #b8ad99;
  --line: #3b3122;
  --accent: #c99a35;
  --accent-strong: #f0c86a;
  --aqua: #38b98e;
  --mist: #211b13;
  --rose: #ef6f66;
  --gold: #f0c86a;
  --violet: #8b7651;
  --shadow: 0 26px 64px rgba(0, 0, 0, 0.56);
  --soft-shadow: 0 14px 34px rgba(0, 0, 0, 0.4);
  --header-bg: rgba(9, 9, 7, 0.92);
  --header-line: rgba(201, 154, 53, 0.26);
  --surface-soft: rgba(28, 25, 19, 0.86);
  --surface-mid: rgba(34, 30, 22, 0.82);
  --surface-strong: rgba(22, 20, 15, 0.98);
  --surface-pop: #1d1a13;
  --panel-grad-a: rgba(31, 27, 20, 0.98);
  --panel-grad-b: rgba(46, 34, 16, 0.86);
  --overlay: rgba(0, 0, 0, 0.82);
  --field-bg: rgba(10, 10, 8, 0.98);
  --chip-bg: rgba(50, 38, 20, 0.94);
  --home-bg: rgba(24, 21, 16, 0.9);
  --photo-grad-a: rgba(49, 37, 18, 0.92);
  --photo-grad-b: rgba(10, 10, 8, 0.9);
  --line-soft: rgba(201, 154, 53, 0.28);
  --hover-soft: rgba(61, 45, 20, 0.95);
  --modal-border: rgba(201, 154, 53, 0.36);
  --panel-tint: rgba(54, 41, 21, 0.68);
  --dot-muted: rgba(184, 173, 153, 0.26);
  --page-grad-a: rgba(9, 9, 7, 0.98);
  --page-grad-b: rgba(33, 25, 12, 0.92);
  --page-grad-c: rgba(3, 3, 2, 1);
  --grid-line-1: rgba(201, 154, 53, 0.032);
  --grid-line-2: rgba(56, 185, 142, 0.018);
  --sidebar-head-a: rgba(31, 27, 20, 0.98);
  --sidebar-head-b: rgba(55, 39, 14, 0.9);
  --price-badge-text: #120f08;
  --price-badge-a: #f0c86a;
  --price-badge-b: #38b98e;
  --price-badge-shadow: rgba(240, 200, 106, 0.22);
}
body[data-theme="dark"] {
  color-scheme: dark;
  --sidebar-sticky-top: 196px;
  --sidebar-heading-shift: 58px;
  --mobile-menu-top: 160px;
  --bg: #111413;
  --panel: rgba(20, 24, 22, 0.94);
  --panel-solid: #171b19;
  --ink: #f6fbf8;
  --muted: #9fb1aa;
  --line: #2b3a34;
  --accent: #11a875;
  --accent-strong: #64ddb3;
  --aqua: #6be0cd;
  --mist: #1d2824;
  --rose: #ff7d7d;
  --gold: #d7ac42;
  --violet: #6d8f82;
  --shadow: 0 26px 62px rgba(0, 0, 0, 0.5);
  --soft-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
  --header-bg: rgba(15, 18, 17, 0.88);
  --header-line: rgba(72, 109, 95, 0.34);
  --surface-soft: rgba(30, 38, 34, 0.8);
  --surface-mid: rgba(34, 44, 39, 0.78);
  --surface-strong: rgba(24, 31, 28, 0.96);
  --surface-pop: #1d2522;
  --panel-grad-a: rgba(30, 38, 34, 0.98);
  --panel-grad-b: rgba(9, 54, 41, 0.78);
  --overlay: rgba(0, 0, 0, 0.78);
  --field-bg: rgba(14, 18, 17, 0.96);
  --chip-bg: rgba(18, 68, 52, 0.9);
  --home-bg: rgba(24, 31, 28, 0.86);
  --photo-grad-a: rgba(18, 66, 51, 0.88);
  --photo-grad-b: rgba(17, 20, 19, 0.86);
  --line-soft: rgba(77, 112, 99, 0.45);
  --hover-soft: rgba(18, 72, 54, 0.92);
  --modal-border: rgba(77, 112, 99, 0.58);
  --panel-tint: rgba(20, 66, 52, 0.64);
  --dot-muted: rgba(159, 177, 170, 0.26);
  --page-grad-a: rgba(12, 15, 14, 0.98);
  --page-grad-b: rgba(11, 31, 25, 0.92);
  --page-grad-c: rgba(4, 8, 7, 1);
  --grid-line-1: rgba(17, 168, 117, 0.035);
  --grid-line-2: rgba(107, 224, 205, 0.022);
  --sidebar-head-a: rgba(31, 39, 35, 0.98);
  --sidebar-head-b: rgba(11, 64, 48, 0.82);
  --price-badge-text: #101311;
  --price-badge-a: #7ff0bd;
  --price-badge-b: #d9b24a;
  --price-badge-shadow: rgba(127, 240, 189, 0.22);
}
body[data-theme="neon"] {
  color-scheme: light;
  --sidebar-sticky-top: 196px;
  --sidebar-heading-shift: 58px;
  --mobile-menu-top: 160px;
  --bg: #fbf9f1;
  --panel: rgba(255, 255, 255, 0.96);
  --panel-solid: #ffffff;
  --ink: #20211d;
  --muted: #6d7068;
  --line: #ded9c9;
  --accent: #0c7f58;
  --accent-strong: #1f352d;
  --aqua: #77c8ae;
  --mist: #f1ede1;
  --rose: #a8403c;
  --gold: #bf8b22;
  --violet: #606d64;
  --shadow: 0 18px 42px rgba(31, 53, 45, 0.11);
  --soft-shadow: 0 10px 26px rgba(32, 33, 29, 0.07);
  --header-bg: rgba(251, 249, 241, 0.92);
  --header-line: rgba(222, 217, 201, 0.9);
  --surface-soft: rgba(255, 255, 255, 0.86);
  --surface-mid: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.98);
  --surface-pop: #ffffff;
  --panel-grad-a: rgba(255, 255, 255, 0.98);
  --panel-grad-b: rgba(241, 237, 225, 0.78);
  --overlay: rgba(22, 27, 24, 0.42);
  --field-bg: rgba(255, 255, 255, 0.98);
  --chip-bg: #eef2e8;
  --home-bg: rgba(255, 255, 255, 0.84);
  --photo-grad-a: rgba(241, 237, 225, 0.95);
  --photo-grad-b: rgba(255, 255, 255, 0.78);
  --line-soft: rgba(222, 217, 201, 0.84);
  --hover-soft: rgba(239, 245, 236, 0.98);
  --modal-border: rgba(222, 217, 201, 0.94);
  --panel-tint: rgba(241, 237, 225, 0.6);
  --dot-muted: rgba(109, 112, 104, 0.27);
  --page-grad-a: rgba(246, 244, 235, 0.98);
  --page-grad-b: rgba(255, 255, 255, 0.82);
  --page-grad-c: rgba(238, 244, 236, 0.96);
  --grid-line-1: rgba(12, 127, 88, 0.03);
  --grid-line-2: rgba(191, 139, 34, 0.025);
  --sidebar-head-a: rgba(255, 255, 255, 0.98);
  --sidebar-head-b: rgba(241, 237, 225, 0.96);
  --price-badge-text: #fffdf7;
  --price-badge-a: #1f352d;
  --price-badge-b: #0c7f58;
  --price-badge-shadow: rgba(31, 53, 45, 0.2);
}
* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(145deg, var(--page-grad-a), var(--page-grad-b) 42%, var(--page-grad-c)),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

body.mobile-menu-open {
  overflow: hidden;
}

body.mobile-search-open #searchToggleButton {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

body.age-gate-active {
  overflow: hidden;
}

body.age-gate-active > :not(.age-gate) {
  filter: blur(12px);
  pointer-events: none;
  user-select: none;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line-1) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line-2) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
}

button,
input,
select {
  font: inherit;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 144px minmax(0, 1120px);
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(14px, 3.5vw, 44px);
  border-bottom: 1px solid var(--header-line);
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(1.16);
}

.brand {
  display: grid;
  place-items: center;
  min-height: auto;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 144px;
  height: 126px;
  place-items: center;
  overflow: visible;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  transform: translateY(-14px);
}

.brand-mark img {
  width: 164px;
  height: 164px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(11, 95, 81, 0.2));
}

.header-shell {
  display: grid;
  gap: 12px;
  position: relative;
  padding-right: 91px;
  width: 100%;
  min-width: 0;
}

.brand-copy {
  display: grid;
  justify-self: center;
  justify-items: center;
  width: min(100%, 872px);
  gap: 2px;
  cursor: default;
}

.brand-copy strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.28em;
  font-family: "Cinzel", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.2vw, 4rem);
  font-weight: 900;
  line-height: 0.92;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
}

.brand-copy-primary {
  display: inline-block;
  font-size: clamp(2.1rem, 4.1vw, 4rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.brand-copy-secondary {
  display: inline-block;
  margin-top: 0;
  font-size: clamp(2.1rem, 4.1vw, 4rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
}

.header-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
  justify-self: center;
  width: min(100%, 872px);
}

.header-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.header-nav-button {
  justify-content: center;
  min-height: 42px;
  min-width: 120px;
  padding: 8px 14px;
  border: 1px solid var(--line-soft);
  color: var(--accent-strong);
  background: var(--surface-mid);
  box-shadow: var(--soft-shadow);
}

.header-nav-button:hover {
  transform: translateY(-1px);
  color: var(--rose);
}

.header-nav-button.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 10px 22px rgba(11, 95, 81, 0.22);
}

.header-catalog-controls {
  display: grid;
  grid-template-areas: "search";
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.header-catalog-controls[hidden] {
  display: none;
}

.header-catalog-controls.has-store-switch {
  grid-template-areas: "store search";
  grid-template-columns: 180px minmax(0, 1fr);
}

.search {
  grid-area: search;
  position: relative;
  display: grid;
  gap: 6px;
  width: 100%;
  max-width: none;
  align-self: start;
  padding: 10px;
  border: 1px solid var(--header-line);
  border-radius: 8px;
  background: var(--surface-soft);
  box-shadow: 0 10px 28px rgba(16, 96, 82, 0.07);
}

.store-switch {
  grid-area: store;
  display: grid;
  gap: 6px;
  align-self: start;
  padding: 10px;
  border: 1px solid var(--header-line);
  border-radius: 8px;
  background: var(--surface-soft);
  box-shadow: 0 10px 28px rgba(16, 96, 82, 0.07);
}

.store-switch[hidden] {
  display: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.header-actions {
  position: absolute;
  top: 4px;
  right: 0;
  display: grid;
  gap: 8px;
  justify-items: end;
  width: 52px;
}

.header-toggle-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  width: 52px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--accent-strong);
  background: var(--surface-mid);
  box-shadow: var(--soft-shadow);
  font-size: 0.84rem;
  font-weight: 850;
  text-align: center;
}

.header-toggle-button:hover {
  transform: translateY(-1px);
  color: var(--rose);
}

.icon-choice-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-choice-button svg,
.header-toggle-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.menu-toggle-label {
  display: inline-block;
  white-space: nowrap;
}

.menu-toggle-x {
  display: inline-block;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 400;
}

#searchToggleButton svg,
#searchToggleButton svg * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-controls {
  display: none;
}

.mobile-menu-toggle {
  display: none;
}

.mobile-search-toggle {
  display: none;
}

.search label,
.store-switch label,
.eyebrow {
  color: var(--rose);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

.suggestions {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 50;
  display: grid;
  gap: 4px;
  max-height: min(360px, 70vh);
  overflow: auto;
  border: 1px solid var(--modal-border);
  border-radius: 8px;
  padding: 6px;
  background: var(--surface-pop);
  box-shadow: 0 18px 42px rgba(16, 96, 82, 0.16);
}

.suggestions[hidden] {
  display: none;
}

.suggestions button {
  display: grid;
  gap: 3px;
  min-height: 52px;
  padding: 8px 10px;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.suggestions button:hover,
.suggestions button.active,
.suggestions button:focus-visible {
  background: var(--hover-soft);
  outline: none;
}

.suggestions small {
  color: var(--muted);
  font-size: 0.78rem;
}

input {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 13px;
  color: var(--ink);
  background: var(--field-bg);
}

select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 36px 10px 13px;
  color: var(--ink);
  background:
    linear-gradient(45deg, transparent 50%, var(--accent-strong) 50%) calc(100% - 18px) calc(50% - 2px) / 7px 7px no-repeat,
    linear-gradient(135deg, var(--accent-strong) 50%, transparent 50%) calc(100% - 13px) calc(50% - 2px) / 7px 7px no-repeat,
    var(--field-bg);
  appearance: none;
}

button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 850;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.search button,
.load-more {
  padding: 9px 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 10px 22px rgba(11, 95, 81, 0.2);
}

.search button:hover,
.load-more:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(11, 95, 81, 0.25);
}

button:focus,
input:focus,
select:focus {
  outline: 3px solid rgba(16, 144, 109, 0.22);
  outline-offset: 2px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(270px, 350px) minmax(0, 1fr);
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 0 0 44px;
}

.sidebar-rail {
  display: grid;
  position: sticky;
  top: calc(var(--sidebar-sticky-top) - var(--sidebar-heading-shift));
  align-content: start;
  align-self: start;
  gap: 18px;
  min-width: 0;
  max-height: calc(100vh - var(--sidebar-sticky-top) + var(--sidebar-heading-shift) - 18px);
  overflow: auto;
  scrollbar-color: var(--accent) transparent;
}

.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 24;
  border: 0;
  background: rgba(7, 28, 25, 0.34);
}

.tablet-menu-panel {
  display: none;
}

.page-sections {
  width: min(1440px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 44px;
}

.content-section {
  min-width: 0;
}

.content-section[hidden] {
  display: none;
}

.info-hero,
.products-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 420px);
  gap: 20px;
}

.info-card,
.products-hero {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--panel-grad-a), var(--panel-grad-b)),
    var(--panel-solid);
  box-shadow: var(--soft-shadow);
}

.info-card {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 24px;
}

.info-card-wide p,
.products-hero-copy p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.info-card-image {
  place-items: center;
  text-align: center;
}

.info-card-image img {
  width: min(280px, 100%);
  height: auto;
  object-fit: contain;
}

.products-section {
  display: grid;
  gap: 0;
}

.products-hero {
  grid-template-columns: minmax(0, 1fr);
  margin: 0 0 18px;
  padding: 24px;
  gap: 20px;
}

.home-hero-gallery {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
}

.home-hero-gallery-stage {
  position: relative;
  overflow: hidden;
  height: 300px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--photo-grad-a), var(--photo-grad-b)),
    var(--panel-solid);
  box-shadow: var(--soft-shadow);
}

.home-hero-gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 420ms ease;
}

.home-hero-gallery-slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
}

.home-hero-gallery-main {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.home-hero-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 14px;
}

.home-hero-gallery-dot {
  width: 10px;
  min-height: 10px;
  border-radius: 999px;
  padding: 0;
  background: var(--dot-muted);
}

.home-hero-gallery-dot.active {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.store-home-top {
  display: grid;
  grid-template-columns: minmax(430px, 1fr) minmax(320px, 1fr);
  gap: 20px;
  align-items: stretch;
}

.store-intro-column {
  display: grid;
  align-content: start;
  gap: 0;
}

.products-hero-copy {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface-soft);
}

.products-hero-copy p {
  max-width: 64ch;
}

.store-hero-address {
  display: grid;
  gap: 6px;
}

.store-hero-address h2 {
  max-width: none;
  margin: 0;
  color: var(--accent-strong);
  font-size: clamp(2rem, 3.35vw, 2.75rem);
  line-height: 1;
  white-space: nowrap;
}

.store-hero-address p,
.store-hero-contact p {
  margin: 0;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 720;
}

.store-hero-contact {
  display: grid;
  gap: 8px;
  margin-top: 6px;
}

.store-hero-contact strong {
  color: var(--accent-strong);
}

.store-hero-note {
  color: var(--muted) !important;
}

.store-gallery-stage {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--photo-grad-a), var(--photo-grad-b)),
    var(--panel-solid);
  box-shadow: var(--soft-shadow);
}

.store-gallery {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 10px;
  height: 100%;
  align-self: stretch;
}

.store-gallery-stage {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: clamp(240px, 30vw, 360px);
  max-height: 360px;
}

.store-gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 420ms ease;
}

.store-gallery-slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
}

.store-gallery-main {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  cursor: zoom-in;
}

.store-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 14px;
}

.store-gallery-dot {
  width: 10px;
  min-height: 10px;
  border-radius: 999px;
  padding: 0;
  background: var(--dot-muted);
}

.store-gallery-dot.active {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.store-comments-card {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid var(--line-soft);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.store-comments-wide {
  margin: 0;
}

.store-comments-card h3 {
  font-size: 1.2rem;
}

.store-comments-summary-link {
  display: grid;
  gap: 12px;
  color: inherit;
  padding: 16px 18px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface-soft);
  text-decoration: none;
}

.store-comments-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.store-comments-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.store-comments-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.store-review-card {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: inherit;
  background: var(--surface-soft);
  box-shadow: var(--soft-shadow);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.store-review-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line-soft));
  box-shadow: 0 14px 28px rgba(23, 34, 31, 0.12);
}

.store-comment {
  display: grid;
  gap: 8px;
}

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

.store-comment-head strong,
.store-rating-summary strong {
  color: var(--ink);
}

.store-rating-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
}

.store-rating-summary::before {
  display: grid;
  width: 52px;
  min-height: 52px;
  place-items: center;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 10px 24px rgba(11, 95, 81, 0.2);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  content: "4.5";
}

.store-rating-summary strong {
  font-size: 1.6rem;
  line-height: 1;
}

.store-rating-summary small {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.store-rating-stars {
  font-size: 0;
  color: var(--gold);
  letter-spacing: 0.08em;
}

.store-rating-stars::before {
  font-size: 1rem;
  content: "â…â…â…â…â…";
}

.store-review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.store-review-author div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.store-review-author small {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.store-review-avatar {
  display: grid;
  width: 40px;
  min-height: 40px;
  place-items: center;
  border-radius: 999px;
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent) 12%, var(--surface-pop));
  font-size: 0.92rem;
  font-weight: 900;
  flex-shrink: 0;
}

.store-review-stars {
  color: var(--gold);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

.store-comments-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  color: var(--accent-strong);
  background: var(--surface-strong);
  font-size: 0.84rem;
  font-weight: 850;
}

.store-review-card p,
.store-comment p {
  color: var(--ink);
}

.store-comments-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.store-comments-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: fit-content;
  border-radius: 8px;
  padding: 9px 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 10px 22px rgba(11, 95, 81, 0.2);
  font-weight: 850;
  text-decoration: none;
}

.store-comments-link.alt {
  color: var(--accent-strong);
  background: var(--surface-soft);
  box-shadow: none;
}

.sidebar {
  position: static;
  z-index: 5;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  scrollbar-color: var(--accent) transparent;
}

.sidebar-heading {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, var(--sidebar-head-a), var(--sidebar-head-b));
}

#menuTitle {
  cursor: pointer;
}

.sidebar-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--panel-grad-a), var(--panel-grad-b)),
    var(--panel-solid);
  box-shadow: var(--shadow);
}

.sidebar-card-heading {
  display: grid;
  gap: 6px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, var(--sidebar-head-a), var(--sidebar-head-b));
}

.sidebar-card-body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.sidebar-contact {
  align-self: start;
}

.sidebar-contact h2 {
  font-size: 1rem;
  color: var(--accent-strong);
}

.sidebar-contact-name {
  color: var(--accent-strong) !important;
  font-size: 1rem !important;
  font-weight: 850 !important;
}

.sidebar-card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.eyebrow {
  margin: 0 0 5px;
}

h1,
h2,
h3,
p,
span,
small,
dd {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  color: var(--rose);
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 2.8rem, 2.8rem);
  line-height: 1.04;
}

.menu-tree {
  padding: 8px;
}

.menu-item {
  display: grid;
}

.menu-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 0;
}

.menu-item.no-children > .menu-row {
  grid-template-columns: minmax(0, 1fr);
}

.menu-children {
  display: grid;
  margin-left: 16px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
  overflow: hidden;
  max-height: 1600px;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition:
    max-height 240ms ease,
    opacity 180ms ease,
    visibility 180ms ease;
}

.menu-children .menu-label {
  padding-left: 6px;
}

.menu-item.collapsed > .menu-children {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.menu-children > .menu-item {
  min-height: 0;
}

.menu-toggle,
.menu-button {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  color: var(--ink);
  background: transparent;
  text-align: left;
}

.menu-toggle {
  justify-content: center;
  width: 34px;
  margin: 4px 0 4px 8px;
  padding: 0;
}

.menu-item.no-children .menu-toggle {
  display: none;
}

.menu-button {
  justify-content: flex-start;
  gap: 10px;
  width: calc(100% - 8px);
  margin: 4px 8px 4px 0;
  padding: 9px 10px;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.menu-item.no-children .menu-button {
  width: calc(100% - 16px);
  margin-left: 8px;
}

.menu-toggle:hover,
.menu-button:hover {
  background: var(--hover-soft);
  transform: translateX(2px);
}

.menu-button.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 12px 24px rgba(11, 95, 81, 0.24);
}

.menu-button.active::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: -4px;
  width: 4px;
  border-radius: 4px;
  background: var(--gold);
  content: "";
}

.menu-label {
  font-size: 0.94rem;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

.menu-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid currentColor;
  opacity: 0.76;
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

.menu-item.collapsed > .menu-row .menu-caret {
  transform: rotate(0deg);
}

.menu-button small {
  display: none;
}

#allProductsCount {
  display: none;
}

.products {
  display: grid;
  align-content: start;
  min-width: 0;
}

.products-heading {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 0;
  margin: 0 0 14px;
  border: 1px solid var(--header-line);
  border-radius: 8px;
  padding: 10px 14px;
  background:
    linear-gradient(135deg, var(--panel-grad-a), var(--panel-grad-b)),
    var(--panel-solid);
  box-shadow: var(--soft-shadow);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-height: 0;
  margin-bottom: 0;
}

.breadcrumb button,
.breadcrumb span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--accent-strong);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 900;
}

.breadcrumb button {
  padding: 0;
}

.breadcrumb .home-crumb {
  justify-content: center;
  width: 32px;
  min-height: 32px;
  border: 1px solid var(--header-line);
  background: var(--home-bg);
}

.breadcrumb .home-crumb svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.breadcrumb button:hover {
  color: var(--rose);
}

.breadcrumb > * + *::before {
  margin-right: 7px;
  color: var(--muted);
  content: "/";
}

.summary {
  display: grid;
  gap: 6px;
  min-width: 190px;
  border: 1px solid rgba(201, 226, 220, 0.78);
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 850;
  text-align: right;
}

.summary span:first-child {
  color: var(--accent-strong);
}

#pageInfo {
  display: none;
}

#productsCount {
  display: none;
}

#viewToggleButton[hidden] {
  display: none;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
  opacity: 1;
  transition: opacity 180ms ease;
}

.products-grid[data-view="list"] {
  grid-template-columns: 1fr;
}

.products-grid.is-loading {
  opacity: 0.48;
}

.products-grid.is-refreshing {
  opacity: 0.88;
}

.product-card {
  min-height: 178px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--panel-solid);
  box-shadow: var(--soft-shadow);
  animation: cardIn 220ms ease both;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-card:hover {
  border-color: rgba(16, 144, 109, 0.48);
  box-shadow: 0 18px 34px rgba(16, 96, 82, 0.14);
  transform: translateY(-2px);
}

.product-open {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  min-height: 178px;
  padding: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.products-grid[data-view="list"] .product-card,
.products-grid[data-view="list"] .product-open {
  min-height: 96px;
}

.products-grid[data-view="list"] .product-open {
  grid-template-columns: 1fr;
}

.product-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  padding: 16px 16px 52px;
}

.products-grid[data-view="list"] .product-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-template-rows: auto 1fr auto;
  align-content: center;
  gap: 8px 14px;
  padding-bottom: 48px;
}

.product-topline {
  display: block;
  min-height: 0;
}

.product-code,
.product-price {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.82rem;
  font-weight: 900;
}

.product-code {
  position: absolute;
  top: 16px;
  right: 16px;
  justify-content: flex-end;
  max-width: 168px;
  color: var(--accent-strong);
  background: var(--chip-bg);
}

.product-price {
  position: absolute;
  right: 16px;
  bottom: 16px;
  color: var(--price-badge-text);
  background: linear-gradient(135deg, var(--price-badge-a), var(--price-badge-b));
  box-shadow: 0 10px 18px var(--price-badge-shadow);
  font-size: 0.94rem;
  padding: 6px 10px;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.22;
  padding-right: 132px;
}

.products-grid[data-view="list"] h3 {
  grid-column: 1 / 2;
}

.products-grid[data-view="list"] .product-topline {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  align-self: start;
  justify-self: stretch;
}

.products-grid[data-view="list"] .product-price {
  font-size: 1.08rem;
  padding: 7px 11px;
}

.products-grid[data-view="list"] .product-code {
  top: 14px;
  right: 14px;
  max-width: 160px;
}

.stock-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
}

.products-grid[data-view="list"] .stock-line {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
}

.assortment-gallery {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
}

.assortment-gallery[hidden] {
  display: none;
}

.assortment-gallery-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 8;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--photo-grad-a), var(--photo-grad-b)),
    var(--panel-solid);
  box-shadow: var(--soft-shadow);
}

.assortment-gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 420ms ease;
}

.assortment-gallery-slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
}

.assortment-gallery-main {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  cursor: zoom-in;
}

.assortment-gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 14px;
}

.assortment-gallery-dot {
  width: 10px;
  min-height: 10px;
  border-radius: 999px;
  padding: 0;
  background: var(--dot-muted);
}

.assortment-gallery-dot.active {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(16, 144, 109, 0.15);
}

.stock-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  box-shadow: 0 0 0 5px currentColor;
  opacity: 0.18;
}

.stock-line.stock-danger {
  color: #c92f36;
}

.stock-line.stock-warning {
  color: #d98413;
}

.stock-line.stock-ok {
  color: #188357;
}

.product-facts {
  display: grid;
  gap: 9px;
  margin: auto 0 0;
}

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

dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

dd {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 760;
}

.empty-state {
  min-height: 180px;
  padding: 60px 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface-mid);
  font-weight: 800;
  text-align: center;
}

.load-more {
  display: block;
  width: min(360px, 100%);
  margin: 22px auto 0;
}

.scroll-sentinel {
  min-height: 1px;
}

body.modal-open {
  overflow: hidden;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  backdrop-filter: blur(8px);
}

.modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 18px;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  border: 1px solid var(--modal-border);
  border-radius: 8px;
  padding: 18px;
  background: var(--panel-solid);
  box-shadow: 0 30px 80px rgba(7, 28, 25, 0.26);
  animation: modalIn 180ms ease both;
}

.age-gate[hidden] {
  display: none;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(5, 16, 17, 0.54);
  backdrop-filter: blur(6px);
}

.age-gate-panel {
  width: min(420px, 100%);
  border: 1px solid var(--modal-border);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  background: var(--panel-solid);
  box-shadow: 0 30px 80px rgba(7, 28, 25, 0.3);
}

.age-gate-panel img {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 10px;
}

#ageGateTitle {
  width: 100%;
  max-width: none;
  margin: 4px auto 18px;
  font-size: 1.35rem;
  line-height: 1.2;
  text-align: center;
}

.age-gate-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.age-gate-actions button {
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
}

.age-gate-confirm {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.age-gate-deny {
  color: var(--ink);
  background: var(--panel-muted);
}

.age-gate-message {
  margin: 14px 0 0;
  color: var(--danger);
  font-weight: 700;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  min-height: 36px;
  color: var(--muted);
  background: var(--mist);
}

.modal-photo {
  display: grid;
  align-content: start;
  gap: 10px;
}

.photo-preview {
  position: relative;
  display: grid;
  min-height: 220px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 16px;
  color: var(--muted);
  background:
    linear-gradient(135deg, var(--photo-grad-a), var(--photo-grad-b)),
    var(--panel-solid);
  font-weight: 900;
  text-align: center;
}

.photo-preview img {
  width: 100%;
  height: 100%;
  max-height: 360px;
  object-fit: contain;
}

.photo-preview[data-state="loaded"] span {
  display: none;
}

.photo-preview span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--surface-mid);
}

.image-search-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--accent-strong);
  font-weight: 850;
  text-decoration: none;
}

.google-image-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  color: var(--accent-strong);
  background: var(--surface-mid);
  font-weight: 850;
  text-decoration: none;
}

.google-image-link:hover {
  color: #ffffff;
  background: var(--accent);
}

.image-warning {
  margin: 8px 0 0;
  color: var(--rose);
  font-size: 0.82rem;
  font-weight: 850;
}

.admin-panel {
  grid-template-columns: 1fr;
  width: min(1080px, calc(100vw - 24px));
  max-height: min(840px, calc(100vh - 24px));
}

#adminEditView h2,
#adminLoginView h2 {
  max-width: none;
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 2.8vw, 2.8rem);
  line-height: 1.04;
}

.admin-edit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 18px;
  align-items: start;
}

.admin-section {
  min-width: 0;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 14px;
  background: var(--surface-mid);
}

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

.admin-greeting {
  margin: -2px 0 14px;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 800;
}

.admin-greeting strong {
  color: var(--accent-strong);
}

.admin-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 850;
}

.admin-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--field-bg);
  font: inherit;
  resize: vertical;
}

.admin-form button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.admin-password-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.admin-password-form h3 {
  margin: 0 0 2px;
  color: var(--accent-strong);
  font-size: 1rem;
}

.admin-save-bar {
  display: grid;
  gap: 8px;
  justify-items: center;
  margin-top: 20px;
  padding-top: 16px;
}

.admin-save-button {
  min-width: min(320px, 100%);
  min-height: 48px;
  padding: 12px 20px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 12px 28px color-mix(in srgb, var(--accent-strong) 28%, transparent);
}

.admin-save-bar .admin-message {
  text-align: center;
}

.upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 8px;
  padding: 9px 14px;
  color: #ffffff !important;
  background: var(--accent-strong);
  cursor: pointer;
  text-align: center;
}

.visually-hidden-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-sidepanels {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  min-width: 0;
}

.admin-panel-card {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.admin-panel-card h3 {
  color: var(--accent-strong);
  font-size: 1rem;
}

.admin-store-list,
.admin-assortment-list,
.admin-product-list {
  display: grid;
  gap: 5px;
  max-height: 320px;
  overflow: auto;
  padding-right: 4px;
  scrollbar-color: var(--accent) transparent;
}

.admin-store-row,
.admin-assortment-row,
.admin-product-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 38px;
  padding: 7px 8px;
  color: var(--ink);
  background: var(--surface-soft);
  text-align: left;
}

.admin-store-row:hover,
.admin-assortment-row:hover,
.admin-product-row:hover {
  background: var(--surface-pop);
  transform: translateX(2px);
}

.admin-store-row strong,
.admin-assortment-row strong,
.admin-product-row strong {
  color: var(--rose);
  font-size: 0.86rem;
}

.admin-store-row span,
.admin-assortment-row span,
.admin-product-row span {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}

.admin-help,
.admin-message {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.modal-content {
  min-width: 0;
  padding-right: 26px;
}

.modal-content h2 {
  max-width: 20ch;
  margin-bottom: 14px;
  font-size: clamp(1.7rem, 2.2rem, 2.2rem);
}

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

.modal-facts div {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  padding: 10px;
  background: var(--panel-tint);
}

.modal-stock.stock-danger {
  color: #c92f36;
}

.modal-stock.stock-warning {
  color: #d98413;
}

.modal-stock.stock-ok {
  color: #188357;
}

.modal-description {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.image-modal-panel {
  grid-template-columns: 1fr;
  width: min(1100px, calc(100vw - 28px));
  padding: 18px;
}

.image-modal-stage {
  display: grid;
  place-items: center;
  min-height: 60vh;
}

.image-modal-stage img {
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: 8px;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 1101px) {
  .app-header {
    grid-template-columns: 116px minmax(0, 960px);
    gap: 14px;
    padding: 14px clamp(12px, 2.8vw, 32px);
  }

  .brand-mark {
    width: 116px;
    height: 102px;
    transform: translateY(-10px);
  }

  .brand-mark img {
    width: 132px;
    height: 132px;
  }

  .header-shell {
    padding-right: 74px;
    gap: 10px;
  }

  .brand-copy,
  .header-body {
    width: min(100%, 698px);
  }

  .brand-copy strong,
  .brand-copy-primary,
  .brand-copy-secondary {
    font-size: clamp(1.72rem, 3.35vw, 3.2rem);
  }

  .search {
    padding: 8px;
  }

  .header-actions {
    top: 2px;
    gap: 6px;
    width: 44px;
  }

  .header-toggle-button {
    min-height: 34px;
    width: 44px;
    padding: 6px 9px;
  }

  .header-toggle-button svg {
    width: 16px;
    height: 16px;
  }

  .page-sections {
    width: min(1152px, calc(100% - 28px));
  }

  .layout {
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 20px;
  }
}

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

@media (max-width: 1100px) {
  :root {
    --sidebar-sticky-top: 168px;
    --sidebar-heading-shift: 52px;
  }

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

  .brand-mark {
    width: 112px;
    height: 106px;
  }

  .brand-mark img {
    width: 132px;
    height: 132px;
  }

  .header-shell {
    padding-right: 248px;
  }

  .header-catalog-controls.has-store-switch {
    grid-template-columns: 164px minmax(0, 1fr);
  }

  .header-actions {
    width: 182px;
  }

  .home-hero-gallery-stage {
    height: clamp(220px, 28vw, 300px);
  }

}

@media (max-width: 860px) {
  .app-header {
    grid-template-columns: 1fr;
    position: static;
    gap: 10px;
    padding-top: 14px;
  }

  .brand {
    justify-self: center;
  }

  .brand-mark {
    width: 110px;
    height: 104px;
    transform: none;
  }

  .brand-mark img {
    width: 132px;
    height: 132px;
  }

  .header-shell {
    gap: 10px;
    padding-right: 0;
  }

  .brand-copy {
    justify-items: center;
  }

  .brand-copy strong {
    text-align: center;
    justify-items: center;
  }

  .header-body,
  .layout,
  .info-hero,
  .products-hero,
  .store-home-top {
    grid-template-columns: 1fr;
  }

  .store-intro-column {
    gap: 0;
  }

  .header-nav {
    justify-content: center;
  }

  .header-catalog-controls,
  .header-catalog-controls.has-store-switch {
    grid-template-areas:
      "store store"
      "search search";
    grid-template-columns: 1fr 1fr;
  }

  .sidebar {
    position: static;
    max-height: 420px;
    overflow: hidden;
  }

  .sidebar-rail {
    position: static;
    gap: 14px;
    max-height: none;
    overflow: visible;
  }

  .products-heading {
    min-height: auto;
  }

  .store-switch,
  .header-actions {
    width: 100%;
  }

  .header-actions {
    position: static;
    grid-template-columns: repeat(2, minmax(56px, max-content));
    justify-content: start;
    gap: 8px 10px;
    width: auto;
  }

  .mobile-controls {
    display: inline-flex;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .header-toggle-button {
    width: 56px;
    min-height: 40px;
    min-width: 40px;
  }

  .admin-edit-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-rail {
    position: fixed;
    top: var(--mobile-menu-top);
    right: 12px;
    left: 12px;
    bottom: 12px;
    z-index: 26;
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    align-content: stretch;
    gap: 12px;
    height: calc(100dvh - var(--mobile-menu-top) - 12px);
    max-height: none;
    padding-right: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
      linear-gradient(135deg, var(--panel-grad-a), var(--panel-grad-b)),
      var(--panel-solid);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .sidebar-rail.is-mobile-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .sidebar,
  .sidebar-contact {
    box-shadow: none;
  }

  .sidebar-rail {
    grid-template-rows: auto auto;
    align-content: start;
    height: auto;
    max-height: calc(100dvh - var(--mobile-menu-top) - 12px);
    overflow-y: auto;
  }

  .sidebar {
    height: auto;
    max-height: min(54dvh, calc(100dvh - var(--mobile-menu-top) - 148px));
  }

  .menu-tree {
    max-height: calc(min(54dvh, calc(100dvh - var(--mobile-menu-top) - 148px)) - 68px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

}

@media (min-width: 621px) and (max-width: 860px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .tablet-menu-panel {
    display: none !important;
  }

  body.tablet-menu-open .tablet-menu-panel {
    display: none !important;
  }

  .sidebar-rail {
    position: fixed;
    top: var(--mobile-menu-top);
    right: 12px;
    left: 12px;
    z-index: 26;
    display: none !important;
    grid-template-rows: auto auto;
    align-content: start;
    height: auto;
    max-height: calc(100dvh - var(--mobile-menu-top) - 12px);
    padding: 0;
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
      linear-gradient(135deg, var(--panel-grad-a), var(--panel-grad-b)),
      var(--panel-solid);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
  }

  .sidebar-rail.is-mobile-open,
  body.mobile-menu-open .sidebar-rail {
    display: grid !important;
  }

  .sidebar {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    width: 100%;
    min-height: 0;
    height: auto;
    max-height: min(54dvh, calc(100dvh - var(--mobile-menu-top) - 180px));
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
  }

  .menu-tree {
    min-height: 0;
    max-height: calc(min(54dvh, calc(100dvh - var(--mobile-menu-top) - 180px)) - 68px);
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
    padding: 8px;
  }

  .app-header {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    grid-template-areas:
      "theme . view"
      ". logo ."
      "menu search search";
    justify-content: stretch;
    justify-items: center;
    align-items: start;
    padding: 8px 18px 14px;
    gap: 4px 12px;
  }

  .header-shell,
  .header-body,
  .header-actions {
    display: contents;
  }

  .brand {
    grid-area: logo;
    justify-self: center;
    margin-top: -42px;
  }

  .brand-copy {
    grid-area: title;
    justify-self: center;
    justify-items: center;
    width: auto;
    margin-top: 24px;
    transform: translateX(18px);
    align-self: center;
  }

  .brand-copy strong {
    display: grid;
    justify-items: center;
    gap: 0;
    white-space: normal;
  }

  .brand-copy-primary,
  .brand-copy-secondary {
    display: block;
  }

  .brand-copy-primary {
    font-size: clamp(1.95rem, 4.5vw, 2.65rem);
    line-height: 0.92;
    letter-spacing: 0.03em;
  }

  .brand-copy-secondary {
    margin-top: 2px;
    font-size: clamp(0.95rem, 2.2vw, 1.18rem);
    line-height: 1;
    letter-spacing: 0.12em;
  }

  .brand-mark {
    width: 188px;
    height: 172px;
  }

  .brand-mark img {
    width: 232px;
    height: 232px;
  }

  .header-catalog-controls,
  .header-catalog-controls.has-store-switch {
    display: grid;
    grid-area: search;
    grid-template-areas: "search";
    grid-template-columns: 1fr;
    width: calc(100% - 30px);
    max-width: 100%;
    justify-self: end;
    margin-top: 0;
    align-self: center;
  }

  .search {
    padding: 8px;
  }

  .search-row {
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 8px;
  }

  .search button {
    width: auto;
    min-width: 94px;
  }

  #themeToggleButton {
    grid-area: theme;
    justify-self: start;
    align-self: start;
  }

  #viewToggleButton {
    grid-area: view;
    justify-self: end;
    align-self: start;
  }

  #mobileMenuToggle {
    grid-area: menu;
    justify-self: start;
    width: auto;
    min-width: 92px;
    padding: 8px 12px;
    white-space: nowrap;
    align-self: center;
  }

  #searchToggleButton {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .header-toggle-button {
    width: 56px;
    min-height: 40px;
    min-width: 40px;
  }

  .menu-toggle-label {
    font-size: 0.84rem;
    font-weight: 900;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 620px) {
  .app-header {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    grid-template-areas:
      "theme logo view"
      "menu . searchtoggle"
      "search search search";
    justify-content: stretch;
    justify-items: center;
    align-items: start;
    padding: 8px 14px 12px;
    gap: 4px 10px;
  }

  .brand {
    grid-area: logo;
    justify-self: center;
    margin-top: -10px;
  }

  .header-shell {
    display: contents;
  }

  .header-body {
    display: contents;
  }

  .brand-mark {
    width: 144px;
    height: 134px;
  }

  .brand-mark img {
    width: 176px;
    height: 176px;
  }

  .brand-copy {
    grid-area: title;
    justify-self: center;
    justify-items: center;
    width: auto;
    gap: 2px;
    margin-top: 22px;
    align-self: center;
    transform: translateX(14px);
  }

  .brand-copy strong {
    display: grid;
    width: max-content;
    text-align: center;
    justify-items: center;
    gap: 0;
    white-space: normal;
  }

  .brand-copy-primary {
    display: block;
    font-size: clamp(1.28rem, 6.1vw, 1.78rem);
    line-height: 0.9;
    letter-spacing: 0.04em;
  }

  .brand-copy-secondary {
    display: block;
    margin-top: 1px;
    font-size: clamp(0.68rem, 2.5vw, 0.82rem);
    line-height: 1;
    letter-spacing: 0.12em;
  }

  .page-sections {
    width: min(100% - 24px, 1440px);
    gap: 16px;
    padding-top: 14px;
  }

  .header-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .header-catalog-controls {
    display: none;
    grid-area: search;
    width: 100%;
    max-width: none;
    justify-self: stretch;
    margin-top: 8px;
  }

  .header-catalog-controls.has-store-switch {
    display: none;
  }

  body.mobile-search-open .header-catalog-controls,
  body.mobile-search-open .header-catalog-controls.has-store-switch {
    display: grid;
    grid-template-areas:
      "search";
    grid-template-columns: 1fr;
    width: 100%;
  }

  .search {
    width: 100%;
    padding: 8px;
    border-radius: 10px;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .search button {
    width: 100%;
  }

  .header-actions {
    display: contents;
  }

  .mobile-controls {
    display: inline-flex;
  }

  .mobile-search-toggle {
    display: inline-flex;
  }

  .header-toggle-button {
    width: 56px;
    min-height: 40px;
    min-width: 40px;
    padding: 8px;
    font-size: 0.78rem;
  }

  #themeToggleButton {
    grid-area: theme;
    justify-self: start;
    align-self: start;
  }

  #viewToggleButton {
    grid-area: view;
    justify-self: end;
    align-self: start;
  }

  #mobileMenuToggle {
    grid-area: menu;
    justify-self: start;
    align-self: center;
    margin-top: 16px;
    width: auto;
    min-width: 99px;
    padding: 8px 13px;
    white-space: nowrap;
  }

  #searchToggleButton {
    grid-area: searchtoggle;
    justify-self: end;
    align-self: center;
    margin-top: 16px;
  }

  body.mobile-search-open .header-catalog-controls {
    grid-row: 5;
    grid-column: 1 / -1;
  }

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

  .products-hero {
    padding: 18px;
    gap: 16px;
  }

  .home-hero-gallery-stage {
    height: clamp(180px, 42vw, 240px);
  }

  .products-hero-copy {
    padding: 16px;
  }

  .store-hero-address h2 {
    max-width: 100%;
    font-size: clamp(1.5rem, 7vw, 2rem);
    white-space: normal;
  }

  .store-hero-address p,
  .store-hero-contact p,
  .store-hero-note {
    font-size: 0.94rem;
  }

  .products-heading {
    align-items: flex-start;
    flex-direction: column;
    padding: 8px 10px;
  }

  .store-gallery-stage {
    height: clamp(190px, 48vw, 260px);
  }

  .assortment-gallery-stage {
    aspect-ratio: 16 / 8;
  }

  .product-card {
    min-height: 172px;
  }

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

  .product-topline {
    display: block;
  }

  .product-code {
    display: none;
  }

  .product-price {
    right: 12px;
    bottom: 12px;
    font-size: 1rem;
    padding: 6px 10px;
  }

  h3 {
    font-size: 0.98rem;
    line-height: 1.18;
    padding-right: 0;
  }

  .products-grid[data-view="list"] .product-body {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 8px;
    padding: 12px 12px 44px;
  }

  .products-grid[data-view="list"] .product-topline {
    display: block;
    min-height: 0;
  }

  .products-grid[data-view="list"] .product-price {
    display: inline-flex;
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
  }

  .products-grid[data-view="list"] .product-code {
    display: none;
  }

  .products-grid[data-view="list"] .stock-line {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
  }

  .products-grid[data-view="list"] h3 {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    padding-right: 0;
  }

  .product-facts div {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .modal-panel {
    grid-template-columns: 1fr;
    width: min(560px, 100%);
    max-height: min(82dvh, calc(100dvh - 24px));
  }

  .admin-sidepanels {
    grid-template-columns: 1fr;
  }

  .admin-store-list,
  .admin-assortment-list,
  .admin-product-list {
    max-height: 300px;
  }

  .sidebar-card-body {
    padding: 14px;
  }

  .menu-tree {
    padding: 6px;
  }

  .modal-content {
    padding-right: 0;
  }

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

  .products-grid[data-view="list"] .stock-line {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    align-self: center;
    min-height: 0;
    margin: 0;
    font-size: 0.86rem;
  }

  .products-grid[data-view="list"] .product-card,
  .products-grid[data-view="list"] .product-open {
    min-height: 84px;
  }
}

/* Logo Night variant: premium black and gold with green smoke accents. */
body {
  background:
    radial-gradient(circle at 12% 0%, rgba(240, 200, 106, 0.14), transparent 34vw),
    radial-gradient(circle at 86% 20%, rgba(56, 185, 142, 0.12), transparent 30vw),
    linear-gradient(145deg, var(--page-grad-a), var(--page-grad-b) 42%, var(--page-grad-c)),
    var(--bg);
}

body::before {
  opacity: 0.42;
  background-size: 64px 64px;
}

.app-header {
  box-shadow: inset 0 -1px rgba(240, 200, 106, 0.08), 0 18px 46px rgba(0, 0, 0, 0.34);
}

.brand-mark img {
  filter: drop-shadow(0 20px 30px rgba(240, 200, 106, 0.18)) drop-shadow(0 0 18px rgba(56, 185, 142, 0.14));
}

.brand-copy strong {
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.72), 0 0 24px rgba(240, 200, 106, 0.16);
}

.search,
.store-switch,
.sidebar,
.sidebar-card,
.products-hero,
.products-heading,
.product-card {
  border-color: rgba(201, 154, 53, 0.28);
}

.sidebar-heading,
.sidebar-card-heading {
  box-shadow: inset 0 -1px rgba(240, 200, 106, 0.1);
}

.product-card {
  background:
    linear-gradient(180deg, rgba(240, 200, 106, 0.045), transparent 46%),
    var(--panel-solid);
}

.product-card:hover {
  border-color: rgba(240, 200, 106, 0.55);
  box-shadow: 0 20px 42px rgba(201, 154, 53, 0.14), var(--soft-shadow);
}

.search button,
.load-more,
.header-nav-button.active {
  color: #120f08;
}

/* Three visible theme personalities in the main stylesheet. */
body[data-theme="dark"] {
  background:
    radial-gradient(circle at 18% 12%, rgba(100, 221, 179, 0.18), transparent 32vw),
    radial-gradient(circle at 82% 8%, rgba(215, 172, 66, 0.08), transparent 26vw),
    linear-gradient(145deg, var(--page-grad-a), var(--page-grad-b) 44%, var(--page-grad-c)),
    var(--bg);
}

body[data-theme="dark"]::before {
  opacity: 0.7;
}

body[data-theme="dark"] .search,
body[data-theme="dark"] .store-switch,
body[data-theme="dark"] .sidebar,
body[data-theme="dark"] .sidebar-card,
body[data-theme="dark"] .products-hero,
body[data-theme="dark"] .products-heading,
body[data-theme="dark"] .product-card {
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line-soft));
}

body[data-theme="dark"] .brand-mark img {
  filter: drop-shadow(0 22px 34px rgba(100, 221, 179, 0.24)) drop-shadow(0 0 18px rgba(255, 255, 255, 0.08));
}

body[data-theme="dark"] .product-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%),
    var(--panel-solid);
}

body[data-theme="neon"] {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), transparent 260px),
    linear-gradient(145deg, var(--page-grad-a), var(--page-grad-b) 48%, var(--page-grad-c)),
    var(--bg);
}

body[data-theme="neon"]::before {
  opacity: 0.45;
  background-size: 36px 36px;
}

body[data-theme="neon"] .app-header {
  box-shadow: 0 10px 30px rgba(31, 53, 45, 0.08);
}

body[data-theme="neon"] .brand-mark {
  background: rgba(255, 255, 255, 0.42);
}

body[data-theme="neon"] .brand-mark img {
  filter: drop-shadow(0 18px 24px rgba(31, 53, 45, 0.16));
}

body[data-theme="neon"] .brand-copy strong {
  color: #20211d;
  text-shadow: none;
}

body[data-theme="neon"] .search,
body[data-theme="neon"] .store-switch,
body[data-theme="neon"] .sidebar,
body[data-theme="neon"] .sidebar-card,
body[data-theme="neon"] .products-hero,
body[data-theme="neon"] .products-heading,
body[data-theme="neon"] .product-card {
  border-color: rgba(222, 217, 201, 0.95);
  background: var(--surface-strong);
}

body[data-theme="neon"] .sidebar-heading,
body[data-theme="neon"] .sidebar-card-heading {
  border-bottom: 1px solid var(--line-soft);
  box-shadow: none;
}

body[data-theme="neon"] .product-card:hover {
  border-color: rgba(12, 127, 88, 0.44);
  box-shadow: 0 18px 34px rgba(31, 53, 45, 0.12);
}

@media (max-width: 1100px) {
  .brand-copy {
    display: none;
  }
}
