:root {
  --bg: #070b16;
  --text: #f5f7ff;
  --muted: #b9bfd0;
  --dark: #02040b;
  --blue: #277cff;
  --card: #101727;
  --line: rgba(162, 184, 255, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(39, 124, 255, 0.14), transparent 34rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

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

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

.site-header {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.62)),
    url("/assets/header-starfield.png") center / cover no-repeat,
    var(--dark);
  color: white;
}

.brand {
  position: relative;
  display: block;
  width: min(330px, 54vw);
}

.brand::before {
  content: "";
  position: absolute;
  inset: -14px -22px;
  border-radius: 18px;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.86) 0%,
    rgba(0, 0, 0, 0.78) 54%,
    rgba(0, 0, 0, 0.28) 80%,
    transparent 100%
  );
}

.brand img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
}

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

.nav a {
  border-radius: 8px;
  padding: 10px 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.nav-toggle {
  display: none;
}

.home,
.simple-page {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
}

.shop-preview {
  width: min(1400px, calc(100% - 28px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(48px, 8vw, 92px) 0 42px;
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 8vw, 76px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.logo-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 464 / 193;
  overflow: hidden;
  border: 1px solid rgba(39, 124, 255, 0.28);
  border-radius: 14px;
  background:
    url("/assets/header-starfield.png") center / cover no-repeat,
    #02040b;
  padding: 0;
  box-shadow: 0 18px 48px rgba(7, 9, 20, 0.22);
}

.logo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.86) 0%,
    rgba(0, 0, 0, 0.78) 54%,
    rgba(0, 0, 0, 0.28) 80%,
    transparent 100%
  );
}

.logo-card img {
  position: relative;
  display: block;
  width: min(330px, 78%);
  height: auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  border-radius: 8px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 900;
}

.button.primary {
  background: var(--blue);
  color: white;
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-bottom: 72px;
}

.info-grid article,
.message {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  padding: 24px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.info-grid h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.info-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.simple-page {
  padding: clamp(4px, 1vw, 12px) 0 12px;
}

.message h1 {
  font-size: clamp(38px, 7vw, 68px);
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(420px, 1.18fr);
  align-items: start;
  column-gap: 28px;
  row-gap: 16px;
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(18px, 2vw, 22px) clamp(18px, 2vw, 22px) 10px;
}

.contact-page > .eyebrow,
.contact-page > h1,
.contact-page > .page-intro {
  grid-column: 1 / -1;
}

.contact-page h1 {
  font-size: clamp(34px, 3.5vw, 44px);
}

.page-intro {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 0;
}

.contact-grid article,
.trade-note {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 13px 16px;
}

.contact-grid h2,
.hours-section h2,
.trade-note h2 {
  margin: 0 0 8px;
  font-size: 19px;
}

.contact-grid p,
.trade-note p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.contact-grid a {
  color: var(--text);
  font-weight: 800;
}

.hours-section {
  grid-column: 2;
  margin-top: 0;
}

.hours-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(4, auto);
  grid-auto-flow: column;
  column-gap: 24px;
  row-gap: 0;
  margin: 0;
}

.hours-list div {
  display: grid;
  grid-template-columns: minmax(88px, 1fr) auto;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 5px 0;
}

.hours-list dt,
.hours-list dd {
  margin: 0;
}

.hours-list dt {
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.hours-list dd {
  color: var(--muted);
  font-size: 15px;
  text-align: right;
  white-space: nowrap;
}

.trade-note {
  grid-column: 1 / -1;
  margin-top: 0;
}

.shop-preview {
  padding: clamp(26px, 4vw, 46px) 0 56px;
}

.events-page {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px) 0 64px;
}

.events-intro {
  max-width: 740px;
}

.events-intro h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
}

