/* Design tokens (colors_and_type.css) are loaded by an explicit, versioned <link>
   ahead of this file in index.html and admin/index.html — not by an @import here.
   An @import chains a second request behind this stylesheet and can't be
   cache-busted by this file's own ?v=, so a stale or failed fetch would strip
   every var(--up-*) below and drop the brand palette. Keep it in the HTML. */

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--up-paper);
  color: var(--up-ink);
  font-family: var(--up-font-body);
  font-size: var(--up-fs-md);
  line-height: var(--up-lh-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
/* The design system supplies its own hover/active/focus feedback; the OS tap flash reads
   as a white box stuck to cards while touch-scrolling the rails. */
a, button { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.up-app { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.up-store-route-motion {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.up-store-route-motion > main { flex: 1; }

/* ---------- shared layout ---------- */
.up-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 24px;
}
.up-section--hero { padding-top: 24px; padding-bottom: 32px; }
.up-section--tight { padding: 32px 24px; }
.up-section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--up-rule);
  padding-bottom: 14px;
}
.up-section-title-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.up-shelf-line-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.up-shelf-line-filters button {
  border: 1px solid var(--up-rule);
  background: #fff;
  color: var(--up-ink);
  min-height: 30px;
  padding: 5px 10px;
  font-family: var(--up-font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms cubic-bezier(.2,.7,.2,1), border-color 160ms cubic-bezier(.2,.7,.2,1), color 160ms cubic-bezier(.2,.7,.2,1);
}
.up-shelf-line-filters button:hover {
  border-color: var(--up-ink);
}
.up-shelf-line-filters button.is-active {
  background: var(--up-ink);
  border-color: var(--up-ink);
  color: #fff;
}
.up-link {
  font-size: 13px; font-weight: 700;
  border-bottom: 2px solid var(--up-ink);
  padding-bottom: 1px;
}
.up-link:hover { color: #000; border-color: var(--up-charge); border-bottom-width: 4px; padding-bottom: 0; }

.up-eyebrow-stamp {
  display: inline-block;
  font-weight: 800; font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--up-ink);
  margin-bottom: 14px;
}
.up-display {
  font-family: var(--up-font-display);
  font-size: clamp(48px, 7vw, var(--up-fs-6xl)); line-height: .98;
  letter-spacing: -.025em; color: var(--up-ink);
  margin-bottom: 18px;
}
.up-h2 { font-family: var(--up-font-display); font-size: var(--up-fs-4xl); line-height: 1.02; letter-spacing: -.02em; }
.up-h3 { font-family: var(--up-font-display); font-size: var(--up-fs-3xl); line-height: 1.05; letter-spacing: -.018em; }
.up-h4 { font-family: var(--up-font-display); font-size: var(--up-fs-xl); line-height: 1.18; letter-spacing: -.01em; }
.up-lead { font-size: var(--up-fs-lg); line-height: 1.45; color: var(--up-ink-2); max-width: 60ch; }
.up-meta { font-size: var(--up-fs-sm); color: var(--up-ink-3); }
.up-mono { font-family: var(--up-font-mono); font-size: var(--up-fs-xs); letter-spacing: .04em; }
.up-markdown p,
.up-markdown ul,
.up-markdown ol {
  margin: 0 0 .8em;
}
.up-markdown p:last-child,
.up-markdown ul:last-child,
.up-markdown ol:last-child {
  margin-bottom: 0;
}
.up-markdown ul,
.up-markdown ol {
  padding-left: 1.2em;
}
.up-markdown li {
  margin-bottom: .35em;
}
.up-markdown a {
  color: var(--up-ink);
  text-decoration: underline;
  text-decoration-color: var(--up-charge);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}
.up-markdown strong {
  color: var(--up-ink);
}
.up-hero-headline-markdown a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--up-charge);
  text-decoration-thickness: .08em;
  text-underline-offset: .08em;
}
.up-hero-headline-markdown strong {
  color: inherit;
}
.up-hero-headline-markdown em {
  font-style: italic;
}

