:root {
  --ink: #061525;
  --navy: #08253a;
  --ocean: #0b6680;
  --ocean-dark: #084b64;
  --sky: #dff6ff;
  --sand: #fff4ca;
  --sun: #ffd447;
  --sun-dark: #efb91d;
  --coral: #ff6b4a;
  --foam: #f8fdff;
  --white: #fff;
  --muted: #627789;
  --line: #d9e6eb;
  --line-dark: rgba(255,255,255,.18);
  --display: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: 1180px;
  --shadow: 0 22px 60px rgba(5, 42, 59, .16);
  --primary: #087ff5;
  --accent: #ef3038;
  --page-bg: #eef4f8;
  --surface: #ffffff;
  --surface-soft: #f3f7fa;
  --text: #071426;
  --text-soft: #526679;
  --header-bg: rgba(247, 251, 253, .94);
  --summer-bar: #fff0bd;
  --summer-soft: #f8edc8;
  --summer-water: #dff4fa;
  --faq-bg: #ffffff;
  --admin-bg: #f4f7fa;
  --admin-card: #ffffff;
  --admin-card-soft: #edf3f7;
  --admin-input: #f8fafc;
  --admin-text: #071426;
  --admin-muted: #5b6d7f;
  --admin-line: #d4dfe7;
}

