/* =============================================================================
   CashVers Store v3 — complete rewrite matching Figma/React export design
   ============================================================================= */

/* Store-scoped font override */
.product-keys-store,
main.cart-page,
.cv-pdp-wrap,
.cv-cart-wrap {
  --f-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;
}

/* Design tokens for the new store components */
:root {
  --cv-card-bg:    #1A1917;
  --cv-card-bg2:   #232119;
  --cv-header-bg:  rgba(15,15,20,0.98);
  --cv-border:     rgba(255,255,255,0.1);
  --cv-border-hi:  rgba(255,255,255,0.2);
  --cv-surface:    rgba(255,255,255,0.05);
  --cv-surface-hi: rgba(255,255,255,0.1);
  --cv-text-50:    rgba(255,255,255,0.5);
  --cv-text-60:    rgba(255,255,255,0.6);
  --cv-text-70:    rgba(255,255,255,0.7);
  --cv-text-80:    rgba(255,255,255,0.8);
  --cv-btn:        #C6F135;
  --cv-btn-hover:  #a8d428;
  --cv-btn-fg:     #0F0E0C;
  --cv-disc:       #F2654A;
  --cv-green:      #4ade80;
  --cv-warn-col:   #fbbf24;
}

/* =============================================================================
   PRODUCT CARDS
   ============================================================================= */

.cv-card {
  position: relative;
  background: var(--cv-card-bg);
  border: 1px solid var(--cv-border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color 0.2s;
}
.cv-card:hover { border-color: var(--cv-border-hi); }

.cv-card__art {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cv-card-bg2);
  display: block;
}
.cv-card__art-ph {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    hsl(calc(var(--ph-hue,200) * 1deg) 30% 15%),
    hsl(calc(var(--ph-hue,200) * 1deg + 60deg) 20% 10%)
  );
}
.cv-card__art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
  z-index: 1;
}
.cv-card:hover .cv-card__art img { transform: scale(1.04); }

.cv-card__disc {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--cv-disc);
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
}
.cv-card__region {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 500;
  z-index: 2;
}
.cv-card__preorder {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: var(--accent);
  color: var(--accent-fg, #0F0E0C);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  z-index: 2;
}

.cv-card__body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.cv-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.cv-card__plat {
  display: inline-block;
  padding: 2px 8px;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 4px;
  font-size: 10px;
  color: var(--cv-text-70);
  font-weight: 500;
}
.cv-card__rating {
  font-size: 10px;
  color: var(--cv-text-50);
  font-family: var(--f-mono);
}
.cv-card__title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.4em;
  transition: color 0.15s;
}
.cv-card__title:hover { color: var(--accent); text-decoration: none; }
.cv-card__footer { margin-top: auto; }
.cv-card__price { margin-bottom: 8px; }
.cv-card__original {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-decoration: line-through;
  font-family: var(--f-mono);
}
.cv-card__current {
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 700;
  color: var(--accent);
  font-family: var(--f-mono);
}
.cv-card__actions {
  display: flex;
  gap: 5px;
  align-items: center;
}
.cv-card__add-form { flex: 1; display: flex; }
.cv-card__add {
  flex: 1;
  padding: 7px 10px;
  background: var(--cv-btn);
  color: var(--cv-btn-fg);
  font-size: 11px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s;
  font-family: var(--f-sans);
  white-space: nowrap;
  min-height: 32px;
}
.cv-card__add:hover { background: var(--cv-btn-hover); }
.cv-card__oos-label {
  flex: 1;
  display: block;
  padding: 7px 10px;
  background: rgba(239,68,68,0.15);
  border: 1px solid rgba(239,68,68,0.3);
  color: #f87171;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  text-align: center;
  font-family: var(--f-sans);
}
.cv-card__details {
  padding: 7px 9px;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  color: var(--cv-text-80);
  font-size: 11px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.cv-card__details:hover { background: var(--cv-surface-hi); color: #fff; }
.cv-card__wish {
  padding: 6px;
  background: transparent;
  border: none;
  color: var(--cv-text-50);
  cursor: pointer;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}
.cv-card__wish:hover,
.cv-card__wish.wished { color: #fb7185; }

/* =============================================================================
   PRODUCT GRID
   ============================================================================= */

.cv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 640px)  { .cv-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
@media (min-width: 1024px) { .cv-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
@media (min-width: 1280px) { .cv-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1536px) { .cv-grid { grid-template-columns: repeat(6, 1fr); } }

/* =============================================================================
   SECTION HEADERS
   ============================================================================= */

.cv-section { margin-bottom: 36px; }
.cv-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 10px;
}
.cv-section__head h2 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 2px;
  line-height: 1.1;
}
.cv-section__head p {
  font-size: 12px;
  color: var(--cv-text-50);
  margin: 0;
}
.cv-section__viewall {
  font-size: 13px;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
  text-decoration: none;
}
.cv-section__viewall:hover { opacity: 0.85; }

/* =============================================================================
   FILTER BAR (inline desktop, drawer mobile)
   ============================================================================= */

.cv-filterbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cv-border);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.cv-filterbar__search {
  position: relative;
  flex: 1;
  min-width: 180px;
  max-width: 280px;
}
.cv-filterbar__search svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.35);
  pointer-events: none;
}
.cv-filterbar__search input {
  width: 100%;
  padding: 9px 32px 9px 34px;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-family: var(--f-sans);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
}
.cv-filterbar__search input::placeholder { color: rgba(255,255,255,0.35); }
.cv-filterbar__search input:hover { background: var(--cv-surface-hi); }
.cv-filterbar__search input:focus { border-color: rgba(198,241,53,0.45); }

.cv-filterbar__clear-search {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: rgba(255,255,255,0.4);
  padding: 3px;
  cursor: pointer;
  display: inline-flex;
  line-height: 1;
}

.cv-filterbar select {
  padding: 9px 10px;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-family: var(--f-sans);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 28px;
}
.cv-filterbar select:hover { background-color: var(--cv-surface-hi); }
.cv-filterbar select:focus { border-color: rgba(198,241,53,0.45); }
.cv-filterbar select option { background: #12121a; color: #fff; }

.cv-filterbar__right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.cv-filterbar__count {
  font-size: 12px;
  color: var(--cv-text-50);
  font-family: var(--f-mono);
  white-space: nowrap;
}
.cv-filterbar__drawer-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 8px;
  color: var(--cv-text-80);
  font-size: 13px;
  font-family: var(--f-sans);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s;
}
.cv-filterbar__drawer-btn:hover { background: var(--cv-surface-hi); }

/* =============================================================================
   FILTER DRAWER (slide-in)
   ============================================================================= */

.cv-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 48;
}
.cv-drawer-backdrop.open { display: block; }

.cv-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 300px;
  max-width: 90vw;
  background: #0f0f14;
  border-left: 1px solid var(--cv-border);
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
  z-index: 49;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}
.cv-drawer.open { transform: translateX(0); }

.cv-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--cv-border);
  position: sticky;
  top: 0;
  background: #0f0f14;
  z-index: 1;
}
.cv-drawer__head h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.cv-drawer__close {
  padding: 6px;
  background: none;
  border: none;
  color: var(--cv-text-70);
  cursor: pointer;
  border-radius: 6px;
  display: inline-flex;
  transition: background 0.15s, color 0.15s;
}
.cv-drawer__close:hover { background: var(--cv-surface); color: #fff; }
.cv-drawer__body { padding: 20px; display: flex; flex-direction: column; gap: 20px; }
.cv-drawer__group label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  color: var(--cv-text-60);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.cv-drawer__group select,
.cv-drawer__group input[type=search] {
  width: 100%;
  padding: 10px 12px;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-family: var(--f-sans);
  outline: none;
}
.cv-drawer__group select:focus,
.cv-drawer__group input:focus { border-color: rgba(198,241,53,0.45); }
.cv-drawer__apply {
  width: 100%;
  padding: 12px;
  background: var(--accent);
  color: var(--accent-fg, #0F0E0C);
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--f-sans);
  transition: opacity 0.15s;
}
.cv-drawer__apply:hover { opacity: 0.9; }

/* =============================================================================
   ACTIVE FILTER CHIPS
   ============================================================================= */

.cv-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.active-filter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(198,241,53,0.12);
  border: 1px solid rgba(198,241,53,0.3);
  border-radius: 999px;
  font-size: 12px;
  color: var(--accent);
  cursor: pointer;
  font-family: var(--f-sans);
  transition: background 0.15s;
}
.active-filter:hover { background: rgba(198,241,53,0.2); }

/* =============================================================================
   HERO CAROUSEL
   ============================================================================= */