/* ---------- entrance motion ---------- */
@keyframes up-home-section-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes up-home-copy-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes up-home-art-in {
  from { opacity: 0; transform: translateY(16px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes up-home-item-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes up-filter-rail-in {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes up-catalog-grid-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes up-pdp-gallery-in {
  from { transform: translateY(16px) scale(.99); }
  to { transform: translateY(0) scale(1); }
}
@keyframes up-pdp-details-in {
  from { transform: translateX(14px); }
  to { transform: translateX(0); }
}
@keyframes up-route-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes up-soft-pop {
  0% { transform: scale(.96); }
  65% { transform: scale(1.06); }
  100% { transform: scale(1); }
}
@keyframes up-soft-flash {
  0% { background-color: color-mix(in srgb, var(--up-charge) 32%, transparent); }
  100% { background-color: transparent; }
}
@keyframes up-line-in {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes up-line-out {
  to { opacity: 0; transform: translateX(16px); }
}
@keyframes up-image-swap {
  from { opacity: 0; transform: scale(.985); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes up-confirm-stamp {
  0% { opacity: 0; transform: scale(.86) rotate(-8deg); }
  70% { opacity: 1; transform: scale(1.08) rotate(2deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes up-status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(211,255,61,.42); }
  50% { box-shadow: 0 0 0 7px rgba(211,255,61,0); }
}

.up-store-route-motion.is-entering > main {
  animation: up-route-in 260ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) both;
}

.up-home-motion.is-entering > .up-section {
  animation: up-home-section-in 560ms cubic-bezier(.2,.7,.2,1) both;
}
.up-home-motion.is-entering > .up-section:nth-of-type(2) { animation-delay: 70ms; }
.up-home-motion.is-entering > .up-section:nth-of-type(3) { animation-delay: 120ms; }
.up-home-motion.is-entering > .up-section:nth-of-type(4) { animation-delay: 170ms; }
.up-home-motion.is-entering > .up-section:nth-of-type(5) { animation-delay: 220ms; }
.up-home-motion.is-entering > .up-section:nth-of-type(6) { animation-delay: 270ms; }
.up-home-motion.is-entering > .up-section:nth-of-type(7) { animation-delay: 320ms; }

.up-home-motion.is-entering .up-hero--lines > * {
  animation: up-home-copy-in 460ms cubic-bezier(.2,.7,.2,1) both;
}
.up-home-motion.is-entering .up-hero--lines > *:nth-child(1) { animation-delay: 70ms; }
.up-home-motion.is-entering .up-hero--lines > *:nth-child(2) { animation-delay: 120ms; }
.up-home-motion.is-entering .up-hero--lines > *:nth-child(3) { animation-delay: 170ms; }
.up-home-motion.is-entering .up-hero--lines > *:nth-child(4) { animation-delay: 220ms; }
.up-home-motion.is-entering .up-cat-tile,
.up-home-motion.is-entering .up-drop-notice {
  animation: up-home-item-in 460ms cubic-bezier(.2,.7,.2,1) both;
  animation-delay: var(--up-home-item-delay, 0ms);
}

.up-catalog-tab-motion.is-entering > .up-filter-bar {
  animation: up-filter-rail-in 360ms cubic-bezier(.2,.7,.2,1) both;
}
.up-catalog-tab-motion.is-entering .up-product-grid-motion {
  animation: up-catalog-grid-in 420ms cubic-bezier(.2,.7,.2,1) 50ms both;
}
.up-catalog-tab-motion.is-entering .up-store-pagination {
  animation: up-home-copy-in 300ms cubic-bezier(.2,.7,.2,1) 170ms both;
}

.up-pdp-motion.is-entering > .up-breadcrumb {
  animation: up-home-copy-in 300ms cubic-bezier(.2,.7,.2,1) both;
}
.up-pdp-motion.is-entering .up-pdp-gallery {
  animation: up-pdp-gallery-in 620ms cubic-bezier(.2,.7,.2,1) 80ms both;
}
.up-pdp-motion.is-entering .up-pdp-thumbs .up-pdp-thumb {
  animation: up-home-item-in 360ms cubic-bezier(.2,.7,.2,1) both;
  animation-delay: var(--up-pdp-thumb-delay, 180ms);
}
.up-pdp-motion.is-entering .up-pdp-details > * {
  animation: up-pdp-details-in 460ms cubic-bezier(.2,.7,.2,1) both;
}
.up-pdp-motion.is-entering .up-pdp-details > *:nth-child(1) { animation-delay: 140ms; }
.up-pdp-motion.is-entering .up-pdp-details > *:nth-child(2) { animation-delay: 190ms; }
.up-pdp-motion.is-entering .up-pdp-details > *:nth-child(3) { animation-delay: 240ms; }
.up-pdp-motion.is-entering .up-pdp-details > *:nth-child(4) { animation-delay: 290ms; }
.up-pdp-motion.is-entering .up-pdp-details > *:nth-child(5) { animation-delay: 340ms; }
.up-pdp-motion.is-entering .up-pdp-details > *:nth-child(6) { animation-delay: 390ms; }
.up-pdp-motion.is-entering .up-pdp-details > *:nth-child(7) { animation-delay: 440ms; }

/* ---------- announcement strip + header ---------- */
.up-strip {
  background: var(--up-ink); color: var(--up-charge);
  font-family: var(--up-font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 24px;
  text-align: center;
  animation: up-route-in 240ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) both;
}

.up-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--up-rule);
}
.up-header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.up-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  min-width: 0;
}
.up-logo img { height: 46px; width: auto; display: block; }
.up-header-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}
.up-header-social {
  width: 34px;
  height: 34px;
  border: 1px solid var(--up-rule);
  background: #fff;
  color: var(--up-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 150ms, border-color 150ms, color 150ms, transform 150ms var(--up-ease-out, ease);
}
.up-header-social:hover {
  background: var(--up-paper-tint);
  border-color: var(--up-ink);
  color: var(--up-ink);
  transform: translateY(-1px);
}
.up-nav { display: flex; gap: 18px; margin-left: 28px; flex: 1; flex-wrap: nowrap; }
.up-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 0;
}
.up-nav-link {
  font-family: var(--up-font-body);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative; padding: 4px 0;
}
.up-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--up-charge);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 180ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1));
}
.up-nav-link.is-active {
  background: linear-gradient(transparent 70%, var(--up-charge) 70%, var(--up-charge) 92%, transparent 92%);
}
.up-nav-link:hover::after,
.up-nav-link.is-active::after {
  transform: scaleX(1);
}
.up-nav-link:hover { color: #000; }
.up-nav-dropdown {
  position: absolute;
  left: -12px;
  top: calc(100% + 4px);
  width: 190px;
  background: #fff;
  border: 1px solid var(--up-rule);
  box-shadow: 0 24px 60px -28px rgba(11,11,12,.45);
  padding: 6px;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 180ms cubic-bezier(.2,.7,.2,1), transform 180ms cubic-bezier(.2,.7,.2,1);
  z-index: 90;
}
.up-nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -10px;
  height: 10px;
}
.up-nav-item:hover .up-nav-dropdown,
.up-nav-item:focus-within .up-nav-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.up-nav-item.is-dismissed .up-nav-dropdown,
.up-nav-item.is-dismissed:hover .up-nav-dropdown,
.up-nav-item.is-dismissed:focus-within .up-nav-dropdown {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}
.up-nav-dropdown a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  color: var(--up-ink);
  font-size: 13px;
  font-weight: 800;
}
.up-nav-dropdown a:hover,
.up-nav-dropdown a:focus {
  background: var(--up-paper-tint);
}
.up-nav-dropdown a {
  transition: background-color 140ms var(--up-ease-out, ease), transform 140ms var(--up-ease-out, ease);
}
.up-nav-dropdown a:hover,
.up-nav-dropdown a:focus {
  transform: translateX(2px);
}
.up-nav-dropdown a span:last-child {
  font-family: var(--up-font-mono);
  font-size: 10px;
  color: var(--up-ink-3);
}
.up-header-actions { display: flex; gap: 8px; align-items: center; }
.up-search-menu {
  width: 38px;
  height: 38px;
  position: relative;
  flex: 0 0 38px;
}
.up-search-toggle {
  flex: 0 0 38px;
  position: relative;
  z-index: 2;
}
.up-search-form {
  position: absolute;
  top: 0;
  right: 38px;
  width: 0;
  height: 38px;
  min-width: 0;
  background: #fff;
  border: 1px solid transparent;
  border-right: 0;
  color: var(--up-ink);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: width 180ms cubic-bezier(.2,.7,.2,1), opacity 120ms cubic-bezier(.2,.7,.2,1), padding 180ms cubic-bezier(.2,.7,.2,1), border-color 180ms cubic-bezier(.2,.7,.2,1);
}
.up-search-menu.is-open .up-search-form {
  width: min(288px, calc(100vw - 206px));
  border-color: var(--up-rule);
  opacity: 1;
  padding: 0 6px 0 10px;
  pointer-events: auto;
}
.up-search-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--up-ink);
  font: inherit;
  font-size: 14px;
}
.up-search-submit {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  color: var(--up-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.up-search-submit:hover { background: var(--up-paper-tint); }
.up-icon-btn {
  width: 38px; height: 38px;
  background: #fff; border: 1px solid var(--up-rule); color: var(--up-ink);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: border-color 150ms, box-shadow 150ms, transform 120ms var(--up-ease-snap, ease);
}
.up-icon-btn:hover {
  border-color: var(--up-ink);
  box-shadow: inset 0 0 0 1px var(--up-ink);
  transform: translateY(-1px);
}
.up-account-menu { position: relative; }
.up-account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 240px;
  background: #fff;
  border: 1px solid var(--up-rule);
  box-shadow: 0 24px 60px -28px rgba(11,11,12,.45);
  padding: 8px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 160ms cubic-bezier(.2,.7,.2,1), transform 160ms cubic-bezier(.2,.7,.2,1);
  z-index: 80;
}
.up-account-menu:hover .up-account-dropdown,
.up-account-menu:focus-within .up-account-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.up-account-dropdown::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -10px;
  height: 10px;
}
.up-account-dropdown button,
.up-account-dropdown a {
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--up-ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
}
.up-account-dropdown button:hover,
.up-account-dropdown a:hover { background: var(--up-paper-tint); }
.up-account-dropdown hr {
  border: 0;
  border-top: 1px solid var(--up-rule);
  margin: 6px 0;
}
.up-account-dropdown p {
  color: var(--up-ink-3);
  font-size: 12px;
  line-height: 1.45;
  padding: 8px 12px 6px;
}
.up-account-kicker {
  font-family: var(--up-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--up-ink-3);
  padding: 8px 12px 6px;
}
.up-account-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 12px;
  border-bottom: 1px solid var(--up-rule);
  margin-bottom: 6px;
}
.up-account-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--up-charge);
  color: var(--up-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--up-font-display);
}
.up-account-name { font-size: 13px; font-weight: 800; line-height: 1.2; }
.up-account-email {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--up-font-mono);
  font-size: 10px;
  color: var(--up-ink-3);
}
.up-cart-btn { position: relative; }
.up-cart-count {
  position: absolute; top: -6px; right: -6px;
  background: var(--up-charge); color: var(--up-ink);
  font-family: var(--up-font-mono); font-size: 10px; font-weight: 700;
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transform-origin: 50% 50%;
}
.up-mobile-menu-toggle,
.up-mobile-menu-backdrop,
.up-mobile-menu {
  display: none;
}
.up-mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11,11,12,.46);
  border: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1));
  z-index: 110;
}
.up-mobile-menu {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(340px, 86vw);
  background: #fff;
  border-right: 1px solid var(--up-rule);
  box-shadow: 28px 0 70px -44px rgba(11,11,12,.65);
  transform: translateX(-100%);
  transition: transform 260ms cubic-bezier(.2,.9,.25,1.05);
  z-index: 111;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: max(14px, env(safe-area-inset-top)) 16px max(20px, env(safe-area-inset-bottom));
}
.up-mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--up-ink);
  font-family: var(--up-font-mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.up-mobile-menu-nav,
.up-mobile-menu-group {
  display: grid;
  gap: 8px;
}
.up-mobile-menu-nav {
  margin-top: 8px;
}
.up-mobile-menu-link,
.up-mobile-menu-sub a,
.up-mobile-menu-socials a {
  color: var(--up-ink);
  text-decoration: none;
}
.up-mobile-menu-link {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--up-rule);
  background: #fff;
  padding: 11px 12px;
  font-size: 14px;
  font-weight: 900;
}
.up-mobile-menu-link.is-active {
  border-color: var(--up-ink);
  background: var(--up-paper-tint);
  box-shadow: inset 4px 0 0 var(--up-charge);
}
.up-mobile-menu-link em {
  font-family: var(--up-font-mono);
  font-size: 10px;
  font-style: normal;
  color: var(--up-ink-3);
}
.up-mobile-menu-sub {
  display: grid;
  gap: 6px;
  padding-left: 12px;
  border-left: 2px solid var(--up-rule);
}
.up-mobile-menu-sub a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  background: var(--up-paper-tint);
  font-size: 13px;
  font-weight: 800;
}
.up-mobile-menu-sub a span:last-child {
  font-family: var(--up-font-mono);
  font-size: 10px;
  color: var(--up-ink-3);
}
.up-mobile-menu-groupbtn {
  width: 100%;
  text-align: left;
  cursor: pointer;
}
.up-mobile-menu-groupmeta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.up-mobile-menu-chevron {
  display: inline-flex;
  color: var(--up-ink-3);
  transition: transform 160ms cubic-bezier(.2,.7,.2,1);
}
.up-mobile-menu-chevron.is-open { transform: rotate(90deg); }
.up-mobile-menu-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--up-rule);
}
.up-mobile-menu-socials a {
  border: 1px solid var(--up-rule);
  padding: 8px 10px;
  font-family: var(--up-font-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.up-header.is-mobile-menu-open .up-mobile-menu-backdrop {
  opacity: 1;
  pointer-events: auto;
}
.up-header.is-mobile-menu-open .up-mobile-menu {
  transform: translateX(0);
}

/* ---------- hero (pick your line + just landed) ---------- */
.up-hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.up-hero-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.up-hero-intro .up-display,
.up-hero-markdown {
  width: 100%;
}
/* When eyebrow/headline/sub are individually hidden from the admin, the flex
   gap collapses on its own; these rules stop a hidden neighbour from leaving a
   stray bottom margin (last visible element) or an oversized headline->CTA gap
   (sub hidden). Default spacing is unchanged when nothing is hidden. */
.up-hero-intro > :last-child { margin-bottom: 0; }
.up-hero-headline--flush { margin-bottom: 0; }
.up-hero-intro--left {
  align-items: flex-start;
  text-align: left;
}
.up-hero-intro--center {
  align-items: center;
  text-align: center;
}
.up-hero-intro--right {
  align-items: flex-end;
  text-align: right;
}
.up-hero-intro-actions { margin-top: 8px; }

/* one-row chip strip — chips pack onto a single line; the overflow folds
   behind a measured "+N more" toggle (see HeroChipRow in app.jsx). */
.up-chiprow { position: relative; }
.up-chiprow-row {
  display: flex;
  align-items: center;
  min-width: 0;
}
.up-chiprow-row--wrap { flex-wrap: wrap; }
.up-chiprow-row--nowrap { flex-wrap: nowrap; }
/* off-screen copy used only to measure natural chip widths */
.up-chiprow-ghost {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}
/* scoped so the dashed style wins over the .up-hero-line/.up-hero-set
   `border` shorthand (equal specificity, but those are defined later) */
.up-chiprow .up-chiprow-more {
  flex: none;
  border-style: dashed;
}
/* newly revealed chips fade + drop into place while the row height eases open */
@keyframes up-chiprow-reveal {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}
.up-chiprow-chip--reveal {
  animation: up-chiprow-reveal 240ms cubic-bezier(.2,.7,.2,1) both;
}
@media (prefers-reduced-motion: reduce) {
  .up-chiprow-chip--reveal { animation: none; }
}

/* line tabs — match the shelf line filters */
.up-hero-lines .up-chiprow-row { justify-content: center; gap: 6px; }
.up-hero-line {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--up-rule);
  background: #fff;
  color: var(--up-ink);
  min-height: 30px;
  padding: 5px 10px;
  font-family: var(--up-font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms cubic-bezier(.2,.7,.2,1), border-color 160ms cubic-bezier(.2,.7,.2,1), color 160ms cubic-bezier(.2,.7,.2,1);
}
.up-hero-line:hover { border-color: var(--up-ink); }
.up-hero-line.is-active {
  background: var(--up-ink);
  border-color: var(--up-ink);
  color: #fff;
}
/* set filter pills — small bar under the line row, shown when a line is selected */
.up-hero-sets {
  /* .up-hero stacks children with a 28px gap; pull the set bar up so it
     reads as part of the line row above it rather than a new section. */
  margin-top: -16px;
}
.up-hero-sets .up-chiprow-row { justify-content: center; gap: 5px; }
.up-hero-set {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--up-rule);
  background: #fff;
  color: var(--up-ink-3);
  min-height: 24px;
  padding: 3px 8px;
  font-family: var(--up-font-mono);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms cubic-bezier(.2,.7,.2,1), border-color 160ms cubic-bezier(.2,.7,.2,1), color 160ms cubic-bezier(.2,.7,.2,1);
}
.up-hero-set:hover { border-color: var(--up-ink); color: var(--up-ink); }
.up-hero-set.is-active {
  background: var(--up-ink);
  border-color: var(--up-ink);
  color: #fff;
}
/* type selector + jump-to row (nested in the hero) */
.up-hero-jumps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.up-hero-jumps button {
  min-height: 42px;
  border: 1px solid var(--up-rule);
  background: #fff;
  color: var(--up-ink);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  text-align: center;
  font-family: var(--up-font-mono);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
  transition: background 160ms cubic-bezier(.2,.7,.2,1), border-color 160ms cubic-bezier(.2,.7,.2,1), box-shadow 160ms cubic-bezier(.2,.7,.2,1), transform 120ms cubic-bezier(.2,.7,.2,1);
}
.up-hero-jumps button:hover,
.up-hero-jumps button:focus-visible {
  border-color: var(--up-ink);
  box-shadow: inset 0 0 0 1px var(--up-ink);
  outline: 0;
  transform: translateY(-1px);
}
.up-hero-jumps button:active {
  background: var(--up-paper-tint);
  transform: scale(.99);
}
.up-hero-jumps button.is-active {
  background: var(--up-ink);
  border-color: var(--up-ink);
  color: #fff;
}

/* just landed */
.up-hero-jl-head { margin-bottom: 16px; align-items: center; }
.up-hero-jl-line { color: var(--up-ink-3); }
.up-hero-jl-head-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

/* hero product rail — sliding scroller, edge-to-edge with the section rule line.
   Arrows live in the section head (not beside the cards) so the row can span the full width. */
.up-hero-rail-nav {
  display: flex;
  gap: 6px;
}
.up-rail-track {
  /* Fractional column counts are deliberate: the cut-off next card peeking in at the right
     edge is the scroll affordance. Paging rounds to whole cards, so navigation stays exact. */
  --rail-cols: 6.35;
  display: flex;
  gap: 16px;
  /* overflow-x: auto forces the browser to also clip overflow-y (it won't mix auto/visible
     across axes) — this padding gives the hover lift + border room before hitting that clip. */
  padding: 8px 0;
  margin: -8px 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  /* No scroll-snap: mandatory snap fights the arrow/autoplay smooth scrollTo and can settle it
     mid-card (clipping the leftmost card's edge on non-endpoint pages). Paging math lands exact. */
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.up-rail-track::-webkit-scrollbar { display: none; }
.up-rail-track .up-pcard {
  /* The extra 4px (total, across all cards) is deliberate slack. Without it the cards fill the
     viewport at exactly zero horizontal slack, so the browser's device-pixel rounding of scrollLeft
     clips whichever card edge the rounding lands past. The 4px cushion absorbs that rounding; paging
     biases left (floors the target) so the left edge stays flush and the slack sits on the right. */
  flex: 0 0 calc((100% - (var(--rail-cols) - 1) * 16px - 4px) / var(--rail-cols));
  min-width: 0;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}
.up-rail-track .up-pcard img { -webkit-user-drag: none; }
.up-rail-track .up-empty { flex: 1 1 100%; }

/* Rail shell: hosts the edge-fade scroll affordances over any product rail. The fades sit
   above the cards (.up-pcard is position:relative) but never intercept taps; state classes
   come from useHeroRailScroll and only light a fade on the side with more content. */
.up-rail-shell { position: relative; }
.up-rail-shell::before,
.up-rail-shell::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 44px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms cubic-bezier(.2,.7,.2,1);
  z-index: 2;
}
.up-rail-shell::before { left: 0;  background: linear-gradient(to right, var(--up-paper), rgba(255,255,255,0)); }
.up-rail-shell::after  { right: 0; background: linear-gradient(to left,  var(--up-paper), rgba(255,255,255,0)); }
.up-rail-shell.is-overflowing:not(.is-at-start)::before { opacity: 1; }
.up-rail-shell.is-overflowing:not(.is-at-end)::after { opacity: 1; }

/* Recently viewed rail: same scroller, its own density. Grid-mode overrides below
   (responsive pass) switch it to a static row whenever the item count fits. */
.up-rv-rail-track { --rail-cols: 4.2; }

/* Recently viewed grid-mode: when every item fits the breakpoint's row, render a static
   grid instead of a scroller. The cards' flex-basis is inert under display:grid, and with
   nothing overflowing the hook suppresses the arrows and fades on its own. */
@media (min-width: 1101px) {
  .up-rv-shell[data-count="1"] .up-rv-rail-track,
  .up-rv-shell[data-count="2"] .up-rv-rail-track,
  .up-rv-shell[data-count="3"] .up-rv-rail-track,
  .up-rv-shell[data-count="4"] .up-rv-rail-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow-x: visible;
    padding: 0;
    margin: 0;
  }
}
@media (min-width: 901px) and (max-width: 1100px) {
  .up-rv-shell[data-count="1"] .up-rv-rail-track,
  .up-rv-shell[data-count="2"] .up-rv-rail-track,
  .up-rv-shell[data-count="3"] .up-rv-rail-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow-x: visible;
    padding: 0;
    margin: 0;
  }
}
@media (max-width: 900px) {
  .up-rv-shell[data-count="1"] .up-rv-rail-track,
  .up-rv-shell[data-count="2"] .up-rv-rail-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
    padding: 0;
    margin: 0;
  }
}
@media (max-width: 640px) {
  .up-rv-shell[data-count="1"] .up-rv-rail-track {
    grid-template-columns: 1fr;
  }
}
.up-hero-rail-arrow {
  width: 30px;
  height: 30px;
  border: 1px solid var(--up-rule);
  background: #fff;
  color: var(--up-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 160ms cubic-bezier(.2,.7,.2,1), color 160ms cubic-bezier(.2,.7,.2,1), border-color 160ms cubic-bezier(.2,.7,.2,1);
}
.up-hero-rail-arrow:hover:not(:disabled),
.up-hero-rail-arrow:focus-visible {
  background: var(--up-ink);
  border-color: var(--up-ink);
  color: #fff;
  outline: 0;
}
.up-hero-rail-arrow:focus-visible { box-shadow: inset 0 0 0 2px var(--up-charge); }
.up-hero-rail-arrow:disabled {
  opacity: .35;
  color: var(--up-ink-3);
  cursor: default;
}

/* shared placeholder shape (also used by the product gallery) */
.up-hero-art-shape {
  width: 64%; aspect-ratio: 5/7;
  background: linear-gradient(135deg, var(--tint, #FFE49A) 0%, #fff 100%);
  border: 1px dashed var(--up-rule);
}

/* ---------- buttons ---------- */
.up-btn {
  font-weight: 700; font-size: 14px; letter-spacing: -.005em;
  padding: 12px 20px; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 200ms cubic-bezier(.2,.7,.2,1), color 200ms cubic-bezier(.2,.7,.2,1), box-shadow 180ms cubic-bezier(.2,.7,.2,1), transform 120ms;
  text-decoration: none;
}
.up-btn:active { transform: scale(.98); box-shadow: inset 0 2px 0 rgba(11,11,12,.18); }
.up-btn--primary { background: var(--up-ink); color: #fff !important; }
.up-btn--primary:hover { background: #000; color: var(--up-charge) !important; }
.up-btn--charge { background: var(--up-charge); color: var(--up-ink); }
.up-btn--charge:hover { background: var(--up-ink); color: var(--up-charge); }
.up-btn--ghost { background: transparent; color: var(--up-ink); padding: 12px 4px; border-bottom: 2px solid var(--up-ink); }
.up-btn--ghost:hover { border-bottom-color: var(--up-charge); box-shadow: inset 0 -2px 0 var(--up-charge); }
.up-btn--lg { font-size: 16px; padding: 16px 26px; }
.up-btn--block { width: 100%; justify-content: center; }

/* Inline spinner for buttons in a busy/pending state (sits before the label;
   .up-btn is inline-flex with gap, so no extra margin is needed). */
@keyframes up-spin { to { transform: rotate(360deg); } }
.up-spin {
  display: inline-block;
  width: 1em; height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -0.15em;
  flex: 0 0 auto;
  animation: up-spin var(--up-dur-slow) linear infinite;
}

/* ---------- category tiles ---------- */
.up-cat-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px;
}
.up-cat-tile {
  background: #fff; border: 1px solid var(--up-rule);
  padding: 18px 16px; height: 156px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color 200ms cubic-bezier(.2,.7,.2,1), box-shadow 200ms cubic-bezier(.2,.7,.2,1), transform 160ms cubic-bezier(.2,.7,.2,1);
  cursor: pointer;
}
.up-cat-tile:hover {
  border-color: var(--up-ink);
  transform: translateY(-2px);
  box-shadow: inset 0 0 0 1px var(--up-ink), 0 1px 0 rgba(11,11,12,.04), 0 8px 24px -12px rgba(11,11,12,.18);
}
.up-cat-glyph {
  align-self: flex-end; color: var(--up-ink-4);
  transition: color 150ms;
}
.up-cat-tile:hover .up-cat-glyph { color: var(--up-ink); }
.up-cat-count {
  font-family: var(--up-font-mono); font-size: 10px;
  color: var(--up-ink-3); letter-spacing: .12em; text-transform: uppercase;
}
.up-cat-label {
  font-family: var(--up-font-display); font-size: 22px;
  letter-spacing: -.018em; color: var(--up-ink);
  margin-top: 4px;
}

/* ---------- product card ---------- */
.up-grid-4 {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.up-product-grid-motion {
  min-height: 1px;
}
.up-product-grid-motion.is-leaving .up-pcard,
.up-product-grid-motion.is-leaving .up-empty {
  opacity: 0;
  transform: translateY(6px);
}
.up-product-grid-motion.is-entering .up-pcard,
.up-product-grid-motion.is-entering .up-empty {
  animation: up-product-card-in 240ms cubic-bezier(.2,.7,.2,1) both;
  animation-delay: var(--up-card-delay, 0ms);
}
@keyframes up-product-card-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.up-pcard {
  background: #fff; border: 1px solid var(--up-rule);
  padding: 14px;
  display: flex; flex-direction: column; gap: 12px;
  transition: border-color 200ms, box-shadow 200ms, opacity 120ms cubic-bezier(.6,0,.8,.2), transform 160ms cubic-bezier(.2,.7,.2,1);
  position: relative;
}
.up-pcard:hover {
  border-color: var(--up-ink);
  box-shadow: inset 0 0 0 1px var(--up-ink), 0 1px 0 rgba(11,11,12,.04), 0 8px 24px -12px rgba(11,11,12,.18);
}
.up-pcard-img {
  aspect-ratio: 5/7; background: var(--up-paper-tint);
  border: 1px solid var(--up-rule);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.up-pcard-art {
  width: 76%; aspect-ratio: 5/7;
  background: linear-gradient(135deg, var(--tint, #EDEDEC) 0%, #fff 100%);
  border: 1px dashed var(--up-rule);
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  /* Keep the image on its own compositor layer at all times; without this the
     browser promotes/demotes it at each hover transition, re-rasterizing the
     bitmap (crisp→blurry→crisp pop and a ~1px position snap at the end). */
  will-change: transform;
}
.up-pcard:hover .up-pcard-art { transform: scale(1.02); }
.up-pcard-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
  background: #fff;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1);
  will-change: transform;
}
.up-pcard:hover .up-pcard-photo { transform: scale(1.02); }

/* Gentle fade-in as images finish loading (applied by the StoreImage helper).
   Includes transform in the transition so .up-pcard-photo keeps its hover zoom. */
.up-img-fade {
  opacity: 0;
  transition: opacity var(--up-dur-base) var(--up-ease-out), transform var(--up-dur-slow) var(--up-ease-out);
}
.up-img-fade.is-loaded { opacity: 1; }
.up-img-priority { opacity: 1; }

/* Foil gleam — a diagonal light streak that sweeps once over foil and holo (incl. reverse holo) card art. */
@keyframes up-foil-gleam {
  0%   { transform: translateX(-160%) skewX(-18deg); opacity: 0; }
  12%  { opacity: 1; }
  100% { transform: translateX(160%) skewX(-18deg); opacity: 0; }
}
.up-pcard-img--foil::after,
.up-pdp-main--foil::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 55%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, .75) 45%,
    rgba(255, 206, 61, .45) 60%,
    rgba(255, 255, 255, 0) 100%);
  mix-blend-mode: screen;
  transform: translateX(-160%) skewX(-18deg);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.up-pcard:hover .up-pcard-img--foil::after,
.up-pcard:focus-visible .up-pcard-img--foil::after,
.up-pdp-main--foil:hover::after {
  animation: up-foil-gleam 900ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) 1;
}

/* RayWave shimmer — Topps Chrome RayWave parallels. A spectral rainbow sweep
   crosses the art once on hover, echoing the refraction of the physical card. */
@keyframes up-raywave-gleam {
  0%   { transform: translateX(-150%) skewX(-14deg); opacity: 0; }
  12%  { opacity: 1; }
  100% { transform: translateX(160%) skewX(-14deg); opacity: 0; }
}
.up-pcard-img--raywave::after,
.up-pdp-main--raywave::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 65%;
  background: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 110, 110, .42) 18%,
    rgba(255, 214, 96, .48) 34%,
    rgba(120, 236, 174, .45) 50%,
    rgba(105, 190, 255, .48) 66%,
    rgba(198, 128, 255, .42) 82%,
    rgba(255, 255, 255, 0) 100%);
  mix-blend-mode: screen;
  transform: translateX(-150%) skewX(-14deg);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.up-pcard:hover .up-pcard-img--raywave::after,
.up-pcard:focus-visible .up-pcard-img--raywave::after,
.up-pdp-main--raywave:hover::after {
  animation: up-raywave-gleam 1100ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) 1;
}

/* ---------- loading skeletons ---------- */
/* A low-contrast sheen sweeps across placeholder blocks while data loads. */
@keyframes up-skel-sheen { 100% { transform: translateX(100%); } }
.up-skel {
  position: relative;
  overflow: hidden;
  background: var(--up-paper-tint);
  border-radius: 2px;
}
.up-skel::after {
  content: "";
  position: absolute; inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, .55) 50%, transparent 100%);
  animation: up-skel-sheen 1.2s var(--up-ease-out) infinite;
}
.up-skel-card { pointer-events: none; }
.up-skel-line { height: 12px; }
.up-skel-line--game { width: 42%; }
.up-skel-line--title { width: 82%; height: 16px; }
.up-skel-line--price { width: 60px; height: 14px; }
.up-skel-line--stock { width: 44px; height: 12px; }
.up-skel-hero { height: 220px; }

