@font-face {
  font-family: Pirata One;
  src: url("./PirataOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("./Barlow-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url("./Barlow-SemiBold.ttf") format("truetype");
  font-weight: 600 900;
  font-display: swap;
}
:root {
  --bg: #101112;
  --surface: #19191d;
  --paper: #eee9df;
  --muted: #b8b3c4;
  --line: #393343;
  --accent: #b497ff;
  --accent-soft: #d4c1ff;
  --ink: #211c29;
  --receipt-muted: #61596b;
  --display: "Pirata One", Georgia, serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
  border-radius: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font:
    17px/1.55 Barlow,
    Arial,
    sans-serif;
}
button,
input,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: #b497ff25;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent-soft);
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  text-wrap: balance;
}
p {
  margin: 0;
}
svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
}
.icon {
  width: 20px;
  height: 20px;
  flex: none;
}
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.shell {
  width: min(1560px, calc(100% - 112px));
  margin-inline: auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 50;
  background: var(--paper);
  color: var(--bg);
  padding: 12px 20px;
}
.skip-link:focus {
  top: 15px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 32px/1 var(--display);
  white-space: nowrap;
}
.brand:hover {
  color: var(--paper);
}
.desktop-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 15px;
}
.desktop-nav a {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
}
.desktop-nav .icon {
  width: 15px;
  height: 15px;
}
.header-actions {
  display: flex;
  gap: 14px;
  align-items: center;
}
.cart-trigger {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--paper);
  min-height: 44px;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}
