/* shop/shop.css — LPFB Shop + Checkout styles */

/* ── SHARED: BASE ────────────────────────────────────────────── */
body {
  background: var(--black);
  color: var(--cream);
  font-family: 'DM Mono', monospace;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.045;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: overlay;
}

/* ── TICKER ──────────────────────────────────────────────────── */
#ticker {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 32px;
  background: var(--amber);
  overflow: hidden;
  z-index: 300;
  display: flex;
  align-items: center;
}
.ticker-inner {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: tickerScroll 48s linear infinite;
}
.ticker-inner span {
  font-family: 'Anton', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--black);
  padding: 0 0.9rem;
}
.ticker-inner .sep { padding: 0 0.1rem; font-size: 0.75rem; opacity: 0.55; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── TOPBAR ──────────────────────────────────────────────────── */
#topbar {
  position: fixed;
  top: 32px; left: 0; right: 0;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.3rem;
  z-index: 200;
  background: rgba(6,4,0,0.97);
  border-bottom: 1px solid rgba(212,146,10,0.22);
}
.tb-logo {
  font-family: 'Anton', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: var(--amber);
  text-decoration: none;
}
.tb-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.tb-nav a {
  font-size: 0.52rem;
  letter-spacing: 0.22em;
  color: rgba(255,243,208,0.35);
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}
.tb-nav a:hover { color: var(--amber); }
.tb-nav a.active { color: var(--amber); }
.tb-cart {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  text-decoration: none;
  color: var(--cream);
  position: relative;
}
.cart-badge {
  background: var(--amber);
  color: var(--black);
  width: 18px; height: 18px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.52rem;
  font-weight: bold;
  font-family: 'DM Mono', monospace;
}

/* ── PAGE WRAPPER ────────────────────────────────────────────── */
.page-body {
  padding-top: 82px; /* ticker 32px + topbar 50px */
}

/* ── SHOP HERO ───────────────────────────────────────────────── */
.shop-hero {
  position: relative;
  min-height: 52vw;
  max-height: 520px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  border-bottom: 3px solid var(--amber);
}

/* diagonal amber stripe behind */
.shop-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg,
      #0d0a02 0%,
      #0d0a02 45%,
      rgba(212,146,10,0.06) 45%,
      rgba(212,146,10,0.06) 100%
    );
  pointer-events: none;
  z-index: 0;
}

.shop-hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 1.4rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.shop-hero-visual {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 48%;
  overflow: hidden;
  z-index: 1;
}
.shop-hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--black) 0%, transparent 35%);
  z-index: 2;
  pointer-events: none;
}
.shop-hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(6,4,0,0.5) 100%);
  z-index: 2;
  pointer-events: none;
}
.shop-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: saturate(0.7) sepia(0.15);
}