.up-pcard-stamp {
  position: absolute; top: 8px; right: 8px;
  background: var(--up-ink); color: var(--up-charge);
  font-family: var(--up-font-mono); font-size: 9px; font-weight: 700;
  letter-spacing: .12em; padding: 3px 6px;
  z-index: 1;
}
.up-pcard-pills {
  position: absolute; top: 8px; left: 8px;
  display: flex; flex-wrap: wrap; gap: 4px;
  align-items: center; z-index: 1;
  max-width: calc(100% - 16px);
}
.up-pcard-img > .up-pcard-stamp {
  top: auto;
  bottom: 8px;
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.up-pcard-pill {
  min-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px; font-weight: 800; letter-spacing: .14em; line-height: 1;
  padding: 4px 8px; border-radius: 999px; text-transform: uppercase;
  background: var(--up-charge); color: var(--up-ink);
  white-space: nowrap;
}
.up-pcard-game {
  font-family: var(--up-font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--up-ink-3);
  border-left: 3px solid var(--up-ink); padding-left: 8px;
}
.up-pcard-title {
  font-size: 13px; font-weight: 700; line-height: 1.3; color: var(--up-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 34px;
}
.up-pcard-foot {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.up-pcard-foot--pre {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: start;
}
.up-pcard-price {
  font-family: var(--up-font-display); font-size: 18px; letter-spacing: -.02em;
  min-width: 0;
}
.up-pcard-foot--pre .up-pcard-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}
.up-pcard-strike {
  font-size: 11px; color: var(--up-ink-4); text-decoration: line-through; margin-left: 6px;
  font-family: var(--up-font-body); font-weight: 600;
}

.up-stock {
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.up-pcard-foot > .up-stock { text-align: right; }
.up-pcard-foot--pre > .up-stock {
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
}
/* Availability is information, not an error state. The rust warning colour on
   every thin shelf read as something being wrong with the shop, so the only
   colours left here are: green = buyable, ink = buyable but thin, grey = gone,
   blue = not yet. Singles ('few') are buyable and stay green — see
   storeStockTone in app.jsx for why they never say "Low". */
.up-stock--stock { color: var(--up-stock); }
.up-stock--few   { color: var(--up-stock); }
.up-stock--low   { color: var(--up-ink-2); }
.up-stock--pre   { color: var(--up-pre); }
.up-stock--store { color: var(--up-ink-2); }
.up-stock--out   { color: var(--up-out); }

/* ---------- breadcrumb + category ---------- */
.up-breadcrumb {
  max-width: 1280px; margin: 0 auto;
  padding: 24px 24px 0;
  font-family: var(--up-font-mono); font-size: 11px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--up-ink-3);
  display: flex; gap: 10px; align-items: center;
}
.up-breadcrumb a:hover { color: var(--up-ink); }
.up-section--catalog-head {
  padding: 18px 24px 20px;
}
.up-cat-head {
  display: flex; justify-content: space-between; align-items: flex-end;
}
.up-sort {
  border: 1px solid var(--up-rule); padding: 8px 10px;
  font-family: var(--up-font-mono); font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--up-ink-3); cursor: pointer;
  display: flex; align-items: center; gap: 8px; background: #fff;
}
.up-sort select {
  border: 0;
  background: transparent;
  color: var(--up-ink);
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
  outline: 0;
  cursor: pointer;
}

.up-cat-layout {
  max-width: 1280px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 20px;
  padding: 0 24px 96px;
}
.up-cat-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.up-cat-grid-products {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px;
  align-content: start;
}
.up-store-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 0;
  font-family: var(--up-font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--up-ink-3);
}
.up-store-pagination span {
  white-space: nowrap;
}
.up-store-pagination button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
@media (max-width: 900px) {
  .up-header-inner {
    gap: 12px;
    align-items: flex-start;
  }
  .up-nav {
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .up-nav::-webkit-scrollbar { display: none; }
  .up-nav-dropdown {
    left: 0;
    width: 176px;
  }
  .up-section-head {
    align-items: flex-start;
    gap: 14px;
  }
  .up-cat-grid-products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .up-section-head {
    flex-direction: column;
  }
  .up-cat-grid-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- filter bar ---------- */
.up-filter-bar {
  border-top: 2px solid var(--up-ink);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.up-filter-bar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px;
}
.up-filter-bar-row .up-sort {
  margin-left: auto;
}
.up-filter-bar-row .up-filter-select {
  min-width: 130px;
  max-width: 210px;
}
.up-filter-bar-row .up-filter-select-trigger {
  height: 100%;
}
.up-filter-bar-wishlist {
  border-radius: 0;
  font-family: var(--up-font-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
}
.up-filter-bar-active {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--up-rule);
}
.up-filter-bar-active .up-filter-clear {
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 4px 6px;
  font-family: var(--up-font-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: underline;
  text-decoration-color: var(--up-charge);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}
.up-chip.is-excluded,
.up-check.is-excluded span {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}
.up-chip.is-excluded {
  background: #fff;
  color: var(--up-ink-3);
  border-color: var(--up-ink);
}
.up-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.up-chip {
  border-radius: 999px; padding: 6px 12px; cursor: pointer;
  background: #fff; color: var(--up-ink); border: 1px solid var(--up-rule);
  font-size: 12px; font-weight: 600;
}
.up-chip:hover { border-color: var(--up-ink); }
a.up-chip { display: inline-block; text-decoration: none; }
.up-chip.is-active { background: var(--up-ink); color: #fff; border-color: var(--up-ink); }
.up-filter-clear {
  border: 1px solid var(--up-rule);
  background: #fff;
  color: var(--up-ink);
  font-size: 12px;
  font-weight: 800;
  padding: 8px 10px;
  cursor: pointer;
}
.up-filter-clear:hover {
  border-color: var(--up-ink);
}
.up-filter-select {
  position: relative;
  min-width: 0;
}
.up-filter-select-clear {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--up-ink);
  padding: 0;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: var(--up-charge);
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
  cursor: pointer;
}
.up-filter-select-trigger {
  width: 100%;
  border: 1px solid var(--up-rule);
  background: #fff;
  color: var(--up-ink);
  padding: 9px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
}
.up-filter-select-trigger.is-active {
  border-color: var(--up-ink);
  box-shadow: inset 0 0 0 1px var(--up-ink);
}
.up-filter-select-trigger > span:first-child {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.up-filter-select-trigger b {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.up-filter-select-trigger em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  color: var(--up-ink-3);
}
.up-filter-select-arrow {
  flex: none;
  font-family: var(--up-font-mono);
  font-size: 11px;
  transition: transform 140ms ease;
}
.up-filter-select.is-open .up-filter-select-arrow {
  transform: rotate(180deg);
}
.up-filter-select-pill {
  max-width: 100%;
  border: 1px solid var(--up-rule);
  background: var(--up-paper-tint);
  color: var(--up-ink);
  padding: 5px 6px 5px 8px;
  display: inline-flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
}
.up-filter-select-pill span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.up-filter-select-pill svg {
  flex: none;
  margin-top: 1px;
}
.up-filter-select-panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 40;
  width: max(280px, 100%);
  max-width: min(340px, calc(100vw - 36px));
  border: 1px solid var(--up-ink);
  background: #fff;
  padding: 8px;
  display: grid;
  gap: 8px;
  box-shadow: 0 18px 40px -20px rgba(11, 11, 12, .4);
}
.up-filter-select.is-align-right .up-filter-select-panel {
  left: auto;
  right: 0;
}
.up-filter-select-search {
  width: 100%;
}
.up-filter-select-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.up-filter-select-mode button {
  border: 1px solid var(--up-rule);
  background: var(--up-paper-tint);
  color: var(--up-ink-3);
  min-height: 30px;
  padding: 5px 8px;
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.up-filter-select-mode button.is-active {
  background: var(--up-ink);
  border-color: var(--up-ink);
  color: #fff;
}
.up-filter-select-options {
  max-height: 230px;
  overflow: auto;
  display: grid;
  gap: 4px;
}
.up-filter-select-option {
  border: 1px solid var(--up-rule);
  background: var(--up-paper-tint);
  color: var(--up-ink);
  padding: 7px 8px;
  display: flex;
  align-items: center;
  gap: 7px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}
.up-filter-select-option.is-active,
.up-filter-select-option.is-excluded {
  border-color: var(--up-ink);
  background: #fff;
}
.up-filter-select-option > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.up-filter-select-check {
  width: 16px;
  height: 16px;
  border: 1px solid var(--up-rule);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.up-filter-select-option.is-active .up-filter-select-check {
  background: var(--up-ink);
  border-color: var(--up-ink);
  color: #fff;
}
.up-filter-select-empty {
  color: var(--up-ink-3);
  font-size: 12px;
  font-style: italic;
}
.up-price-range {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}
.up-price-range .up-input {
  min-width: 0;
  width: 100%;
}
.up-price-range span {
  font-family: var(--up-font-mono);
  font-size: 10px;
  color: var(--up-ink-3);
  text-transform: uppercase;
}
.up-input {
  flex: 1; padding: 8px 10px; font-size: 13px; font-family: var(--up-font-body);
  background: #fff; border: 1px solid var(--up-rule); border-radius: 4px;
  color: var(--up-ink); outline: none;
}
.up-input:focus {
  border-color: var(--up-ink);
  box-shadow: inset 0 0 0 1px var(--up-ink), 0 0 0 3px rgba(211,255,61,.22);
}
.up-check {
  display: flex; align-items: center; gap: 8px; font-size: 13px;
  margin-bottom: 6px; cursor: pointer;
}
.up-check input { accent-color: var(--up-ink); }

/* ---------- pdp ---------- */
.up-pdp {
  max-width: 1280px; margin: 0 auto;
  padding: 24px 24px 96px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px;
}
.up-pdp-main {
  background: var(--up-paper-tint); border: 1px solid var(--up-rule);
  aspect-ratio: 1/1; position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.up-pdp-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
  background: #fff;
  animation: up-image-swap 220ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) both;
}
.up-pdp-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.up-pdp-thumb {
  aspect-ratio: 1/1; background: var(--up-paper-tint);
  border: 1px solid var(--up-rule); position: relative;
  background-image: linear-gradient(135deg, var(--tint, #EDEDEC) 0%, #fff 100%);
  cursor: pointer;
  transition: border-color 160ms var(--up-ease-out, ease), box-shadow 160ms var(--up-ease-out, ease), transform 160ms var(--up-ease-out, ease);
}
.up-pdp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.up-pdp-thumb:hover {
  border-color: var(--up-ink);
  transform: translateY(-1px);
}
.up-pdp-thumb.is-active {
  border-color: var(--up-ink);
  box-shadow: inset 0 0 0 1px var(--up-ink), 0 0 0 3px rgba(211,255,61,.24);
}

.up-pdp-meta-top { display: flex; justify-content: space-between; align-items: baseline; }
.up-pdp-game {
  font-family: var(--up-font-mono); font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  border-left: 3px solid; padding-left: 8px;
}
.up-pdp-title {
  font-family: var(--up-font-display); font-size: 40px; line-height: 1.05;
  letter-spacing: -.022em; color: var(--up-ink);
  margin: 18px 0 22px;
}
.up-pdp-price-row { display: flex; align-items: baseline; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--up-rule); }
.up-price-big {
  font-family: var(--up-font-display); font-size: 32px; letter-spacing: -.02em;
}
.up-pdp-buy { display: flex; gap: 12px; margin: 22px 0; align-items: center; }

/* ---------- pdp variant picker ---------- */
.up-pdp-variants { margin-top: 22px; }
.up-pdp-variants-label {
  display: block; margin-bottom: 8px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--up-ink-3); font-weight: 700;
}
.up-pdp-variant-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.up-pdp-variant {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  min-width: 0; padding: 12px 14px; text-align: left; cursor: pointer;
  background: #fff; color: var(--up-ink);
  border: 1px solid var(--up-rule);
  transition: border-color 120ms var(--up-ease-out, ease), background 120ms var(--up-ease-out, ease);
}
.up-pdp-variant:hover { border-color: var(--up-ink); }
.up-pdp-variant.is-active {
  background: var(--up-charge);
  border-color: var(--up-ink);
  box-shadow: inset 0 0 0 1px var(--up-ink);
}
.up-pdp-variant-name {
  font-size: 13px; font-weight: 700; line-height: 1.3;
  overflow-wrap: anywhere;
}
.up-pdp-variant-note {
  font-family: var(--up-font-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--up-ink-3);
}
.up-pdp-variant.is-active .up-pdp-variant-note { color: var(--up-ink-2); }
.up-pdp-variant-was { margin-left: 6px; opacity: .65; }
.up-pdp-variant.is-out .up-pdp-variant-name { color: var(--up-ink-3); }
.up-pdp-variant-select {
  width: 100%; padding: 12px 14px; cursor: pointer;
  font: inherit; font-size: 14px; font-weight: 600;
  background: #fff; color: var(--up-ink);
  border: 1px solid var(--up-ink); border-radius: 0;
}
.up-pdp-eta {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  background: var(--up-charge);
  color: var(--up-ink);
  font-size: 14px;
  line-height: 1.35;
}
.up-pdp-eta b { font-weight: 700; }
.up-pdp-store-note {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid var(--up-rule);
  background: var(--up-paper-tint);
  color: var(--up-ink-2);
  font-size: 14px;
  line-height: 1.4;
}
.up-pdp-features {
  list-style: none; display: flex; flex-direction: column; gap: 10px;
  font-size: 14px; color: var(--up-ink-2);
  padding: 18px 0; border-top: 1px solid var(--up-rule); border-bottom: 1px solid var(--up-rule);
}
.up-pdp-features li { display: flex; align-items: center; gap: 10px; }
.up-pdp-publish { padding-top: 22px; }
.up-pdp-publish h4 {
  font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 12px;
}
.up-pdp-markdown {
  max-width: 64ch;
  margin-bottom: 16px;
  color: var(--up-ink-2);
  font-size: 14px;
  line-height: 1.55;
}
.up-pdp-pulls {
  display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 0;
  border: 1px solid var(--up-rule); margin-bottom: 12px;
}
.up-pdp-pulls-size { font-size: 18px !important; white-space: nowrap; }
.up-pdp-pulls > div {
  padding: 14px; border-right: 1px solid var(--up-rule);
  display: flex; flex-direction: column; gap: 4px;
}
.up-pdp-pulls > div:last-child { border-right: 0; }
.up-pdp-pulls span {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--up-ink-3); font-weight: 700;
}
.up-pdp-pulls b {
  font-family: var(--up-font-display); font-size: 22px; color: var(--up-ink); letter-spacing: -.02em;
  font-weight: 400;
}

/* ---------- qty ---------- */
.up-qty {
  display: inline-flex; align-items: center;
  border: 1px solid var(--up-ink);
}
.up-qty button {
  width: 36px; height: 36px; border: 0; background: transparent; cursor: pointer;
  font-size: 18px; line-height: 1; color: var(--up-ink);
}
.up-qty button:hover { background: var(--up-charge); }
.up-qty span {
  min-width: 32px; text-align: center;
  font-family: var(--up-font-mono); font-size: 14px; font-weight: 700;
}
.up-qty--lg button { width: 44px; height: 48px; font-size: 22px; }
.up-qty--sm button { width: 28px; height: 28px; font-size: 15px; }
.up-qty--sm span { min-width: 26px; font-size: 12px; }
.up-pdp-limit { margin-top: 8px; }

/* ---------- image lightbox ---------- */
.up-lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(11, 11, 12, .82);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  cursor: zoom-out;
  animation: up-lightbox-in 160ms var(--up-ease-out, ease) both;
  /* Body scroll is locked while this is open, so anything that overflows the
     overlay has to be reachable from inside it. */
  overflow: auto;
  overscroll-behavior: contain;
}
.up-lightbox img {
  max-width: min(92vw, 640px);
  max-height: 88dvh;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--up-rule);
  cursor: default;
}
/* Wide sources (event banners are authored at 1200x400) would letterbox badly
   inside the 640px card-shaped cap. */
.up-lightbox--wide img {
  max-width: min(96vw, 1200px);
  background: transparent;
}
.up-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 160ms var(--up-ease-out, ease), color 160ms var(--up-ease-out, ease), border-color 160ms var(--up-ease-out, ease);
}
.up-lightbox-close:hover {
  background: var(--up-charge);
  color: var(--up-ink);
  border-color: var(--up-charge);
}
@media (max-width: 640px) {
  /* Reclaim the gutters on a phone — a 3:1 banner is mostly width. */
  .up-lightbox { padding: 16px; }
  .up-lightbox--wide img { max-width: 100%; }
}
@keyframes up-lightbox-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ---------- cart drawer ---------- */
.up-drawer-wrap {
  position: fixed; inset: 0;
  background: rgba(11,11,12,.45);
  opacity: 0; pointer-events: none;
  transition: opacity 200ms cubic-bezier(.2,.7,.2,1);
  z-index: 100;
  display: flex; justify-content: flex-end;
}
.up-drawer-wrap.is-open { opacity: 1; pointer-events: auto; }
.up-drawer {
  width: 460px; max-width: 100vw; background: #fff; height: 100dvh;
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(.2,.9,.25,1.05);
  display: flex; flex-direction: column;
  border-left: 1px solid var(--up-rule);
}
.up-drawer-wrap.is-open .up-drawer { transform: translateX(0); }
.up-drawer-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--up-rule);
  display: flex; justify-content: space-between; align-items: center;
}
.up-drawer-head h3 { font-family: var(--up-font-display); font-size: 22px; letter-spacing: -.01em; }
.up-drawer-empty {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; color: var(--up-ink-3);
}
.up-drawer-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.up-drawer-body {
  flex: 0 0 auto;
  padding: 8px 0;
}
.up-line {
  display: grid; grid-template-columns: 80px 1fr auto;
  padding: 16px 24px;
  border-bottom: 1px solid var(--up-rule);
  gap: 14px; align-items: flex-start;
  animation: up-line-in 220ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) both;
  animation-delay: var(--up-line-delay, 0ms);
  transition: opacity 160ms var(--up-ease-in, ease), transform 160ms var(--up-ease-in, ease), background-color 180ms var(--up-ease-out, ease);
}
.up-line.is-leaving {
  animation: up-line-out 180ms var(--up-ease-in, cubic-bezier(.6,0,.8,.2)) both;
  pointer-events: none;
}
.up-line:hover {
  background: var(--up-paper-tint);
}
.up-line-img {
  width: 80px; aspect-ratio: 1/1;
  background: #fff;
  border: 1px solid var(--up-rule);
  position: relative;
  overflow: hidden;
}
.up-line-img img,
.up-confirm-line-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  background: #fff;
}
.up-line-meta { font-family: var(--up-font-mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--up-ink-3); margin-bottom: 4px; }
.up-line-title { font-size: 13px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.up-line-title a { color: inherit; text-decoration: none; }
.up-line-title a:hover { text-decoration: underline; }
.up-line-variant {
  font-size: 12px; line-height: 1.3; color: var(--up-ink-2);
  margin: -6px 0 10px;
}
a.up-line-img { display: block; }
.up-line-foot { display: flex; justify-content: space-between; align-items: center; }
.up-line-price { font-family: var(--up-font-display); font-size: 16px; }
.up-line-remove {
  background: transparent; border: 0; color: var(--up-ink-3); cursor: pointer;
  align-self: flex-start; padding: 4px;
}
.up-line-remove:hover { color: var(--up-live); }
.up-drawer-foot {
  border-top: 2px solid var(--up-ink);
  padding: 18px 24px;
  background: #fff;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
}
.up-drawer-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 14px; }
.up-drawer-row.is-bumped {
  animation: up-soft-flash 420ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1));
}
.up-drawer-row--small { color: var(--up-ink-3); font-size: 12px; }
.up-drawer-total { font-family: var(--up-font-display); font-size: 22px; }
.up-drawer-foot .up-btn { margin-top: 14px; }
.up-drawer-note { font-family: var(--up-font-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--up-ink-3); margin-top: 10px; text-align: center; }
.up-checkout-fields {
  border-bottom: 1px solid var(--up-rule);
  flex: none;
  margin-bottom: 10px;
  padding-bottom: 12px;
  padding-right: 2px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.up-checkout-names {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.up-checkout-pickup,
.up-checkout-address {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.up-checkout-field--wide {
  grid-column: 1 / -1;
}
.up-checkout-account {
  border: 1px solid var(--up-rule);
  background: var(--up-paper-tint);
  padding: 9px 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  font-size: 13px;
}
.up-checkout-account span {
  font-family: var(--up-font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--up-ink-3);
}
.up-checkout-account b {
  font-weight: 800;
}
.up-checkout-change {
  align-self: flex-start;
  margin-top: -2px;
  padding: 0;
  background: none;
  border: none;
  font-family: var(--up-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--up-ink-3);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.up-checkout-change:hover {
  color: var(--up-ink);
}
.up-checkout-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.up-checkout-field label {
  font-family: var(--up-font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--up-ink-3);
}
.up-checkout-field input,
.up-checkout-field select {
  min-width: 0;
  border: 1px solid var(--up-rule);
  background: #fff;
  padding: 9px 10px;
  font: inherit;
  font-size: 13px;
}
.up-checkout-field input:disabled,
.up-checkout-field select:disabled {
  background: var(--up-paper-tint);
  color: var(--up-ink-3);
}
.up-checkout-code-row {
  display: flex;
  gap: 8px;
}
.up-checkout-code-row input {
  flex: 1 1 auto;
}
.up-checkout-code-apply {
  flex: 0 0 auto;
  border: 1px solid var(--up-ink);
  background: #fff;
  padding: 0 14px;
  font-family: var(--up-font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--up-ink);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease;
}
.up-checkout-code-apply:hover {
  background: var(--up-ink);
  color: #fff;
}
.up-checkout-code-apply:disabled {
  border-color: var(--up-rule);
  background: var(--up-paper-tint);
  color: var(--up-ink-3);
  cursor: default;
}
.up-checkout-code-note {
  font-size: 12px;
  color: var(--up-ink-3);
}
.up-checkout-code-note--error {
  color: #6E1A1F;
}
.up-checkout-shipping-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.up-checkout-shipping-choice {
  min-width: 0;
  flex: 1 1 120px;
  border: 1px solid var(--up-rule);
  background: #fff;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}
.up-checkout-shipping-choice:hover {
  border-color: var(--up-ink);
}
.up-checkout-shipping-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.up-checkout-shipping-choice input:disabled ~ * {
  opacity: .7;
}
.up-checkout-shipping-box {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid var(--up-ink);
  background: #fff;
  display: grid;
  place-items: center;
  transition: background-color 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}
.up-checkout-shipping-box::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--up-ink);
  border-bottom: 2px solid var(--up-ink);
  transform: rotate(-45deg) scale(.72);
  opacity: 0;
  transition: opacity 180ms ease 70ms, transform 220ms ease 70ms;
}
.up-checkout-shipping-choice.is-selected {
  border-color: var(--up-ink);
  background: var(--up-paper-tint);
}
.up-checkout-shipping-choice.is-selected .up-checkout-shipping-box {
  background: var(--up-charge);
  border-color: var(--up-ink);
  box-shadow: 0 0 0 3px rgba(211, 255, 61, .28);
}
.up-checkout-shipping-choice.is-selected .up-checkout-shipping-box::after {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}
.up-checkout-shipping-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  line-height: 1.15;
}
.up-checkout-shipping-copy b {
  font-size: 12px;
}
.up-checkout-shipping-copy em {
  font-family: var(--up-font-mono);
  font-style: normal;
  font-size: 10px;
  color: var(--up-ink-3);
}
.up-checkout-credit {
  margin-top: 2px;
  border: 1px solid var(--up-rule);
  padding: 9px 10px;
  background: var(--up-paper-tint);
}
.up-checkout-credit .up-check {
  margin: 0;
}
.up-checkout-credit-amount {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}
.up-checkout-credit-amount label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--up-ink-3);
}
.up-checkout-credit-amount input {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--up-rule);
  background: #fff;
  padding: 8px 9px;
  font: inherit;
}