.cv-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 32px;
}
.cv-carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.cv-carousel__slide { min-width: 100%; }
.cv-carousel__slide-img {
  width: 100%;
  height: clamp(180px, 26vw, 400px);
  object-fit: cover;
  display: block;
}
.cv-carousel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, transparent 70%);
  display: flex;
  align-items: flex-end;
  padding: clamp(16px, 4vw, 44px);
  pointer-events: none;
}
.cv-carousel__content { pointer-events: all; }
.cv-carousel__content h2 {
  font-size: clamp(18px, 3.5vw, 38px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
  line-height: 1.1;
}
.cv-carousel__content p {
  color: rgba(255,255,255,0.75);
  font-size: clamp(12px, 1.5vw, 16px);
  margin: 0 0 14px;
}
.cv-carousel__btn {
  display: inline-block;
  padding: 8px 20px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: var(--f-sans);
  transition: opacity 0.15s;
  text-decoration: none;
}
.cv-carousel__btn:hover { opacity: 0.9; color: #fff; }
.cv-carousel__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}
.cv-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.cv-carousel__dot.active { background: #fff; width: 24px; }

/* Featured hero (single product) */
.cv-hero {
  display: grid;
  grid-template-columns: clamp(220px, 32%, 400px) 1fr;
  border: 1px solid var(--cv-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
  background: var(--cv-card-bg);
  min-height: 260px;
  text-decoration: none;
  color: #fff;
  transition: border-color 0.2s;
}
.cv-hero:hover { border-color: var(--cv-border-hi); }
.cv-hero__art {
  position: relative;
  overflow: hidden;
  background: var(--cv-card-bg2);
}
.cv-hero__art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.cv-hero:hover .cv-hero__art img { transform: scale(1.03); }
.cv-hero__disc {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cv-disc);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
}
.cv-hero__body {
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.cv-hero__body::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(198,241,53,0.1), transparent 65%);
  pointer-events: none;
}
.cv-hero__eyebrow {
  font-size: 10px;
  font-family: var(--f-mono);
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}
.cv-hero__title {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  margin: 0;
}
.cv-hero__price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cv-hero__price {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--accent);
  font-family: var(--f-mono);
}
.cv-hero__list {
  font-size: 15px;
  color: rgba(255,255,255,0.4);
  text-decoration: line-through;
  font-family: var(--f-mono);
}
.cv-hero__plat {
  font-size: 12px;
  color: var(--cv-text-60);
}
.cv-hero__cta {
  display: inline-block;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--accent-fg, #0F0E0C);
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  align-self: flex-start;
  margin-top: 4px;
  transition: opacity 0.15s;
}
.cv-hero__cta:hover { opacity: 0.9; color: var(--accent-fg, #0F0E0C); }
@media (max-width: 640px) {
  .cv-hero { grid-template-columns: 1fr; }
  .cv-hero__art { aspect-ratio: 16/9; }
}

/* =============================================================================
   GIFT CARD TILES
   ============================================================================= */

.cv-gcards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 1024px) { .cv-gcards-grid { grid-template-columns: repeat(4, 1fr); } }

.cv-gcard-tile {
  border-radius: 12px;
  overflow: hidden;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 110px;
  text-decoration: none;
  color: #fff;
  transition: filter 0.15s;
  position: relative;
}
.cv-gcard-tile:hover { filter: brightness(1.1); color: #fff; }
.cv-gcard-tile__icon { opacity: 0.9; }
.cv-gcard-tile__name { font-size: 14px; font-weight: 700; color: #fff; }

/* =============================================================================
   RAILS (Flash deals, New releases, Top rated)
   ============================================================================= */

.cv-rail { margin-bottom: 36px; }
.cv-rail__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 8px;
}
.cv-rail__title {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 2px;
}
.cv-rail__sub { font-size: 12px; color: var(--cv-text-50); margin: 0; }
.cv-rail__timer {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--cv-text-60);
  flex-shrink: 0;
}
.cv-rail__scroller-wrap {
  position: relative;
}
.cv-rail__scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.cv-rail__scroller::-webkit-scrollbar { display: none; }
.cv-rail__scroller .cv-card {
  width: 200px;
  flex-shrink: 0;
  scroll-snap-align: start;
}
@media (min-width: 640px) { .cv-rail__scroller .cv-card { width: 220px; } }
.cv-rail__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cv-card-bg);
  border: 1px solid var(--cv-border);
  color: #fff;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.15s, border-color 0.15s;
  line-height: 1;
}
.cv-rail__nav:hover { background: var(--cv-card-bg2); border-color: var(--cv-border-hi); }
.cv-rail__nav--prev { left: -14px; }
.cv-rail__nav--next { right: -14px; }
@media (max-width: 640px) {
  .cv-rail__nav { display: none; }
}

/* Countdown pills */
.countdown-pills { display: inline-flex; gap: 4px; }
.cd-pill {
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 4px;
  padding: 2px 6px;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.cd-num { font-family: var(--f-mono); font-size: 12px; font-weight: 600; color: var(--accent); }
.cd-unit { font-size: 9px; color: var(--cv-text-50); }

/* =============================================================================
   STORE RESULTS HEADER
   ============================================================================= */

.cv-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}
.cv-results-head h2 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.cv-sort-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.cv-sort-chip {
  padding: 5px 11px;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 999px;
  font-size: 12px;
  color: var(--cv-text-60);
  cursor: pointer;
  font-family: var(--f-sans);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cv-sort-chip.active, .cv-sort-chip:hover {
  background: rgba(198,241,53,0.12);
  border-color: rgba(198,241,53,0.3);
  color: var(--accent);
}

/* Empty state */
.cv-empty {
  padding: 64px 24px;
  text-align: center;
  color: var(--cv-text-60);
}
.cv-empty svg { color: var(--cv-text-50); margin: 0 auto 16px; display: block; }
.cv-empty h3 { font-size: 18px; font-weight: 600; color: #fff; margin: 0 0 6px; }
.cv-empty p { margin: 0 0 20px; font-size: 14px; }

/* =============================================================================
   PAGINATION
   ============================================================================= */

.store-browse-pagination { margin-top: 36px; }
.store-browse-pagination .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}
.store-browse-pagination .page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 8px;
  color: var(--cv-text-70);
  font-size: 13px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.store-browse-pagination .page-item .page-link:hover {
  background: var(--cv-surface-hi);
  color: #fff;
}
.store-browse-pagination .page-item.active .page-link {
  background: rgba(198,241,53,0.18);
  border-color: rgba(198,241,53,0.35);
  color: var(--accent);
  font-weight: 600;
}
.store-browse-pagination .page-item.disabled .page-link {
  opacity: 0.4;
  cursor: not-allowed;
}

/* Search suggest */
.store-search-suggest {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #12121a;
  border: 1px solid var(--cv-border);
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.6);
  z-index: 40;
  overflow: hidden;
  max-height: 360px;
  overflow-y: auto;
}
.store-suggest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  color: #fff;
  transition: background 0.12s;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.store-suggest-item:last-child { border-bottom: none; }
.store-suggest-item:hover { background: var(--cv-surface); }
.store-suggest-thumb {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cv-card-bg2);
}
.store-suggest-thumb img { width: 100%; height: 100%; object-fit: cover; }
.store-suggest-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--cv-text-50);
  font-family: var(--f-mono);
}
.store-suggest-name { font-size: 13px; font-weight: 500; display: block; }
.store-suggest-sub { font-size: 11px; color: var(--cv-text-50); font-family: var(--f-mono); display: block; }
.store-suggest-price { font-size: 13px; font-weight: 700; color: var(--accent); font-family: var(--f-mono); margin-left: auto; }
.store-suggest-meta { flex: 1; min-width: 0; }

/* =============================================================================
   ALERTS
   ============================================================================= */

.handoff-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  border: 1px solid;
}
.handoff-alert--success {
  background: rgba(74,222,128,0.1);
  border-color: rgba(74,222,128,0.3);
  color: #4ade80;
}
.handoff-alert--error {
  background: rgba(239,68,68,0.1);
  border-color: rgba(239,68,68,0.3);
  color: #f87171;
}

/* =============================================================================
   TRUST STRIP
   ============================================================================= */

.store-trust-strip {
  border-top: 1px solid var(--cv-border);
  padding: 36px 0;
  margin-top: 24px;
}
.store-trust-strip__inner {
  max-width: var(--maxw, 1400px);
  margin: 0 auto;
  padding: 0 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (min-width: 768px) { .store-trust-strip__inner { grid-template-columns: repeat(4, 1fr); } }
.store-trust-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.store-trust-strip__item svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.store-trust-strip__item strong { display: block; font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.store-trust-strip__item span { font-size: 12px; color: var(--cv-text-50); line-height: 1.5; }

/* =============================================================================
   PDP
   ============================================================================= */

.cv-pdp-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 12px 48px;
}
.cv-pdp-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cv-text-60);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 20px;
  transition: color 0.15s;
  text-decoration: none;
}
.cv-pdp-back:hover { color: #fff; }
.cv-pdp-back:hover svg { transform: translateX(-2px); }
.cv-pdp-back svg { transition: transform 0.15s; }

.cv-pdp-crumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--cv-text-50);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.cv-pdp-crumb a { color: var(--cv-text-60); text-decoration: none; transition: color 0.12s; }
.cv-pdp-crumb a:hover { color: #fff; }
.cv-pdp-crumb .sep { color: var(--cv-text-50); }

.cv-pdp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}
@media (min-width: 1024px) {
  .cv-pdp-grid {
    grid-template-columns: 8fr 4fr;
    gap: 36px;
  }
}

/* Gallery */
.cv-pdp-gallery {}
.cv-pdp-main {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
  background: var(--cv-card-bg);
  margin-bottom: 10px;
  max-width: 760px;
}
.cv-pdp-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cv-pdp-main .discount-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cv-disc);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--f-mono);
}
.cv-pdp-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 760px;
}
.cv-pdp-thumb {
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background: var(--cv-card-bg);
  opacity: 0.55;
  transition: opacity 0.15s, border-color 0.15s;
  padding: 0;
  display: block;
}
.cv-pdp-thumb.active { border-color: var(--accent); opacity: 1; }
.cv-pdp-thumb:hover { opacity: 1; }
.cv-pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-pdp-thumb--trailer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(0,0,0,0.5);
}

