/* ---------- Store ---------- */
.center { text-align: center; }
.no-margin { margin: 0; }
.pre-line { white-space: pre-line; }
.container.narrow { max-width: 860px; }
.nav-active { color: var(--red); }

.cart-link { position: relative; display: inline-flex; align-items: center; }
.cart-badge {
  position: absolute; top: -8px; right: -10px;
  min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--red); color: #fff;
  font-size: 0.7rem; font-weight: 700; line-height: 18px; text-align: center;
}

.shop-hero {
  padding: 72px 0 40px;
  text-align: center;
  background: radial-gradient(ellipse at top, rgba(var(--accent-rgb), 0.14), transparent 60%);
  border-bottom: 1px solid var(--card-border);
}
.shop-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.shop-hero-sub { max-width: 560px; margin: 0 auto; }

.shop-section { padding: 40px 0 96px; }
.featured-shop { padding: 96px 0 0; }
.featured-more { margin-top: 32px; }

.shop-toolbar, .admin-toolbar {
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
  margin-bottom: 28px;
}
.admin-toolbar p { margin: 0; }
.admin-toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.shop-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-tabs a {
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--card-border); color: var(--muted);
  font-weight: 600; font-size: 0.9rem; text-transform: capitalize;
}
.shop-tabs a:hover { color: var(--text); border-color: var(--muted); }
.shop-tabs a.active { background: var(--red); border-color: var(--red); color: #fff; }
.small-tabs a { padding: 6px 12px; font-size: 0.8rem; }
.tab-count { opacity: 0.7; font-weight: 500; margin-left: 2px; }

.shop-search { display: flex; gap: 8px; flex-wrap: wrap; }
.shop-search input, .shop-search select, .coupon-form input, .cart-item-controls input, .qty-label input {
  background: var(--bg-alt); border: 1px solid var(--card-border); color: var(--text);
  border-radius: 8px; padding: 10px 12px; font: inherit; font-size: 0.9rem;
}
.shop-search input:focus, .shop-search select:focus, .coupon-form input:focus { outline: none; border-color: var(--red); }

.info-strip {
  background: var(--bg-alt); border: 1px solid var(--card-border); border-left: 3px solid var(--red);
  padding: 12px 16px; border-radius: 8px; margin-bottom: 24px; font-size: 0.9rem; color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.product-card {
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: 14px; overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover { transform: translateY(-3px); border-color: var(--red); box-shadow: 0 10px 30px var(--red-glow); }
.product-thumb { position: relative; aspect-ratio: 4 / 3; background: var(--bg-alt); overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-info { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-name { font-size: 1rem; margin: 0; }
.product-short { font-size: 0.85rem; margin: 0; flex: 1; }
.product-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.product-price { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; }
.product-price-row.big .product-price { font-size: 2rem; }

.type-tag {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; background: rgba(10,10,13,0.8);
  border: 1px solid currentColor;
}
.type-tag.inline { position: static; display: inline-block; }
.type-tag.tiny { font-size: 0.6rem; padding: 1px 6px; }
.type-perk { color: #f5c542; }
.type-digital { color: #4dc4ff; }
.type-merch { color: #ff6b81; }
.type-service { color: #2ecc71; }
.sale-tag {
  position: absolute; top: 12px; right: 12px;
  background: var(--red); color: #fff; font-size: 0.7rem; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.06em;
}
.save-pill { background: rgba(46,204,113,0.12); color: var(--success); font-size: 0.8rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.stock-out { color: var(--red); font-weight: 600; font-size: 0.85rem; }
.stock-low { color: #f5c542; font-weight: 600; }
.ok-text { color: var(--success); font-weight: 600; }

.breadcrumb { margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--red); }
.added-banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; margin-bottom: 64px; }
.product-media { border-radius: 16px; overflow: hidden; border: 1px solid var(--card-border); background: var(--bg-alt); position: sticky; top: 96px; }
.product-media img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.product-buy h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 12px; }
.product-description { white-space: pre-line; color: var(--muted); border-top: 1px solid var(--card-border); padding-top: 20px; margin-top: 8px; line-height: 1.7; }
.buy-form { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.variant-picker { border: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.variant-picker legend { margin-bottom: 8px; font-weight: 600; }
.variant-picker label { cursor: pointer; }
.variant-picker input { position: absolute; opacity: 0; pointer-events: none; }
.variant-picker span {
  display: inline-block; min-width: 48px; text-align: center;
  padding: 10px 14px; border-radius: 8px; border: 1px solid var(--card-border); font-weight: 600;
}
.variant-picker input:checked + span { border-color: var(--red); background: rgba(var(--accent-rgb), 0.12); color: #fff; }
.variant-picker input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.qty-label { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.qty-label input { width: 90px; }
.delivery-points { list-style: none; padding: 0; margin: 0 0 24px; color: var(--muted); }
.delivery-points li { padding: 4px 0 4px 24px; position: relative; }
.delivery-points li::before { content: '✓'; color: var(--red); position: absolute; left: 0; font-weight: 700; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; align-items: start; margin-top: 24px; }
.cart-layout aside { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 96px; }
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 12px;
}
.cart-thumb img { width: 88px; height: 66px; object-fit: cover; border-radius: 8px; display: block; }
.cart-item-name { font-weight: 600; }
.cart-item-name:hover { color: var(--red); }
.cart-item-body p { margin: 2px 0 8px; }
.cart-item-controls { display: flex; align-items: center; gap: 12px; }
.cart-item-controls input { width: 70px; padding: 6px 8px; }
.cart-item-total { font-weight: 700; }
.coupon-form { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.coupon-form input { flex: 1; min-width: 0; }
.checkout-btn { margin-top: 4px; }

.summary-card {
  background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 20px; margin-bottom: 16px;
}
.cart-layout aside .summary-card { margin-bottom: 0; }
.summary-card h3 { font-size: 0.95rem; margin-bottom: 12px; }
.summary-line { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; font-size: 0.92rem; }
.summary-line.discount { color: var(--success); }
.summary-line.total { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--card-border); margin-top: 8px; padding-top: 14px; }
.summary-divider { border-top: 1px solid var(--card-border); margin: 8px 0; }

.checkout-form { margin-top: 0; }
.checkout-block { background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.checkout-block h3 { font-size: 1rem; margin: 0; }
.checkout-block p { margin: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-section-title { font-size: 1rem; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--card-border); }

.order-placed { text-align: center; padding: 24px 0 8px; }
.order-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0 24px; }
.pay-box { margin-bottom: 24px; }
.order-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.order-item {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center;
  background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; padding: 12px;
}
.order-item-img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.order-item-body p { margin: 2px 0 8px; }
.order-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.order-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.panel-info { margin-bottom: 16px; }

.table-wrap { overflow-x: auto; border: 1px solid var(--card-border); border-radius: 12px; margin-bottom: 24px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th { text-align: left; color: var(--muted); font-weight: 600; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; background: var(--bg-alt); }
.data-table th, .data-table td { padding: 12px 14px; border-bottom: 1px solid var(--card-border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table a:hover { color: var(--red); }
.table-thumb { width: 56px; height: 42px; object-fit: cover; border-radius: 6px; display: block; }
.row-actions { white-space: nowrap; text-align: right; }
.row-actions .btn, .row-actions form { margin-left: 4px; }
.mini-tag { font-size: 0.65rem; border: 1px solid var(--card-border); color: var(--muted); border-radius: 999px; padding: 1px 7px; margin-left: 4px; text-transform: uppercase; letter-spacing: 0.05em; }
.form-preview { max-width: 220px; border-radius: 8px; border: 1px solid var(--card-border); }
.attention-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 8px; }
.attention-list li { background: var(--card); border: 1px solid var(--card-border); border-left: 3px solid #f5c542; border-radius: 8px; padding: 10px 14px; font-size: 0.9rem; }
a.stat-card:hover { border-color: var(--red); }
.small-empty { padding: 24px; }

.status-paid, .status-processing { color: #4dc4ff; border-color: #4dc4ff; }
.status-shipped { color: #b58cff; border-color: #b58cff; }
.status-completed { color: var(--success); border-color: var(--success); }
.status-refunded { color: var(--muted); border-color: var(--muted); }

@media (max-width: 860px) {
  .product-detail, .cart-layout { grid-template-columns: 1fr; }
  .product-media, .cart-layout aside { position: static; }
  .order-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form-row, .buy-actions { grid-template-columns: 1fr; }
  .cart-item, .order-item { grid-template-columns: 64px 1fr; }
  .cart-thumb img, .order-item-img { width: 64px; height: 48px; }
  .cart-item-total, .order-item > div:last-child { grid-column: 2; }
  .shop-search, .shop-search input { width: 100%; }
}

/* =========================================================
   Redesign: angled armor plates, one page per section
   ========================================================= */
:root {
  --steel-1: #1c1d24;
  --steel-2: #121318;
  --steel-edge: #34363f;
  --steel-hi: #c9ccd6;
  --cut: 18px;
}

.plate,
.product-card,
.section-plate,
.summary-card,
.checkout-block,
.cart-item,
.order-item {
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut)));
  border-radius: 0;
  background: linear-gradient(160deg, var(--steel-1), var(--steel-2) 70%);
  border: none;
  box-shadow: inset 0 0 0 1px var(--steel-edge), inset 0 1px 0 rgba(255,255,255,0.06);
}
.cart-item, .order-item { --cut: 12px; }

/* Header + section bar */
.site-header { background: color-mix(in srgb, var(--bg) 94%, transparent); }
.section-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--card-border);
}
.section-bar-inner {
  display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
}
.section-bar-inner::-webkit-scrollbar { display: none; }
.section-bar a {
  padding: 11px 14px; font-size: 0.88rem; font-weight: 600; color: var(--muted); white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.section-bar a:hover { color: var(--text); }
.section-bar a.active { color: var(--text); border-bottom-color: var(--red); }
.main-nav a.nav-active { color: var(--red); }

/* Home hero */
.home-hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(ellipse 60% 80% at 85% 40%, rgba(var(--accent-rgb), 0.18), transparent 70%),
    linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-bottom: 1px solid var(--card-border);
  overflow: hidden;
}
.home-hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.home-hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.08; margin-bottom: 20px; max-width: 14ch;
}
.home-hero .hero-sub { margin: 0 0 32px; max-width: 46ch; text-align: left; }
.home-hero .hero-cta { justify-content: flex-start; }
.home-hero-emblem {
  width: 100%; max-width: 420px; justify-self: center;
  filter: drop-shadow(0 0 40px rgba(var(--accent-rgb), 0.35));
}

/* Generic page sections */
.page-section { padding: 56px 0; }
.page-section-alt { background: var(--bg-alt); border-top: 1px solid var(--card-border); border-bottom: 1px solid var(--card-border); }
.page-h2 { font-size: 1.35rem; margin-bottom: 20px; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.text-link { color: var(--red); font-weight: 600; font-size: 0.92rem; }
.text-link:hover { text-decoration: underline; }

.page-head {
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--card-border);
  background: radial-gradient(ellipse 50% 90% at 90% 50%, rgba(var(--accent-rgb), 0.12), transparent 70%), var(--bg-alt);
}
.page-head h1 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); margin-bottom: 10px; }
.page-head-sub { max-width: 56ch; margin: 0; }
.page-head-split { display: grid; grid-template-columns: 1fr 260px; gap: 32px; align-items: center; }
.page-head-art {
  width: 100%;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
}
.page-head-perk { --head: #f5c542; }
.page-head-digital { --head: #4dc4ff; }
.page-head-merch { --head: #ff6b81; }
.page-head-service { --head: #2ecc71; }
.page-head[class*="page-head-"] h1 { color: var(--text); }
.hero-search { margin-top: 24px; max-width: 520px; }
.hero-search input { flex: 1; }

/* Section plates (the big doors into each page) */
.sections-grid { display: grid; gap: 18px; grid-template-columns: repeat(6, 1fr); }
.sections-grid.count-5 .section-plate:nth-child(-n+2) { grid-column: span 3; }
.sections-grid.count-5 .section-plate:nth-child(n+3) { grid-column: span 2; }
.sections-grid.count-4 .section-plate { grid-column: span 3; }
.section-plate {
  --cut: 26px;
  position: relative; display: grid; grid-template-columns: 42% 1fr; min-height: 200px;
  transition: box-shadow 0.2s ease;
}
.sections-grid.count-5 .section-plate:nth-child(n+3) { grid-template-columns: 1fr; grid-template-rows: 150px auto; }
.section-art { width: 100%; height: 100%; object-fit: cover; display: block; }
.section-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 22px; }
.section-name { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; }
.section-blurb { color: var(--muted); font-size: 0.92rem; flex: 1; }
.section-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.85rem; font-weight: 600; color: var(--steel-hi); }
.section-go {
  width: 34px; height: 34px; background: var(--red);
  clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 9px, 100% 100%, 9px 100%, 0 calc(100% - 9px));
  position: relative;
}
.section-go::after {
  content: ''; position: absolute; left: 11px; top: 12px; width: 8px; height: 8px;
  border-top: 2px solid #fff; border-right: 2px solid #fff; transform: rotate(45deg);
}
.section-plate:hover, .section-plate:focus-visible {
  box-shadow: inset 0 0 0 1px var(--red), inset 0 1px 0 rgba(255,255,255,0.06), inset 0 -60px 80px -60px rgba(var(--accent-rgb), 0.35);
}
.section-perk .section-name { color: #ffd76a; }
.section-digital .section-name { color: #7fd6ff; }
.section-merch .section-name { color: #ff8ea0; }
.section-service .section-name { color: #5fe39a; }
.section-hosting .section-name { color: #c9a8ff; }

/* Product cards */
.product-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.product-card { transition: box-shadow 0.2s ease; transform: none !important; }
.product-card:hover, .product-card:focus-visible { box-shadow: inset 0 0 0 1px var(--red), inset 0 1px 0 rgba(255,255,255,0.06); }
.product-thumb { aspect-ratio: 4 / 3; }
.type-tag { text-transform: none; letter-spacing: 0; font-size: 0.75rem; border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px)); border: none;
  background: rgba(10,10,13,0.85); box-shadow: inset 0 0 0 1px currentColor; }
.sale-tag { text-transform: none; letter-spacing: 0; border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px)); }

/* Buttons pick up the cut corner too */
.btn { border-radius: 0; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px)); }
.btn-ghost { border: none; box-shadow: inset 0 0 0 1px var(--steel-edge); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--red); }
.btn-primary:hover { transform: none; filter: brightness(1.1); box-shadow: none; }
.btn:focus-visible, a:focus-visible, .section-plate:focus-visible { outline: 2px solid var(--steel-hi); outline-offset: 2px; }

/* Product page */
.product-detail { gap: 40px; }
.product-media { border: none; border-radius: 0; --cut: 26px;
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 26px 100%, 0 calc(100% - 26px)); }
.variant-picker span { border-radius: 0; clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 7px, 100% 100%, 7px 100%, 0 calc(100% - 7px)); border: none; box-shadow: inset 0 0 0 1px var(--steel-edge); }
.variant-picker input:checked + span { box-shadow: inset 0 0 0 1px var(--red); }

/* Discord band */
.discord-band { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.discord-band p { margin: 0; }

/* FAQ grouping */
.faq-group { margin-top: 28px; }
.faq-list details { border-radius: 0; }

/* Payments page */
.pay-status { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px; margin: 8px 0 20px; }
.pay-status.is-on { box-shadow: inset 0 0 0 1px var(--success), inset 0 1px 0 rgba(255,255,255,0.06); }
.mode-pill { font-weight: 700; padding: 4px 12px; text-transform: capitalize; box-shadow: inset 0 0 0 1px currentColor; }
.mode-test { color: #f5c542; }
.mode-live { color: var(--success); }
.setup-steps { padding-left: 22px; display: flex; flex-direction: column; gap: 18px; margin: 20px 0 28px; }
.setup-steps li::marker { color: var(--red); font-family: var(--font-head); font-weight: 800; }
.setup-steps p { margin: 4px 0 0; }
.key-form { flex-direction: row; gap: 10px; margin-top: 10px; }
.key-form input { flex: 1; }

@media (max-width: 900px) {
  .home-hero-inner { grid-template-columns: 1fr; }
  .home-hero-emblem { max-width: 240px; order: -1; justify-self: start; }
  .sections-grid { grid-template-columns: 1fr 1fr; }
  .sections-grid .section-plate,
  .sections-grid.count-5 .section-plate:nth-child(-n+2),
  .sections-grid.count-5 .section-plate:nth-child(n+3),
  .sections-grid.count-4 .section-plate { grid-column: span 1; grid-template-columns: 1fr; grid-template-rows: 150px auto; }
  .page-head-split { grid-template-columns: 1fr; }
  .page-head-art { display: none; }
}
@media (max-width: 560px) {
  .sections-grid { grid-template-columns: 1fr; }
  .key-form { flex-direction: column; }
  .row-head { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

.shop-toolbar-end { justify-content: flex-end; }

/* Product gallery + color swatches */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.product-gallery { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 12px; }
.product-gallery .product-media { position: relative; top: auto; }
.product-media .sale-tag { top: 16px; right: 34px; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.gallery-thumb {
  padding: 0; border: none; cursor: pointer; background: var(--bg-alt); opacity: 0.6;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  box-shadow: inset 0 0 0 1px var(--steel-edge);
}
.gallery-thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery-thumb.active, .gallery-thumb:hover { opacity: 1; box-shadow: inset 0 0 0 2px var(--red); }
.gallery-thumb.active img, .gallery-thumb:hover img { outline: 2px solid var(--red); outline-offset: -2px; }
.color-picker { border: none; padding: 0; margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.color-picker legend { margin-bottom: 8px; font-weight: 600; }
.color-picker label { cursor: pointer; }
.color-picker input { position: absolute; opacity: 0; pointer-events: none; }
.swatch {
  display: block; width: 38px; height: 38px; background: var(--sw);
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25);
}
.color-picker input:checked + .swatch { box-shadow: inset 0 0 0 3px var(--bg), inset 0 0 0 5px var(--red); }
.color-picker input:focus-visible + .swatch { outline: 2px solid var(--steel-hi); outline-offset: 2px; }
.card-swatches { display: flex; gap: 4px; margin-top: 2px; }
.card-swatches span { width: 12px; height: 12px; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.25); }
@media (max-width: 860px) { .product-gallery { position: static; } }
.sale-tag.tag-new { background: var(--success); color: #04140a; }
.sale-tag.tag-dark { background: #2a2a31; color: var(--muted); }
.product-card.is-soldout .product-thumb img { filter: grayscale(0.8) brightness(0.7); }

/* Spotlight banner */
.spotlight-section { padding-bottom: 0; }
.spotlight { --cut: 30px; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 300px; }
.spotlight-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.spotlight-body { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 36px 40px; }
.spotlight-kicker { color: var(--red); font-weight: 700; font-size: 0.9rem; }
.spotlight-name { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; }
.spotlight-buy { display: flex; align-items: center; gap: 20px; margin-top: 8px; }
.spotlight-buy .product-price { font-size: 1.8rem; }
.spotlight:hover { box-shadow: inset 0 0 0 1px var(--red), inset 0 1px 0 rgba(255,255,255,0.06); }
.card-swatches.big span { width: 18px; height: 18px; }
@media (max-width: 760px) { .spotlight { grid-template-columns: 1fr; } .spotlight-body { padding: 24px; } }

/* One intro moment on the home page */
@media (prefers-reduced-motion: no-preference) {
  .home-hero-emblem { animation: emblem-in 1.1s cubic-bezier(.2,.8,.2,1) both; }
  .home-hero-copy { animation: copy-in 0.8s 0.15s ease-out both; }
  @keyframes emblem-in {
    from { opacity: 0; transform: scale(0.85); filter: drop-shadow(0 0 0 rgba(var(--accent-rgb), 0)); }
    to   { opacity: 1; transform: scale(1); filter: drop-shadow(0 0 40px rgba(var(--accent-rgb), 0.35)); }
  }
  @keyframes copy-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
