/* ============================================================
   Cross World Boost — Mobile / Responsive (public pages only)
   Loaded AFTER styles.css. Admin responsive → admin-mobile.css
   ============================================================ */

/* ══════════════════════════════════════════
   ≤900px  Tablet & below
   ══════════════════════════════════════════ */
@media (max-width: 900px) {

  /* Product & checkout → single column */
  .product-layout  { grid-template-columns: 1fr; padding: 1.5rem 0 3rem; }
  .checkout-layout { grid-template-columns: 1fr; }

  /* Unstick sidebars */
  .pricing-sidebar,
  .order-summary   { position: static; width: 100%; }
  .pricing-card    { width: 100%; }

  /* Hide desktop inline nav on mobile, hamburger already always visible */
  .nav { display: none; }
}

/* ══════════════════════════════════════════
    FIX 1: iOS auto-zoom fix — prevent zoom on input focus (font < 16px)
    ══════════════════════════════════════════ */
@media (max-width: 768px) {
  .form-field input,
  .track-form input,
  .reg-field input,
  input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* ══════════════════════════════════════════
    FIX 2: .trust-info-panel / .trust-info-panel--inline overflow
    ══════════════════════════════════════════ */
@media (max-width: 600px) {
  .trust-info-panel,
  .trust-info-panel--inline { max-width: 100%; }
}

/* ══════════════════════════════════════════
    FIX 3: Public success .modal — never exceeds viewport
    ══════════════════════════════════════════ */
@media (max-width: 600px) {
  .modal { max-width: calc(100vw - 2rem); }
}

/* ══════════════════════════════════════════
    FIX 4: .proof-lightbox-close — reposition inside viewport on mobile
    ══════════════════════════════════════════ */
@media (max-width: 600px) {
  .proof-lightbox-close {
    top: .5rem;
    right: .5rem;
    background: rgba(0,0,0,.55);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
  }
}

/* ══════════════════════════════════════════
    ≤600px  Mobile
    ══════════════════════════════════════════ */
@media (max-width: 600px) {
  .container { padding: 0 1rem; }

  /* Header: center toggle on mobile */
  .header-inner { justify-content: space-between; }
  .header-right { gap: .5rem; }
  .logo { font-size: 1.125rem; }
  /* On very small screens hide the currency code, keep flag */
  .btn-currency .currency-code { display: none; }
  .btn-currency { padding: 5px 8px; }

  /* Hero */
  .hero    { padding: 2.5rem 0 2rem; }
  .hero h1 { font-size: clamp(1.75rem, 9vw, 2.5rem); }
  .hero p  { font-size: 1rem; }

  /* Grids → 1 col */
  .game-grid        { grid-template-columns: 1fr; gap: 1rem; }
  .service-grid     { grid-template-columns: 1fr; gap: 1rem; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .proof-grid       { grid-template-columns: 1fr; gap: 1rem; }

  /* Showcase */
  .showcase-card  { grid-template-columns: 1fr; }
  .showcase-side  { border-left: none; border-top: 1px solid var(--border); }
  .showcase-times { flex-direction: row; gap: 1.5rem; }

  /* Trust bar → horizontal scroll */
  .trust-bar-interactive {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: .5rem;
    -webkit-overflow-scrolling: touch;
  }
  .trust-badge-btn { flex-shrink: 0; }

  /* Page header */
  .page-header    { padding: 2rem 0 1.25rem; }
  .page-header h1 { font-size: 1.5rem; }

  /* Product page */
  .product-title      { font-size: 1.375rem; }
  .product-hero-img   { height: 140px; }
  .product-hero-body h1 { font-size: 1.375rem; }
  .pricing-card       { padding: 1.25rem; }
  .endgame-checklist  { max-height: 220px; }

  /* Narrow dropdown on tiny screens */
  .nav-dropdown { right: .75rem; width: calc(100vw - 1.5rem); max-width: 320px; }

  /* Contact — minmax(0,1fr) + min-width:0 prevent card min-content
     (402px) from blowing out the grid track on narrow screens */
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .contact-card   { min-width: 0; }
  .contact-card-body { min-width: 0; }
  .contact-card-value { overflow-wrap: anywhere; }
  .contact-info-value { overflow-wrap: anywhere; }

  /* Option / time rows */
  .option-group { flex-direction: column; }
  .est-times    { flex-direction: column; gap: .75rem; }

  /* Checkout */
  .checkout-form { padding: 1.25rem; }
  .checkout-layout { grid-template-columns: 1fr; }
  .crypto-address-row { flex-direction: column; align-items: stretch; }
  .crypto-address-row .btn { width: 100%; }

  /* Track */
  .track-section    { margin: 2.5rem auto; }
  .track-section h1 { font-size: 1.375rem; }
  .track-form       { flex-direction: column; }
  .track-form input,
  .track-form .btn  { width: 100%; }
}
/* ════════════════════════════════════════════════════════════════
   CROSS WORLD BOOST — LIGHT NEO-BRUTALIST OVERRIDE
   Diolah di atas base design system. Token di-flip ke light + component
   di-restyle: hard offset shadow, border tebal hitam, aksen kuning.
   Ditaruh di sheet terakhir (mobile.css) → menang di desktop & mobile.
   ════════════════════════════════════════════════════════════════ */

:root {
  color-scheme: light;
  --bg:          #FAFAF7;
  --surface:     #FFFFFF;
  --surface-2:   #F1F0E9;
  --surface-3:   #FFFFFF;
  --border:      #0A0A0A;
  --border-soft: #CFCDC4;
  --text:        #0A0A0A;
  --text-muted:  #55534B;
  --text-soft:   #8A877C;
  --primary:     #FFD400;
  --primary-dim: #E6BE00;
  --accent:      #0A0A0A;
  --success:     #1F9D55;
  --warning:     #E0A800;
  --danger:      #E5484D;
  --font-display:'Space Grotesk', sans-serif;
  --font-heading:'Space Grotesk', sans-serif;
  --font-body:   'Inter', sans-serif;
  --font-mono:   'IBM Plex Mono', monospace;
  --shadow:      4px 4px 0 #0A0A0A;
  --shadow-lg:   6px 6px 0 #0A0A0A;
  --radius-xs:   3px;
  --radius-sm:   4px;
  --radius:      6px;
  --radius-lg:   8px;
}

html { color-scheme: light; }
body { background: var(--bg); color: var(--text); }

/* ── Header / Nav ── */
.site-header { background:#FFFFFF; border-bottom:3px solid #0A0A0A; backdrop-filter:none; }
.logo, .logo span { color:#0A0A0A; }
.header-right { color:#0A0A0A; }
.nav-links a { color:#55534B; }
.nav-links a:hover, .nav-links a.nav-active { color:#0A0A0A; }
.currency-toggle { background:#fff; border:2px solid #0A0A0A; border-radius:4px; padding:2px; }
.btn-currency { color:#0A0A0A; }
.btn-currency[aria-pressed="true"] { background:var(--primary); color:#0A0A0A; border:2px solid #0A0A0A; }
.nav-hamburger { background:#fff; border:2px solid #0A0A0A; }
.nav-hamburger svg { stroke:#0A0A0A; }
.nav-hamburger:hover { background:var(--primary); }

/* ── Buttons (brutalist hard-shadow) ── */
.btn {
  border:2px solid #0A0A0A; border-radius:4px;
  font-family:var(--font-heading); font-weight:700; font-size:.9rem;
  background:#fff; color:#0A0A0A; box-shadow:var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform:translate(-2px,-2px); box-shadow:var(--shadow-lg); }
.btn:active { transform:translate(2px,2px); box-shadow:0 0 0 #0A0A0A; }
.btn-primary { background:var(--primary); color:#0A0A0A; border-color:#0A0A0A; }
.btn-primary:hover { background:var(--primary-dim); }
.btn-outline { background:#fff; border:2px solid #0A0A0A; color:#0A0A0A; box-shadow:var(--shadow); }
.btn-outline:hover { background:var(--primary); }
.btn-sm { font-size:.8125rem; }

/* ── Forms ── */
.form-input, input, textarea, select {
  background:#fff; color:#0A0A0A; border:2px solid #0A0A0A; border-radius:4px;
}
.form-input::placeholder, ::placeholder { color:#8A877C; }
.form-input:focus, input:focus, textarea:focus, select:focus {
  outline:none; border-color:#0A0A0A; box-shadow:3px 3px 0 var(--primary);
}
.form-label { color:#0A0A0A; font-weight:600; }

/* ── Typography ── */
.section-title, .hero h1, .game-card h3, .review-card h3, .proof-card h3, .testimonial-card h3 {
  font-family:var(--font-display); font-weight:700; color:#0A0A0A; letter-spacing:-.02em;
}
.hero h1 { font-weight:700; }
.hero h1 strong { color:#0A0A0A; }
.hero::before { background:radial-gradient(ellipse 60% 50% at 50% 0%, rgba(255,212,0,.28), transparent); }
.hero-badge { background:#fff; border:2px solid #0A0A0A; color:#0A0A0A; border-radius:9999px; }
.hero p { color:#55534B; }
.section-label { color:#0A0A0A; font-weight:700; }
.section-sub { color:#55534B; }

/* ── Cards (thick border + hard shadow) ── */
.game-card, .service-card, .testimonial-card, .proof-card, .review-card, .card, .stat-card, .order-card {
  background:#fff; border:2px solid #0A0A0A; border-radius:6px; box-shadow:var(--shadow);
}
.game-card:hover, .service-card:hover, .testimonial-card:hover, .proof-card:hover, .review-card:hover {
  transform:translate(-3px,-3px); box-shadow:var(--shadow-lg); border-color:#0A0A0A;
}
.game-card .unit-code { color:#0A0A0A; }
.game-card .world { color:#55534B; }
.game-card .arrow { color:#0A0A0A; }
.game-card::before, .proof-card::before, .gallery-item::before { background:var(--card-accent, var(--primary)); height:4px; }

/* ── Trust / showcase / chat ── */
.trust-badge { background:#fff; border:2px solid #0A0A0A; color:#0A0A0A; border-radius:4px; }
.trust-badge-btn { background:#fff; border:2px solid #0A0A0A; color:#0A0A0A; border-radius:4px; }
.trust-badge-btn:hover, .trust-badge-btn.active { background:var(--primary); color:#0A0A0A; }
.trust-info-panel { background:#fff; border:2px solid #0A0A0A; color:#0A0A0A; }
.trust-info-text { color:#0A0A0A; }
.showcase-card { background:#fff; border:2px solid #0A0A0A; }
.showcase-side { background:var(--surface-2); border-left:2px solid #0A0A0A; }
.showcase-review { background:var(--surface-2); border:1px solid #0A0A0A; color:#0A0A0A; }
.showcase-review .stars { color:var(--warning); }
.showcase-review-text, .showcase-review-meta, .showcase-review-score { color:#55534B; }
.showcase-review-score strong { color:#0A0A0A; }
.showcase-times .est-time .value { color:#0A0A0A; }
.showcase-times .est-time .label { color:var(--text-soft); }
.proof-chat { background:var(--surface-2); border:2px solid #0A0A0A; }
.chat-bubble--cwb .chat-text { background:#fff; border:1px solid #0A0A0A; color:#0A0A0A; }
.chat-bubble--customer .chat-text { background:var(--primary); border:1px solid #0A0A0A; color:#0A0A0A; }
.chat-sender { color:#0A0A0A; }
.proof-quote { color:#55534B; border-top:1px solid var(--border-soft); }
.proof-demo-badge, .proof-service-tag { background:var(--surface-2); border:1px solid #0A0A0A; color:#0A0A0A; }
.proof-dot { background:var(--proof-accent, var(--primary)); }
.proof-game-tag { color:#0A0A0A; }
.proof-stars, .testimonial-card .stars { color:var(--warning); }
.proof-stars-empty { color:var(--border-soft); }

/* ── Status badges ── */
.badge, .status-badge, [class*="status-"] {
  border:2px solid #0A0A0A; border-radius:4px; font-weight:700; color:#0A0A0A;
}
.status-pending, .badge-pending { background:var(--primary); }
.status-active, .badge-active { background:#FF8A3D; }
.status-queued, .badge-queued { background:#7CC4FF; }
.status-done, .badge-done { background:var(--success); color:#fff; }
.status-cancelled, .badge-cancelled { background:var(--danger); color:#fff; }

/* ── Nav dropdown ── */
.nav-dropdown { background:#fff; border:2px solid #0A0A0A; border-radius:8px; box-shadow:var(--shadow-lg); }
.nav-dropdown-item { color:#0A0A0A; }
.nav-dropdown-item:hover { background:var(--surface-2); }
.nav-dropdown-icon { background:var(--surface-2); }
.nav-dropdown-icon svg { stroke:#0A0A0A; }
.nav-dropdown-label { color:var(--text-soft); }
.nav-dropdown-game { color:#55534B; }
.nav-dropdown-game:hover { background:var(--surface-2); color:#0A0A0A; }
.nav-dropdown-divider { background:var(--border-soft); }
.nav-dropdown-dot { background:var(--game-color, var(--accent)); }

/* ── Footer ── */
.site-footer { background:#fff; border-top:3px solid #0A0A0A; color:#0A0A0A; }
.site-footer a { color:#0A0A0A; }
.site-footer p, .site-footer .footer-muted { color:#55534B; }

/* ── Request Service (keep v3, force light) ── */
.req-step { background:#fff; border:2px solid #0A0A0A; box-shadow:var(--shadow); }
.request-wrap .form-input { border-color:#0A0A0A; }
.request-wrap .form-input:focus { border-color:#0A0A0A; box-shadow:3px 3px 0 var(--primary); }
.request-game { background:#fff; border:2px solid #0A0A0A; }
.request-game.is-active { background:var(--primary); box-shadow:var(--shadow); }
.req-chip { background:#fff; border:2px solid #0A0A0A; color:#0A0A0A; }
.req-chip.is-active { background:var(--primary); }
.wa-preview { background:#fff; border:2px solid #0A0A0A; }
.wa-preview__bar { background:#0A0A0A; color:#fff; }
.wa-textarea { background:var(--surface-2); color:#0A0A0A; }
.wa-preview__btn { background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.4); color:#fff; }
.wa-preview__btn:hover { background:rgba(255,255,255,.28); color:#fff; }

/* ── Misc surfaces ── */
.gallery-item { background:#fff; border:2px solid #0A0A0A; }
.gallery-item figcaption { color:#0A0A0A; background:linear-gradient(to top, rgba(255,212,0,.92), rgba(255,212,0,0)); }
.proof-screenshot { background:#fff; border:2px solid #0A0A0A; }
.modal, .modal-card { background:#fff; border:2px solid #0A0A0A; box-shadow:var(--shadow-lg); }

/* ── Light text-contrast fixes (yellow/amber-on-white → readable black) ── */
.service-card .category { background: var(--primary); color: #0A0A0A; border: 2px solid #0A0A0A; border-radius: 4px; }
.service-card .price { color: #0A0A0A; font-weight: 700; }
.endgame-radio-price, .endgame-check-price { color: #0A0A0A; }
.range-value { color: #0A0A0A; }
.option-btn.active { background: var(--primary); color: #0A0A0A; border-color: #0A0A0A; }
.price-row.total .amount { color: #0A0A0A; }
.summary-total .amount { color: #0A0A0A; }
.modal .sku-display { color: #0A0A0A; }
.crypto-network { color: #0A0A0A; }
.crypto-warning { color: #0A0A0A; }
.sku-cell { color: #0A0A0A; }
.contact-card--request .contact-card-icon,
.contact-card--email .contact-card-icon { color: #0A0A0A; }

/* ── Contact cards (neubrutal override atas gaya dark lama) ── */
.contact-card { background:#FFFFFF; border:2px solid #0A0A0A; border-radius:8px; box-shadow:var(--shadow); transition:transform .12s ease, box-shadow .12s ease; }
.contact-card:hover { transform:translate(-3px,-3px); box-shadow:var(--shadow-lg); }
.contact-card--whatsapp:hover, .contact-card--email:hover, .contact-card--request:hover { border-color:#0A0A0A; }

/* ── Track form (neubrutal override) ── */
.track-form input { background:#FFFFFF; border:2px solid #0A0A0A; border-radius:6px; color:#0A0A0A; }
.track-form input:focus { border-color:#0A0A0A; box-shadow:3px 3px 0 var(--primary); }
.track-result { background:#FFFFFF; border:2px solid #0A0A0A; border-radius:8px; box-shadow:var(--shadow); }

/* ── Neubrutalist Form Elements ── */
input[type="checkbox"], input[type="radio"] { width: 1.1rem; height: 1.1rem; accent-color: var(--primary); cursor: pointer; }
.endgame-radio, .endgame-check { display: flex; align-items: center; gap: .6rem; padding: .6rem .8rem; border: 2px solid var(--border); border-radius: 6px; background: var(--surface); cursor: pointer; transition: border-color .12s, box-shadow .12s, transform .12s; }
.endgame-radio:hover, .endgame-check:hover { border-color: var(--ink, #0A0A0A); box-shadow: 3px 3px 0 var(--ink, #0A0A0A); transform: translate(-1px,-1px); }
.endgame-radio input, .endgame-check input { accent-color: var(--primary); }
.endgame-radio-label, .endgame-check-label { font-weight: 600; }
select, .promo-row input, .form-field select, .admin-toolbar select, #revenue-days { border: 2px solid var(--border); border-radius: 6px; }
input[type="range"] { accent-color: var(--primary); cursor: pointer; }

/* ── Canonical Card (neubrutalism) ── */
.nb-card { background: var(--surface); border: 2px solid var(--ink, #0A0A0A); border-radius: 8px; box-shadow: var(--shadow); transition: transform .12s ease, box-shadow .12s ease; }
.nb-card:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow-lg); }
.nb-card__footer { border-top: 2px solid var(--ink, #0A0A0A); padding: .75rem 1rem; }
/* alias existing cards to canonical hover pattern */
.game-card, .service-card, .testimonial-card, .proof-card, .review-card { box-shadow: var(--shadow); }
.game-card:hover, .service-card:hover, .testimonial-card:hover, .proof-card:hover, .review-card:hover { transform: translate(-3px,-3px); box-shadow: var(--shadow-lg); }

/* ── Cart button (header) ── */
.cart-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  background: var(--surface); border: 2px solid var(--ink, #0A0A0A);
  border-radius: 8px; color: var(--ink, #0A0A0A); cursor: pointer;
  transition: box-shadow .12s ease, transform .12s ease;
}
.cart-btn:hover { box-shadow: 3px 3px 0 var(--ink, #0A0A0A); transform: translate(-1px,-1px); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-badge {
  position: absolute; top: -8px; right: -8px;
  min-width: 18px; height: 18px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--primary); color: #0A0A0A;
  border: 2px solid #0A0A0A; border-radius: 999px;
  font-size: .7rem; font-weight: 700; font-family: var(--font-display, sans-serif);
}

/* ── Global search overlay (header) ── */
.gs-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,10,10,.45);
  display: flex; justify-content: center; align-items: flex-start;
  padding: 5.5rem 1rem 1rem;
}
.gs-overlay.hidden { display: none; }
.gs-panel {
  width: 100%; max-width: 560px;
  background: var(--surface);
  border: 2px solid var(--ink, #0A0A0A); border-radius: 10px;
  box-shadow: 6px 6px 0 var(--ink, #0A0A0A);
  overflow: hidden;
  animation: gsPop .15s ease;
}
@keyframes gsPop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.gs-input-row {
  display: flex; align-items: center; gap: .6rem;
  padding: .35rem .9rem;
  border-bottom: 2px solid var(--ink, #0A0A0A);
  background: var(--primary);
}
.gs-input-row > svg { width: 18px; height: 18px; flex: none; color: #0A0A0A; }
#gs-input {
  flex: 1; min-width: 0; min-height: 48px;
  border: none; background: transparent;
  font: inherit; font-size: 1rem; font-weight: 600; color: #0A0A0A;
}
#gs-input::placeholder { color: rgba(10,10,10,.55); }
#gs-input:focus { outline: none; }
#gs-input::-webkit-search-cancel-button { display: none; }
.gs-close {
  flex: none; width: 32px; height: 32px;
  background: var(--surface); border: 2px solid var(--ink, #0A0A0A); border-radius: 6px;
  font-size: .85rem; line-height: 1; cursor: pointer; color: var(--ink, #0A0A0A);
}
.gs-close:hover { background: var(--ink, #0A0A0A); color: var(--surface); }
.gs-results { max-height: min(60vh, 420px); overflow-y: auto; padding: .5rem; }
.gs-hint { padding: 1.25rem 1rem; text-align: center; color: var(--text-muted); font-size: .875rem; }
.gs-group {
  display: flex; align-items: center; gap: .45rem;
  padding: .6rem .6rem .3rem;
  font-size: .6875rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-muted);
}
.gs-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--gs-color, #0A0A0A); border: 1.5px solid #0A0A0A;
}
.gs-item {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .55rem .65rem; border-radius: 8px;
  border: 2px solid transparent;
  text-decoration: none; color: var(--text);
  transition: box-shadow .1s ease, transform .1s ease;
}
.gs-item:hover, .gs-item.is-active {
  border-color: var(--ink, #0A0A0A); background: var(--bg, #fff);
  box-shadow: 2px 2px 0 var(--ink, #0A0A0A); transform: translate(-1px,-1px);
}
.gs-item-main { min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.gs-item-name { font-weight: 700; font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gs-item-cat { font-size: .6875rem; color: var(--text-muted); }
.gs-item-price { flex: none; font-family: var(--font-mono, monospace); font-size: .8125rem; font-weight: 700; white-space: nowrap; }
@media (max-width: 600px) {
  .gs-overlay { padding: 4.5rem .75rem .75rem; }
  .gs-results { max-height: min(55vh, 380px); }
}

/* ── Cart drawer ── */
.cart-backdrop {
  position: fixed; inset: 0; background: rgba(10,10,10,.45);
  z-index: 1800; transition: opacity .2s ease;
}
.cart-backdrop.hidden { display: none; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%;
  width: 380px; max-width: 90vw;
  background: var(--surface); border-left: 3px solid var(--ink, #0A0A0A);
  z-index: 1900; transform: translateX(105%);
  transition: transform .25s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.1rem; border-bottom: 2px solid var(--ink, #0A0A0A);
}
.cart-drawer-head h2 { font-family: var(--font-display, sans-serif); font-size: 1.15rem; margin: 0; }
.cart-close {
  background: transparent; border: 2px solid var(--ink, #0A0A0A); border-radius: 6px;
  width: 30px; height: 30px; font-size: 1.1rem; line-height: 1; cursor: pointer; color: var(--ink, #0A0A0A);
}
.cart-close:hover { background: var(--ink, #0A0A0A); color: var(--surface); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 1rem 1.1rem; }
.cart-empty { text-align: center; color: var(--text-muted); padding: 2rem 0; }
.cart-empty .btn { margin-top: 1rem; }
.cart-item {
  display: grid; grid-template-columns: 1fr auto auto; gap: .5rem .75rem;
  align-items: center; padding: .75rem 0; border-bottom: 1px dashed var(--border);
}
.cart-item-name { font-weight: 600; font-size: .9rem; line-height: 1.25; }
.cart-item-meta { font-size: .75rem; color: var(--text-muted); margin-top: .15rem; }
.cart-item-qty { display: inline-flex; align-items: center; gap: .4rem; grid-column: 2; }
.cart-qty-btn {
  width: 26px; height: 26px; border: 2px solid var(--ink, #0A0A0A); background: var(--surface);
  border-radius: 6px; font-weight: 700; cursor: pointer; color: var(--ink, #0A0A0A); line-height: 1;
}
.cart-qty-btn:hover { background: var(--primary); }
.cart-qty-val { min-width: 18px; text-align: center; font-weight: 600; font-size: .85rem; }
.cart-item-price { grid-column: 3; text-align: right; font-weight: 700; font-size: .9rem; }
.cart-item-rm {
  grid-column: 3; justify-self: end; background: transparent; border: none; color: var(--text-muted);
  font-size: 1.1rem; cursor: pointer; line-height: 1; padding: 0;
}
.cart-item-rm:hover { color: var(--danger, #E5484D); }
.cart-drawer-foot { padding: 1rem 1.1rem; border-top: 2px solid var(--ink, #0A0A0A); }
.cart-subtotal { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: .75rem; }

/* ── Checkout multi-item ── */
.checkout-form-wrap { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 860px) { .checkout-form-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } }
.co-items { margin-bottom: 1rem; }
.co-item {
  display: grid; grid-template-columns: 1fr auto auto; gap: .5rem .75rem; align-items: center;
  padding: .7rem 0; border-bottom: 1px dashed var(--border);
}
.co-item-main { min-width: 0; }
.co-item-name { font-weight: 600; font-size: .9rem; }
.co-item-meta { font-size: .75rem; color: var(--text-muted); margin-top: .15rem; }
.co-item-qty { display: inline-flex; align-items: center; gap: .4rem; }
.co-qty-btn {
  width: 26px; height: 26px; border: 2px solid var(--ink, #0A0A0A); background: var(--surface);
  border-radius: 6px; font-weight: 700; cursor: pointer; color: var(--ink, #0A0A0A); line-height: 1;
}
.co-qty-btn:hover { background: var(--primary); }
.co-qty-val { min-width: 18px; text-align: center; font-weight: 600; font-size: .85rem; }
.co-item-price { font-weight: 700; font-size: .9rem; text-align: right; }
.co-item-rm { background: transparent; border: none; color: var(--text-muted); font-size: 1.1rem; cursor: pointer; }
.co-item-rm:hover { color: var(--danger, #E5484D); }

/* ── Checkout layout polish (cards, constrained width) ── */
.checkout-layout { max-width: 1080px; margin: 0 auto; }
.checkout-form, .order-summary {
  background: var(--surface); border: 2px solid var(--ink, #0A0A0A);
  border-radius: 10px; box-shadow: var(--shadow); padding: 1.5rem;
}
.checkout-form h2, .order-summary h2 {
  font-family: var(--font-display, sans-serif); font-size: 1.15rem;
  margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ink, #0A0A0A);
}
.checkout-form .form-field, .order-summary .form-field { margin-bottom: 1rem; }
.checkout-form input, .checkout-form textarea, .checkout-form select { width: 100%; }
@media (min-width: 860px) { .checkout-form-wrap { align-items: start; } .checkout-form { padding: 1.75rem; } .order-summary { padding: 1.75rem; } }

/* ── Invoice (receipt card) ── */
.invoice { background: var(--surface); border: 3px solid var(--ink, #0A0A0A); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 0; overflow: hidden; max-width: 760px; margin: 1.5rem auto; }
.invoice-banner { background: var(--ink, #0A0A0A); color: #FFFFFF; padding: 1.5rem 2rem; display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.invoice-banner .logo { font-size: 1.35rem; color: #FFFFFF; }
.invoice-banner .logo span { color: var(--primary, #FFD400); }
.iv-banner-sub { font-size: .78rem; color: rgba(255,255,255,.65); margin-top: .3rem; }
.iv-banner-right { text-align: right; }
.iv-no { font-family: var(--font-display, monospace); font-weight: 800; font-size: 1.1rem; letter-spacing: .04em; color: var(--primary, #FFD400); }
.iv-issued { font-size: .75rem; color: rgba(255,255,255,.65); margin-top: .3rem; }
.invoice-body { padding: 1.75rem 2rem; }
.invoice-meta { display: flex; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.iv-meta-right { text-align: right; margin-left: auto; }
.iv-meta-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: .25rem; }
.iv-meta-val { font-weight: 700; font-size: .95rem; }
.iv-meta-sub { font-size: .78rem; color: var(--text-muted); margin-top: .15rem; }
.iv-order-id { font-family: var(--font-display, monospace); }
.invoice-table { width: 100%; border-collapse: collapse; margin-bottom: 1.25rem; }
.invoice-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); border-top: 2px solid var(--ink, #0A0A0A); border-bottom: 2px solid var(--ink, #0A0A0A); padding: .55rem .6rem; }
.invoice-table td { padding: .75rem .6rem; border-bottom: 1px solid var(--border); font-size: .9rem; vertical-align: top; }
.invoice-table .iv-amt { text-align: right; white-space: nowrap; font-weight: 700; }
.invoice-table th.iv-amt { font-weight: 700; }
.iv-item-name { font-weight: 700; }
.iv-item-meta { font-size: .76rem; color: var(--text-muted); margin-top: .15rem; }
.invoice-totals { margin-left: auto; max-width: 320px; }
.iv-tot-row { display: flex; justify-content: space-between; gap: 2rem; padding: .35rem 0; font-size: .88rem; color: var(--text-muted); }
.iv-tot-row.iv-discount { color: var(--success, #2e9e5f); }
.iv-scan-panel { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; flex-wrap: wrap; border: 2px solid var(--ink, #0A0A0A); border-radius: 10px; background: var(--surface-2); padding: 1.1rem 1.25rem; margin: 1.25rem 0 .25rem; }
.iv-scan-left { display: flex; align-items: center; gap: 1rem; }
.iv-qr { width: 96px; height: 96px; flex-shrink: 0; border: 2px solid var(--ink, #0A0A0A); border-radius: 8px; background: #FFFFFF; padding: 5px; display: block; }
.iv-scan-title { font-weight: 800; font-size: .9rem; }
.iv-scan-sub { font-size: .75rem; color: var(--text-muted); max-width: 210px; margin-top: .25rem; }
.iv-total-box { text-align: right; margin-left: auto; }
.iv-total-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.iv-total-value { font-family: var(--font-display, sans-serif); font-weight: 900; font-size: 1.6rem; margin-top: .15rem; }
.iv-status-pill { display: inline-block; margin-top: .5rem; padding: .3rem .7rem; border: 2px solid var(--ink, #0A0A0A); border-radius: 6px; font-weight: 800; font-size: .72rem; letter-spacing: .05em; box-shadow: 2px 2px 0 var(--ink, #0A0A0A); }
.iv-status-paid { background: #B8F5CD; }
.iv-status-unpaid { background: #FFE58A; }
.iv-status-cancelled { background: #FFC7C7; }
.invoice-payment { margin-top: 1.25rem; padding: 1rem; border: 2px dashed var(--ink, #0A0A0A); border-radius: 8px; background: var(--surface-2); }
.iv-pay-title { font-weight: 700; margin-bottom: .4rem; }
.iv-pay-sub { font-size: .82rem; color: var(--text-muted); }
.invoice-foot { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--border); padding: 1.1rem 2rem; }
.iv-thanks { font-size: .84rem; color: var(--text-muted); text-align: center; }
.invoice-actions { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; max-width: 760px; margin: 0 auto 2rem; }
@media (max-width: 560px) {
  .invoice-banner, .invoice-body, .invoice-foot { padding-left: 1.1rem; padding-right: 1.1rem; }
  .iv-banner-right, .iv-meta-right, .iv-total-box { text-align: left; margin-left: 0; }
  .invoice-actions .btn { width: 100%; justify-content: center; }
}

/* ── Invoice print ── */
@media print {
  #header, #footer, .invoice-actions, .toast, .cart-drawer, .cart-overlay, .wa-fab { display: none !important; }
  body { background: #FFFFFF; }
  .invoice { box-shadow: none; margin: 0 auto; border-width: 2px; }
  .invoice-banner { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.status-badge.status-done { background: var(--success, #2e9e5f); color: #fff; }

@media (max-width: 540px) {
  .cart-drawer { width: 100%; }
  .invoice { padding: 1.25rem; }
  .invoice-title { font-size: 1.5rem; }
}

/* ── Checkout UID accordion (Cloudflare-style ›, NO native dropdown) ── */
.uid-game-block { border:3px solid var(--ink,#0A0A0A); background:var(--surface,#fff); box-shadow:4px 4px 0 var(--ink,#0A0A0A); padding:1rem; margin-bottom:1rem; }
.uid-game-head { display:flex; align-items:center; justify-content:space-between; gap:.75rem; flex-wrap:wrap; }
.uid-game-title { font-weight:800; font-size:.95rem; }
.uid-same { display:flex; align-items:center; gap:.4rem; font-size:.82rem; font-weight:600; cursor:pointer; }
.uid-same input { width:18px; height:18px; accent-color:#000; }
.uid-same-wrap { margin-top:.7rem; }
.uid-same-wrap input, .uid-unit-body input {
  width:100%; padding:.7rem .8rem; border:3px solid var(--ink,#0A0A0A);
  background:var(--surface,#fff); font-weight:600; box-shadow:3px 3px 0 var(--ink,#0A0A0A); border-radius:0;
}
.uid-same-wrap input:focus, .uid-unit-body input:focus { outline:3px solid #FFD400; outline-offset:0; }
.uid-units { margin-top:.75rem; display:flex; flex-direction:column; gap:.5rem; }
.uid-unit { border:2px solid var(--ink,#0A0A0A); background:var(--surface,#fff); }
.uid-unit-head {
  width:100%; display:flex; align-items:center; gap:.5rem; padding:.7rem .8rem;
  background:#FFD400; border:none; cursor:pointer; font-weight:800; text-align:left; font-size:.9rem;
  color:var(--ink,#0A0A0A);
}
.uid-chev { display:inline-block; font-size:1.3rem; line-height:1; transition:transform .15s ease; transform:rotate(0deg); }
.uid-unit-head.open .uid-chev { transform:rotate(90deg); }
.uid-unit-body { padding:.7rem .8rem; }

/* ══════════════════════════════════════
   601–900px  Small tablet — close the breakpoint gap
   ══════════════════════════════════════ */
@media (min-width: 601px) and (max-width: 900px) {
  .container { padding: 0 1.5rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero h1 { font-size: clamp(2rem, 6vw, 2.75rem); }
  .game-grid, .service-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .testimonial-grid, .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .showcase-card { grid-template-columns: 1fr; }
  .showcase-side { border-left: none; border-top: 1px solid var(--border); }
}

/* ══════════════════════════════════════
   Touch targets ≥ 44px on mobile & coarse pointers
   ══════════════════════════════════════ */
@media (max-width: 900px), (pointer: coarse) {
  .btn-sm { min-height: 44px; padding: .55rem 1rem; }
  .crypto-net-btn { min-height: 44px; padding: .6rem .9rem; }
  .btn-currency { min-height: 40px; }
  .nav-hamburger, .cart-btn { width: 44px; height: 44px; }
  .cart-qty-btn, .co-qty-btn { width: 38px; height: 38px; }
  .cart-item-rm, .co-item-rm { min-width: 40px; min-height: 40px; font-size: 1.25rem; }
  .cart-close { width: 40px; height: 40px; }
  .option-btn { min-height: 44px; }
  .trust-badge-btn { min-height: 44px; }
  /* FIX 6: filter-chip touch target */
  .filter-chip { min-height: 44px; }
}

/* ══════════════════════════════════════════
    FIX 7: Safe-area insets for notched phones
    ══════════════════════════════════════════ */
body { padding-bottom: env(safe-area-inset-bottom); }
.wa-fab { bottom: calc(1rem + env(safe-area-inset-bottom)); }
.cart-drawer-foot { padding-bottom: calc(1rem + env(safe-area-inset-bottom)); }

/* ════════════════════════════════════
    Keyboard focus indicator (a11y)
    ════════════════════════════════════ */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--ink, #0A0A0A);
  outline-offset: 2px;
}

