@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Manrope:wght@400;600;700;800&display=swap');

:root {
  --header-height: 64px;
  --ink: #050505;
  --chalk: #f4f4f1;
  --paper: #fbfbf8;
  --fog: #d8d8d2;
  --steel: #77756d;
  --line: rgba(5, 5, 5, 0.12);
  --lime: #ffffff;
  --moss: #2f2f2b;
  --clay: #1a1a18;
  --ice: #ededeb;
  --font-display: 'Barlow Condensed', Impact, sans-serif;
  --font-body: 'Manrope', Verdana, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
}

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

button {
  cursor: pointer;
}

.store-header {
  align-items: center;
  background: var(--ink);
  color: white;
  display: grid;
  gap: 24px;
  grid-template-columns: auto 1fr auto;
  min-height: var(--header-height);
  margin-top: 14px;
  padding: 0 18px;
  position: sticky;
  top: 14px;
  transition: margin 220ms ease, top 220ms ease, box-shadow 220ms ease;
  z-index: 20;
}

.store-header.scrolled {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
  margin-top: 0;
  top: 0;
}

.brand-mark {
  align-items: center;
  background: transparent;
  border: 0;
  color: inherit;
  display: flex;
  gap: 10px;
  letter-spacing: 0.13em;
  padding: 0;
  text-align: left;
}

.brand-mark img {
  display: block;
  height: 24px;
  width: auto;
}

.brand-mark i {
  color: currentColor;
  font-family: cursive;
  font-size: 22px;
  letter-spacing: 0;
}

.desktop-nav {
  display: flex;
  gap: 22px;
  justify-content: center;
}

.nav-item {
  align-items: center;
  display: flex;
  min-height: var(--header-height);
  position: relative;
}

