/* ============================================================
   CSS VARIABLES — matched exactly to recharge.com design system
   ============================================================ */
:root {
  --ink:   #1F2226;
  --black: #0D2426;
  --green: #05E27E;
  --green-hover: #04AF61;
  --blue:  #006BE5;
  --soft:  #F4F6F6;
  --line:  #C7D0D1;
  --mid:   #738A8C;
  --teal:  #224144;
  --content: min(1600px, calc(100vw - 80px));
  --font: sofia-pro, Arial, sans-serif;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--ink); background: #fff; font-family: var(--font); font-size: 18px; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
.content-width { width: var(--content); margin-inline: auto; }

/* ================================================================
   TRUST BAR
   ================================================================ */
.trust-bar { height: 40px; color: #fff; background: #1F2226; font-size: 13px; font-weight: 400; overflow: hidden; }
.trust-inner { width: var(--content); height: 100%; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.trust-inner > span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.trust-right { display: flex; align-items: center; gap: 36px; }
.trust-right span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.trust-icon { width: 16px; height: 16px; object-fit: contain; filter: brightness(0) invert(1); flex: none; }

/* Mobile trust bar carousel (JS-driven) */
.trust-mobile-carousel { display: none; align-items: center; justify-content: center; gap: 8px; height: 100%; width: 100%; }
.trust-mobile-item { display: none; align-items: center; gap: 8px; animation: trustFade .38s ease; }
.trust-mobile-item.active { display: inline-flex; }
@keyframes trustFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ================================================================
   HERO
   ================================================================ */
.hero { position: relative; height: clamp(460px, 36.62vw, 700px); overflow: hidden; color: #fff; background: #111; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; background-position: center; background-size: cover; transform: scale(1.025); transition: opacity .65s ease, transform 1.15s cubic-bezier(.2,.7,.2,1), visibility .65s; }
.hero-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); }
.gta-slide       { background-image: url('https://images.ctfassets.net/zhgoh1a85x2k/3RMJLGN9Z6uMCPWrgUxisW/1345bf4ac37648782166ac5ed3305431/202606_GTA6_PreOrder_MTU_Homepage_Banner_Desktop_2.0.png'); }
.worldcup-slide  { background-image: url('https://images.ctfassets.net/zhgoh1a85x2k/7nu5OVY0WEe4X3UpfQfYVx/dadc4efe7a209aecc17ff266e7a3c217/202606_WorldCup2026_RCH-EN_Homepage_Banner_Desktop_2.0.png'); }
.steam-slide     { background-image: url('https://images.ctfassets.net/zhgoh1a85x2k/FTeS6s4u1NOre9xM6aHrf/a93d62e70d55ed6d7919de89af5d12d1/202606_SummerDeals2026_Steam_MTU_Homepage_Banner_Desktop_2.0.png'); }
.quickbuy-slide  { background-image: url('https://images.ctfassets.net/zhgoh1a85x2k/38MLGESqeyuTcE6z2LRQOA/958e2f06571165a85e758d4a88f303d1/Quick_Buy_Banner.png'); }
.topup-slide     { background-image: url('https://images.ctfassets.net/zhgoh1a85x2k/7qiZ6sqBkl7IS1AXUA5j4T/d3ab432178763cbc8f0a053c4bbb320b/mtu-image.webp'); }
.app-slide       { background-image: url('https://images.ctfassets.net/zhgoh1a85x2k/oRN41AQvxuBzhC0PIfeLA/4e2a2eb16d638c47b6ae91714a5c7fa7/web2app.webp'); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,8,13,.65), rgba(5,8,13,.04) 65%); }

/* ================================================================
   FLOATING HEADER
   ================================================================ */