/* ---------- toast ---------- */
.up-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--up-ink); color: var(--up-charge);
  border: 1px solid rgba(255, 206, 61, .42);
  padding: 12px 18px;
  font-family: var(--up-font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 24px 60px -28px rgba(11,11,12,.5);
  z-index: 200;
  animation: up-toast-in 200ms cubic-bezier(.2,.9,.25,1.2);
}
@keyframes up-toast-in { from { transform: translate(-50%, 8px); opacity: 0 } to { transform: translate(-50%, 0); opacity: 1 } }

/* POPIA s18 notice shown at each point where we collect personal information. */
.up-collection-notice {
  margin: 10px 0 0;
  color: var(--up-ink-3);
  font-size: 12px;
  line-height: 1.5;
}
.up-collection-notice a {
  color: var(--up-ink-2);
  border-bottom: 1px solid currentColor;
}
.up-collection-notice a:hover { color: var(--up-ink); }

/* ---------- consent banner ---------- */
.up-consent-banner {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  max-width: 560px; margin: 0 auto;
  background: #fff; color: var(--up-ink);
  border: 1px solid var(--up-line, #dfddd5);
  padding: 16px 18px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  box-shadow: 0 24px 60px -28px rgba(11,11,12,.5);
  z-index: 210;
}
.up-consent-banner p { margin: 0; flex: 1 1 260px; }
.up-consent-actions { display: flex; gap: 8px; }

/* ---------- footer ---------- */
.up-footer { background: var(--up-ink); color: #fff; }
.up-footer-inner { max-width: 1280px; margin: 0 auto; padding: 56px 24px 24px; }
.up-footer-top {
  display: flex; justify-content: space-between; gap: 56px;
  padding-bottom: 32px; border-bottom: 1px solid #2A2A2D;
}
.up-footer-brand {
  flex: 0 0 360px;
  min-width: 260px;
}
.up-footer-brand img { height: 44px; width: auto; display: block; }
.up-footer-brand p {
  color: #C7C7CD; font-size: 13px; line-height: 1.5;
  max-width: 280px; margin-top: 14px;
}
.up-footer-brand p strong { color: #fff; font-weight: 700; }
.up-footer-location {
  max-width: 360px;
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.up-footer-location h4 {
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--up-charge);
  margin: 0;
}
.up-footer-location p {
  max-width: none;
  margin: 0;
}
.up-footer-map-link {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.up-footer-map-link:hover { color: var(--up-charge); }
.up-footer-location-meta {
  display: grid;
  gap: 10px;
  margin-top: 2px;
}
.up-footer-detail {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  padding: 10px 0;
  border-top: 1px solid #2A2A2D;
}
.up-footer-detail svg {
  color: var(--up-charge);
  margin-top: 2px;
}
.up-footer-detail h5 {
  margin: 0 0 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
}
.up-footer-detail dl {
  display: grid;
  gap: 4px;
  margin: 0;
}
.up-footer-detail dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.up-footer-detail dt,
.up-footer-detail dd,
.up-footer-detail a {
  color: #C7C7CD;
  font-size: 13px;
  line-height: 1.45;
}
.up-footer-detail dt {
  font-weight: 700;
}
.up-footer-detail dd {
  margin: 0;
}
.up-footer-detail a {
  display: block;
  overflow-wrap: anywhere;
}
.up-footer-detail a:hover {
  color: #fff;
}
.up-footer-map {
  display: block;
  width: 100%;
  min-height: 168px;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid #2A2A2D;
  border-radius: 6px;
  background: #111;
}
/* Self-hosted OpenStreetMap render, not a Google embed — see the Footer
   comment in components.jsx. Scales as an SVG, so cover-cropping is safe. */
.up-footer-map img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  transition: opacity 180ms var(--up-ease-out, ease);
}
.up-footer-map:hover img,
.up-footer-map:focus-visible img {
  opacity: .88;
}
.up-footer-map-credit {
  margin: 6px 0 0;
  color: #8A8A90;
  font-size: 10px;
  line-height: 1.4;
}
.up-footer-map-credit a {
  color: #C7C7CD;
  text-decoration: underline;
}
.up-footer-map-credit a:hover { color: var(--up-charge); }
.up-footer-right { display: flex; flex-direction: column; gap: 32px; }
.up-footer-cols { display: flex; gap: 56px; }
.up-footer-community {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 360px;
  padding: 14px;
  border: 1px solid #2A2A2D;
  border-radius: 8px;
  background: #141416;
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.up-footer-community:hover {
  border-color: var(--up-charge);
  background: #18181A;
  transform: translateY(-2px);
}
.up-footer-community img {
  flex: none;
  width: 58px; height: 58px;
  border-radius: 6px;
  object-fit: cover;
}
.up-footer-community-text { display: grid; gap: 2px; min-width: 0; }
.up-footer-community-eyebrow {
  font-family: var(--up-font-mono);
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--up-charge);
}
.up-footer-community-text strong { font-size: 14px; font-weight: 800; color: #fff; }
.up-footer-community-text p { margin: 0; font-size: 12px; line-height: 1.4; color: #C7C7CD; }
.up-footer-community-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px;
  font-size: 12px; font-weight: 700; color: #fff;
}
.up-footer-community-cta svg { color: #25D366; }
.up-footer-community:hover .up-footer-community-cta { color: var(--up-charge); }
.up-footer-col { display: flex; flex-direction: column; gap: 8px; min-width: 140px; }
.up-footer-col h4 {
  font-weight: 800; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--up-charge); margin-bottom: 4px;
}
.up-footer-col a { color: #C7C7CD; font-size: 13px; }
.up-footer-col a:hover { color: #fff; }
.up-footer-input {
  display: flex; gap: 0; margin-top: 6px;
}
.up-footer-input input {
  flex: 1; background: transparent; border: 1px solid #3A3A3D;
  padding: 10px 12px; font-family: var(--up-font-body); font-size: 13px; color: #fff;
  outline: none; border-radius: 4px 0 0 4px;
}
.up-footer-input input::placeholder { color: #6C6C72; }
.up-footer-input button {
  background: var(--up-charge); color: var(--up-ink); border: 0;
  padding: 0 12px; cursor: pointer; border-radius: 0 4px 4px 0;
  display: inline-flex; align-items: center; justify-content: center;
  transform-origin: 50% 50%;
}
.up-cart-count.is-bumped {
  animation: up-soft-pop 260ms var(--up-ease-snap, cubic-bezier(.2,.9,.25,1.2));
}
.up-footer-input button:disabled { opacity: .6; cursor: wait; }
.up-footer-note {
  color: #C7C7CD;
  font-size: 12px;
  line-height: 1.4;
  margin: 6px 0 0;
  animation: up-route-in 220ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) both;
}
.up-footer-note--error { color: #FFB5B5; }
.up-footer-bottom {
  padding-top: 18px; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--up-font-mono); font-size: 10px; color: #6C6C72; letter-spacing: .12em; text-transform: uppercase;
}
/* Registered name + company number, required of an online seller by ECTA s43
   and of the company by the Companies Act. */
.up-footer-legal {
  text-align: right;
  letter-spacing: .08em;
}
@media (max-width: 900px) {
  .up-footer-legal { text-align: left; }
}
@media (max-width: 900px) {
  .up-footer-top {
    flex-direction: column;
    gap: 36px;
  }
  .up-footer-brand {
    flex: none;
    max-width: 420px;
  }
  .up-footer-brand p,
  .up-footer-location {
    max-width: 420px;
  }
  .up-footer-cols {
    flex-wrap: wrap;
    gap: 32px;
  }
}
@media (max-width: 560px) {
  .up-footer-inner {
    padding-inline: 18px;
  }
  .up-footer-cols {
    display: grid;
    grid-template-columns: 1fr;
  }
  .up-footer-map {
    min-height: 190px;
  }
  .up-footer-community {
    max-width: none;
    align-self: stretch;
  }
}
/* ---------- policy pages ---------- */
.up-policy-page {
  max-width: 800px;
  margin: 0 auto;
}
.up-policy-content {
  font-size: 15px;
  line-height: 1.7;
  color: var(--up-ink-2);
}
.up-policy-content h3 {
  font-family: var(--up-font-display);
  font-size: 22px;
  letter-spacing: -.01em;
  color: var(--up-ink);
  margin: 32px 0 14px;
}
.up-policy-content h3:first-child {
  margin-top: 0;
}
.up-policy-content p {
  margin-bottom: 16px;
}
.up-policy-content ul,
.up-policy-content ol {
  margin: 16px 0 16px 24px;
}
.up-policy-content li {
  margin-bottom: 8px;
}
.up-policy-content strong {
  color: var(--up-ink);
  font-weight: 700;
}
.up-policy-content a {
  color: var(--up-ink);
  border-bottom: 1px solid var(--up-ink-3);
}
.up-policy-content a:hover {
  border-bottom-color: var(--up-ink);
}
.up-policy-content h4 {
  font-family: var(--up-font-body);
  font-size: 16px;
  font-weight: 800;
  color: var(--up-ink);
  margin: 22px 0 10px;
}
/* Legal pages carry contact and cookie tables; keep the page from scrolling
   sideways on phones by letting the table scroll inside its own wrapper. */
.up-policy-table-wrap {
  overflow-x: auto;
  margin: 18px 0 22px;
  border: 1px solid var(--up-rule);
}
.up-policy-content table {
  width: 100%;
  min-width: 380px;
  border-collapse: collapse;
  font-size: 14px;
}
.up-policy-content thead th {
  background: var(--up-paper-tint);
  font-family: var(--up-font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--up-ink-2);
}
.up-policy-content th,
.up-policy-content td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--up-rule);
}
.up-policy-content tbody tr:last-child th,
.up-policy-content tbody tr:last-child td {
  border-bottom: 0;
}
.up-policy-content tbody th[scope="row"] {
  width: 34%;
  color: var(--up-ink);
  font-weight: 700;
}
.up-policy-content table a {
  word-break: break-word;
}

/* ---------- contact page ---------- */
.up-contact-page {
  max-width: 1000px;
  margin: 0 auto;
}
.up-contact-header {
  text-align: center;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--up-rule);
}
.up-contact-header h1 {
  margin-bottom: 12px;
}
.up-contact-header .up-lead {
  margin-left: auto;
  margin-right: auto;
}
.up-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  margin-bottom: 48px;
}
.up-contact-info h3 {
  margin-bottom: 12px;
}
.up-contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.up-contact-detail {
  padding: 14px 0;
  border-bottom: 1px solid var(--up-rule);
}
.up-contact-form-wrap {
  background: #fff;
  border: 1px solid var(--up-rule);
  padding: 32px;
}
.up-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.up-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.up-form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--up-ink);
}
.up-textarea {
  flex: 1;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--up-font-body);
  background: #fff;
  border: 1px solid var(--up-rule);
  border-radius: 4px;
  color: var(--up-ink);
  outline: none;
  resize: vertical;
}
.up-textarea:focus {
  border-color: var(--up-ink);
  box-shadow: inset 0 0 0 1px var(--up-ink), 0 0 0 3px rgba(211,255,61,.22);
}
.up-contact-note {
  background: var(--up-paper-tint);
  border-left: 3px solid var(--up-charge);
  padding: 24px;
}