.events-intro p:not(.eyebrow) {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.events-panel {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: clamp(18px, 3vw, 26px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

.past-events-panel {
  margin-top: 18px;
}

.events-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.events-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1;
}

.event-count {
  margin: 0;
  border: 1px solid rgba(39, 124, 255, 0.32);
  border-radius: 999px;
  background: rgba(39, 124, 255, 0.12);
  color: var(--text);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.events-list {
  display: grid;
  gap: 12px;
}

.event-status {
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  padding: 18px;
  font-weight: 700;
}

.event-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
}

.event-date {
  display: grid;
  align-content: center;
  border-right: 1px solid var(--line);
  padding-right: 18px;
}

.event-date span {
  color: var(--text);
  font-size: 20px;
  font-weight: 950;
}

.event-date small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
}

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

.event-category {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.event-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.1;
}

.event-copy p:not(.event-category) {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.event-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.event-details li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 750;
}

.event-details strong {
  color: var(--text);
  margin-right: 3px;
}

.event-details a {
  color: inherit;
}

.event-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.reservations-page {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(34px, 5vw, 58px) 0 64px;
}

.reservations-intro {
  max-width: 760px;
}

.reservations-intro h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
}

.reservations-intro p:not(.eyebrow) {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.reservation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 18px;
  align-items: start;
  margin-top: 28px;
}

.reservations-panel {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: clamp(18px, 3vw, 26px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.18);
}

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

.reservation-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 14px 16px;
}

.reservation-slot h3 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
}