.cv-pdp-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 16px;
  max-width: 760px;
}
@media (min-width: 640px) { .cv-pdp-meta-grid { grid-template-columns: repeat(4, 1fr); } }
.cv-meta-item {
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 8px;
  padding: 11px 14px;
}
.cv-meta-item .lbl {
  font-size: 10px;
  color: var(--cv-text-50);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.cv-meta-item .val {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Buy card */
.cv-buycard {
  background: linear-gradient(135deg, var(--cv-card-bg), var(--cv-card-bg2));
  border: 1px solid var(--cv-border);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
@media (min-width: 1024px) { .cv-buycard { position: sticky; top: 84px; } }

.cv-buycard__title {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.2;
}
.cv-buycard__pub {
  font-size: 13px;
  color: var(--cv-text-60);
  margin: 0 0 14px;
}
.cv-buycard__badges {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.cv-badge {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.cv-badge--type { background: rgba(198,241,53,0.15); border: 1px solid rgba(198,241,53,0.3); color: var(--accent); }
.cv-badge--stock { background: rgba(74,222,128,0.15); border: 1px solid rgba(74,222,128,0.3); color: #4ade80; }
.cv-badge--oos { background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.3); color: #f87171; }
.cv-badge--preorder { background: rgba(198,241,53,0.15); border: 1px solid rgba(198,241,53,0.3); color: var(--accent); }

.cv-buycard__price { margin-bottom: 18px; }
.cv-buycard__price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.cv-buycard__old {
  font-size: 18px;
  color: rgba(255,255,255,0.4);
  text-decoration: line-through;
  font-family: var(--f-mono);
}
.cv-buycard__current {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--accent);
  font-family: var(--f-mono);
  line-height: 1;
}
.cv-buycard__save {
  font-size: 13px;
  color: var(--cv-green);
  font-weight: 500;
  margin-top: 4px;
}
.cv-buycard__facts {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid var(--cv-border);
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
}
.cv-buycard__fact {
  display: grid;
  grid-template-columns: minmax(110px, 38%) 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13px;
}
.cv-buycard__fact dt {
  margin: 0;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.cv-buycard__fact dd {
  margin: 0;
  color: rgba(255,255,255,0.92);
  line-height: 1.4;
}
.cv-buycard__fact-muted {
  color: rgba(255,255,255,0.55);
  text-decoration: line-through;
}

/* Payment method selector */
.cv-pay-hint {
  font-size: 13px;
  color: var(--cv-text-60);
  margin: 10px 0 12px;
  min-height: 18px;
  line-height: 1.4;
}
.cv-pay-grid {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}
.cv-pay-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--cv-text-70);
  text-align: left;
  transition: border-color 0.15s, background 0.15s;
  font-family: var(--f-sans);
  min-height: 50px;
}
.cv-pay-card.active {
  border-color: var(--accent);
  background: rgba(198,241,53,0.07);
  color: #fff;
}
.cv-pay-card__icon { flex-shrink: 0; opacity: 0.7; }
.cv-pay-card.active .cv-pay-card__icon { opacity: 1; color: var(--accent); }
.cv-pay-card__name { font-size: 13px; font-weight: 600; display: block; line-height: 1; }
.cv-pay-card__desc { font-size: 11px; color: var(--cv-text-50); font-family: var(--f-mono); display: block; margin-top: 2px; }

/* Edition picker */
.cv-ed-picker { margin-bottom: 16px; }
.cv-ed-label {
  font-size: 10px;
  font-family: var(--f-mono);
  letter-spacing: 0.08em;
  color: var(--cv-text-50);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cv-ed-list { display: flex; flex-direction: column; gap: 6px; }
.cv-ed-card {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--cv-text-70);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  font-size: 13px;
}
.cv-ed-card:hover { border-color: var(--cv-border-hi); color: #fff; }
.cv-ed-card.active { border-color: var(--accent); background: rgba(198,241,53,0.07); color: #fff; }
.cv-ed-card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cv-ed-name { font-weight: 600; }
.cv-ed-price { font-family: var(--f-mono); font-weight: 600; color: var(--accent); }
.cv-ed-desc { font-size: 11px; color: var(--cv-text-50); }

/* CTA buttons */
.cv-buycard__cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  background: var(--cv-btn);
  color: var(--cv-btn-fg);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: filter 0.15s;
  box-shadow: 0 6px 20px rgba(198,241,53,0.25);
  margin-bottom: 8px;
  text-decoration: none;
  font-family: var(--f-sans);
}
.cv-buycard__cta:hover { filter: brightness(1.1); color: var(--cv-btn-fg); }
.cv-buycard__cta--ghost {
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  box-shadow: none;
  font-weight: 600;
  font-size: 14px;
}
.cv-buycard__cta--ghost:hover { background: var(--cv-surface-hi); filter: none; }

.cv-buycard__secondary {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.cv-buycard__sec-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 8px;
  color: var(--cv-text-80);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  font-family: var(--f-sans);
  text-decoration: none;
}
.cv-buycard__sec-btn:hover { background: var(--cv-surface-hi); color: #fff; }
.cv-buycard__sec-btn.wished { background: rgba(244,63,94,0.15); border-color: rgba(244,63,94,0.35); color: #fb7185; }

.cv-buycard__divider { border: none; border-top: 1px solid var(--cv-border); margin: 16px 0; }
.cv-buycard__checks { display: flex; flex-direction: column; gap: 10px; }
.cv-buycard__check { display: flex; align-items: flex-start; gap: 10px; }
.cv-buycard__check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(74,222,128,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.cv-buycard__check-icon svg { color: #4ade80; }
.cv-buycard__check-text strong { display: block; font-size: 13px; font-weight: 600; color: #fff; line-height: 1.2; }
.cv-buycard__check-text span { font-size: 11px; color: var(--cv-text-50); }

/* Region/DLC/notice blocks */
.cv-notice {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.cv-notice--warn { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); color: #fca5a5; }
.cv-notice--info { background: rgba(198,241,53,0.07); border: 1px solid rgba(198,241,53,0.2); color: var(--cv-text-80); }
.cv-notice--dlc  { background: rgba(251,191,36,0.08); border: 1px solid rgba(251,191,36,0.25); color: #fde68a; }
.cv-notice--region { background: rgba(255,255,255,0.04); border: 1px solid var(--cv-border); color: var(--cv-text-70); }
.cv-notice a { color: var(--accent); text-decoration: underline; }
.cv-notice-icon { flex-shrink: 0; margin-top: 1px; }
.cl-toggle {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 12px;
  cursor: pointer;
  font-family: var(--f-sans);
  padding: 0;
  margin-left: 4px;
}
.cl-toggle:hover { text-decoration: underline; }

/* =============================================================================
   PDP TABS
   ============================================================================= */

.cv-tabs { margin-top: 40px; }
.cv-tabs__nav {
  border-bottom: 1px solid var(--cv-border);
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cv-tabs__nav::-webkit-scrollbar { display: none; }
.cv-tabs__btn {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cv-text-60);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: color 0.15s, border-color 0.15s;
  white-space: nowrap;
  font-family: var(--f-sans);
  margin-bottom: -1px;
}
.cv-tabs__btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.cv-tabs__btn:hover:not(.active) { color: var(--cv-text-80); }
.cv-tabs__panel {
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 28px 28px;
}
@media (max-width: 640px) { .cv-tabs__panel { padding: 20px 18px; } }
.cv-tabs__panel[hidden] { display: none; }
.cv-tabs__panel h2 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 16px;
}

/* About / description content */
.cv-about-body { color: var(--cv-text-70); font-size: 14px; line-height: 1.8; }
.cv-about-body p { margin: 0 0 12px; }
.cv-about-body h3,
.cv-about-body h4 { color: #fff; margin: 18px 0 8px; }
.cv-features { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.cv-feature { display: flex; align-items: flex-start; gap: 10px; color: var(--cv-text-70); font-size: 14px; }
.cv-feature svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* System requirements */
.cv-sysreq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 1024px) { .cv-sysreq-grid { grid-template-columns: 1fr 1fr; } }
.cv-sysreq-box {
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 8px;
  padding: 18px 20px;
}
.cv-sysreq-box--rec { background: rgba(198,241,53,0.06); border-color: rgba(198,241,53,0.25); }
.cv-sysreq-box h3 { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 14px; }
.cv-sysreq-box--rec h3 { color: var(--accent); }
.cv-sysreq-row { margin-bottom: 10px; }
.cv-sysreq-row .lbl { font-size: 10px; color: var(--cv-text-50); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.cv-sysreq-row .val { font-size: 13px; color: var(--cv-text-80); }

/* Activation steps */
.cv-steps { display: flex; flex-direction: column; gap: 16px; }
.cv-step { display: flex; gap: 14px; }
.cv-step__num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(198,241,53,0.15);
  border: 1px solid rgba(198,241,53,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--f-mono);
}
.cv-step__text { color: var(--cv-text-70); line-height: 1.6; padding-top: 5px; font-size: 14px; }
.cv-activation-note {
  margin-top: 20px;
  padding: 14px 16px;
  background: rgba(251,191,36,0.08);
  border: 1px solid rgba(251,191,36,0.25);
  border-radius: 8px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.cv-activation-note svg { color: var(--cv-warn-col); flex-shrink: 0; }
.cv-activation-note strong { display: block; color: var(--cv-warn-col); font-size: 13px; margin-bottom: 3px; }
.cv-activation-note p { color: var(--cv-text-70); font-size: 12px; margin: 0; }

/* =============================================================================
   RELATED PRODUCTS
   ============================================================================= */

.cv-related { margin-top: 48px; }
.cv-related__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 10px;
}
.cv-related__head h2 { font-size: clamp(18px,2.5vw,22px); font-weight: 700; color: #fff; margin: 0; }
.cv-related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) { .cv-related-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cv-related-grid { grid-template-columns: repeat(4, 1fr); } }

/* =============================================================================
   MOBILE STICKY BUY BAR (PDP)
   ============================================================================= */

.cv-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18,18,26,0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--cv-border);
  padding: 10px 16px;
  z-index: 30;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (max-width: 1023px) { .cv-mobile-bar { display: flex; } }
.cv-mobile-bar__price {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--f-mono);
}
.cv-mobile-bar__save {
  font-size: 12px;
  color: var(--cv-green);
  font-family: var(--f-mono);
}
.cv-mobile-bar__actions { display: flex; gap: 8px; align-items: center; }

/* =============================================================================
   COMPARE STRIP (existing partial, keep styles)
   ============================================================================= */

.compare-strip {
  display: grid;
  grid-template-columns: repeat(3, 160px) 1fr;
  gap: 0;
  align-items: stretch;
  border: 1px solid var(--cv-border);
  border-radius: 12px;
  background: var(--cv-card-bg);
  overflow: hidden;
  margin: 36px 0 24px;
}
.compare-cell {
  padding: 16px 18px;
  border-right: 1px solid var(--cv-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
}
.compare-cell:last-child { border-right: none; }
.compare-cell .cs-lbl { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cv-text-50); }
.compare-cell .cs-val { font-family: var(--f-mono); font-weight: 600; font-size: 20px; letter-spacing: -0.02em; color: #fff; }
.compare-cell .cs-val.accent { color: var(--accent); }
.compare-cell.dim .cs-val { color: var(--cv-text-50); text-decoration: line-through; }
.compare-cell .cs-sub { font-family: var(--f-mono); font-size: 10px; color: var(--cv-text-50); margin-top: 2px; }
.compare-note { padding: 16px 22px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.compare-note p { margin: 0; color: var(--cv-text-70); font-size: 13px; max-width: 56ch; line-height: 1.5; }
@media (max-width: 900px) { .compare-strip { grid-template-columns: 1fr 1fr 1fr; } .compare-note { grid-column: 1 / -1; border-top: 1px solid var(--cv-border); } }
@media (max-width: 700px) { .compare-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .compare-strip { grid-template-columns: 1fr; } .compare-cell { border-right: none; border-bottom: 1px solid var(--cv-border); } }

/* =============================================================================
   CART
   ============================================================================= */

.cv-cart-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 16px 48px;
}
.cv-cart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}
.cv-cart-head h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; color: #fff; margin: 0 0 2px; }
.cv-cart-head p { font-size: 14px; color: var(--cv-text-50); margin: 0; }

.cv-cart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 1024px) { .cv-cart-grid { grid-template-columns: 8fr 4fr; } }

.cv-cart-items { display: flex; flex-direction: column; gap: 10px; }
.cv-cart-item {
  background: var(--cv-card-bg);
  border: 1px solid var(--cv-border);
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.15s;
}
.cv-cart-item:hover { border-color: var(--cv-border-hi); }
.cv-cart-item__row { display: flex; gap: 14px; }
.cv-cart-item__thumb {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cv-card-bg2);
}
@media (min-width: 480px) { .cv-cart-item__thumb { width: 96px; height: 96px; } }
.cv-cart-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cv-cart-item__info { flex: 1; min-width: 0; }
.cv-cart-item__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.cv-cart-item__title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
  transition: color 0.15s;
}
.cv-cart-item__title:hover { color: var(--accent); }
.cv-cart-item__unit {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--f-mono);
  white-space: nowrap;
}
.cv-cart-item__unit-sub { font-size: 10px; color: var(--cv-text-50); font-family: var(--f-mono); display: block; text-align: right; }
.cv-cart-item__chips { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.cv-cart-item__chip {
  padding: 2px 7px;
  background: var(--cv-surface);
  border-radius: 4px;
  font-size: 10px;
  color: var(--cv-text-60);
}
.cv-cart-item__footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}
.cv-qty { display: flex; align-items: center; gap: 6px; }
.cv-qty__btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  transition: background 0.12s;
  font-size: 16px;
  line-height: 1;
  font-family: var(--f-sans);
}
.cv-qty__btn:hover { background: var(--cv-surface-hi); }
.cv-qty__num {
  width: 44px;
  height: 30px;
  text-align: center;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-family: var(--f-sans);
  outline: none;
}
.cv-cart-item__total { font-size: 15px; font-weight: 700; color: #fff; font-family: var(--f-mono); }
.cv-cart-item__remove {
  padding: 6px;
  color: #f87171;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  transition: background 0.12s;
}
.cv-cart-item__remove:hover { background: rgba(239,68,68,0.1); }

/* Empty cart */
.cv-cart-empty {
  padding: 80px 24px;
  text-align: center;
  color: var(--cv-text-60);
}
.cv-cart-empty svg { color: var(--cv-text-50); margin: 0 auto 16px; display: block; }
.cv-cart-empty h2 { font-size: 22px; font-weight: 600; color: #fff; margin: 0 0 6px; }
.cv-cart-empty p { font-size: 14px; margin: 0 0 24px; }

/* Order summary card */
.cv-order-summary {
  background: linear-gradient(135deg, var(--cv-card-bg), var(--cv-card-bg2));
  border: 1px solid var(--cv-border);
  border-radius: 12px;
  padding: 20px;
}
@media (min-width: 1024px) { .cv-order-summary { position: sticky; top: 84px; } }
.cv-order-summary h2 { font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 16px; }
.cv-summary-coupon { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--cv-border); }
.cv-summary-coupon label { display: block; font-size: 13px; color: var(--cv-text-70); margin-bottom: 8px; font-weight: 500; }
.cv-summary-coupon .coupon-row { display: flex; gap: 6px; }
.cv-summary-coupon input {
  flex: 1;
  padding: 9px 12px;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-family: var(--f-sans);
  outline: none;
}
.cv-summary-coupon input:focus { border-color: rgba(198,241,53,0.45); }
.cv-summary-coupon .coupon-btn {
  padding: 9px 12px;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 8px;
  color: var(--cv-text-80);
  cursor: pointer;
  font-family: var(--f-sans);
  font-size: 13px;
  transition: background 0.12s;
}
.cv-summary-coupon .coupon-btn:hover { background: var(--cv-surface-hi); color: #fff; }
.cv-summary-rows { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.cv-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--cv-text-60);
}
.cv-summary-row .v { font-weight: 500; color: #fff; font-family: var(--f-mono); }
.cv-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--cv-border);
  margin-bottom: 16px;
}
.cv-summary-total span { font-size: 15px; font-weight: 600; color: #fff; }
.cv-summary-total .v { font-size: 26px; font-weight: 700; color: var(--accent); font-family: var(--f-mono); }
.cv-summary-tax { font-size: 11px; color: var(--cv-text-50); text-align: right; margin-top: -10px; margin-bottom: 16px; }
.cv-checkout-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: var(--accent, var(--cv-btn));
  color: var(--accent-fg, #0f0e0c);
  font-size: 15px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: filter 0.15s, transform 0.12s;
  box-shadow: 0 6px 20px rgba(198,241,53,0.3);
  margin-bottom: 12px;
  text-decoration: none;
  font-family: var(--f-sans);
}
.cv-checkout-btn:hover { filter: brightness(1.06); color: var(--accent-fg, #0f0e0c); transform: translateY(-1px); }
.cv-cart-checks { display: flex; flex-direction: column; gap: 5px; }
.cv-cart-check { font-size: 12px; color: var(--cv-text-50); display: flex; align-items: center; gap: 6px; }
.cv-cart-check::before { content: "✓"; color: var(--cv-green); font-weight: 700; }
.cv-balance-hint {
  font-size: 13px;
  color: var(--cv-text-60);
  padding: 10px 12px;
  background: var(--cv-surface);
  border-radius: 8px;
  margin-bottom: 14px;
  line-height: 1.4;
}
.cv-balance-hint .accent { color: var(--accent); font-weight: 600; font-family: var(--f-mono); }
.cv-savings-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.2);
  border-radius: 8px;
  font-size: 12px;
  color: var(--cv-green);
  margin-bottom: 12px;
}

/* =============================================================================
   LIST VIEW (fallback)
   ============================================================================= */

.game-list { display: flex; flex-direction: column; gap: 8px; }
/* handoff-gcard-row partial handles its own styles */

/* =============================================================================
   RESPONSIVE — Mobile overrides
   ============================================================================= */

@media (max-width: 900px) {
  .cv-filterbar__search { max-width: 100%; }
  .cv-filterbar select { display: none; }
  .cv-filterbar__drawer-btn { display: flex; }
  .cv-filterbar__right { margin-left: 0; width: 100%; justify-content: space-between; }
}
@media (max-width: 640px) {
  .cv-filterbar { gap: 8px; }
  .cv-hero__body { padding: 20px 18px; }
}

/* =============================================================================
   STORE LAYOUT — sidebar + main grid
   ============================================================================= */

.store-layout {
  display: grid;
  grid-template-columns: 262px 1fr;
  gap: 0 24px;
  align-items: start;
}
@media (max-width: 860px) {
  .store-layout { grid-template-columns: minmax(0, 1fr); }
  .product-keys-store .browse.store-layout {
    display: block;
  }
  #store-filters-panel {
    display: block;
  }
  .product-keys-store .store-main,
  .product-keys-store .browse__main {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .store-mobile-search { display: block; }
  .filters__group--search { display: none; }
  .product-keys-store .browse__bar {
    flex-wrap: wrap;
    gap: 8px;
  }
  .product-keys-store .browse__result {
    flex: 1 1 auto;
    min-width: 0;
  }
  .product-keys-store .sort {
    margin-left: 0;
    flex: 1 1 140px;
    max-width: 100%;
  }
  .product-keys-store .chip-rail {
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .store-trust-strip__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .store-trust-strip__item {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }
}
@media (min-width: 861px) {
  .store-mobile-search { display: none; }
}

.store-mobile-search {
  display: none;
  position: sticky;
  top: 64px;
  z-index: 40;
  padding: 0 0 12px;
  background: linear-gradient(180deg, var(--bg, #0F0E0C) 70%, transparent);
}
.store-mobile-search__inner {
  padding: 0;
  border-bottom: none;
  position: relative;
}
.store-mobile-search__inner svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.4);
  pointer-events: none;
  z-index: 2;
}
.store-mobile-search__inner input {
  width: 100%;
  height: 44px;
  font-size: 16px;
  padding-left: 42px;
  padding-right: 12px;
  background: var(--cv-surface, var(--bg-2));
  border: 1px solid var(--cv-border, var(--line));
  border-radius: 8px;
  color: #fff;
}
.product-keys-store {
  overflow-x: hidden;
  max-width: 100%;
}
.product-keys-store .store-main,
.product-keys-store .browse__main {
  min-width: 0;
  max-width: 100%;
}
.product-keys-store .cv-grid {
  min-width: 0;
}
.product-keys-store .cv-card {
  min-width: 0;
}

/* =============================================================================
   FILTER SIDEBAR
   ============================================================================= */

.store-sidebar {
  position: sticky;
  top: 76px;
  align-self: start;
  background: var(--cv-card-bg);
  border: 1px solid var(--cv-border);
  border-radius: 12px;
  overflow: hidden;
  max-height: calc(100vh - 96px);
  display: flex;
  flex-direction: column;
}
.store-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--cv-border);
  flex-shrink: 0;
}
.store-sidebar__title {
  font-size: 10px;
  font-family: var(--f-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}
.store-sidebar__reset {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--f-sans);
  transition: color 0.15s;
  text-decoration: none;
}
.store-sidebar__reset:hover { color: var(--accent); }
.store-sidebar__reset.hidden { opacity: 0; pointer-events: none; }
.store-sidebar__body {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.store-sidebar__search {
  padding: 12px 14px;
  border-bottom: 1px solid var(--cv-border);
  position: relative;
}
.filters__group--search {
  padding: 0 14px 12px;
}
.filters__group--search .store-sidebar__search {
  padding: 0;
  border-bottom: none;
  position: relative;
}
.store-sidebar__search svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.35);
  pointer-events: none;
  z-index: 2;
}
.store-sidebar__search input[type="search"]::-webkit-search-decoration,
.store-sidebar__search input[type="search"]::-webkit-search-results-button,
.store-sidebar__search input[type="search"]::-webkit-search-results-decoration,
.store-sidebar__search input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}
.store-search-suggest { display: none !important; }
.store-sidebar__search input {
  width: 100%;
  padding: 8px 12px 8px 40px;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 7px;
  color: #fff;
  font-size: 13px;
  line-height: 1.4;
  font-family: var(--f-sans);
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.15s;
  text-overflow: ellipsis;
  position: relative;
  z-index: 1;
}
.store-sidebar__search input:focus { border-color: rgba(198,241,53,0.4); }
.store-sidebar__search input::placeholder { color: rgba(255,255,255,0.3); }
.store-sidebar__group {
  padding: 12px 14px;
  border-bottom: 1px solid var(--cv-border);
}
.store-sidebar__group:last-child { border-bottom: none; }
.store-sidebar__group-head {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.store-sidebar__filter-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.store-sidebar__filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: var(--cv-text-70);
  background: transparent;
  border: 1px solid transparent;
  transition: background 0.12s, color 0.12s, border-color 0.12s;
  width: 100%;
  text-align: left;
  font-family: var(--f-sans);
}
.store-sidebar__filter-item:hover {
  background: var(--cv-surface);
  color: #fff;
}
.store-sidebar__filter-item.active {
  background: rgba(198,241,53,0.1);
  border-color: rgba(198,241,53,0.3);
  color: var(--accent);
}
.store-sidebar__filter-item .sid-count {
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
  margin-left: 4px;
}
.store-sidebar__filter-item.active .sid-count { color: rgba(198,241,53,0.5); }
.store-sidebar__dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 7px;
  flex-shrink: 0;
  vertical-align: middle;
}
/* Mobile sidebar toggle button */
.store-sidebar-toggle {
  display: none;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 8px;
  color: var(--cv-text-80);
  font-size: 13px;
  cursor: pointer;
  font-family: var(--f-sans);
  margin-bottom: 12px;
}
.store-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 998;
}
.store-sidebar-backdrop.open { display: block; }
@media (max-width: 860px) {
  .store-sidebar-toggle { display: inline-flex; }
  .store-sidebar,
  #store-filters-panel {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 280px;
    max-height: 100vh;
    border-radius: 0;
    border-right: 1px solid var(--cv-border);
    transform: translateX(-100%);
    transition: transform 0.28s ease;
    z-index: 999;
    border-left: none;
    border-top: none;
    border-bottom: none;
    visibility: hidden;
    pointer-events: none;
  }
  .store-sidebar.open,
  #store-filters-panel.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .product-keys-store .browse,
  .product-keys-store .browse__main,
  .product-keys-store .store-main,
  .product-keys-store #store-ajax-zone,
  .product-keys-store .grid.cv-grid {
    width: 100%;
  }
}