.up-policy-page,
.up-contact-page {
  animation: up-route-in 320ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) both;
}
.up-policy-content > *,
.up-contact-grid > *,
.up-contact-note {
  animation: up-home-item-in 280ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) both;
}
.up-contact-grid > *:nth-child(2),
.up-contact-note { animation-delay: 50ms; }

/* ---------- confirmation page ---------- */
.up-confirm {
  max-width: 700px;
  margin: 0 auto;
}
.up-confirm-header {
  text-align: center;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--up-rule);
  margin-bottom: 32px;
}
.up-confirm-header .up-lead {
  margin-left: auto;
  margin-right: auto;
}
.up-confirm-check {
  width: 80px;
  height: 80px;
  background: var(--up-charge);
  color: var(--up-ink);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  animation: up-confirm-stamp 420ms var(--up-ease-snap, cubic-bezier(.2,.9,.25,1.2)) both;
}
.up-confirm-header h1 {
  margin-bottom: 12px;
}
.up-confirm-box {
  background: #fff;
  border: 1px solid var(--up-rule);
  padding: 24px;
  margin-bottom: 20px;
  animation: up-home-copy-in 280ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) both;
}
.up-confirm-box:nth-of-type(2) { animation-delay: 50ms; }
.up-confirm-box:nth-of-type(3) { animation-delay: 90ms; }
.up-confirm-box-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.up-confirm-line {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--up-rule);
  align-items: flex-start;
}
.up-confirm-line:last-of-type {
  border-bottom: 0;
}
.up-confirm-line-img {
  width: 70px;
  aspect-ratio: 1/1;
  background: #fff;
  border: 1px solid var(--up-rule);
  position: relative;
  overflow: hidden;
}
a.up-confirm-line-img { display: block; }
.up-confirm-line-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.up-confirm-line-price {
  font-family: var(--up-font-display);
  font-size: 18px;
  letter-spacing: -.02em;
  text-align: right;
}
.up-confirm-line-eta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px;
  padding: 4px 8px;
  background: var(--up-charge);
  color: var(--up-ink);
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
}
.up-confirm-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 18px;
  margin-top: 18px;
  border-top: 2px solid var(--up-ink);
}
.up-confirm-total--sub,
.up-confirm-total--discount {
  padding-top: 8px;
  margin-top: 8px;
  border-top: 1px solid var(--up-rule);
  font-size: 14px;
}
.up-confirm-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--up-paper-tint);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--up-ink-2);
  margin-top: 14px;
  border-left: 3px solid var(--up-charge);
}
.up-confirm-actions {
  text-align: center;
  margin-top: 32px;
}

/* ---------- account ---------- */
.up-section--account {
  max-width: 900px;
}
.up-auth-card,
.up-account-page {
  background: #fff;
  border: 1px solid var(--up-rule);
  padding: 32px;
  animation: up-home-copy-in 300ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) both;
}
.up-auth-card--center {
  text-align: center;
}
.up-auth-card--center .up-confirm-check {
  margin-left: auto;
  margin-right: auto;
}
.up-auth-card .up-lead,
.up-account-page .up-lead {
  margin-bottom: 24px;
}
.up-auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 18px;
}
.up-auth-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.up-auth-form label span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.up-auth-form input {
  border: 1px solid var(--up-rule);
  background: #fff;
  color: var(--up-ink);
  font-family: var(--up-font-body);
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
}
.up-auth-form input:focus {
  border-color: var(--up-ink);
  box-shadow: inset 0 0 0 1px var(--up-ink), 0 0 0 3px rgba(211,255,61,.22);
}
.up-auth-oauth {
  display: grid;
  gap: 14px;
  margin: 8px 0 18px;
}
.up-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--up-ink-3);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.up-auth-divider::before,
.up-auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--up-rule);
}
.up-oauth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}
.up-oauth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid var(--up-rule);
  background: #fff;
  color: var(--up-ink);
  cursor: pointer;
  font-family: var(--up-font-body);
  font-size: 14px;
  font-weight: 800;
  padding: 10px 12px;
  transition: border-color 160ms var(--up-ease-out, ease), box-shadow 160ms var(--up-ease-out, ease), transform 140ms var(--up-ease-out, ease);
}
.up-oauth-btn:hover:not(:disabled) {
  border-color: var(--up-ink);
  box-shadow: 0 3px 0 var(--up-charge);
  transform: translateY(-1px);
}
.up-oauth-btn:disabled {
  cursor: wait;
  opacity: .62;
}
.up-provider-mark {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 1px solid var(--up-rule);
  border-radius: 50%;
  background: #fff;
  color: var(--up-ink);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  overflow: hidden;
}
.up-provider-mark img {
  width: 16px;
  height: 16px;
  display: block;
  object-fit: contain;
}
.up-provider-mark--google {
  border-color: #E0E4EA;
  color: #1A73E8;
}
.up-provider-mark--discord {
  border-color: #D9DCF8;
  color: #5865F2;
}
.up-provider-mark--discord img {
  width: 19px;
  height: 19px;
}
.up-auth-message {
  margin-top: 18px;
  padding: 12px 14px;
  font-size: 13px;
  border-left: 3px solid var(--up-charge);
  background: var(--up-paper-tint);
  animation: up-route-in 220ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) both;
}
.up-auth-message--error {
  border-left-color: var(--up-live);
  background: #FFF1F0;
  color: #6E1A1F;
}
.up-auth-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--up-ink-3);
  font-size: 13px;
  margin-bottom: 16px;
}
.up-auth-switch button {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--up-ink);
  color: var(--up-ink);
  cursor: pointer;
  font-weight: 700;
  padding: 0;
}
.up-account-panels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.up-account-panel {
  border: 1px solid var(--up-rule);
  padding: 20px;
  background: var(--up-paper-tint);
}
.up-account-panel h3 {
  font-family: var(--up-font-display);
  font-size: 22px;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}