.cart-trigger:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
}
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 24px;
  padding: 1px 5px;
  background: var(--accent);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.mobile-menu {
  display: none;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  column-gap: 45px;
  padding: 62px 0 0;
}
.hero-kicker {
  font-size: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.accent-square {
  width: 7px;
  height: 7px;
  background: var(--accent);
  display: inline-block;
  flex: none;
}
.hero h1 {
  font-size: clamp(70px, 8.7vw, 132px);
  letter-spacing: -1.5px;
  margin: 27px 0 27px;
  line-height: 0.98;
}
.accent-text {
  color: var(--accent);
}
.hero-description {
  font-size: 19px;
  max-width: 430px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 52px;
  padding: 14px 20px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}
.button.primary {
  background: var(--accent);
  color: var(--bg);
}
.button.primary:hover {
  background: var(--accent-soft);
  color: var(--bg);
}
.button.secondary {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}
.button.secondary:hover {
  border-color: var(--accent);
  color: var(--accent-soft);
}
.button:active,
.add-button:active {
  transform: translateY(1px);
}
.button:disabled {
  background: #cec4de;
  color: #6b607b;
  border-color: transparent;
  transform: none;
}

code {
  font-family: Barlow, Arial, sans-serif;
  font-weight: 600;
  white-space: nowrap;
}
.hero-baseline {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 53px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
.hero-baseline > span:last-child > span {
  color: var(--accent);
  padding-inline: 13px;
}
.shop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  padding-top: 63px;
  padding-bottom: 84px;
  align-items: start;
}
.catalog {
  min-width: 0;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-label {
  font-size: 14px;
  color: var(--muted);
}
h2 {
  font-size: 54px;
  margin: 10px 0 0;
}
.catalog-count {
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 5px;
  font-variant-numeric: tabular-nums;
}
.catalog-tools {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 27px;
}
.search {
  min-width: 0;
  flex: 1;
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 0 15px;
  min-height: 52px;
}
.search .icon {
  color: var(--accent);
  width: 18px;
  height: 18px;
}
.search:focus-within {
  border-color: var(--accent);
}
.search input {
  background: transparent;
  border: 0;
  color: var(--paper);
  min-width: 0;
  width: 100%;
  font-size: 16px;
  padding: 13px 0;
}
.search input::placeholder {
  color: var(--muted);
}
.search input:focus-visible {
  outline-offset: -2px;
}
.refresh-button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  background: transparent;
  border: 0;
  padding: 8px 0;
  color: var(--muted);
  font-size: 14px;
}
.refresh-button > span:first-child {
  font-size: 24px;
  line-height: 1;
}
.refresh-button:hover {
  color: var(--accent-soft);
}
.refresh-button:disabled {
  opacity: 0.5;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.product {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.product:nth-child(n + 51) {
  content-visibility: auto;
  contain-intrinsic-size: auto 400px;
}
.product:hover {
  border-color: #695480;
}
.product-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #151518;
  border-bottom: 1px solid var(--line);
}
.image-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}
.image-placeholder svg {
  width: 56px;
  height: 56px;
  stroke-width: 1.1;
  color: #927cab;
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 10px;
}
.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 13px;
  min-width: 0;
}
.product h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.product-description {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
  margin-top: auto;
}
.product-price {
  font-size: 22px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.add-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #8871a3;
  min-height: 44px;
  min-width: 112px;
  background: transparent;
  color: var(--accent);
  padding: 9px 11px;
  font-size: 15px;
  font-weight: 600;
}
.add-button .icon {
  width: 16px;
  height: 16px;
}
.add-button:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.add-button.is-added {
  background: var(--accent);
  color: var(--bg);
}
.add-button:disabled {
  opacity: 0.45;
}
.catalog-state {
  padding: 42px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 17px;
}
.catalog-state a {
  color: var(--accent);
  text-decoration: underline;
}
.catalog-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 24px;
}
.cart-slot {
  position: sticky;
  top: 112px;
  min-width: 0;
}
.order {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  border-top: 4px solid var(--accent);
  padding: 24px 24px 18px;
  max-height: calc(100dvh - 136px);
  color-scheme: light;
}
.order .section-label {
  font-size: 13px;
  color: var(--receipt-muted);
}
.order-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #c4bcd0;
  padding-bottom: 22px;
  flex: none;
}
.order-heading h2 {
  font-size: 40px;
  margin: 7px 0 0;
}
.order-heading .accent-text {
  color: #7143a8;
}
.cart-slot .close-cart {
  display: none;
}
.order-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  min-height: 0;
  padding-right: 2px;
}
.order-empty {
  padding: 29px 0 27px;
}
.order-empty > svg {
  width: 50px;
  height: 50px;
  color: #8b71a7;
  stroke-width: 1.1;
  margin-bottom: 14px;
}
.order-empty h3 {
  font:
    600 21px/1.25 Barlow,
    Arial,
    sans-serif;
  margin: 0 0 10px;
  text-wrap: pretty;
}
.order-empty p {
  color: var(--receipt-muted);
  font-size: 15px;
  line-height: 1.5;
}
.empty-catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 44px;
  margin-top: 10px;
  font-size: 14px;
  color: #653b99;
  font-weight: 600;
}
.empty-catalog-link:hover {
  color: #452464;
  text-decoration: underline;
}
.empty-catalog-link .icon {
  width: 15px;
  height: 15px;
}
.order-item {
  padding: 18px 0;
  border-bottom: 1px solid #c4bcd0;
}
.item-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}
.item-top h3 {
  font:
    600 17px/1.4 Barlow,
    Arial,
    sans-serif;
  overflow-wrap: anywhere;
  margin: 3px 0 7px;
  text-wrap: pretty;
  min-width: 0;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 10px;
}
.remove-button {
  color: var(--receipt-muted);
  margin: -6px -8px 0 0;
  flex: none;
}
.remove-button:hover {
  color: #653b99;
  background: #dad0e7;
}
.item-unit {
  font-size: 14px;
  color: var(--receipt-muted);
  font-variant-numeric: tabular-nums;
}
.item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.quantity {
  display: flex;
  border: 1px solid #887499;
  align-items: center;
  height: 44px;
}
.quantity:focus-within {
  border-color: #653b99;
}
.quantity button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 42px;
  border: 0;
  color: var(--ink);
  background: transparent;
}
.quantity .icon {
  width: 16px;
  height: 16px;
}
.quantity button:hover:not(:disabled) {
  background: #dad0e7;
}
.quantity button:disabled {
  opacity: 0.3;
}
.quantity input {
  width: 40px;
  background: transparent;
  border: 0;
  color: var(--ink);
  text-align: center;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  appearance: textfield;
  -moz-appearance: textfield;
  padding: 6px 0;
  min-width: 0;
}
.quantity input::-webkit-inner-spin-button,
.quantity input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.item-subtotal {
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.order-footer {
  padding-top: 21px;
  flex: none;
}
.units-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--receipt-muted);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.units-row strong {
  font-weight: 400;
}
.order-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0 21px;
}
.order-total > span {
  font-size: 15px;
}
.order-total > strong {
  font:
    600 32px/1.1 Barlow,
    Arial,
    sans-serif;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.checkout {
  width: 100%;
  gap: 10px;
  justify-content: space-between;
  padding: 14px;
  font-size: 15px;
}
.checkout .icon {
  width: 18px;
  height: 18px;
}
.checkout-help {
  font-size: 14px;
  line-height: 1.5;
  color: var(--receipt-muted);
  margin-top: 13px;
}
.clear-button {
  display: block;
  background: transparent;
  border: 0;
  color: var(--receipt-muted);
  min-height: 44px;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin: 4px auto -4px;
}
.clear-button:hover:not(:disabled) {
  color: #653b99;
}
.clear-button:disabled {
  opacity: 0.5;
}
.order-status:not(:empty) {
  font-size: 14px;
  padding-block: 14px;
  border-bottom: 1px solid #c4bcd0;
  line-height: 1.5;
}
.view-code {
  width: 100%;
  margin-top: 10px;
}
.button.secondary.view-code:not(:disabled) {
  color: #653b99;
  border-color: #887499;
}
.button.secondary.view-code:hover:not(:disabled) {
  background: #dad0e7;
  color: var(--ink);
  border-color: var(--ink);
}
.button.secondary.view-code:focus-visible {
  outline-color: #653b99;
}
.checkout-status:not(:empty) {
  color: var(--receipt-muted);
  font-size: 14px;
  margin: 10px 0 0;
}
body.handoff-open {
  overflow: hidden;
}
.handoff-dialog {
  padding: 0;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  background: var(--surface);
  color: var(--paper);
  width: min(540px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 24px 80px #0008;
}
.handoff-dialog::backdrop {
  background: #101112b8;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.handoff-dialog[open] {
  animation: handoff-in 0.18s ease-out;
}
.handoff {
  padding: 24px;
}
.handoff-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.handoff-heading h2 {
  margin: 0;
  font-size: 38px;
  line-height: 1.15;
}
.handoff-heading .icon-button {
  flex: none;
  margin-right: -10px;
}
.handoff p {
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
  margin: 10px 0 16px;
}
.handoff-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 10px;
  margin-top: 16px;
}
.handoff label {
  grid-column: 1 / -1;
  font-weight: 600;
  font-size: 14px;
}
.handoff textarea,
.handoff input {
  width: 100%;
  min-width: 0;
  resize: none;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--paper);
  font-size: 15px;
  line-height: 1.4;
  padding: 10px;
}
.handoff input {
  letter-spacing: 0.06em;
  font-weight: 600;
}
.handoff textarea {
  height: 64px;
  overflow-wrap: anywhere;
}
.handoff .button {
  font-size: 14px;
  min-height: 44px;
  padding: 10px 12px;
  gap: 8px;
}
.handoff-discord {
  width: 100%;
  justify-content: center;
}
.handoff .handoff-status {
  min-height: 20px;
  margin: 8px 0;
  color: var(--accent-soft);
}
.handoff-status[data-tone="error"] {
  color: #ffb6ae;
}
@keyframes handoff-in {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
@media (max-width: 540px) {
  .handoff { padding: 18px; }
  .handoff-heading h2 { font-size: 32px; }
  .handoff-field { grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
  .handoff-field .button { width: 100%; justify-content: center; }
  .handoff p { margin: 8px 0 12px; }
}
@media (max-height: 460px) and (min-width: 541px) {
  .handoff { padding: 12px 20px; }
  .handoff-heading h2 { font-size: 28px; }
  .handoff-field { margin-top: 6px; }
  .handoff p { margin: 4px 0 6px; }
  .handoff textarea { height: 44px; }
  .handoff .handoff-status { margin: 4px 0; }
}
@media (prefers-reduced-motion: reduce) {
  .handoff-dialog[open] { animation: none; }
}
.receipt-edge {
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 8px;
  background:
    linear-gradient(135deg, var(--paper) 25%, transparent 25%) -8px 0/16px 16px,
    linear-gradient(225deg, var(--paper) 25%, transparent 25%) -8px 0/16px 16px;
}
.how {
  padding: 58px 0 65px;
  border-top: 1px solid var(--line);
}
.how-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 40px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 0;
  list-style: none;
}
.how-steps li {
  min-width: 0;
  padding: 22px 26px 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.how-steps li:first-child {
  padding-left: 0;
  border-left: 0;
}
.how-steps li:last-child {
  padding-right: 0;
}
.step-number {
  display: block;
  color: var(--accent);
  font: 54px/1 var(--display);
  margin-bottom: 27px;
}
.how-steps h3 {
  font-size: 29px;
  line-height: 1.2;
  margin: 0 0 14px;
  text-wrap: pretty;
}
.how-steps p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  text-wrap: pretty;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  padding-bottom: 28px;
}

.mobile-cart-bar {
  display: none;
}
.cart-dialog {
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  max-width: none;
  width: min(560px, 100%);
  max-height: none;
  height: 100dvh;
  margin: 0 0 0 auto;
  overflow: visible;
}
.cart-dialog::backdrop {
  background: #000b;
}
.cart-dialog .order {
  height: 100%;
  max-height: none;
  padding: 24px 24px max(20px, env(safe-area-inset-bottom));
  border-top: 4px solid var(--accent);
}
.cart-dialog .close-cart {
  display: inline-flex;
}
.cart-dialog .order-scroll {
  flex: 1;
}
.cart-dialog .receipt-edge {
  display: none;
}
.cart-dialog[open] {
  animation: drawer-in 0.2s ease-out;
}
.toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: min(520px, calc(100% - 48px));
  border: 1px solid var(--accent);
  background: var(--surface);
  color: var(--paper);
  padding: 8px 8px 8px 18px;
  box-shadow: 0 6px 25px #0005;
}
.toast p {
  font-size: 15px;
  line-height: 1.4;
}
.toast > button:not(.icon-button) {
  background: transparent;
  border: 0;
  color: var(--accent);
  padding: 10px;
  min-height: 44px;
  font-size: 15px;
  text-decoration: underline;
}
.toast .icon-button {
  flex: none;
}
.toast .icon {
  width: 16px;
  height: 16px;
}
.toast[data-tone="error"] {
  border-color: var(--accent-soft);
}
.toast[data-tone="error"] p {
  color: var(--accent-soft);
}
@keyframes drawer-in {
  from {
    transform: translateX(24px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
.product-image {
  position: absolute;
  inset: 0;
  transition: transform 0.2s ease-out;
}
.product:hover .product-image {
  transform: scale(1.025);
}
.image-placeholder svg {
  transition: transform 0.2s ease-out;
}
.product:hover .image-placeholder svg {
  transform: translateY(-3px);
}
.cart-open {
  overflow: hidden;
}
.cart-toast {
  position: static;
  max-width: none;
  margin: 14px 0;
  box-shadow: none;
  flex-wrap: wrap;
}
.cart-toast .icon-button {
  margin-left: auto;
}
.quantity input[aria-invalid="true"] {
  outline: 2px solid #653b99;
  outline-offset: -2px;
}
/* Hero inspired by the supplied typographic reference; all featured data is live. */
.hero {
  grid-template-columns: minmax(0, 1fr) 380px;
  column-gap: 80px;
  padding-top: 64px;
}
.hero h1 {
  font-size: 94px;
  line-height: 0.96;
  letter-spacing: 0;
  margin: 27px 0 24px;
}
.hero-brand {
  display: block;
  color: var(--accent);
}
.hero-description {
  max-width: 430px;
  font-size: 18px;
}
.hero-feature {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 0 32px rgb(180 151 255 / 10%);
  align-self: center;
  margin-top: 0;
  min-width: 0;
}
.hero-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 18px;
  height: 58px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.hero-feature-top button {
  min-width: 72px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--accent);
  font-size: 14px;
}
.hero-feature-top button:hover {
  border-color: var(--accent);
}
.hero-feature .product-media {
  aspect-ratio: 16/10;
}
.hero-feature-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  height: 136px;
}
.hero-feature h2 {
  font-size: 32px;
  margin: 0;
  line-height: 1.04;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.hero-feature strong {
  font-size: 21px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hero-feature > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  color: var(--accent);
  border-top: 1px solid var(--line);
  font-size: 15px;
  min-height: 48px;
}
.hero-feature > a:hover {
  background: var(--accent);
  color: var(--bg);
}
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}
.category-filters button {
  border: 1px solid var(--line);
  padding: 10px 16px;
  min-height: 44px;
  background: transparent;
  color: var(--paper);
  font-size: 16px;
}
.category-filters button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.category-filters button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.site-footer {
  padding-block: 25px;
}
.site-footer nav {
  display: flex;
  gap: 32px;
  justify-content: flex-end;
}
.site-footer a {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
}
@media (max-width: 1430px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero h1 {
    font-size: clamp(70px, 8.7vw, 115px);
  }
  .hero {
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 30px;
  }

  .shop {
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) 320px;
  }
  .order {
    padding-inline: 20px;
  }
  .order-heading h2 {
    font-size: 37px;
  }
  .checkout {
    font-size: 14px;
  }
  .how-steps li {
    padding-inline: 20px;
  }
  .how-steps h3 {
    font-size: 27px;
  }
}
@media (max-width: 1100px) {
  .shell {
    width: calc(100% - 64px);
  }
  .desktop-nav {
    gap: 18px;
    font-size: 14px;
  }
  .cart-trigger-label {
    display: none;
  }
  .cart-trigger {
    gap: 10px;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr) 175px;
    gap: 28px;
  }
  .hero h1 {
    font-size: 86px;
  }

  .hero-description {
    font-size: 18px;
  }
  .shop {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 28px;
  }
  .product-info {
    padding: 16px;
  }
  .product h3 {
    font-size: 29px;
  }
  .product-action {
    gap: 10px;
  }
  .product-price {
    font-size: 20px;
  }
  .add-button {
    min-width: 100px;
    font-size: 14px;
    gap: 6px;
    padding-inline: 9px;
  }
  .order-total > strong {
    font-size: 29px;
  }
  .order-total > span {
    font-size: 14px;
  }
  .checkout {
    gap: 6px;
    font-size: 13px;
    padding: 13px 11px;
  }
  .order-heading h2 {
    font-size: 35px;
  }
}
@media (max-width: 1000px) {
  body {
    padding-bottom: 82px;
  }
  .shop {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: 48px 58px;
  }
  .cart-slot {
    display: none;
  }
  .hero {
    grid-template-columns: minmax(0, 1fr) 185px;
  }
  .hero h1 {
    font-size: clamp(70px, 9.4vw, 92px);
  }
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .product-action {
    flex-wrap: wrap;
    gap: 14px;
  }
  .add-button {
    margin-left: auto;
  }
  .product h3 {
    font-size: 30px;
  }
  .mobile-cart-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 12;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 70px;
    border: 0;
    border-top: 1px solid var(--accent);
    background: var(--surface);
    color: var(--paper);
    padding: 14px max(24px, env(safe-area-inset-right))
      max(14px, env(safe-area-inset-bottom))
      max(24px, env(safe-area-inset-left));
    font-size: 17px;
  }
  .mobile-cart-bar > span {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .mobile-cart-bar > strong {
    margin-left: auto;
    font-variant-numeric: tabular-nums;
    font-size: 19px;
  }
  .mobile-cart-bar > .icon {
    color: var(--accent);
  }
  .toast {
    bottom: 86px;
  }
  .how-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }
  .how-steps li {
    padding-right: 30px;
    padding-bottom: 10px;
  }
  .how-steps li:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .how-steps li:nth-child(2n) {
    padding-right: 0;
  }
  .how-heading {
    gap: 25px;
  }
}
@media (max-width: 760px) {
  .shell {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 78px;
    gap: 14px;
  }
  .brand {
    font-size: 28px;
    gap: 9px;
  }
  .brand img {
    width: 28px;
    height: 28px;
  }
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .mobile-menu summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    cursor: pointer;
    font-size: 15px;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu summary > span {
    font-size: 23px;
    line-height: 1;
  }
  .mobile-menu nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--accent);
    padding: 12px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 18px;
    box-shadow: 0 8px 14px #0004;
  }
  .mobile-menu nav > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 10px 8px;
    font-size: 17px;
  }
  .cart-trigger {
    padding: 8px 10px;
    border: 0;
  }
  .header-actions {
    gap: 12px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }
  .hero h1 {
    font-size: clamp(60px, 10.5vw, 80px);
    letter-spacing: -0.7px;
    line-height: 1.05;
  }

  .hero-description {
    max-width: 420px;
    font-size: 18px;
  }
  .hero-kicker {
    font-size: 15px;
  }
  .hero-baseline {
    margin-top: 34px;
    padding-block: 20px;
    font-size: 13px;
    gap: 15px;
  }
  .hero-baseline > span:last-child {
    max-width: 220px;
    text-align: right;
  }
  .hero-baseline > span:last-child > span {
    padding-inline: 6px;
  }
  .hero-actions {
    gap: 12px;
  }
  .button {
    font-size: 16px;
    padding: 13px 17px;
    gap: 18px;
  }
  .section-heading {
    margin-bottom: 22px;
  }
  h2 {
    font-size: 48px;
  }
  .section-label {
    font-size: 14px;
  }
  .catalog-count {
    font-size: 13px;
  }
  .catalog-tools {
    gap: 15px;
  }
  .refresh-button > span:last-child {
    display: none;
  }
  .refresh-button {
    min-width: 44px;
    justify-content: center;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .product-info {
    padding: 20px;
  }
  .product-action {
    flex-wrap: nowrap;
  }
  .product h3 {
    font-size: 32px;
  }
  .product-price {
    font-size: 22px;
  }
  .add-button {
    min-width: 108px;
    font-size: 15px;
  }
  .how {
    padding-block: 44px;
  }
  .how-heading {
    display: block;
    margin-bottom: 28px;
  }

  .how-steps li {
    padding-right: 20px;
  }
  .how-steps h3 {
    font-size: 29px;
  }
  .how-steps p {
    font-size: 16px;
  }
}
@media (max-width: 540px) {
  .header-inner {
    gap: 8px;
  }
  .header-actions {
    gap: 7px;
  }
  .brand {
    font-size: 27px;
  }
  .cart-trigger {
    gap: 7px;
    padding-inline: 5px;
  }
  .mobile-menu summary {
    gap: 6px;
  }
  .hero {
    padding-top: 34px;
  }
  .hero h1 {
    font-size: clamp(58px, 13.4vw, 70px);
    margin: 22px 0 22px;
  }
  .hero-description {
    font-size: 17px;
    max-width: 320px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 25px;
  }
  .hero-actions .button {
    font-size: 15px;
    gap: 10px;
    padding: 13px 10px;
  }
  .hero-baseline {
    display: block;
    font-size: 14px;
    margin-top: 28px;
  }
  .hero-baseline > span {
    display: block;
  }
  .hero-baseline > span:last-child {
    max-width: none;
    text-align: left;
    margin-top: 9px;
  }
  .shop {
    padding-top: 34px;
  }
  .section-heading {
    gap: 12px;
  }
  .section-heading h2 {
    font-size: 43px;
  }
  .catalog-count {
    font-size: 12px;
  }
  .search {
    padding-inline: 12px;
  }
  .search input {
    font-size: 16px;
  }
  .catalog-tools {
    gap: 8px;
    margin-bottom: 20px;
  }
  .product-grid {
    gap: 18px;
  }
  .product-info {
    padding: 16px;
  }
  .product h3 {
    font-size: 29px;
  }
  .product-price {
    font-size: 22px;
  }
  .product-action {
    flex-wrap: wrap;
    gap: 12px;
  }
  .add-button {
    font-size: 15px;
    min-width: 106px;
  }
  .product-description {
    font-size: 16px;
  }
  .how h2 {
    font-size: 44px;
  }
  .how-steps {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .how-steps li,
  .how-steps li:nth-child(3) {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 20px;
    border-left: 0;
    padding: 24px 0;
  }
  .step-number {
    grid-row: 1/3;
    font-size: 44px;
    margin: 0;
    padding-top: 1px;
  }
  .how-steps h3 {
    margin-bottom: 9px;
    font-size: 30px;
  }
  .how-steps p {
    grid-column: 2;
  }

  .cart-dialog {
    width: 100%;
    height: 100dvh;
  }
  .cart-dialog .order {
    padding: 20px 20px max(18px, env(safe-area-inset-bottom));
  }
  .order-heading h2 {
    font-size: 40px;
  }
  .order-heading {
    padding-bottom: 18px;
  }
  .order-total > strong {
    font-size: 34px;
  }
  .order-total > span {
    font-size: 16px;
  }
  .checkout {
    font-size: 16px;
    padding: 14px 16px;
  }
  .order-empty {
    padding-block: 26px;
  }
  .item-top h3 {
    font-size: 18px;
  }
  .quantity button {
    min-width: 44px;
  }
  .quantity input {
    width: 45px;
  }
  .order-total {
    padding-bottom: 17px;
  }
  .checkout-help {
    font-size: 14px;
  }
  .toast {
    left: 12px;
    bottom: 88px;
    max-width: calc(100% - 24px);
    gap: 8px;
    padding-left: 13px;
  }
  .toast p {
    font-size: 14px;
  }
  .mobile-cart-bar {
    padding-inline: 20px;
  }
  .mobile-cart-bar > span {
    gap: 10px;
  }
}
@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-info {
    padding: 22px;
  }
  .product h3 {
    font-size: 34px;
  }
  .product-action {
    flex-wrap: nowrap;
    padding-top: 8px;
  }
  .product-media {
    aspect-ratio: 16/10;
  }
  .image-placeholder svg {
    width: 60px;
    height: 60px;
  }
  .add-button {
    min-width: 124px;
    font-size: 16px;
    gap: 10px;
  }
  .product-description {
    font-size: 17px;
  }
  .product-price {
    font-size: 25px;
  }
  .catalog-note {
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media (prefers-contrast: more) {
  :root {
    --muted: #ddd7ec;
    --line: #aa98c4;
  }
  .image-placeholder svg {
    color: var(--accent);
  }
  .product,
  .search,
  .add-button {
    border-width: 2px;
  }
}
@media (forced-colors: active) {
  button,
  a,
  input,
  textarea {
    forced-color-adjust: auto;
  }
  .product,
  .search,
  .order {
    border: 1px solid CanvasText;
  }
  .cart-count {
    border: 1px solid CanvasText;
  }
}

@media (max-width: 1430px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 48px;
  }
  .hero h1 {
    font-size: 88px;
  }
}
@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 285px;
    gap: 35px;
  }
  .hero h1 {
    font-size: 76px;
  }
  .hero-feature h2 {
    font-size: 28px;
  }
  .hero-feature strong {
    font-size: 18px;
  }
}
@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 38px;
  }
  .hero h1 {
    font-size: 76px;
    line-height: 0.98;
  }
  .hero-description {
    font-size: 18px;
  }
  .hero-feature {
    width: 100%;
    max-width: 420px;
    justify-self: start;
    margin-top: 18px;
  }
  .hero-feature .product-media {
    aspect-ratio: 2/1;
  }
  .hero-baseline {
    margin-top: 10px;
  }
  .hero-feature h2 {
    font-size: 31px;
  }
}
@media (max-width: 540px) {
  .hero h1 {
    font-size: clamp(58px, 15.2vw, 76px);
  }
  .hero-description {
    font-size: 17px;
  }
  .hero-feature {
    max-width: none;
  }
  .hero-feature .product-media {
    aspect-ratio: 2/1;
  }
  .hero-feature strong {
    font-size: 21px;
  }
  .hero-baseline {
    margin-top: 4px;
  }
  .category-filters {
    gap: 8px;
  }
  .category-filters button {
    font-size: 15px;
    padding: 10px 13px;
  }
  .site-footer nav {
    justify-content: flex-start;
  }
}