/* =============================================================================
   HERO CAROUSEL — swipeable multi-deal banner
   ============================================================================= */

.cv-hero-carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  touch-action: pan-y;
}
.cv-hero-carousel__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.cv-hero-carousel__track::-webkit-scrollbar { display: none; }
.cv-hero-carousel__slide {
  flex: none;
  width: 100%;
  scroll-snap-align: start;
}
.cv-hero-carousel__slide .cv-hero {
  border-radius: 0;
  margin-bottom: 0;
}
.cv-hero-carousel__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}
.cv-hero-carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  pointer-events: all;
  transition: background 0.2s, width 0.2s;
  padding: 0;
}
.cv-hero-carousel__dot.active {
  background: var(--accent);
  width: 18px;
}

/* Hero deal carousel (BUILD SPEC) */
.hero__panel { position: relative; }
.hero__slide {
  display: none;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 0;
  align-items: center;
}
.hero__slide.is-active {
  display: grid;
  animation: heroSlideIn 0.45s ease;
}
@keyframes heroSlideIn {
  from { opacity: 0.55; transform: translateX(6px); }
  to { opacity: 1; transform: translateX(0); }
}
.hero__art {
  position: relative;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  background: #0c0c0a;
  align-self: center;
}
.hero__art--portrait,
.hero__art--box {
  aspect-ratio: 8 / 7;
  max-height: 340px;
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
  margin-left: 0;
  height: auto;
}
.hero__art--wide {
  aspect-ratio: 16 / 9;
  max-height: 220px;
  width: 100%;
  justify-self: stretch;
}
.hero__art .cover-ph { z-index: 0; }
.hero__art::after { z-index: 4; pointer-events: none; }
.hero__art-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center center; z-index: 1;
  filter: blur(22px) saturate(1.08); transform: scale(1.05); opacity: 0.36;
}
.hero__art-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; object-position: center center; z-index: 2;
  padding: 12px 16px; box-sizing: border-box;
}
.hero__art--wide .hero__art-img { object-position: center center; }
.hero__art--portrait .hero__art-img,
.hero__art--box .hero__art-img { object-position: center center; }
.hero__art-img.is-broken { display: none; }
.hero__art:has(.hero__art-img.is-loaded) .cover-ph { opacity: 0; transition: opacity 0.2s ease; }
@media (max-width: 900px) {
  .hero__slide.is-active {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .hero__art--portrait,
  .hero__art--box,
  .hero__art--wide {
    order: -1;
    max-width: none;
    justify-self: stretch;
    margin-left: 0;
  }
  .hero__art--portrait,
  .hero__art--box { max-height: min(72vw, 300px); aspect-ratio: 8 / 7; }
  .hero__art--wide { max-height: 200px; aspect-ratio: 16 / 9; }
  .hero__art::after {
    background: radial-gradient(ellipse 100% 88% at 50% 44%, transparent 56%, rgba(12, 12, 10, 0.2) 100%);
  }
}
@media (max-width: 640px) {
  .product-keys-store #pk-hero-carousel .hero__art--box,
  .product-keys-store #pk-hero-carousel .hero__art--portrait {
    max-height: min(78vw, 280px);
  }
  .hero__art--portrait,
  .hero__art--box { max-height: min(78vw, 280px); }
  .hero__body { padding: 16px 18px 18px; }
}
.hero__nav {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px; z-index: 5;
}
.hero__nav-btn {
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--cv-border); background: rgba(15,14,12,0.75);
  color: #fff; font-size: 16px; line-height: 1; cursor: pointer;
}
.hero__dot {
  width: 7px; height: 7px; border-radius: 50%; border: none; padding: 0;
  background: rgba(255,255,255,0.25); cursor: pointer;
}
.hero__dot.is-active { background: var(--accent); width: 18px; border-radius: 4px; }
.product-keys-store .game-card__cta,
.cv-pdp-wrap .game-card__cta {
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.cv-buycard__cta--ghost {
  color: rgba(255,255,255,0.92) !important;
  background: var(--cv-surface) !important;
  border: 1px solid var(--cv-border) !important;
}
.cv-buycard__cta--ghost:hover { color: #fff !important; background: var(--cv-surface-hi) !important; }
.cv-pay-card__icon--card svg { display: block; }
.cv-pay-card__icon--btc svg { display: block; }
.cv-pdp-wrap .cv-tabs { margin-top: 24px; display: block; }
.cv-pdp-wrap .cv-tabs__panel:not([hidden]) { display: block; }
.cv-pdp-wrap .reviews-handoff,
.cv-pdp-wrap .cv-reviews { margin-top: 5px; padding-top: 5px; }
.cart-page .payopt__icon { flex-shrink: 0; opacity: 0.85; display: inline-flex; align-items: center; }

/* Store top bar — title left, gift dock + balance right */
.store-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 16px;
  flex-wrap: wrap;
  min-height: 88px;
}
.store-topbar__lead {
  flex: 1 1 220px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.store-topbar__kicker {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.store-topbar__count { color: var(--accent); }
.store-topbar__title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
}
.store-topbar__title em {
  font-style: normal;
  color: var(--accent);
}
.store-topbar__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
}
.store-balance-pill {
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 10px;
  padding: 8px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
}
.store-balance-pill__label {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.store-balance-pill__amount {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

/* Compact gift-card dock — header shortcut, no vertical page bloat */
.gift-dock {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.gift-dock__label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.gift-dock__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: min(100%, 380px);
}
.gift-dock__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff;
  background: rgba(255,255,255,0.06);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: border-color 0.12s, transform 0.1s, background 0.12s, box-shadow 0.12s;
  white-space: nowrap;
}
.gift-dock__chip:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
}
.gift-dock__chip--steam {
  background: linear-gradient(135deg, rgba(27,40,56,0.95) 0%, rgba(42,71,94,0.85) 100%);
  border-color: rgba(102,192,244,0.35);
}
.gift-dock__chip--steam:hover { border-color: rgba(102,192,244,0.6); }
.gift-dock__chip--psn {
  background: linear-gradient(135deg, rgba(0,48,135,0.9) 0%, rgba(0,112,204,0.75) 100%);
  border-color: rgba(0,112,204,0.4);
}
.gift-dock__chip--xbox {
  background: linear-gradient(135deg, rgba(16,124,16,0.85) 0%, rgba(10,90,10,0.75) 100%);
  border-color: rgba(16,124,16,0.5);
}
.gift-dock__chip--nin {
  background: linear-gradient(135deg, rgba(230,0,18,0.8) 0%, rgba(180,0,14,0.7) 100%);
  border-color: rgba(255,90,95,0.45);
}
.gift-dock__chip--amazon {
  background: linear-gradient(135deg, rgba(19,25,33,0.95) 0%, rgba(35,47,62,0.85) 100%);
  border-color: rgba(255,153,0,0.45);
}
.gift-dock__chip--all {
  background: rgba(198,241,53,0.14);
  border-color: rgba(198,241,53,0.45);
  color: var(--accent);
  font-weight: 800;
}
.gift-dock__chip--all:hover {
  background: rgba(198,241,53,0.22);
  border-color: var(--accent);
  color: var(--accent);
}
.gift-dock__logo {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  max-width: 18px;
  border-radius: 4px;
  display: block;
  object-fit: contain;
  filter: none;
  opacity: 0.95;
}
.gift-dock__chip-text { line-height: 1; }
.cv-active-filters .active-filter {
  cursor: pointer;
  padding: 6px 12px;
  min-height: 32px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1.2;
}
.crypto-select {
  width: 100%;
  padding: 10px 36px 10px 12px;
  background: var(--bg-2, var(--cv-surface));
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--cv-border));
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-family: var(--f-sans);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23c6f135' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.crypto-currency-row {
  padding: 12px 14px;
  background: rgba(198, 241, 53, 0.06);
  border: 1px solid rgba(198, 241, 53, 0.22);
  border-radius: 10px;
}
.crypto-select-hint {
  margin: 8px 0 0;
  font-size: 11px;
  color: var(--fg-mute, var(--cv-text-60));
  line-height: 1.4;
}
.pk-cart-toast {
  position: fixed;
  top: 72px;
  right: 16px;
  z-index: 10050;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(18, 18, 26, 0.96);
  border: 1px solid rgba(198, 241, 53, 0.35);
  color: #f6f3ec;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 12px 32px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  max-width: min(92vw, 320px);
}
.pk-cart-toast.is-visible { opacity: 1; transform: translateY(0); }
.pk-cart-toast--error { border-color: rgba(248, 113, 113, 0.45); }
.pk-cart-toast__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  background: rgba(198, 241, 53, 0.15);
  color: var(--accent);
  flex-shrink: 0;
}
.pk-cart-toast--error .pk-cart-toast__icon {
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
}
@media (max-width: 640px) {
  .store-topbar {
    align-items: flex-start;
    min-height: 0;
    padding: 14px 0 12px;
    gap: 12px;
  }
  .store-topbar__title {
    font-size: clamp(20px, 6vw, 26px);
  }
  .store-topbar__kicker {
    font-size: 9px;
    line-height: 1.35;
  }
  .store-topbar__aside {
    width: auto;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
  }
  .store-topbar__aside .gift-dock {
    display: none;
  }
  .store-balance-pill {
    display: none;
  }
  .gift-dock {
    align-items: flex-start;
  }
  .gift-dock__chips {
    justify-content: flex-start;
    max-width: 100%;
  }
  .product-keys-store .chip-rail {
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding: 12px 0 8px;
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .cv-hero-carousel {
    margin-bottom: 12px;
    border-radius: 10px;
  }
  .product-keys-store .browse__bar {
    position: sticky;
    top: 56px;
    z-index: 30;
    background: linear-gradient(180deg, var(--bg, #0F0E0C) 88%, transparent);
    padding: 8px 0;
    margin-bottom: 8px;
  }
  .product-keys-store .browse__result {
    font-size: 11px;
    min-width: 0;
  }
  .product-keys-store .sort {
    font-size: 12px;
    max-width: 46vw;
  }
  .cv-card__title {
    font-size: 12px;
    line-height: 1.25;
  }
  .cv-rail {
    margin-bottom: 24px;
  }
  .cv-rail__scroller .cv-card {
    width: 160px;
  }
  .store-mobile-search {
    top: 56px;
  }
}
@media (max-width: 380px) {
  .product-keys-store .cv-grid {
    gap: 8px;
  }
}

/* Store department tabs (Games / Gift cards) — HRK-style */
.store-dept-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 14px;
  flex-wrap: wrap;
}
.store-dept-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--cv-border);
  background: var(--cv-surface);
  color: var(--cv-text-70);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.store-dept-tab:hover { color: #fff; border-color: var(--cv-border-hi); }
.store-dept-tab.is-active {
  background: rgba(198,241,53,0.1);
  border-color: var(--accent);
  color: #fff;
}
.store-dept-tab__count {
  font-size: 10px;
  opacity: 0.65;
  font-weight: 500;
}

/* Gift card brand chips — Eneba-style horizontal category rail */
.gift-brand-rail {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 0 0 16px;
  padding: 4px 2px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gift-brand-rail::-webkit-scrollbar { display: none; }
.gift-brand-chip {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--cv-border);
  background: var(--cv-surface);
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.12s, background 0.12s, color 0.12s;
}
.gift-brand-chip:hover {
  color: #fff;
  border-color: var(--cv-border-hi);
}
.gift-brand-chip.is-active {
  background: rgba(198,241,53,0.12);
  border-color: var(--accent);
  color: var(--accent);
}

/* Eneba homepage category strip + gift breadcrumbs */
.gift-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
}
.gift-crumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}
.gift-crumb a:hover { color: var(--accent); }
.gift-crumb__sep { opacity: 0.35; }
.gift-crumb [aria-current="page"] { color: rgba(255,255,255,0.88); }

