:root {
  --red: #aa1810;
  --red-dark: #8e120c;
  --blue: #1d252e;
  --gold: #e5b94b;
  --ink: #18202a;
  --muted: #64748b;
  --line: #e5e7eb;
  --ice: #f3f5f8;
  --white: #ffffff;
}

@font-face {
  font-family: "AkiraExpanded";
  src: url("/assets/fonts/AkiraExpandedSuperBold.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f3f4f6;
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.gobold,
h1,
h2,
h3,
.brand span {
  font-family: "AkiraExpanded", "DM Sans", sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hollow {
  font-family: "Gobold Hollow", "Gobold", sans-serif;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.16);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand,
.nav-links,
.cart-link {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
  font-size: 20px;
}

.brand img {
  width: 48px;
  height: 48px;
}

.nav-links {
  gap: 18px;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
}

.cart-link {
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.14);
}

.cart-link span {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--white);
  color: var(--red);
  font-size: 13px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.12);
  color: var(--white);
}

.flash {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #fff7ed;
  color: #8a3412;
  border: 1px solid #fed7aa;
  font-weight: 700;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 540px;
  height: 540px;
  right: -190px;
  bottom: -240px;
  background: rgb(170 24 16 / 0.18);
  filter: blur(28px);
}

.hero::after {
  width: 390px;
  height: 390px;
  left: -180px;
  top: -180px;
  background: rgb(255 255 255 / 0.1);
  filter: blur(20px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 44px;
  align-items: center;
  padding: 70px 0 78px;
}

.eyebrow {
  margin: 0;
  color: rgb(255 255 255 / 0.7);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.eyebrow.red {
  color: var(--red);
}

.hero h1 {
  margin: 14px 0 16px;
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.95;
}

.hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgb(255 255 255 / 0.86);
  font-size: 19px;
  line-height: 1.55;
}

.hero-actions,
.product-actions,
.checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 22px rgb(0 0 0 / 0.14);
}

.button:hover {
  background: var(--red-dark);
}

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

.button.ghost {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--line);
  box-shadow: none;
}

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

.hero-card {
  min-height: 440px;
  border-radius: 8px;
  background:
    linear-gradient(140deg, rgb(255 255 255 / 0.95), rgb(255 255 255 / 0.72)),
    repeating-linear-gradient(45deg, #eef2f7 0 12px, #ffffff 12px 24px);
  color: var(--blue);
  padding: 26px;
  box-shadow: 0 28px 60px rgb(0 0 0 / 0.24);
}

.hero-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.hero-card img {
  width: 82px;
  height: 82px;
}

.hero-card .total {
  text-align: right;
}

.hero-card .total span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-card .total strong {
  font-family: "AkiraExpanded", "DM Sans", sans-serif;
  font-size: 40px;
  color: var(--gold);
}

.hero-ticket {
  margin-top: 28px;
  padding: 24px;
  border: 2px dashed rgb(29 37 46 / 0.28);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.72);
}

.hero-ticket h2 {
  margin: 0;
  font-size: 42px;
  color: var(--red);
}

.hero-ticket p {
  margin: 8px 0 0;
  color: var(--muted);
}

.hero-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.hero-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.hero-list i {
  color: var(--gold);
}