.floating-header { position: absolute; z-index: 10; left: 50%; top: clamp(20px, 1.62vw, 31px); transform: translateX(-50%); width: var(--content); height: 89px; padding: 0 20px; display: flex; align-items: center; color: var(--ink); background: #fff; border-radius: 999px; box-shadow: 0 4px 16px rgba(0,0,0,.06); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 9px; min-width: 274px; }
.logo-symbol { display: flex; align-items: center; gap: 3px; width: 55px; height: 30px; color: #05E27E; }
.logo-symbol i { display: block; width: 15px; height: 28px; background: currentColor; }
.logo-symbol i:first-child  { width: 8px;  border-radius: 100% 0 0 100% / 50% 0 0 50%; }
.logo-symbol i:nth-child(2)  { border-radius: 100% 0 0 100% / 50% 0 0 50%; }
.logo-symbol i:nth-child(3)  { width: 28px; border-radius: 50%; }
.logo-text { color: #1F2226; font-size: 31px; font-weight: 600; letter-spacing: -1.7px; line-height: 1; }
.logo-text > span { font-size: 17px; letter-spacing: -.6px; }

/* Categories button */
.categories-button { height: 65px; min-width: 158px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 0; background: #F4F6F6; border-radius: 0 999px 999px 0; cursor: pointer; font-weight: 500; font-size: 16px; transition: background .18s; }
.categories-button:hover { background: #eaeced; }
.categories-button span { font-size: 20px; transform: translateY(-2px); color: #04AF61; }
.header-spacer { flex: 1; }
.header-setting { height: 50px; padding: 0 10px; display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; cursor: pointer; font-weight: 600; font-size: 13px; color: var(--ink); }
.header-setting:hover { color: var(--blue); }
.header-separator { width: 1px; height: 20px; margin: 0 2px; background: #C7D0D1; }
.flag-nl { width: 22px; height: 22px; display: inline-block; border-radius: 50%; background: linear-gradient(#ae1230 0 33%, #fff 33% 66%, #1454a1 66%); flex: none; }
.wallet-icon { position: relative; width: 20px; height: 17px; display: inline-block; flex: none; font-size: 0; }
.wallet-icon::before { content: ''; position: absolute; left: 1px; top: 4px; width: 17px; height: 11px; border: 2px solid currentColor; border-radius: 2px; }
.wallet-icon::after  { content: ''; position: absolute; left: 4px; top: 1px; width: 12px; height: 8px; border: 2px solid currentColor; border-radius: 2px; }
.globe-icon { position: relative; width: 20px; height: 20px; display: inline-block; flex: none; border: 2px solid currentColor; border-radius: 50%; font-size: 0; }
.globe-icon::before { content: ''; position: absolute; inset: 2px 5px; border: 1.5px solid currentColor; border-top: 0; border-bottom: 0; border-radius: 50%; }
.globe-icon::after  { content: ''; position: absolute; left: 1px; right: 1px; top: 7px; height: 2px; background: currentColor; }
.help-button { height: 58px; min-width: 96px; margin-left: 10px; display: grid; place-items: center; color: #fff; background: #1F2226; border-radius: 999px; font-size: 17px; font-weight: 600; transition: transform .18s, background .18s; }
.help-button:hover { background: #111; transform: translateY(-1px); }

/* ================================================================
   CATEGORY MEGA MENU
   ================================================================ */
.category-menu { position: absolute; z-index: 9; top: 130px; left: calc((100% - min(1600px, calc(100vw - 80px))) / 2 + 294px); width: 780px; display: grid; grid-template-columns: 267px 500px; align-items: start; gap: 10px; color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .22s ease; }
.category-menu.open { opacity: 1; visibility: visible; transform: none; }
.mega-category-list { padding: 12px 10px; display: grid; background: #fff; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,.16); }
.mega-category-list button { height: 60px; padding: 0 14px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; border: 0; border-radius: 8px; background: transparent; color: #738A8C; text-align: left; cursor: pointer; font-weight: 500; font-size: 16px; }
.mega-category-list button:hover, .mega-category-list button.active { color: var(--ink); background: #F4F6F6; }
.mega-category-list button i { font-size: 24px; font-style: normal; font-weight: 300; }
.mega-products { min-height: 520px; padding: 12px 20px 18px; background: #fff; border-radius: 0 24px 24px 24px; box-shadow: 0 20px 50px rgba(0,0,0,.16); }
.mega-heading { height: 68px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; border-bottom: 1px solid #eef0f0; }
.mega-heading h3 { margin: 0; font-size: 18px; font-weight: 500; }
.mega-heading button { padding: 10px; border: 0; color: #006BE5; background: transparent; cursor: pointer; font-weight: 600; font-size: 14px; }
#megaProductList { padding-top: 8px; display: grid; gap: 2px; }
.mega-product { width: 100%; min-height: 68px; padding: 6px 8px; display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 12px; border: 0; border-radius: 8px; background: transparent; cursor: pointer; text-align: left; font-weight: 500; font-size: 15px; }
.mega-product:hover { background: #F4F6F6; }
.mega-product img { width: 78px; height: 49px; object-fit: cover; border-radius: 8px; }

/* ================================================================
   CATEGORY ICONS (CSS-drawn)
   ================================================================ */
.cat-icon { position: relative; width: 25px; height: 25px; display: inline-block; flex: none; color: #1F2226; }
.icon-mobile::before { content:''; position:absolute; left:7px; top:1px; width:10px; height:21px; border:3px solid currentColor; border-radius:3px; }
.icon-mobile::after  { content:''; position:absolute; left:11px; bottom:4px; width:3px; height:3px; border-radius:50%; background:currentColor; }
.icon-payment::before { content:''; position:absolute; left:1px; top:5px; width:23px; height:16px; border-radius:3px; background:currentColor; }
.icon-payment::after  { content:''; position:absolute; left:3px; top:9px; width:19px; height:3px; background:#fff; box-shadow:0 6px 0 -1px #fff; }
.icon-entertainment::before { content:''; position:absolute; left:1px; top:2px; width:23px; height:17px; border:3px solid currentColor; border-radius:3px; }
.icon-entertainment::after  { content:''; position:absolute; left:10px; top:7px; width:0; height:0; border-top:5px solid transparent; border-bottom:5px solid transparent; border-left:7px solid currentColor; }
.icon-shopping::before { content:''; position:absolute; left:3px; top:7px; width:19px; height:16px; border-radius:3px 3px 6px 6px; background:currentColor; }
.icon-shopping::after  { content:''; position:absolute; left:8px; top:1px; width:9px; height:10px; border:2px solid currentColor; border-radius:8px; }
.icon-gaming::before { content:''; position:absolute; left:1px; top:7px; width:24px; height:15px; border-radius:6px 6px 8px 8px; background:currentColor; }
.icon-gaming::after  { content:'+'; position:absolute; left:5px; top:5px; color:#fff; font:700 13px/1 Arial; letter-spacing:7px; }
.icon-grid::before { content:''; position:absolute; left:3px; top:3px; width:8px; height:8px; border-radius:2px; background:currentColor; box-shadow:11px 0 currentColor,0 11px currentColor,11px 11px currentColor; }

/* ================================================================
   MOBILE MENU BUTTON + DRAWER
   ================================================================ */
.mobile-menu-button, .mobile-drawer { display: none; }
.settings-popover { position: absolute; z-index: 12; top: 128px; right: calc((100% - min(1600px, calc(100vw - 80px))) / 2 + 20px); width: 260px; padding: 12px; display: grid; gap: 5px; color: var(--ink); background: #fff; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.16); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .2s ease; }
.settings-popover.open { opacity: 1; visibility: visible; transform: none; }
.settings-popover h3 { margin: 2px 7px 8px; font-size: 16px; font-weight: 600; }
.settings-popover button { min-height: 40px; padding: 0 11px; display: flex; align-items: center; justify-content: space-between; border: 0; border-radius: 8px; background: transparent; text-align: left; cursor: pointer; font-size: 15px; }
.settings-popover button:hover, .settings-popover button.selected { background: #edf1f1; }
.settings-popover button.selected::after { content: '✓'; color: #04AF61; font-weight: 700; }

/* ================================================================
   HERO CONTENT OVERLAYS
   ================================================================ */
.app-hero-copy { position: absolute; z-index: 2; left: 17.2vw; top: 33%; }
.app-hero-copy h1 { margin: 0; color: #fff; font-size: clamp(66px, 5.1vw, 98px); line-height: .93; letter-spacing: -4px; font-weight: 600; }
.app-hero-copy p { margin: 16px 0 0; font-size: 38px; font-weight: 300; line-height: 1; }
.app-hero-copy p span { color: #ffe87d; }
.quickbuy-copy, .topup-copy { position: absolute; z-index: 2; left: 17.2vw; top: 35%; }
.quickbuy-copy h1, .topup-copy h1 { margin: 0; color: #fff; font-size: clamp(68px, 5vw, 94px); line-height: .92; letter-spacing: -4px; font-weight: 600; }
.quickbuy-copy p, .topup-copy p { margin: 14px 0 0; color: #fff; font-size: 38px; font-weight: 300; line-height: 1; }
.quickbuy-copy p span { background: linear-gradient(90deg, #8eb7ff, #ff6fcf); background-clip: text; -webkit-background-clip: text; color: transparent; }
.topup-copy    p span { background: linear-gradient(90deg, #fff38c, #ff61c0); background-clip: text; -webkit-background-clip: text; color: transparent; }
.quickbuy-card, .topup-panel { position: absolute; z-index: 2; top: 32.85%; left: 54.7%; width: clamp(360px, 25.1vw, 480px); padding: clamp(20px, 1.57vw, 30px); border: 2px solid rgba(255,255,255,.3); border-radius: 28px; background: rgba(95,104,102,.84); backdrop-filter: blur(6px); }
.quickbuy-card > div { display: grid; grid-template-columns: 42% 1fr; align-items: center; gap: 20px; }
.quickbuy-card img { width: 100%; aspect-ratio: 1.6; height: auto; object-fit: cover; border-radius: 18px; }
.quickbuy-card p { margin: 0; display: grid; gap: 6px; color: #fff; font-size: 19px; }
.quickbuy-card p span { font-size: 15px; font-weight: 400; opacity: .75; }
.quickbuy-card button, .topup-panel > button { width: 100%; height: 50px; margin-top: 18px; border: 0; border-radius: 999px; color: #1F2226; background: #05E27E; cursor: pointer; font-weight: 700; font-size: 16px; transition: background .18s; }
.quickbuy-card button:hover, .topup-panel > button:hover { background: #04AF61; }
.topup-panel { top: 33%; color: #fff; }
.topup-panel label { display: block; margin-bottom: 12px; font-weight: 600; font-size: 14px; }
.country-select { height: 64px; padding: 0 16px; display: flex; align-items: center; gap: 12px; border-radius: 16px; background: #fff; }
.country-select select { flex: 1; height: 100%; border: 0; outline: 0; color: #1F2226; background: transparent; font-size: 17px; font-weight: 500; }
.country-select .setting-flag-img { width: 28px; height: 20px; flex: none; }
.hero-download-card { position: absolute; z-index: 2; top: 35.4%; left: 55.3%; width: clamp(340px, 23.55vw, 450px); min-height: clamp(160px, 10.72vw, 205px); padding: clamp(22px, 1.62vw, 31px) clamp(26px, 1.94vw, 37px); display: flex; align-items: center; gap: clamp(18px, 1.52vw, 29px); background: rgba(107,119,121,.88); border: 2px solid rgba(255,255,255,.3); border-radius: 28px; }
.store-badges { width: 201px; display: grid; gap: 16px; }
.store-badges img { width: 100%; display: block; }
.hero-qr { width: 139px; height: 139px; object-fit: contain; filter: grayscale(1) brightness(4); }
.hero-arrow { position: absolute; z-index: 8; top: 46.6%; width: 50px; height: 50px; padding: 0; border: 0; color: var(--ink); background: #fff; font: 35px/1 Arial, sans-serif; cursor: pointer; transition: transform .18s; }
.hero-arrow:hover { transform: scale(1.08); }
.hero-prev { left: max(calc((100vw - 1600px) / 2), 25px); border-radius: 28px 0 0 28px; }
.hero-next { right: max(calc((100vw - 1600px) / 2), 25px); border-radius: 0 28px 28px 0; }
.hero-dots { position: absolute; z-index: 8; left: 50%; bottom: 7.7%; transform: translateX(-50%); height: 34px; padding: 6px 10px; display: flex; gap: 7px; align-items: center; background: #fff; border-radius: 999px; }
.hero-dots button { width: 12px; height: 12px; padding: 0; border: 0; border-radius: 50%; background: #C7D0D1; cursor: pointer; transition: .22s; }
.hero-dots button.active { background: #738A8C; width: 22px; border-radius: 6px; }

/* ================================================================
   POPULAR SECTION
   ================================================================ */
.popular-section { padding: 52px 0 80px; }
.popular-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 36px; }
h2 { margin: 0; color: #0D2426; }
.popular-heading-row h2 { font-size: 52px; line-height: 1; letter-spacing: -1.5px; font-weight: 600; }
.filter-pills { min-width: 0; display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.filter-pills::-webkit-scrollbar { display: none; }
.filter-pill { height: 46px; padding: 0 18px; display: inline-flex; align-items: center; gap: 10px; border: 1.5px solid #C7D0D1; border-radius: 999px; background: #fff; font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; }
.filter-pill > span { transform: scale(.82); }
.filter-pill:hover { transform: translateY(-1px); border-color: #05E27E; }
.filter-pill.active { border: 2px solid #05E27E; background: #fff; font-weight: 600; }

/* ================================================================
   PRODUCT GRID
   ================================================================ */
.product-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 32px; }
.product-card { min-width: 0; }
.product-card button { width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.product-image-wrap { display: block; width: 100%; aspect-ratio: 236/148; overflow: hidden; border: 1px solid #dfe2e3; border-radius: 16px; background: #F4F6F6; box-shadow: 0 2px 8px rgba(0,0,0,.08); transition: transform .22s cubic-bezier(.2,.75,.25,1), box-shadow .22s; }
.product-image-wrap img { width: 100%; height: 100%; display: block; object-fit: cover; }
.product-card button:hover .product-image-wrap { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.14); }
.product-card h3 { margin: 12px 0 0; color: #1F2226; font-size: 15px; font-weight: 500; line-height: 1.25; }

/* ================================================================
   STATS SECTION
   ================================================================ */
.stats-section { padding: 84px 0 80px; background: #F4F6F6; }
.stats-section h2 { margin-bottom: 44px; text-align: center; color: #1F2226; font-size: 40px; font-weight: 500; line-height: 1.25; letter-spacing: -.8px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px; }
.stats-grid article { text-align: center; }
.stats-grid img { width: 88px; height: 88px; margin-bottom: 18px; object-fit: contain; }
.stats-grid h3 { margin: 0; color: #0D2426; font-size: 38px; font-weight: 500; line-height: 1; }
.stats-grid strong { display: block; margin-top: 8px; color: #1F2226; font-size: 19px; font-weight: 500; }
.stats-grid p { margin: 20px 0 0; color: #224144; font-size: 16px; line-height: 1.45; }

/* ================================================================
   CATALOG
   ================================================================ */
.catalog { padding: 88px 0 25px; }
.catalog-section { margin-bottom: 88px; scroll-margin-top: 20px; }
.catalog-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.catalog-heading h2 { font-size: 46px; font-weight: 600; line-height: 1; letter-spacing: -1.4px; }
.show-all { border: 0; background: none; color: var(--blue); font-size: 16px; font-weight: 600; cursor: pointer; }
.show-all:hover { text-decoration: underline; }

/* ================================================================
   REVIEWS
   ================================================================ */
.reviews-section { padding: 0 0 80px; }
.reviews-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.reviews-heading h2 { color: #0D2426; font-size: 30px; font-weight: 500; }
.trust-score { font-size: 18px; }
.trust-score small { font-size: 14px; }
.trust-score b { color: #00b67a; font-size: 24px; vertical-align: -2px; }
.reviews-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.reviews-grid article { padding: 20px; background: #F4F6F6; border-radius: 16px; }
.reviews-grid article > div { display: grid; grid-template-columns: 106px 1fr auto; align-items: center; gap: 8px; font-size: 15px; white-space: nowrap; }
.reviews-grid img { width: 106px; height: 20px; object-fit: contain; }
.reviews-grid time { color: #738A8C; font-size: 13px; }
.reviews-grid h3 { margin: 20px 0 12px; font-size: 19px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reviews-grid p { margin: 0; font-size: 15px; line-height: 1.45; color: #738A8C; }

/* ================================================================
   APP BANNER
   ================================================================ */
.app-banner { position: relative; height: 360px; margin-bottom: 90px; overflow: hidden; background: linear-gradient(105deg, #c9fbff, #8ceaf9 45%, #8885ff); border-radius: 28px; }
.app-banner-copy { position: relative; z-index: 3; padding: 50px 0 0 80px; }
.app-banner h2 { font-size: 48px; font-weight: 500; letter-spacing: -.5px; }
.app-banner p { margin: 8px 0 32px; font-size: 20px; }
.app-banner-copy > div { display: flex; gap: 16px; }
.app-banner-copy img { width: 168px; height: 50px; object-fit: contain; }
.app-phones { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; display: block; }
.app-phones img { width: 100%; height: 100%; display: block; object-fit: cover; }
.app-banner-qr { position: absolute; z-index: 3; right: 9%; top: 40px; width: 190px; height: 190px; object-fit: contain; filter: grayscale(1) brightness(4); }

/* ================================================================
   FOOTER
   ================================================================ */
footer { padding: 0; color: #fff; background: #1F2226; }
.footer-main { min-height: 370px; padding: 64px 0 36px; display: grid; grid-template-columns: 320px minmax(600px, 1fr) 190px; gap: 64px; }
.footer-about p { margin: 24px 0 0; color: #C7D0D1; font-size: 14px; line-height: 1.6; }
.footer-logo .logo-text { color: #fff; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; }
.footer-links nav { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-links h3 { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: #fff; }
.footer-links a { color: #C7D0D1; font-size: 14px; transition: color .15s; }
.footer-links a:hover { color: #fff; }
.footer-trust { align-self: start; padding-top: 3px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 1px 6px; }
.footer-trust span { color: #00b67a; font-size: 26px; }
.footer-trust strong { font-size: 17px; }
.footer-trust small { grid-column: 1/-1; color: #C7D0D1; font-size: 12px; }
.footer-bottom { min-height: 72px; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-top: 1px solid #2a2f34; color: #C7D0D1; font-size: 13px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-bottom a:hover { color: #fff; }

/* ================================================================
   PRODUCT MODAL / BOTTOM SHEET
   ================================================================ */
.product-modal {
  position: fixed; z-index: 100; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.product-modal[aria-hidden="false"] { pointer-events: auto; }

.modal-backdrop {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0;
  background: rgba(13,36,38,.58);
  backdrop-filter: blur(5px);
  opacity: 0; transition: opacity .3s ease;
  cursor: default;
}
.product-modal[aria-hidden="false"] .modal-backdrop { opacity: 1; }

/* Desktop modal card (side-by-side) */
.modal-card {
  position: relative;
  width: min(900px, calc(100vw - 40px));
  max-height: 92vh;
  overflow: hidden;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,.32);
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  transform: translateY(20px) scale(.98);
  opacity: 0;
  transition: transform .3s cubic-bezier(.2,.75,.25,1), opacity .3s ease;
}
.product-modal[aria-hidden="false"] .modal-card {
  transform: none; opacity: 1;
}

/* Left: image panel */
.modal-image-panel {
  padding: 32px 28px 32px 32px;
  display: flex; flex-direction: column;
  background: #F4F6F6;
  border-radius: 24px 0 0 24px;
  gap: 14px;
}
#modalImage {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.modal-category-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  color: #738A8C;
  font-size: 13px; font-weight: 500;
  border: 1px solid #C7D0D1;
  width: fit-content;
}

/* Right: detail panel */
.modal-detail-panel {
  display: flex; flex-direction: column; gap: 18px;
  padding: 32px 28px 28px 24px;
  overflow-y: auto;
}
.modal-detail-panel h2 {
  margin: 0;
  font-size: 28px; font-weight: 600; letter-spacing: -.5px;
  color: #1F2226; line-height: 1.1;
}

/* Close button */
.modal-close {
  position: absolute; z-index: 10;
  right: 16px; top: 16px;
  width: 36px; height: 36px;
  border: 0; border-radius: 50%;
  background: rgba(244,246,246,.9);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .15s;
  color: #1F2226;
}
.modal-close:hover { background: #e4e6e6; }
.modal-close svg { width: 18px; height: 18px; stroke: currentColor; }

/* Drag handle (mobile only) */
.modal-handle {
  display: none;
  width: 38px; height: 4px;
  border-radius: 2px;
  background: #C7D0D1;
  margin: 10px auto 4px;
  flex: none;
}

/* Labels */
.modal-label {
  display: block;
  font-size: 12px; font-weight: 600;
  color: #738A8C;
  text-transform: uppercase; letter-spacing: .6px;
  margin-bottom: 10px;
}

/* Denomination pills */
.denom-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.denom-pill {
  height: 44px; padding: 0 18px;
  border: 1.5px solid #C7D0D1; border-radius: 999px;
  background: #fff;
  font-size: 15px; font-weight: 500;
  cursor: pointer; color: #1F2226;
  transition: border-color .15s, background .12s;
}
.denom-pill:hover { border-color: #05E27E; }
.denom-pill.selected {
  border-width: 2px; border-color: #05E27E;
  font-weight: 600;
  background: #f0fef7;
}

/* Email input */
.modal-input {
  width: 100%; height: 52px; padding: 0 16px;
  border: 1.5px solid #C7D0D1; border-radius: 12px;
  background: #fff; font-size: 16px; font-weight: 400;
  color: #1F2226; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.modal-input:focus { border-color: #05E27E; box-shadow: 0 0 0 3px rgba(5,226,126,.12); }
.modal-input::placeholder { color: #738A8C; }

/* CTA button */
.modal-cta {
  width: 100%; height: 56px;
  border: 0; border-radius: 999px;
  background: #05E27E; color: #1F2226;
  font-size: 17px; font-weight: 700;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background .18s, transform .12s;
  letter-spacing: -.1px;
}
.modal-cta:hover { background: #04AF61; }
.modal-cta:active { transform: scale(.98); }
.modal-cta-arrow { font-size: 20px; margin-top: 1px; }

/* Payment methods */
.payment-methods-section {}
.payment-section-label {
  font-size: 12px; font-weight: 500; color: #738A8C;
  text-align: center; margin: 0 0 9px;
}
.payment-icons-grid {
  display: flex; flex-wrap: wrap; gap: 5px; justify-content: center;
}
.pay-icon {
  height: 26px; padding: 0 7px;
  border: 1px solid #E0E4E4; border-radius: 5px;
  background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  color: #1F2226; white-space: nowrap;
  min-width: 38px;
}

/* Trust row */
.modal-trust-row {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: #738A8C; font-weight: 500;
  padding-top: 2px;
}
.modal-trust-row span {
  display: inline-flex; align-items: center; gap: 5px;
}

/* ================================================================
   REVEAL ANIMATION
   ================================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.2,.75,.25,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ================================================================
   RESPONSIVE — 1350px
   ================================================================ */
@media (max-width: 1350px) {
  :root { --content: min(1180px, calc(100vw - 48px)); }
  .trust-right { gap: 20px; }
  .logo { min-width: 240px; }
  .product-grid { gap: 20px; }
  .filter-pill { padding-inline: 14px; font-size: 14px; }
  .app-hero-copy { left: 17%; }
  .hero-download-card { left: 56%; }
}

/* ================================================================
   RESPONSIVE — 1050px (tablet)
   ================================================================ */
@media (max-width: 1050px) {
  .trust-primary { display: none !important; }
  .trust-inner { justify-content: center; }
  .floating-header { top: 20px; height: 76px; }
  .logo { min-width: 215px; }
  .logo-text { font-size: 25px; }
  .categories-button { height: 56px; min-width: 130px; }
  .country-setting, .header-separator { display: none; }
  .hero-download-card { display: none; }
  .app-hero-copy { left: 15%; }
  .popular-heading-row { align-items: flex-start; flex-direction: column; }
  .filter-pills { width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 50px 24px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .app-phones { left: 0; }
  .app-banner-qr { display: none; }
  .footer-main { grid-template-columns: 280px 1fr; }
  .footer-trust { display: none; }
}

/* ================================================================
   RESPONSIVE — MOBILE ≤700px
   ================================================================ */
@media (max-width: 700px) {
  :root { --content: calc(100vw - 28px); }
  body { font-size: 16px; }

  /* Trust bar: rotating carousel */
  .trust-bar { height: 36px; }
  .trust-inner { display: none; }
  .trust-mobile-carousel { display: flex; }

  /* Hero */
  .hero { height: 610px; }
  .floating-header { width: calc(100vw - 20px); height: 62px; padding: 0 12px; border-radius: 999px; top: 10px; }
  .logo { min-width: 0; }
  .logo-symbol { width: 40px; transform: scale(.8); transform-origin: left center; }
  .logo-text { font-size: 19px; letter-spacing: -.7px; }
  .logo-text > span { font-size: 11px; }
  .categories-button, .header-spacer, .header-setting, .help-button { display: none; }
  .category-menu { display: none; }

  /* Hamburger menu button */
  .mobile-menu-button {
    width: 40px; height: 40px; margin-left: auto;
    display: grid; place-content: center; gap: 5px;
    border: 0; border-radius: 50%; background: #F4F6F6; cursor: pointer;
  }
  .mobile-menu-button i { width: 18px; height: 2px; display: block; background: #1F2226; border-radius: 1px; }

  /* Mobile side drawer */
  .mobile-drawer {
    position: fixed; z-index: 1000; inset: 0 auto 0 0;
    width: min(380px, 100vw); height: 100dvh;
    padding: 0 22px 36px; display: block; overflow-y: auto;
    color: #1F2226; background: #fff;
    transform: translateX(-102%);
    transition: transform .32s cubic-bezier(.2,.75,.25,1);
    scrollbar-width: none;
  }
  .mobile-drawer::-webkit-scrollbar { display: none; }
  .mobile-drawer.open { transform: none; }
  .mobile-drawer-head { height: 62px; display: flex; align-items: center; justify-content: space-between; }
  .mobile-drawer-head .logo { min-width: 0; }
  .mobile-drawer .logo-symbol { width: 44px; gap: 2px; transform: none; }
  .mobile-drawer .logo-symbol i { height: 22px; }
  .mobile-drawer .logo-symbol i:first-child { width: 6px; }
  .mobile-drawer .logo-symbol i:nth-child(2) { width: 12px; }
  .mobile-drawer .logo-symbol i:nth-child(3) { width: 22px; }
  .mobile-drawer .logo-text { font-size: 22px; letter-spacing: -.9px; }
  .mobile-drawer .logo-text > span { font-size: 12px; }
  #mobileDrawerClose { width: 34px; height: 34px; margin-right: -8px; border: 0; color: #006BE5; background: transparent; font: 28px/1 Arial; cursor: pointer; }
  .mobile-accordion { display: grid; }
  .mobile-category { }
  .mobile-category-toggle { width: 100%; min-height: 76px; padding: 0 8px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; border: 0; background: #fff; text-align: left; font-size: 22px; font-weight: 500; cursor: pointer; border-bottom: 1px solid #F4F6F6; }
  .mobile-category-toggle > i { font-size: 28px; line-height: 1; font-style: normal; font-weight: 300; transition: transform .2s; color: #738A8C; }
  .mobile-category.open .mobile-category-toggle > i { transform: rotate(180deg); }
  .mobile-category-products { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
  .mobile-category.open .mobile-category-products { max-height: 560px; }
  .mobile-category-products button { width: 100%; min-height: 54px; padding: 5px 8px 5px 46px; display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 10px; border: 0; background: #fff; text-align: left; cursor: pointer; font-size: 15px; font-weight: 400; }
  .mobile-category-products img { width: 60px; height: 37px; object-fit: cover; border-radius: 7px; }
  .mobile-settings { margin-top: 12px; display: grid; }
  .mobile-settings button { min-height: 62px; padding: 0; display: flex; align-items: center; gap: 14px; border: 0; border-bottom: 1px solid #F4F6F6; background: #fff; font-size: 17px; text-align: left; }
  .mobile-help { width: 96px; height: 50px; margin-top: 18px; display: grid; place-items: center; color: #fff; background: #1F2226; border-radius: 999px; font-size: 16px; font-weight: 600; }
  body.menu-open { overflow: hidden; }

  /* Mobile hero images */
  .gta-slide      { background-image: url('https://images.ctfassets.net/zhgoh1a85x2k/5LIjH7sI1aPo937j4CZnLY/f4bd6b18c41bb2f5b51536c59ae05d79/202606_GTA6_PreOrder_MTU_Homepage_Mobile_2.0.png'); }
  .worldcup-slide { background-image: url('https://images.ctfassets.net/zhgoh1a85x2k/5q5XKCNj2HK7vaYZqd4DLU/601c9404e56922eae4ad8f12d5755a1c/202606_WorldCup2026_RCH-EN_Homepage_Mobile_2.0.png'); }
  .steam-slide    { background-image: url('https://images.ctfassets.net/zhgoh1a85x2k/4bVRjmszjWWSy1GUVIO9Tx/c569b812530e0152de82667586b257d9/202606_SummerDeals2026_Steam_MTU_Homepage_Mobile_2.0.png'); }
  .app-slide      { background-position: 63% center; }
  .quickbuy-copy, .topup-copy { left: 18px; top: 168px; }
  .quickbuy-copy h1, .topup-copy h1 { font-size: 50px; letter-spacing: -1.8px; }
  .quickbuy-copy p, .topup-copy p { font-size: 22px; }
  .quickbuy-card, .topup-panel { left: 14px; right: 14px; top: auto; bottom: 74px; width: auto; padding: 16px; border-radius: 18px; }
  .quickbuy-card > div { grid-template-columns: 90px 1fr; }
  .quickbuy-card img { width: 90px; height: 56px; border-radius: 10px; }
  .quickbuy-card button, .topup-panel > button { height: 44px; margin-top: 12px; font-size: 15px; }
  .topup-panel label { font-size: 13px; }
  .country-select { height: 50px; border-radius: 12px; }
  .app-hero-copy { left: 18px; top: 172px; }
  .app-hero-copy h1 { font-size: 50px; letter-spacing: -2px; }
  .app-hero-copy p { width: 230px; font-size: 21px; line-height: 1.25; }
  .hero-arrow { top: 320px; width: 38px; height: 44px; }
  .hero-prev { left: 0; } .hero-next { right: 0; }
  .hero-dots { bottom: 22px; height: 30px; }

  /* Popular */
  .popular-section { padding-top: 30px; padding-bottom: 52px; }
  .popular-heading-row h2, .catalog-heading h2 { font-size: 28px; letter-spacing: -.4px; }
  .filter-pill { height: 38px; padding: 0 12px; font-size: 13px; gap: 6px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
  .product-card h3 { margin-top: 8px; font-size: 13px; }
  .product-image-wrap { border-radius: 11px; }

  /* Stats — horizontal scroll on mobile */
  .stats-section { padding: 48px 0; }
  .stats-section h2 { font-size: 25px; margin-bottom: 24px; }
  .stats-section h2 br { display: none; }
  .stats-grid {
    display: flex; flex-wrap: nowrap;
    gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -ms-overflow-style: none;
    padding-bottom: 4px;
  }
  .stats-grid::-webkit-scrollbar { display: none; }
  .stats-grid article {
    flex: 0 0 72vw; max-width: 260px;
    scroll-snap-align: start;
    background: #fff; border-radius: 18px; padding: 22px 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
  }
  .stats-grid h3 { font-size: 28px; }
  .stats-grid strong { font-size: 15px; }
  .stats-grid p { font-size: 13px; margin-top: 10px; }
  .stats-grid img { width: 52px; height: 52px; margin-bottom: 12px; }

  /* Catalog */
  .catalog { padding-top: 44px; }
  .catalog-section { margin-bottom: 48px; }

  /* Reviews — horizontal scroll on mobile */
  .reviews-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .reviews-heading h2 { font-size: 21px; }
  .reviews-grid {
    display: flex; flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -ms-overflow-style: none;
    padding-bottom: 4px;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .reviews-grid article {
    flex: 0 0 82vw; max-width: 300px;
    scroll-snap-align: start;
    padding: 18px;
  }
  .reviews-grid h3 { margin: 14px 0 8px; font-size: 17px; }

  /* App banner */
  .app-banner { height: 220px; border-radius: 16px; margin-bottom: 48px; }
  .app-banner-copy { width: 54%; padding: 20px 0 0 16px; }
  .app-banner h2 { font-size: 22px; line-height: 1.1; }
  .app-banner p { margin: 6px 0 16px; font-size: 13px; }
  .app-banner-copy > div { flex-direction: column; gap: 5px; }
  .app-banner-copy img { width: 96px; height: 29px; }
  .app-phones img { object-position: center; }

  /* Settings */
  .settings-popover { top: 82px; right: 10px; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 24px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .footer-bottom nav { gap: 10px; }

  /* =============================================================
     PRODUCT MODAL → MOBILE BOTTOM SHEET
     ============================================================= */
  .product-modal { align-items: flex-end; justify-content: center; }

  .modal-card {
    width: 100%;
    max-height: 92dvh;
    border-radius: 22px 22px 0 0;
    grid-template-columns: 1fr;
    margin-bottom: 0;
    transform: translateY(100%);
    opacity: 1;
    transition: transform .36s cubic-bezier(.2,.75,.25,1);
    overflow-y: auto;
  }
  .product-modal[aria-hidden="false"] .modal-card {
    transform: translateY(0); opacity: 1;
  }
  .modal-backdrop {
    opacity: 0;
    transition: opacity .28s ease;
  }
  .product-modal[aria-hidden="false"] .modal-backdrop { opacity: 1; }

  .modal-handle { display: block; }

  .modal-image-panel {
    padding: 0 14px 0;
    background: transparent;
    border-radius: 0;
    gap: 10px;
  }
  #modalImage {
    width: 100%;
    max-height: 170px;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: 13px;
  }
  .modal-category-badge { font-size: 12px; }

  .modal-detail-panel {
    padding: 14px 16px 36px;
    gap: 14px;
    overflow: visible;
  }
  .modal-detail-panel h2 { font-size: 22px; letter-spacing: -.3px; }

  .modal-close { right: 12px; top: 14px; width: 32px; height: 32px; }
  .modal-close svg { width: 16px; height: 16px; }

  .denom-pill { height: 40px; font-size: 14px; padding: 0 14px; }
  .modal-cta { height: 52px; font-size: 16px; }
  .modal-input { height: 50px; font-size: 15px; }
}

/* Complete regional selectors */
.settings-popover { width: 310px; max-height: min(620px, calc(100vh - 118px)); overflow: hidden; }
.settings-search {
  width: 100%; height: 42px; padding: 0 13px; border: 1px solid #c7d0d1;
  border-radius: 10px; outline: 0; background: #fff; color: #1f2226; font-size: 14px;
}
.settings-search:focus { border-color: #05e27e; box-shadow: 0 0 0 3px rgba(5,226,126,.12); }
.settings-options { min-height: 0; max-height: 500px; overflow-y: auto; display: grid; gap: 3px; scrollbar-width: thin; }
.settings-options button[hidden] { display: none; }
.settings-options button { flex: none; }
.setting-flag { width: 27px; display: inline-grid; place-items: center; font-size: 22px; line-height: 1; }

/* Slightly tighter site scale */
@media (min-width: 701px) {
  :root { --content: min(1420px, calc(100vw - 64px)); }
  body { font-size: 16px; }
  .trust-bar { height: 34px; font-size: 12px; }
  .hero { height: clamp(420px, 32vw, 610px); }
  .floating-header { width: calc(100vw - 36px); max-width: 1480px; height: 76px; padding: 0 17px; }
  .floating-header .logo { min-width: 235px; }
  .floating-header .logo-symbol { width: 48px; transform: scale(.9); transform-origin: left center; }
  .floating-header .logo-text { font-size: 27px; }
  .floating-header .logo-text > span { font-size: 14px; }
  .floating-header .categories-button { min-width: 145px; height: 64px; font-size: 15px; }
  .floating-header .header-setting { height: 50px; padding: 0 8px; font-size: 14px; }
  .floating-header .help-button { min-width: 88px; height: 52px; font-size: 15px; }
  .category-menu { top: 90px; transform: translate(-6px, -8px) scale(.92); transform-origin: top left; }
  .category-menu.open { transform: translate(-6px, 0) scale(.92); }
  .quickbuy-copy h1, .topup-copy h1, .app-hero-copy h1 { font-size: clamp(54px, 4.25vw, 78px); letter-spacing: -3px; }
  .quickbuy-copy p, .topup-copy p, .app-hero-copy p { font-size: 30px; }
  .quickbuy-card, .topup-panel { transform: scale(.9); transform-origin: center; }
  .hero-download-card { transform: scale(.9); transform-origin: center; }
  .popular-heading-row h2 { font-size: 43px; }
  .filter-pill { height: 41px; padding: 0 14px; font-size: 13px; }
  .product-grid { gap: 24px; }
  .product-card h3 { margin-top: 10px; font-size: 14px; }
  .stats-section h2 { font-size: 34px; }
  .stats-grid h3 { font-size: 32px; }
  .catalog-heading h2 { font-size: 39px; }
  .app-banner h2 { font-size: 42px; }
  .footer-main { padding-top: 52px; }
}

@media (max-width: 700px) {
  .settings-popover { width: calc(100vw - 24px); max-height: calc(100dvh - 92px); }
  .settings-options { max-height: calc(100dvh - 180px); }
  .catalog-section .product-card { flex-basis: min(64vw, 270px); }
  .catalog-section .product-card h3 { font-size: 17px; }
  .catalog-heading h2 { font-size: 26px; }
}

/* Reliable country flags */
.setting-flag-img { width: 28px; height: 20px; display: block; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(31,34,38,.12); }
.header-setting .setting-flag-img { width: 26px; height: 19px; }
.settings-options .setting-flag-img { flex: none; }
.fact-icon .setting-flag-img { width: 28px; height: 20px; }

@media (max-width: 700px) {
  .hero { height: 470px; }
  .quickbuy-copy, .topup-copy { top: 120px; }
  .quickbuy-copy h1, .topup-copy h1 { font-size: 39px; line-height: .95; letter-spacing: -1.2px; }
  .quickbuy-copy p, .topup-copy p { margin-top: 9px; font-size: 18px; }
  .app-hero-copy { top: 125px; }
  .app-hero-copy h1 { font-size: 39px; line-height: .96; letter-spacing: -1.3px; }
  .app-hero-copy p { margin-top: 10px; font-size: 17px; }
  .quickbuy-card, .topup-panel { bottom: 52px; padding: 12px; transform: scale(.88); transform-origin: bottom center; }
  .hero-download-card { transform: scale(.82); transform-origin: center; }
  .hero-arrow { top: 225px; }
  .hero-dots { bottom: 12px; }
}

/* ================================================================
   MULTI-STEP CHECKOUT FLOW
   ================================================================ */
.checkout-step { display: none; flex-direction: column; gap: 16px; }
.checkout-step.active { display: flex; }
.checkout-field-group { display: flex; flex-direction: column; gap: 6px; }
.field-hint { font-size: 12px; color: #738A8C; margin: 0; }
.step-subtitle { margin: 0; font-size: 14px; color: #738A8C; }
.checkout-back-btn {
  align-self: flex-start; padding: 0; border: 0; background: none;
  color: #006BE5; font-size: 14px; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
}
.checkout-back-btn:hover { text-decoration: underline; }
.mt-4 { margin-top: 4px; }

/* Phone input */
.phone-input-wrapper {
  display: flex; align-items: center; overflow: hidden;
  border: 1.5px solid #C7D0D1; border-radius: 12px; background: #fff;
  transition: border-color .15s;
}
.phone-input-wrapper:focus-within { border-color: #05E27E; }
.phone-prefix {
  padding: 0 14px; font-size: 15px; font-weight: 600;
  color: #1F2226; border-right: 1.5px solid #C7D0D1;
  height: 52px; display: flex; align-items: center; white-space: nowrap;
  background: #F4F6F6;
}
.phone-input-wrapper .modal-input {
  border: 0; border-radius: 0; flex: 1;
  height: 52px;
}
.phone-input-wrapper .modal-input:focus { box-shadow: none; }

/* Payment method list — Step 2 */
.payment-methods-list { display: flex; flex-direction: column; gap: 8px; }
.pay-method-row {
  width: 100%; min-height: 58px; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between;
  border: 1.5px solid #C7D0D1; border-radius: 14px; background: #fff;
  cursor: pointer; font-size: 15px; font-weight: 500;
  transition: border-color .15s, background .12s, transform .1s;
}
.pay-method-row:hover { border-color: #05E27E; background: #f0fef7; transform: translateY(-1px); }
.apple-pay-method { order: -1; }
.apple-pay-icon { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", sans-serif; font-weight: 700; }

.checkout-email-step {
  width: min(640px, calc(100% - 44px)); margin: 0 auto; padding: 26px 0 38px;
}
.checkout-order-summary {
  margin: 0 -22px 28px; padding: 28px 22px 34px; border-radius: 0 0 28px 28px;
  background: #f3f5f5;
}
.summary-product-row { display: grid; grid-template-columns: 174px 1fr; gap: 28px; align-items: center; margin-bottom: 28px; }
.summary-product-row img { width: 174px; height: 108px; object-fit: cover; border-radius: 8px; }
.summary-product-row h2 { margin: 0 0 4px; color: #1f2226; font-size: 30px; font-weight: 600; line-height: 1.1; }
.summary-product-row p { margin: 0; color: #1f2226; font-size: 20px; }
.summary-price-lines { display: grid; gap: 14px; color: #224144; font-size: 20px; }
.summary-price-lines > div { display: flex; justify-content: space-between; gap: 18px; }
.summary-price-lines strong { color: #1f2226; font-weight: 600; white-space: nowrap; }
.summary-total { font-weight: 700; }
.promo-toggle {
  width: min(450px, 80%); height: 50px; margin: 28px auto 0; border: 0; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  background: #fff; color: #006be5; font-size: 20px; font-weight: 700; cursor: pointer;
}
.promo-toggle span { font-size: 24px; line-height: 1; }
.checkout-email-form { display: grid; gap: 18px; }
.checkout-email-form h2 { margin: 0; color: #1f2226; font-size: 31px; font-weight: 600; line-height: 1.15; }
.checkout-email-input {
  min-height: 82px; padding: 8px 24px; border: 2px solid #0878e6; border-radius: 18px;
  display: flex; flex-direction: column; justify-content: center; color: #0878e6; font-size: 18px;
}
.checkout-email-input input { width: 100%; border: 0; outline: 0; background: transparent; color: #1f2226; font: inherit; font-size: 23px; }
.terms-check { display: flex; align-items: flex-start; gap: 14px; color: #1f2226; font-size: 20px; line-height: 1.35; }
.terms-check input { width: 36px; height: 36px; margin: 0; accent-color: #0878e6; flex: none; }
.terms-check.attention { color: #e53e3e; }
.checkout-email-continue { margin-top: 18px; }
.secure-note {
  margin-top: 112px; padding: 22px 26px; border-radius: 8px; display: grid; grid-template-columns: 42px 1fr; gap: 16px;
  background: #f3f5f5; color: #224144; font-size: 18px; line-height: 1.45;
}
.secure-note span { width: 36px; height: 36px; border: 2px solid #7b9294; border-radius: 12px; display: grid; place-items: center; color: #7b9294; }
.secure-note p { margin: 0; }
.pay-row-title { color: #1F2226; font-weight: 600; }
.pay-row-badge {
  font-size: 11px; font-weight: 600; padding: 3px 8px;
  border-radius: 999px; background: #1F2226; color: #05E27E;
}
.pay-row-logo { font-size: 13px; font-weight: 500; color: #738A8C; }

/* Card inputs grid — Step 3 credit card */
.card-inputs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.col-span-12 { grid-column: 1 / -1; }

/* Generic payment redirect panel */
.generic-redirection-card {
  padding: 24px; border: 1.5px solid #C7D0D1; border-radius: 16px;
  background: #F4F6F6; text-align: center; display: flex;
  flex-direction: column; align-items: center; gap: 12px;
}
.generic-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: #fff; border: 1px solid #C7D0D1;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700;
}
#genericMethodText { margin: 0; font-size: 14px; color: #738A8C; line-height: 1.5; }

/* ================================================================
   CHECKOUT SUCCESS SCREEN
   ================================================================ */
.success-header { text-align: center; padding: 12px 0 8px; }
.success-header h2 { font-size: 24px; margin: 14px 0 6px; }

/* Animated checkmark */
.success-checkmark-wrapper {
  position: relative; width: 62px; height: 62px;
  margin: 0 auto 4px;
}
.success-checkmark-circle {
  width: 62px; height: 62px; border-radius: 50%;
  background: #05E27E;
  animation: scaleIn .45s cubic-bezier(.2,.75,.25,1.4) both;
}
.success-checkmark-stem {
  position: absolute; left: 19px; top: 30px;
  width: 3px; height: 15px;
  background: #1F2226; border-radius: 2px;
  transform: rotate(-45deg);
  transform-origin: bottom center;
  animation: stemIn .22s .35s ease both;
}
.success-checkmark-kick {
  position: absolute; left: 14px; top: 36px;
  width: 3px; height: 9px;
  background: #1F2226; border-radius: 2px;
  transform: rotate(45deg);
  transform-origin: bottom center;
  animation: kickIn .2s .3s ease both;
}
@keyframes scaleIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes stemIn  { from { transform: rotate(-45deg) scaleY(0); } to { transform: rotate(-45deg) scaleY(1); } }
@keyframes kickIn  { from { transform: rotate(45deg) scaleY(0); } to { transform: rotate(45deg) scaleY(1); } }

/* Digital voucher */
.digital-voucher-card {
  background: linear-gradient(135deg, #1F2226, #2d3339);
  border-radius: 18px; padding: 22px 20px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.voucher-tag {
  font-size: 11px; font-weight: 700; color: #05E27E; letter-spacing: 1px;
  text-transform: uppercase;
}
.voucher-pin {
  font-size: 20px; font-weight: 700; letter-spacing: 2px;
  color: #fff; font-family: 'Courier New', monospace;
  word-break: break-all;
}
.voucher-copy-btn {
  height: 38px; padding: 0 20px; border: 1.5px solid #05E27E;
  border-radius: 999px; background: transparent; color: #05E27E;
  font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s;
}
.voucher-copy-btn:hover { background: rgba(5,226,126,.12); }
.voucher-info-text { margin: 10px 0 0; font-size: 12px; color: #738A8C; text-align: center; }

/* Mobile top-up success */
.digital-topup-card {
  background: linear-gradient(135deg, #0a2240, #1a4170);
  border-radius: 18px; padding: 28px 20px; text-align: center;
}
.topup-amount { margin: 0; font-size: 44px; font-weight: 700; color: #05E27E; line-height: 1; }
.topup-status { margin: 8px 0 4px; font-size: 13px; color: rgba(255,255,255,.65); font-weight: 500; }
.topup-phone { margin: 0; font-size: 20px; font-weight: 600; color: #fff; }

/* ================================================================
   APPLE PAY SIMULATION SHEET
   ================================================================ */
.apple-pay-sheet {
  position: fixed; z-index: 200; inset: 0;
  pointer-events: none; display: flex; align-items: flex-end;
}
.apple-pay-sheet[aria-hidden="false"] { pointer-events: auto; }
.apple-pay-sheet-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55); opacity: 0; transition: opacity .3s ease;
}
.apple-pay-sheet[aria-hidden="false"] .apple-pay-sheet-backdrop { opacity: 1; }

.apple-pay-sheet-content {
  position: relative; z-index: 1; width: 100%;
  max-width: 460px; margin: 0 auto;
  background: #1c1c1e; border-radius: 28px 28px 0 0;
  color: #fff; overflow: hidden;
  transform: translateY(100%); transition: transform .38s cubic-bezier(.2,.75,.25,1);
}
.apple-pay-sheet[aria-hidden="false"] .apple-pay-sheet-content { transform: none; }

.apple-pay-sheet-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px 0;
}
.apple-pay-logo {
  font-size: 28px; font-weight: 700; letter-spacing: -1px;
  color: #fff; font-family: -apple-system, SF Pro Display, sans-serif;
}
.apple-pay-logo::before { content: ''; }
.apple-pay-cancel {
  border: 0; background: transparent; color: #2196f3;
  font-size: 16px; font-weight: 500; cursor: pointer; padding: 4px 0;
}

.apple-pay-sheet-body {
  padding: 16px 20px 4px; display: flex; flex-direction: column; gap: 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.apple-pay-line-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; border-top: 1px solid rgba(255,255,255,.07);
  font-size: 15px;
}
.apple-pay-line-item:first-child { border-top: 0; }
.apple-pay-line-item .label { color: rgba(255,255,255,.55); }
.apple-pay-line-item .value { font-weight: 500; display: flex; align-items: center; gap: 8px; }
.apple-pay-line-item.total .label,
.apple-pay-line-item.total .value { font-size: 17px; font-weight: 600; color: #fff; }
.card-chip {
  display: inline-block; width: 20px; height: 14px; border-radius: 3px;
  background: linear-gradient(135deg, #ffd700, #c8a000); vertical-align: -2px;
}

.apple-pay-biometric-prompt {
  padding: 24px 20px 32px; display: flex; flex-direction: column;
  align-items: center; gap: 14px;
}
.biometric-icon-container {
  width: 72px; height: 72px; display: flex; align-items: center; justify-content: center;
}
.faceid-scan-circle {
  position: relative; width: 68px; height: 68px;
  border-radius: 50%;
  animation: faceIdPulse 2s ease infinite;
}
@keyframes faceIdPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(5,226,126,.5); }
  50% { box-shadow: 0 0 0 12px rgba(5,226,126,0); }
}
.faceid-bracket {
  position: absolute; width: 16px; height: 16px;
  border-color: #05E27E; border-style: solid;
}
.faceid-bracket.tl { top: 6px; left: 6px; border-width: 3px 0 0 3px; border-radius: 4px 0 0 0; }
.faceid-bracket.tr { top: 6px; right: 6px; border-width: 3px 3px 0 0; border-radius: 0 4px 0 0; }
.faceid-bracket.bl { bottom: 6px; left: 6px; border-width: 0 0 3px 3px; border-radius: 0 0 0 4px; }
.faceid-bracket.br { bottom: 6px; right: 6px; border-width: 0 3px 3px 0; border-radius: 0 0 4px 0; }
.faceid-smile {
  position: absolute; left: 50%; top: 50%; width: 24px; height: 12px;
  margin: -6px 0 0 -12px;
  border: 2.5px solid rgba(255,255,255,.6); border-top: 0;
  border-radius: 0 0 12px 12px;
}
#applePayBiometricText {
  margin: 0; font-size: 14px; color: rgba(255,255,255,.7);
  font-weight: 500; text-align: center;
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Screenshot-matched product detail experience */
.product-modal[aria-hidden="false"] { background: #fff; }
.product-modal .modal-backdrop { display: none; }
.product-modal .modal-card {
  width: min(760px, 100vw); height: 100dvh; max-height: none;
  display: flex; flex-direction: column; border-radius: 0;
  box-shadow: 0 0 40px rgba(31,34,38,.08); transform: translateY(12px);
  background: #fff;
}
.product-modal[aria-hidden="false"] .modal-card { transform: none; }
.product-detail-header {
  flex: none; height: 66px; padding: 0 30px;
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; z-index: 3;
}
.product-detail-header .logo-text { color: #1f2226; }
.product-detail-menu {
  width: 38px; height: 38px; padding: 8px; display: grid; align-content: center; gap: 5px;
  border: 0; background: transparent; cursor: pointer;
}
.product-detail-menu i { width: 23px; height: 2.5px; border-radius: 2px; background: #1f2226; }
.product-modal .modal-handle, .product-modal .modal-close, .product-modal .modal-image-panel { display: none !important; }
.product-modal .modal-detail-panel {
  flex: 1; min-height: 0; padding: 0; gap: 0; overflow-y: auto;
  background: #fff; scrollbar-width: thin;
}
.product-modal .checkout-step { width: 100%; max-width: 100%; gap: 16px; }
#checkoutStep1 > :not(.reference-product-view) { display: none !important; }
.reference-product-view { display: block; padding-bottom: 34px; }
.product-back {
  height: 50px; margin: 0 30px; padding: 0; display: flex; align-items: center; gap: 9px;
  border: 0; background: #fff; color: #111820; font-size: 17px; cursor: pointer;
}
.product-back span { font: 35px/1 Arial, sans-serif; font-weight: 200; }
.product-back b { font-weight: 500; }
.product-hero-panel {
  min-height: 170px; padding: 28px 30px; display: grid; grid-template-columns: 162px 1fr;
  align-items: center; gap: 28px; position: relative; overflow: hidden;
}
.product-hero-panel::before {
  content: ""; position: absolute; left: 0; top: 0; width: 190px; height: 100%;
  border-radius: 0 100px 100px 0; background: #eef0f0;
}
.product-art { position: relative; z-index: 1; }
.product-art img {
  width: 162px; height: 100px; object-fit: cover; display: block;
  border-radius: 14px; box-shadow: 0 2px 8px rgba(31,34,38,.18);
}
.product-hero-panel h2 {
  position: relative; z-index: 1; margin: 0; max-width: 390px;
  color: #101820; font-size: 28px; font-weight: 600; line-height: 1.2; letter-spacing: -.4px;
}
#productPurchaseContent { padding: 20px 30px 0; }
.certified-strip {
  height: 40px; margin-bottom: 20px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: #f3f5f5; font-size: 15px;
}
.certified-strip span { font-size: 22px; }
.product-facts { margin-bottom: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.product-facts > div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.product-facts p { margin: 0; font-size: 16px; line-height: 1.25; }
.product-facts strong { display: block; margin-top: 3px; color: #006be5; font-weight: 600; }
.fact-icon {
  flex: none; width: 50px; height: 50px; border: 1px solid #d4d9da; border-radius: 14px;
  display: grid; place-items: center; background-color: #fff;
}
.fact-icon.flag-nl { width: 50px; height: 50px; background-size: 25px 18px; background-position: center; background-repeat: no-repeat; }
.mail-icon { color: #738a8c; font-size: 27px; }
.product-facts > div:last-child strong { color: #101820; }
.reference-denoms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.purchase-heading { margin: 0 0 14px; color: #101820; font-size: 18px; font-weight: 600; }
.reference-denom {
  position: relative; display: grid; place-items: center;
  min-height: 70px; border: 2px solid transparent; border-radius: 20px;
  background: #f3f5f5; color: #101820; font-size: 16px; font-weight: 600; cursor: pointer;
}
.reference-denom.selected { border-color: #05e27e; box-shadow: inset -8px 0 0 -6px #8de9f8; }
.denom-popular {
  position: absolute; left: 50%; top: -16px; transform: translateX(-50%);
  padding: 4px 10px; border-radius: 999px; background: #fff;
  box-shadow: 0 4px 15px rgba(31,34,38,.07); color: #101820;
  font-size: 13px; font-weight: 700; white-space: nowrap;
}
.custom-value {
  height: 70px; margin-bottom: 30px; padding: 8px 18px; border: 2px solid #d4dadd; border-radius: 20px;
  display: flex; flex-direction: column; color: #738a8c; font-size: 16px;
}
.custom-value input { min-width: 0; width: 100%; padding: 2px 0; border: 0; outline: 0; background: transparent; color: #101820; font: inherit; font-size: 18px; }
.quantity-control {
  height: 44px; margin: 8px 0 18px; padding: 0 25%; border: 2px solid #d4dadd; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; gap: 16px; color: #738a8c;
}
.quantity-control select { border: 0; outline: 0; background: transparent; color: #101820; font-size: 17px; }
.reference-buy {
  width: 100%; height: 60px; border: 0; border-radius: 999px;
  background: #1f2226; color: #fff; font-size: 18px; font-weight: 700; cursor: pointer;
}
.reference-buy:hover { background: #30353a; }
.reference-payments { min-height: 52px; padding-top: 18px; display: flex; align-items: center; justify-content: center; gap: 12px; color: #9ca7b8; }
.reference-payments b { padding: 3px 6px; border: 1px solid #dce1e3; color: #164299; font-size: 12px; }
.reference-offers { display: grid; gap: 28px; }
.reference-offer-card {
  position: relative; padding: 28px 30px 30px; border-radius: 20px;
  background: #f3f5f5;
}
.reference-offer-card h4 {
  margin: 0 0 18px; color: #101820; font-size: 20px; line-height: 1.25; font-weight: 600;
}
.reference-offer-card .quantity-control { margin: 0 0 18px; background: #fff; }
.mobile-tabs { display: flex; gap: 10px; margin: 2px 0 28px; overflow-x: auto; scrollbar-width: none; }
.mobile-tabs button {
  flex: none; height: 50px; padding: 0 20px; border: 1px solid #cbd4d5; border-radius: 999px;
  background: #f8f9f9; color: #252b30; font-size: 16px; font-weight: 600; cursor: pointer;
}
.mobile-tabs button.active { border: 2px solid #05e27e; box-shadow: inset -8px 0 0 -6px #8de9f8; background: #fff; }
.package-section-title { margin: 0 0 18px; font-size: 22px; font-weight: 600; }
.package-list { display: grid; gap: 30px; }
.package-card { position: relative; padding: 30px; border-radius: 20px; background: #f3f5f5; }
.package-card h4 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.package-card ul { margin: 0 0 18px; padding-left: 20px; color: #738a8c; font-size: 16px; line-height: 1.55; }
.popular-tag {
  position: absolute; left: 30px; top: -14px; padding: 4px 12px; border-radius: 999px;
  background: #fff; box-shadow: 0 4px 15px rgba(31,34,38,.05); font-size: 17px; font-weight: 600;
}
.package-card .quantity-control { margin: 0 0 18px; background: #fff; }
.product-modal #checkoutStep2, .product-modal #checkoutStep3, .product-modal #checkoutStepSuccess {
  width: min(560px, calc(100% - 40px)); margin: 30px auto; padding: 26px;
}

@media (max-width: 700px) {
  .product-modal .modal-card { width: 100%; height: 100dvh; max-height: none; border-radius: 0; transform: translateY(100%); }
  .product-detail-header { height: 60px; padding: 0 22px 0 30px; }
  .product-detail-header .logo-symbol { transform: none; width: 48px; }
  .product-detail-header .logo-text { font-size: 25px; }
  .product-detail-header .logo-text > span { font-size: 12px; }
  .product-back { height: 56px; margin: 0 22px; }
  .product-hero-panel { min-height: 170px; padding: 28px 30px; grid-template-columns: 162px 1fr; gap: 28px; }
  .product-hero-panel h2 { font-size: 27px; }
  #productPurchaseContent { padding: 20px 30px 0; }
}

@media (max-width: 480px) {
  .product-hero-panel { min-height: 154px; padding: 22px; grid-template-columns: 135px 1fr; gap: 18px; }
  .product-hero-panel::before { width: 160px; }
  .product-art img { width: 135px; height: 84px; }
  .product-hero-panel h2 { font-size: 23px; }
  #productPurchaseContent { padding: 18px 22px 0; }
  .product-facts { gap: 14px; }
  .product-facts p { font-size: 14px; }
  .fact-icon, .fact-icon.flag-nl { width: 44px; height: 44px; border-radius: 12px; }
  .reference-denoms { grid-template-columns: repeat(2, 1fr); }
  .reference-denom { min-height: 64px; }
  .reference-offers { gap: 22px; }
  .reference-offer-card { padding: 26px 22px; }
  .reference-offer-card h4 { font-size: 18px; }
  .checkout-email-step { width: calc(100% - 40px); padding-top: 18px; }
  .checkout-order-summary { margin: 0 -20px 28px; padding: 24px 20px 30px; border-radius: 0 0 24px 24px; }
  .summary-product-row { grid-template-columns: 174px 1fr; gap: 26px; margin-bottom: 26px; }
  .summary-product-row img { width: 174px; height: 108px; }
  .summary-product-row h2 { font-size: 28px; }
  .summary-product-row p, .summary-price-lines { font-size: 19px; }
  .promo-toggle { width: 72%; height: 48px; font-size: 19px; }
  .checkout-email-form h2 { font-size: 30px; }
  .checkout-email-input { min-height: 78px; border-radius: 17px; font-size: 17px; }
  .checkout-email-input input { font-size: 22px; }
  .terms-check { font-size: 19px; }
  .terms-check input { width: 34px; height: 34px; }
  .secure-note { margin-top: 90px; padding: 20px; font-size: 17px; }
  .package-card { padding: 26px 22px; }
  .package-card .quantity-control { padding: 0 16%; }
}

/* Header controls and footer accordions */
.footer-toggle {
  margin: 0 0 10px; padding: 0; border: 0; background: transparent;
  color: #fff; font-size: 14px; font-weight: 600; text-align: left; cursor: default;
}
.footer-toggle span { display: none; }
.footer-link-list { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-trust { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 5px 8px; }
.footer-trust > strong { font-size: 16px; }
.footer-trust .trust-stars { display: inline-flex; gap: 2px; color: #fff; font-size: 13px; }
.footer-trust .trust-stars:not(.unused) { color: #fff; }
.footer-trust .trust-stars { background: none; }
.footer-trust .trust-stars { letter-spacing: 2px; }
.footer-trust .trust-stars i { color: #c7d0d1; font-style: normal; }
.footer-trust > a, .footer-trust > b { color: #fff; font-size: 12px; font-weight: 400; }
.footer-trust > b { color: #fff; }
.setting-flag { font-size: 23px; line-height: 1; }
.settings-popover button > span { display: flex; align-items: center; gap: 10px; }
.settings-popover button i { width: 24px; font-style: normal; text-align: center; }
.settings-popover button b { font-size: 12px; color: #738a8c; }

@media (min-width: 701px) {
  .floating-header {
    top: 4px; width: calc(100vw - 36px); max-width: 1600px; height: 90px;
    padding: 0 20px; border-radius: 999px;
  }
  .floating-header .logo { min-width: 274px; }
  .floating-header .categories-button { height: 78px; min-width: 156px; border-radius: 0 999px 999px 0; }
  .floating-header .header-setting { height: 58px; font-size: 16px; }
  .floating-header .help-button { height: 60px; min-width: 100px; }
  .settings-popover { top: 100px; right: 24px; }
}

@media (max-width: 700px) {
  .settings-popover { position: fixed; z-index: 1100; top: 78px; right: 12px; }
  /* Swipeable product shelves */
  .catalog { width: 100%; padding-top: 42px; }
  .catalog-section { margin-bottom: 54px; }
  .catalog-heading { width: calc(100vw - 40px); margin: 0 auto 28px; }
  .catalog-heading h2 { font-size: 29px; }
  .catalog-heading .show-all { font-size: 16px; }
  .catalog-section .product-grid {
    width: 100%; padding: 0 20px 8px; display: flex; flex-wrap: nowrap;
    gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .catalog-section .product-grid::-webkit-scrollbar { display: none; }
  .catalog-section .product-card { flex: 0 0 min(72vw, 290px); scroll-snap-align: start; }
  .catalog-section .product-card h3 { margin-top: 18px; font-size: 20px; }
  .catalog-section .product-image-wrap { border-radius: 20px; }

  /* Mobile footer matches the compact reference layout */
  footer { text-align: center; }
  footer .content-width { width: calc(100vw - 60px); }
  .footer-main { display: flex; flex-direction: column; gap: 0; padding: 38px 0 20px; }
  .footer-trust { order: 1; margin-bottom: 30px; justify-content: center; font-size: 16px; }
  .footer-trust > strong { width: 100%; font-size: 20px; font-weight: 400; }
  .footer-trust .trust-stars {
    padding: 2px 3px; color: #fff; background: linear-gradient(90deg, #39b718 0 82%, #c7d0d1 82%);
    font-size: 15px; line-height: 20px; letter-spacing: 2px;
  }
  .footer-trust .trust-stars i { color: #fff; }
  .footer-trust > a, .footer-trust > b { font-size: 16px; }
  .footer-trust > b { color: #fff; }
  .footer-trust > b::first-letter { color: #00b67a; }
  .footer-links { order: 2; display: block; }
  .footer-links nav { display: block; border-bottom: 2px solid #3d4245; }
  .footer-toggle {
    width: 100%; height: 71px; margin: 0; display: flex; align-items: center; justify-content: space-between;
    color: #fff; font-size: 20px; font-weight: 600; cursor: pointer;
  }
  .footer-toggle span { display: block; font-size: 29px; font-weight: 300; transition: transform .2s; }
  .footer-links nav.open .footer-toggle span { transform: rotate(180deg); }
  .footer-link-list { max-height: 0; overflow: hidden; gap: 0; transition: max-height .25s ease; }
  .footer-links nav.open .footer-link-list { max-height: 360px; padding-bottom: 12px; }
  .footer-link-list a { width: 100%; padding: 8px 0; text-align: left; font-size: 15px; }
  .footer-about { order: 3; display: flex; flex-direction: column; align-items: center; }
  .footer-about p {
    order: 1; margin: 30px -2px 24px; color: #fff; font-size: 17px; line-height: 1.47; text-align: center;
  }
  .footer-logo { order: 2; min-width: 0; margin: 0 auto; }
  .footer-logo .logo-text { font-size: 28px; }
  .footer-logo .logo-text > span { font-size: 13px; }
  .footer-bottom { padding: 14px 0 30px; align-items: center; gap: 28px; border-top: 0; }
  .footer-bottom > span { max-width: 330px; color: #fff; font-size: 17px; line-height: 1.75; }
  .footer-bottom nav { width: 100%; display: flex; justify-content: space-between; gap: 10px; }
  .footer-bottom nav a { color: #fff; font-size: 13px; white-space: nowrap; }
}

/* Final regional and compact-scale overrides */
.settings-popover { width: 310px; max-height: min(620px, calc(100vh - 118px)); overflow: hidden; }
.settings-search { width: 100%; height: 42px; padding: 0 13px; border: 1px solid #c7d0d1; border-radius: 10px; outline: 0; background: #fff; color: #1f2226; font-size: 14px; }
.settings-search:focus { border-color: #05e27e; box-shadow: 0 0 0 3px rgba(5,226,126,.12); }
.settings-options { min-height: 0; max-height: 500px; overflow-y: auto; display: grid; gap: 3px; scrollbar-width: thin; }
.settings-options button[hidden] { display: none; }
.setting-flag { width: 27px; display: inline-grid; place-items: center; font-size: 22px; line-height: 1; }

@media (min-width: 701px) {
  :root { --content: min(1420px, calc(100vw - 64px)); }
  body { font-size: 16px; }
  .trust-bar { height: 34px; font-size: 12px; }
  .hero { height: clamp(420px, 32vw, 610px); }
  .floating-header { top: 4px; width: calc(100vw - 36px); max-width: 1480px; height: 76px; padding: 0 17px; }
  .floating-header .logo { min-width: 235px; }
  .floating-header .logo-symbol { width: 48px; transform: scale(.9); transform-origin: left center; }
  .floating-header .logo-text { font-size: 27px; }
  .floating-header .logo-text > span { font-size: 14px; }
  .floating-header .categories-button { min-width: 145px; height: 64px; font-size: 15px; }
  .floating-header .header-setting { height: 50px; padding: 0 8px; font-size: 14px; }
  .floating-header .help-button { min-width: 88px; height: 52px; font-size: 15px; }
  .category-menu { top: 90px; transform: translate(-6px, -8px) scale(.92); transform-origin: top left; }
  .category-menu.open { transform: translate(-6px, 0) scale(.92); }
  .quickbuy-copy h1, .topup-copy h1, .app-hero-copy h1 { font-size: clamp(54px, 4.25vw, 78px); letter-spacing: -3px; }
  .quickbuy-copy p, .topup-copy p, .app-hero-copy p { font-size: 30px; }
  .quickbuy-card, .topup-panel, .hero-download-card { transform: scale(.9); transform-origin: center; }
  .popular-heading-row h2 { font-size: 43px; }
  .filter-pill { height: 41px; padding: 0 14px; font-size: 13px; }
  .product-grid { gap: 24px; }
  .product-card h3 { margin-top: 10px; font-size: 14px; }
  .stats-section h2 { font-size: 34px; }
  .stats-grid h3 { font-size: 32px; }
  .catalog-heading h2 { font-size: 39px; }
  .app-banner h2 { font-size: 42px; }
}

@media (max-width: 700px) {
  .settings-popover { position: fixed; z-index: 1100; top: 78px; right: 12px; width: calc(100vw - 24px); max-height: calc(100dvh - 92px); }
  .settings-options { max-height: calc(100dvh - 180px); }
  .catalog-section .product-card { flex-basis: min(64vw, 270px); }
  .catalog-section .product-card h3 { font-size: 17px; }
  .catalog-heading h2 { font-size: 26px; }
}

/* Final mobile size calibration */
@media (max-width: 700px) {
  .hero { height: 488px; touch-action: pan-y; }
  .quickbuy-copy, .topup-copy { top: 126px; }
  .app-hero-copy { top: 130px; }

  .catalog-section { margin-bottom: 46px; }
  .catalog-heading { margin-bottom: 22px; }
  .catalog-section .product-grid { gap: 20px; }
  .catalog-section .product-card { flex-basis: min(58vw, 240px); }
  .catalog-section .product-card h3 { margin-top: 13px; font-size: 15px; }
  .catalog-section .product-image-wrap { border-radius: 16px; }

  footer .content-width { width: calc(100vw - 48px); }
  .footer-main { padding: 30px 0 14px; }
  .footer-trust { margin-bottom: 22px; }
  .footer-trust > strong { font-size: 18px; }
  .footer-trust > a, .footer-trust > b { font-size: 14px; }
  .footer-toggle { height: 62px; font-size: 18px; }
  .footer-toggle span { font-size: 25px; }
  .footer-link-list a { padding: 7px 0; font-size: 13px; }
  .footer-about p { margin: 24px 0 20px; font-size: 15px; line-height: 1.45; }
  .footer-logo .logo-text { font-size: 25px; }
  .footer-logo .logo-text > span { font-size: 11px; }
  .footer-bottom { padding: 10px 0 24px; gap: 20px; }
  .footer-bottom > span { max-width: 300px; font-size: 15px; line-height: 1.6; }
  .footer-bottom nav a { font-size: 11px; }
}

/* Final checkout mobile polish: match Recharge checkout proportions */
@media (max-width: 700px) {
  .custom-value {
    height: auto;
    min-height: 68px;
    margin-bottom: 22px;
    padding: 10px 18px;
    justify-content: center;
    gap: 4px;
    line-height: 1.25;
  }
  .custom-value span { display: block; font-size: 15px; line-height: 1.35; }
  .custom-value input { height: 22px; padding: 0; font-size: 17px; line-height: 1.2; }
  .reference-denom { min-width: 0; padding: 0 10px; font-size: 16px; white-space: nowrap; }

  .product-modal.checkout-email-active .modal-card::before {
    content: "🎁 " attr(data-checkout-trust);
    flex: none;
    min-height: 36px;
    padding: 5px 14px;
    display: flex;
    align-items: center;
    background: #1f2226;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
  }
  .product-modal.checkout-email-active .product-detail-header {
    height: 76px;
    padding: 0 24px;
    justify-content: flex-start;
  }
  .product-modal.checkout-email-active .product-detail-menu { display: none; }
  .product-modal.checkout-email-active .product-detail-header .logo-symbol { width: 44px; }
  .product-modal.checkout-email-active .product-detail-header .logo-text { font-size: 24px; }
  .product-modal.checkout-email-active .product-detail-header .logo-text > span { font-size: 12px; }

  .checkout-email-step {
    width: 100% !important;
    padding: 0 24px 24px !important;
    gap: 0 !important;
  }
  .checkout-order-summary {
    margin: 0 -24px 30px !important;
    padding: 22px 24px 28px !important;
    border-radius: 0 0 22px 22px !important;
    background: #f3f5f5;
  }
  .summary-product-row {
    grid-template-columns: 104px minmax(0, 1fr) !important;
    gap: 32px !important;
    margin-bottom: 22px !important;
  }
  .summary-product-row img {
    width: 104px !important;
    height: 65px !important;
    border-radius: 5px !important;
  }
  .summary-product-row h2 {
    margin-bottom: 2px;
    font-size: 24px !important;
    line-height: 1.05;
    letter-spacing: -.2px;
  }
  .summary-product-row p { font-size: 17px !important; line-height: 1.15; }
  .summary-price-lines {
    gap: 12px !important;
    font-size: 15px !important;
    line-height: 1.2;
  }
  .summary-price-lines > div { gap: 12px; align-items: flex-start; }
  .summary-price-lines strong { font-size: 15px; }
  .summary-total span, .summary-total strong { font-weight: 700; }
  .promo-toggle {
    width: calc(100% - 48px) !important;
    height: 32px !important;
    margin-top: 24px !important;
    gap: 14px;
    font-size: 16px !important;
    line-height: 1;
  }
  .promo-toggle span { font-size: 22px; }

  .checkout-email-form {
    gap: 20px !important;
  }
  .checkout-email-form h2 {
    margin: 0 0 2px !important;
    font-size: 25px !important;
    line-height: 1.1 !important;
    letter-spacing: -.35px;
  }
  .checkout-email-input {
    min-height: 56px !important;
    padding: 8px 16px !important;
    border: 1.5px solid #cfd7db !important;
    border-radius: 14px !important;
    color: #738a8c !important;
    font-size: 15px !important;
  }
  .checkout-email-input:focus-within { border-color: #0878e6 !important; box-shadow: 0 0 0 1px #0878e6; }
  .checkout-email-input span { display: none; }
  .checkout-email-input input {
    font-size: 16px !important;
    color: #1f2226;
  }
  .checkout-email-input input::placeholder { color: #738a8c; opacity: 1; }
  .terms-check {
    display: block !important;
    margin: 2px 0 8px;
    color: #1f2226;
    font-size: 17px !important;
    line-height: 1.6 !important;
  }
  .terms-check input {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    opacity: 0;
    pointer-events: none;
  }
  .terms-check span span { color: #006be5; font-weight: 700; }
  .checkout-email-continue {
    height: 48px !important;
    margin-top: 6px !important;
    font-size: 17px !important;
  }
  .secure-note {
    margin-top: 48px !important;
    padding: 20px 18px !important;
    grid-template-columns: 40px 1fr !important;
    gap: 14px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    line-height: 1.42 !important;
  }
  .secure-note span {
    width: 32px !important;
    height: 32px !important;
    border-radius: 11px !important;
  }
}