.gift-cat-rail {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0 0 14px;
  padding: 4px 2px 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.gift-cat-rail::-webkit-scrollbar { display: none; }
.gift-cat-rail__link {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--cv-border);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.12s, background 0.12s, color 0.12s;
}
.gift-cat-rail__link:hover {
  color: #fff;
  border-color: var(--cv-border-hi);
}
.gift-cat-rail__link.is-active {
  background: rgba(198,241,53,0.12);
  border-color: var(--accent);
  color: var(--accent);
}

/* Loaded.com region lock */
.gift-region-lock {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(59,130,246,0.25);
  background: rgba(59,130,246,0.08);
}
.gift-region-lock__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  margin: 0;
}
.gift-region-lock__toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.gift-region-lock__box {
  width: 36px;
  height: 20px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  position: relative;
  flex: 0 0 auto;
  transition: background 0.15s;
}
.gift-region-lock__box::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.15s;
}
.gift-region-lock__toggle input:checked + .gift-region-lock__box {
  background: rgba(59,130,246,0.65);
}
.gift-region-lock__toggle input:checked + .gift-region-lock__box::after {
  transform: translateX(16px);
}
.gift-region-lock__text {
  font-size: 12px;
  color: rgba(255,255,255,0.88);
  line-height: 1.35;
}
.gift-region-lock__code {
  color: #93c5fd;
  font-weight: 700;
}