.shop-hero-eyebrow {
  font-size: 0.5rem;
  letter-spacing: 0.35em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 0.65rem;
  opacity: 0.6;
}
.shop-hero-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(3.5rem, 15vw, 8.5rem);
  line-height: 0.85;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--cream);
  position: relative;
}
.shop-hero-title .word-merch {
  display: block;
  color: transparent;
  -webkit-text-stroke: 2px var(--amber);
  text-stroke: 2px var(--amber);
  position: relative;
}
.shop-hero-title .word-lpfb {
  display: block;
  color: var(--cream);
}
.shop-hero-sub {
  margin-top: 1rem;
  font-size: 0.55rem;
  color: rgba(255,243,208,0.35);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  max-width: 260px;
  line-height: 1.7;
}
.shop-hero-badge-row {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.shop-hero-badge {
  font-family: 'Anton', sans-serif;
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border: 1px solid rgba(212,146,10,0.3);
  color: rgba(212,146,10,0.6);
}
.shop-hero-badge.hi {
  background: var(--amber);
  color: var(--black);
  border-color: var(--amber);
}

/* Mobile hero: stack vertically */
@media (max-width: 640px) {
  .shop-hero {
    flex-direction: column;
    min-height: 0;
    max-height: none;
  }
  .shop-hero-visual {
    position: relative;
    width: 100%;
    height: 90vw;
    max-height: 520px;
  }
  .shop-hero-visual::before {
    background: linear-gradient(to bottom, transparent 50%, var(--black) 100%);
  }
  .shop-hero-content {
    padding: 1.5rem 1.2rem 1.8rem;
    justify-content: flex-start;
  }
  .shop-hero::before {
    background: #0d0a02;
  }
  .shop-hero-title .word-merch {
    -webkit-text-stroke: 1.5px var(--amber);
  }
}

/* ── FILTER BAR ──────────────────────────────────────────────── */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 1.4rem;
  border-bottom: 1px solid rgba(212,146,10,0.12);
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(6,4,0,0.6);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 82px;
  z-index: 10;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-chip {
  flex-shrink: 0;
  padding: 0.85rem 1rem;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 0.48rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,243,208,0.3);
  cursor: pointer;
  transition: all 0.15s;
  -webkit-tap-highlight-color: transparent;
  background: transparent;
  font-family: 'DM Mono', monospace;
  margin-bottom: -1px;
}
.filter-chip:hover { color: rgba(255,243,208,0.65); }
.filter-chip.active {
  color: var(--amber);
  border-bottom-color: var(--amber);
}
.filter-count {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 0.45rem;
  letter-spacing: 0.18em;
  color: rgba(212,146,10,0.25);
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── PRODUCT GRID ────────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(212,146,10,0.08);
  padding: 1px;
  margin: 1px;
}
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── PRODUCT CARD ────────────────────────────────────────────── */
.product-card {
  background: #090600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-left: 3px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(212,146,10,0);
  transition: background 0.25s;
  pointer-events: none;
  z-index: 1;
}
.product-card:hover {
  border-left-color: var(--amber);
  background: #0d0a02;
}
.product-card:hover::after {
  background: rgba(212,146,10,0.02);
}
.product-card.hidden { display: none; }

/* Featured card: full width */
.product-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-left: 4px solid var(--amber);
}
@media (min-width: 640px) {
  .product-card.featured { grid-column: 1 / -1; }
}
@media (min-width: 900px) {
  .product-card.featured {
    grid-column: span 2;
    grid-template-columns: 1fr 1fr;
  }
}

/* Card reveal animation */
.product-card {
  opacity: 0;
  transform: translateY(12px);
  animation: cardReveal 0.35s ease forwards;
}
@keyframes cardReveal {
  to { opacity: 1; transform: translateY(0); }
}
.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(n+7) { animation-delay: 0.35s; }

/* ── PRODUCT PHOTO ───────────────────────────────────────────── */
.product-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  background: #0f0b01;
}
.product-card.featured .product-photo {
  aspect-ratio: auto;
  height: 100%;
  min-height: 280px;
}

.product-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
}
.product-card:hover .product-photo img { transform: scale(1.06); }

/* ── FLAT CARDS (sticker / bierdeckel / figuren — landscape transparent PNG) ── */
.product-card.flat .product-photo {
  aspect-ratio: 4/3;
  background: var(--black);
}
.product-card.flat .product-photo img {
  object-fit: contain;
  padding: 12px;
}
/* Flat hover: brightness instead of scale (contain images clip on scale) */
.product-card.flat:hover .product-photo img {
  transform: scale(1.03);
  filter: brightness(1.1);
}
/* Mobile: flat cards go full-width — landscape products need horizontal space */
@media (max-width: 639px) {
  .product-card.flat {
    grid-column: span 2;
  }
}

/* ── BADGES ──────────────────────────────────────────────────── */
.product-badge {
  position: absolute;
  top: 0.6rem; left: 0.6rem;
  font-family: 'Anton', sans-serif;
  font-size: 0.48rem;
  letter-spacing: 0.2em;
  padding: 0.22rem 0.55rem;
  z-index: 2;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
  transform-origin: left center;
}
.product-badge.neu {
  background: var(--amber);
  color: var(--black);
}
.product-badge.bestseller {
  background: var(--cream);
  color: var(--black);
}
.product-badge.limitiert {
  background: transparent;
  color: var(--amber);
  border: 1px solid var(--amber);
  transform: rotate(1deg);
}
.product-badge.ausverkauft {
  background: rgba(255,243,208,0.05);
  color: rgba(255,243,208,0.3);
  border: 1px solid rgba(255,243,208,0.08);
}

/* ── QUICK ADD ───────────────────────────────────────────────── */
.product-quick-add {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--amber);
  color: var(--black);
  font-family: 'Anton', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-align: center;
  padding: 0.7rem;
  text-transform: uppercase;
  transform: translateY(100%);
  transition: transform 0.22s cubic-bezier(0.33, 1, 0.68, 1);
  z-index: 3;
  cursor: pointer;
  border: none;
  width: 100%;
}
.product-card:hover .product-quick-add { transform: translateY(0); }