.up-account-panel p {
  color: var(--up-ink-3);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.up-account-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 2px solid var(--up-ink);
  margin: 8px 0 22px;
}
.up-account-tabs button {
  border: 1px solid var(--up-rule);
  border-bottom: 0;
  background: #fff;
  color: var(--up-ink);
  min-height: 38px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 160ms var(--up-ease-out, ease), color 160ms var(--up-ease-out, ease), border-color 160ms var(--up-ease-out, ease), box-shadow 160ms var(--up-ease-out, ease), transform 140ms var(--up-ease-out, ease);
}
.up-account-tabs button:hover {
  border-color: var(--up-ink);
  transform: translateY(-1px);
}
.up-account-tabs button.is-active {
  background: var(--up-ink);
  color: #fff;
  border-color: var(--up-ink);
  box-shadow: 0 4px 0 var(--up-charge);
}
.up-account-settings {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}
.up-account-settings-panel {
  border: 1px solid var(--up-rule);
  background: var(--up-paper-tint);
  padding: 20px;
  display: grid;
  gap: 14px;
  animation: up-home-item-in 260ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) both;
}
.up-account-settings-panel h3 {
  font-family: var(--up-font-display);
  font-size: 22px;
  letter-spacing: 0;
}
.up-account-settings-panel p {
  color: var(--up-ink-3);
  font-size: 14px;
  line-height: 1.5;
}
.up-account-settings-panel label {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.up-account-settings-panel label span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.up-account-settings-panel input {
  border: 1px solid var(--up-rule);
  background: #fff;
  color: var(--up-ink);
  font-family: var(--up-font-body);
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
}
.up-account-settings-panel input:focus {
  border-color: var(--up-ink);
  box-shadow: inset 0 0 0 1px var(--up-ink), 0 0 0 3px rgba(211,255,61,.22);
}
.up-account-settings-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.up-linked-accounts {
  display: grid;
  gap: 10px;
}
.up-linked-account-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--up-rule);
  background: #fff;
  padding: 12px;
}
.up-linked-account-main {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.up-linked-account-main span:last-child {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.up-linked-account-main b {
  font-size: 14px;
}
.up-linked-account-main small {
  color: var(--up-ink-3);
  font-size: 12px;
  overflow-wrap: anywhere;
}
.up-linked-account-status {
  border: 1px solid var(--up-rule);
  background: var(--up-paper-tint);
  color: var(--up-ink-3);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  padding: 5px 8px;
  text-transform: uppercase;
}
.up-linked-account-status.is-connected {
  background: var(--up-charge);
  border-color: var(--up-charge);
  color: var(--up-ink);
}
.up-linked-account-action {
  border: 0;
  border-bottom: 1px solid var(--up-ink);
  background: transparent;
  color: var(--up-ink);
  cursor: pointer;
  font-family: var(--up-font-body);
  font-size: 13px;
  font-weight: 800;
  padding: 4px 0;
}
.up-linked-account-action:disabled {
  border-bottom-color: var(--up-rule);
  color: var(--up-ink-3);
  cursor: not-allowed;
}
@media (max-width: 640px) {
  .up-linked-account-row {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }
  .up-linked-account-status {
    width: fit-content;
  }
}
.up-account-mfa-list {
  display: grid;
  gap: 8px;
}
.up-account-mfa-list > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--up-rule);
  background: #fff;
  padding: 10px 12px;
}
.up-account-mfa-list small {
  color: var(--up-ink-3);
  margin-left: 8px;
}
.up-account-mfa-list button {
  border: 0;
  border-bottom: 1px solid var(--up-ink);
  background: transparent;
  color: var(--up-ink);
  font-weight: 800;
  cursor: pointer;
}
.up-account-mfa-setup {
  display: grid;
  gap: 14px;
}
.up-account-mfa-qr {
  width: min(260px, 100%);
  min-height: 260px;
  background: #fff;
  border: 1px solid var(--up-rule);
  display: grid;
  place-items: center;
  padding: 16px;
}
.up-account-mfa-qr > div {
  width: 100%;
  display: grid;
  place-items: center;
}
.up-account-mfa-qr svg,
.up-account-mfa-qr img {
  width: 100%;
  height: auto;
  display: block;
}
.up-wishlist {
  display: grid;
  gap: 16px;
}
.up-wishlist-toolbar,
.up-account-settings-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.up-wishlist-preview,
.up-deck-layout > section,
.up-deck-saved {
  border: 1px solid var(--up-rule);
  background: var(--up-paper-tint);
  padding: 18px;
}
.up-wishlist-preview h3,
.up-deck-layout h3,
.up-deck-saved h3 {
  font-family: var(--up-font-display);
  font-size: 22px;
  margin-bottom: 10px;
}
.up-wishlist-preview-kpis {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.up-wishlist-preview-kpis span {
  border: 1px solid var(--up-rule);
  background: #fff;
  padding: 7px 9px;
  font-size: 12px;
}
.up-wishlist-list {
  display: grid;
  gap: 10px;
}
.up-wishlist-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--up-rule);
  background: #fff;
  padding: 12px;
  animation: up-home-item-in 220ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) both;
  transition: border-color 160ms var(--up-ease-out, ease), box-shadow 160ms var(--up-ease-out, ease), transform 160ms var(--up-ease-out, ease);
}
.up-wishlist-row:hover {
  border-color: var(--up-ink);
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--up-charge);
}
.up-wishlist-row b,
.up-wishlist-row span {
  display: block;
}
.up-wishlist-row span {
  color: var(--up-ink-3);
  font-size: 13px;
  margin-top: 3px;
}
.up-wishlist-row em {
  font-family: var(--up-font-mono);
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--up-ink-3);
}
.up-wishlist-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.up-drop-alerts {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}
.up-drop-alerts-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.up-drop-alerts-toolbar > div {
  min-height: 42px;
  border: 1px solid var(--up-rule);
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
}
.up-drop-alerts-toolbar b {
  font-family: var(--up-font-display);
  font-size: 22px;
  line-height: 1;
}
.up-drop-alerts-toolbar span {
  color: var(--up-ink-3);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.up-drop-alert-list {
  display: grid;
  gap: 10px;
}
.up-drop-alert-row {
  border: 1px solid var(--up-rule);
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  transition: border-color 160ms var(--up-ease-out, ease), box-shadow 160ms var(--up-ease-out, ease), transform 140ms var(--up-ease-out, ease);
}
.up-drop-alert-row:hover {
  border-color: var(--up-ink);
  box-shadow: 0 4px 0 var(--up-charge);
  transform: translateY(-1px);
}
.up-drop-alert-row.is-paused {
  background: var(--up-paper-tint);
}
.up-drop-alert-main {
  min-width: 0;
  display: grid;
  gap: 8px;
}
.up-drop-alert-titleline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.up-drop-alert-row h3 {
  font-family: var(--up-font-display);
  font-size: 22px;
  line-height: 1.1;
}
.up-drop-alert-row p {
  color: var(--up-ink-3);
  font-size: 13px;
  line-height: 1.45;
}
.up-drop-alert-status {
  border: 1px solid var(--up-rule);
  color: var(--up-ink-3);
  font-size: 11px;
  font-weight: 900;
  padding: 4px 8px;
  text-transform: uppercase;
}
.up-drop-alert-status.is-on {
  border-color: var(--up-ink);
  color: var(--up-ink);
  background: var(--up-charge);
}
.up-drop-alert-actions {
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.up-drop-alert-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: nowrap;
}
.up-drop-notice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.up-drop-notice {
  border: 1px solid var(--up-rule);
  background: #fff;
  padding: 18px;
  display: grid;
  gap: 10px;
}
.up-drop-notice h3 {
  font-family: var(--up-font-display);
  font-size: 24px;
}
.up-drop-notice p,
.up-drop-notice-markdown {
  color: var(--up-ink-3);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}
.up-drop-notice-markdown p {
  margin: 0 0 8px;
}
.up-drop-notice-markdown p:last-child {
  margin-bottom: 0;
}
.up-drop-notice-markdown strong {
  color: var(--up-ink);
  font-weight: 800;
}
.up-drop-notice-products {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.up-pdp-alert {
  width: fit-content;
  margin-top: -6px;
}
/* ---------- deck builder ---------- */
.up-section--deck {
  max-width: min(1680px, 100%);
  padding: 48px 24px 96px;
}
.up-deck-head {
  max-width: 720px;
}
.up-deck-head .up-lead {
  margin-top: 8px;
}
.up-deck-head .up-auth-message {
  margin-top: 14px;
}
.up-deck-filter-bar {
  border-top: 2px solid var(--up-ink);
  padding-top: 14px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.up-deck-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.up-deck-filter {
  position: relative;
  flex: 1 1 140px;
  min-width: 140px;
  max-width: 220px;
  height: 52px;
  border: 1px solid var(--up-rule);
  background: #fff;
  transition: border-color 160ms var(--up-ease-out, ease), box-shadow 160ms var(--up-ease-out, ease);
}
.up-deck-filter:focus-within {
  border-color: var(--up-ink);
  box-shadow: inset 0 0 0 1px var(--up-ink);
}
/* Caption floats over the control; the select/input itself fills the whole
   box so a click anywhere in it opens the native dropdown (label clicks only
   focus a select, they never expand it). */
.up-deck-filter > span {
  position: absolute;
  top: 8px;
  left: 11px;
  right: 11px;
  pointer-events: none;
  z-index: 1;
  font-family: var(--up-font-mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--up-ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.up-deck-filter select,
.up-deck-filter input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 20px 11px 6px;
  font-family: var(--up-font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--up-ink);
  outline: none;
  cursor: pointer;
}
/* Native select chrome indents the value text and pins its arrow to the box
   edge — strip it and draw our own chevron so text aligns with the caption. */
.up-deck-filter select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 30px;
  text-indent: 0;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230B0B0C' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 12px 12px;
}
.up-deck-filter input { cursor: text; }
.up-deck-filter select:disabled {
  color: var(--up-ink-4);
  cursor: default;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239A9AA1' stroke-width='2.5' stroke-linecap='square'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.up-deck-filter input::placeholder { color: var(--up-ink-4); font-weight: 500; }
.up-deck-filter--search {
  flex: 2 1 240px;
  max-width: none;
}
.up-deck-filter-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.up-deck-filter-clear {
  border: 0;
  background: transparent;
  color: var(--up-ink);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  cursor: pointer;
  border-bottom: 2px solid var(--up-charge);
  padding: 2px 0;
}
.up-deck-filter-clear:hover {
  box-shadow: inset 0 -2px 0 var(--up-charge);
}
.up-deck-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 24px;
  align-items: start;
}
.up-deck-results {
  min-width: 0;
}
.up-deck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(172px, 1fr));
  gap: 16px;
  align-content: start;
}
.up-deck-grid-foot {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding-top: 22px;
}
.up-pcard--deck {
  cursor: pointer;
}
.up-deck-card-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.up-deck-card-hit:focus-visible {
  outline: 2px solid var(--up-ink);
  outline-offset: -2px;
  box-shadow: inset 0 0 0 4px var(--up-charge);
}
.up-deck-card-qty {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  background: var(--up-charge);
  color: var(--up-ink);
  font-family: var(--up-font-mono);
  font-size: 12px;
  font-weight: 900;
  padding: 3px 8px;
}
.up-deck-card-flag {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: var(--up-live, #C0392B);
  color: #fff;
  font-family: var(--up-font-mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  padding: 3px 2px;
}
.up-pcard--deck-store .up-deck-card-flag {
  background: var(--up-ink-2);
}
.up-pcard--deck-out .up-pcard-photo {
  opacity: .45;
}
.up-deck-card-add {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: var(--up-ink);
  color: var(--up-charge);
  font-family: var(--up-font-mono);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 4px;
  opacity: 0;
  transition: opacity 140ms var(--up-ease-out, ease);
}
.up-pcard--deck:hover .up-deck-card-add,
.up-deck-card-hit:focus-visible ~ .up-pcard-img .up-deck-card-add {
  opacity: 1;
}
.up-deck-card-zoom {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  width: 32px;
  height: 32px;
  border: 1px solid var(--up-rule);
  background: rgba(255, 255, 255, .94);
  color: var(--up-ink);
  display: grid;
  place-items: center;
  cursor: zoom-in;
  opacity: 0;
  transition: opacity 140ms var(--up-ease-out, ease), background 140ms var(--up-ease-out, ease);
}
.up-pcard--deck:hover .up-deck-card-zoom,
.up-deck-card-zoom:focus-visible {
  opacity: 1;
}
.up-deck-card-zoom:hover {
  background: var(--up-charge);
  border-color: var(--up-ink);
}
@media (hover: none) {
  .up-deck-card-zoom { opacity: 1; }
}
.up-deck-panel {
  position: sticky;
  top: 95px;
  /* Fixed height (not max-height) so the card list always fills the viewport
     below the header and scrolls on its own, independent of the page. */
  height: calc(100dvh - 111px);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--up-rule);
  border-top: 2px solid var(--up-ink);
  background: #fff;
}
.up-deck-panel-head {
  padding: 16px;
  border-bottom: 1px solid var(--up-rule);
  display: grid;
  gap: 12px;
}
.up-deck-name-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.up-deck-name-field span {
  font-family: var(--up-font-mono);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--up-ink-3);
}
.up-deck-name-field input {
  width: 100%;
  border: 1px solid var(--up-rule);
  background: #fff;
  color: var(--up-ink);
  font-family: var(--up-font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 9px 11px;
  outline: none;
}
.up-deck-name-field input:focus {
  border-color: var(--up-ink);
  box-shadow: inset 0 0 0 1px var(--up-ink);
}
.up-deck-stats {
  display: grid;
  gap: 8px;
}
.up-deck-stats-main {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: var(--up-font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--up-ink-3);
}
.up-deck-stats-main b {
  color: var(--up-ink);
}
.up-deck-stats-main b.up-deck-stats-total {
  font-family: var(--up-font-display);
  font-size: 20px;
  letter-spacing: -.01em;
}
.up-deck-stats-types {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.up-deck-stats-types span {
  font-family: var(--up-font-mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--up-ink-2);
  background: var(--up-paper-tint);
  border: 1px solid var(--up-rule);
  padding: 3px 8px;
  border-radius: var(--up-radius-pill, 999px);
}
.up-deck-panel-list {
  flex: 1 1 auto;
  min-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.up-deck-panel-list > * {
  flex: 0 0 auto;
}
.up-deck-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--up-rule);
  animation: up-home-item-in 220ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) both;
}
.up-deck-row:last-child {
  border-bottom: 0;
}
.up-deck-row-thumb {
  aspect-ratio: 5 / 7;
  border: 1px solid var(--up-rule);
  background: color-mix(in srgb, var(--tint, var(--up-charge)) 14%, #fff);
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  transition: border-color 140ms var(--up-ease-out, ease), box-shadow 140ms var(--up-ease-out, ease);
}
.up-deck-row-thumb:hover:not(:disabled) {
  border-color: var(--up-ink);
  box-shadow: inset 0 0 0 1px var(--up-ink);
}
.up-deck-row-thumb:disabled {
  cursor: default;
}
.up-deck-row-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}
.up-deck-row-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.up-deck-row-title {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.up-deck-row-meta {
  font-style: normal;
  font-size: 11px;
  color: var(--up-ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.up-deck-row-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.up-deck-row-total {
  font-family: var(--up-font-mono);
  font-size: 12px;
  font-weight: 700;
}
.up-deck-panel-empty {
  margin: auto;
  padding: 28px 16px;
  text-align: center;
  display: grid;
  gap: 4px;
}
.up-deck-panel-empty p:first-child {
  font-weight: 800;
}
.up-deck-panel-foot {
  border-top: 1px solid var(--up-rule);
  padding: 16px;
  display: grid;
  gap: 12px;
  background: var(--up-paper-tint);
}
.up-deck-actions {
  display: grid;
  gap: 10px;
}
.up-deck-actions-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.up-deck-back {
  margin-top: 28px;
}
.up-deck-remove {
  width: 34px;
  height: 34px;
  border: 1px solid var(--up-rule);
  background: #fff;
  color: var(--up-ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.up-deck-remove:hover {
  background: var(--up-live);
  color: #fff;
  border-color: var(--up-live);
}
.up-deck-notes {
  width: 100%;
  min-height: 72px;
  resize: vertical;
}
.up-deck-cart-review {
  border: 1px solid color-mix(in srgb, var(--up-live, #C0392B) 38%, var(--up-rule));
  background: color-mix(in srgb, var(--up-live, #C0392B) 6%, #fff);
  padding: 12px;
  display: grid;
  gap: 8px;
}
.up-deck-cart-review strong {
  font-size: 14px;
  font-weight: 900;
}
.up-deck-cart-review p {
  margin: 0;
  color: var(--up-ink-3);
  font-size: 13px;
  line-height: 1.45;
}
.up-deck-cart-review ul {
  margin: 0;
  padding-left: 18px;
  color: var(--up-ink-3);
  font-size: 13px;
  line-height: 1.45;
}
.up-deck-cart-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.up-deck-saved-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}
.up-deck-saved-card {
  border: 1px solid var(--up-rule);
  background: #fff;
  padding: 18px;
  display: grid;
  gap: 10px;
  align-content: start;
  animation: up-home-item-in 220ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) both;
  transition: border-color 160ms var(--up-ease-out, ease), box-shadow 160ms var(--up-ease-out, ease);
}
.up-deck-saved-card:hover,
.up-deck-saved-card.is-active {
  border-color: var(--up-ink);
  box-shadow: inset 0 0 0 1px var(--up-ink);
}
.up-deck-saved-card.is-active {
  background: color-mix(in srgb, var(--up-charge) 16%, #fff);
}
.up-deck-saved-name {
  font-family: var(--up-font-display);
  font-size: 18px;
  letter-spacing: -.01em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.up-deck-saved-meta {
  margin: 0;
  font-family: var(--up-font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--up-ink-3);
}
.up-deck-saved-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
.up-deck-saved-delete {
  width: 40px;
  min-height: 38px;
  border: 1px solid var(--up-rule);
  background: var(--up-paper-tint);
  color: var(--up-ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 160ms var(--up-ease-out, ease), border-color 160ms var(--up-ease-out, ease), color 160ms var(--up-ease-out, ease);
}
.up-deck-saved-delete:hover:not(:disabled) {
  background: var(--up-live);
  border-color: var(--up-live);
  color: #fff;
}
.up-deck-saved-delete:disabled {
  cursor: not-allowed;
  opacity: .55;
}
.up-deck-minibar {
  display: none;
}
@media (max-width: 1240px) {
  .up-deck-layout { grid-template-columns: minmax(0, 1fr) 360px; }
}
@media (max-width: 900px) {
  .up-deck-layout { grid-template-columns: 1fr; }
  .up-deck-panel { position: static; height: auto; min-height: 0; }
  .up-deck-panel-list { max-height: 420px; }
  .up-deck-filter { max-width: none; }
  .up-section--deck { padding-bottom: 140px; }
  .up-deck-minibar {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 0;
    background: var(--up-ink);
    color: #fff;
    padding: 13px 16px;
    cursor: pointer;
    font-family: var(--up-font-mono);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    box-shadow: 0 8px 24px -8px rgba(11, 11, 12, .4);
  }
  .up-deck-minibar b,
  .up-deck-minibar-cta { color: var(--up-charge); }
}
@media (max-width: 560px) {
  .up-deck-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
}
.up-order-history {
  display: grid;
  gap: 18px;
  margin: 26px 0;
}
.up-order-card {
  border: 1px solid var(--up-rule);
  border-top: 2px solid var(--up-ink);
  background: #fff;
  padding: 18px 20px;
  animation: up-home-item-in 260ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) both;
  transition: border-color 160ms var(--up-ease-out, ease), box-shadow 160ms var(--up-ease-out, ease), transform 160ms var(--up-ease-out, ease);
}
.up-order-card:hover {
  border-color: var(--up-ink);
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px var(--up-ink);
}
.up-order-card-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  border-bottom: 1px solid var(--up-rule);
  padding-bottom: 14px;
  margin-bottom: 14px;
}
.up-order-eyebrow {
  display: block;
  font-family: var(--up-font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--up-ink-3);
  margin-bottom: 4px;
}
.up-order-card h3 {
  font-family: var(--up-font-display);
  font-size: 24px;
  letter-spacing: -.02em;
  margin-bottom: 3px;
}
.up-order-card-head p,
.up-order-status {
  color: var(--up-ink-3);
  font-size: 12px;
}
.up-order-total {
  text-align: right;
}
.up-order-total b {
  font-family: var(--up-font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -.02em;
}
.up-order-status {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
  text-transform: uppercase;
  font-family: var(--up-font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
}
.up-order-status span {
  border: 1px solid var(--up-rule);
  background: var(--up-paper-tint);
  color: var(--up-ink-2);
  padding: 5px 9px;
}
.up-order-status span.is-good {
  background: var(--up-charge);
  border-color: var(--up-ink);
  color: var(--up-ink);
}
.up-order-status span.is-bad {
  background: #fff;
  border-color: color-mix(in srgb, var(--up-live) 45%, transparent);
  color: var(--up-live);
}
.up-order-items {
  display: grid;
  margin-bottom: 14px;
}
.up-order-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
}
.up-order-item + .up-order-item {
  border-top: 1px solid var(--up-rule);
}
.up-order-item-img {
  width: 48px;
  aspect-ratio: 1/1;
  background: #fff;
  border: 1px solid var(--up-rule);
  overflow: hidden;
  display: block;
  transition: border-color 160ms var(--up-ease-out, ease);
}
.up-order-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
  background: #fff;
}
a.up-order-item-img:hover {
  border-color: var(--up-ink);
}
.up-order-item-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.up-order-item-title a { color: inherit; }
.up-order-item-title a:hover { text-decoration: underline; text-decoration-color: var(--up-charge); text-decoration-thickness: 2px; text-decoration-skip-ink: none; text-underline-offset: 3px; }
.up-order-item-meta {
  font-family: var(--up-font-mono);
  font-size: 11px;
  color: var(--up-ink-3);
  margin-top: 3px;
}
.up-order-item-price {
  font-family: var(--up-font-display);
  font-size: 16px;
  font-weight: 400;
  white-space: nowrap;
}
.up-order-meta {
  border: 1px solid var(--up-rule);
  background: var(--up-paper-tint);
  margin-bottom: 14px;
  font-family: var(--up-font-mono);
  font-size: 11px;
}
.up-order-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
}
.up-order-meta-row + .up-order-meta-row {
  border-top: 1px solid var(--up-rule);
}
.up-order-meta-row > span {
  color: var(--up-ink-3);
  text-transform: uppercase;
  letter-spacing: .08em;
  flex-shrink: 0;
}
.up-order-meta-row > b {
  color: var(--up-ink);
  overflow-wrap: anywhere;
  text-align: right;
}
.up-order-meta-row > b.up-order-meta-muted {
  color: var(--up-ink-3);
  font-weight: 400;
}
.up-order-meta-row--tenders > div {
  display: grid;
  gap: 4px;
}
.up-order-meta-row--tenders b {
  color: var(--up-ink);
  display: flex;
  gap: 14px;
  justify-content: flex-end;
}
.up-order-meta-row--tenders em {
  color: var(--up-ink-3);
  font-style: normal;
}
.up-order-live-tracking {
  border: 1px solid var(--up-rule);
  padding: 10px;
  margin: -4px 0 12px;
  display: grid;
  gap: 8px;
}
.up-order-live-tracking .up-chip {
  justify-self: start;
}
.up-order-live-tracking div {
  display: grid;
  gap: 4px;
}
.up-order-live-tracking p,
.up-order-live-tracking span {
  color: var(--up-ink-3);
  font-size: 12px;
}
.up-order-breakdown {
  display: grid;
  gap: 5px;
  border-top: 1px solid var(--up-rule);
  padding-top: 12px;
  color: var(--up-ink-3);
  font-size: 12px;
}
.up-order-breakdown span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.up-order-breakdown-total {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 2px solid var(--up-ink);
  color: var(--up-ink);
  font-weight: 700;
  align-items: baseline;
}
.up-order-breakdown-total b {
  font-family: var(--up-font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -.02em;
}

/* ---------- empty ---------- */
.up-empty {
  grid-column: 1 / -1;
  border: 1px dashed var(--up-rule);
  padding: 48px;
  text-align: center;
  transition: opacity 120ms cubic-bezier(.6,0,.8,.2), transform 120ms cubic-bezier(.6,0,.8,.2);
}
.up-empty p { margin: 6px 0; }
.up-store-empty {
  max-width: 760px;
  margin: 0 auto;
  background: var(--up-paper-tint);
  animation: up-route-in 280ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) both;
}
.up-payment-pulse {
  display: inline-block;
  padding: 8px 10px;
  background: var(--up-paper-tint);
  animation: up-status-pulse 1600ms ease-in-out infinite;
}

/* ---------- responsive storefront pass ---------- */
@media (max-width: 1100px) {
  .up-grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .up-cat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .up-cat-grid-products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .up-rail-track {
    --rail-cols: 4.3;
  }
  .up-rv-rail-track {
    --rail-cols: 3.3;
  }
  .up-pdp {
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .up-strip {
    padding: 8px 18px;
    font-size: 10px;
    line-height: 1.35;
  }
  .up-header-inner {
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
  }
  .up-header-left {
    flex: 1 1 auto;
  }
  .up-header-socials,
  .up-nav {
    display: none;
  }
  .up-mobile-menu-toggle {
    display: inline-flex;
    flex: 0 0 38px;
  }
  .up-mobile-menu-backdrop,
  .up-mobile-menu {
    display: block;
  }
  .up-logo img {
    height: 40px;
  }
  .up-header-actions {
    flex: 0 0 auto;
    gap: 6px;
  }
  .up-search-menu.is-open .up-search-form {
    width: min(300px, calc(100vw - 166px));
  }
  .up-account-dropdown {
    width: min(260px, calc(100vw - 24px));
  }

  .up-section {
    padding: 64px 18px;
  }
  .up-section--hero {
    padding-top: 18px;
  }
  .up-section--tight,
  .up-section--catalog-head {
    padding-left: 18px;
    padding-right: 18px;
  }
  .up-hero-jumps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .up-section-head {
    align-items: flex-start;
  }
  .up-display {
    font-size: 48px;
  }
  .up-h2 {
    font-size: 40px;
  }
  .up-h3 {
    font-size: 28px;
  }
  .up-lead {
    font-size: 16px;
  }

  .up-hero {
    gap: 22px;
  }
  .up-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .up-rail-track {
    --rail-cols: 3.3;
  }
  .up-hero-rail-nav {
    display: none;
  }
  .up-drop-notice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .up-cat-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }
  .up-sort,
  .up-sort select {
    width: 100%;
  }
  .up-cat-layout {
    padding: 0 18px 72px;
    gap: 20px;
  }

  .up-pdp {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 18px 18px 72px;
  }
  .up-pdp-gallery,
  .up-pdp-details {
    min-width: 0;
  }
  .up-pdp-main {
    max-width: 620px;
    width: 100%;
    margin: 0 auto;
  }
  .up-pdp-photo {
    padding: 22px;
  }
  .up-pdp-meta-top,
  .up-pdp-price-row,
  .up-pdp-buy {
    flex-wrap: wrap;
  }

  .up-footer-top {
    flex-direction: column;
  }
  .up-contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .up-contact-header {
    margin-bottom: 32px;
  }
}

@media (max-width: 640px) {
  .up-section {
    padding: 52px 16px;
  }
  .up-section--hero {
    padding-top: 16px;
  }
  .up-section--tight,
  .up-section--catalog-head {
    padding-left: 16px;
    padding-right: 16px;
  }
  .up-section-head {
    flex-direction: column;
  }
  .up-display {
    font-size: 42px;
  }
  .up-h2 {
    font-size: 34px;
  }
  .up-h3 {
    font-size: 26px;
  }
  .up-breadcrumb {
    padding: 18px 16px 0;
    flex-wrap: wrap;
    line-height: 1.4;
  }
  .up-hero {
    gap: 18px;
  }
  .up-hero .up-display {
    font-size: 36px;
    line-height: 1.02;
    margin-bottom: 12px;
  }
  .up-hero .up-lead {
    font-size: 15px;
  }
  .up-hero-jumps {
    grid-template-columns: 1fr 1fr;
  }
  .up-rail-track {
    --rail-cols: 2.25;
  }
  .up-rail-shell::before,
  .up-rail-shell::after {
    width: 32px;
  }

  .up-cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .up-cat-tile {
    height: 136px;
    padding: 14px;
  }
  .up-cat-label {
    font-size: 19px;
  }
  .up-drop-notice-grid {
    grid-template-columns: 1fr;
  }
  .up-drop-alert-row {
    grid-template-columns: 1fr;
  }
  .up-drop-alert-actions {
    align-items: flex-start;
  }
  .up-drop-alert-buttons {
    justify-content: flex-start;
  }
  .up-cat-grid-products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .up-filter-bar-row .up-filter-select,
  .up-filter-bar-wishlist {
    flex: 1 1 calc(50% - 4px);
    max-width: none;
  }
  .up-filter-bar-row .up-sort {
    margin-left: 0;
    flex: 1 1 100%;
  }
  .up-pcard-img {
    width: min(100%, 340px);
    max-height: none;
    margin-left: auto;
    margin-right: auto;
  }

  .up-pdp-title {
    font-size: 32px;
  }
  .up-price-big {
    font-size: 28px;
  }
  .up-pdp-photo {
    padding: 16px;
  }
  .up-pdp-buy .up-btn {
    flex: 1 1 180px;
    justify-content: center;
  }
  .up-pdp-pulls {
    grid-template-columns: 1fr;
  }
  .up-pdp-pulls > div {
    border-right: 0;
    border-bottom: 1px solid var(--up-rule);
  }
  .up-pdp-pulls > div:last-child {
    border-bottom: 0;
  }

  .up-drawer {
    width: 100vw;
    border-left: 0;
  }
  .up-drawer-head {
    padding: 14px 16px;
  }
  .up-line {
    grid-template-columns: 64px minmax(0, 1fr) 26px;
    gap: 10px;
    padding: 12px 16px;
  }
  .up-line-img {
    width: 64px;
  }
  .up-line-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .up-drawer-foot {
    padding: 14px 16px;
  }
  .up-checkout-names,
  .up-checkout-pickup,
  .up-checkout-address {
    grid-template-columns: 1fr;
  }
  .up-checkout-account {
    align-items: flex-start;
    flex-direction: column;
  }
  .up-checkout-shipping-choice {
    flex-basis: 100%;
  }
  .up-checkout-credit-amount {
    grid-template-columns: 1fr;
  }
  .up-toast {
    width: calc(100vw - 32px);
    justify-content: center;
    text-align: center;
  }

  .up-footer-inner {
    padding: 44px 16px 22px;
  }
  .up-footer-cols {
    display: grid;
    grid-template-columns: 1fr;
  }
  .up-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .up-footer-input input {
    min-width: 0;
  }
  .up-policy-content {
    font-size: 14px;
  }
  .up-contact-form-wrap,
  .up-auth-card,
  .up-account-page {
    padding: 20px;
  }
  .up-confirm-box {
    padding: 18px;
  }
  .up-confirm-line {
    grid-template-columns: 58px minmax(0, 1fr);
  }
  .up-confirm-line-img {
    width: 58px;
  }
  .up-confirm-line-price {
    grid-column: 2;
    text-align: left;
  }
  .up-confirm-box-row,
  .up-confirm-total,
  .up-order-card-head,
  .up-order-meta-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .up-order-total { text-align: left; }
  .up-order-meta-row > b { text-align: left; }
  .up-order-meta-row--tenders b { justify-content: space-between; }
}

@media (max-width: 520px) {
  .up-header-inner {
    padding: 10px 12px;
  }
  .up-logo img {
    height: 34px;
  }
  .up-icon-btn {
    width: 36px;
    height: 36px;
  }
  .up-mobile-menu-toggle,
  .up-search-menu,
  .up-search-toggle {
    flex-basis: 36px;
  }
  .up-search-form {
    right: 36px;
    height: 36px;
  }
  .up-search-menu.is-open .up-search-form {
    width: min(238px, calc(100vw - 146px));
  }
  .up-account-dropdown {
    right: -42px;
  }
  .up-grid-4 {
    grid-template-columns: 1fr;
  }
  .up-pcard {
    padding: 12px;
  }
  .up-pdp-buy {
    align-items: stretch;
    flex-direction: column;
  }
  .up-pdp-buy .up-qty {
    width: fit-content;
  }
  .up-pdp-buy .up-btn {
    width: 100%;
  }
  .up-auth-switch {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ---------- keyboard focus ring ---------- */
/* One consistent focus indicator for keyboard navigation. :focus-visible keeps
   it invisible for mouse users. Ink is used because outline draws over the page
   (white), where charge-yellow would fail contrast; the dark footer flips to
   charge. Text inputs already show an inset box-shadow on :focus, so they're
   intentionally left alone here. The ring sits flush (no offset): a gap around
   bordered controls reads as a double "sandwich" ring. */
a:focus-visible,
button:focus-visible,
select:focus-visible,
.up-btn:focus-visible,
.up-pcard:focus-visible,
.up-cat-tile:focus-visible {
  outline: 2px solid var(--up-ink);
  outline-offset: 0;
}
.up-search-form input:focus-visible {
  outline: none;
}
/* Deck filter boxes signal focus on the wrapper via :focus-within; the inner
   control's own ring would double up (selects match :focus-visible on click). */
.up-deck-filter select:focus-visible,
.up-deck-filter input:focus-visible {
  outline: none;
}
.up-search-menu.is-open .up-search-form:focus-within {
  border-color: var(--up-ink);
}
.up-search-menu.is-open:focus-within .up-search-toggle {
  border-color: var(--up-ink);
}
.up-footer :focus-visible,
.up-footer-input input:focus-visible {
  outline: 2px solid var(--up-charge);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .up-pcard-img--foil::after,
  .up-pdp-main--foil::after,
  .up-pcard-img--raywave::after,
  .up-pdp-main--raywave::after {
    animation: none !important;
    opacity: 0 !important;
  }
  /* The global animation-duration override would freeze the spinner mid-turn,
     so hide it and let the button's text ("Sending…") convey the busy state. */
  .up-spin { display: none !important; }
  /* Static skeleton: keep the placeholder block, drop the moving sheen. */
  .up-skel::after { animation: none !important; opacity: 0 !important; }
  /* Don't strand fading images at opacity 0 if onLoad hasn't fired yet. */
  .up-img-fade { opacity: 1 !important; }
  .up-product-grid-motion.is-leaving .up-pcard,
  .up-product-grid-motion.is-leaving .up-empty {
    opacity: 1;
    transform: none;
  }
  .up-home-motion.is-entering > .up-section,
  .up-home-motion.is-entering .up-hero--lines > *,
  .up-home-motion.is-entering .up-cat-tile,
  .up-home-motion.is-entering .up-drop-notice,
  .up-catalog-tab-motion.is-entering > .up-filter-bar,
  .up-catalog-tab-motion.is-entering .up-product-grid-motion,
  .up-catalog-tab-motion.is-entering .up-store-pagination,
  .up-pdp-motion.is-entering > .up-breadcrumb,
  .up-pdp-motion.is-entering .up-pdp-gallery,
  .up-pdp-motion.is-entering .up-pdp-thumbs .up-pdp-thumb,
  .up-pdp-motion.is-entering .up-pdp-details > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ---------------------------------------------------------------------------
   Events tab + events page
--------------------------------------------------------------------------- */
.up-nav-separator {
  width: 1px;
  align-self: stretch;
  margin: 2px 6px;
  background: var(--up-rule);
}

/* Sitewide event strip. Reads as a standing ticket-desk ticker (white
   ground, one stamped rule) rather than a colored alert box - it should
   never be mistaken for the black/yellow .up-strip announcement bar above
   the header. Two modes share one accent variable: --up-live (the brand's
   "now playing" token) while an event is in progress, --up-pre (the
   brand's "scheduled" token) once it's just on the calendar. */
.up-live-event-strip {
  --up-live-event-accent: var(--up-live);
  background: var(--up-paper);
  border-top: 3px solid var(--up-live-event-accent);
  border-bottom: var(--up-border-hair);
  animation: up-route-in 240ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) both;
}
.up-live-event-strip.is-upcoming {
  --up-live-event-accent: var(--up-pre);
}
.up-live-event-inner {
  max-width: var(--up-container);
  margin: 0 auto;
  padding: 11px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.up-live-event-kicker {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--up-font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: var(--up-tracking-stamp);
  text-transform: uppercase;
  color: var(--up-live-event-accent);
}
.up-live-event-dot {
  width: 6px;
  height: 6px;
  background: var(--up-live-event-accent);
  flex: 0 0 auto;
  animation: up-live-event-pulse 2.2s ease-in-out infinite;
}
.up-live-event-strip.is-upcoming .up-live-event-dot {
  animation: none;
}
.up-live-event-link {
  flex: 1 1 auto;
  min-width: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  color: var(--up-ink);
  text-decoration: none;
}
.up-live-event-link svg {
  align-self: center;
  flex: 0 0 auto;
  transition: transform var(--up-dur-fast) var(--up-ease-snap);
}
.up-live-event-link:hover svg { transform: translateX(3px); }
.up-live-event-title {
  font-family: var(--up-font-display);
  font-size: 15px;
  letter-spacing: var(--up-tracking-tight);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.up-live-event-link:hover .up-live-event-title {
  text-decoration: underline;
  text-decoration-color: var(--up-live-event-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.up-live-event-meta {
  flex: 0 1 auto;
  font-family: var(--up-font-mono);
  font-size: 11px;
  color: var(--up-ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.up-live-event-dismiss {
  flex: 0 0 auto;
  border: 0;
  border-left: var(--up-border-hair);
  background: transparent;
  color: var(--up-ink-3);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  padding: 2px 0 2px 14px;
}
.up-live-event-dismiss:hover { color: var(--up-ink); }
@keyframes up-live-event-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}
@media (max-width: 640px) {
  /* Two lines: dot + status + title + arrow up top, time/date/location meta below. */
  .up-live-event-inner { padding: 8px 14px 9px; gap: 10px; align-items: flex-start; }
  .up-live-event-kicker { padding-top: 4px; font-size: 10px; }
  .up-live-event-link { flex-wrap: wrap; row-gap: 2px; }
  .up-live-event-title { font-size: 14px; }
  .up-live-event-meta { order: 9; flex: 1 1 100%; font-size: 10px; }
  .up-live-event-dismiss { align-self: stretch; }
}

.up-events-page {
  max-width: 860px;
  margin: 0 auto;
  animation: up-home-copy-in 300ms var(--up-ease-out, cubic-bezier(.2,.7,.2,1)) both;
}
.up-events-page .up-lead { margin: 10px 0 26px; }
.up-events-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.up-event-card {
  display: flex;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--up-rule);
  padding: 18px;
}
.up-event-card.is-past { opacity: .55; }
.up-event-date {
  flex: 0 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--up-ink);
  background: var(--up-paper);
  padding: 10px 6px;
  height: fit-content;
}
.up-event-date b {
  font-family: var(--up-font-display);
  font-size: 28px;
  line-height: 1;
}
.up-event-date span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.up-event-body { flex: 1; min-width: 0; }
/* The banner is cropped to a 3:1 strip here, so it doubles as a button that
   opens the uncropped poster in the lightbox. */
.up-event-image-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: zoom-in;
}
.up-event-image {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  margin-bottom: 12px;
  border: 1px solid var(--up-rule);
  transition: border-color 160ms var(--up-ease-out, ease);
}
.up-event-image-btn:hover .up-event-image { border-color: var(--up-ink); }
.up-event-title {
  font-family: var(--up-font-display);
  font-size: var(--up-fs-2xl, 24px);
  line-height: 1.1;
  margin: 0 0 6px;
}
.up-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: 10px;
}
.up-event-description { font-size: 14px; line-height: 1.6; }
.up-events-empty {
  border: 1px dashed var(--up-rule);
  background: #fff;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
.up-events-past-heading { margin: 34px 0 14px; }
@media (max-width: 640px) {
  .up-event-card { flex-direction: column; gap: 12px; }
  .up-event-date { flex-direction: row; gap: 8px; width: fit-content; padding: 6px 12px; }
  .up-event-date b { font-size: 20px; }
}

/* Checkout address autocomplete */
.up-address-suggest { position: relative; }
.up-address-suggest input { width: 100%; }
.up-address-suggest-list {
  position: absolute;
  z-index: 40;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--up-ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  max-height: 240px;
  overflow: auto;
}
.up-address-suggest-list button {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--up-rule);
  padding: 10px 12px;
  cursor: pointer;
  font: inherit;
}
.up-address-suggest-list li:last-child button { border-bottom: 0; }
.up-address-suggest-list button:hover,
.up-address-suggest-list button.is-highlighted { background: var(--up-paper); }
.up-address-suggest-list button b { font-size: 13px; }
.up-address-suggest-list button span { font-size: 11px; opacity: .65; }

/* ---------- Header search preview (typeahead) ---------- */
.up-search-preview {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: min(360px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid var(--up-rule);
  box-shadow: 0 24px 60px -28px rgba(11,11,12,.45);
  padding: 6px;
  z-index: 95;
  display: flex;
  flex-direction: column;
}
.up-search-preview-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  color: var(--up-ink);
  transition: background-color 140ms var(--up-ease-out, ease);
}
.up-search-preview-item:hover,
.up-search-preview-item:focus {
  background: var(--up-paper-tint);
}
.up-search-preview-thumb {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid var(--up-rule);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.up-search-preview-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2px;
}
.up-search-preview-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.up-search-preview-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.up-search-preview-meta {
  font-family: var(--up-font-mono);
  font-size: 10px;
  letter-spacing: .06em;
  color: var(--up-ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.up-search-preview-price {
  font-family: var(--up-font-display);
  font-size: 13px;
  white-space: nowrap;
}
.up-search-preview-empty {
  padding: 12px 10px;
  font-size: 12px;
  color: var(--up-ink-3);
}
.up-search-preview-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 4px;
  padding: 9px 10px;
  border: 0;
  border-top: 1px solid var(--up-rule);
  background: none;
  color: var(--up-ink);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.up-search-preview-all:hover { background: var(--up-paper-tint); }

/* ---------- Nav side flyout (Other TCG lines -> singles/sealed) ---------- */
.up-nav-dropdown-sub { position: relative; }
.up-nav-dropdown-sub > a span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.up-nav-subflyout {
  position: absolute;
  left: calc(100% + 6px);
  top: -7px;
  width: 176px;
  background: #fff;
  border: 1px solid var(--up-rule);
  box-shadow: 0 24px 60px -28px rgba(11,11,12,.45);
  padding: 6px;
  opacity: 0;
  transform: translateX(-6px);
  pointer-events: none;
  transition: opacity 160ms cubic-bezier(.2,.7,.2,1), transform 160ms cubic-bezier(.2,.7,.2,1);
  z-index: 92;
}
.up-nav-subflyout::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 0;
  bottom: 0;
  width: 10px;
}
.up-nav-dropdown-sub:hover .up-nav-subflyout,
.up-nav-dropdown-sub:focus-within .up-nav-subflyout {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.up-mobile-menu-sub .up-mobile-menu-subchild {
  padding-left: 28px;
  font-size: 12px;
  opacity: .85;
}

/* ---------- In-category search (search within a line) ---------- */
.up-line-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--up-rule);
  padding: 0 8px 0 12px;
  height: 40px;
  width: min(300px, 100%);
  align-self: flex-end;
  margin-bottom: 2px;
  transition: border-color 150ms;
}
@media (max-width: 720px) {
  .up-cat-head { flex-direction: column; align-items: stretch; gap: 12px; }
  .up-line-search { align-self: stretch; width: 100%; }
}
.up-line-search:focus-within { border-color: var(--up-ink); }
.up-line-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--up-ink);
  font: inherit;
  font-size: 13px;
}
.up-line-search button {
  width: 26px;
  height: 26px;
  border: 0;
  background: transparent;
  color: var(--up-ink-3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.up-line-search button:hover { color: var(--up-ink); background: var(--up-paper-tint); }

/* ---------- Product card quick add ---------- */
.up-pcard-add {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 32px;
  padding: 0 9px;
  background: #fff;
  border: 1px solid var(--up-ink);
  color: var(--up-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 130ms var(--up-ease-out, ease), color 130ms var(--up-ease-out, ease), transform 120ms var(--up-ease-snap, ease);
}
.up-pcard-add:hover {
  background: var(--up-ink);
  color: #fff;
  transform: translateY(-1px);
}
@media (hover: hover) and (pointer: fine) {
  .up-pcard-add {
    opacity: 0;
    transform: translateY(4px);
  }
  .up-pcard:hover .up-pcard-add,
  .up-pcard:focus-within .up-pcard-add {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Event card Buy Now ---------- */
.up-event-buy {
  align-self: flex-start;
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Footer community cards (Untapped Potential + Poke Cartel) ---------- */
.up-footer-communities {
  align-self: flex-end;
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 360px;
}
.up-footer-communities .up-footer-community {
  align-self: stretch;
  max-width: none;
}
@media (max-width: 900px) {
  .up-footer-communities {
    max-width: none;
    align-self: stretch;
  }
}

/* ---------- Mobile filter dropdowns: backdrop + bottom sheet ---------- */
.up-filter-select-backdrop { display: none; }
@media (max-width: 720px) {
  .up-filter-select-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 120;
    border: 0;
    padding: 0;
    background: rgba(11, 11, 12, .45);
    cursor: pointer;
  }
  .up-filter-select .up-filter-select-panel,
  .up-filter-select.is-align-right .up-filter-select-panel {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    max-height: 70vh;
    overflow-y: auto;
    z-index: 121;
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -18px 50px -20px rgba(11, 11, 12, .6);
  }
}