/* Eneba filter pills */
.gift-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  align-items: center;
}
.gift-filter-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--cv-border);
  background: var(--cv-surface);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.12s, background 0.12s;
}
.gift-filter-pill:hover {
  border-color: var(--cv-border-hi);
  color: #fff;
}
.gift-filter-pill--primary {
  background: rgba(255,255,255,0.06);
}
.gift-filter-pill.is-active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(198,241,53,0.08);
}
.gift-filter-pill--clear {
  background: transparent;
  border-color: transparent;
  color: rgba(255,255,255,0.5);
  padding-left: 4px;
}
.gift-filter-pill--clear:hover { color: #fff; }

.gift-region-bar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.gift-region-more {
  flex: 0 0 auto;
  max-width: 160px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--cv-border);
  background: var(--cv-surface);
  color: rgba(255,255,255,0.82);
  font-size: 11px;
}
.gift-region-search {
  width: 100%;
  margin: 0 0 8px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--cv-border);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-size: 12px;
}

/* Gift card region / country quick-pick */
.gift-region-bar {
  margin: 0 0 14px;
}
.gift-region-bar__label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}
.gift-region-rail {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 2px 6px;
  -webkit-overflow-scrolling: touch;
}
.gift-region-rail::-webkit-scrollbar { display: none; }
.gift-region-chip {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid var(--cv-border);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.12s, background 0.12s, color 0.12s;
}
.gift-region-chip:hover {
  color: #fff;
  border-color: var(--cv-border-hi);
  background: rgba(255,255,255,0.06);
}
.gift-region-chip.is-active {
  background: rgba(198,241,53,0.1);
  border-color: var(--accent);
  color: var(--accent);
}
.gift-region-chip--us.is-active {
  background: rgba(59,130,246,0.15);
  border-color: rgba(96,165,250,0.55);
  color: #93c5fd;
}
.gift-region-bar__hint {
  margin: 4px 0 0;
  font-size: 10px;
  color: rgba(255,255,255,0.38);
  line-height: 1.4;
}