.mega-menu {
  background: rgba(5, 5, 5, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: white;
  left: 50%;
  min-width: 360px;
  opacity: 0;
  padding: 24px;
  pointer-events: none;
  position: absolute;
  top: calc(100% - 1px);
  transform: translateX(-50%) translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-menu strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

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

.mega-menu a,
.mega-menu span {
  color: rgba(255, 255, 255, 0.76);
  display: block;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 0;
  text-decoration: none;
  text-transform: uppercase;
}

.mega-menu span {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: white;
  margin-top: 18px;
  padding-top: 18px;
}

.desktop-nav button,
.header-actions button,
.icon-action {
  background: transparent;
  border: 0;
  color: white;
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 14px;
}

.search-pill {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  color: rgba(255, 255, 255, 0.62);
  display: flex;
  gap: 8px;
  min-width: 210px;
}

.search-pill span {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-pill input {
  background: transparent;
  border: 0;
  color: white;
  min-width: 0;
  outline: none;
  width: 80px;
}

.cart-action {
  align-items: center;
  display: flex;
  gap: 8px;
}

.cart-action strong {
  background: white;
  border-radius: 999px;
  color: var(--ink);
  display: inline-grid;
  font-family: var(--font-body);
  font-size: 12px;
  min-width: 22px;
  padding: 2px 6px;
  place-items: center;
}

.preview-strip {
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  text-align: center;
}

.hero-section {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0 46%, rgba(255, 255, 255, 0.05) 46% 47%, transparent 47%),
    radial-gradient(circle at 78% 30%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(118deg, #050505 0%, #111 48%, #efefea 48%, #f9f9f6 100%);
  color: white;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  position: relative;
}

.hero-copy {
  align-self: center;
  max-width: 650px;
  padding: 70px 7vw;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.hero-section .eyebrow {
  color: white;
}

.hero-copy h1,
.detail-copy h1,
.status-page h1,
.admin-topbar h1,
.admin-login h1 {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 118px);
  letter-spacing: -0.02em;
  line-height: 0.82;
  margin: 0;
  text-transform: uppercase;
}

.hero-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.7;
  max-width: 520px;
}

.hero-actions,
.admin-card-head,
.drawer-header,
.admin-topbar,
.admin-card-head.inline {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.primary-button,
.ghost-button,
.quick-add,
.back-button,
.upload-button {
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  padding: 13px 20px;
  text-decoration: none;
}

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

.hero-section .primary-button {
  background: white;
  color: var(--ink);
}

.hero-section .ghost-button {
  border-color: rgba(255, 255, 255, 0.72);
  color: white;
}

.ghost-button,
.back-button {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.primary-button.full,
.ghost-button.full {
  width: 100%;
}

.primary-button.compact,
.ghost-button.compact {
  padding: 9px 14px;
}

.hero-art {
  align-items: center;
  display: block;
  min-height: 100%;
  padding: clamp(22px, 4vw, 54px);
  position: relative;
}

.hero-mosaic {
  display: grid;
  gap: 14px;
  grid-template-columns: 0.8fr 1.05fr 0.72fr;
  height: min(76svh, 720px);
  min-height: 520px;
}

.hero-tile {
  background: var(--ink);
  overflow: hidden;
  position: relative;
}

.hero-tile img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  position: absolute;
  transform: scale(1.05);
  width: 100%;
  animation: heroImageCycle 12s infinite ease-in-out;
}

.hero-tile-1 {
  margin-top: 12%;
}

.hero-tile-2 {
  margin-bottom: 8%;
}

.hero-tile-3 {
  margin-top: 26%;
}

.hero-tile-1 img {
  object-position: 34% center;
}

.hero-tile-2 img {
  object-position: center;
}

.hero-tile-3 img {
  object-position: 70% center;
}

.hero-logo-card {
  align-items: center;
  background: var(--ink);
  bottom: 8%;
  color: white;
  display: flex;
  gap: 18px;
  padding: 18px 20px;
  position: absolute;
  right: 7%;
}

.hero-logo-card img {
  display: block;
  height: 24px;
  width: auto;
}

.hero-logo-card span {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding-left: 18px;
  text-transform: uppercase;
}

@keyframes heroImageCycle {
  0% {
    opacity: 0;
    transform: scale(1.06);
  }
  6%,
  31% {
    opacity: 1;
  }
  38%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

.hero-panel {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  font-family: var(--font-display);
  font-size: clamp(90px, 14vw, 230px);
  font-weight: 600;
  justify-content: center;
  letter-spacing: -0.04em;
  min-height: 330px;
  text-transform: uppercase;
}

.panel-one {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(230, 230, 226, 0.82)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(0, 0, 0, 0.04) 18px 19px);
  color: var(--ink);
  transform: translate(0, 4%) rotate(-1deg);
}

.panel-two {
  background: var(--ink);
  color: white;
  margin-left: 14%;
  margin-top: -96px;
  outline: 12px solid var(--paper);
  transform: rotate(1deg);
}

.hero-badge {
  background: var(--paper);
  border-radius: 28px;
  bottom: 12%;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  padding: 24px 26px;
  position: absolute;
  right: 12%;
  text-transform: uppercase;
}

.signal-row {
  background: var(--ink);
  color: white;
  display: grid;
  font-family: var(--font-display);
  font-size: 22px;
  grid-template-columns: repeat(4, 1fr);
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.signal-row span {
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  padding: 22px;
}

.category-band {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  padding: 1px;
}

.category-card {
  background: var(--chalk);
  cursor: pointer;
  min-height: 260px;
  padding: 28px;
  transition: background 180ms ease, transform 180ms ease;
}

.category-card:hover,
.category-card:focus-visible {
  background: var(--ice);
  outline: none;
  transform: translateY(-2px);
}

.category-card span,
.product-meta p,
.muted,
.product-row small,
.cart-line span {
  color: var(--steel);
  font-size: 13px;
}

.category-card h2,
.section-heading h2,
.product-meta h3,
.admin-card h2 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.9;
  margin: 12px 0;
  text-transform: uppercase;
}

.catalog-section {
  padding: 70px 5vw;
}

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

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

.product-card {
  background: white;
  border: 1px solid var(--line);
  display: grid;
  gap: 16px;
  padding: 12px;
}

.product-image {
  align-items: center;
  aspect-ratio: 0.78;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(5, 5, 5, 0.08)),
    repeating-linear-gradient(135deg, rgba(0, 0, 0, 0.04) 0 1px, transparent 1px 16px),
    var(--chalk);
  border: 0;
  color: var(--ink);
  display: grid;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  overflow: hidden;
  padding: 24px;
  place-items: center;
  position: relative;
  text-transform: uppercase;
}

.product-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-image i {
  background: var(--ink);
  border-radius: 999px;
  color: white;
  font-family: var(--font-body);
  font-size: 12px;
  font-style: normal;
  left: 14px;
  padding: 6px 10px;
  position: absolute;
  top: 14px;
}

.price-line {
  align-items: center;
  display: flex;
  gap: 10px;
}

.price-line s {
  color: var(--steel);
}

.price-line.large {
  font-size: 24px;
  margin: 20px 0;
}

.quick-add {
  background: var(--ink);
  color: white;
  width: 100%;
}

.product-detail {
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr 0.8fr;
  padding: 52px 6vw;
}

.detail-image {
  align-items: center;
  background: var(--chalk);
  display: grid;
  min-height: 620px;
  place-items: center;
}

.detail-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.detail-image span {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 600;
  max-width: 70%;
  text-align: center;
  text-transform: uppercase;
}

.detail-copy {
  align-self: center;
}

.field-label,
.product-form label,
.checkout-form label {
  color: var(--steel);
  display: grid;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  margin: 12px 0;
  text-transform: uppercase;
}

input,
select,
textarea {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  padding: 13px 14px;
  width: 100%;
}

.cart-drawer {
  background: var(--paper);
  border-left: 1px solid var(--line);
  bottom: 0;
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  max-width: 460px;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(110%);
  transition: transform 240ms ease;
  width: min(100vw, 460px);
  z-index: 40;
}

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

.drawer-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 22px 24px;
}

.drawer-header h2 {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.04em;
  margin: 0;
  text-transform: uppercase;
}

.link-button {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-weight: 600;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart-empty {
  display: grid;
  gap: 16px;
  padding: 40px 24px;
  text-align: center;
}

.cart-lines {
  display: grid;
  flex: 1;
  gap: 14px;
  overflow-y: auto;
  padding: 18px 24px;
}

.cart-line {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 64px 1fr auto;
  padding-bottom: 14px;
}

.cart-line-thumb {
  align-items: center;
  background: var(--chalk);
  border-radius: 12px;
  color: var(--steel);
  display: grid;
  font-family: var(--font-display);
  font-size: 14px;
  height: 64px;
  letter-spacing: 0.04em;
  overflow: hidden;
  place-items: center;
  width: 64px;
}

.cart-line-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cart-line-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cart-line-meta strong {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-line-variant {
  color: var(--steel);
  font-size: 12px;
}

.cart-line-price {
  font-family: var(--font-display);
  font-size: 16px;
  text-align: right;
}

.order-row,
.settings-list div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 0;
}

.cart-footer {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  padding: 18px 24px 22px;
}

.cart-total {
  align-items: center;
  display: flex;
  font-family: var(--font-display);
  font-size: 22px;
  justify-content: space-between;
  letter-spacing: 0.02em;
}

.cart-note {
  font-size: 12px;
  margin: 0 0 4px;
}

.quantity-control {
  align-items: center;
  background: var(--chalk);
  border-radius: 999px;
  display: inline-flex;
  gap: 4px;
  padding: 2px;
  width: max-content;
}

.quantity-control button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  height: 28px;
  width: 28px;
}

.quantity-control button:hover {
  background: white;
}

.quantity-control span {
  font-size: 13px;
  min-width: 18px;
  text-align: center;
}

.form-message {
  background: rgba(5, 5, 5, 0.05);
  border: 1px solid rgba(5, 5, 5, 0.1);
  border-radius: 14px;
  padding: 12px;
}

.status-page,
.admin-login {
  display: grid;
  min-height: 90vh;
  padding: 7vw;
  place-items: center;
  text-align: center;
}

.status-page > *,
.admin-login form {
  max-width: 560px;
}

.admin-shell {
  background: #f2efe6;
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--ink);
  color: white;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
}

.admin-brand {
  margin-bottom: 22px;
}

.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.admin-nav button {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: white;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  text-transform: capitalize;
}

.admin-nav button.active {
  background: white;
  color: var(--ink);
}

.admin-logout {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  margin-top: 8px;
  padding: 12px 16px;
  text-align: left;
}

.admin-logout:hover {
  background: rgba(255, 255, 255, 0.06);
  color: white;
}

.admin-login-form {
  display: grid;
  gap: 14px;
  text-align: left;
}

.admin-login-help {
  color: var(--steel);
  margin: 0 0 6px;
}

.login-field {
  color: var(--steel);
  display: grid;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  text-transform: uppercase;
}

.admin-main {
  padding: 32px;
}

.admin-topbar {
  margin-bottom: 24px;
}

.admin-topbar h1 {
  font-size: 26px;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

.mode-toggle {
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  font-weight: 600;
  gap: 10px;
  padding: 10px 14px;
}

.mode-toggle input {
  accent-color: var(--ink);
  width: auto;
}

.admin-grid,
.admin-two-column {
  display: grid;
  gap: 18px;
}

.admin-grid {
  grid-template-columns: repeat(4, 1fr);
}

.admin-two-column {
  grid-template-columns: 360px 1fr;
}

.admin-card,
.metric-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 22px;
}

.metric-card {
  display: grid;
  gap: 20px;
}

.metric-card span {
  color: var(--steel);
  font-weight: 600;
}

.metric-card strong {
  font-family: var(--font-display);
  font-size: 38px;
}

.admin-card.wide {
  grid-column: 1 / -1;
}

.product-row {
  align-items: center;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 44px 1fr auto;
  padding: 12px 6px;
  text-align: left;
  transition: background 140ms ease;
  width: 100%;
}

.product-row:hover {
  background: var(--ice);
}

.product-row.active {
  background: rgba(5, 5, 5, 0.06);
}

.product-row-thumb {
  align-items: center;
  background: var(--chalk);
  border-radius: 10px;
  color: var(--steel);
  display: grid;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  height: 44px;
  letter-spacing: 0.04em;
  overflow: hidden;
  place-items: center;
  width: 44px;
}

.product-row-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.product-row-meta {
  display: grid;
  gap: 2px;
}

.product-row-meta strong {
  font-size: 14px;
}

.product-row-meta small {
  color: var(--steel);
  font-size: 12px;
}

.empty-state.subtle {
  border: 0;
  padding: 32px 16px;
}

.product-tabs {
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 18px 0 18px;
}

.product-tab {
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 12px 14px;
  text-transform: uppercase;
  transition: color 140ms ease, border-color 140ms ease;
}

.product-tab:hover {
  color: var(--ink);
}

.product-tab.active {
  border-color: var(--ink);
  color: var(--ink);
}

.product-section {
  display: grid;
  gap: 14px;
}

.product-form .header-actions-row {
  display: flex;
  gap: 8px;
}

.ghost-button.danger {
  border-color: rgba(160, 32, 32, 0.4);
  color: #a02020;
}

.ghost-button.danger:hover {
  background: rgba(160, 32, 32, 0.08);
}

.form-grid label.span-2 {
  grid-column: 1 / -1;
}

.status-pill {
  align-items: center;
  background: var(--chalk);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--steel);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  gap: 6px;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  text-transform: uppercase;
}