.reservation-slot p:not(.event-category) {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.reservation-time {
  min-width: 140px;
  color: var(--text);
  text-align: right;
  font-weight: 900;
}

.reservation-time span,
.reservation-time small {
  display: block;
}

.reservation-time small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.reservation-note {
  margin: 8px 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

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

.reservation-form label {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.reservation-form input,
.reservation-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  padding: 11px 12px;
}

.reservation-form textarea {
  resize: vertical;
}

.reservation-form input:focus,
.reservation-form textarea:focus {
  outline: 2px solid rgba(39, 124, 255, 0.38);
  outline-offset: 1px;
}

.form-wide {
  grid-column: 1 / -1;
}

.website-field {
  position: absolute;
  left: -9999px;
}

.form-message {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.preview-intro {
  max-width: 760px;
}

.preview-intro h1 {
  margin-bottom: 8px;
  font-size: clamp(38px, 5vw, 58px);
}

.preview-intro p:not(.eyebrow) {
  max-width: 610px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.catalog-panel {
  margin-top: 18px;
}

.catalog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.catalog-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1;
}

.catalog-updated {
  margin: 12px 2px 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.catalog-count {
  margin: 0;
  border: 1px solid rgba(39, 124, 255, 0.32);
  border-radius: 999px;
  background: rgba(39, 124, 255, 0.12);
  color: var(--text);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

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

.filter-sidebar {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: rgba(39, 124, 255, 0.58) rgba(255, 255, 255, 0.06);
  scrollbar-width: thin;
}

.catalog-status {
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  padding: 18px;
  font-weight: 700;
}

.catalog-filters {
  display: grid;
  gap: 10px;
}

.filter-group {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.filter-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  list-style: none;
  padding: 11px 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filter-group summary::-webkit-details-marker {
  display: none;
}

.filter-group summary::after {
  content: "+";
  color: var(--blue);
  font-size: 16px;
  line-height: 1;
}

.filter-group[open] summary::after {
  content: "-";
}

.filter-choices {
  display: grid;
  gap: 2px;
  padding: 0 8px 9px;
}

.filter-choice {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  color: var(--text);
  cursor: pointer;
  padding: 7px 8px;
  font-size: 12px;
  font-weight: 800;
}

.filter-choice:hover {
  background: rgba(255, 255, 255, 0.055);
}

.filter-choice input {
  accent-color: var(--blue);
  margin: 0;
}

.filter-actions {
  display: grid;
}

.filter-reset {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.filter-reset {
  cursor: pointer;
  padding: 0 12px;
}

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

.parent-category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 22px;
}

.parent-category-card {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(162, 184, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  padding: 9px 14px;
  text-decoration: none;
}

.parent-category-card:hover,
.parent-category-card.is-active {
  border-color: rgba(39, 124, 255, 0.62);
  background: rgba(39, 124, 255, 0.14);
}

.parent-category-card.is-active {
  box-shadow: inset 0 0 0 1px rgba(39, 124, 255, 0.32);
}

.parent-category-name {
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.parent-category-count {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.catalog-search {
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
  max-width: 620px;
}

.catalog-search label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.catalog-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  padding: 11px 13px;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.catalog-search input:focus {
  border-color: rgba(39, 124, 255, 0.62);
  box-shadow: 0 0 0 3px rgba(39, 124, 255, 0.16);
  outline: none;
}

.catalog-search input::placeholder {
  color: rgba(185, 191, 208, 0.68);
}

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

.catalog-load-more {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(48, 127, 255, 0.45);
  border-radius: 8px;
  background: rgba(20, 32, 54, 0.9);
  color: var(--text);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.catalog-load-more:hover,
.catalog-load-more:focus-visible {
  border-color: rgba(48, 127, 255, 0.85);
  background: rgba(31, 49, 82, 0.95);
  outline: none;
}

.product-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: stretch;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(39, 124, 255, 0.1), transparent 44%),
    rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 10px;
}

.product-row:hover,
.product-row:focus {
  border-color: rgba(39, 124, 255, 0.5);
  outline: none;
}

.product-image {
  display: block;
  width: 100%;
  height: 92px;
  object-fit: cover;
  border: 1px solid rgba(162, 184, 255, 0.16);
  border-radius: 8px;
  background: #090f1d;
}

.product-image-missing {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-details {
  display: grid;
  min-width: 0;
  align-content: center;
}

.product-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 5px;
}

.product-category,
.product-attribute-inline {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-attribute-inline {
  color: var(--muted);
}

.product-attribute-inline::before {
  content: "|";
  color: rgba(185, 191, 208, 0.64);
  margin-right: 6px;
}

.product-row h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.18;
}

.product-description {
  margin: 5px 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px 14px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.product-variation {
  color: var(--muted);
  font-weight: 700;
}

.product-stock {
  color: var(--muted);
  font-weight: 800;
}

.item-modal[hidden] {
  display: none;
}

.cart-toggle[hidden],
.cart-drawer[hidden] {
  display: none;
}

.cart-toggle {
  position: fixed;
  right: 14px;
  bottom: 58px;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  border: 1px solid rgba(39, 124, 255, 0.5);
  border-radius: 999px;
  background: rgba(13, 24, 44, 0.92);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  padding: 0 14px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.34);
}

.cart-toggle strong {
  color: var(--muted);
  font-size: 11px;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.cart-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 11, 0.68);
  backdrop-filter: blur(3px);
}

.cart-drawer-panel {
  position: absolute;
  inset: 0 0 0 auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  width: min(390px, 92vw);
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 0%, rgba(39, 124, 255, 0.14), transparent 22rem),
    rgba(10, 16, 29, 0.98);
  box-shadow: -24px 0 70px rgba(0, 0, 0, 0.5);
  padding: 18px;
}

.cart-drawer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.cart-drawer-heading h2 {
  margin: 0;
  font-size: 26px;
}

.cart-drawer-close {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  padding: 0 12px;
}

.cart-drawer-items {
  display: grid;
  align-content: start;
  gap: 10px;
  overflow-y: auto;
  padding: 14px 2px;
}

.cart-drawer-empty {
  margin: 16px 0;
  color: var(--muted);
  font-weight: 800;
}

.cart-item {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 9px;
}

.cart-item img,
.cart-item-image-missing {
  width: 58px;
  height: 58px;
  border-radius: 6px;
  object-fit: cover;
  background: rgba(2, 4, 11, 0.6);
}

.cart-item-image-missing {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.cart-item-copy {
  min-width: 0;
}

.cart-item-copy h3,
.cart-item-copy p {
  margin: 0;
}

.cart-item-copy h3 {
  color: var(--text);
  font-size: 13px;
  line-height: 1.25;
}

.cart-item-copy p,
.cart-item-copy strong {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.3;
}

.cart-item-actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cart-item-actions button {
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  padding: 0 10px;
}

.cart-item-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.cart-drawer-footer {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.cart-drawer-footer p:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--muted);
  font-weight: 900;
}

.cart-checkout {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(39, 124, 255, 0.58);
  border-radius: 8px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
}

.cart-checkout:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.cart-message {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.cart-drawer-open {
  overflow: hidden;
}

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

.item-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 11, 0.72);
  backdrop-filter: blur(3px);
}

.item-modal-panel {
  position: relative;
  width: min(920px, 100%);
  max-height: min(760px, calc(100dvh - 36px));
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 18% 0%, rgba(39, 124, 255, 0.16), transparent 24rem),
    var(--card);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  padding: clamp(18px, 3vw, 26px);
}

.item-modal-open {
  overflow: hidden;
}

.item-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  padding: 0 13px;
}

.item-detail {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(18px, 4vw, 30px);
  padding-top: 18px;
}

.item-detail-media {
  display: grid;
  place-items: center;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  aspect-ratio: 1;
}

.item-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.item-detail-copy {
  min-width: 0;
  padding-right: 54px;
}

.item-detail-copy h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.02;
}

.item-detail-description {
  margin: 14px 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.item-detail-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--text);
  font-size: 15px;
  font-weight: 900;
}

.item-detail-copy h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.variation-list {
  display: grid;
  gap: 8px;
}

.variation-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  padding: 12px;
}