/* HRK-style gift card mega navigation */
.gift-mega-nav {
  margin: 0 0 18px;
}
.gift-mega-nav__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 4px;
  padding: 6px;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 10px;
}
.gift-mega-nav__item {
  position: relative;
}
.gift-mega-nav__panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  max-width: 320px;
  background: #12121a;
  border: 1px solid var(--cv-border);
  border-radius: 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
  padding: 10px 0 6px;
  z-index: 50;
  display: none;
}
.gift-mega-nav__item:hover .gift-mega-nav__panel,
.gift-mega-nav__item:focus-within .gift-mega-nav__panel {
  display: block;
}
.gift-mega-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s;
}
.gift-mega-nav__trigger:hover,
.gift-mega-nav__trigger.is-active {
  background: rgba(198,241,53,0.12);
  color: var(--accent);
}
.gift-mega-nav__trigger svg {
  opacity: 0.55;
  transition: transform 0.15s;
}
.gift-mega-nav__item:hover .gift-mega-nav__trigger svg,
.gift-mega-nav__item:focus-within .gift-mega-nav__trigger svg {
  transform: rotate(180deg);
}
.gift-mega-nav__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 4px;
}
.gift-mega-nav__panel-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.55);
}
.gift-mega-nav__panel-all {
  font-size: 11px;
  color: var(--accent);
  text-decoration: none;
}
.gift-mega-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.gift-mega-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  transition: background 0.12s;
}
.gift-mega-nav__list a:hover {
  background: rgba(255,255,255,0.05);
}
.gift-mega-nav__item-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gift-mega-nav__item-price {
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 600;
}
.gift-popular-sect {
  margin-bottom: 20px;
}

/* DLC badge on catalog cards */
.game-card__dlc {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(120, 90, 255, 0.85);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.game-card__platform {
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.game-card__platform-icon {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
  filter: none;
}
.game-card__platform-label {
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.platform__icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  object-fit: contain;
  vertical-align: -2px;
  margin-right: 6px;
  filter: none;
}

/* Gift card category hub (HRK-style landing tiles) */
.gift-hub {
  margin: 0 0 20px;
}
.gift-hub--compact {
  margin-bottom: 14px;
}
.gift-hub__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.gift-hub__title {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}
.gift-hub__all {
  font-size: 11px;
  color: var(--accent);
  text-decoration: none;
}
.gift-hub__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 10px;
}
.gift-hub--compact .gift-hub__grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.gift-hub__card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--cv-border);
  background: var(--cv-surface);
  text-decoration: none;
  color: #fff;
  transition: border-color 0.15s, transform 0.12s;
  min-height: 88px;
}
.gift-hub--compact .gift-hub__card {
  min-height: 72px;
  padding: 10px;
}
.gift-hub__card:hover {
  border-color: rgba(198,241,53,0.35);
  transform: translateY(-1px);
}
.gift-hub__card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255,255,255,0.06);
  color: var(--accent);
  flex-shrink: 0;
  overflow: hidden;
}
.gift-hub__card-icon img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
  padding: 7px;
  box-sizing: border-box;
  filter: none;
}
.gift-hub__card--google .gift-hub__card-icon img {
  padding: 5px;
}
.gift-hub__card--steam .gift-hub__card-icon { background: rgba(27,40,56,0.9); }
.gift-hub__card--psn .gift-hub__card-icon { background: rgba(0,55,145,0.85); }
.gift-hub__card--xbox .gift-hub__card-icon { background: rgba(16,124,16,0.85); }
.gift-hub__card--nintendo .gift-hub__card-icon { background: rgba(230,0,18,0.85); }
.gift-hub__card--amazon .gift-hub__card-icon { background: rgba(19,25,33,0.95); }
.gift-hub__card--apple .gift-hub__card-icon { background: rgba(0,0,0,0.85); }
.gift-hub__card--netflix .gift-hub__card-icon { background: rgba(229,9,20,0.9); }
.gift-hub__card--spotify .gift-hub__card-icon { background: rgba(29,185,84,0.9); }
.gift-hub__card--google .gift-hub__card-icon { background: rgba(255,255,255,0.95); }
.gift-hub__card--riot .gift-hub__card-icon { background: rgba(208,44,58,0.92); }
.gift-hub__card--roblox .gift-hub__card-icon { background: rgba(226,61,61,0.92); }
.gift-hub__card-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}
.gift-hub__card-blurb {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}
.gift-hub__card-samples {
  list-style: none;
  margin: 0;
  padding: 8px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  line-height: 1.45;
}

/* Games-home showcase — Eneba-style brand row above Flash Deals */
.gift-hub--showcase {
  margin: 0 0 18px;
  padding-bottom: 4px;
}
.gift-hub--showcase .gift-hub__head {
  margin-bottom: 12px;
}
.gift-hub--showcase .gift-hub__title {
  font-size: 16px;
  font-weight: 800;
}
.gift-hub--showcase .gift-hub__grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.gift-hub--showcase .gift-hub__grid::-webkit-scrollbar { display: none; }
.gift-hub--showcase .gift-hub__card {
  flex: 0 0 108px;
  min-height: 104px;
  scroll-snap-align: start;
  align-items: center;
  text-align: center;
  padding: 14px 10px 12px;
  gap: 8px;
}
.gift-hub--showcase .gift-hub__card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
}
.gift-hub--showcase .gift-hub__card-icon img {
  padding: 8px;
  object-fit: contain;
}
.gift-hub--showcase .gift-hub__card--google .gift-hub__card-icon img {
  padding: 6px;
}
.gift-hub--showcase .gift-hub__card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
}
.gift-hub--showcase .gift-hub__card-title {
  font-size: 12px;
  font-weight: 700;
}
@media (min-width: 900px) {
  .gift-hub--showcase .gift-hub__grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    overflow-x: visible;
  }
  .gift-hub--showcase .gift-hub__card {
    flex: unset;
  }
}

.gift-mega-nav--store-bar {
  margin-bottom: 12px;
}
.gift-mega-nav__trigger--all {
  font-weight: 700;
  color: var(--accent);
}
@media (max-width: 720px) {
  .gift-mega-nav__bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .gift-mega-nav__bar::-webkit-scrollbar { display: none; }
  .gift-mega-nav__item { flex: 0 0 auto; }
}

/* Checkout summary — line items with art */
.summary__item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--cv-border);
}
.summary__item:last-of-type { border-bottom: none; }
.summary__thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  flex-shrink: 0;
}
.summary__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.summary__thumb-ph {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, hsl(var(--ph-hue, 200), 42%, 28%), hsl(calc(var(--ph-hue, 200) + 40), 38%, 18%));
}
.summary__item-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.summary__item-name {
  font-size: 13px;
  color: var(--cv-text-80);
  line-height: 1.35;
  min-width: 0;
}
.summary__item-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--cv-text);
  white-space: nowrap;
}