.status-pill.pill-published {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.status-pill.pill-archived {
  background: rgba(160, 32, 32, 0.08);
  border-color: rgba(160, 32, 32, 0.3);
  color: #a02020;
}

.status-pill.pill-compact {
  font-size: 11px;
  padding: 4px 10px;
}

.status-pill-toggle {
  background: var(--chalk);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  gap: 2px;
  padding: 3px;
}

.status-pill-toggle .status-pill {
  background: transparent;
  border: 0;
  color: var(--steel);
  cursor: pointer;
}

.status-pill-toggle .status-pill.active.pill-draft {
  background: white;
  color: var(--ink);
}

.status-pill-toggle .status-pill.active.pill-published {
  background: var(--ink);
  color: white;
}

.image-gallery {
  display: grid;
  gap: 16px;
}

.image-gallery-head {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.image-gallery-head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.04em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.upload-button.is-busy {
  opacity: 0.7;
  pointer-events: none;
}

.image-gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.image-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  gap: 10px;
  overflow: hidden;
  padding: 10px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.image-card.is-cover {
  border-color: var(--ink);
  box-shadow: 0 1px 0 var(--ink);
}

.image-card-thumb {
  aspect-ratio: 1;
  background: var(--chalk);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.image-card-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.image-card-badge {
  background: var(--ink);
  border-radius: 999px;
  color: white;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  left: 8px;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  position: absolute;
  text-transform: uppercase;
  top: 8px;
}

.image-card-actions {
  display: flex;
  gap: 4px;
}

.image-card-actions button {
  background: var(--chalk);
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  flex: 1;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 6px;
}

.image-card-actions button:disabled {
  color: var(--steel);
  cursor: not-allowed;
  opacity: 0.5;
}

.image-card-actions button.danger {
  color: #a02020;
}

.image-card-actions button.danger:hover {
  background: rgba(160, 32, 32, 0.1);
}

.variant-table {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.variant-row.variant-head {
  color: var(--steel);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0 4px;
  text-transform: uppercase;
}

.variant-row {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 0.8fr 0.7fr auto;
}

.variant-row.has-sku {
  grid-template-columns: 1fr 0.8fr 0.7fr 1fr auto;
}

.variant-delete {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--steel);
  font-size: 18px;
  font-weight: 600;
  height: 38px;
  width: 38px;
}

.variant-delete:hover {
  background: rgba(160, 32, 32, 0.08);
  border-color: rgba(160, 32, 32, 0.3);
  color: #a02020;
}

.category-editor {
  display: grid;
  gap: 14px;
}

.category-input-row {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
}

.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-tag {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  gap: 6px;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  text-transform: uppercase;
}

.category-tag.suggestion {
  background: var(--chalk);
  color: var(--ink);
}

.category-tag.suggestion:hover {
  background: var(--ice);
}

.category-suggestions {
  display: grid;
  gap: 8px;
}

.form-message.tone-ok {
  background: rgba(20, 110, 60, 0.08);
  border-color: rgba(20, 110, 60, 0.25);
  color: #146e3c;
}

.form-message.tone-error {
  background: rgba(160, 32, 32, 0.08);
  border-color: rgba(160, 32, 32, 0.3);
  color: #a02020;
}

.form-message.tone-info {
  background: rgba(5, 5, 5, 0.05);
  border-color: rgba(5, 5, 5, 0.12);
  color: var(--ink);
}

.flow-list {
  color: var(--ink);
  display: grid;
  gap: 8px;
  margin: 6px 0 0;
  padding-left: 22px;
}

.flow-list li {
  font-weight: 600;
}

.alerts-card {
  background: #fffbe8;
  border-color: rgba(212, 158, 0, 0.45);
}

.alerts-list {
  color: #6b4d00;
  display: grid;
  gap: 8px;
  margin: 8px 0 0;
  padding-left: 22px;
}

.integrations-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 12px 0 14px;
  padding: 0;
}

.integrations-list li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
}

.integration-badge {
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  text-transform: uppercase;
}

.integration-badge.ok {
  background: rgba(20, 110, 60, 0.1);
  color: #146e3c;
}

.integration-badge.pending {
  background: rgba(212, 158, 0, 0.18);
  color: #6b4d00;
}

.settings-list {
  display: grid;
  gap: 0;
  margin: 14px 0;
}

.settings-list div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 12px 0;
}