/* Touch: always show on mobile */
@media (hover: none) {
  .product-quick-add {
    transform: translateY(0);
    opacity: 0.92;
    font-size: 0.62rem;
    padding: 0.55rem;
  }
}

/* ── PRODUCT INFO ─────────────────────────────────────────────── */
.product-info {
  padding: 0.8rem 0.9rem 1rem;
  position: relative;
}
.product-name {
  font-family: 'Anton', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 0.2rem;
}
.product-card.featured .product-name {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 0.95;
}
.product-sub {
  font-size: 0.48rem;
  letter-spacing: 0.15em;
  color: rgba(255,243,208,0.25);
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  line-height: 1.6;
}
.product-price {
  font-family: 'Anton', sans-serif;
  font-size: 1.25rem;
  color: var(--amber);
  letter-spacing: 0.02em;
}
.product-card.featured .product-price {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
}

/* ── SIZE DOTS ───────────────────────────────────────────────── */
.product-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-top: 0.6rem;
}
.size-dot {
  min-width: 26px; height: 26px;
  padding: 0 0.3rem;
  border: 1px solid rgba(212,146,10,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.44rem;
  letter-spacing: 0.06em;
  color: rgba(255,243,208,0.35);
  cursor: pointer;
  transition: all 0.12s;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.size-dot:hover { border-color: var(--amber); color: var(--amber); }
.size-dot.selected {
  border-color: var(--amber);
  color: var(--black);
  background: var(--amber);
}

/* Featured CTA */
.product-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--amber);
  color: var(--black);
  font-family: 'Anton', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}
.btn-primary:hover { background: var(--amber-hi); }
.btn-primary:active { transform: scale(0.98); }

/* Featured card layout on mobile */
@media (max-width: 639px) {
  .product-card.featured {
    grid-template-columns: 1fr;
  }
  .product-card.featured .product-photo {
    height: 60vw;
    min-height: 0;
  }
}

/* ── CART TOAST ──────────────────────────────────────────────── */
#cart-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--amber);
  color: var(--black);
  font-family: 'Anton', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.8rem 1.5rem;
  white-space: nowrap;
  z-index: 500;
  transition: transform 0.3s cubic-bezier(0.33, 1, 0.68, 1);
  pointer-events: none;
  border: 2px solid var(--black);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.6);
}
#cart-toast.visible {
  transform: translateX(-50%) translateY(0);
}

/* ── SHOP FOOTER ─────────────────────────────────────────────── */
.shop-footer-strip {
  padding: 1.5rem 1.4rem 2.5rem;
  border-top: 1px solid rgba(212,146,10,0.08);
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.footer-trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.48rem;
  letter-spacing: 0.18em;
  color: rgba(255,243,208,0.2);
  text-transform: uppercase;
}

/* ── CHECKOUT: STEP BAR ──────────────────────────────────────── */
.checkout-header {
  padding: 1.5rem 1.4rem 0;
  border-bottom: 1px solid rgba(212,146,10,0.08);
}
.checkout-step-bar {
  display: flex;
  align-items: center;
  gap: 0;
  padding-bottom: 1.2rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.checkout-step-bar::-webkit-scrollbar { display: none; }
.co-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.co-step-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.6rem;
  font-family: 'Anton', sans-serif;
  flex-shrink: 0;
  transition: all 0.3s;
}
.co-step-dot.active { background: var(--amber); color: var(--black); }
.co-step-dot.done { background: rgba(212,146,10,0.2); color: var(--amber); }
.co-step-dot.pending { background: rgba(255,243,208,0.05); color: rgba(255,243,208,0.2); border: 1px solid rgba(255,243,208,0.08); }
.co-step-label {
  font-size: 0.48rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.co-step-label.active { color: var(--amber); }
.co-step-label.done { color: rgba(212,146,10,0.4); }
.co-step-label.pending { color: rgba(255,243,208,0.15); }
.co-step-sep {
  width: 2rem; height: 1px;
  background: rgba(212,146,10,0.15);
  flex-shrink: 0;
  margin: 0 0.25rem;
}

/* ── CHECKOUT: SCREENS ───────────────────────────────────────── */
.co-screen { display: none; padding: 1.5rem 1.4rem; }
.co-screen.active { display: block; }

.co-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.8rem, 8vw, 3rem);
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1.5rem;
}