/* User orders list */
.cv-orders-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--cv-surface);
  border: 1px solid var(--cv-border);
  border-radius: 8px;
  color: var(--cv-text-80);
  font-size: 13px;
  text-decoration: none;
}
.cv-orders-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}
.cv-orders-stat {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--cv-border);
  background: var(--cv-surface);
}
.cv-orders-stat--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cv-orders-stat--link:hover {
  border-color: var(--cv-border-strong, rgba(255,255,255,0.18));
  background: var(--cv-surface-hover, rgba(255,255,255,0.03));
}
.cv-orders-stat--link.is-active {
  border-color: var(--accent);
  background: rgba(var(--accent-rgb, 255, 107, 53), 0.08);
}
.cv-orders-stat__val {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.cv-orders-stat__label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--cv-text-50);
}
.cv-orders-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.cv-orders-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--cv-border);
  background: var(--cv-surface);
  color: var(--cv-text-80);
  font-size: 13px;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.cv-orders-filter span {
  font-size: 11px;
  color: var(--cv-text-50);
}
.cv-orders-filter:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--cv-border));
  color: #fff;
}
.cv-orders-filter.is-active {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--cv-border));
  background: color-mix(in srgb, var(--accent) 12%, var(--cv-surface));
  color: #fff;
}
.cv-orders-filter.is-active span { color: var(--accent); }
.cv-order-card {
  margin-bottom: 12px;
  border: 1px solid var(--cv-border);
  border-radius: 12px;
  background: var(--cv-surface);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.cv-order-card:hover {
  border-color: color-mix(in srgb, var(--accent) 35%, var(--cv-border));
  transform: translateY(-1px);
}
.cv-order-card__main {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  text-decoration: none;
  color: inherit;
}
.cv-order-card__thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--cv-border);
  background: var(--cv-bg);
}
.cv-order-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cv-order-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.cv-order-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--cv-text);
  line-height: 1.3;
}
.cv-order-card__meta {
  margin: 6px 0 0;
  font-size: 11px;
  color: var(--cv-text-50);
}
.cv-order-card__sub {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--cv-text-60);
  line-height: 1.4;
}
.cv-order-card__price {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.cv-order-badge {
  font-family: var(--f-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}
.cv-order-badge--ok { background: rgba(74,222,128,0.15); color: #4ade80; border: 1px solid rgba(74,222,128,0.35); }
.cv-order-badge--warn { background: rgba(232,163,61,0.15); color: #fbbf24; border: 1px solid rgba(232,163,61,0.35); }
.cv-order-badge--bad { background: rgba(242,101,74,0.15); color: #f87171; border: 1px solid rgba(242,101,74,0.35); }
.cv-order-badge--muted { background: rgba(255,255,255,0.06); color: var(--cv-text-50); border: 1px solid var(--cv-border); }
.cv-order-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid var(--cv-border);
  background: color-mix(in srgb, var(--cv-bg) 40%, var(--cv-surface));
}
.cv-order-card__receipt {
  font-size: 11px;
  color: var(--cv-text-50);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.cv-order-card__receipt-sep { opacity: 0.5; }
.cv-order-card__action {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.cv-order-card__action:hover { text-decoration: underline; }
.cv-orders-empty__cta { display: inline-flex !important; width: auto !important; padding: 12px 24px !important; margin-top: 4px; }
.cv-orders-pagination { margin-top: 24px; }

/* Order detail */
.cv-order-detail {
  border: 1px solid var(--cv-border);
  border-radius: 14px;
  background: var(--cv-surface);
  padding: 24px;
}
.cv-order-detail__product {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cv-border);
  margin-bottom: 20px;
}
.cv-order-detail__thumb {
  width: 120px;
  height: 120px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--cv-border);
}
.cv-order-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cv-order-detail__id {
  margin: 0 0 6px;
  font-size: 11px;
  color: var(--cv-text-50);
}
.cv-order-detail__title {
  margin: 0;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 600;
  color: var(--cv-text);
  line-height: 1.2;
}
.cv-order-detail__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--cv-text-60);
}
.cv-order-detail__chips span {
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--cv-border);
}
.cv-order-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.cv-order-detail__panel {
  padding: 16px;
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--cv-border);
}
.cv-order-detail__panel h2 {
  margin: 0 0 8px;
  font-size: 12px;
  font-family: var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cv-text-50);
}
.cv-order-detail__status {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: var(--accent);
}
.cv-order-detail__hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--cv-text-60);
  line-height: 1.45;
}
.cv-order-detail__facts {
  margin: 0;
  display: grid;
  gap: 8px;
}
.cv-order-detail__facts > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.cv-order-detail__facts dt {
  margin: 0;
  color: var(--cv-text-50);
}
.cv-order-detail__facts dd {
  margin: 0;
  color: var(--cv-text);
  text-align: right;
}
.cv-order-keys {
  margin-top: 20px;
  padding: 20px;
  border-radius: 12px;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.25);
}
.cv-order-keys h2 {
  margin: 0 0 14px;
  font-size: 16px;
  color: var(--cv-text);
}
.cv-order-key-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.cv-order-key-input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--cv-border);
  background: var(--cv-bg);
  color: var(--cv-text);
  font-family: var(--f-mono);
  font-size: 13px;
}
.cv-order-redeem {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}
.cv-order-reveal {
  margin-top: 20px;
  padding: 22px;
  border-radius: 12px;
  background: rgba(185, 244, 114, 0.06);
  border: 1px solid rgba(185, 244, 114, 0.28);
}
.cv-order-reveal h2 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--cv-text);
}
.cv-order-reveal__lead {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--cv-text-muted, #9ca3af);
}
.cv-order-reveal__check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--cv-text);
  cursor: pointer;
}
.cv-order-reveal__check input {
  margin-top: 3px;
  flex-shrink: 0;
}
.cv-order-reveal__btn {
  display: inline-flex;
  width: auto;
  padding: 12px 22px;
  border: 0;
  cursor: pointer;
}
.cv-order-keys__warn {
  margin: 0 0 12px;
  font-size: 13px;
  color: #fbbf24;
}
@media (max-width: 720px) {
  .cv-order-card__main { grid-template-columns: 64px 1fr; }
  .cv-order-card__price { grid-column: 2; justify-self: start; font-size: 15px; }
  .cv-order-detail__product { grid-template-columns: 88px 1fr; }
  .cv-order-detail__thumb { width: 88px; height: 88px; }
  .cv-order-detail__grid { grid-template-columns: 1fr; }
}

/* =============================================================================
   MOBILE RAILS — fix grid min-content blowout (cards overlapping / huge)
   product-keys.css .rail uses grid-auto-columns but long titles expand tracks
   ============================================================================= */

.product-keys-store .cv-rail__scroller-wrap {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
.product-keys-store .cv-rail__scroller.rail {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  grid-auto-columns: unset;
  grid-auto-flow: unset;
  width: 100%;
  max-width: 100%;
  padding-bottom: 6px;
}
.product-keys-store .cv-rail__scroller .game-card--rail {
  flex: 0 0 148px;
  width: 148px !important;
  min-width: 148px !important;
  max-width: 148px !important;
  scroll-snap-align: start;
  overflow: hidden;
  isolation: isolate;
}
.product-keys-store .cv-rail__scroller .game-card__name {
  word-break: break-word;
  overflow-wrap: anywhere;
  min-height: 0;
  -webkit-line-clamp: 3;
}
.product-keys-store .cv-rail__scroller .cover-ph {
  overflow: hidden;
  z-index: 0;
}
.product-keys-store .cv-rail__scroller .game-card__img-bg {
  z-index: 1;
  object-fit: cover;
  object-position: center center;
  filter: blur(14px) saturate(1.1);
  transform: scale(1.08);
  opacity: 0.46;
}
.product-keys-store .cv-rail__scroller .game-card__img {
  z-index: 2;
  object-fit: contain;
  object-position: center center;
}
.product-keys-store .cv-rail__scroller .game-card__cover {
  overflow: hidden;
}
.product-keys-store .sect--flash-deals .cv-rail__scroller .game-card__cover {
  aspect-ratio: 4 / 3;
}
.product-keys-store .sect--flash-deals .cv-rail__scroller .game-card__img {
  padding: 8px;
  box-sizing: border-box;
}
.product-keys-store .sect--flash-deals .cv-rail__scroller .game-card__img-bg {
  transform: scale(1.04);
  opacity: 0.38;
}
.product-keys-store .cv-rail__scroller .cover-ph__glyph {
  font-size: clamp(20px, 36%, 36px);
}
.product-keys-store .sect {
  overflow: hidden;
  max-width: 100%;
}
.product-keys-store .store-main,
.product-keys-store #store-ajax-zone {
  overflow-x: hidden;
  max-width: 100%;
}
@media (min-width: 480px) {
  .product-keys-store .cv-rail__scroller .game-card--rail {
    flex-basis: 164px;
    width: 164px !important;
    min-width: 164px !important;
    max-width: 164px !important;
  }
}
@media (max-width: 640px) {
  .product-keys-store .browse__bar {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 8px 10px;
  }
  .product-keys-store .browse__bar .filters-toggle {
    grid-row: 1;
    grid-column: 1;
  }
  .product-keys-store .browse__bar .browse__result {
    grid-row: 1;
    grid-column: 2;
    text-align: right;
  }
  .product-keys-store .browse__bar .sort {
    grid-row: 2;
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
  }
}