.settings-list dt {
  color: var(--steel);
  font-weight: 600;
  margin: 0;
}

.settings-list dd {
  font-weight: 600;
  margin: 0;
  text-align: right;
}

/* Dashboard */
.dashboard-stack {
  display: grid;
  gap: 18px;
}

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

.sales-card {
  background: var(--ink);
  color: white;
}

.sales-card h2,
.sales-card .muted {
  color: white;
}

.sales-card .muted {
  opacity: 0.7;
}

.sales-chart {
  margin-top: 14px;
}

.sales-chart svg {
  background: white;
  border-radius: 18px;
  display: block;
  width: 100%;
}

.recent-orders,
.top-products {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.recent-orders li,
.top-products li {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 0;
}

.recent-orders li > div:first-child {
  display: grid;
  gap: 2px;
}

.recent-orders li strong {
  font-size: 14px;
}

.recent-orders li span {
  color: var(--steel);
  font-size: 13px;
}

.recent-meta {
  align-items: center;
  display: flex;
  gap: 12px;
}

.top-rank {
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.top-meta {
  display: grid;
  flex: 1;
  gap: 2px;
}

.top-meta strong {
  font-size: 14px;
}

.top-meta small {
  color: var(--steel);
  font-size: 12px;
}

.top-revenue {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.02em;
}

/* Orders panel */
.orders-panel {
  display: grid;
  gap: 16px;
}

.orders-toolbar {
  display: grid;
  gap: 12px;
}

.status-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.status-filter {
  align-items: center;
  background: var(--chalk);
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--steel);
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  gap: 8px;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  text-transform: uppercase;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.status-filter small {
  background: rgba(5, 5, 5, 0.08);
  border-radius: 999px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 11px;
  padding: 2px 8px;
}

.status-filter:hover {
  background: var(--ice);
  color: var(--ink);
}

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

.status-filter.active small {
  background: rgba(255, 255, 255, 0.18);
  color: white;
}

.orders-search {
  max-width: 420px;
}

.orders-table {
  border-radius: 18px;
  display: grid;
  overflow: hidden;
}

.orders-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 70px 1.2fr 1fr 0.8fr 1fr auto;
  padding: 12px 8px;
}

.orders-row:hover {
  background: rgba(5, 5, 5, 0.03);
}

.orders-row.orders-head {
  background: var(--chalk);
  border-bottom: 1px solid var(--line);
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 12px 8px;
  text-transform: uppercase;
}

.orders-customer {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.orders-customer span {
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.orders-customer small {
  color: var(--steel);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.orders-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
}

.order-pill {
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  justify-self: start;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  text-transform: uppercase;
}

.order-pill.pill-pending {
  background: rgba(212, 158, 0, 0.18);
  color: #6b4d00;
}

.order-pill.pill-paid {
  background: rgba(20, 110, 60, 0.14);
  color: #146e3c;
}

.order-pill.pill-preparing {
  background: rgba(40, 100, 200, 0.14);
  color: #1d4ea0;
}

.order-pill.pill-shipped {
  background: var(--ink);
  color: white;
}

.order-pill.pill-delivered {
  background: rgba(40, 140, 90, 0.18);
  color: #0f6b3a;
}

.order-pill.pill-cancelled,
.order-pill.pill-refunded {
  background: rgba(160, 32, 32, 0.12);
  color: #a02020;
}

/* Modal */
.modal-overlay {
  align-items: flex-start;
  background: rgba(5, 5, 5, 0.55);
  display: flex;
  inset: 0;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 16px;
  position: fixed;
  z-index: 60;
}

.modal {
  background: var(--paper);
  border-radius: 24px;
  display: grid;
  gap: 18px;
  max-width: 880px;
  padding: 28px;
  width: 100%;
}

.modal-head {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
}

.modal-head h2 {
  font-family: var(--font-display);
  font-size: 44px;
  letter-spacing: -0.01em;
  margin: 0;
  text-transform: uppercase;
}

.modal-close {
  background: transparent;
  border: 0;
  font-size: 28px;
  font-weight: 600;
}

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

.modal-grid section {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.modal-grid h3,
.modal-items h3,
.modal-shipping-actions h3 {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.status-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.status-actions select {
  width: auto;
}

.modal-items {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.items-table {
  display: grid;
  gap: 4px;
}

.items-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 8px;
  grid-template-columns: 2fr 1.2fr 0.6fr 1fr 1fr;
  padding: 10px 0;
}

.items-row.items-head {
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.totals {
  display: grid;
  gap: 4px;
  margin: 14px 0 0;
}

.totals div {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
}

.totals dt,
.totals dd {
  margin: 0;
}

.totals .total-row {
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 22px;
  margin-top: 6px;
  padding-top: 10px;
}

.modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.modal-shipping-actions {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}

.shipping-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 12px;
}

/* Print overlay */
.print-overlay {
  background: var(--paper);
  inset: 0;
  overflow-y: auto;
  position: fixed;
  z-index: 70;
}

.print-toolbar {
  align-items: center;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 24px;
  position: sticky;
  top: 0;
  z-index: 1;
}

.print-toolbar > div:last-child {
  display: flex;
  gap: 8px;
}

.print-area {
  display: grid;
  gap: 24px;
  margin: 0 auto;
  max-width: 760px;
  padding: 32px 24px 80px;
}

.shipping-label {
  background: white;
  border: 1px solid #111;
  display: grid;
  gap: 14px;
  padding: 24px;
  page-break-after: always;
}

.shipping-label-head {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr auto;
}

.shipping-sender {
  display: grid;
  gap: 2px;
}

.shipping-order-no {
  display: grid;
  gap: 2px;
  text-align: right;
}

.shipping-order-no strong {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.04em;
}

.shipping-eyebrow {
  color: #555;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.shipping-recipient {
  border-top: 1px dashed #999;
  border-bottom: 1px dashed #999;
  display: grid;
  gap: 2px;
  padding: 14px 0;
}

.shipping-recipient strong {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.shipping-recipient p {
  margin: 0;
}

.shipping-items ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.shipping-items li {
  margin: 2px 0;
}

.shipping-notes {
  font-style: italic;
  margin: 8px 0 0;
}

.shipping-footer {
  border-top: 1px solid #111;
  display: flex;
  justify-content: space-between;
  padding-top: 10px;
}

/* Checkout page (Shopify-style) */
.checkout-shell {
  background: white;
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 100vh;
}

.checkout-header {
  align-items: center;
  background: white;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 22px 5vw;
}

.checkout-header .brand-mark img {
  height: 30px;
}

.checkout-secure {
  align-items: center;
  color: var(--steel);
  display: inline-flex;
  font-size: 13px;
  gap: 8px;
}

.checkout-summary-toggle {
  background: var(--chalk);
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: none;
  font-size: 14px;
  justify-content: space-between;
  padding: 14px 5vw;
  text-align: left;
  width: 100%;
}

.checkout-summary-toggle strong {
  font-family: var(--font-display);
  font-size: 20px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(360px, 1fr);
  margin: 0 auto;
  max-width: 1280px;
  width: 100%;
}

.checkout-form-column {
  display: grid;
  gap: 0;
  padding: 56px 64px 80px 5vw;
}

.checkout-step {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 22px;
  padding: 32px 0 36px;
}

.checkout-step:first-child {
  padding-top: 0;
}

.checkout-step:last-of-type {
  border-bottom: 0;
}

.step-header {
  align-items: flex-start;
  display: grid;
  gap: 16px;
  grid-template-columns: 44px 1fr;
}

.step-number {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: white;
  display: grid;
  font-family: var(--font-display);
  font-size: 14px;
  height: 36px;
  letter-spacing: 0.04em;
  place-items: center;
  width: 36px;
}

.step-header h2 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 6px 0 6px;
  text-transform: uppercase;
}

.step-header p {
  color: var(--steel);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

.step-fields {
  display: grid;
  gap: 14px;
  padding-left: 60px;
}

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

.field > span {
  align-items: baseline;
  color: var(--ink);
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
}

.field > span em {
  color: var(--steel);
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.field input,
.field select,
.field textarea {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 400;
  height: 48px;
  letter-spacing: 0;
  padding: 0 14px;
  text-transform: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
  width: 100%;
}

.field textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(5, 5, 5, 0.08);
  outline: none;
}

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

.coupon-block {
  background: var(--chalk);
  border-radius: 12px;
  display: grid;
  gap: 10px;
  margin-top: 6px;
  padding: 14px 16px;
}

.coupon-toggle {
  background: transparent;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 0;
  text-align: left;
}

.coupon-row {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
}

.coupon-row input {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  height: 42px;
  letter-spacing: 0.04em;
  padding: 0 14px;
  text-transform: uppercase;
}

.muted.small {
  font-size: 12px;
  margin: 0;
}

.payment-card {
  align-items: center;
  background: white;
  border: 2px solid var(--ink);
  border-radius: 14px;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 18px 20px;
}

.payment-card-mark {
  display: grid;
  gap: 4px;
}

.payment-card-mark strong {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.payment-card-mark span {
  color: var(--steel);
  font-size: 12px;
}

.payment-card-check {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: white;
  display: grid;
  font-size: 14px;
  height: 28px;
  place-items: center;
  width: 28px;
}

.checkout-cta {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-top: 32px;
}

.checkout-submit {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 0.06em;
  min-width: 240px;
  padding: 16px 28px;
  text-transform: uppercase;
}

.checkout-summary {
  background: var(--chalk);
  border-left: 1px solid var(--line);
  padding: 56px 5vw 80px 40px;
}

.checkout-summary-inner {
  position: sticky;
  top: 32px;
}

.summary-title {
  align-items: baseline;
  display: flex;
  font-family: var(--font-display);
  font-size: 18px;
  gap: 6px;
  letter-spacing: 0.06em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.summary-title small {
  color: var(--steel);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.summary-items {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.summary-items li {
  align-items: flex-start;
  display: grid;
  gap: 12px;
  grid-template-columns: 64px 1fr auto;
}

.summary-thumb {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  height: 64px;
  overflow: hidden;
  position: relative;
  width: 64px;
}

.summary-thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.summary-thumb span {
  align-items: center;
  color: var(--steel);
  display: grid;
  font-family: var(--font-display);
  font-size: 14px;
  height: 100%;
  place-items: center;
}

.summary-thumb i {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  height: 22px;
  justify-content: center;
  min-width: 22px;
  position: absolute;
  right: -8px;
  top: -8px;
}

.summary-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.summary-meta strong {
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.summary-meta span {
  color: var(--steel);
  font-size: 12px;
}

.summary-qty {
  align-items: center;
  display: inline-flex;
  gap: 4px;
  margin-top: 4px;
}

.summary-qty button {
  background: white;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  height: 24px;
  width: 24px;
}

.summary-qty span {
  font-size: 12px;
  min-width: 16px;
  text-align: center;
}

.summary-price {
  font-family: var(--font-display);
  font-size: 14px;
  text-align: right;
}

.summary-totals {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  margin: 22px 0 0;
  padding-top: 18px;
}

.summary-totals div {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
}

.summary-totals dt,
.summary-totals dd {
  margin: 0;
}

.summary-totals dt {
  color: var(--steel);
  font-size: 13px;
}

.summary-totals dd {
  font-size: 14px;
}

.summary-total-row {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 14px;
}

.summary-total-row dt {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.summary-total-row dd {
  align-items: baseline;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 28px;
  gap: 6px;
}

.summary-total-row dd small {
  color: var(--steel);
  font-family: var(--font-body);
  font-size: 12px;
}

.badge-free {
  background: rgba(20, 110, 60, 0.14);
  border-radius: 999px;
  color: #146e3c;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  text-transform: uppercase;
}

.free-shipping-hint {
  background: white;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-size: 13px;
  margin: 18px 0 0;
  padding: 12px;
  text-align: center;
}

.summary-trust {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 22px 0 0;
  padding: 18px 0 0;
}

.summary-trust li {
  align-items: center;
  color: var(--steel);
  display: flex;
  font-size: 13px;
  gap: 10px;
}

.checkout-empty {
  align-items: center;
  display: grid;
  min-height: 80vh;
  padding: 7vw;
  place-items: center;
  text-align: center;
}

.checkout-empty h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: -0.02em;
  margin: 8px 0 16px;
  text-transform: uppercase;
}

/* ── Admin overrides: tamaños compactos para UI operativa ─────────────── */
.admin-card h2,
.admin-card-head h2 {
  font-size: 16px;
  font-family: var(--font-body);
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
  margin: 0;
}

.admin-card h3 {
  font-size: 14px;
  font-family: var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
}

.modal-head h2 {
  font-size: 22px;
  letter-spacing: 0;
}

.category-admin-card strong,
.promo-admin-list strong {
  font-size: 18px;
  letter-spacing: 0;
}

.admin-main {
  padding: 24px;
}

.admin-topbar {
  margin-bottom: 20px;
}

.admin-card,
.metric-card {
  border-radius: 16px;
  padding: 18px;
}

.metric-card {
  gap: 10px;
}

.admin-grid {
  gap: 14px;
}

.dashboard-stack {
  gap: 14px;
}
/* ─────────────────────────────────────────────────────────────────────── */

@media print {
  body {
    background: white;
  }

  .store-header,
  .footer,
  .cart-drawer,
  .admin-shell,
  .modal-overlay,
  .preview-strip,
  .no-print {
    display: none !important;
  }

  .print-overlay {
    background: white;
    position: static;
  }

  .print-area {
    max-width: none;
    padding: 0;
  }

  .shipping-label {
    border: 1px solid #000;
    box-shadow: none;
    margin: 0 0 16mm;
  }
}

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

.image-tools {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr auto;
}

.upload-button {
  background: var(--ink);
  color: white;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
}

.upload-button input {
  inset: 0;
  opacity: 0;
  position: absolute;
}

.variant-editor,
.advanced-panel {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 18px;
}

.variant-row {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 10px 0;
}

.checkbox-label {
  align-items: center;
  display: flex !important;
  flex-direction: row;
}

.checkbox-label input {
  width: auto;
}

.advanced-panel {
  background: rgba(5, 5, 5, 0.04);
  border: 1px dashed rgba(5, 5, 5, 0.26);
  border-radius: 22px;
  padding: 18px;
}

.advanced-note {
  color: var(--moss);
  font-weight: 600;
}

.video-section {
  background: var(--ink);
  color: white;
  display: grid;
  gap: 34px;
  grid-template-columns: 0.42fr 0.58fr;
  padding: clamp(54px, 8vw, 110px) 5vw;
}

.video-copy {
  align-self: center;
}

.video-copy .eyebrow {
  color: white;
}

.video-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 88px);
  line-height: 0.86;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.video-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.video-frame {
  aspect-ratio: 16 / 9;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  position: relative;
}

.video-frame::before {
  border: 1px solid rgba(255, 255, 255, 0.28);
  content: "";
  inset: 14px;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.video-frame iframe {
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.category-admin-grid,
.promo-admin-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.category-admin-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-admin-card,
.promo-admin-list article {
  background: var(--chalk);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  gap: 8px;
  padding: 18px;
}

.category-admin-card span,
.promo-admin-list small {
  color: var(--steel);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.category-admin-card strong,
.promo-admin-list strong {
  font-family: var(--font-display);
  font-size: 30px;
  text-transform: uppercase;
}

.promo-admin-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.promo-admin-list span {
  color: var(--steel);
}

.footer {
  background: var(--ink);
  color: white;
  display: grid;
  gap: 42px;
  padding: clamp(46px, 7vw, 86px) 5vw 34px;
}

.footer-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.footer-column {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-column h3 {
  color: white;
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p,
.footer-bottom span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  text-decoration: none;
}

.footer-column a:hover {
  color: white;
}

.footer-contact {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 24px;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  gap: 28px;
  justify-content: space-between;
  padding-top: 28px;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer img {
  display: block;
  height: 24px;
  width: auto;
}

.filter-chips {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 26px;
}

.filter-chip {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: white;
  display: inline-flex;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  text-transform: uppercase;
}

.filter-chip span {
  font-size: 16px;
  line-height: 1;
}

.filter-chip.ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.empty-state {
  align-items: center;
  border: 1px dashed var(--line);
  border-radius: 22px;
  display: grid;
  gap: 16px;
  justify-items: center;
  padding: 60px 24px;
  text-align: center;
}

.empty-state p {
  color: var(--steel);
  font-weight: 600;
  margin: 0;
}

.search-pill input {
  width: 140px;
}

.search-pill input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.static-page {
  display: grid;
  gap: 28px;
  margin: 0 auto;
  max-width: 880px;
  padding: 56px 6vw 96px;
}

.static-page .back-button {
  justify-self: start;
}

.static-page-header {
  display: grid;
  gap: 18px;
}

.static-page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.02em;
  line-height: 0.86;
  margin: 0;
  text-transform: uppercase;
}

.static-page-intro {
  color: var(--steel);
  font-size: 18px;
  line-height: 1.65;
  margin: 0;
  max-width: 720px;
}

.static-page-body {
  display: grid;
  gap: 14px;
  font-size: 16px;
  line-height: 1.75;
}

.static-page-body h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 40px);
  letter-spacing: 0.01em;
  margin: 28px 0 4px;
  text-transform: uppercase;
}

.static-page-body p,
.static-page-body ul,
.static-page-body ol {
  color: var(--ink);
  margin: 0;
}

.static-page-body ul,
.static-page-body ol {
  padding-left: 24px;
}

.static-page-body li {
  margin: 6px 0;
}

.static-page-body a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.static-page-body strong {
  font-weight: 600;
}

@media (max-width: 980px) {
  .store-header {
    grid-template-columns: 1fr auto;
    margin-top: 0;
    top: 0;
  }

  .desktop-nav,
  .search-pill,
  .icon-action,
  .mega-menu {
    display: none;
  }

  .hero-section,
  .product-detail,
  .admin-shell,
  .admin-two-column {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: calc(100svh - var(--header-height));
  }

  .hero-art {
    min-height: 380px;
    padding: 18px;
  }

  .hero-mosaic {
    gap: 8px;
    grid-template-columns: 1fr 1fr;
    height: 44svh;
    min-height: 340px;
  }

  .hero-tile-3 {
    display: none;
  }

  .hero-logo-card {
    bottom: 24px;
    right: 24px;
  }

  .signal-row,
  .category-band,
  .product-grid,
  .admin-grid,
  .video-section,
  .footer-grid,
  .category-admin-grid,
  .promo-admin-list {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    border-left: 0;
    padding-left: 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom div {
    justify-content: flex-start;
  }

  .admin-sidebar {
    position: static;
  }

  .form-grid,
  .variant-row,
  .image-tools {
    grid-template-columns: 1fr;
  }

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

  .checkout-form-column {
    order: 2;
    padding: 24px 5vw 100px;
  }

  .checkout-summary {
    border-left: 0;
    border-bottom: 1px solid var(--line);
    display: none;
    order: 1;
    padding: 24px 5vw 28px;
  }

  .checkout-grid.show-summary .checkout-summary {
    display: block;
  }

  .checkout-summary-toggle {
    display: flex;
  }

  .step-fields {
    padding-left: 0;
  }

  .step-header {
    grid-template-columns: 32px 1fr;
    gap: 12px;
  }

  .step-number {
    height: 28px;
    width: 28px;
    font-size: 12px;
  }

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

  .checkout-cta {
    flex-direction: column-reverse;
    gap: 12px;
  }

  .checkout-cta .checkout-submit {
    min-width: 0;
    width: 100%;
  }
}