/* Cart items */
.co-cart-list { margin-bottom: 1.5rem; }
.co-cart-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(212,146,10,0.07);
}
.co-cart-thumb {
  width: 56px; height: 70px;
  object-fit: cover;
  flex-shrink: 0;
  background: #130f02;
}
.co-cart-thumb.flat {
  object-fit: contain;
  padding: 4px;
  background: var(--black);
}
.co-cart-info { flex: 1; min-width: 0; }
.co-cart-name {
  font-family: 'Anton', sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.co-cart-sub {
  font-size: 0.48rem;
  letter-spacing: 0.18em;
  color: rgba(212,146,10,0.45);
  text-transform: uppercase;
  margin-top: 0.2rem;
}
.co-cart-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}
.qty-btn {
  width: 22px; height: 22px;
  border: 1px solid rgba(212,146,10,0.25);
  background: transparent;
  color: var(--amber);
  font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-family: 'DM Mono', monospace;
  transition: all 0.15s;
}
.qty-btn:hover { background: var(--amber); color: var(--black); border-color: var(--amber); }
.qty-num {
  font-size: 0.65rem;
  color: var(--cream);
  min-width: 1rem;
  text-align: center;
}
.co-cart-price {
  font-size: 0.88rem;
  color: var(--amber);
  font-weight: 500;
  flex-shrink: 0;
}
.co-cart-remove {
  background: none;
  border: none;
  color: rgba(255,243,208,0.2);
  font-size: 1rem;
  cursor: pointer;
  padding: 0 0.2rem;
  transition: color 0.15s;
  flex-shrink: 0;
}
.co-cart-remove:hover { color: var(--cream); }

/* Totals */
.co-totals {
  border-top: 1px solid rgba(212,146,10,0.1);
  padding-top: 0.85rem;
  margin-bottom: 1.5rem;
}
.co-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: rgba(255,243,208,0.4);
  text-transform: uppercase;
  padding: 0.3rem 0;
}
.co-total-row.grand {
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  color: var(--cream);
  letter-spacing: 0.05em;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(212,146,10,0.12);
  margin-top: 0.3rem;
}
.co-total-row.grand .co-total-val { color: var(--amber); }