/* Marketplace trust system — compact, evidence-led components. */
.hero { min-height: 590px; }
.hero h1 { max-width: 880px; font-size: clamp(48px, 7vw, 82px); line-height: .91; letter-spacing: -.045em; }
.hero-ticket { display: none !important; }
.voss-confirmed-section,
.featured-section,
.market-proof-section { padding: 72px 0; background: var(--page-bg); }
.featured-section { background: var(--surface-soft); }
.compact-section-head { align-items: end; margin-bottom: 24px; }
.compact-section-head h2 { margin-top: 5px; }
.compact-section-head h2 span { color: var(--primary); }
.compact-section-head p:last-child { max-width: 650px; color: var(--text-soft); }
.voss-confirmed-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-soft); }
.voss-confirmed-grid article { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 11px; padding: 20px 17px; border-right: 1px solid var(--line); }
.voss-confirmed-grid article:last-child { border-right: 0; }
.voss-confirmed-grid article > span { min-width: 24px; color: var(--primary); font-size: 10px; font-weight: 900; letter-spacing: .05em; }
.voss-confirmed-grid h3 { margin: 0 0 5px; color: var(--text); font-size: 14px; }
.voss-confirmed-grid p { margin: 0; color: var(--text-soft); font-size: 11px; line-height: 1.48; }
.featured-products-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.featured-product-card { min-width: 0; display: grid; grid-template-columns: 112px minmax(0, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-soft); }
.featured-product-media { min-height: 152px; display: grid; place-items: center; overflow: hidden; background: #0b1220; }
.featured-product-media img { width: 100%; height: 100%; max-height: 152px; display: block; object-fit: contain; padding: 8px; }
.featured-product-copy { min-width: 0; display: flex; flex-direction: column; padding: 14px; }
.featured-product-copy > small { color: var(--primary); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.featured-product-copy h3 { margin: 4px 0 9px; overflow: hidden; color: var(--text); font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.featured-product-status { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--text-soft); font-size: 9px; }
.availability-badge { width: max-content; max-width: 100%; display: inline-flex; align-items: center; gap: 5px; border: 1px solid currentColor; border-radius: 999px; padding: 4px 7px; font-size: 9px; font-weight: 850; line-height: 1; white-space: nowrap; }
.availability-badge::before { content: ''; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: currentColor; }
.availability-confirmed { color: #20a665; background: rgba(32,166,101,.09); }
.availability-verification { color: #d89614; background: rgba(216,150,20,.1); }
.availability-scheduled { color: #6f87a7; background: rgba(111,135,167,.1); }
.availability-out { color: #7e8795; background: rgba(126,135,149,.1); }
.featured-product-buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.featured-product-buy > strong { color: var(--text); font-size: 18px; }
.featured-product-buy .btn { min-height: 38px; padding: 0 12px; font-size: 10px; }
.featured-empty { grid-column: 1 / -1; }
.market-proof-section { padding-top: 0; }
.market-proof-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.market-proof-section.has-single-panel .market-proof-grid { grid-template-columns: minmax(0, 1fr); }
.market-proof-section.has-single-panel .proof-panel { width: min(100%, 720px); margin-inline: auto; }
.proof-panel { min-width: 0; border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: var(--surface); box-shadow: var(--shadow-soft); }
.proof-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.proof-panel-head h2 { margin-top: 3px; font-size: clamp(20px, 3vw, 28px); }
.proof-live-dot { width: 9px; height: 9px; border-radius: 50%; background: #20a665; box-shadow: 0 0 0 5px rgba(32,166,101,.12); }
.recent-deliveries-list,
.verified-reviews-list { display: grid; gap: 8px; }
.delivery-proof-row { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.delivery-proof-check { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: rgba(32,166,101,.13); color: #20a665; font-weight: 900; }
.delivery-proof-row div { min-width: 0; display: grid; gap: 2px; }
.delivery-proof-row strong { overflow: hidden; color: var(--text); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.delivery-proof-row small,
.delivery-proof-row time { color: var(--text-soft); font-size: 9px; }
.delivery-proof-row time { white-space: nowrap; }
.verified-review-card { min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); }
.review-stars { color: #e8a31a; font-size: 12px; letter-spacing: .08em; }
.verified-review-card p { margin: 7px 0 10px; color: var(--text); font-size: 12px; line-height: 1.5; }
.verified-review-card > div:last-child { display: grid; gap: 2px; }
.verified-review-card strong { color: var(--text); font-size: 10px; }
.verified-review-card small { color: var(--text-soft); font-size: 8px; }
.proof-empty { min-height: 100px; display: grid; place-content: center; gap: 4px; padding: 20px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; }
.proof-empty strong { color: var(--text); font-size: 12px; }
.proof-empty p { margin: 0; color: var(--text-soft); font-size: 10px; }
.product-purchase-summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px 12px; margin-top: 14px; padding: 14px; border: 1px solid #213a53; border-radius: 14px; background: rgba(255,255,255,.035); }
.product-purchase-summary > strong { color: #fff; font-size: 26px; text-align: right; }
.product-purchase-summary > span:last-child { grid-column: 1 / -1; color: #b7c5d3; font-size: 10px; }
.product-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.product-facts section { min-width: 0; padding: 12px; border: 1px solid #213a53; border-radius: 12px; background: rgba(255,255,255,.025); }
.product-facts h3 { margin: 0 0 5px; color: #fff; font-size: 10px; text-transform: uppercase; letter-spacing: .04em; }
.product-facts p { margin: 0; color: #b7c5d3; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.store-hours-status { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; margin: 18px 0; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.store-hours-indicator { width: 10px; height: 10px; border-radius: 50%; background: #8b93a5; box-shadow: 0 0 0 4px rgba(139,147,165,.12); }
.store-hours-status div { min-width: 0; display: grid; gap: 2px; }
.store-hours-status strong { color: var(--text); font-size: 12px; }
.store-hours-status small { color: var(--text-soft); font-size: 10px; line-height: 1.4; }
.store-hours-status.is-open .store-hours-indicator { background: #20a665; box-shadow: 0 0 0 4px rgba(32,166,101,.14); }
.store-hours-status.is-open strong { color: #168e59; }
.support-hours.is-closed .live-dot { background: #8b93a5; box-shadow: none; }
.support-hours.is-open .live-dot { background: #20a665; }
.support-hub-links { display: grid; gap: 7px; margin: 18px 0; }
.support-hub-links a { min-height: 52px; display: grid; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-soft); transition: border-color .18s ease, transform .18s ease; }
.support-hub-links a:hover { border-color: var(--primary); transform: translateY(-1px); }
.support-hub-links span { color: var(--text); font-size: 11px; font-weight: 850; }
.support-hub-links small { color: var(--text-soft); font-size: 9px; }

@media (max-width: 1039px) {
  .voss-confirmed-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voss-confirmed-grid article { border-bottom: 1px solid var(--line); }
  .voss-confirmed-grid article:nth-child(even) { border-right: 0; }
  .voss-confirmed-grid article:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .featured-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 699px) {
  .hero { min-height: 520px; }
  .hero h1 { font-size: clamp(36px, 10.4vw, 48px); line-height: .94; }
  .voss-confirmed-section,
  .featured-section,
  .market-proof-section { padding: 38px 0; }
  .market-proof-section { padding-top: 0; }
  .compact-section-head { align-items: flex-start; gap: 12px; margin-bottom: 17px; }
  .voss-confirmed-grid article { padding: 14px 12px; }
  .voss-confirmed-grid h3 { font-size: 13px; }
  .voss-confirmed-grid p { font-size: 10px; }
  .featured-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .featured-product-card { display: flex; flex-direction: column; }
  .featured-product-media { width: 100%; min-height: 0; aspect-ratio: 1 / 1; }
  .featured-product-media img { max-height: none; }
  .featured-product-copy { flex: 1; padding: 10px; }
  .featured-product-copy h3 { min-height: 2.5em; font-size: 13px; }
  .featured-product-status { align-items: flex-start; flex-direction: column; }
  .featured-product-buy { align-items: stretch; flex-direction: column; }
  .featured-product-buy .btn { width: 100%; }
  .market-proof-grid { grid-template-columns: 1fr; }
  .proof-panel { padding: 15px; }
  .product-facts { grid-template-columns: 1fr; }
  .product-purchase-summary > strong { font-size: 22px; }
}

html[data-theme="dark"] {
  --ocean: #168df8;
  --ocean-dark: #082b4b;
  --sky: #0d2b43;
  --sand: #10283a;
  --coral: #f24349;
  --foam: #030812;
  --white: #f7fbff;
  --muted: #a9b7c6;
  --line: #203750;
  --page-bg: #030812;
  --surface: #0a1728;
  --surface-soft: #0d2035;
  --text: #f7fbff;
  --text-soft: #afbdca;
  --header-bg: rgba(3, 8, 18, .94);
  --summer-bar: #0b2237;
  --summer-soft: #071b2d;
  --summer-water: #08243a;
  --faq-bg: #06111f;
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
  --admin-bg: #07111f;
  --admin-card: #0d1c2e;
  --admin-card-soft: #10243a;
  --admin-input: #091827;
  --admin-text: #f7fbff;
  --admin-muted: #9fb1c2;
  --admin-line: #213a53;
}

* { box-sizing: border-box; min-width: 0; }
html { width: 100%; max-width: 100%; overflow-x: clip; overscroll-behavior-x: none; scroll-behavior: smooth; }
body { position: relative; width: 100%; max-width: 100%; min-height: 100vh; min-height: 100dvh; margin: 0; overflow-x: hidden; overscroll-behavior-x: none; background: var(--page-bg); color: var(--text); font-family: var(--body); font-size: 15px; line-height: 1.55; }
body.no-scroll { overflow: hidden; overscroll-behavior: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.shell { width: min(calc(100% - 32px), var(--shell)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 200; top: 10px; left: 10px; transform: translateY(-160%); padding: 10px 14px; background: #fff; color: #000; border: 2px solid #000; font-weight: 800; }
.skip-link:focus { transform: none; }
.desktop-only { display: none; }

.live-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: #42df9a; box-shadow: 0 0 0 4px rgba(66,223,154,.12); }

.site-header { position: sticky; z-index: 40; top: 0; background: rgba(248,253,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-main { min-height: 68px; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; gap: 9px; }
.brand img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.brand > span { display: none; flex-direction: column; line-height: .86; }
.brand strong, .brand small { font-family: var(--display); letter-spacing: .03em; }
.brand strong { color: #0878d7; font-size: 18px; }
.brand small { color: #f03a34; font-size: 11px; }
.header-search { position: relative; min-width: 0; flex: 1; display: flex; align-items: center; gap: 11px; height: 52px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.search-leading-icon { width: 20px; height: 20px; flex: 0 0 20px; color: var(--ocean); }
.header-search input { min-width: 0; width: 100%; height: 50px; border: 0; outline: 0; background: transparent; color: var(--ink); padding: 0; font-size: 16px; line-height: 50px; }
.header-search input::placeholder { color: #91a3ae; }
.header-search input:focus { border: 0; box-shadow: none; }
.header-search input:focus-visible { outline: 0; }
.header-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent), 0 10px 28px rgba(6,16,31,.1); }
.search-close:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 35%, transparent); outline-offset: 2px; }
.search-panel { position: absolute; z-index: 80; top: calc(100% + 10px); left: 0; width: 100%; max-height: min(62dvh, 520px); overflow: hidden auto; overscroll-behavior: contain; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); color: var(--text); box-shadow: 0 22px 60px rgba(2,12,24,.2); }
.search-panel-head { position: sticky; z-index: 2; top: 0; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); background: var(--surface); padding: 8px 10px 8px 16px; }
.search-panel-head strong { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.search-close { width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--text-soft); padding: 0; font-size: 24px; line-height: 1; cursor: pointer; }
.search-close:hover { background: var(--surface-soft); color: var(--text); }
.search-status { min-height: 20px; margin: 0; padding: 10px 16px 3px; color: var(--text-soft); font-size: 11px; }
.search-recent { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 12px 4px; }
.search-recent:empty { display: none; }
.search-recent-chip { min-height: 34px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-soft); color: var(--text); padding: 5px 7px 5px 11px; font-size: 10px; cursor: pointer; }
.search-recent-chip span { max-width: 18ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-recent-remove { width: 22px; height: 22px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--text-soft); padding: 0; cursor: pointer; }
.search-recent-remove:hover { background: var(--surface); color: var(--text); }
.search-results { display: grid; gap: 4px; padding: 5px 8px 10px; }
.search-result { min-width: 0; width: 100%; min-height: 60px; display: grid; grid-template-columns: 46px minmax(0,1fr) auto; align-items: center; gap: 11px; border: 0; border-radius: 14px; background: transparent; color: var(--text); padding: 7px 9px; text-align: left; cursor: pointer; }
.search-result:hover,
.search-result.is-active { background: var(--surface-soft); }
.search-result img { width: 46px; height: 46px; border-radius: 11px; background: #0b1220; object-fit: contain; padding: 4px; box-sizing: border-box; }
.search-result-copy { min-width: 0; display: flex; flex-direction: column; }
.search-result-copy strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.search-result-copy small { overflow: hidden; color: var(--text-soft); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.search-result-price { color: var(--primary); font-size: 11px; font-weight: 800; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.region-trigger { min-width: 112px; max-width: 164px; height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); padding: 0 11px; cursor: pointer; box-shadow: 0 6px 18px rgba(6,16,31,.06); transition: transform .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.region-trigger:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--primary) 55%, var(--line)); box-shadow: 0 10px 24px rgba(6,16,31,.11); }
.region-trigger:active { transform: scale(.97); }
.region-trigger-flag { font-size: 20px; line-height: 1; }
.region-trigger-language { min-width: 0; overflow: hidden; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.region-trigger svg { flex: 0 0 14px; color: var(--text-soft); }
.region-trigger:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 34%, transparent); outline-offset: 2px; border-color: var(--primary); }
.header-link, .cart-trigger { height: 42px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); background: #fff; padding: 0 11px; cursor: pointer; }
.header-link b, .cart-trigger b { display: none; font-size: 11px; }
.cart-trigger { position: relative; background: var(--ink); border-color: var(--ink); color: #fff; }
.cart-icon { width: 22px; height: 22px; flex: 0 0 22px; color: var(--sun); }
.cart-trigger em { min-width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: var(--sun); color: var(--ink); font-size: 10px; font-style: normal; font-weight: 900; }
.menu-trigger { width: 44px; height: 44px; display: none; place-items: center; flex: 0 0 44px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--text); padding: 0; cursor: pointer; }
.menu-trigger:hover { border-color: var(--primary); }
.menu-trigger:active { transform: scale(.96); }
.category-bar { border-top: 1px solid var(--line); background: var(--sand); }
.category-scroll { min-height: 48px; display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.category-scroll::-webkit-scrollbar { display: none; }
.category-pill { flex: 0 0 auto; min-height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(6,21,37,.14); background: transparent; padding: 5px 11px; color: #475969; font-family: var(--display); font-size: 11px; cursor: pointer; }
.category-pill:hover, .category-pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }

.hero { position: relative; min-height: 650px; display: grid; align-items: end; overflow: hidden; background: #168ec9; color: #fff; }
.hero-bg, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg { object-fit: cover; object-position: 61% center; }
.hero-shade { background: linear-gradient(90deg, rgba(3,27,46,.92) 0%, rgba(3,27,46,.7) 45%, rgba(3,27,46,.12) 78%), linear-gradient(0deg, rgba(3,27,46,.45), transparent 45%); }
.hero-content { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 62px; }
.event-tag { display: flex; align-items: center; gap: 9px; color: var(--sun); font-family: var(--display); font-size: 11px; letter-spacing: .09em; }
.event-tag i { width: 26px; height: 2px; background: var(--sun); }
.hero h1 { max-width: 760px; margin: 17px 0 18px; font-family: var(--display); font-size: clamp(58px, 15vw, 106px); font-weight: 700; letter-spacing: -.055em; line-height: .73; text-shadow: 5px 6px 0 rgba(3,27,46,.35); }
.hero h1 span { color: var(--sun); }
.hero-content > p { max-width: 590px; margin: 0; color: rgba(255,255,255,.88); font-size: 16px; }
.hero-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid transparent; background: var(--ink); color: #fff; padding: 10px 16px; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .02em; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled, .btn[aria-disabled="true"] { cursor: not-allowed; opacity: .52; transform: none; box-shadow: none; }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(255,212,71,.65); outline-offset: 2px; }
.btn-lg { min-height: 50px; padding: 13px 19px; font-size: 13px; }
.btn-full { width: 100%; }
.btn-sun { background: var(--sun); border-color: var(--sun); color: var(--ink); box-shadow: 0 8px 0 #b98712; }
.btn-sun:hover { box-shadow: 0 5px 0 #b98712; transform: translateY(3px); }
.btn-glass { border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.08); color: #fff; backdrop-filter: blur(8px); }
.btn-primary { background: var(--ocean); border-color: var(--ocean); }
.btn-secondary { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-discord { background: #5865f2; border-color: #5865f2; }
.btn-whatsapp { background: #20b968; border-color: #20b968; }
.hero-proof { display: grid; gap: 8px; margin-top: 38px; color: rgba(255,255,255,.72); font-size: 11px; }
.hero-proof span { display: flex; align-items: baseline; gap: 7px; }
.hero-proof b { color: #fff; font-family: var(--display); font-size: 13px; }
.hero-ticket { display: none; }

.trust-strip { background: var(--ink); color: #fff; }
.trust-grid { display: grid; }
.trust-grid article { min-height: 76px; display: flex; align-items: center; gap: 13px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.trust-grid article:last-child { border-bottom: 0; }
.trust-grid article > span { color: var(--sun); font-family: var(--display); font-size: 12px; }
.trust-grid article div { display: flex; flex-direction: column; }
.trust-grid b { font-family: var(--display); font-size: 12px; }
.trust-grid small { color: rgba(255,255,255,.55); font-size: 10px; }

.catalog-section, .process-section, .community-section, .faq-section { padding: 74px 0; }
.catalog-section { background: var(--foam); }
.section-head { display: flex; flex-direction: column; gap: 24px; }
.eyebrow { margin: 0 0 9px; color: var(--ocean); font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h2, h3 { margin: 0; }
h2 { font-family: var(--display); font-size: clamp(36px, 8vw, 58px); line-height: .9; letter-spacing: -.04em; }
h2 span { color: var(--coral); }
.catalogo-titulo { max-width: 100%; display: block; line-height: 1; }
.catalogo-titulo .catalogo-prefijo { color: inherit; }
.catalogo-titulo .rotador { position: relative; width: 6.5em; min-width: 0; max-width: 100%; height: 1em; display: inline-flex; align-items: baseline; overflow: hidden; color: #4f8ef7; line-height: inherit; text-align: left; vertical-align: baseline; }
.catalogo-titulo .rotador .palabra { position: absolute; left: 0; top: .078em; color: #4f8ef7; opacity: 0; line-height: inherit; white-space: nowrap; transform: translateY(20px); animation: rotarPalabra 10s cubic-bezier(.4, 0, .2, 1) infinite both; animation-play-state: running; }
.catalogo-titulo .rotador .palabra:nth-child(1) { animation-delay: 0s; }
.catalogo-titulo .rotador .palabra:nth-child(2) { animation-delay: 2s; }
.catalogo-titulo .rotador .palabra:nth-child(3) { animation-delay: 4s; }
.catalogo-titulo .rotador .palabra:nth-child(4) { animation-delay: 6s; }
.catalogo-titulo .rotador .palabra:nth-child(5) { animation-delay: 8s; }
@keyframes rotarPalabra {
  0% { opacity: 0; transform: translateY(20px); }
  4%, 18% { opacity: 1; transform: translateY(0); }
  22%, 100% { opacity: 0; transform: translateY(-20px); }
}
.section-head > div:first-child > p:last-child, .process-intro > p:not(.eyebrow), .community-copy > p:not(.eyebrow), .faq-layout > div:first-child > p:last-child { max-width: 620px; margin: 14px 0 0; color: var(--muted); }
.catalog-controls label { display: flex; flex-direction: column; gap: 4px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }
select, input, textarea { width: 100%; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 11px 12px; outline: 0; }
select:focus, input:focus, textarea:focus { border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(11,102,128,.11); }
.catalog-controls select { min-width: 220px; }
.catalog-meta { display: flex; justify-content: space-between; gap: 14px; margin: 28px 0 12px; color: var(--muted); font-size: 11px; }
.catalog-meta b { color: var(--ink); font-family: var(--display); font-size: 12px; }
.catalog-meta span { display: none; }
.game-grid { display: grid; grid-auto-rows: 1fr; align-items: stretch; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.game-card { position: relative; min-width: 0; height: 100%; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 8px 24px rgba(7,63,87,.06); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.game-card:hover { transform: translateY(-4px); border-color: #9ac4d2; box-shadow: 0 17px 36px rgba(7,63,87,.13); }
.game-card:focus-within { border-color: var(--ocean); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ocean) 18%, transparent), 0 17px 36px rgba(7,63,87,.13); }
.game-cover { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #d7eff5; }
.game-cover::after { display: none; }
.game-cover img,
.category-image-cover { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .35s ease; }
.catalog-image-loading {
  background: linear-gradient(100deg, #07111f 24%, #17324f 45%, #07111f 66%);
  background-size: 230% 100%;
  animation: catalog-image-loading 1.15s linear infinite;
}
.catalog-image-loading.is-loaded { animation: none; }
@keyframes catalog-image-loading { to { background-position: -230% 0; } }
.game-card:hover .game-cover img { transform: scale(1.045); }
.game-badge,
.game-time { display: none; }
.game-card-body { min-width: 0; flex: 1; display: flex; flex-direction: column; padding: 13px; }
.game-card-body h3 { min-height: 34px; display: -webkit-box; overflow: hidden; font-family: var(--display); font-size: 17px; line-height: 1; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.game-card-body p { min-height: 32px; display: -webkit-box; margin: 8px 0 8px; overflow: hidden; color: var(--muted); font-size: 11px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.game-delivery { min-height: 29px; display: -webkit-box; margin: 0 0 10px; overflow: hidden; color: var(--muted); font-size: 9px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.no-js .game-card-body::after { display: none; content: none; }
.no-js .game-card-meta { order: 3; }
.game-card-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; padding-top: 11px; border-top: 1px solid var(--line); }
.game-card-body .game-card-meta { margin-top: auto; }
.game-price small { display: block; color: var(--muted); font-size: 8px; text-transform: uppercase; }
.game-price strong { color: var(--ocean); font-family: var(--display); font-size: 19px; }
.game-card .view-game { min-height: 34px; padding: 7px 9px; font-size: 9px; }
.catalog-static-product-list { display: none; }
.no-js .catalog-static-product-list { display: grid; gap: 5px; margin: 0 0 12px; padding: 0; list-style: none; }
.no-js .catalog-static-product-list li { display: flex; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.no-js .catalog-static-product-list span { min-width: 0; overflow-wrap: anywhere; }
.no-js .catalog-static-product-list strong { flex: 0 0 auto; color: var(--ocean); }
.no-js .game-card .view-game { display: none; }
.empty-state { padding: 60px 20px; border: 1px dashed #a7c2cb; text-align: center; }
.empty-state strong { font-family: var(--display); font-size: 24px; }
.empty-state p { margin: 8px 0 18px; color: var(--muted); }

.process-section { background: var(--sand); }
.process-layout { display: grid; gap: 38px; }
.text-link { display: inline-flex; gap: 10px; margin-top: 22px; color: var(--ocean); font-family: var(--display); font-size: 12px; font-weight: 700; }
.process-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(6,21,37,.14); }
.process-steps li { display: grid; grid-template-columns: 48px 1fr; gap: 13px; padding: 20px 0; border-bottom: 1px solid rgba(6,21,37,.14); }
.process-steps li > span { color: var(--coral); font-family: var(--display); font-size: 14px; }
.process-steps h3 { font-family: var(--display); font-size: 19px; }
.process-steps p { margin: 5px 0 0; color: #68716e; font-size: 12px; }

.track-banner { padding: 0 0 74px; background: var(--sand); }
.track-card { padding: 28px 22px; background: var(--ocean-dark); color: #fff; box-shadow: var(--shadow); }
.track-card .eyebrow { color: var(--sun); }
.track-card h2 span { color: var(--sun); }
.track-card > div > p:last-child { max-width: 540px; margin: 12px 0 0; color: rgba(255,255,255,.7); }
.track-mini { display: grid; gap: 10px; margin-top: 24px; }
.track-mini label, .checkout-form label { display: flex; flex-direction: column; gap: 5px; }
.track-mini label > span, .checkout-form label > span { font-size: 10px; font-weight: 800; }
.track-mini input { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.08); color: #fff; }
.track-mini input::placeholder { color: rgba(255,255,255,.45); }

.community-section { background: #e3f7fc; }
.community-layout { display: grid; gap: 30px; align-items: center; }
.community-art { width: 100%; max-width: 640px; position: relative; overflow: hidden; background: var(--ink); box-shadow: 12px 12px 0 var(--sun); }
.community-art img { width: 100%; height: auto; display: block; aspect-ratio: 1400 / 987; object-fit: contain; }
.support-hours { display: flex; align-items: center; gap: 13px; margin: 22px 0; }
.support-hours div { display: flex; flex-direction: column; }
.support-hours b { font-family: var(--display); font-size: 13px; }
.support-hours small { color: var(--muted); font-size: 10px; }
.community-actions { display: flex; flex-direction: column; gap: 9px; }

.faq-section { background: #fff; }
.faq-layout { display: grid; gap: 30px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 0; background: transparent; padding: 18px 0; text-align: left; font-family: var(--display); font-size: 14px; cursor: pointer; }
.faq-question::after { content: "+"; color: var(--ocean); font-family: var(--body); font-size: 22px; }
.faq-item.open .faq-question::after { content: "−"; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .22s ease; }
.faq-answer p { margin: 0; padding: 0 34px 19px 0; color: var(--muted); font-size: 12px; }

.site-footer { background: var(--ink); color: #fff; }
.footer-grid { display: grid; gap: 30px; padding-top: 50px; padding-bottom: 35px; }
.footer-brand .brand > span { display: flex; }
.footer-brand p { max-width: 380px; margin: 15px 0 0; color: rgba(255,255,255,.6); font-size: 12px; }
.footer-social-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-grid h3 { margin: 0 0 4px; color: var(--sun); font-family: var(--display); font-size: 13px; }
.footer-grid a, .footer-grid button { border: 0; background: none; padding: 0; color: rgba(255,255,255,.62); font-size: 11px; cursor: pointer; }
.footer-grid a:hover, .footer-grid button:hover { color: #fff; }
.footer-grid .footer-social-channel { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; text-decoration: none; }
.footer-social-channel-icon { width: 24px; height: 24px; max-width: 24px; max-height: 24px; flex: 0 0 24px; object-fit: contain; }
.footer-social-channel > span { display: flex; min-width: 0; flex-direction: column; gap: 1px; line-height: 1.15; }
.footer-social-channel strong { color: inherit; font-size: 11px; font-weight: 600; }
.footer-social-channel small { color: rgba(255,255,255,.45); font-size: 9px; }
.footer-social-channel:hover small { color: rgba(255,255,255,.75); }
.footer-bottom { display: flex; flex-direction: column; gap: 6px; padding: 18px 0 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.42); font-size: 9px; }

.drawer-layer, .modal-layer { position: fixed; inset: 0; z-index: 90; }
.drawer-layer { display: flex; justify-content: flex-end; }
.drawer-backdrop, .modal-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(3,17,28,.7); backdrop-filter: blur(5px); }
.drawer { position: relative; z-index: 1; width: min(100%, 460px); height: 100%; display: flex; flex-direction: column; background: #fff; box-shadow: -20px 0 70px rgba(3,17,28,.28); }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px; border-bottom: 1px solid var(--line); }
.drawer-head small { color: var(--ocean); font-family: var(--display); font-size: 9px; letter-spacing: .1em; }
.drawer-head h2 { margin-top: 3px; font-size: 38px; }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; font-size: 24px; cursor: pointer; }
.cart-lines { flex: 1; overflow-y: auto; padding: 14px 22px; }
.cart-line { display: grid; grid-template-columns: 62px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 62px; height: 62px; flex-shrink: 0; border-radius: 10px; background: #0b1220; object-fit: contain; padding: 4px; box-sizing: border-box; }
.cart-line-top { display: flex; justify-content: space-between; gap: 12px; }
.cart-line h3 { font-family: var(--display); font-size: 13px; }
.cart-line small { display: block; color: var(--muted); font-size: 9px; }
.cart-line strong { color: var(--ocean); font-family: var(--display); font-size: 14px; }
.cart-line-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 9px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 27px; height: 26px; border: 0; background: #f1f7f9; cursor: pointer; }
.qty span { min-width: 28px; text-align: center; font-size: 11px; font-weight: 800; }
.remove-line { border: 0; background: none; color: #ba4c3d; padding: 0; font-size: 10px; cursor: pointer; }
.cart-empty { margin: auto; padding: 40px 22px; text-align: center; }
.cart-empty > span { display: block; color: var(--ocean); font-family: var(--display); font-size: 42px; }
.cart-empty h3 { font-family: var(--display); font-size: 20px; }
.cart-empty p { margin: 6px 0 18px; color: var(--muted); font-size: 12px; }
.cart-summary { padding: 18px 22px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #f5fafc; }
.cart-summary > div { display: flex; justify-content: space-between; align-items: baseline; }
.cart-summary > div span { font-size: 12px; font-weight: 700; }
.cart-summary > div strong { color: var(--ocean); font-family: var(--display); font-size: 24px; }
.cart-summary p { margin: 7px 0 15px; color: var(--muted); font-size: 10px; }

.modal-layer { display: grid; place-items: center; padding: 14px; overflow: hidden; overscroll-behavior: contain; }
.locale-layer { place-items: end center; padding: 0; }
.locale-backdrop { background: rgba(2,7,17,.62); backdrop-filter: blur(12px) saturate(120%); animation: locale-fade-in .24s both ease-out; }
.locale-sheet { position: relative; z-index: 2; width: min(100%, 980px); max-height: min(92dvh, 860px); display: flex; flex-direction: column; overflow: hidden; border: 1px solid color-mix(in srgb, var(--line) 78%, transparent); border-radius: 26px 26px 0 0; background: color-mix(in srgb, var(--surface) 94%, transparent); color: var(--text); box-shadow: 0 -24px 80px rgba(0,7,18,.28); backdrop-filter: blur(24px) saturate(135%); animation: locale-sheet-in .34s both cubic-bezier(.2,.82,.2,1); will-change: transform, opacity; }
.locale-sheet.is-dragging { animation: none; transition: none; }
.locale-grabber { width: 56px; height: 24px; flex: 0 0 24px; align-self: center; position: relative; border: 0; background: transparent; padding: 0; cursor: grab; touch-action: none; }
.locale-grabber::after { content: ""; position: absolute; left: 50%; top: 9px; width: 38px; height: 5px; border-radius: 999px; background: color-mix(in srgb, var(--text-soft) 38%, transparent); transform: translateX(-50%); }
.locale-grabber:active { cursor: grabbing; }
.locale-sheet-head { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 12px 20px 17px; border-bottom: 1px solid var(--line); }
.locale-sheet-head .eyebrow { margin-bottom: 6px; }
.locale-sheet-head h2 { padding-right: 40px; font-size: clamp(25px, 6vw, 38px); line-height: 1.05; letter-spacing: -.035em; }
.locale-sheet-head p:last-child { margin: 8px 44px 0 0; color: var(--text-soft); font-size: 12px; }
.locale-close { position: absolute; top: 8px; right: 14px; border-radius: 50%; }
.locale-current { margin: 15px 16px 0; display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid color-mix(in srgb, var(--primary) 28%, var(--line)); border-radius: 18px; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 12%, var(--surface)), color-mix(in srgb, var(--accent) 5%, var(--surface))); }
.locale-current-flag { font-size: 30px; line-height: 1; }
.locale-current div { min-width: 0; display: flex; flex-direction: column; }
.locale-current strong { font-size: 14px; }
.locale-current small { margin-top: 2px; color: var(--text-soft); font-size: 11px; }
.locale-preference-grid { min-height: 0; flex: 1; display: grid; gap: 18px; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 22px; scroll-behavior: smooth; }
.locale-group { min-width: 0; }
.locale-group-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.locale-group-head > span { min-width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: color-mix(in srgb, var(--primary) 12%, var(--surface)); color: var(--primary); font-size: 9px; font-weight: 800; }
.locale-group-head h3 { margin: 0; font-size: 15px; }
.locale-group-head p { margin: 2px 0 0; color: var(--text-soft); font-size: 10px; }
.locale-options { display: grid; gap: 7px; }
.locale-option { width: 100%; min-height: 54px; display: grid; grid-template-columns: 34px minmax(0,1fr) 24px; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--surface) 96%, transparent); color: var(--text); padding: 8px 11px; text-align: left; cursor: pointer; transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease; }
.locale-option:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--primary) 48%, var(--line)); background: color-mix(in srgb, var(--primary) 6%, var(--surface)); }
.locale-option:active { transform: scale(.985); }
.locale-option:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 30%, transparent); outline-offset: 1px; border-color: var(--primary); }
.locale-option.is-selected { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, var(--surface)); box-shadow: 0 8px 22px color-mix(in srgb, var(--primary) 12%, transparent); }
.locale-option-symbol { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; background: var(--surface-soft); font-size: 19px; font-weight: 800; line-height: 1; }
.locale-option-copy { min-width: 0; display: flex; flex-direction: column; }
.locale-option-copy strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.locale-option-copy small { margin-top: 2px; overflow: hidden; color: var(--text-soft); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.locale-option-check { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: transparent; font-size: 11px; font-weight: 900; }
.locale-option.is-selected .locale-option-check { border-color: var(--primary); background: var(--primary); color: #fff; }
.locale-sheet-foot { display: flex; flex-direction: column; gap: 11px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 90%, transparent); }
.locale-sheet-foot p { margin: 0; color: var(--text-soft); font-size: 9px; line-height: 1.5; }
.locale-sheet-foot .btn { width: 100%; min-height: 48px; border-radius: 14px; }
@keyframes locale-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes locale-sheet-in { from { opacity: 0; transform: translateY(42px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (min-width: 700px) {
  .locale-layer { place-items: start end; padding: 82px max(32px, calc((100vw - var(--shell)) / 2)) 24px 24px; }
  .locale-sheet { width: min(680px, calc(100vw - 56px)); max-height: calc(100dvh - 106px); border-radius: 24px; box-shadow: 0 30px 100px rgba(0,7,18,.34); animation-name: locale-popover-in; }
  .locale-grabber { display: none; }
  .locale-sheet-head { padding: 20px 24px 17px; }
  .locale-sheet-head h2 { font-size: 31px; }
  .locale-close { top: 15px; right: 18px; }
  .locale-current { margin: 14px 20px 0; }
  .locale-preference-grid { grid-template-columns: 1fr; gap: 20px; padding: 18px 20px 22px; }
  .locale-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .locale-sheet-foot { flex-direction: row; align-items: center; justify-content: space-between; padding: 16px 24px; }
  .locale-sheet-foot p { max-width: 620px; }
  .locale-sheet-foot .btn { width: auto; min-width: 170px; }
}
@media (max-width: 699px) {
  .region-trigger { min-width: 86px; max-width: 104px; height: 42px; gap: 5px; padding: 0 8px; }
  .region-trigger-flag { font-size: 18px; }
  .region-trigger svg { display: none; }
  .locale-option { min-height: 58px; }
}

@media (min-width: 760px) and (max-width: 899px) {
  .catalog-section .section-head {
    flex-wrap: wrap;
  }

  .catalog-section .section-head > div:first-child {
    min-width: 0;
    flex: 1 1 420px;
  }

  .catalog-section .catalog-controls {
    min-width: 0;
    flex: 0 1 220px;
  }

  .catalog-section .catalog-controls select {
    min-width: 0;
  }
}

/* Preserve the compact visual controls while providing a 44px touch target. */
@media (max-width: 899px) {
  body:not(.subpage):not(.admin-page) .category-pill,
  .game-card .view-game,
  .region-trigger,
  .theme-toggle,
  .cart-trigger,
  .btn {
    position: relative;
  }

  body:not(.subpage):not(.admin-page) .category-pill::before,
  .game-card .view-game::before,
  .region-trigger::before,
  .theme-toggle::before,
  .cart-trigger::before,
  .btn::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 0;
    left: 0;
    height: 44px;
    transform: translateY(-50%);
  }
}
@media (max-width: 360px) {
  .region-trigger { min-width: 70px; max-width: 76px; padding-inline: 6px; }
  .region-trigger-language { font-size: 9px; }
}
@keyframes locale-popover-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
.product-modal, .variant-detail-modal, .checkout-modal, .terms-modal { position: relative; z-index: 1; width: min(100%, 940px); max-height: calc(100vh - 28px); overflow-y: auto; background: #fff; box-shadow: var(--shadow); }
.modal-x { position: absolute; z-index: 4; right: 12px; top: 12px; }
.product-modal { display: grid; }
.product-cover { min-height: 280px; background: #d9eef3; }
.product-cover img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
.product-detail { padding: 28px 22px; }
.product-detail h2 { font-size: clamp(36px, 8vw, 54px); }
.product-detail > p:not(.eyebrow) { margin: 12px 0 18px; color: var(--muted); font-size: 13px; }
.variant-list { display: grid; gap: 8px; }
.variant { min-width: 0; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid #213a53; border-radius: 12px; background: #0b1727; color: #f7fbff; transition: border-color .18s ease, background-color .18s ease, transform .18s ease; }
.variant-thumbnail { width: 64px; height: 64px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin: 0; overflow: hidden; border-radius: 10px; background: #0b1220; }
.variant:hover { border-color: #31577b; background: #0e1d30; }
.variant:focus-within { border-color: #168df8; box-shadow: 0 0 0 3px rgba(22,141,248,.14); }
.variant-image { width: 100%; height: 100%; display: block; border-radius: inherit; object-fit: contain; object-position: center; padding: 4px; box-sizing: border-box; transform: none; transition: transform .25s ease; }
.variant-thumbnail[data-thumbnail-mode="auto-crop"] .variant-image {
  object-fit: contain;
  object-position: center;
  transform: none;
  transform-origin: center;
}
.variant-thumbnail[data-thumbnail-mode="placeholder"] .variant-image { padding: 10px; opacity: .46; }
.variant.is-sold-out { opacity: .62; }
.variant.active { border-color: #168df8; background: #0d2137; }
.variant h3 { display: -webkit-box; overflow: hidden; font-family: var(--display); font-size: 13px; line-height: 1.25; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.variant small { display: -webkit-box; margin-top: 3px; overflow: hidden; color: #a9b7c6; font-size: 9px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.variant-copy { min-width: 0; }
.variant-read-more { display: block; width: max-content; max-width: 100%; min-height: 28px; margin-top: 2px; border: 0; background: transparent; color: #64afff; padding: 4px 0 0; font-size: 9px; font-weight: 800; cursor: pointer; }
.variant-actions { display: flex; align-items: center; gap: 8px; }
.variant-actions .btn-sun { box-shadow: none; }
.variant-price { color: var(--ocean); font-family: var(--display); font-size: 16px; }
.variant .btn { min-height: 34px; padding: 7px 9px; font-size: 9px; }
.variant-detail-modal {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.1fr);
  width: min(100%, 1040px);
  max-height: min(820px, calc(100dvh - 28px));
  overflow: hidden;
  border: 1px solid #213a53;
  border-radius: 22px;
  background: #07111f;
  color: #f7fbff;
  box-shadow: 0 28px 90px rgba(0,0,0,.52);
}
.variant-detail-media { position: relative; isolation: isolate; contain: paint; min-height: 390px; overflow: hidden; background: radial-gradient(circle at 50% 46%, #17324f 0, #07111f 70%); }
.variant-detail-media img { position: absolute; z-index: 0; inset: 28px; width: calc(100% - 56px); height: calc(100% - 56px); max-width: none; max-height: none; display: block; object-fit: contain; object-position: center; image-rendering: auto; }
.variant-detail-copy { position: relative; z-index: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; overflow-x: hidden; overflow-y: auto; padding: 38px 30px; background: linear-gradient(180deg, #0d1c2e, #091726); scrollbar-gutter: stable; overscroll-behavior: contain; }
.variant-detail-copy .eyebrow { color: #64afff; }
.variant-detail-copy h2 { max-width: 18ch; margin-top: 5px; color: #fff; font-size: clamp(30px, 6vw, 48px); line-height: 1.05; overflow-wrap: anywhere; word-break: normal; }
.variant-detail-copy > .variant-detail-description { max-width: 62ch; margin: 14px 0 0; overflow: visible; color: #c2cfdd; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; word-break: normal; white-space: normal; }
.variant-detail-description.is-collapsed { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.variant-detail-read-more { width: max-content; max-width: 100%; min-height: 36px; margin: 4px 0 18px; border: 0; background: transparent; color: #64afff; padding: 6px 0; font-size: 11px; font-weight: 800; cursor: pointer; }
.variant-detail-read-more[hidden] + .variant-benefits { margin-top: 20px; }
.variant-detail-read-more:hover { color: #fff; }
.variant-detail-read-more:focus-visible { border-radius: 5px; outline: 2px solid #168df8; outline-offset: 3px; }
.variant-classification { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; }
.variant-classification:empty { display: none; }
.variant-classification > div { min-width: 0; display: grid; gap: 3px; padding: 10px 11px; border: 1px solid #213a53; border-radius: 10px; background: rgba(7,17,31,.36); }
.variant-classification dt { color: #8ea3b8; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.variant-classification dd { min-width: 0; margin: 0; color: #fff; font-size: 11px; font-weight: 800; overflow-wrap: anywhere; }

html[dir="rtl"] .search-result { text-align: right; }
html[dir="rtl"] .search-close { margin-left: 0; margin-right: auto; }
.variant-benefits { margin: 0 0 20px; padding: 15px; border: 1px solid #213a53; border-radius: 14px; background: #0b1727; }
.variant-benefits h3 { color: #fff; font-family: var(--display); font-size: 13px; line-height: 1.3; }
.variant-benefits ul { display: grid; gap: 7px; margin: 10px 0 0; padding: 0; list-style: none; }
.variant-benefits li { position: relative; padding-left: 17px; color: #b7c5d3; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.variant-benefits li::before { content: "✓"; position: absolute; left: 0; color: #39c37b; font-weight: 900; }
.variant-detail-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding: 14px 0; border-block: 1px solid #213a53; color: #b7c5d3; font-size: 12px; }
.variant-detail-meta strong { color: #78e6ad; }
.variant-detail-meta strong.is-sold-out { color: var(--accent); }
.variant-detail-buy { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.variant-detail-buy > strong { color: #fff; font-family: var(--display); font-size: 30px; }
.variant-detail-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-detail-actions .btn { min-height: 44px; }
.variant-detail-actions .btn-sun { box-shadow: none; }
.variant-detail-modal .modal-x { width: 44px; height: 44px; border-color: #31577b; border-radius: 50%; background: rgba(7,17,31,.88); color: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.24); backdrop-filter: blur(10px); }
.variant-detail-modal .modal-x:hover { border-color: #64afff; background: #102b47; }
.variant-detail-modal .modal-x:focus-visible { outline: 3px solid rgba(22,141,248,.4); outline-offset: 2px; }
.product-note { display: flex; flex-direction: column; gap: 2px; margin-top: 15px; padding: 11px; border-left: 3px solid var(--sun); background: var(--sand); }
.product-note b { font-family: var(--display); font-size: 11px; }
.product-note span { color: var(--muted); font-size: 9px; }

.checkout-modal { display: grid; max-width: 900px; }
.checkout-info { padding: 27px 22px; background: var(--ocean-dark); color: #fff; }
.checkout-info .eyebrow { color: var(--sun); }
.checkout-info h2 { font-size: clamp(30px, 8vw, 47px); line-height: 1; }
.checkout-info h2 span { color: var(--sun); }
.checkout-reassurance { display: grid; gap: 8px; margin: 17px 0 0; padding: 0; list-style: none; }
.checkout-reassurance li { display: grid; grid-template-columns: 20px minmax(0,1fr); align-items: start; gap: 9px; color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.45; }
.checkout-reassurance svg { width: 18px; height: 18px; fill: none; stroke: #74b6ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.checkout-reassurance strong { color: #fff; }
.checkout-items { display: grid; gap: 9px; max-height: 210px; overflow-y: auto; margin-top: 20px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); }
.checkout-item { display: grid; grid-template-columns: 46px minmax(0,1fr) auto; align-items: center; gap: 10px; min-width: 0; padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.11); }
.checkout-item img { width: 46px; height: 46px; display: block; object-fit: contain; padding: 4px; border-radius: 9px; background: #0b1727; }
.checkout-item-copy { min-width: 0; display: grid; gap: 2px; }
.checkout-item-copy strong { overflow: hidden; color: #fff; font-size: 11px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.checkout-item-copy small { color: rgba(255,255,255,.58); font-size: 9px; }
.checkout-item-price { color: #fff; font-size: 11px; white-space: nowrap; }
.checkout-summary { min-width: 0; display: grid; gap: 8px; margin-top: 14px; }
.checkout-summary-row { min-width: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; }
.checkout-summary-row > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.checkout-subtotal { color: rgba(255,255,255,.66); font-size: 11px; }
.checkout-subtotal strong { color: rgba(255,255,255,.72); font-size: 12px; font-weight: 700; }
.checkout-discount { color: #5ec26a; font-size: 11px; }
.checkout-discount-value { display: inline-flex; align-items: center; justify-content: flex-end; gap: 7px; white-space: nowrap; }
.checkout-discount-value strong { color: #5ec26a; font-size: 12px; }
#removeCheckoutCoupon { width: 28px; height: 28px; min-width: 28px; min-height: 28px; display: inline-grid; flex: 0 0 28px; place-items: center; padding: 0; border: 1px solid rgba(94,194,106,.42); border-radius: 50%; background: transparent; color: #5ec26a; font: 800 16px/1 Arial,sans-serif; cursor: pointer; }
#removeCheckoutCoupon:hover { background: rgba(94,194,106,.12); }
#removeCheckoutCoupon:focus-visible { outline: 2px solid #5ec26a; outline-offset: 2px; }
.checkout-total { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.checkout-total.has-discount { margin-top: 2px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.16); }
.checkout-total > span:first-child { font-size: 11px; font-weight: 800; }
.checkout-total-values { min-width: 0; display: inline-flex; align-items: baseline; justify-content: flex-end; gap: 8px; }
.checkout-total-values s { color: rgba(255,255,255,.52); font-size: 11px; font-weight: 700; }
.checkout-total strong { color: #fff; font-size: 27px; }
.checkout-form { min-width: 0; padding: 24px 20px; background: var(--surface); }
.checkout-essential-fields { display: grid; gap: 13px; }
.checkout-contact { min-width: 0; margin: 0; padding: 0; border: 0; }
.checkout-contact legend { color: var(--text); font-size: 12px; font-weight: 800; line-height: 1.4; }
.checkout-contact legend b { color: var(--coral); }
.contact-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.contact-choice { position: relative; min-width: 0; min-height: 44px; display: grid !important; place-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); color: var(--text-soft); cursor: pointer; }
.contact-choice input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; pointer-events: none; }
.contact-choice span { margin: 0 !important; color: inherit !important; font-size: 11px !important; font-weight: 800 !important; }
.contact-choice:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb,var(--primary) 10%,var(--surface)); color: var(--primary); box-shadow: 0 0 0 2px color-mix(in srgb,var(--primary) 14%,transparent); }
.contact-choice:has(input:focus-visible) { outline: 3px solid color-mix(in srgb,var(--primary) 28%,transparent); outline-offset: 2px; }
.checkout-contact-fields { display: grid; }
.checkout-form label > span,
.checkout-payment legend { color: var(--text); font-size: 12px; font-weight: 800; }
.checkout-form label > span b,
.checkout-payment legend b { color: var(--coral); }
.checkout-form label > span small { margin-left: 5px; color: var(--text-soft); font-size: 9px; font-weight: 700; }
.checkout-form label > small { color: var(--text-soft); font-size: 9px; line-height: 1.45; }
.checkout-form input,
.checkout-form textarea { min-height: 48px; border-radius: 12px; font-size: 16px; }
.checkout-form input:not([type="radio"]) { height: 50px; }
.checkout-form textarea { min-height: 78px; resize: vertical; }
.checkout-payment { min-width: 0; margin: 18px 0 0; padding: 0; border: 0; }
.payment-choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-top: 8px; }
.payment-choice { position: relative; min-width: 0; min-height: 68px; display: grid !important; grid-template-columns: 31px minmax(0,1fr) 20px; align-items: center; gap: 8px !important; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); cursor: pointer; transition: border-color .18s ease, background-color .18s ease, transform .18s ease; }
.payment-choice:hover { border-color: color-mix(in srgb,var(--primary) 55%,var(--line)); }
.payment-choice:active { transform: scale(.985); }
.payment-choice:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb,var(--primary) 10%,var(--surface)); box-shadow: 0 0 0 2px color-mix(in srgb,var(--primary) 15%,transparent); }
.payment-choice input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; pointer-events: none; }
.payment-choice:has(input:focus-visible) { outline: 3px solid color-mix(in srgb,var(--primary) 30%,transparent); outline-offset: 2px; }
.payment-choice .payment-choice-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; background: #fff; color: #174ea6; }
.payment-choice-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.payment-choice > span:nth-of-type(2) { min-width: 0; display: grid; gap: 2px; }
.payment-choice strong { overflow: hidden; color: var(--text); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.payment-choice small { color: var(--text-soft); font-size: 8px; line-height: 1.3; }
.payment-choice i { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: transparent; font-size: 11px; font-style: normal; }
.payment-choice:has(input:checked) i { border-color: var(--primary); background: var(--primary); color: #fff; }
.checkout-account-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); }
.checkout-account-card > div { min-width: 0; display: grid; gap: 2px; }
.checkout-account-card small { color: var(--primary); font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.checkout-account-card strong,
.checkout-account-card span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.checkout-account-card strong { color: var(--text); font-size: 11px; }
.checkout-account-card span { color: var(--text-soft); font-size: 10px; }
.checkout-account-card .btn { min-height: 40px; padding: 0 13px; flex: 0 0 auto; }
.form-error { min-height: 1.5em; margin: 11px 0 3px; color: #d34a3f; font-size: 11px; line-height: 1.4; }
.checkout-submit-bar { position: relative; z-index: 2; padding-top: 2px; background: var(--surface); }
.checkout-submit-bar .btn { min-height: 52px; border-radius: 14px; }
.privacy-note { display: block; margin-top: 8px; color: var(--text-soft); font-size: 9px; text-align: center; }
.checkout-legal-note { max-width: 520px; margin: 8px auto 0; color: var(--text-soft); font-size: 10px; line-height: 1.5; text-align: center; }
.checkout-legal-note a { color: var(--primary); font-weight: 750; text-underline-offset: 2px; }
.checkout-more { margin-top: 15px; border-top: 1px solid var(--line); }
.checkout-more > summary,
.checkout-inline-option > summary { min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--primary); font-size: 11px; font-weight: 800; cursor: pointer; list-style: none; }
.checkout-more > summary::-webkit-details-marker,
.checkout-inline-option > summary::-webkit-details-marker { display: none; }
.checkout-more > summary span { font-size: 19px; transition: transform .2s ease; }
.checkout-more[open] > summary span { transform: rotate(45deg); }
.checkout-optional-fields { display: grid; gap: 12px; padding: 4px 0 2px; animation: checkout-fields-in .2s ease both; }
.checkout-inline-option { border-top: 1px solid var(--line); }
.checkout-coupon-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding-bottom: 4px; }
.checkout-coupon-row .btn { min-height: 48px; padding-inline: 14px; }
.checkout-option-status { min-height: 1.3em; margin: 2px 0 7px; color: var(--text-soft); font-size: 9px; }
.checkout-option-status.is-success { color: #149b58; }
.checkout-option-status.is-error { color: #d34a3f; }
@keyframes checkout-fields-in { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }
.order-success { grid-column: 1 / -1; padding: 46px 22px; text-align: center; }
.success-mark { width: 56px; height: 56px; display: grid; place-items: center; margin: 0 auto 16px; background: #dff8ea; color: #149b58; font-family: var(--display); font-size: 26px; }
.order-success .eyebrow { margin-bottom: 8px; }
.order-success > p:not(.eyebrow) { max-width: 530px; margin: 14px auto; color: var(--muted); }
.order-id-display { display: flex; flex-direction: column; gap: 10px; margin: 23px auto 15px; padding: 16px; border: 2px dashed #9cc5d2; background: #f1fafc; }
.order-id-display strong { color: var(--ocean); font-family: var(--display); font-size: clamp(22px, 7vw, 32px); }
.order-id-display button { border: 0; background: var(--ink); color: #fff; padding: 8px 12px; font-size: 10px; cursor: pointer; }
.success-buttons { display: grid; gap: 8px; max-width: 480px; margin: 20px auto 0; }
.terms-modal { max-width: 660px; padding: 30px 24px; }
.terms-modal h2 { font-size: 42px; }
.terms-modal ol { display: grid; gap: 9px; margin: 22px 0 0; padding-left: 20px; color: var(--muted); font-size: 12px; }
.terms-modal-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.terms-modal-links a { color: var(--primary); font-size: 12px; font-weight: 800; text-decoration: none; }
.terms-modal-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a { color: inherit; text-underline-offset: 2px; }
.footer-bottom a:hover { color: #fff; }
.toast { position: fixed; z-index: 150; left: 50%; bottom: 22px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 11px 15px; background: var(--ink); color: #fff; box-shadow: var(--shadow); font-size: 11px; font-weight: 700; }

/* Tracking and admin pages */
.subpage { min-height: 100vh; background: #eef9fc; }
.subpage-main { padding: 64px 0 90px; }
.subpage-hero { max-width: 760px; margin-bottom: 28px; }
.subpage-hero p:last-child { color: var(--muted); }
.page-title { margin: 0; font-family: var(--display); font-size: clamp(48px, 10vw, 82px); line-height: .82; letter-spacing: -.055em; }
.page-title span { color: var(--coral); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.track-page-card, .admin-login-card, .admin-panel { border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.track-page-card { display: grid; gap: 24px; padding: 22px; }
.track-form { display: grid; gap: 12px; }
.track-form label, .admin-login-card label { display: flex; flex-direction: column; gap: 5px; }
.track-form label > span, .admin-login-card label > span { font-size: 10px; font-weight: 800; }
.track-error, .admin-error { min-height: 1.4em; color: #c33e31; font-size: 11px; }
.tracking-result { border: 1px solid var(--line); }
.tracking-result-head { display: flex; justify-content: space-between; gap: 16px; padding: 18px; background: var(--ink); color: #fff; }
.tracking-result-head small { display: block; color: rgba(255,255,255,.5); font-size: 9px; }
.tracking-result-head strong { font-family: var(--display); font-size: 18px; }
.status-chip { align-self: flex-start; padding: 5px 8px; background: var(--sun); color: var(--ink); font-family: var(--display); font-size: 9px; }
.tracking-steps { display: grid; margin: 0; padding: 20px; list-style: none; }
.tracking-steps li { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 12px; min-height: 66px; color: #91a1aa; }
.tracking-steps li::before { content: ""; position: absolute; left: 9px; top: 21px; bottom: -1px; width: 2px; background: var(--line); }
.tracking-steps li:last-child::before { display: none; }
.tracking-steps i { width: 20px; height: 20px; display: grid; place-items: center; border: 2px solid var(--line); border-radius: 50%; background: #fff; color: transparent; font-style: normal; font-size: 9px; }
.tracking-steps li.done { color: var(--ink); }
.tracking-steps li.done i { border-color: var(--ocean); background: var(--ocean); color: #fff; }
.tracking-steps h3 { font-family: var(--display); font-size: 12px; }
.tracking-steps p { margin: 3px 0 0; font-size: 10px; }
.tracking-summary { padding: 0 20px 20px; }
.tracking-summary div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.tracking-summary span { color: var(--muted); }

.admin-header { background: var(--ink); color: #fff; }
.admin-header .header-main { justify-content: space-between; }
.admin-login-card { max-width: 480px; padding: 26px; }
.admin-login-card h2 { font-size: 36px; }
.admin-login-card > p { color: var(--muted); font-size: 12px; }
.admin-login-card form { display: grid; gap: 12px; margin-top: 20px; }
.admin-panel { overflow: hidden; }
.admin-toolbar { display: flex; flex-direction: column; gap: 13px; padding: 18px; border-bottom: 1px solid var(--line); }
.admin-toolbar div { display: flex; gap: 8px; }
.admin-toolbar input { flex: 1; }
.admin-toolbar select { width: auto; }
.admin-stats { display: grid; grid-template-columns: repeat(2, 1fr); border-bottom: 1px solid var(--line); }
.admin-stat { padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.admin-stat small { display: block; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.admin-stat strong { color: var(--ocean); font-family: var(--display); font-size: 24px; }
.admin-orders { overflow-x: auto; }
.admin-orders table { width: 100%; min-width: 850px; border-collapse: collapse; }
.admin-orders th, .admin-orders td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; font-size: 10px; vertical-align: top; }
.admin-orders th { background: #f2f8fa; color: var(--muted); font-size: 9px; text-transform: uppercase; }
.admin-orders td strong { display: block; font-family: var(--display); font-size: 11px; }
.admin-orders td small { display: block; color: var(--muted); }
.admin-orders select { min-width: 135px; padding: 7px 8px; font-size: 10px; }
.admin-empty { padding: 50px 20px; text-align: center; color: var(--muted); }

@media (min-width: 520px) {
  .brand > span { display: flex; }
  .header-link b, .cart-trigger b { display: inline; }
  .hero-cta, .community-actions { flex-direction: row; }
  .hero-cta .btn { width: auto; }
  .hero-proof { grid-template-columns: repeat(3, auto); gap: 18px; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .game-card-body { padding: 15px; }
  .game-card-body h3 { font-size: 18px; }
  .catalog-meta span { display: inline; }
  .track-mini { grid-template-columns: 1fr 1fr; }
  .track-mini .btn { grid-column: 1 / -1; }
  .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-wide { grid-column: 1 / -1; }
  .order-id-display { flex-direction: row; align-items: center; justify-content: space-between; }
  .track-form { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .track-error { grid-column: 1 / -1; }
  .admin-toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
  .admin-toolbar > div:first-child { flex: 1; }
  .admin-stats { grid-template-columns: repeat(4, 1fr); }
  .admin-stat { border-bottom: 0; }
}

@media (max-width: 600px) {
  .catalogo-titulo { font-size: clamp(20px, 6vw, 28px); white-space: nowrap; }
  .catalogo-titulo .rotador { display: inline-flex; min-width: 0; width: 5.5em; }
}

@media (min-width: 760px) {
  .desktop-only { display: inline-flex; }
  .header-main { min-height: 76px; }
  .header-search { height: 54px; }
  .category-scroll { min-height: 50px; }
  .hero { min-height: 680px; }
  .hero-content { padding-top: 105px; padding-bottom: 76px; }
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .trust-grid article { padding: 18px 20px; border-right: 1px solid rgba(255,255,255,.1); border-bottom: 0; }
  .trust-grid article:first-child { padding-left: 0; }
  .trust-grid article:last-child { border-right: 0; }
  .catalog-section, .process-section, .community-section, .faq-section { padding: 94px 0; }
  .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .process-layout { grid-template-columns: .8fr 1.2fr; gap: 80px; }
  .track-banner { padding-bottom: 94px; }
  .track-card { display: grid; grid-template-columns: .9fr 1.1fr; align-items: end; gap: 50px; padding: 40px; }
  .track-mini { margin-top: 0; }
  .community-layout { grid-template-columns: .8fr 1.2fr; gap: 80px; }
  .faq-layout { grid-template-columns: .75fr 1.25fr; gap: 80px; }
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
  .product-modal { grid-template-columns: .92fr 1.08fr; }
  .product-cover { min-height: 620px; }
  .product-cover img { max-height: none; }
  .product-detail { align-self: center; padding: 44px; }
  .checkout-modal { grid-template-columns: .82fr 1.18fr; }
  .checkout-info { padding: 42px 34px; }
  .checkout-form { padding: 38px 34px; }
  .track-page-card { grid-template-columns: .8fr 1.2fr; padding: 32px; }
}

@media (min-width: 1040px) {
  .shell { width: min(calc(100% - 64px), var(--shell)); }
  .hero h1 { font-size: 112px; }
  .hero-ticket { position: absolute; z-index: 3; right: max(32px, calc((100vw - var(--shell)) / 2)); bottom: 60px; width: 210px; display: flex; flex-direction: column; padding: 20px; background: var(--sun); color: var(--ink); box-shadow: 12px 12px 0 rgba(3,27,46,.68); transform: rotate(-2deg); }
  .hero-ticket::before, .hero-ticket::after { content: ""; position: absolute; left: -8px; width: 16px; height: 16px; border-radius: 50%; background: #168ec9; }
  .hero-ticket::before { top: 18px; }
  .hero-ticket::after { bottom: 18px; }
  .hero-ticket small { font-family: var(--display); font-size: 9px; }
  .hero-ticket strong { font-family: var(--display); font-size: 36px; line-height: 1.1; }
  .hero-ticket span { font-size: 10px; font-weight: 700; }
  .game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 390px) {
  .shell { width: min(calc(100% - 22px), var(--shell)); }
  .header-main { gap: 8px; }
  .brand img { width: 40px; height: 40px; }
  .header-search { padding-inline: 14px; }
  .header-search input { font-size: 16px; }
  .header-link { display: none; }
  .cart-trigger { padding-inline: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Secure order payments and Order ID-scoped conversation */
.tracking-payment-card,
.order-chat-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.tracking-payment-card { grid-column: 1 / -1; }
.payment-state { display: flex; align-items: flex-start; gap: 12px; margin: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-soft); }
.payment-state > svg { width: 24px; height: 24px; flex: 0 0 24px; }
.payment-state h3,
.payment-official-head h3 { margin: 0; font-family: var(--display); font-size: 18px; }
.payment-state p,
.payment-official-head p { margin: 4px 0 0; color: var(--text-soft); font-size: 11px; }
.payment-state-success { border-color: color-mix(in srgb, #20b968 40%, var(--line)); color: #13804c; }
.payment-state-warning { border-color: color-mix(in srgb, var(--sun) 58%, var(--line)); color: color-mix(in srgb, #9a6800 80%, var(--text)); }
.payment-official-head { display: flex; gap: 13px; align-items: center; padding: 18px 18px 12px; }
.payment-official-head > span { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 42px; border-radius: 12px; background: color-mix(in srgb, var(--primary) 12%, var(--surface)); color: var(--primary); }
.payment-official-head svg { width: 22px; height: 22px; }
.payment-official-details { display: grid; margin: 0; padding: 0 18px; }
.payment-official-details > div { min-width: 0; display: grid; grid-template-columns: minmax(110px, .75fr) minmax(0, 1.4fr) 38px; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.payment-official-details dt { color: var(--text-soft); font-size: 10px; font-weight: 700; }
.payment-official-details dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: 11px; font-weight: 800; }
.payment-official-details .copy-mini { position: static; width: 36px; height: 36px; }
.payment-official-warning { margin: 12px 18px 18px; padding: 11px 12px; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 7%, var(--surface)); color: var(--text-soft); font-size: 10px; }
.payment-claim-form { display: grid; gap: 10px; padding: 0 18px 18px; }
.payment-claim-form .btn { min-height: 46px; justify-self: start; border-radius: 10px; }
.file-picker { display: flex; flex-direction: column; gap: 7px; padding: 12px; border: 1px dashed var(--line); border-radius: 11px; background: var(--surface-soft); color: var(--text-soft); font-size: 10px; font-weight: 700; }
.file-picker input { width: 100%; color: var(--text); font-size: 11px; }
.form-help { margin: 0; color: var(--text-soft); font-size: 9px; }
.payment-receipt-link { display: inline-flex; margin: 0 16px 16px; color: var(--primary); font-size: 10px; font-weight: 800; text-decoration: underline; }

.order-chat-card { grid-column: 1 / -1; display: flex; flex-direction: column; min-height: 480px; }
.chat-card-head { align-items: flex-start; }
.chat-card-head > div > p:last-child { margin: 4px 0 0; color: var(--text-soft); font-size: 10px; }
.chat-unread-badge { min-width: 28px; height: 28px; display: grid; place-items: center; border-radius: 999px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 900; }
.order-chat-messages { height: min(48vh, 470px); min-height: 260px; display: flex; flex-direction: column; gap: 10px; overflow-y: auto; overscroll-behavior: contain; padding: 16px; background: linear-gradient(180deg, var(--surface-soft), var(--surface)); scrollbar-width: thin; }
.chat-empty { margin: auto; padding: 30px 10px; color: var(--text-soft); font-size: 11px; text-align: center; }
.chat-message { width: min(82%, 620px); padding: 11px 12px; border: 1px solid var(--line); border-radius: 13px 13px 13px 4px; background: var(--surface); box-shadow: 0 8px 20px rgba(0,0,0,.05); }
.chat-message.is-customer { align-self: flex-end; border-color: color-mix(in srgb, var(--primary) 25%, var(--line)); border-radius: 13px 13px 4px 13px; background: color-mix(in srgb, var(--primary) 9%, var(--surface)); }
.chat-message-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.chat-message-meta strong { font-family: var(--display); font-size: 10px; }
.chat-message-meta time { color: var(--text-soft); font-size: 8px; }
.chat-message > p { margin: 6px 0 0; overflow-wrap: anywhere; white-space: pre-wrap; font-size: 11px; }
.chat-attachment { display: block; margin-top: 8px; overflow: hidden; border-radius: 9px; }
.chat-attachment img { width: 100%; max-height: 260px; object-fit: contain; background: rgba(0,0,0,.08); }
.chat-delivery-status { display: flex; align-items: center; justify-content: flex-end; gap: 4px; margin-top: 6px; color: var(--primary); font-size: 8px; }
.chat-delivery-status svg { width: 13px; height: 13px; }
.order-chat-composer { position: sticky; bottom: 0; z-index: 2; display: grid; gap: 9px; padding: 14px max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); border-top: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 95%, transparent); backdrop-filter: blur(14px); }
.order-chat-composer textarea { width: 100%; min-height: 82px; resize: vertical; border: 1px solid var(--line); border-radius: 11px; background: var(--surface-soft); color: var(--text); padding: 11px 12px; line-height: 1.45; }
.chat-composer-actions { min-width: 0; display: flex; align-items: center; gap: 9px; }
.chat-attach-button { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: var(--surface-soft); color: var(--text); font-size: 10px; font-weight: 800; cursor: pointer; }
.chat-attach-button input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.chat-attach-button svg { width: 15px; height: 15px; }
.chat-file-name { min-width: 0; flex: 1; overflow: hidden; color: var(--text-soft); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.chat-composer-actions .btn { min-height: 44px; flex: 0 0 auto; border-radius: 10px; }
.chat-safety { display: flex; align-items: flex-start; gap: 6px; margin: 0; color: var(--text-soft); font-size: 8px; }
.chat-safety svg { width: 13px; height: 13px; flex: 0 0 13px; color: var(--accent); }

html[data-theme="dark"] .payment-state-success { color: #9af1cb; }
html[data-theme="dark"] .payment-state-warning { color: #ffe09a; }

@media (min-width: 900px) {
  .tracking-payment-card,
  .order-chat-card { grid-column: 1 / -1; }
}

@media (max-width: 699px) {
  .tracking-payment-card,
  .order-chat-card { border-radius: 13px; }
  .payment-claim-form .btn { width: 100%; }
  .order-chat-messages { height: 52vh; min-height: 300px; padding: 12px; }
  .chat-message { width: 90%; }
}

@media (max-width: 430px) {
  .payment-official-details > div { grid-template-columns: 1fr 38px; gap: 5px 8px; }
  .payment-official-details dt { grid-column: 1 / -1; }
  .chat-composer-actions { flex-wrap: wrap; }
  .chat-file-name { order: 3; flex-basis: 100%; }
  .chat-composer-actions .btn { margin-left: auto; }
  .chat-attach-button span { display: none; }
}

/* Theme system, motion and mobile-first navigation */
body,
.site-header,
.header-search,
.header-link,
.theme-toggle,
.category-bar,
.catalog-section,
.process-section,
.community-section,
.faq-section,
.game-card,
.drawer,
.cart-summary,
.product-modal,
.checkout-modal,
.terms-modal,
.track-page-card,
.admin-login-card,
.admin-panel,
input,
select,
textarea {
  transition: background-color .28s ease, color .28s ease, border-color .28s ease, box-shadow .28s ease;
}

.site-header { background: var(--header-bg); }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.header-main { min-height: 64px; }
.header-search,
.header-link,
.theme-toggle { background: var(--surface); color: var(--text); }
.header-search input { color: var(--text); }
.category-bar { background: var(--summer-bar); }
.category-pill { color: var(--text-soft); }
.catalog-section { background: var(--page-bg); }
.process-section { background: var(--summer-soft); }
.community-section { background: var(--summer-water); }
.faq-section { background: var(--faq-bg); }
.game-card,
.drawer,
.product-modal,
.checkout-modal,
.terms-modal,
.track-page-card,
.admin-login-card,
.admin-panel { background: var(--surface); color: var(--text); }
.cart-summary { background: var(--surface-soft); }
.btn-secondary,
.icon-btn { background: var(--surface); border-color: var(--line); color: var(--text); }
select,
input,
textarea { background: var(--surface); color: var(--text); }
.catalog-meta b,
.tracking-steps li.done { color: var(--text); }
.process-steps p { color: var(--text-soft); }
.variant.active { background: color-mix(in srgb, var(--primary) 10%, var(--surface)); }
.product-note { background: color-mix(in srgb, var(--sun) 18%, var(--surface)); }
.qty button { background: var(--surface-soft); color: var(--text); }
.tracking-steps i { background: var(--surface); }

html[data-theme="dark"] .trust-strip,
html[data-theme="dark"] .site-footer { background: #020711; }
html[data-theme="dark"] .site-header { box-shadow: 0 12px 34px rgba(0, 0, 0, .2); }
html[data-theme="dark"] .header-search input::placeholder,
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder { color: #71859a; }
html[data-theme="dark"] .category-pill { border-color: #29445d; }
html[data-theme="dark"] .category-pill:hover,
html[data-theme="dark"] .category-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }
html[data-theme="dark"] .game-card { box-shadow: 0 10px 28px rgba(0, 0, 0, .26); }
html[data-theme="dark"] .game-card:hover { border-color: #2877b6; box-shadow: 0 20px 46px rgba(0, 0, 0, .4); }
html[data-theme="dark"] .empty-state { border-color: #36516a; }
html[data-theme="dark"] .process-steps,
html[data-theme="dark"] .process-steps li { border-color: #254158; }
html[data-theme="dark"] .track-card { background: linear-gradient(135deg, #07233b, #0a4a77); }
html[data-theme="dark"] .community-art { background: #020711; }
html[data-theme="dark"] .drawer-backdrop,
html[data-theme="dark"] .modal-backdrop { background: rgba(0, 3, 9, .82); }
html[data-theme="dark"] .tracking-result-head { background: #020711; }
html[data-theme="dark"] .admin-orders th { background: var(--surface-soft); }

.theme-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 5px 16px rgba(3, 17, 28, .1);
  transition: transform .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.theme-toggle:hover { border-color: var(--primary); transform: translateY(-1px); }
.theme-toggle:active { transform: translateY(0) scale(.96); }
.theme-toggle:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 35%, transparent); outline-offset: 3px; }
.theme-toggle[aria-pressed="true"] { border-color: color-mix(in srgb, var(--primary) 55%, var(--line)); background: color-mix(in srgb, var(--primary) 9%, var(--surface)); }
.theme-icon {
  position: absolute;
  width: 22px;
  height: 22px;
  display: block;
  pointer-events: none;
  fill: none;
  stroke: currentColor;
  transition: opacity .16s ease, transform .16s cubic-bezier(.2,.8,.2,1);
}
.theme-icon-sun { color: #f5a400; }
.theme-icon-moon { color: #579dff; }
html[data-theme="light"] .theme-icon-sun { opacity: 0; transform: rotate(-70deg) scale(.55); }
html[data-theme="light"] .theme-icon-moon { opacity: 1; transform: rotate(-12deg) scale(1); }
html[data-theme="dark"] .theme-icon-sun { opacity: 1; transform: rotate(0) scale(1); }
html[data-theme="dark"] .theme-icon-moon { opacity: 0; transform: rotate(70deg) scale(.55); }

.hero-content > *,
.hero-ticket { animation: voss-rise .62s both cubic-bezier(.2,.78,.2,1); }
.hero-content > :nth-child(2) { animation-delay: .06s; }
.hero-content > :nth-child(3) { animation-delay: .12s; }
.hero-content > :nth-child(4) { animation-delay: .18s; }
.hero-content > :nth-child(5),
.hero-ticket { animation-delay: .24s; }
.game-card { animation: voss-rise .45s both cubic-bezier(.2,.78,.2,1); animation-delay: min(calc(var(--card-index, 0) * 35ms), 280ms); }
.drawer { animation: drawer-in .3s both cubic-bezier(.2,.78,.2,1); }
.product-modal,
.checkout-modal,
.terms-modal { animation: modal-in .28s both cubic-bezier(.2,.78,.2,1); }
.live-dot { animation: live-pulse 2.2s infinite ease-out; }

@keyframes voss-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes drawer-in { from { opacity: .5; transform: translateX(36px); } to { opacity: 1; transform: translateX(0); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes live-pulse { 0%, 55% { box-shadow: 0 0 0 4px rgba(66,223,154,.12); } 75% { box-shadow: 0 0 0 9px rgba(66,223,154,0); } 100% { box-shadow: 0 0 0 4px rgba(66,223,154,.12); } }

.mobile-dock { display: none; }
.dock-icon { position: relative; width: 19px; height: 19px; display: block; }
.dock-home::before { content: ""; position: absolute; left: 3px; top: 6px; width: 12px; height: 10px; border: 2px solid currentColor; border-top: 0; }
.dock-home::after { content: ""; position: absolute; left: 4px; top: 2px; width: 10px; height: 10px; border-left: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); }
.dock-grid { background: linear-gradient(currentColor 0 0) 0 0/7px 7px, linear-gradient(currentColor 0 0) 100% 0/7px 7px, linear-gradient(currentColor 0 0) 0 100%/7px 7px, linear-gradient(currentColor 0 0) 100% 100%/7px 7px; background-repeat: no-repeat; }
.dock-search { border: 2px solid currentColor; border-radius: 50%; transform: scale(.78); }
.dock-search::after { content: ""; position: absolute; right: -5px; bottom: -3px; width: 8px; height: 2px; border-radius: 2px; background: currentColor; transform: rotate(45deg); transform-origin: left center; }
.dock-track { border: 2px solid currentColor; border-radius: 50%; }
.dock-track::after { content: ""; position: absolute; left: 7px; top: 3px; width: 2px; height: 7px; background: currentColor; box-shadow: 3px 5px 0 -0.2px currentColor; transform-origin: bottom; }
.dock-bag { border: 2px solid currentColor; border-radius: 2px; }
.dock-bag::before { content: ""; position: absolute; left: 4px; top: -6px; width: 7px; height: 7px; border: 2px solid currentColor; border-bottom: 0; border-radius: 6px 6px 0 0; }

.mobile-menu-layer { display: none; place-items: end center; padding: 0; }
.mobile-menu-backdrop { background: rgba(2,7,17,.7); backdrop-filter: blur(6px); }
.mobile-menu-sheet { position: relative; z-index: 2; width: 100%; max-height: min(86dvh, 700px); overflow-x: hidden; overflow-y: auto; border: 1px solid var(--line); border-bottom: 0; border-radius: 24px 24px 0 0; background: var(--surface); color: var(--text); box-shadow: 0 -18px 56px rgba(0,7,18,.3); animation: mobile-menu-in .24s both cubic-bezier(.2,.78,.2,1); overscroll-behavior: contain; }
.mobile-menu-head { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 16px 14px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 96%, transparent); }
.mobile-menu-head .eyebrow { margin-bottom: 3px; font-size: 9px; }
.mobile-menu-head h2 { font-size: 28px; line-height: 1; }
.mobile-menu-head .modal-x { position: static; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; }
.mobile-menu-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; padding: 14px 16px 8px; }
.mobile-menu-links a { min-width: 0; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-soft); padding: 11px 12px; font-size: 13px; font-weight: 750; }
.mobile-menu-links a:active { transform: scale(.985); }
.mobile-menu-controls { display: grid; gap: 8px; padding: 8px 16px; }
.mobile-menu-control { width: 100%; min-height: 62px; display: grid; grid-template-columns: 42px minmax(0,1fr) 18px; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--text); padding: 9px 12px; text-align: left; cursor: pointer; }
.mobile-menu-control:active { transform: scale(.99); }
.mobile-menu-control-icon { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--surface-soft); font-size: 22px; }
.mobile-menu-control-icon .theme-icon { width: 21px; height: 21px; }
.mobile-menu-control > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.mobile-menu-control b { font-size: 12px; }
.mobile-menu-control small { margin-top: 2px; overflow: hidden; color: var(--text-soft); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.mobile-menu-control > svg { color: var(--text-soft); }
.mobile-menu-note { margin: 4px 16px 0; padding: 12px 0 calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--text-soft); font-size: 10px; line-height: 1.5; }
@keyframes mobile-menu-in { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }

@media (hover: hover) {
  .game-card:hover .game-cover img { transform: scale(1.045); }
}

@media (max-width: 699px) {
  html,
  body { width: 100%; max-width: 100%; overflow-x: clip; overscroll-behavior-x: none; }
  main,
  .site-header .header-main,
  .site-footer,
  .mobile-dock { touch-action: pan-y pinch-zoom; }
  main,
  section,
  article,
  .shell,
  .product-detail,
  .variant-copy,
  .variant-actions { min-width: 0; }
  img,
  video,
  iframe { max-width: 100%; }
  body:not(.subpage):not(.admin-page) { padding-bottom: 0; }
  html.search-open,
  body.search-open { overflow: hidden; overscroll-behavior: none; }
  .site-footer { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  body.no-scroll .mobile-dock { display: none; }
  .shell { width: min(calc(100% - 28px), var(--shell)); }
  .site-header { backdrop-filter: blur(10px); }
  .site-header .header-main { min-height: 62px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 8px; padding: calc(7px + env(safe-area-inset-top)) 0 8px; }
  .site-header .brand { grid-column: 1; grid-row: 1; }
  .site-header .brand img { width: 38px; height: 38px; border-radius: 11px; }
  .site-header .brand > span { display: none; }
  .site-header .header-search { grid-column: 1 / -1; grid-row: 2; height: 48px; border-radius: 999px; padding: 0 15px; }
  .site-header .header-search input { height: 46px; font-size: 16px; line-height: 46px; }
  .header-search:focus-within { z-index: 81; }
  .search-panel { position: fixed; inset: calc(116px + env(safe-area-inset-top)) 0 0; width: 100%; max-height: calc(100vh - 116px - env(safe-area-inset-top)); max-height: calc(100dvh - 116px - env(safe-area-inset-top)); border: 0; border-radius: 0; padding: 0 max(8px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); }
  body.search-open .mobile-dock { display: none; }
  .search-panel-head { min-height: 44px; padding-inline: 10px; }
  .site-header .header-actions { grid-column: 3; grid-row: 1; }
  .site-header .header-actions .header-link { display: none; }
  .site-header .region-trigger { display: inline-flex; }
  .theme-toggle { width: 44px; height: 44px; flex-basis: 44px; box-shadow: none; }
  .cart-trigger { width: 44px; height: 44px; justify-content: center; padding: 0; border-radius: 13px; }
  .cart-trigger .cart-icon { width: 21px; height: 21px; }
  .cart-trigger em { position: absolute; top: -4px; right: -4px; min-width: 17px; height: 17px; font-size: 8px; }
  .menu-trigger { display: grid; }
  body:not(.subpage):not(.admin-page) .category-bar { position: relative; }
  body:not(.subpage):not(.admin-page) .category-bar::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    bottom: 0;
    width: 32px;
    background: linear-gradient(to right, transparent, #06101f);
    pointer-events: none;
  }
  body:not(.subpage):not(.admin-page) .category-scroll {
    width: 100%;
    max-width: none;
    min-height: 50px;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    margin: 0;
    padding: 8px 12px;
    scroll-padding-left: 12px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-x: contain;
    touch-action: pan-x pinch-zoom;
  }
  body:not(.subpage):not(.admin-page) .category-scroll::-webkit-scrollbar { display: none; }
  body:not(.subpage):not(.admin-page) .category-scroll::after {
    content: "";
    flex: 0 0 12px;
  }
  body:not(.subpage):not(.admin-page) .category-pill {
    height: 34px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 8px;
    background: transparent;
    color: #8b93a5;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
  }
  body:not(.subpage):not(.admin-page) .category-pill.active {
    border-color: #4f8ef7;
    background: #4f8ef7;
    color: #fff;
  }
  .hero { min-height: 0; }
  .hero-bg { object-position: 68% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(2,15,28,.94), rgba(2,15,28,.58) 70%, rgba(2,15,28,.22)), linear-gradient(0deg, rgba(2,15,28,.66), transparent 50%); }
  .hero-content { padding-top: 28px; padding-bottom: 24px; }
  .event-tag { font-size: 9px; }
  .hero h1 { max-width: 100%; margin: 11px 0 12px; font-size: clamp(38px, 12vw, 50px); line-height: .82; text-shadow: 3px 4px 0 rgba(3,27,46,.3); }
  .hero-content > p { max-width: 34rem; font-size: 14px; line-height: 1.42; }
  .hero-cta { gap: 7px; margin-top: 16px; }
  .hero-cta .btn { width: 100%; min-height: 44px; padding-block: 9px; }
  .hero-proof { gap: 3px; margin-top: 16px; font-size: 9px; line-height: 1.35; }
  .hero-proof b { font-size: 11px; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-grid article { min-width: 0; min-height: 66px; gap: 9px; padding: 10px 8px; border-right: 1px solid rgba(255,255,255,.1); }
  .trust-grid article:nth-child(even) { border-right: 0; }
  .trust-grid article:nth-last-child(-n+2) { border-bottom: 0; }
  .trust-grid article > span { font-size: 10px; }
  .trust-grid b { font-size: 10px; line-height: 1.2; }
  .trust-grid small { font-size: 8px; line-height: 1.25; }
  .catalog-section, .process-section, .community-section, .faq-section { padding: 36px 0; }
  .track-banner { padding-bottom: 56px; }
  h2 { font-size: clamp(31px, 9vw, 42px); }
  .section-head { gap: 12px; }
  .catalog-controls { width: min(100%, 220px); }
  .catalog-controls select { min-width: 0; height: 44px; border-radius: 12px; padding-block: 8px; }
  .catalog-meta { align-items: flex-start; flex-direction: column; gap: 2px; margin: 12px 0 10px; }
  .catalog-meta span { display: inline; font-size: 9px; }
  .game-grid { grid-template-columns: 1fr; gap: 12px; }
  .game-card { height: 184px; display: grid; grid-template-columns: 112px minmax(0, 1fr); border-radius: 14px; box-shadow: 0 7px 22px rgba(0,12,26,.11); }
  .game-cover { width: 112px; min-height: 0; align-self: start; aspect-ratio: 1 / 1; background: #07111f; }
  .game-cover .category-image-cover {
    padding: 0;
    background: radial-gradient(circle at 50% 42%, #17324f, #07111f 72%);
    object-fit: cover;
    object-position: center;
  }
  .game-card-body { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 10px; }
  .game-card-body h3 { min-height: 0; font-size: 15px; line-height: 1.15; }
  .game-card-body p {
    min-height: 0;
    display: -webkit-box;
    margin: 4px 0 6px;
    overflow: hidden;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .game-delivery { min-height: 18px; margin-bottom: 5px; font-size: 7px; line-height: 1.3; }
  .game-card-meta { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: end; gap: 6px; padding-top: 6px; }
  .game-price { display: block; }
  .game-price strong { font-size: 15px; }
  .game-card .view-game { width: 100%; min-height: 44px; }
  .track-card { padding: 24px 18px; }
  .community-art { max-width: 100%; margin-inline: auto; }
  .footer-grid { gap: 24px; padding-top: 36px; padding-bottom: 28px; }
  .footer-bottom { padding-top: 16px; padding-bottom: 0; }
  .drawer { height: 100vh; height: 100dvh; }
  .drawer-head { padding-top: max(18px, env(safe-area-inset-top)); }
  .modal-layer {
    align-items: end;
    height: 100vh;
    height: 100dvh;
    padding: max(0px, env(safe-area-inset-top)) 0 0;
    overflow: hidden;
    overscroll-behavior: contain;
    touch-action: pan-y;
  }
  .product-modal,
  .checkout-modal,
  .terms-modal {
    max-height: 100vh;
    max-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 18px 18px 0 0;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
  .product-cover { min-height: 190px; }
  .product-detail { padding: 18px 14px calc(20px + env(safe-area-inset-bottom)); }
  .checkout-modal .modal-x,
  .terms-modal .modal-x { top: max(12px, env(safe-area-inset-top)); }
  .variant {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-rows: 80px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    height: 196px;
    padding: 10px;
    border-radius: 14px;
  }
  .variant-thumbnail {
    width: 64px;
    height: 64px;
    align-self: start;
    border-radius: 12px;
  }
  .variant-copy { min-height: 64px; }
  .variant h3 { font-size: 14px; line-height: 1.22; }
  .variant .variant-description {
    display: -webkit-box;
    margin-top: 5px;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .variant-read-more {
    display: block;
    width: max-content;
    max-width: 100%;
    min-height: 20px;
    margin-top: 2px;
    border: 0;
    background: transparent;
    color: var(--ocean);
    padding: 4px 0 0;
    font: inherit;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.35;
    cursor: pointer;
  }
  .variant-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
  }
  .variant-price {
    grid-column: 1 / -1;
    margin-bottom: 1px;
    font-size: 17px;
  }
  .variant .btn {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 5px;
    font-size: 9px;
    white-space: normal;
  }
  .variant-detail-copy,
  .variant-detail-copy h2,
  .variant-detail-copy p,
  .variant-detail-meta,
  .variant-detail-buy { min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: normal; white-space: normal; }
  .drawer { width: min(94%, 430px); }
  .mobile-menu-layer { display: grid; }
  .locale-backdrop { backdrop-filter: blur(6px) saturate(110%); }
  .locale-sheet { backdrop-filter: blur(12px) saturate(115%); box-shadow: 0 -18px 52px rgba(0,7,18,.25); }
  .mobile-dock {
    position: fixed;
    z-index: 70;
    right: 8px;
    bottom: 8px;
    left: 8px;
    min-height: 60px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 5px 6px calc(5px + env(safe-area-inset-bottom));
    border: 1px solid var(--line);
    border-radius: 16px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    color: var(--text-soft);
    box-shadow: 0 10px 30px rgba(0, 12, 26, .2);
    backdrop-filter: blur(10px);
  }
  .mobile-dock a,
  .mobile-dock button { position: relative; min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; border-radius: 11px; background: transparent; color: inherit; padding: 4px; cursor: pointer; }
  .mobile-dock b { font-size: 9px; }
  .mobile-dock a:hover,
  .mobile-dock button:hover { color: var(--primary); }
  .mobile-dock em { position: absolute; top: 2px; left: calc(50% + 5px); min-width: 16px; height: 16px; display: grid; place-items: center; border-radius: 8px; background: var(--accent); color: #fff; font-size: 8px; font-style: normal; font-weight: 900; }
}

html.low-performance .site-header,
html.low-performance .mobile-dock,
html.low-performance .locale-backdrop,
html.low-performance .locale-sheet,
html.low-performance .mobile-menu-backdrop { backdrop-filter: none; }
html.low-performance .game-card,
html.low-performance .search-panel,
html.low-performance .mobile-dock { box-shadow: 0 8px 24px rgba(0,12,26,.14); }
html.low-performance .hero-content > *,
html.low-performance .hero-ticket,
html.low-performance .game-card { animation: none; }

@media (max-width: 360px) {
  .shell { width: min(calc(100% - 18px), var(--shell)); }
  .site-header .header-actions { gap: 4px; }
  .theme-toggle, .cart-trigger, .menu-trigger { width: 42px; height: 42px; flex-basis: 42px; }
  .hero { min-height: 0; }
  .hero h1 { font-size: 38px; }
  .game-card { height: 184px; grid-template-columns: 102px minmax(0, 1fr); }
  .game-cover { width: 102px; }
  .game-card-body { padding: 9px; }
  .game-card-body h3 { font-size: 14px; }
  .game-card-meta { grid-template-columns: 40px minmax(0, 1fr); }
  .game-card .view-game { padding-inline: 6px; font-size: 9px; }
  .variant { grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: 68px minmax(0, 1fr); gap: 8px; height: 194px; padding: 9px; }
  .variant-thumbnail { width: 64px; height: 64px; }
  .variant-copy { min-height: 64px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  .catalogo-titulo .rotador .palabra { animation: none !important; opacity: 0; transform: none; }
  .catalogo-titulo .rotador .palabra:nth-child(1) { opacity: 1; }
}

/* Product modal media correction */
.product-modal-content {
  width: min(1180px, calc(100vw - 32px));
  max-height: min(860px, calc(100dvh - 32px));
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid #213a53;
  border-radius: 22px;
  background: #07111f;
  color: #f7fbff;
  box-shadow: 0 28px 90px rgba(0,0,0,.52);
}
.product-media {
  --product-image: none;
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  background: radial-gradient(circle at 50% 46%, #17324f 0, #07111f 70%);
  isolation: isolate;
}
.product-media-blur {
  position: absolute;
  z-index: -2;
  inset: -30px;
  background-image: var(--product-image);
  background-position: center;
  background-size: cover;
  filter: blur(25px);
  opacity: .22;
  transform: scale(1.12);
}
.product-media::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,12,24,.05), rgba(5,12,24,.32));
}
.product-main-image {
  position: absolute;
  inset: 24px;
  width: calc(100% - 48px);
  height: calc(100% - 48px);
  max-width: 760px;
  max-height: 620px;
  display: block;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.22));
}
.product-image-contain { object-fit: contain; object-position: center; }
.product-main-image.is-low-resolution { object-fit: scale-down !important; }
.product-media.image-unavailable { min-height: 300px; }
.product-media.image-unavailable .product-main-image { display: none; }
.product-media.image-unavailable .product-media-blur { display: none; }
.product-media.image-unavailable::before {
  content: "Imagen no disponible";
  color: var(--muted);
  font-family: var(--display);
  font-size: 12px;
}
.product-details {
  min-width: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: linear-gradient(180deg, #0d1c2e, #091726);
  color: #f7fbff;
  scrollbar-gutter: stable;
}
.product-modal-content .product-details h2 { color: #fff; }
.product-modal-content .product-details > p:not(.eyebrow) { color: #b7c5d3; line-height: 1.6; }
.product-modal-content .product-note { border-color: #ffd447; background: #172437; color: #fff; }
.product-modal-content .product-note span { color: #a9b7c6; }
.product-modal-content .variant .btn-secondary { border-color: #31577b; background: #10243a; color: #f7fbff; }
@media (min-width: 700px) {
  .product-modal-content {
    height: min(860px, calc(100dvh - 32px));
    grid-template-rows: minmax(0, 1fr);
  }
  .product-modal-content .product-details {
    min-height: 0;
    align-self: stretch;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
  }
}
.product-modal-content .modal-x {
  width: 44px;
  height: 44px;
  border-color: #31577b;
  border-radius: 50%;
  background: rgba(7,17,31,.88);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
}
.product-modal-content .modal-x:hover { border-color: #64afff; background: #102b47; }
.product-modal-content .product-main-image { animation: product-image-in .32s ease both; }
@keyframes product-image-in {
  from { opacity: 0; transform: scale(.985); }
  to { opacity: 1; transform: scale(1); }
}

/* Tutorial */
.tutorial-section { padding: 76px 0; overflow: hidden; background: var(--page-bg); }
.tutorial-layout { display: grid; gap: 30px; }
.tutorial-copy { max-width: 720px; }
.tutorial-copy > p:last-child { margin: 14px 0 0; color: var(--muted); }
.tutorial-video-wrapper {
  position: relative;
  width: min(100%, 980px);
  margin-inline: auto;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #02060c;
  box-shadow: var(--shadow);
  animation: voss-rise .5s both cubic-bezier(.2,.78,.2,1);
}
.tutorial-video-wrapper::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: inherit;
}
.tutorial-video-wrapper video { width: 100%; height: 100%; display: block; object-fit: contain; background: #02060c; }

/* Recent order references stored only on this device */
.recent-orders-card {
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.recent-orders-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.recent-orders-head h2 { font-size: clamp(32px, 7vw, 46px); }
.recent-orders-head > div > p:last-child { margin: 8px 0 0; color: var(--muted); }
.recent-orders-list { display: grid; gap: 10px; margin-top: 22px; }
.recent-order-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-soft);
  animation: recent-order-in .32s both ease;
}
.recent-order-card.is-loading { opacity: .72; }
.recent-order-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.recent-order-card h3 { font-family: var(--display); font-size: 16px; }
.recent-order-card p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.recent-order-status { flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 14%, var(--surface)); color: var(--primary); font-family: var(--display); font-size: 9px; }
.recent-order-meta { display: flex; flex-wrap: wrap; gap: 7px 18px; color: var(--muted); font-size: 10px; }
.recent-order-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.recent-order-actions .btn { min-height: 38px; }
.recent-order-remove { border: 0; background: transparent; color: var(--accent); padding: 8px 4px; font-size: 10px; cursor: pointer; }
.recent-orders-empty { padding: 22px; border: 1px dashed var(--line); color: var(--muted); text-align: center; font-size: 12px; }
.recent-orders-card > .privacy-note { margin-top: 16px; }
.tracking-result { animation: status-result-in .3s both ease; }
@keyframes recent-order-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes status-result-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (min-width: 760px) {
  .tutorial-section { padding: 94px 0; }
  .tutorial-layout { gap: 42px; }
  .recent-orders-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .recent-order-card { grid-template-columns: 1fr auto; align-items: center; }
  .recent-order-actions { justify-content: flex-end; }
}

@media (max-width: 760px) {
  .product-modal-content {
    display: block;
    width: 100%;
    max-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
  .product-media { width: 100%; min-height: 0; max-height: 210px; aspect-ratio: 16 / 8.8; padding: 12px; }
  .product-main-image { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); max-width: none; max-height: none; object-fit: contain; }
  .product-details { position: relative; z-index: 1; overflow: visible; background: var(--surface); }
  .product-modal-content .product-details { background: linear-gradient(180deg, #0d1c2e, #091726); }
  .product-modal-content .modal-x { position: sticky; float: right; width: 44px; height: 44px; margin: max(8px, env(safe-area-inset-top)) 10px -52px 0; right: auto; top: max(8px, env(safe-area-inset-top)); }
  .variant-detail-modal {
    display: flex;
    flex-direction: column;
    width: min(calc(100% - 16px), 560px);
    height: auto;
    max-height: calc(100dvh - max(16px, env(safe-area-inset-top)) - max(8px, env(safe-area-inset-bottom)));
    margin-bottom: max(8px, env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 20px;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
  .variant-detail-modal .modal-x {
    position: sticky;
    z-index: 6;
    top: 10px;
    align-self: flex-end;
    float: none;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 10px 10px -54px 0;
  }
  .variant-detail-media {
    width: 100%;
    height: 168px;
    min-height: 168px;
    max-height: 168px;
    flex: 0 0 168px;
    aspect-ratio: auto;
    border-bottom: 1px solid #213a53;
  }
  .variant-detail-media img {
    inset: 14px;
    width: calc(100% - 28px);
    height: calc(100% - 28px);
  }
  .variant-detail-copy {
    clear: none;
    width: 100%;
    flex: 0 0 auto;
    justify-content: flex-start;
    padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
    overflow: visible;
  }
  .variant-detail-copy .eyebrow { font-size: 9px; letter-spacing: .08em; }
  .variant-detail-copy h2 {
    max-width: none;
    margin-top: 5px;
    font-size: clamp(22px, 6.6vw, 29px);
    line-height: 1.1;
  }
  .variant-detail-copy > .variant-detail-description {
    width: 100%;
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.4;
  }
  .variant-detail-description.is-collapsed { -webkit-line-clamp: 3; }
  .variant-detail-read-more { min-height: 28px; margin: 0 0 6px; }
  .variant-detail-read-more[hidden] + .variant-benefits { margin-top: 8px; }
  .variant-benefits {
    margin-bottom: 7px;
    padding: 8px 10px;
    border-radius: 12px;
  }
  .variant-benefits h3 { font-size: 12px; }
  .variant-benefits ul { gap: 2px; margin-top: 4px; }
  .variant-benefits li { font-size: 10px; }
  .variant-detail-meta {
    align-items: center;
    padding: 7px 9px;
    border: 1px solid #213a53;
    border-radius: 12px;
    background: #081523;
    font-size: 10px;
  }
  .variant-detail-meta strong {
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(57, 195, 123, .12);
    font-size: 10px;
  }
  .variant-detail-meta strong.is-sold-out { background: rgba(230, 57, 70, .12); }
  .variant-detail-buy {
    position: sticky;
    z-index: 4;
    bottom: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    margin-top: 7px;
    padding: 8px;
    border: 1px solid #213a53;
    border-radius: 14px;
    background: #07111f;
  }
  .variant-detail-buy > strong { font-size: 25px; }
  .variant-detail-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .variant-detail-buy .btn {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding-inline: 8px;
    font-size: 10px;
    line-height: 1.2;
    white-space: normal;
  }
  .tutorial-section { padding: 56px 0; }
  .tutorial-video-wrapper { border-radius: 15px; }
  .recent-orders-card { padding: 20px 16px; }
  .recent-order-card-head { flex-direction: column; }
  .recent-order-actions .btn { flex: 1; }
}

@media (min-width: 560px) and (max-width: 760px) {
  .variant-detail-modal {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
    width: min(calc(100% - 24px), 720px);
    height: auto;
    min-height: 0;
    max-height: calc(100dvh - 24px);
    margin-bottom: 12px;
  }
  .variant-detail-modal .modal-x {
    position: absolute;
    top: 10px;
    right: 10px;
    margin: 0;
  }
  .variant-detail-media {
    width: auto;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    border-right: 1px solid #213a53;
    border-bottom: 0;
  }
  .variant-detail-copy {
    height: 100%;
    min-height: 0;
    padding: 26px 20px;
    overflow-x: hidden;
    overflow-y: auto;
  }
  .variant-detail-copy h2 { padding-right: 42px; font-size: clamp(25px, 4.6vw, 34px); }
}

@media (min-width: 700px) and (max-width: 820px) {
  .hero { min-height: 520px; }
  .hero-content { padding-top: 64px; padding-bottom: 48px; }
  .hero h1 { font-size: 78px; }
  .catalog-section,
  .process-section,
  .community-section,
  .faq-section { padding-block: 68px; }
  .variant { grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: 68px minmax(0, 1fr); align-items: start; gap: 10px; height: 166px; padding: 10px; }
  .variant-thumbnail { width: 64px; height: 64px; align-self: start; }
  .variant-actions {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
  }
  .variant-price { grid-column: 1 / -1; }
  .variant .btn { width: 100%; min-width: 0; min-height: 44px; white-space: normal; }
  .variant-detail-modal {
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-main-image,
  .catalog-image-loading,
  .tutorial-video-wrapper,
  .recent-order-card,
  .tracking-result { animation: none !important; }
}

/* Premium secure order tracking */
.tracking-page {
  min-width: 0;
  background:
    radial-gradient(circle at 12% 7%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 28rem),
    radial-gradient(circle at 92% 28%, color-mix(in srgb, var(--sun) 16%, transparent), transparent 24rem),
    var(--page-bg);
}
.tracking-page svg { width: 18px; height: 18px; }
.tracking-header { position: sticky; z-index: 60; top: 0; border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.tracking-header .header-main { min-height: 58px; }
.tracking-header .brand img { width: 32px; height: 32px; border-radius: 7px; }
.tracking-header .header-link,
.tracking-header .cart-trigger { gap: 7px; }
.tracking-header .header-link svg,
.tracking-header .cart-trigger svg { width: 16px; height: 16px; }
.tracking-main { padding: 46px 0 84px; }
.tracking-shell { max-width: 1050px; }
.tracking-hero { max-width: 780px; margin: 0 auto 28px; text-align: center; }
.tracking-hero .page-title { font-size: clamp(44px, 8vw, 74px); }
.tracking-hero > p:last-child { max-width: 650px; margin: 14px auto 0; color: var(--text-soft); }

.tracking-search-card,
.tracking-skeleton,
.tracking-dashboard,
.recent-orders-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  box-shadow: 0 22px 64px rgba(5, 40, 66, .12);
}
.tracking-search-card { padding: 22px; }
.tracking-search-copy { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tracking-search-copy h2 { font-size: clamp(27px, 6vw, 38px); line-height: .95; }
.tracking-search-copy p { margin: 7px 0 0; color: var(--text-soft); font-size: 11px; }
.tracking-search-icon { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--primary) 13%, var(--surface)); color: var(--primary); }
.tracking-search-icon svg { width: 23px; height: 23px; }
.tracking-page .track-form { display: grid; gap: 11px; }
.tracking-page .track-form input { min-height: 48px; border-radius: 10px; font-size: 13px; }
.tracking-page .track-form label > span { color: var(--text-soft); font-size: 9px; letter-spacing: .04em; text-transform: uppercase; }
.tracking-page .track-submit { min-height: 48px; gap: 8px; border-radius: 10px; }
.tracking-page .track-error { grid-column: 1 / -1; margin: 0; }
.tracking-page .privacy-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 13px 0 0; }
.tracking-page .privacy-note svg { width: 14px; height: 14px; flex: 0 0 14px; }

.tracking-skeleton { display: grid; gap: 14px; margin-top: 18px; padding: 24px; overflow: hidden; }
.tracking-skeleton::after { content: ""; position: absolute; }
.skeleton-line,
.skeleton-grid span { border-radius: 8px; background: linear-gradient(100deg, var(--surface-soft) 25%, color-mix(in srgb, var(--primary) 9%, var(--surface)) 45%, var(--surface-soft) 65%); background-size: 240% 100%; animation: tracking-shimmer 1.25s infinite linear; }
.skeleton-line { height: 18px; }
.skeleton-title { width: 48%; height: 30px; }
.skeleton-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.skeleton-grid span { min-height: 96px; }
@keyframes tracking-shimmer { to { background-position: -240% 0; } }

.tracking-dashboard { margin-top: 22px; overflow: hidden; scroll-margin-top: 80px; animation: status-result-in .34s both cubic-bezier(.2,.78,.2,1); }
.tracking-dashboard.is-cancelled { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); }
.tracking-dashboard.needs-support { border-color: color-mix(in srgb, #e8a617 70%, var(--line)); }
.tracking-dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border-bottom: 1px solid rgba(255,255,255,.12); background: linear-gradient(135deg, #031225, #083d6f); color: #fff; }
.tracking-dashboard-head small { display: block; margin-bottom: 3px; color: rgba(255,255,255,.58); font-size: 8px; font-weight: 800; letter-spacing: .12em; }
.tracking-order-id { display: flex; align-items: center; gap: 7px; }
.tracking-order-id strong { overflow-wrap: anywhere; font-family: var(--display); font-size: clamp(17px, 4vw, 23px); }
.copy-mini { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 9px; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.copy-mini:hover { background: rgba(255,255,255,.16); }
.copy-mini svg { width: 15px; height: 15px; }
.tracking-head-status { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.realtime-indicator { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.66); font-size: 8px; letter-spacing: .02em; }
.realtime-indicator i { width: 7px; height: 7px; border-radius: 50%; background: #8d9baa; }
.realtime-indicator.is-live i { background: #35e89a; box-shadow: 0 0 0 4px rgba(53,232,154,.14); animation: live-pulse 2.2s infinite ease-out; }
.realtime-indicator.is-reconnecting i { background: #ffd447; animation: live-pulse 1s infinite ease-out; }
.tracking-dashboard .status-chip { max-width: 290px; border-radius: 999px; padding: 7px 11px; text-align: center; font-size: 9px; line-height: 1.2; }
.status-chip.tone-info { background: #dcebff; color: #0758ad; }
.status-chip.tone-success { background: #d8f7e8; color: #087c49; }
.status-chip.tone-warning { background: #fff0bd; color: #755100; }
.status-chip.tone-danger { background: #ffe0e0; color: #aa1e27; }

.tracking-dashboard-body { display: grid; gap: 14px; padding: 16px; }
.tracking-read-only-notice { grid-column: 1 / -1; margin: 0 !important; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-soft); }
.tracking-product,
.tracking-progress-card,
.tracking-details-card,
.tracking-history-card,
.tracking-support-card { min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.tracking-product { display: grid; gap: 18px; padding: 18px; }
.tracking-cover { width: 100%; max-height: 230px; display: grid; place-items: center; margin: 0; padding: 12px; overflow: hidden; border-radius: 13px; background: var(--surface-soft); }
.tracking-cover img { width: 100%; height: 100%; max-height: 206px; object-fit: contain; }
.tracking-product-copy { min-width: 0; align-self: center; }
.tracking-product-copy h2 { margin-top: 4px; overflow-wrap: anywhere; font-size: clamp(27px, 6vw, 42px); line-height: .94; }
.tracking-product-copy > p:not(.eyebrow) { margin: 7px 0 0; color: var(--text-soft); }
.tracking-product-pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.tracking-product-pills span { padding: 6px 9px; border-radius: 999px; background: var(--surface-soft); color: var(--text-soft); font-size: 9px; font-weight: 800; }
.tracking-product-pills span:last-child { color: var(--primary); }
.tracking-items { display: grid; gap: 5px; margin: 13px 0 0; padding: 0; list-style: none; }
.tracking-items li { display: flex; gap: 8px; color: var(--text-soft); font-size: 10px; }
.tracking-items strong { color: var(--primary); }
.tracking-section-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px; border-bottom: 1px solid var(--line); }
.tracking-section-head h2 { margin-top: 2px; font-size: clamp(24px, 5vw, 34px); line-height: .95; }
.tracking-section-head > svg { width: 24px; height: 24px; flex: 0 0 24px; color: var(--primary); }

.tracking-page .tracking-steps { display: grid; margin: 0; padding: 18px; list-style: none; }
.tracking-page .tracking-steps li { position: relative; min-width: 0; min-height: 68px; display: grid; grid-template-columns: 34px 1fr; gap: 11px; color: var(--muted); }
.tracking-page .tracking-steps li::before { content: ""; position: absolute; z-index: 0; left: 15px; top: 31px; bottom: -2px; width: 2px; background: var(--line); }
.tracking-page .tracking-steps li:last-child::before { display: none; }
.tracking-page .tracking-steps li > svg { position: relative; z-index: 1; width: 32px; height: 32px; padding: 7px; border: 2px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--muted); }
.tracking-page .tracking-steps h3 { margin: 2px 0 0; font-family: var(--display); font-size: 13px; }
.tracking-page .tracking-steps p { margin: 3px 0 0; color: var(--muted); font-size: 9px; }
.tracking-page .tracking-steps li.is-complete { color: var(--text); }
.tracking-page .tracking-steps li.is-complete::before { background: var(--primary); }
.tracking-page .tracking-steps li.is-complete > svg { border-color: var(--primary); background: var(--primary); color: #fff; }
.tracking-page .tracking-steps li.is-current > svg { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 5px color-mix(in srgb, var(--primary) 11%, transparent); }
.tracking-state-alert { display: flex; gap: 11px; margin: 0 18px 18px; padding: 13px; border: 1px solid; border-radius: 12px; }
.tracking-state-alert > svg { width: 20px; height: 20px; flex: 0 0 20px; }
.tracking-state-alert strong { font-family: var(--display); }
.tracking-state-alert p { margin: 3px 0 0; font-size: 10px; }
.tracking-state-alert.is-danger { border-color: #f0a4a8; background: #fff0f0; color: #9f1822; }
.tracking-state-alert.is-warning { border-color: #ecd07c; background: #fff8dc; color: #755100; }

.tracking-page .tracking-summary { display: grid; margin: 0; padding: 8px 18px 18px; }
.tracking-page .tracking-summary > div { min-width: 0; display: grid; grid-template-columns: minmax(105px, .8fr) minmax(0, 1.2fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 10px; }
.tracking-page .tracking-summary > div:last-child { border-bottom: 0; }
.tracking-page .tracking-summary dt { color: var(--muted); }
.tracking-page .tracking-summary dd { margin: 0; overflow-wrap: anywhere; color: var(--text); font-weight: 700; text-align: right; }
.tracking-page .tracking-summary .tracking-message-row { grid-template-columns: 1fr; }
.tracking-page .tracking-summary .tracking-message-row dd { padding: 11px; border-radius: 10px; background: color-mix(in srgb, var(--primary) 8%, var(--surface)); text-align: left; line-height: 1.55; }

.tracking-history { display: grid; margin: 0; padding: 8px 18px 18px; list-style: none; }
.tracking-history > li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 11px; padding: 10px 0; }
.tracking-history > li:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 43px; bottom: -9px; width: 1px; background: var(--line); }
.history-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-soft); color: var(--primary); }
.history-icon svg { width: 16px; height: 16px; }
.history-icon.tone-success { color: #15945e; }
.history-icon.tone-warning { color: #b27400; }
.history-icon.tone-danger { color: var(--accent); }
.tracking-history strong { display: block; font-family: var(--display); font-size: 12px; }
.tracking-history time { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; }
.tracking-history p { margin: 7px 0 0; color: var(--text-soft); font-size: 10px; }
.tracking-history .tracking-history-empty { display: block; padding: 24px 4px; color: var(--muted); text-align: center; font-size: 10px; }
.tracking-history .tracking-history-empty::before { display: none; }

.tracking-support-card { display: grid; gap: 18px; padding: 20px; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 8%, var(--surface)), var(--surface)); }
.tracking-support-card h2 { margin-top: 2px; font-size: clamp(28px, 6vw, 40px); }
.tracking-support-card > div > p:last-child { margin: 8px 0 0; color: var(--text-soft); font-size: 11px; }
.tracking-support-actions { display: grid; gap: 8px; }
.tracking-support-actions .btn { gap: 8px; min-height: 43px; border-radius: 10px; }
.tracking-support-actions svg { width: 16px; height: 16px; }
.tracking-page .recent-orders-card { margin-top: 22px; margin-bottom: 0; }
.tracking-page .recent-order-status.tone-success { color: #0b8552; }
.tracking-page .recent-order-status.tone-warning { color: #956600; }
.tracking-page .recent-order-status.tone-danger { color: var(--accent); }
.tracking-page .recent-order-actions .btn { gap: 7px; }

html[data-theme="dark"] .tracking-page { background: radial-gradient(circle at 12% 7%, rgba(8,127,245,.18), transparent 28rem), radial-gradient(circle at 92% 28%, rgba(242,67,73,.09), transparent 24rem), var(--page-bg); }
html[data-theme="dark"] .tracking-search-card,
html[data-theme="dark"] .tracking-skeleton,
html[data-theme="dark"] .tracking-dashboard,
html[data-theme="dark"] .tracking-page .recent-orders-card { box-shadow: 0 24px 70px rgba(0,0,0,.34); }
html[data-theme="dark"] .tracking-dashboard-head { background: linear-gradient(135deg, #020711, #082c52); }
html[data-theme="dark"] .tracking-state-alert.is-danger { border-color: #7e3038; background: #2b1118; color: #ffb2b7; }
html[data-theme="dark"] .tracking-state-alert.is-warning { border-color: #735b22; background: #2b230e; color: #ffe09a; }
html[data-theme="dark"] .status-chip.tone-info { background: #123c68; color: #a9d5ff; }
html[data-theme="dark"] .status-chip.tone-success { background: #123e31; color: #9af1cb; }
html[data-theme="dark"] .status-chip.tone-warning { background: #433710; color: #ffe39a; }
html[data-theme="dark"] .status-chip.tone-danger { background: #451820; color: #ffb2b7; }

@media (min-width: 680px) {
  .tracking-search-card { padding: 26px; }
  .tracking-page .track-form { grid-template-columns: 1fr 1.25fr auto; align-items: end; }
  .tracking-page .track-submit { min-width: 178px; }
  .tracking-product { grid-template-columns: 190px minmax(0, 1fr); }
  .tracking-cover { height: 190px; max-height: none; }
  .tracking-cover img { max-height: 166px; }
  .tracking-support-card { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .tracking-support-actions { grid-template-columns: repeat(3, auto); }
}

@media (min-width: 820px) {
  .tracking-page .tracking-steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 24px 18px 20px; }
  .tracking-page .tracking-steps li { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 0; padding: 0 8px; text-align: center; }
  .tracking-page .tracking-steps li::before { left: calc(50% + 17px); right: calc(-50% + 17px); top: 15px; bottom: auto; width: auto; height: 2px; }
  .tracking-page .tracking-steps li > svg { flex: 0 0 32px; }
}

@media (min-width: 900px) {
  .tracking-dashboard-body { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 18px; }
  .tracking-product,
  .tracking-progress-card,
  .tracking-support-card { grid-column: 1 / -1; }
}

@media (max-width: 699px) {
  .tracking-header .header-main { display: flex; min-height: 56px; padding: calc(7px + env(safe-area-inset-top)) 0 7px; }
  .tracking-header .brand { flex: 0 0 auto; min-width: 44px; min-height: 44px; justify-content: flex-start; }
  .tracking-header .brand img { width: 32px; height: 32px; }
  .tracking-header .header-actions { margin-left: auto; }
  .tracking-header .theme-toggle,
  .tracking-header .cart-trigger { width: 44px; height: 44px; flex-basis: 44px; }
  .tracking-order-id .copy-mini { min-width: 44px; min-height: 44px; }
  .tracking-support-actions .btn { min-height: 44px; }
  .tracking-main { padding: 34px 0 62px; }
  .tracking-hero .page-title { font-size: clamp(41px, 13vw, 58px); }
  .tracking-dashboard-head { align-items: flex-start; flex-direction: column; padding: 16px; }
  .tracking-head-status { width: 100%; align-items: flex-start; }
  .tracking-dashboard .status-chip { max-width: 100%; }
  .tracking-dashboard-body { padding: 10px; }
  .tracking-product,
  .tracking-progress-card,
  .tracking-details-card,
  .tracking-history-card,
  .tracking-support-card { border-radius: 13px; }
  .tracking-search-card { padding: 18px 14px; }
  .tracking-search-copy { align-items: flex-start; }
  .tracking-search-icon { width: 42px; height: 42px; flex-basis: 42px; }
  .tracking-cover { height: 180px; }
  .tracking-page .recent-orders-card { padding: 18px 13px; }
  .tracking-page .recent-order-card { padding: 13px; }
  .tracking-page .recent-order-actions { display: grid; grid-template-columns: 1fr auto; }
}

@media (max-width: 430px) {
  .tracking-page .shell { width: min(calc(100% - 18px), var(--shell)); }
  .tracking-header .brand > span { display: none; }
  .tracking-header .theme-toggle { width: 44px; height: 44px; flex-basis: 44px; }
  .tracking-header .cart-trigger { width: 44px; height: 44px; flex-basis: 44px; }
  .tracking-search-copy h2 { font-size: 27px; }
  .tracking-page .privacy-note { align-items: flex-start; text-align: left; }
  .skeleton-grid { grid-template-columns: 1fr; }
  .skeleton-grid span { min-height: 52px; }
  .tracking-section-head { padding: 15px 14px; }
  .tracking-page .tracking-steps { padding: 16px 14px; }
  .tracking-page .tracking-summary { padding: 6px 14px 14px; }
  .tracking-page .tracking-summary > div { grid-template-columns: 1fr; gap: 3px; }
  .tracking-page .tracking-summary dd { text-align: left; }
  .tracking-history { padding: 6px 14px 14px; }
  .tracking-support-card { padding: 17px 14px; }
  .tracking-support-actions .btn { width: 100%; }
  .tracking-page .recent-order-card-head { gap: 8px; }
  .tracking-page .recent-order-status { max-width: 100%; white-space: normal; }
}

@media (max-width: 340px) {
  .tracking-header .cart-trigger b { display: none; }
  .tracking-header .cart-trigger { width: 44px; padding: 0; }
  .tracking-hero .page-title { font-size: 39px; }
  .tracking-search-icon { display: none; }
  .tracking-search-card { padding: 16px 12px; }
  .tracking-dashboard-body { padding: 7px; }
  .tracking-product { padding: 14px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton-line,
  .skeleton-grid span,
  .realtime-indicator i { animation: none !important; }
}

/* Diferir el trabajo visual fuera de pantalla reduce pintura y memoria en
   teléfonos modestos. Si el navegador no soporta content-visibility, ignora
   estas reglas y conserva exactamente el mismo layout. */
.process-section,
.tutorial-section,
.track-banner,
.community-section,
.faq-section,
.site-footer {
  content-visibility: auto;
}
.process-section { contain-intrinsic-size: auto 640px; }
.tutorial-section { contain-intrinsic-size: auto 720px; }
.track-banner { contain-intrinsic-size: auto 340px; }
.community-section { contain-intrinsic-size: auto 760px; }
.faq-section { contain-intrinsic-size: auto 720px; }
.site-footer { contain-intrinsic-size: auto 460px; }

@media (max-width: 699px) {
  .btn,
  .header-link,
  .cart-trigger,
  .category-pill,
  .faq-question {
    min-height: 44px;
  }

  .site-header,
  .mobile-dock,
  .drawer-backdrop,
  .modal-backdrop,
  .product-modal-content .modal-x,
  .variant-detail-modal .modal-x,
  .game-time {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .product-media-blur { display: none; }
  .product-main-image { filter: none; }
  .game-card,
  .tutorial-video-wrapper { box-shadow: 0 8px 24px rgba(0, 12, 26, .14); }
  .catalog-image-loading,
  .game-card,
  .live-dot { animation: none; }
}

@media (hover: none) {
  .game-card:hover,
  .game-card:hover .game-cover img,
  .btn:hover {
    transform: none;
  }
}

@media (prefers-reduced-data: reduce) {
  .product-media-blur { display: none; }
  .catalog-image-loading,
  .game-card,
  .live-dot,
  .tutorial-video-wrapper { animation: none !important; }
}

/* Checkout corto: una columna táctil en móvil y resumen lateral en escritorio. */
@media (max-width: 699px) {
  .checkout-modal { width: 100%; }
  .checkout-info { padding: 24px 18px 19px; }
  .checkout-form { padding: 20px 18px 0; }
  .checkout-submit-bar {
    position: sticky;
    bottom: 0;
    margin-inline: -18px;
    padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    box-shadow: 0 -10px 24px color-mix(in srgb, var(--ink) 10%, transparent);
  }
  .checkout-more { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .checkout-item { grid-template-columns: 44px minmax(0,1fr) auto; }
  .checkout-item img { width: 44px; height: 44px; }
  .payment-choice-grid { gap: 8px; }
  .payment-choice { grid-template-columns: 29px minmax(0,1fr) 18px; padding: 9px 8px; }
  .payment-choice-icon { width: 29px; height: 29px; }
}

@media (max-width: 350px) {
  .checkout-info { padding-inline: 16px; }
  .checkout-form { padding-inline: 16px; }
  .checkout-submit-bar { margin-inline: -16px; padding-inline: 16px; }
  .payment-choice { grid-template-columns: 27px minmax(0,1fr); }
  .payment-choice i { display: none; }
  .payment-choice small { font-size: 7.5px; }
}

@media (min-width: 700px) {
  .checkout-modal { grid-template-columns: minmax(280px,.78fr) minmax(0,1.22fr); }
  .checkout-info { padding: 38px 30px; }
  .checkout-form { padding: 34px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-optional-fields,
  .payment-choice { animation: none !important; transition: none !important; }
}

/* Mobile responsive corrections: preserve the existing design while removing
   media gaps, clipped controls and unsafe viewport edges. */
@media (max-width: 699px) {
  :root { --mobile-dock-clearance: calc(76px + env(safe-area-inset-bottom)); }

  html {
    scroll-padding-top: calc(168px + env(safe-area-inset-top));
    scroll-padding-bottom: var(--mobile-dock-clearance);
  }

  #catalogo,
  #como-comprar,
  #faq {
    scroll-margin-top: calc(168px + env(safe-area-inset-top));
  }

  .shell {
    width: auto;
    max-width: var(--shell);
    margin-left: max(14px, env(safe-area-inset-left));
    margin-right: max(14px, env(safe-area-inset-right));
  }

  .game-card {
    height: 184px;
    grid-template-rows: 112px 72px;
    scroll-margin-bottom: calc(var(--mobile-dock-clearance) + 12px);
  }

  .game-cover {
    width: 112px;
    height: 112px;
    min-height: 112px;
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    aspect-ratio: 1 / 1;
  }

  .game-cover img,
  .game-cover .category-image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  html:not(.no-js) .game-card-body {
    grid-column: 2;
    grid-row: 1 / 3;
    padding-bottom: 68px;
  }

  html:not(.no-js) .game-card-meta {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: 90px minmax(0, 1fr);
    margin-top: 0;
  }

  .no-js .game-card { height: auto; min-height: 184px; }

  .variant {
    height: 188px;
    gap: 8px;
    padding: 9px;
  }

  .variant-thumbnail[data-thumbnail-mode="auto-crop"] .variant-image {
    object-fit: contain;
    object-position: center;
    transform: none;
    transform-origin: center;
  }

  .mobile-dock {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    left: max(8px, env(safe-area-inset-left));
    transition: opacity .18s ease, transform .18s ease;
  }

  .mobile-dock.is-content-overlap {
    opacity: 0;
    pointer-events: none;
    transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom)));
  }

  .game-card,
  .faq-item,
  .track-card,
  .community-card,
  .site-footer a,
  .site-footer button {
    scroll-margin-bottom: calc(var(--mobile-dock-clearance) + 12px);
  }
}

@media (max-width: 360px) {
  .game-card { grid-template-rows: 102px 82px; }
  .game-cover { width: 102px; height: 102px; min-height: 102px; }
  html:not(.no-js) .game-card-body { padding-bottom: 67px; }
  html:not(.no-js) .game-card-meta { right: 9px; bottom: 9px; left: 9px; grid-template-columns: 76px minmax(0, 1fr); }
  .variant { height: 184px; }
}

@media (max-width: 760px) {
  .product-media {
    height: clamp(148px, 42vw, 168px);
    min-height: clamp(148px, 42vw, 168px);
    max-height: 168px;
    aspect-ratio: auto;
  }

  .product-main-image {
    inset: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    object-fit: contain;
    object-position: center;
  }
}

/* Compact mobile catalog: two cards per row without changing the brand. */
@media (max-width: 599px) {
  body { font-size: clamp(14px, 3.6vw, 16px); }

  h1,
  h2,
  h3 {
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: 1.15;
  }

  .hero h1 {
    font-size: clamp(28px, 7vw, 56px);
    line-height: 1.15;
  }

  h2 { font-size: clamp(22px, 5.5vw, 40px); line-height: 1.15; }
  h3 { font-size: clamp(16px, 4vw, 20px); line-height: 1.15; }

  .eyebrow,
  .catalog-meta,
  .game-card small,
  .game-time,
  .game-badge {
    font-size: clamp(11px, 3vw, 13px);
  }

  .catalogo-titulo { white-space: normal; }
  .catalogo-titulo .rotador { width: 5.5em; }

  .catalog-section > .shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .catalog-section .section-head { display: contents; }
  .catalog-section .section-head > div:first-child { grid-column: 1 / -1; min-width: 0; }

  .catalog-section .catalog-controls {
    width: auto;
    grid-column: 2;
    grid-row: 2;
    align-self: center;
    justify-self: end;
  }

  .catalog-section .catalog-controls label { gap: 0; }
  .catalog-section .catalog-controls label > span { display: none; }

  .catalog-section .catalog-controls select {
    width: auto;
    min-width: 0;
    max-width: 158px;
    height: 36px;
    padding: 0 30px 0 10px;
    font-size: 11px;
  }

  .catalog-section .catalog-meta {
    min-height: 36px;
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    flex-direction: row;
    margin: 8px 8px 8px 0;
  }

  .catalog-section .catalog-meta span { display: none !important; }

  .game-grid {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
    padding: 0 12px;
  }

  .catalog-section .empty-state { grid-column: 1 / -1; }

  .game-card {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow: visible;
    padding: 8px 8px 12px;
    box-sizing: border-box;
    border-radius: 12px;
  }

  .game-cover {
    width: 100%;
    height: auto;
    min-height: 0;
    flex: 0 0 auto;
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
  }

  .game-cover img,
  .game-cover .category-image-cover {
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
    object-position: center;
  }

  .game-badge { display: none; }
  .game-time {
    position: absolute;
    z-index: 2;
    top: 6px;
    right: 6px;
    display: block;
    max-width: calc(100% - 12px);
    overflow: hidden;
    border: 0;
    border-radius: 6px;
    background: rgba(0,0,0,.75);
    color: #fff;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
  }

  html:not(.no-js) .game-card-body,
  .game-card-body {
    min-height: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-start;
    overflow: visible;
    padding: 0;
  }

  .game-card-body h3 {
    min-height: 2.5em;
    max-height: 2.5em;
    display: -webkit-box;
    margin: 6px 0 2px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .game-card-body > p,
  .game-delivery,
  .catalog-static-product-list {
    display: none !important;
  }

  html:not(.no-js) .game-card-meta,
  .game-card-meta {
    position: static;
    inset: auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 4px;
    margin-top: auto;
    padding-top: 0;
    border-top: 0;
  }

  .game-price {
    display: block;
    line-height: 1;
  }

  .game-price small {
    display: block;
    margin: 0;
    color: var(--text-soft);
    font-size: 10px;
    line-height: 1.05;
  }

  .game-price strong {
    display: block;
    margin: 0;
    color: var(--sun);
    font-size: 20px;
    font-weight: 900;
    line-height: 1.05;
  }

  .game-card .view-game {
    width: 100%;
    height: 34px;
    min-height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    border: 1px solid #4f8ef7;
    border-radius: 8px;
    background: transparent;
    color: #4f8ef7;
    padding: 3px 5px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
  }

  .delivery-schedule-notice {
    margin-top: 10px !important;
    font-size: clamp(11px, 3vw, 13px) !important;
    line-height: 1.45;
  }
}

/* Compact app-style mobile header: logo, region, cart and menu only. */
@media (max-width: 599px) {
  body:not(.subpage):not(.admin-page) .site-header {
    position: sticky;
    top: 0;
    background: rgba(6, 16, 31, .92);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
  }

  body:not(.subpage):not(.admin-page) .site-header .header-main {
    width: 100%;
    max-width: none;
    height: calc(56px + env(safe-area-inset-top));
    min-height: calc(56px + env(safe-area-inset-top));
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin: 0;
    padding: env(safe-area-inset-top) max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left));
  }

  body:not(.subpage):not(.admin-page) .site-header .brand {
    width: auto;
    height: 56px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin-right: auto;
  }

  body:not(.subpage):not(.admin-page) .site-header .brand img {
    width: auto;
    max-width: 32px;
    height: 32px;
    max-height: 32px;
    border-radius: 8px;
    object-fit: contain;
  }

  body:not(.subpage):not(.admin-page) .site-header .header-actions {
    height: 56px;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
  }

  body:not(.subpage):not(.admin-page) .site-header .header-actions > .theme-toggle,
  body:not(.subpage):not(.admin-page) .site-header .header-actions > .header-link {
    display: none;
  }

  body:not(.subpage):not(.admin-page) .site-header .region-trigger,
  body:not(.subpage):not(.admin-page) .site-header .cart-trigger,
  body:not(.subpage):not(.admin-page) .site-header .menu-trigger {
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    height: 44px;
    min-height: 44px;
    flex: 0 0 44px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    padding: 0;
    box-shadow: none;
  }

  body:not(.subpage):not(.admin-page) .site-header .region-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  body:not(.subpage):not(.admin-page) .site-header .region-trigger-language,
  body:not(.subpage):not(.admin-page) .site-header .region-trigger > svg {
    display: none;
  }

  body:not(.subpage):not(.admin-page) .site-header .region-trigger-flag {
    display: block;
    font-size: 21px;
    line-height: 1;
  }

  body:not(.subpage):not(.admin-page) .site-header .cart-trigger,
  body:not(.subpage):not(.admin-page) .site-header .menu-trigger {
    display: grid;
    place-items: center;
  }

  body:not(.subpage):not(.admin-page) .site-header .cart-trigger .cart-icon,
  body:not(.subpage):not(.admin-page) .site-header .menu-trigger > svg {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    color: currentColor;
  }

  body:not(.subpage):not(.admin-page) .site-header .region-trigger:active,
  body:not(.subpage):not(.admin-page) .site-header .cart-trigger:active,
  body:not(.subpage):not(.admin-page) .site-header .menu-trigger:active {
    background: rgba(255, 255, 255, .14);
    transform: scale(.96);
  }

  /* Keep search available from the mobile dock without adding a fifth header item. */
  body:not(.subpage):not(.admin-page) .site-header .header-search {
    display: none;
  }

  body.search-open:not(.subpage):not(.admin-page) .site-header .header-search {
    position: fixed;
    z-index: 82;
    top: calc(env(safe-area-inset-top) + 6px);
    right: 56px;
    left: max(12px, env(safe-area-inset-left));
    width: auto;
    height: 44px;
    display: flex;
    border-radius: 999px;
    padding: 0 12px;
  }

  /* Safari stops applying sticky positioning when body overflow is locked.
     Keep the search header anchored to the viewport while the mobile panel is open. */
  body.search-open:not(.subpage):not(.admin-page) .site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    z-index: 90;
  }

  body.search-open:not(.subpage):not(.admin-page) .site-header .category-bar {
    visibility: hidden;
  }

  body.search-open:not(.subpage):not(.admin-page) .site-header .header-search input {
    height: 42px;
    font-size: 16px;
    line-height: 42px;
  }

  body.search-open:not(.subpage):not(.admin-page) .search-panel {
    inset: calc(56px + env(safe-area-inset-top)) 0 auto;
    height: calc(100vh - 56px - env(safe-area-inset-top));
    height: calc(100dvh - 56px - env(safe-area-inset-top));
    max-height: calc(100vh - 56px - env(safe-area-inset-top));
    max-height: calc(100dvh - 56px - env(safe-area-inset-top));
  }
}

/* Final cascade: the trust-led hero remains compact across existing breakpoints. */
body:not(.subpage):not(.admin-page) .hero { min-height: 590px; }
body:not(.subpage):not(.admin-page) .hero h1 { max-width: 880px; font-size: clamp(48px, 7vw, 82px); line-height: .91; letter-spacing: -.045em; }
.order-issue-card { margin-top: 16px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-soft); }
.order-issue-card form { display: grid; gap: 13px; }
.order-issue-card label:not(.chat-attach-button) { display: grid; gap: 6px; color: var(--text); font-size: 11px; font-weight: 800; }
.order-issue-card select,
.order-issue-card textarea { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; background: var(--surface-soft); color: var(--text); font: inherit; }
.order-issue-card textarea { min-height: 110px; resize: vertical; }
.order-issue-card .icon-btn { width: 40px; height: 40px; }
@media (max-width: 699px) {
  body:not(.subpage):not(.admin-page) .hero { min-height: 520px; }
  body:not(.subpage):not(.admin-page) .hero h1 { font-size: clamp(32px, 9vw, 42px); line-height: .94; overflow-wrap: normal; word-break: normal; hyphens: none; }
  .order-issue-card { padding: 15px; border-radius: 14px; }
  .contact-choice-grid { gap: 6px; }
  .contact-choice { padding-inline: 5px; }
}
