:root {
  color-scheme: dark;
  --black: #11100e;
  --surface: #1b1916;
  --surface-raised: #24211d;
  --orange: #f27b21;
  --gold: #f2bd4b;
  --text: #f8f2e8;
  --muted: #b7afa2;
  --border: #39342d;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--black);
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--black);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  color: var(--text);
  font-family: "Bahnschrift", "Arial Narrow", "Segoe UI", sans-serif;
  letter-spacing: 0.015em;
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
}

body::before {
  inset: -20%;
  background:
    radial-gradient(ellipse at 28% 22%, rgb(242 123 33 / 14%), transparent 46%),
    radial-gradient(ellipse at 76% 68%, rgb(242 189 75 / 9%), transparent 44%);
  animation: background-drift 24s ease-in-out infinite alternate;
}

body::after {
  background: radial-gradient(
    circle at var(--light-x, 50%) var(--light-y, 50%),
    rgb(242 189 75 / 12%) 0,
    rgb(242 123 33 / 6%) 2.5rem,
    transparent clamp(6rem, 12vw, 12rem)
  );
}

@keyframes background-drift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }

  to {
    transform: translate3d(2%, 1%, 0) scale(1.05);
  }
}

a {
  color: inherit;
}

.brand-header {
  position: relative;
  min-height: 148px;
  width: 100%;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-lockup {
  --brand-size: clamp(64px, 10vw, 128px);
  display: inline-flex;
  align-items: center;
  color: var(--text);
  text-decoration: none;
}

.cart-button {
  position: fixed;
  z-index: 10;
  top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface-raised);
  color: var(--text);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease;
}

.cart-button {
  right: 24px;
}

.support-button {
  left: 24px;
  right: auto;
  text-decoration: none;
}

.cart-count {
  min-width: 20px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--orange);
  color: #17110b;
  font-size: 0.75rem;
  line-height: 1.2;
  text-align: center;
}

.cart-menu {
  position: fixed;
  z-index: 11;
  top: 76px;
  right: 24px;
  width: min(320px, calc(100vw - 32px));
  max-height: min(72vh, 520px);
  padding: 20px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-raised);
  box-shadow: 0 12px 32px rgb(0 0 0 / 40%);
  text-align: left;
}

.cart-menu[hidden] {
  display: none;
}

.cart-menu h2 {
  margin: 0;
  font-size: 1.1rem;
}

.cart-empty {
  margin: 20px 0 4px;
  color: var(--muted);
  text-align: center;
}

.cart-items {
  max-height: min(36vh, 260px);
  margin: 14px 0;
  padding: 0;
  display: grid;
  gap: 12px;
  overflow-y: auto;
  list-style: none;
}