.variation-row strong,
.variation-row span {
  display: block;
}

.variation-row strong {
  color: var(--text);
  font-size: 14px;
}

.variation-row span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.variation-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  text-align: right;
  white-space: nowrap;
}

.variation-checkout {
  min-height: 34px;
  border: 1px solid rgba(39, 124, 255, 0.58);
  border-radius: 999px;
  background: var(--blue);
  color: white;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  padding: 0 14px;
}

.variation-quantity {
  display: inline-grid;
  grid-template-columns: 34px auto 34px;
  align-items: center;
  min-height: 34px;
  overflow: hidden;
  border: 1px solid rgba(39, 124, 255, 0.42);
  border-radius: 999px;
  background: rgba(39, 124, 255, 0.12);
}

.variation-quantity button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.variation-quantity button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.variation-quantity span {
  min-width: 64px;
  padding: 0 8px;
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.variation-checkout:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.theme-toggle {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 20;
  width: auto;
  min-width: 42px;
  height: 34px;
  overflow: hidden;
  border: 1px solid rgba(162, 184, 255, 0.22);
  border-radius: 999px;
  background: rgba(12, 18, 32, 0.82);
  color: rgba(236, 240, 255, 0.78);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 0 10px;
  text-indent: 0;
  text-transform: uppercase;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.26),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035);
  opacity: 0.56;
}

.theme-toggle:hover {
  border-color: rgba(39, 124, 255, 0.42);
  color: var(--text);
  opacity: 0.95;
  transform: translateY(-1px);
}