/* ── PROMO CODE BLOCK ────────────────────────────────────────── */
.co-promo-block {
  margin-bottom: 1.1rem;
  max-width: 520px;
}
.co-promo-field {
  display: flex;
  gap: 0;
}
.co-promo-input {
  flex: 1;
  font-family: 'Anton', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-right: none !important;
}
.co-promo-input::placeholder {
  color: rgba(212,146,10,0.22);
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
}
.co-promo-btn {
  background: rgba(212,146,10,0.1);
  border: 1px solid rgba(212,146,10,0.18);
  color: var(--amber);
  font-family: 'Anton', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0 1.1rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
  -webkit-tap-highlight-color: transparent;
}
.co-promo-btn:hover:not(:disabled) {
  background: rgba(212,146,10,0.18);
  color: var(--amber-hi);
}
.co-promo-btn:disabled {
  cursor: default;
  color: rgba(95,200,122,0.7);
  background: rgba(95,200,122,0.06);
  border-color: rgba(95,200,122,0.2);
}
.co-promo-input:disabled {
  color: rgba(95,200,122,0.85);
  border-color: rgba(95,200,122,0.25) !important;
}
.co-promo-feedback {
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.45rem;
  min-height: 1em;
  transition: opacity 0.2s;
}
.co-promo-feedback.success { color: #5fc87a; }
.co-promo-feedback.error   { color: rgba(220,80,80,0.8); }

.co-discount-row { color: #5fc87a !important; }

/* Form */
.co-form { display: flex; flex-direction: column; gap: 1rem; max-width: 520px; }
.co-form-row { display: flex; gap: 0.75rem; }
.co-field { display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.co-label {
  font-size: 0.48rem;
  letter-spacing: 0.22em;
  color: rgba(212,146,10,0.5);
  text-transform: uppercase;
}
.co-input {
  background: rgba(255,243,208,0.03);
  border: 1px solid rgba(212,146,10,0.18);
  padding: 0.7rem 0.85rem;
  color: var(--cream);
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  outline: none;
  transition: border-color 0.2s;
}
.co-input:focus { border-color: rgba(212,146,10,0.55); }
.co-input.error { border-color: rgba(220, 60, 60, 0.6); }

/* Checkout layout: form + summary side by side on desktop */
.co-checkout-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 768px) {
  .co-checkout-layout { flex-direction: row; align-items: flex-start; }
  .co-checkout-main { flex: 1; }
  .co-checkout-summary {
    flex-shrink: 0;
    width: 300px;
    background: rgba(212,146,10,0.04);
    border: 1px solid rgba(212,146,10,0.12);
    padding: 1.2rem;
    position: sticky;
    top: 100px;
  }
}
.co-summary-title {
  font-family: 'Anton', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(212,146,10,0.6);
  margin-bottom: 0.85rem;
}
.co-summary-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: rgba(255,243,208,0.5);
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(212,146,10,0.06);
}

/* Payment options */
.co-payment-options { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.5rem; }
.co-payment-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(212,146,10,0.15);
  cursor: pointer;
  transition: all 0.15s;
}
.co-payment-option.selected { border-color: var(--amber); background: rgba(212,146,10,0.05); }
.co-radio {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(212,146,10,0.35);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.co-payment-option.selected .co-radio { border-color: var(--amber); }
.co-radio-inner {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0;
  transition: opacity 0.15s;
}
.co-payment-option.selected .co-radio-inner { opacity: 1; }
.co-payment-label { font-size: 0.72rem; color: rgba(255,243,208,0.7); flex: 1; }
.co-payment-icon { font-size: 1.2rem; }

/* Card fields */
.co-card-fields {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding: 0.85rem;
  background: rgba(212,146,10,0.03);
  border: 1px solid rgba(212,146,10,0.1);
}
.co-card-fields.visible { display: flex; }

/* Buttons */
.co-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--amber);
  color: var(--black);
  font-family: 'Anton', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 1.4rem;
  height: 58px;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
  max-width: 520px;
  margin-top: 1.5rem;
  -webkit-tap-highlight-color: transparent;
}
.co-btn:hover { background: var(--amber-hi); }
.co-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.52rem;
  letter-spacing: 0.2em;
  color: rgba(255,243,208,0.3);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin-top: 0.85rem;
  transition: color 0.15s;
}
.co-btn-back:hover { color: rgba(255,243,208,0.6); }
.co-empty-cart {
  text-align: center;
  padding: 4rem 1rem;
  color: rgba(255,243,208,0.25);
}
.co-empty-cart p { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.5rem; }

/* ── CHECKOUT: CONFIRMATION ──────────────────────────────────── */
.co-confirm {
  text-align: center;
  padding: 3rem 1.4rem 4rem;
  max-width: 480px;
  margin: 0 auto;
}
.co-confirm-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.co-confirm-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2rem, 10vw, 4rem);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.co-confirm-order {
  font-size: 0.55rem;
  letter-spacing: 0.25em;
  color: rgba(212,146,10,0.5);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.co-confirm-quote {
  display: inline-block;
  padding: 0.6rem 1rem;
  background: rgba(212,146,10,0.08);
  border-left: 3px solid rgba(212,146,10,0.6);
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(245,176,48,0.85);
  letter-spacing: 0.03em;
  line-height: 1.7;
  margin-bottom: 2rem;
  text-align: left;
}
.co-confirm-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--amber);
  color: var(--black);
  font-family: 'Anton', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  text-decoration: none;
  transition: background 0.15s;
}
.co-confirm-back:hover { background: var(--amber-hi); }

@media (min-width: 768px) {
  #topbar { padding: 0 2rem; }
  .filter-bar { padding: 0 3rem; }
  .co-screen { padding: 2rem 3rem; }
  .checkout-header { padding: 2rem 3rem 0; }
  .shop-footer-strip { padding: 1.5rem 3rem 2.5rem; }
}

.gallery-hint {
  position: absolute; bottom: 0.5rem; right: 0.5rem;
  font-family: 'DM Mono', monospace; font-size: 0.6rem;
  letter-spacing: 0.08em; color: rgba(255,243,208,0.7);
  background: rgba(6,4,0,0.6); padding: 0.2rem 0.45rem;
  border-radius: 4px; pointer-events: none;
}