.cart-item {
  min-width: 0;
  padding-bottom: 10px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.cart-item-info {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.cart-item-name {
  overflow-wrap: anywhere;
  font-size: 0.82rem;
  line-height: 1.35;
}

.cart-item-price {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-item-controls button {
  width: 26px;
  height: 26px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.cart-item-controls button:hover {
  border-color: var(--orange);
  color: var(--gold);
}

.cart-item-controls .cart-item-remove:hover {
  border-color: #ff7b72;
  color: #ff7b72;
}

.cart-item-remove {
  display: grid;
  place-items: center;
}

.cart-item-remove svg {
  width: 15px;
  height: 15px;
  display: block;
}

.cart-item-controls button:disabled,
.cart-item-controls button:disabled:hover {
  border-color: var(--border);
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.55;
}

.cart-item-controls span {
  min-width: 1ch;
  font-size: 0.8rem;
  text-align: center;
}

.cart-total {
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.cart-checkout-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.cart-checkout-button {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  cursor: pointer;
}

.cart-checkout-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.cart-menu-close {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.cart-menu-close:hover {
  color: var(--gold);
}

.cart-button:hover {
  border-color: var(--orange);
  color: var(--gold);
}

.cart-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.brand-logo {
  width: auto;
  height: var(--brand-size);
  max-width: calc(var(--brand-size) * 1.8);
  object-fit: contain;
  flex: 0 0 auto;
}

.home-main,
.page-main {
  min-width: 0;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  flex: 1;
}

.home-main {
  display: flex;
  align-items: center;
  text-align: center;
}

.hero {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 0 72px;
}

.home-content {
  min-width: 0;
  width: 100%;
  margin: 0 auto;
}

h1,
h2,
p {
  margin-top: 0;
}

.hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-copy,
.page-heading > p:last-child {
  color: var(--muted);
  font-size: 1.1rem;
}

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 6px;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 140ms ease, transform 140ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  margin-top: 20px;
  background: var(--orange);
  color: #17110b;
}

.button-primary:hover {
  background: var(--gold);
}

.results-section {
  padding-bottom: 72px;
}

.results-heading {
  margin-bottom: 28px;
  text-align: left;
}

.results-heading h2 {
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.results-heading h2 > span {
  display: block;
}

.results-highlight {
  background: linear-gradient(95deg, var(--gold), var(--orange));
  background-clip: text;
  color: transparent;
}

.results-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto;
  gap: 14px;
}

.result-card {
  min-width: 0;
  padding: clamp(20px, 2.3vw, 32px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(145deg, var(--surface-raised), var(--surface) 72%);
}

.result-card-featured {
  align-items: center;
  justify-content: center;
  border-color: rgb(242 123 33 / 45%);
  text-align: center;
}

.result-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgb(242 189 75 / 36%);
  border-radius: 12px;
  background: linear-gradient(145deg, rgb(242 123 33 / 20%), rgb(242 189 75 / 8%));
  color: var(--gold);
}

.result-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.result-copy {
  min-width: 0;
  margin-top: 20px;
}

.result-card-featured .result-copy {
  width: 100%;
  margin-top: 28px;
}

.result-value {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: clamp(2.5rem, 4.2vw, 4rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.result-card-featured .result-value {
  font-size: clamp(3.5rem, 7vw, 6.5rem);
}

.result-label {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 750;
}

.result-description {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.result-card-featured .result-description {
  max-width: 360px;
  margin: 0 auto;
}

.result-badge {
  width: fit-content;
  margin: 20px auto 0;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgb(242 189 75 / 24%);
  border-radius: 999px;
  background: rgb(242 189 75 / 6%);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.result-badge > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px rgb(242 123 33 / 40%);
}

.page-main {
  padding-bottom: 84px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 48px;
  color: var(--muted);
  font-size: 0.9rem;
}

.breadcrumbs a,
.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumbs a:hover,
.site-footer a:hover {
  color: var(--gold);
}

.detail-topbar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 48px;
}

.detail-topbar .breadcrumbs {
  min-width: 0;
  flex: 1;
  margin: 0;
}

.detail-close {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface-raised);
  color: var(--text);
  font-size: 1.65rem;
  line-height: 1;
  text-decoration: none;
  transition: border-color 140ms ease, color 140ms ease;
}

.detail-close:hover {
  border-color: var(--orange);
  color: var(--gold);
}

.detail-close:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.page-heading {
  margin-bottom: 34px;
}

.policy-faq {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.policy-faq details {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(145deg, var(--surface-raised), var(--surface) 72%);
}

.policy-faq summary {
  position: relative;
  min-height: 62px;
  padding: 18px 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text);
  font-weight: 750;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  text-align: center;
}

.policy-faq summary::-webkit-details-marker {
  display: none;
}

.policy-faq summary::after {
  position: absolute;
  right: 22px;
  content: "+";
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1;
}

.policy-faq details[open] summary::after {
  content: "−";
}

.policy-faq summary:focus-visible {
  border-radius: 10px;
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.policy-answer {
  padding: 0 22px 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  line-height: 1.7;
}

.policy-answer p {
  margin: 16px 0 0;
}

.policy-answer ul {
  margin: 16px 0 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 8px;
}

.policy-answer li::marker {
  color: var(--orange);
}

.page-heading h1,
.empty-state h1 {
  margin-bottom: 10px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.04em;
}

.catalog-toolbar {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
}

.catalog-search {
  min-width: 0;
  flex: 1 1 320px;
  max-width: 440px;
  display: grid;
  gap: 8px;
}

.catalog-search label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.catalog-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.catalog-search input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.catalog-search-status {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.catalog-categories {
  min-width: 0;
  padding-bottom: 2px;
  display: flex;
  flex: 0 1 auto;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.category-filter {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-raised);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.category-filter:hover,
.category-filter[aria-pressed="true"] {
  border-color: var(--orange);
  color: var(--gold);
}

.category-filter[aria-pressed="true"] {
  background: linear-gradient(135deg, rgb(242 123 33 / 16%), rgb(242 189 75 / 8%));
}

.category-filter:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(80%, 220px), 1fr));
  gap: 20px;
}

.product-card {
  aspect-ratio: 3 / 4;
  min-width: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(145deg, var(--surface-raised), var(--surface) 72%);
  transition: border-color 140ms ease, transform 140ms ease, background-color 140ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: var(--orange);
}

.product-card-link {
  min-height: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: inherit;
  text-decoration: none;
}

.product-card-icon {
  min-height: 0;
  flex: 1;
  display: grid;
  place-items: center;
  margin: 8px;
  overflow: hidden;
  border: 1px solid rgb(242 189 75 / 36%);
  border-radius: 10px;
}

.product-card-icon img,
.detail-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.icon-placeholder {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgb(242 189 75 / 36%);
  border-radius: 18px;
  background: linear-gradient(145deg, rgb(242 123 33 / 24%), rgb(242 189 75 / 8%));
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 800;
}

.product-card-info h2 {
  margin: 0 0 8px;
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.35;
}

.product-card-info {
  margin-top: 18px;
}

.product-stock-status {
  width: fit-content;
  margin: 10px 0 0;
  padding: 4px 9px;
  display: block;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 750;
}

.detail-info > .product-stock-status {
  margin-top: -4px;
  margin-bottom: 14px;
}

.cart-item-info .product-stock-status {
  margin-top: 0;
}

.product-price,
.detail-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 8px;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 750;
}

.price-original {
  color: var(--muted);
  font-size: 0.85em;
  font-weight: 500;
}

.add-to-cart-button,
.product-option-link {
  min-height: 42px;
  margin: 12px 0 0;
  padding: 0 12px;
  cursor: pointer;
}

.add-to-cart-button,
.product-option-link {
  justify-content: space-between;
  border: 1px solid rgb(242 123 33 / 36%);
  border-radius: 8px;
  background: linear-gradient(135deg, rgb(242 123 33 / 14%), rgb(242 189 75 / 6%));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
  color: var(--text);
  font-size: 0.9rem;
  transition:
    background 140ms ease,
    border-color 140ms ease,
    box-shadow 140ms ease,
    color 140ms ease,
    transform 140ms ease;
}

.product-card .add-to-cart-button,
.product-card .product-option-link {
  width: 100%;
}

.add-to-cart-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgb(242 123 33 / 16%);
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1;
}

.add-to-cart-button:hover,
.product-option-link:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
  background: linear-gradient(135deg, rgb(242 123 33 / 24%), rgb(242 189 75 / 10%));
  box-shadow: 0 6px 16px rgb(0 0 0 / 22%), inset 0 1px 0 rgb(255 255 255 / 7%);
  color: var(--gold);
}

.add-to-cart-button:focus-visible,
.product-option-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.add-to-cart-button:disabled,
.add-to-cart-button:disabled:hover {
  transform: none;
  border-color: var(--border);
  background: var(--surface);
  box-shadow: none;
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.7;
}

.add-to-cart-button.is-added {
  border-color: rgb(242 189 75 / 56%);
  background: rgb(242 189 75 / 12%);
  color: var(--gold);
}

.add-to-cart-button.is-added .add-to-cart-icon {
  background: var(--gold);
  color: var(--black);
  font-size: 0.8rem;
}

.detail-info .add-to-cart-button {
  margin: 16px 0 28px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(32px, 7vw, 80px);
}

.detail-icon {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(145deg, var(--surface-raised), var(--surface));
}

.detail-icon .icon-placeholder {
  width: 96px;
  height: 96px;
  font-size: 2rem;
}

.detail-info h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.12;
  overflow-wrap: anywhere;
}

.detail-price {
  font-size: 1.3rem;
}

.detail-purchase-options {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr);
  align-items: end;
  gap: 16px;
}

.product-option-selector {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.product-option-label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.product-option-select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.product-option-select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.product-option-select:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.detail-purchase-options + .add-to-cart-button {
  margin-top: 0;
}

.detail-purchase-options > .detail-price {
  margin-bottom: 12px;
}

.details-heading {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 1rem;
}

.details-copy {
  margin: 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 12px;
  color: var(--muted);
  line-height: 1.7;
}

.details-copy li::marker {
  color: var(--orange);
}

.details-copy strong {
  color: var(--text);
  font-weight: 800;
}

.empty-state {
  padding: 24px 0 72px;
}

.catalog-load-error {
  margin: 0 0 24px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  text-align: center;
}

.detail-description {
  color: var(--muted);
  line-height: 1.7;
  white-space: pre-wrap;
}

.empty-state .button {
  margin-top: 10px;
}

.checkout-heading {
  text-align: center;
}

.checkout-card {
  max-width: 760px;
  margin: 0 auto 72px;
  padding: clamp(20px, 5vw, 36px);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(145deg, var(--surface-raised), var(--surface) 72%);
}

.checkout-card h2 {
  margin-bottom: 20px;
  font-size: 1.25rem;
}

.checkout-items {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.checkout-item {
  min-width: 0;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
}

.checkout-item-info {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.checkout-item-name {
  overflow-wrap: anywhere;
  line-height: 1.4;
}

.checkout-item-controls {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.85rem;
}

.checkout-item-controls .checkout-item-quantity-label {
  min-width: 0;
  text-align: left;
}

.checkout-item-price {
  flex: 0 0 auto;
  color: var(--gold);
  text-align: right;
}

.checkout-total {
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.1rem;
}

.checkout-status {
  margin: 16px 0 0;
  color: var(--gold);
}

.checkout-terms {
  margin-top: 24px;
  padding-top: 20px;
  display: grid;
  gap: 16px;
  border-top: 1px solid var(--border);
}

.terms-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.terms-acceptance input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 auto;
  accent-color: var(--orange);
}

.terms-acceptance input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.terms-acceptance a {
  color: var(--gold);
}

.terms-acceptance a:hover {
  color: var(--orange);
}

.checkout-pay-button {
  width: 100%;
  margin-top: 0;
  cursor: pointer;
}

.checkout-pay-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.checkout-empty {
  max-width: 760px;
  margin: 0 auto 72px;
  text-align: center;
}

.site-footer {
  min-height: 120px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-top: 1px solid rgb(255 255 255 / 7%);
  font-size: 0.9rem;
}

.footer-payments {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-payments-label {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.payment-methods {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}

.payment-logo {
  display: block;
  object-fit: contain;
}

.payment-methods li:nth-child(1) .payment-logo {
  width: 52px;
  height: 52px;
}

.payment-methods li:nth-child(2) .payment-logo {
  width: 46px;
  height: 46px;
}

.payment-methods li:nth-child(3) .payment-logo {
  width: 166px;
  height: 44px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

@media (prefers-reduced-motion: reduce) {
  body::before {
    animation: none;
  }
}

@media (max-width: 760px) {
  body::before {
    inset: -10%;
    background:
      radial-gradient(ellipse at 28% 22%, rgb(242 123 33 / 12%), transparent 46%),
      radial-gradient(ellipse at 76% 68%, rgb(242 189 75 / 8%), transparent 44%);
  }

  body::after {
    background: radial-gradient(
      circle at var(--light-x, 50%) var(--light-y, 50%),
      rgb(242 189 75 / 10%) 0,
      rgb(242 123 33 / 5%) 2rem,
      transparent 6rem
    );
  }

  .brand-header {
    min-height: 104px;
  }

  .detail-topbar {
    gap: 8px;
    margin-bottom: 32px;
  }

  .detail-topbar .breadcrumbs {
    flex-wrap: nowrap;
    gap: 6px;
    overflow: hidden;
    white-space: nowrap;
  }

  .detail-topbar .breadcrumbs > a,
  .detail-topbar .breadcrumbs > span[aria-hidden="true"] {
    flex: 0 0 auto;
  }

  .detail-topbar .breadcrumbs #breadcrumb-product {
    min-width: 0;
    flex: 1 1 auto;
    max-width: clamp(84px, 28vw, 180px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .detail-close {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .cart-button {
    top: 16px;
    gap: 6px;
    padding: 8px 10px;
    font-size: 0.85rem;
  }

  .cart-menu {
    top: 58px;
    right: 16px;
  }

  .support-button {
    top: 16px;
    left: 16px;
  }

  .cart-button svg {
    width: 18px;
    height: 18px;
  }

  .catalog-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .catalog-search {
    max-width: none;
    flex: none;
  }

  .catalog-categories {
    padding-bottom: 0;
  }

  .home-main,
  .page-main {
    width: min(100% - 32px, 560px);
  }

  .product-card {
    padding: 14px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-purchase-options {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .detail-purchase-options > .detail-price {
    margin-bottom: 0;
  }

  .policy-faq summary {
    padding: 16px 44px;
  }

  .policy-faq summary::after {
    right: 16px;
  }

  .policy-answer {
    padding: 0 16px 18px;
  }

  .detail-icon {
    width: min(100%, 400px);
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .results-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .result-card-featured {
    grid-column: span 2;
    grid-row: auto;
    min-height: 290px;
  }

  .result-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .support-label {
    display: none;
  }

  .results-heading h2 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .results-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .result-card,
  .result-card-featured,
  .result-card:last-child {
    grid-column: auto;
  }

  .result-card {
    min-height: 190px;
  }

  .result-card-featured {
    min-height: 270px;
  }

  .result-card-featured .result-value {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .result-value {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }
}