body[data-theme="sublime"] {
  --bg: #ffe0ef;
  --text: #4a1234;
  --muted: #7d4966;
  --dark: #f00097;
  --blue: #f00097;
  --card: rgba(255, 255, 255, 0.72);
  --line: rgba(202, 28, 132, 0.22);
  background:
    radial-gradient(circle at 20% 10%, rgba(255, 255, 255, 0.96), transparent 16rem),
    radial-gradient(circle at 78% 0%, rgba(255, 98, 177, 0.34), transparent 28rem),
    linear-gradient(180deg, #ffc2dc 0%, #fff1f8 48%, #ffd2e8 100%);
}

body[data-theme="sublime"] .site-header {
  background:
    linear-gradient(90deg, rgba(255, 225, 241, 0.08), rgba(255, 205, 229, 0.74)),
    url("/assets/sublime-cloud-header.png") center / cover no-repeat,
    #ffd1e4;
  color: #5d1740;
}

body[data-theme="sublime"] .brand {
  background: url("/assets/sublime-gamers-paradise-logo-transparent.png") center / contain no-repeat;
}

body[data-theme="sublime"] .brand::before {
  display: none;
}

body[data-theme="sublime"] .brand img {
  visibility: hidden;
}

body[data-theme="sublime"] .nav a {
  color: #68183f;
}

body[data-theme="sublime"] .nav a:hover {
  background: rgba(240, 0, 151, 0.12);
  color: #f00097;
}

body[data-theme="sublime"] .logo-card {
  border-color: rgba(240, 0, 151, 0.28);
  background:
    url("/assets/sublime-gamers-paradise-logo-transparent.png") center / contain no-repeat,
    url("/assets/sublime-cloud-header.png") center / cover no-repeat,
    #ffd1e4;
}

body[data-theme="sublime"] .logo-card::before {
  display: none;
}

body[data-theme="sublime"] .logo-card img {
  opacity: 0;
}

body[data-theme="sublime"] .info-grid article,
body[data-theme="sublime"] .message,
body[data-theme="sublime"] .events-panel,
body[data-theme="sublime"] .event-card,
body[data-theme="sublime"] .reservations-panel,
body[data-theme="sublime"] .reservation-slot,
body[data-theme="sublime"] .catalog-panel,
body[data-theme="sublime"] .product-row,
body[data-theme="sublime"] .item-modal-panel,
body[data-theme="sublime"] .variation-row,
body[data-theme="sublime"] .filter-group {
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 18px 42px rgba(193, 28, 117, 0.14);
}

body[data-theme="sublime"] .button.primary,
body[data-theme="sublime"] .theme-toggle {
  background: #f00097;
  color: white;
}

body[data-theme="sublime"] .theme-toggle {
  width: auto;
  height: auto;
  min-width: 88px;
  border: 2px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: #f00097;
  color: white;
  padding: 12px 16px;
  text-indent: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 950;
}

body[data-theme="sublime"] .button.secondary,
body[data-theme="sublime"] .filter-reset {
  background: rgba(255, 255, 255, 0.58);
  color: #4a1234;
}

body[data-theme="sublime"] .reservation-form input,
body[data-theme="sublime"] .reservation-form textarea {
  background: rgba(255, 255, 255, 0.74);
}

@media (max-width: 760px) {
  .site-header {
    align-items: center;
    min-height: 150px;
    padding-right: 76px;
  }

  .brand {
    width: min(270px, 70vw);
  }

  .nav-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 35;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(162, 184, 255, 0.26);
    border-radius: 12px;
    background: rgba(2, 4, 11, 0.72);
    color: white;
    cursor: pointer;
    padding: 0;
  }

  .nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
  }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    z-index: 32;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: min(292px, 84vw);
    height: 100dvh;
    gap: 8px;
    border-left: 1px solid rgba(162, 184, 255, 0.22);
    background:
      linear-gradient(180deg, rgba(7, 11, 22, 0.94), rgba(2, 4, 11, 0.98)),
      url("/assets/header-starfield.png") center / cover no-repeat,
      var(--dark);
    box-shadow: -24px 0 54px rgba(0, 0, 0, 0.46);
    overflow-y: auto;
    padding: 104px 18px 22px;
    transform: translateX(100%);
    transition: transform 180ms ease;
  }

  .nav a {
    display: block;
    border: 1px solid rgba(162, 184, 255, 0.12);
    background: rgba(255, 255, 255, 0.045);
    padding: 14px 16px;
    font-size: 16px;
  }

  body.nav-open {
    overflow: hidden;
  }

  body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 30;
    background: rgba(2, 4, 11, 0.58);
  }

  body.nav-open .nav {
    transform: translateX(0);
  }

  body[data-theme="sublime"] .nav-toggle {
    border-color: rgba(240, 0, 151, 0.28);
    background: rgba(240, 0, 151, 0.16);
    color: #68183f;
  }

  body[data-theme="sublime"] .nav {
    border-left-color: rgba(202, 28, 132, 0.22);
    background:
      linear-gradient(180deg, rgba(255, 226, 241, 0.94), rgba(255, 199, 225, 0.98)),
      url("/assets/sublime-cloud-header.png") center / cover no-repeat,
      #ffd1e4;
  }

  .theme-toggle {
    right: 12px;
    bottom: 12px;
    width: 96px;
    height: 34px;
    border-radius: 999px;
    box-shadow:
      0 8px 18px rgba(0, 0, 0, 0.24),
      0 0 0 2px rgba(240, 0, 151, 0.2);
  }

  body[data-theme="sublime"] .theme-toggle {
    min-width: 78px;
    padding: 9px 12px;
    font-size: 13px;
  }

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

  .logo-card {
    order: -1;
  }

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

  .event-card {
    grid-template-columns: 1fr;
  }

  .event-date {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 0 0 12px;
  }

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

  .reservation-slot {
    align-items: flex-start;
    flex-direction: column;
  }

  .reservation-time {
    text-align: left;
  }

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

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

  .contact-page {
    display: block;
  }

  .contact-grid,
  .hours-section,
  .trade-note {
    margin-top: 18px;
  }

  .hours-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hours-list {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .hours-list dd {
    text-align: left;
  }

  .catalog-heading {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .product-image {
    height: 72px;
  }

  .product-row h3 {
    font-size: 15px;
  }

  .product-description {
    font-size: 12px;
  }

  .product-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .item-modal {
    align-items: end;
    padding: 12px;
  }

  .item-modal-panel {
    max-height: calc(100dvh - 24px);
    border-radius: 14px;
  }

  .item-detail {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }

  .item-detail-media {
    max-height: 260px;
    aspect-ratio: 4 / 3;
  }

  .item-detail-copy {
    padding-right: 0;
  }

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

  .variation-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    white-space: normal;
  }

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

  .filter-sidebar {
    position: static;
    max-height: 52vh;
  }

  .catalog-filters {
    margin-bottom: 4px;
  }
}