.lede {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.section {
  padding: 56px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.section-heading h2 {
  margin: 0;
  color: var(--blue);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
}

.section-heading p {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-pill {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

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

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

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgb(15 23 42 / 0.08);
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.product-card h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 24px;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
}

.price {
  color: var(--red);
  font-family: "AkiraExpanded", "DM Sans", sans-serif;
  font-size: 28px;
}

.price-muted {
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.tag {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-bottom: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-visual {
  position: relative;
  min-height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(150deg, #ffffff, #dfe5ed);
}

.product-visual.large {
  min-height: 520px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.product-visual span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: rgb(29 37 46 / 0.55);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.real-product-image {
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.98), rgba(245, 245, 247, 0.92) 52%, rgba(231, 233, 238, 0.96));
}

.real-product-image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: contain;
  padding: 18px;
  position: relative;
  z-index: 1;
}

.product-card .real-product-image img {
  transition: transform 240ms ease;
}

.product-card:hover .real-product-image img {
  transform: scale(1.035);
}

.visual-ice {
  position: absolute;
  inset: 24px;
  border: 2px solid rgb(170 24 16 / 0.13);
  border-radius: 999px;
}

.visual-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 10px 22px rgb(15 23 42 / 0.16);
}

.visual-badge img {
  width: 34px;
  height: 34px;
}

.visual-shape {
  position: relative;
  width: 118px;
  height: 142px;
  background: var(--blue);
  border-radius: 10px 10px 18px 18px;
  box-shadow: inset 0 -28px 0 rgb(170 24 16 / 0.95), 0 20px 34px rgb(15 23 42 / 0.18);
}

.visual-shape::before,
.visual-shape::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 48px;
  height: 76px;
  background: var(--blue);
}

.visual-shape::before {
  left: -38px;
  border-radius: 26px 0 14px 20px;
  transform: rotate(18deg);
}

.visual-shape::after {
  right: -38px;
  border-radius: 0 26px 20px 14px;
  transform: rotate(-18deg);
}

.visual-jersey .visual-shape {
  width: 136px;
  background: #f8fafc;
  border: 8px solid var(--red);
  box-shadow: inset 0 46px 0 var(--blue), 0 20px 34px rgb(15 23 42 / 0.18);
}

.visual-ticket .visual-shape {
  width: 170px;
  height: 108px;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--red), #c8443e);
  box-shadow: 0 20px 34px rgb(15 23 42 / 0.18);
}

.visual-ticket .visual-shape::before,
.visual-ticket .visual-shape::after {
  top: 38px;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #eef2f7;
  transform: none;
}

.visual-ticket .visual-shape::before {
  left: -16px;
}

.visual-ticket .visual-shape::after {
  right: -16px;
}

.visual-collectible .visual-shape {
  width: 132px;
  height: 132px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 42%, #ffffff 0 24%, var(--blue) 25% 44%, var(--red) 45% 100%);
}

.visual-coming-soon {
  background:
    linear-gradient(135deg, rgba(29, 37, 46, 0.92), rgba(170, 24, 16, 0.84)),
    radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.18), transparent 48%);
}

.visual-coming-soon .visual-shape {
  width: 160px;
  height: 100px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 20px 34px rgb(15 23 42 / 0.18);
}

.visual-coming-soon .visual-shape::before,
.visual-coming-soon .visual-shape::after {
  display: none;
}

.visual-coming-soon span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.product-page {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: start;
}

.panel {
  border-radius: 8px;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: 0 12px 34px rgb(15 23 42 / 0.08);
}

.product-info h1 {
  margin: 8px 0 12px;
  color: var(--blue);
  font-size: clamp(40px, 6vw, 70px);
  line-height: 0.95;
}

.product-info .lede {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.option-group {
  margin-top: 22px;
}

.option-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
  color: var(--blue);
  font-weight: 900;
}

.swatches,
.sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.swatch input,
.size-chip input {
  position: absolute;
  opacity: 0;
}

.swatch span {
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 999px;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--line), 0 8px 18px rgb(15 23 42 / 0.12);
  cursor: pointer;
}

.swatch input:checked + span {
  box-shadow: 0 0 0 3px var(--red), 0 8px 18px rgb(15 23 42 / 0.12);
}

.size-chip span {
  min-width: 48px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.size-chip input:checked + span {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field label,
.check {
  color: var(--blue);
  font-weight: 900;
}

.field input,
.field textarea,
.field select,
.quantity-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px 12px;
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.35;
}

.check input {
  margin-top: 3px;
}

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

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}