/* Retail layout: shared compact navigation and image-first catalog. */
.contact-main { width: min(1080px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 72px; }
.contact-main .contact-page { display: grid; max-width: none; padding: 0; grid-template-columns: minmax(220px, .7fr) minmax(0, 1.8fr); column-gap: 48px; row-gap: 20px; }
.contact-main .eyebrow { margin-bottom: 0; }
.contact-main h1 { max-width: none; font-size: 40px; line-height: 1.15; letter-spacing: 0; }
.contact-main .page-intro { max-width: 760px; font-size: 17px; line-height: 1.8; margin-bottom: 16px; }
.contact-main .contact-grid { gap: 28px; }
.contact-main .contact-grid article, .contact-main .trade-note { border: 0; border-radius: 0; background: none; box-shadow: none; padding: 0; }
.contact-main h2 { font-size: 20px; font-weight: 650; margin-bottom: 12px; }
.contact-main .contact-grid p, .contact-main .trade-note p { font-size: 16px; line-height: 1.75; }
.contact-main .contact-grid a { font-weight: 500; }
.contact-main .hours-list { column-gap: 28px; }
.contact-main .hours-list div { padding: 10px 0; grid-template-columns: auto auto; }
.contact-main .hours-list dt { font-weight: 500; }
.contact-main .trade-note { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 16px; scroll-margin-top: 24px; }
@media (max-width: 1000px) {
  .contact-main .contact-page { grid-template-columns: 1fr; }
  .contact-main .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-main .hours-section { grid-column: 1; margin-top: 12px; }
}
@media (max-width: 760px) {
  .contact-main { padding-top: 32px; }
  .contact-main h1 { font-size: 32px; }
}
@media (max-width: 560px) {
  .contact-main .contact-grid { grid-template-columns: 1fr; }
  .contact-main .hours-list { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .contact-main .hours-list dd { text-align: right; }
}
.about-page { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 48px 0 72px; }
.about-story h1 { font-size: 40px; line-height: 1.15; letter-spacing: 0; overflow-wrap: anywhere; }
.about-story p:not(.eyebrow) { margin: 24px 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.about-story strong { color: var(--text); font-weight: 650; }
.about-story .about-lead { font-size: 20px; line-height: 1.6; }
.about-story .about-closing { border-top: 1px solid var(--line); padding-top: 24px; }
@media (max-width: 760px) {
  .about-page { padding-top: 32px; }
  .about-story h1 { font-size: 32px; }
}
body:not([data-theme="sublime"]) {
  --bg: #1b1d1b;
  --text: #f4f5f1;
  --muted: #b8bcb6;
  --dark: #151715;
  --blue: #93d64b;
  --card: #252825;
  --line: #3b3f39;
  background: var(--bg);
  color-scheme: dark;
}
.site-header {
  overflow: visible;
  display: flex;
  gap: 28px;
  min-height: 104px;
  padding: 18px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--dark);
}
.site-header .brand { width: 205px; flex-shrink: 0; }
.site-header .brand::before { display: none; }
body:not([data-theme="sublime"]) .site-header .brand img { filter: none; }
.site-header .nav { gap: 18px; flex-wrap: nowrap; align-items: center; }
.site-header .nav a {
  display: block;
  padding: 12px 0;
  border-radius: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 650;
  white-space: nowrap;
}
.site-header .nav a:hover { background: none; color: var(--blue); }
.site-header .nav a[aria-current="page"] { color: var(--blue); box-shadow: 0 2px var(--blue); }
.site-header .catalog-search { flex: 1; min-width: 150px; max-width: 580px; margin: 0 0 0 auto; }
.site-header .catalog-search input { width: 100%; height: 46px; margin: 0; padding: 10px 14px; border: 1px solid #575d54; border-radius: 4px; background: var(--card); color: var(--text); font: inherit; font-size: 14px; }
.site-header .catalog-search input::placeholder { color: var(--muted); font-weight: 400; }
.site-header .cart-toggle { position: static; flex-shrink: 0; border: 1px solid var(--line); border-radius: 4px; min-height: 46px; box-shadow: none; background: var(--card); color: var(--blue); font-weight: 650; }
.site-header .cart-toggle strong { font-weight: 500; }
:is(a, button, input, summary):focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.shop-preview { width: calc(100% - 64px); max-width: 1800px; padding: 0 0 60px; }
.shop-preview .parent-category-grid { display: flex; gap: 26px; align-items: center; margin: 0; padding: 0; min-height: 61px; border-bottom: 1px solid var(--line); overflow-x: auto; flex-wrap: nowrap; }
.shop-preview .parent-category-grid[hidden] { display: none; }
.shop-preview .parent-category-card { flex-shrink: 0; border: 0; border-radius: 0; padding: 20px 4px; background: none; box-shadow: none; }
.shop-preview .parent-category-card.is-active { background: none; color: var(--blue); box-shadow: inset 0 -3px var(--blue); }
.shop-preview .parent-category-card:hover { color: var(--blue); background: none; }
.shop-preview .parent-category-name { font-size: 15px; font-weight: 600; }
.catalog-panel { margin-top: 24px; }
.catalog-heading { margin: 0 0 24px 236px; align-items: center; }
#catalog-heading { font-size: 32px; line-height: 1.2; letter-spacing: 0; }
.catalog-count { border: 0; border-radius: 0; padding: 0; background: none; color: var(--muted); font-size: 14px; font-weight: 400; }
.catalog-layout { grid-template-columns: 208px minmax(0, 1fr); gap: 28px; }
.filter-sidebar { scrollbar-color: #62675e transparent; }
.catalog-filters { gap: 14px; }
.filter-group { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; }
.filter-group summary { padding: 15px 0; color: var(--text); font-size: 15px; font-weight: 650; letter-spacing: 0; text-transform: none; }
.filter-choices { padding: 0 0 12px; max-height: 320px; overflow: auto; }
.filter-choice { font-weight: 400; font-size: 13px; }
.filter-choice input { accent-color: var(--blue); }
.filter-reset { min-height: 40px; border-radius: 4px; background: none; border-color: var(--line); font-weight: 500; }
.catalog-updated { margin-top: 18px; font-weight: 400; font-size: 11px; }
.product-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.product-list[hidden] { display: none; }
.product-row { display: flex; flex-direction: column; min-width: 0; gap: 12px; padding: 0; border: 0; border-radius: 0; background: none; }
.product-row:hover, .product-row:focus-visible { outline: 2px solid var(--blue); outline-offset: 6px; }
.product-image { aspect-ratio: 4 / 5; height: auto; object-fit: contain; padding: 12px; border: 0; border-radius: 3px; background: #292c28; }
.product-image-missing { min-height: 0; color: #a2a89c; font-weight: 400; text-transform: none; }
.product-details { display: flex; flex-direction: column; gap: 7px; }
.product-row h3 { font-size: 16px; font-weight: 650; line-height: 1.35; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-topline { margin: 0; gap: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-category, .product-attribute-inline { color: var(--muted); font-size: 12px; line-height: 1.5; font-weight: 400; text-transform: none; letter-spacing: 0; }
.product-attribute-inline::before { content: " / "; margin: 0 4px; }
.product-meta { margin-top: 2px; padding: 0; border: 0; gap: 8px; }
.product-price { font-size: 18px; font-weight: 650; }
.product-meta .product-variation, .product-meta .product-stock { display: none; }
.catalog-load-more { grid-column: 1 / -1; background: var(--card); border-color: var(--line); font-weight: 600; }
.catalog-load-more:hover { background: #353a30; border-color: var(--blue); }
.item-modal-panel, .cart-drawer-panel { background: var(--bg); border-color: var(--line); border-radius: 8px; }
.item-modal-panel h2 { font-size: 30px; line-height: 1.2; letter-spacing: 0; }
.variation-row { background: var(--card); border-radius: 4px; border-color: var(--line); }
.cart-checkout, .variation-checkout { background: var(--blue); color: #18200f; border-radius: 4px; }
.site-header .cart-toggle img { filter: invert(1); }
.theme-toggle { opacity: .55; }
@media (max-width: 1200px) {
  .site-header { gap: 18px; padding: 16px 24px; }
  .site-header .brand { width: 170px; }
  .site-header .nav { gap: 14px; }
  .site-header .nav a { font-size: 14px; }
  .product-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .shop-preview { width: calc(100% - 48px); }
}
@media (max-width: 1100px) {
  .site-header { flex-wrap: wrap; gap: 12px 22px; }
  .site-header .catalog-search { order: 5; flex-basis: 100%; max-width: none; }
  .site-header .cart-toggle { margin-left: auto; }
}
@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: 165px minmax(0, 1fr); gap: 20px; }
  .catalog-heading { margin-left: 185px; }
  .product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .site-header { min-height: 0; padding: 14px 16px; }
  .site-header .brand { width: 148px; }
  .site-header .nav-toggle { position: static; transform: none; order: 3; width: 42px; height: 42px; border-radius: 4px; background: var(--card); border-color: var(--line); }
  .site-header .cart-toggle { order: 2; min-height: 42px; padding: 0 10px; gap: 6px; }
  .site-header .nav { position: absolute; top: 100%; left: 0; right: 0; bottom: auto; width: 100%; height: auto; padding: 16px 24px; display: none; transform: none; background: var(--dark); border: 0; border-bottom: 1px solid var(--line); box-shadow: 0 14px 20px #0004; align-items: stretch; }
  body.nav-open .site-header .nav { display: flex; }
  body.nav-open { overflow: auto; }
  body.nav-open::after { display: none; }
  .site-header .nav a { background: none; border: 0; font-size: 16px; }
  .shop-preview { width: calc(100% - 32px); }
  .shop-preview .parent-category-grid { gap: 20px; min-height: 54px; }
  .shop-preview .parent-category-card { padding: 16px 0; }
  .shop-preview .parent-category-name { font-size: 14px; }
  .catalog-heading { margin: 0 0 18px; flex-direction: row; text-align: left; }
  #catalog-heading { font-size: 26px; }
  .catalog-layout { grid-template-columns: 1fr; gap: 18px; }
  .filter-sidebar { position: static; max-height: none; padding: 0; }
  .catalog-filters { display: flex; flex-wrap: wrap; align-items: start; gap: 8px 18px; }
  .catalog-filters[hidden] { display: none; }
  .filter-group { flex: 1 1 120px; }
  .filter-group summary { font-size: 14px; gap: 12px; padding: 12px 0; }
  .filter-actions { flex-basis: 100%; }
  .filter-reset { width: auto; padding: 8px 18px; }
  .catalog-updated { margin: 8px 0 0; }
  .product-list { gap: 24px 14px; }
  .product-row { gap: 10px; }
  .product-image { width: 100%; height: auto; padding: 8px; }
  .product-row h3 { font-size: 14px; }
  .product-price { font-size: 16px; }
  .item-modal-panel h2 { font-size: 24px; }
}