.cart-line {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 150px;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line:first-child {
  padding-top: 0;
}

.cart-thumb {
  min-height: 92px;
  border-radius: 8px;
}

.cart-line h3 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 22px;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.line-controls {
  display: grid;
  gap: 10px;
}

.line-controls .button {
  min-height: 40px;
  padding: 8px 10px;
}

.summary {
  position: sticky;
  top: 96px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-row.total {
  border-bottom: 0;
  color: var(--blue);
  font-size: 24px;
  font-weight: 900;
}

.cart-drawer-shell {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.cart-drawer-shell.is-open {
  pointer-events: auto;
}

.cart-drawer-overlay {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 19, 24, 0);
  cursor: pointer;
  transition: background-color 220ms ease;
}

.cart-drawer-shell.is-open .cart-drawer-overlay {
  background: rgba(17, 19, 24, 0.42);
}

.cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: min(460px, 100%);
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(255, 255, 255, 0.92);
  border-left: 1px solid rgba(17, 19, 24, 0.1);
  box-shadow: -30px 0 90px rgba(17, 19, 24, 0.22);
  backdrop-filter: saturate(180%) blur(24px);
  transform: translateX(104%);
  transition: transform 260ms ease;
}

.cart-drawer-shell.is-open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  padding: 26px 26px 18px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer-header h2 {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.icon-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(17, 19, 24, 0.08);
  color: var(--ink);
  cursor: pointer;
}

.cart-drawer-lines {
  overflow: auto;
  padding: 8px 26px 24px;
}

.drawer-line {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.drawer-thumb {
  min-height: 96px;
  border-radius: 8px;
}

.drawer-thumb .visual-badge,
.drawer-thumb span {
  display: none;
}

.drawer-thumb .visual-shape {
  width: 42px;
  height: 52px;
}

.drawer-thumb .visual-shape::before,
.drawer-thumb .visual-shape::after {
  top: 8px;
  width: 20px;
  height: 30px;
}

.drawer-thumb .visual-shape::before {
  left: -15px;
}

.drawer-thumb .visual-shape::after {
  right: -15px;
}

.drawer-line h3,
.cart-drawer-empty h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
}

.drawer-line p,
.cart-drawer-empty p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.drawer-line-controls {
  display: grid;
  grid-template-columns: 76px 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.drawer-line-controls .quantity-input {
  min-height: 40px;
  padding: 8px;
}

.drawer-line-controls .button {
  min-height: 40px;
  padding: 8px 10px;
  font-size: 13px;
}

.cart-drawer-footer {
  padding: 18px 26px 26px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.cart-drawer-footer .button {
  width: 100%;
  margin-top: 10px;
}

.cart-drawer-empty {
  display: grid;
  align-content: center;
  justify-items: start;
  padding: 34px 26px;
}

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

.empty {
  min-height: 300px;
  display: grid;
  place-items: center;
  text-align: center;
}

.empty h1 {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: clamp(42px, 6vw, 64px);
}

.receipt {
  max-width: 760px;
  margin-inline: auto;
}

.receipt h1 {
  margin-top: 0;
  color: var(--blue);
  font-size: clamp(42px, 6vw, 66px);
}

.notice {
  padding: 14px 16px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
  line-height: 1.45;
}

.notice code {
  color: inherit;
  font-weight: 900;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-grid .panel {
  display: grid;
  gap: 8px;
}

.stat-grid span,
.admin-table span,
.admin-table small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.stat-grid strong {
  color: var(--blue);
  font-family: "AkiraExpanded", "DM Sans", sans-serif;
  font-size: 28px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--blue);
  font-size: 12px;
  text-transform: uppercase;
}

.admin-table a {
  color: var(--red);
  font-weight: 900;
}

.admin-product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.admin-product-cell img {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f4f6;
  object-fit: contain;
  padding: 3px;
}

.admin-inline-input {
  width: 100%;
  min-width: 120px;
  min-height: 42px;
  border: 1px solid rgba(17, 19, 24, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  padding: 8px 10px;
}

.admin-actions {
  min-width: 170px;
  white-space: nowrap;
}

.admin-actions .button {
  min-height: 38px;
  padding: 8px 11px;
  font-size: 13px;
}

.admin-checks {
  display: grid;
  gap: 10px;
}

.admin-heading-tools {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.sales-status-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.sales-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.sales-status-pill span {
  color: rgba(17, 19, 24, 0.62);
}

.sales-status-pill strong {
  color: inherit;
}

.sales-status-pill.is-enabled {
  border-color: rgba(22, 101, 52, 0.22);
  background: rgba(220, 252, 231, 0.9);
  color: #166534;
}

.sales-status-pill.is-disabled {
  border-color: rgba(170, 24, 16, 0.18);
  background: rgba(254, 242, 242, 0.95);
  color: var(--red);
}

.admin-actions-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.admin-actions-bar .button {
  min-height: 42px;
  padding: 9px 13px;
}

.admin-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.admin-filter-row > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.compact-filters {
  justify-content: flex-end;
  gap: 8px;
}

.compact-filters .filter-pill {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
}

.settings-layout {
  margin-top: 18px;
}

.setting-card h3,
.setting-summary h3 {
  margin: 4px 0 8px;
  color: var(--blue);
  font-size: 28px;
}

.setting-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.setting-card {
  display: grid;
  gap: 24px;
}

.toggle-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

.toggle-row input {
  position: absolute;
  opacity: 0;
}

.toggle-switch {
  position: relative;
  width: 62px;
  height: 34px;
  border-radius: 999px;
  background: #cbd5e1;
  box-shadow: inset 0 0 0 1px rgb(15 23 42 / 0.08);
  transition: background 180ms ease;
}

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 6px 14px rgb(15 23 42 / 0.2);
  transition: transform 180ms ease;
}

.toggle-row input:checked + .toggle-switch {
  background: var(--red);
}

.toggle-row input:checked + .toggle-switch::after {
  transform: translateX(28px);
}

.toggle-row input:focus-visible + .toggle-switch {
  outline: 3px solid rgb(170 24 16 / 0.24);
  outline-offset: 3px;
}

.toggle-row small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.compact-heading {
  margin-bottom: 12px;
}

.compact-heading h2 {
  font-size: 2rem;
}

.status-pill {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.site-footer {
  margin-top: 64px;
  background: var(--blue);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
  padding: 34px 0;
}

.footer-grid img {
  width: 56px;
  height: 56px;
}

.footer-grid p {
  margin: 8px 0 0;
  color: rgb(255 255 255 / 0.72);
  line-height: 1.5;
}

.footer-admin-link {
  display: inline-flex;
  margin-top: 12px;
  color: rgb(255 255 255 / 0.56);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.footer-admin-link:hover {
  color: var(--white);
}

@media (max-width: 980px) {
  .hero-inner,
  .product-page,
  .cart-layout,
  .checkout-layout,
  .settings-layout {
    grid-template-columns: 1fr;
  }

  .admin-heading-tools {
    justify-items: start;
  }

  .sales-status-pills {
    justify-content: flex-start;
  }

  .admin-actions-bar,
  .admin-filter-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .compact-filters {
    justify-content: flex-start;
  }

  .hero-card {
    min-height: auto;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .summary {
    position: static;
  }
}

@media (max-width: 720px) {
  .nav {
    min-height: 68px;
  }

  .brand span {
    font-size: 17px;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    inset: 68px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: 0 20px 38px rgb(15 23 42 / 0.18);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
    border-radius: 8px;
  }

  .cart-link {
    background: #f3f4f6;
  }

  .hero-inner {
    padding: 50px 0 58px;
  }

  .section-heading {
    display: block;
  }

  .filters {
    margin-top: 18px;
  }

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

  .field-grid,
  .footer-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .cart-line {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .line-controls {
    grid-column: 1 / -1;
  }

  .product-visual.large {
    min-height: 360px;
  }

  .cart-drawer {
    width: 100%;
  }
}

/* Public launch polish */
:root {
  --page: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-solid: #ffffff;
  --ink: #111318;
  --muted: #6e7480;
  --line: rgba(17, 19, 24, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, #ffffff 0, var(--page) 480px, #ffffff 100%);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  width: min(1240px, calc(100% - 40px));
}

.site-header {
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  border-bottom: 1px solid rgba(17, 19, 24, 0.08);
  box-shadow: none;
  backdrop-filter: saturate(180%) blur(22px);
}

.nav {
  min-height: 64px;
}

.brand {
  gap: 12px;
  font-size: 16px;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand span {
  max-width: 280px;
  color: var(--ink);
  font-size: 17px;
}

.nav-links {
  gap: 6px;
  color: rgba(17, 19, 24, 0.72);
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: rgba(17, 19, 24, 0.06);
  color: var(--ink);
  text-decoration: none;
}

.cart-link {
  background: var(--ink);
  color: var(--white);
}

.cart-link span {
  background: var(--white);
  color: var(--ink);
}

.nav-toggle {
  background: rgba(17, 19, 24, 0.08);
  color: var(--ink);
}

.flash {
  border: 0;
  background: #111318;
  color: var(--white);
  box-shadow: 0 24px 70px rgba(17, 19, 24, 0.18);
}

.hero {
  min-height: calc(100svh - 64px);
  display: grid;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(17, 19, 24, 0.96), rgba(29, 37, 46, 0.96) 44%, rgba(170, 24, 16, 0.92)),
    linear-gradient(180deg, #111318, #1d252e);
}

.hero::before,
.hero::after {
  display: none;
}

.hero-inner {
  grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
  gap: 68px;
  padding: 72px 0 84px;
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.32em;
}

.eyebrow.red {
  color: var(--red);
}

.hero h1 {
  max-width: 850px;
  margin: 18px 0;
  font-size: 4.9rem;
  line-height: 0.9;
}

.hero p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 21px;
  line-height: 1.45;
}

.hero-actions,
.product-actions,
.checkout-actions {
  gap: 14px;
  margin-top: 32px;
}

.button {
  min-height: 50px;
  border-radius: 999px;
  padding: 13px 21px;
  box-shadow: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.secondary {
  background: var(--white);
  color: var(--ink);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(17, 19, 24, 0.12);
  color: var(--ink);
}

.product-stage {
  position: relative;
  min-height: 620px;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.19), rgba(255, 255, 255, 0.05)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  padding: 30px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.product-stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  pointer-events: none;
}

.stage-logo {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 3;
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.stage-logo img {
  width: 76px;
  height: 64px;
  object-fit: contain;
}

.stage-card {
  position: absolute;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.stage-card-main {
  inset: 80px 54px 64px 124px;
  grid-template-rows: 1fr auto;
  padding: 18px;
  z-index: 2;
}

.stage-card-left,
.stage-card-right {
  width: 230px;
  min-height: 260px;
  padding: 12px;
  z-index: 3;
}

.stage-card-left {
  left: 24px;
  bottom: 34px;
}

.stage-card-right {
  right: 24px;
  top: 34px;
}

.stage-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.stage-card strong {
  display: block;
  margin-top: 4px;
  font-family: "AkiraExpanded", "DM Sans", sans-serif;
  font-size: 22px;
  line-height: 1;
  text-transform: uppercase;
}

.stage-visual {
  min-height: 100%;
  border-radius: 8px;
}

.stage-card-left .stage-visual,
.stage-card-right .stage-visual {
  min-height: 150px;
}

.stage-visual span {
  display: none;
}

.section {
  padding: 86px 0;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading h2,
.product-info h1,
.empty h1,
.receipt h1 {
  font-size: 3.35rem;
  line-height: 0.95;
}

.section-heading p {
  max-width: 470px;
  color: var(--muted);
  font-size: 18px;
}

.filters {
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.filter-pill {
  border: 0;
  background: transparent;
  color: rgba(17, 19, 24, 0.66);
  font-size: 14px;
}

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

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.product-card,
.panel {
  border: 1px solid rgba(17, 19, 24, 0.08);
  background: var(--surface);
  box-shadow: 0 18px 60px rgba(17, 19, 24, 0.08);
  backdrop-filter: blur(18px);
}

.product-card {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(17, 19, 24, 0.16);
  box-shadow: 0 28px 80px rgba(17, 19, 24, 0.13);
}

.product-card-body {
  padding: 22px;
}

.product-card h3 {
  font-size: 25px;
  line-height: 1;
}

.product-card p {
  color: var(--muted);
}

.product-visual {
  min-height: 270px;
  background:
    linear-gradient(145deg, #ffffff 0%, #f5f5f7 48%, #e7e9ee 100%);
}

.product-visual.large {
  min-height: 610px;
  background:
    linear-gradient(150deg, #ffffff 0%, #f7f7f9 42%, #e7ebf0 100%);
}

.visual-ice {
  inset: 32px;
  border-color: rgba(17, 19, 24, 0.08);
}

.visual-badge {
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(17, 19, 24, 0.13);
}

.tag,
.status-pill {
  background: rgba(170, 24, 16, 0.08);
  color: var(--red);
}

.price {
  color: var(--ink);
  font-size: 24px;
}

.field input,
.field textarea,
.field select,
.quantity-input {
  min-height: 52px;
  border-color: rgba(17, 19, 24, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.quantity-input:focus {
  outline: none;
  border-color: rgba(170, 24, 16, 0.45);
  box-shadow: 0 0 0 4px rgba(170, 24, 16, 0.1);
}

.shipping-panel {
  padding: 18px;
  border: 1px solid rgba(17, 19, 24, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.address-complete {
  position: relative;
}

.address-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 20;
  overflow: hidden;
  border: 1px solid rgba(17, 19, 24, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 60px rgba(17, 19, 24, 0.15);
}

.address-suggestions button {
  width: 100%;
  display: block;
  border: 0;
  border-bottom: 1px solid rgba(17, 19, 24, 0.08);
  background: transparent;
  padding: 13px 14px;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
}

.address-suggestion-note {
  padding: 13px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.address-suggestions button:hover {
  background: rgba(170, 24, 16, 0.06);
}

.shipping-rates {
  display: grid;
  gap: 10px;
}

.shipping-rate {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(17, 19, 24, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.shipping-rate:has(input:checked) {
  border-color: rgba(170, 24, 16, 0.42);
  box-shadow: 0 0 0 4px rgba(170, 24, 16, 0.08);
}

.shipping-rate strong,
.shipping-rate small {
  display: block;
}

.shipping-rate small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.shipping-rate b {
  color: var(--ink);
}

.summary {
  top: 86px;
}

.site-footer {
  margin-top: 90px;
  background: #111318;
}

.footer-grid {
  padding: 46px 0;
}

.admin-body {
  background: #f5f5f7;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(17, 19, 24, 0.92);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: saturate(180%) blur(22px);
}

.admin-nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-header .brand span {
  color: var(--white);
}

.admin-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-nav-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.admin-nav-links a:hover,
.admin-nav-links a.is-active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.admin-main .section {
  padding-top: 54px;
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .product-stage {
    min-height: 560px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1240px);
  }

  .site-header {
    background: rgba(255, 255, 255, 0.9);
  }

  .nav {
    min-height: 62px;
  }

  .brand span {
    max-width: 220px;
    font-size: 14px;
  }

  .nav-links {
    inset: 62px 14px auto;
    color: var(--ink);
  }

  .nav-links a {
    min-height: 44px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    gap: 36px;
    padding: 54px 0 44px;
  }

  .hero h1 {
    font-size: 2.55rem;
  }

  .hero p:not(.eyebrow) {
    font-size: 18px;
  }

  .product-stage {
    min-height: 500px;
    padding: 18px;
  }

  .stage-logo {
    width: 74px;
    height: 74px;
    top: 22px;
    left: 22px;
  }

  .stage-logo img {
    width: 62px;
  }

  .stage-card-main {
    inset: 98px 18px 148px 18px;
  }

  .stage-card-left,
  .stage-card-right {
    width: calc(50% - 24px);
    min-height: 170px;
    bottom: 18px;
    top: auto;
  }

  .stage-card-left {
    left: 18px;
  }

  .stage-card-right {
    right: 18px;
  }

  .stage-card-left .stage-visual,
  .stage-card-right .stage-visual {
    min-height: 92px;
  }

  .stage-card strong {
    font-size: 13px;
  }

  .stage-card span {
    font-size: 10px;
  }

  .section {
    padding: 58px 0;
  }

  .section-heading h2,
  .product-info h1,
  .empty h1,
  .receipt h1 {
    font-size: 2.25rem;
  }

  .filters {
    border-radius: 8px;
  }

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

  .product-visual {
    min-height: 250px;
  }

  .admin-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .admin-nav-links {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 2px;
  }

  .admin-nav-links a {
    flex: 0 0 auto;
  }
}
