html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* JET BLACK — signal red, black, white (store identity). Breakpoints: phone <640, tablet 640–1023, desktop ≥1024 */
:root{
  --bg:#f3f4f5;--paper:#fbfbfc;--card:#fbfbfc;--text:#111111;--muted:#65686f;--line:#dddfe4;--line2:#c7c9cc;
  --gold-1:#ffffff;--gold-2:#f01920;--gold-3:#c00c12;--gold-ink:#2d2d2d;--price:#303030;
  --wood-1:#1c1c1c;--wood-2:#111111;--wood-3:#0c0c0c;
  --gold:linear-gradient(135deg,var(--gold-1) 0%,var(--gold-2) 48%,var(--gold-3) 100%);
  --grain:repeating-linear-gradient(97deg,#ffffff05 0 2px,transparent 2px 7px,#0000000e 7px 8px,transparent 8px 15px);
  --wood:var(--grain),linear-gradient(135deg,var(--wood-1) 0%,var(--wood-2) 55%,var(--wood-3) 100%);
  --r-lg:24px;--r:18px;--r-sm:12px;
  --shadow:0 1px 2px #2222220d,0 8px 24px #22222212;--shadow-lg:0 18px 50px #10101026;
  --serif:'Playfair Display',Georgia,serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background-color:var(--wood-3);scroll-padding-top:80px}
body{margin:0;font-family:'Kantumruy Pro',system-ui,sans-serif;background:var(--bg);color:var(--text);line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit}
svg{flex:none}
.wrap{max-width:1240px;margin:0 auto;padding:0 32px}
[hidden]{display:none!important}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:12px 22px;font-weight:600;font-size:15px;cursor:pointer;white-space:nowrap;transition:transform .15s,filter .15s,background .15s}
.btn svg{width:18px;height:18px}
.btn:active{transform:scale(.97)}
.btn.gold{background:var(--gold);color:var(--wood-3);box-shadow:inset 0 1px 0 #fff7,0 6px 18px #c00c1240}
.btn.gold:hover{filter:brightness(1.07)}
.btn.glass{background:#ffffff12;color:#eaebee;border:1px solid #f0192066;backdrop-filter:blur(6px)}
.btn.glass:hover{background:#ffffff1f}
.btn.outline{background:transparent;color:var(--text);border:1px solid var(--line2)}
.btn.outline:hover{background:#e4e6ea}
.btn.small{padding:9px 16px;font-size:14px}

/* Utility bar */
.topbar{background:var(--wood-3);color:#aaadb2;font-size:13px;border-bottom:1px solid #f0192022}
.topbar-in{display:flex;align-items:center;gap:22px;height:38px}
.topbar span,.topbar a{display:inline-flex;align-items:center;gap:6px}
.topbar svg{width:14px;height:14px;color:var(--gold-2)}
.topbar-right{margin-left:auto;gap:18px!important}
.topbar a:hover{color:var(--gold-1)}

/* Header */
.nav{position:sticky;top:0;z-index:30;background:var(--wood-3);color:#eaebee;border-bottom:1px solid #f019203d}
.nav-in{display:flex;align-items:center;gap:28px;height:76px}
.logo{display:flex;align-items:center;gap:12px}
.logo-mark{width:44px;height:44px;border-radius:13px;background:var(--gold);color:var(--wood-3);display:grid;place-items:center;font-family:var(--serif);font-weight:700;font-size:24px;box-shadow:inset 0 1px 0 #fff8,0 4px 14px #0005;flex:none}
.logo-mark.big{width:64px;height:64px;font-size:34px;border-radius:18px}
.logo-text{display:flex;flex-direction:column;line-height:1.15}
.logo-text b{font-family:var(--serif);font-size:21px;letter-spacing:.01em;background:linear-gradient(180deg,#dfe1e6,#f01920);-webkit-background-clip:text;background-clip:text;color:transparent}
.logo-text small{font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:#90949b}
.links{display:flex;gap:4px;margin-left:auto}
.links a{padding:8px 14px;border-radius:999px;font-size:15px;color:#cbcdd0;transition:background .15s,color .15s}
.links a:hover{color:var(--gold-1);background:#ffffff0d}
.links a.active{color:var(--gold-1)}
.nav-actions{display:flex;align-items:center;gap:10px}
.icon-btn{width:44px;height:44px;border-radius:12px;border:1px solid #f0192040;background:#ffffff0a;color:var(--gold-1);display:grid;place-items:center;cursor:pointer}
.icon-btn svg{width:20px;height:20px}
.icon-btn:hover{background:#ffffff1a}
.burger{width:44px;height:44px;border:1px solid #f0192055;border-radius:12px;background:#ffffff0a;cursor:pointer;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:5px;padding:0 11px}
.burger:hover{background:#ffffff1a}
.burger span{display:block;height:2.5px;border-radius:2px;background:var(--gold-2);width:22px;transition:width .2s}
.burger span:nth-child(2){width:13px}
.burger:hover span:nth-child(2){width:22px}
.announce{background:var(--gold);color:var(--wood-3);text-align:center;padding:8px 16px;font-size:14px;font-weight:600}

/* Drawer */
.drawer-overlay{position:fixed;inset:0;background:#0b0b0bb3;backdrop-filter:blur(3px);opacity:0;visibility:hidden;transition:opacity .3s,visibility .3s;z-index:60}
.drawer{position:fixed;top:0;left:0;bottom:0;width:min(340px,86vw);background:var(--bg);border-right:3px solid var(--gold-2);z-index:61;transform:translateX(-100%);visibility:hidden;transition:transform .35s cubic-bezier(.22,.8,.3,1),visibility .35s;display:flex;flex-direction:column;box-shadow:12px 0 50px #0005}
body.drawer-open{overflow:hidden}
body.drawer-open .drawer{transform:none;visibility:visible}
body.drawer-open .drawer-overlay{opacity:1;visibility:visible}
.drawer-head{background:var(--wood);padding:22px 18px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.drawer-close{width:38px;height:38px;border-radius:50%;border:1px solid #f0192055;background:#ffffff10;color:var(--gold-1);cursor:pointer}
.drawer-body{padding:8px 18px;overflow-y:auto;flex:1}
.drawer-label{color:var(--muted);font-size:12px;letter-spacing:.12em;text-transform:uppercase;margin:18px 4px 8px}
.drawer-nav{display:flex;flex-direction:column;gap:2px}
.drawer-nav a{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:var(--r-sm);font-weight:500}
.drawer-nav svg{width:20px;height:20px;color:var(--gold-3)}
.drawer-nav a:hover{background:#dee0e5}
.drawer-brands{display:flex;flex-wrap:wrap;gap:6px}
.drawer-brands a{border:1px solid var(--line2);border-radius:99px;padding:5px 14px;font-size:14px;background:var(--paper)}
.drawer-brands a:hover{border-color:var(--gold-2);color:var(--gold-ink)}
.drawer-foot{padding:16px 18px 22px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px}
.drawer-foot small{display:flex;gap:6px;align-items:center;justify-content:center;color:var(--muted)}
.drawer-foot small svg{width:14px;height:14px}

/* Hero */
.hero{background:radial-gradient(900px 500px at 80% 0%,#f0192038,transparent 60%),radial-gradient(700px 420px at 0% 100%,#c00c124d,transparent 60%),var(--wood);color:#eaebee;padding:64px 0 0;position:relative;overflow:hidden}
.hero-in{display:grid;grid-template-columns:1.1fr .9fr;gap:48px;align-items:center}
.eyebrow{display:inline-flex;align-items:center;gap:10px;color:var(--gold-1);font-size:14px;font-weight:500;letter-spacing:.04em;padding:6px 14px;border:1px solid #f0192055;border-radius:99px;background:#ffffff08}
.eyebrow i{width:7px;height:7px;border-radius:50%;background:var(--gold-2);box-shadow:0 0 0 4px #f0192033}
.hero h1{margin:20px 0 14px;line-height:1.1}
.h-kh{display:block;font-size:clamp(22px,2.6vw,30px);font-weight:600;color:#ffffff;margin-bottom:6px}
.h-en{display:block;font-family:var(--serif);font-size:clamp(46px,6.4vw,84px);font-weight:700;letter-spacing:-.01em;background:linear-gradient(180deg,#e6e8eb 10%,#f01920 60%,#c00c12);-webkit-background-clip:text;background-clip:text;color:transparent;padding-bottom:6px}
.lead{font-size:17px;color:#cbcdd0cc;max-width:560px;margin:0 0 26px}
.search{display:flex;align-items:center;gap:10px;max-width:580px;background:var(--paper);border-radius:999px;padding:6px 6px 6px 20px;color:var(--muted);box-shadow:0 10px 30px #0004}
.search>svg{width:20px;height:20px;color:var(--gold-3)}
.search input{flex:1;border:0;outline:0;padding:10px 0;font:inherit;font-size:16px;color:var(--text);background:transparent;min-width:0}
.search .btn{padding:11px 22px}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.hero-visual{position:relative;height:440px}
.ring{position:absolute;inset:8% 6%;border-radius:50%;border:1px solid #f0192055;box-shadow:0 0 0 30px #f019200d,0 0 0 60px #f0192008;background:radial-gradient(circle,#f0192026,transparent 65%)}
.device{position:absolute;width:200px;height:400px;border-radius:38px;background:linear-gradient(145deg,#161616,#070707);padding:10px;box-shadow:inset 0 0 0 2px #f0192099,0 30px 60px #0008}
.device .screen{width:100%;height:100%;border-radius:29px;background:radial-gradient(circle at 30% 20%,#f0192055,transparent 50%),linear-gradient(160deg,#1c1c1c,#0a0a0a);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center}
.device .screen b{font-family:var(--serif);font-size:22px;color:var(--gold-1)}
.device .screen small{font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:#90949b}
.device .notch{position:absolute;top:18px;left:50%;transform:translateX(-50%);width:64px;height:18px;border-radius:99px;background:#000;z-index:1}
.device.front{left:50%;top:20px;transform:translateX(-30%) rotate(4deg)}
.device.back{left:50%;top:40px;transform:translateX(-95%) rotate(-8deg);opacity:.75;filter:saturate(.8)}
.device.back .screen{background:linear-gradient(160deg,#f0192055,#111111 60%)}
.float{position:absolute;display:flex;align-items:center;gap:10px;background:#fbfbfcf2;color:var(--text);padding:10px 16px 10px 10px;border-radius:16px;box-shadow:var(--shadow-lg);animation:bob 5s ease-in-out infinite}
.float svg{width:38px;height:38px;padding:8px;border-radius:11px;background:var(--gold);color:var(--wood-3)}
.float span{display:flex;flex-direction:column;line-height:1.3}
.float b{font-size:14px}.float small{font-size:12px;color:var(--muted)}
.f1{left:0;top:70px}.f2{right:0;bottom:70px;animation-delay:-2.5s}
@keyframes bob{50%{transform:translateY(-8px)}}
.trust{display:grid;grid-template-columns:repeat(4,1fr);margin-top:56px;border-top:1px solid #f0192033}
.trust>div{display:flex;align-items:center;gap:14px;padding:24px 18px}
.trust>div+div{border-left:1px solid #f0192026}
.trust svg{width:42px;height:42px;padding:9px;border-radius:12px;border:1px solid #f0192055;color:var(--gold-2)}
.trust span{display:flex;flex-direction:column;line-height:1.35}
.trust b{font-size:15px;color:#eaebee}.trust small{font-size:13px;color:#90949b}

/* Zones */
.zone{padding:80px 0}
.zone.alt{background:linear-gradient(180deg,#e1e3e7 0,var(--bg) 220px)}
.zone-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:28px}
.kicker{display:inline-flex;align-items:center;gap:10px;font-family:var(--serif);font-style:italic;color:var(--gold-3);font-size:16px}
.kicker::before{content:"";width:28px;height:1.5px;background:var(--gold-2)}
.zone h2{margin:4px 0 0;font-size:clamp(26px,3vw,36px);line-height:1.25}
.zone-sub{margin:0;color:var(--muted)}

/* Category cards */
.cats{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.cat{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;padding:28px 12px 24px;background:var(--card);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow);cursor:pointer;transition:transform .2s,box-shadow .2s,border-color .2s;overflow:hidden}
.cat::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:var(--gold);transform:scaleX(0);transition:transform .25s}
.cat:hover,.cat:focus-visible{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--line2);outline:none}
.cat:hover::before,.cat:focus-visible::before{transform:none}
.cat-ic{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 30% 25%,#eeeff1,#ffffff 70%);color:var(--gold-ink);box-shadow:inset 0 0 0 1px #f0192080,0 0 0 6px #e3e5e9;transition:background .2s,color .2s}
.cat-ic svg{width:32px;height:32px}
.cat:hover .cat-ic{background:var(--wood);color:var(--gold-1)}
.cat-txt{display:flex;flex-direction:column;line-height:1.35}
.cat-txt b{font-size:17px;font-weight:600}
.cat-txt small{font-size:13px;color:var(--muted);margin-top:3px}
.cat-go{display:none}

/* Products panel + tabs */
.panel{background:var(--paper);border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--shadow);padding:8px;margin-bottom:24px}
.tabs{display:flex;gap:6px;background:#e7e9ec;border-radius:18px;padding:6px;overflow-x:auto;scrollbar-width:none}
.tabs::-webkit-scrollbar,.chips::-webkit-scrollbar{display:none}
.tab{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;border:0;background:transparent;padding:11px 16px;border-radius:13px;font-weight:600;font-size:15px;color:var(--muted);cursor:pointer;white-space:nowrap;transition:background .15s,color .15s}
.tab svg{width:16px;height:16px}
.tab em{font-style:normal;font-size:12px;min-width:24px;padding:1px 7px;border-radius:99px;background:#ffffff;color:var(--muted)}
.tab:hover{color:var(--text)}
.tab.active{background:var(--wood);color:var(--gold-1);box-shadow:0 6px 16px #10101033}
.tab.active em{background:var(--gold);color:var(--wood-3)}
.filterbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 10px 8px}
.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;min-width:0}
.chip{border:1px solid var(--line2);background:transparent;border-radius:99px;padding:6px 16px;font-size:14px;cursor:pointer;white-space:nowrap}
.chip:hover{border-color:var(--gold-2)}
.chip.active{background:var(--gold);border-color:transparent;color:var(--wood-3);font-weight:600}
.sort{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted);white-space:nowrap}
.sort select{border:1px solid var(--line2);background:var(--paper);border-radius:99px;padding:7px 14px;font:inherit;font-size:14px;color:var(--text)}

/* Product grid */
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.card{background:var(--card);border-radius:var(--r-lg);overflow:hidden;cursor:pointer;transition:transform .2s,box-shadow .2s,border-color .2s;border:1px solid var(--line);display:flex;flex-direction:column;box-shadow:var(--shadow)}
.card:hover,.card:focus-visible{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--gold-2);outline:none}
.card.sold{opacity:.6}
.pic{position:relative;aspect-ratio:1;background:radial-gradient(circle at 50% 40%,#fbfbfc,#e1e3e7);display:grid;place-items:center}
.pic img{width:100%;height:100%;object-fit:contain;padding:18px;transition:transform .3s}
.card:hover .pic img{transform:scale(1.04)}
.ph{width:56px;height:56px;color:#9a9da3}
.ph svg{width:100%;height:100%}
.tag{display:inline-block;font-size:12px;font-weight:600;padding:3px 10px;border-radius:99px}
.pic .tag{position:absolute;top:12px;left:12px}
.pic .tag.out{left:auto;right:12px}
.pic .tag.hot{left:auto;right:12px;background:var(--gold);color:var(--wood-3)}
.tag.new{background:#111111;color:var(--gold-1)}.tag.like_new{background:#fff;color:#282828;border:1px solid var(--line2)}.tag.used{background:#e4e6ea;color:#282828}
.tag.out{background:#2a2a2a;color:#fff}.tag.in{background:#e8f0dc;color:#4d6b2a}
.info{padding:14px 16px 18px;display:flex;flex-direction:column;flex:1}
.brand{color:var(--gold-3);font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}
.info h3{font-size:16px;margin:2px 0 4px;line-height:1.4}
.specs{color:var(--muted);font-size:13px;margin:0 0 10px}
.price-row{margin-top:auto;display:flex;align-items:flex-end;justify-content:space-between;gap:8px;padding-top:10px;border-top:1px dashed var(--line2)}
.price{display:flex;flex-direction:column;line-height:1.2}
.price b{font-size:22px;color:var(--price);font-family:var(--serif)}
.price s{color:var(--muted);font-size:13px}
.khr{color:var(--muted);font-size:12px}
.go{width:36px;height:36px;border-radius:50%;background:var(--wood);color:var(--gold-1);display:grid;place-items:center;flex:none}
.go svg{width:16px;height:16px}
.empty{text-align:center;background:var(--paper);border:1px dashed var(--line2);border-radius:var(--r-lg);padding:56px 20px;display:flex;flex-direction:column;align-items:center;gap:6px}
.empty-ic{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:#e3e5e9;color:var(--gold-3);margin-bottom:8px}
.empty-ic svg{width:32px;height:32px}
.empty b{font-size:19px}.empty p{margin:0 0 14px;color:var(--muted)}
.note{color:var(--muted);font-size:13px;margin:22px 0 0}

/* Services */
.zone.wood{background:radial-gradient(800px 400px at 100% 0%,#f0192026,transparent 60%),var(--wood);color:#eaebee}
.zone.wood .zone-sub{color:#90949b}
.svc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.svc-card{position:relative;padding:32px 28px;border-radius:var(--r-lg);background:#ffffff08;border:1px solid #f0192033;transition:background .2s,border-color .2s,transform .2s}
.svc-card:hover{background:#ffffff10;border-color:#f0192080;transform:translateY(-4px)}
.svc-num{position:absolute;top:22px;right:26px;font-family:var(--serif);font-size:40px;color:#f019202e;font-weight:700}
.svc-ic{display:grid;place-items:center;width:58px;height:58px;border-radius:16px;background:var(--gold);color:var(--wood-3);margin-bottom:20px}
.svc-ic svg{width:28px;height:28px}
.svc-card h3{margin:0 0 8px;font-size:20px;color:var(--gold-1)}
.svc-card p{margin:0 0 18px;color:#bdbfc3;font-size:15px}
.link{display:inline-flex;align-items:center;gap:6px;border:0;background:none;padding:0;color:var(--gold-2);font-weight:600;cursor:pointer}
.link svg{width:16px;height:16px;transition:transform .15s}
.link:hover svg{transform:translateX(4px)}

/* About + contact */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.about-card{background:var(--wood);color:#eaebee;border-radius:var(--r-lg);padding:36px;position:relative;overflow:hidden}
.about-card::after{content:"S";position:absolute;right:-20px;bottom:-70px;font-family:var(--serif);font-size:260px;font-weight:700;color:#f0192014;line-height:1}
.about-card h3{font-family:var(--serif);font-size:30px;margin:16px 0 8px;color:var(--gold-1)}
.about-card p{color:#bdbfc3;margin:0 0 18px}
.checks{list-style:none;margin:0;padding:0;display:grid;gap:10px;position:relative;z-index:1}
.checks li{display:flex;gap:10px;align-items:center}
.checks svg{width:22px;height:22px;color:var(--gold-2)}
.info-list{display:grid;gap:12px;align-content:start}
.info-row{display:flex;align-items:center;gap:16px;background:var(--paper);border:1px solid var(--line);border-radius:var(--r);padding:16px 18px;box-shadow:var(--shadow)}
.info-ic{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#e3e5e9;color:var(--gold-ink);flex:none}
.info-ic svg{width:22px;height:22px}
.info-row>div{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.4}
.info-row small{color:var(--muted);font-size:13px}
.info-row b{font-weight:600;word-break:break-word}
.mini{flex:none;font-size:13px;font-weight:600;padding:7px 14px;border-radius:99px;background:var(--wood);color:var(--gold-1)}

/* Footer */
.foot{background:var(--wood-3);color:#90949b;padding:56px 0 0;border-top:3px solid var(--gold-2)}
.foot-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}
.foot p{max-width:380px;font-size:14px}
.foot h4{color:var(--gold-1);margin:6px 0 12px;font-size:15px}
.foot-grid a,.foot-grid span{display:block;font-size:14px;margin-bottom:6px}
.foot-grid a:hover{color:var(--gold-1)}
.foot-bottom{border-top:1px solid #f0192022;margin-top:36px;padding:18px 32px;font-size:13px;text-align:center}

/* Bottom bar (phone only) */
.bottombar{display:none}

/* Modal */
dialog{border:0;border-radius:var(--r-lg);padding:0;width:min(900px,calc(100% - 32px));max-height:calc(100% - 32px);color:var(--text);background:var(--paper);box-shadow:var(--shadow-lg)}
dialog.small{width:min(480px,calc(100% - 32px))}
dialog::backdrop{background:#0b0b0bc0;backdrop-filter:blur(4px)}
.close{position:absolute;top:14px;right:14px;width:40px;height:40px;border-radius:50%;border:0;background:#e4e6ea;cursor:pointer;z-index:1}
.m-grid{display:grid;grid-template-columns:1fr 1fr}
.m-pic{background:radial-gradient(circle at 50% 40%,#fbfbfc,#e1e3e7);display:grid;place-items:center;min-height:360px}
.m-pic img{width:100%;max-height:500px;object-fit:contain;padding:28px}
.m-pic .ph{width:90px;height:90px}
.m-info{padding:32px}
.m-info h2{margin:2px 0 12px;font-size:26px;line-height:1.35}
.badges{display:flex;gap:6px;margin-bottom:16px}
.price.big b{font-size:36px}
.spec-list{display:flex;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:16px 0}
.spec-list li{background:#e7e9ec;border-radius:10px;padding:4px 12px;font-size:14px}
.desc{color:#202020;font-size:15px}
.m-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}
.svc-modal{padding:40px 28px 32px;text-align:center}
.svc-modal .cat-ic{margin:0 auto 14px;width:92px;height:92px}
.svc-modal .cat-ic svg{width:40px;height:40px}
.svc-modal h2{margin:0 0 8px;font-size:24px}
.svc-modal p{color:#202020;margin:0 auto 6px;max-width:400px}
.svc-modal .m-actions{justify-content:center}

/* ---------- Tablet (iPad) ---------- */
@media (max-width:1024px), (hover:none) and (pointer:coarse) and (max-width:1366px){
  .topbar{display:none!important}
}
@media (max-width:1023px){
  .topbar{display:none!important}
  .wrap{padding:0 24px}
  .links{display:none}
  .nav-actions{margin-left:auto}
  .hero{padding-top:48px}
  .hero-in{grid-template-columns:1fr 300px;gap:24px}
  .hero-visual{height:380px;transform:scale(.85);transform-origin:center}
  .f1{left:-30px}.f2{right:-30px}
  .trust{grid-template-columns:repeat(2,1fr);margin-top:36px}
  .trust>div:nth-child(3){border-left:0}
  .trust>div:nth-child(n+3){border-top:1px solid #f0192026}
  .zone{padding:64px 0}
  .cats{grid-template-columns:repeat(3,1fr)}
  .grid{grid-template-columns:repeat(3,1fr);gap:16px}
  .svc-grid{gap:14px}
  .svc-card{padding:26px 20px}
  .contact-grid{grid-template-columns:1fr}
}
@media (max-width:820px){
  .hero-in{grid-template-columns:1fr}
  .hero-visual{display:none}
  .svc-grid{grid-template-columns:1fr}
  .svc-card{display:grid;grid-template-columns:auto 1fr;column-gap:18px}
  .svc-card .svc-ic{grid-row:span 3;margin:0}
  .svc-card h3,.svc-card p,.svc-card .link{grid-column:2}
}

/* ---------- Phone ---------- */
@media (max-width:639px){
  html{scroll-padding-top:68px}
  body{padding-bottom:calc(68px + env(safe-area-inset-bottom))}
  .wrap{padding:0 16px}
  .topbar{display:none}
  .hide-sm{display:none!important}
  .nav-in{height:64px;gap:10px}
  .logo-mark{width:38px;height:38px;font-size:21px;border-radius:11px}
  .logo-text b{font-size:18px}
  .logo-text small{font-size:9.5px}
  .icon-btn,.burger{width:40px;height:40px}
  .hero{padding-top:32px}
  .eyebrow{font-size:12px;padding:5px 12px}
  .h-en{font-size:46px}
  .lead{font-size:15px;margin-bottom:20px}
  .search{padding-left:14px}
  .search .btn{padding:10px 16px;font-size:14px}
  .hero-cta .btn{flex:1}
  .trust{margin:28px -16px 0;grid-template-columns:repeat(2,1fr)}
  .trust>div{padding:16px;gap:10px}
  .trust svg{width:36px;height:36px;padding:7px}
  .trust b{font-size:14px}.trust small{font-size:12px}
  .zone{padding:44px 0}
  .zone-head{flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:18px}
  .kicker{font-size:14px}
  /* categories: 3 x 2 compact tiles, like the reference */
  .cats{grid-template-columns:repeat(3,1fr);gap:10px}
  .cat{padding:18px 6px 14px;gap:10px;border-radius:18px}
  .cat-ic{width:56px;height:56px;box-shadow:inset 0 0 0 1px #f0192080,0 0 0 4px #e3e5e9}
  .cat-ic svg{width:25px;height:25px}
  .cat-txt b{font-size:14px}
  .cat-txt small{display:none}
  .panel{padding:6px;border-radius:20px;margin:0 -4px 18px}
  .tab{padding:9px 12px;font-size:14px;flex:none}
  .filterbar{flex-direction:column;align-items:stretch;gap:10px;padding:12px 6px 6px}
  .sort{justify-content:space-between}
  .sort select{flex:1}
  .grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .card{border-radius:18px}
  .info{padding:10px 12px 14px}
  .info h3{font-size:14px}
  .specs{font-size:12px;margin-bottom:8px}
  .price b{font-size:18px}
  .go{width:30px;height:30px}
  .pic .tag{top:8px;left:8px;font-size:11px;padding:2px 8px}
  .pic .tag.out,.pic .tag.hot{right:8px}
  .svc-card{padding:20px 18px}
  .svc-num{font-size:30px;top:14px;right:16px}
  .svc-ic{width:48px;height:48px;border-radius:14px}
  .svc-card h3{font-size:18px}
  .about-card{padding:26px 22px}
  .info-row{padding:12px 14px;gap:12px}
  .info-ic{width:42px;height:42px;border-radius:12px}
  .foot{padding-top:40px}
  .foot-grid{grid-template-columns:1fr 1fr;gap:24px}
  .foot-grid>div:first-child{grid-column:1/-1}
  .foot-bottom{padding:16px}
  .bottombar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:40;background:#0c0c0cf5;backdrop-filter:blur(10px);border-top:1px solid #f0192040;padding:6px 6px calc(6px + env(safe-area-inset-bottom))}
  .bottombar a{display:flex;flex-direction:column;align-items:center;gap:2px;font-size:11px;color:#aaadb2;padding:4px 0}
  .bottombar svg{width:22px;height:22px}
  .bottombar a.main-act{color:var(--wood-3)}
  .bottombar a.main-act svg{width:46px;height:46px;padding:11px;margin-top:-22px;border-radius:50%;background:var(--gold);box-shadow:0 6px 16px #0006,0 0 0 4px #0c0c0c}
  .bottombar a.main-act span{color:var(--gold-1)}
  dialog{width:100%;max-width:none;max-height:92%;margin:auto 0 0;border-radius:24px 24px 0 0}
  dialog.small{width:100%}
  .m-grid{grid-template-columns:1fr}
  .m-pic{min-height:240px}.m-pic img{max-height:300px}
  .m-info{padding:20px 20px 28px}
  .m-actions .btn{flex:1}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* ================= SPA pages ================= */
.app{min-height:60vh}
.app.enter{animation:pageIn .35s ease both}
@keyframes pageIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* Top loading bar */
.progress{position:fixed;top:0;left:0;right:0;height:4.5px;width:100%!important;z-index:999999;pointer-events:none;opacity:0;overflow:hidden;background:rgba(240,25,32,0.12);transition:opacity .2s ease}
.progress.run{opacity:1!important}
.progress.run::before,.progress.run::after{content:"";position:absolute;top:0;height:100%;width:42%;border-radius:99px}
.progress.run::before{background:linear-gradient(90deg,transparent 0%,#ff1e27 22%,#ffffff 50%,#ff3b30 78%,transparent 100%);box-shadow:0 0 10px #ffffff,0 0 20px #ff1e27,0 0 35px #ff1e27,0 0 50px #ff3b30;animation:laserStreamLeft .62s cubic-bezier(.4,0,.2,1) infinite alternate}
.progress.run::after{background:linear-gradient(90deg,transparent 0%,#ff3b30 22%,#ffffff 50%,#ff1e27 78%,transparent 100%);box-shadow:0 0 10px #ffffff,0 0 20px #ffffff,0 0 35px #ff1e27,0 0 50px #ff3b30;animation:laserStreamRight .62s cubic-bezier(.4,0,.2,1) infinite alternate}
@media (min-width:768px){.progress.run::before,.progress.run::after{width:30%;animation-duration:1.15s}}
@media (min-width:1024px){.progress.run::before,.progress.run::after{width:24%;animation-duration:1.45s}}
.progress.done{opacity:0!important;transition:opacity .28s ease .08s}
@keyframes laserStreamLeft{0%{left:-28%;transform:scaleX(.7)}50%{transform:scaleX(1.35)}100%{left:86%;transform:scaleX(.7)}}
@keyframes laserStreamRight{0%{left:86%;transform:scaleX(.7)}50%{transform:scaleX(1.35)}100%{left:-28%;transform:scaleX(.7)}}
html.pwa-app .progress{display:none!important;opacity:0!important;visibility:hidden!important}
@media (display-mode: standalone){.progress{display:none!important;opacity:0!important;visibility:hidden!important}}

/* Skeletons */
.sk{position:relative;overflow:hidden;background:#ffffff;border-radius:8px}
.sk::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,#f9f9faa6,transparent);animation:shimmer 1.3s infinite}
@keyframes shimmer{to{transform:translateX(100%)}}
.sk-line{display:block;height:12px;margin:6px 0}
.sk-line.inline{display:inline-block;width:120px;margin:0;vertical-align:middle;background:#ffffff26}
.sk-line.h18{height:18px}.sk-line.h22{height:22px}.sk-line.h32{height:32px}.sk-line.h44{height:44px}
.sk-line.pill{border-radius:99px;margin-top:22px}
.w20{width:20%}.w30{width:30%}.w40{width:40%}.w60{width:60%}.w70{width:70%}.w80{width:80%}
.sk-dot{width:36px;height:36px;border-radius:50%;background:#ffffff;flex:none}
.sk-card{pointer-events:none}
.sk-card .pic.sk{border-radius:0}
.sk-chip{display:inline-block;width:76px;height:32px;border-radius:99px;flex:none}
.sk-spec{height:64px;border-radius:14px}

/* Page banner + breadcrumbs */
.banner{background:radial-gradient(700px 300px at 90% 0%,#f0192033,transparent 60%),var(--wood);color:#eaebee;padding:36px 0 44px;border-bottom:3px solid var(--gold-2)}
.banner h1{margin:4px 0 6px;font-size:clamp(28px,4vw,44px);line-height:1.2;color:var(--gold-1)}
.banner p{margin:0;color:#aaadb2}
.crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:13px;color:#90949b;margin-bottom:18px}
.crumbs a:hover{color:var(--gold-1)}
.crumbs em{font-style:normal;color:var(--gold-1)}
.crumbs span{opacity:.5}
.crumb-bar{background:var(--wood-3);padding:14px 0;border-bottom:1px solid #f0192033}
.crumb-bar .crumbs{margin:0}
.kicker.light{color:var(--gold-2)}
.zone.tight{padding:32px 0 72px}
.more{display:inline-flex;align-items:center;gap:6px;font-weight:600;color:var(--gold-ink);white-space:nowrap;padding:8px 16px;border:1px solid var(--line2);border-radius:99px;background:var(--paper)}
.more svg{width:16px;height:16px;transition:transform .15s}
.more:hover svg{transform:translateX(3px)}
.zone.wood .more{background:#ffffff0a;border-color:#f0192055;color:var(--gold-1)}
.m-actions.center{justify-content:center}

/* Category tiles / service cards are links now */
a.cat,a.svc-card{display:flex;color:inherit}
a.svc-card{flex-direction:column}
.svc-grid.four{grid-template-columns:repeat(4,1fr)}

/* Phones page panel */
.panel-top{display:flex;gap:10px;align-items:center}
.panel-top .tabs{flex:1}
.search.sm{max-width:300px;flex:none;width:300px;box-shadow:none;border:1px solid var(--line2);padding:4px 14px;background:#fbfbfc}
.search.sm input{padding:8px 0;font-size:15px}
.result-count{color:var(--muted);font-size:14px;margin:0 0 14px;min-height:22px}
.result-count .sk{width:140px}

/* CTA band */
.cta-band{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:36px 40px;border-radius:var(--r-lg);background:linear-gradient(135deg,#f2f3f5,#ffffff);border:1px solid var(--line2);box-shadow:var(--shadow)}
.cta-band h2{margin:4px 0 4px}
.cta-band p{margin:0;color:var(--muted)}
.cta-band .m-actions{margin:0;flex:none}

/* Product detail */
.detail{display:grid;grid-template-columns:1.05fr 1fr;gap:40px;align-items:start}
.d-media{position:relative;aspect-ratio:1;border-radius:28px;background:radial-gradient(circle at 50% 40%,#fbfbfc,#e1e3e7);border:1px solid var(--line);display:grid;place-items:center;box-shadow:var(--shadow);position:sticky;top:96px}
.d-media.sk{border:0;box-shadow:none;position:relative;top:0}
.d-media img{width:100%;height:100%;object-fit:contain;padding:40px}
.d-media .ph{width:120px;height:120px}
.d-media .tag{position:absolute;top:18px;left:18px;font-size:13px;padding:4px 14px}
.d-media .tag.hot{left:auto;right:18px}
.d-info h1{font-size:clamp(26px,3vw,38px);line-height:1.25;margin:4px 0 12px}
.d-info .tag{display:inline-flex;align-items:center;gap:5px}
.d-info .tag svg{width:14px;height:14px}
.d-price{margin:18px 0 22px;padding:20px 22px;border-radius:var(--r);background:var(--paper);border:1px solid var(--line);display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap}
.d-price.sk-box{display:block}
.d-price .khr{font-size:14px}
.spec-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.spec{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:var(--paper);border:1px solid var(--line)}
.spec>span{width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:#e3e5e9;color:var(--gold-ink);flex:none}
.spec svg{width:20px;height:20px}
.spec div{display:flex;flex-direction:column;line-height:1.35;min-width:0}
.spec small{color:var(--muted);font-size:12px}
.spec b{font-weight:600;font-size:15px}
.perks-mini{list-style:none;padding:18px 0 0;margin:20px 0 0;border-top:1px dashed var(--line2);display:flex;flex-wrap:wrap;gap:8px 20px;color:var(--muted);font-size:14px}
.perks-mini li{display:flex;align-items:center;gap:6px}
.perks-mini svg{width:18px;height:18px;color:var(--gold-3)}
.d-desc{margin-top:40px;padding:28px 32px;border-radius:var(--r-lg);background:var(--paper);border:1px solid var(--line)}
.d-desc h2{margin:0 0 10px;font-size:20px}
.d-desc p{margin:0;color:#202020}
.related{margin-top:56px}

/* Services page */
.svc-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:24px}
.svc-tab{display:flex;align-items:center;gap:12px;padding:16px 18px;border-radius:var(--r);border:1px solid var(--line);background:var(--paper);cursor:pointer;font-weight:600;text-align:left;box-shadow:var(--shadow);transition:border-color .15s,background .15s}
.svc-tab svg{width:40px;height:40px;padding:9px;border-radius:12px;background:#e3e5e9;color:var(--gold-ink)}
.svc-tab:hover{border-color:var(--gold-2)}
.svc-tab.active{background:var(--wood);color:var(--gold-1);border-color:var(--gold-2)}
.svc-tab.active svg{background:var(--gold);color:var(--wood-3)}
.svc-panel{display:grid;grid-template-columns:1.6fr 1fr;gap:24px;animation:pageIn .3s ease both}
.svc-main{padding:36px;border-radius:var(--r-lg);background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow)}
.svc-ic.big{width:68px;height:68px;border-radius:20px}
.svc-ic.big svg{width:32px;height:32px}
.svc-main h2{margin:0 0 6px;font-size:28px}
.lead-dark{color:#202020;margin:0 0 20px}
.check-list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.check-list li{display:flex;align-items:center;gap:10px;padding:12px 14px;border-radius:12px;background:#f0f1f3}
.check-list svg{width:20px;height:20px;color:var(--wood-3);background:var(--gold);border-radius:50%;padding:3px}
.steps{padding:32px 28px;border-radius:var(--r-lg);background:var(--wood);color:#eaebee}
.steps h3{margin:0 0 18px;color:var(--gold-1);font-size:20px}
.steps ol{list-style:none;counter-reset:s;margin:0;padding:0;display:grid;gap:18px}
.steps li{counter-increment:s;display:grid;grid-template-columns:40px 1fr;column-gap:14px}
.steps li::before{content:counter(s);grid-row:span 2;width:40px;height:40px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--gold-2);color:var(--gold-1);font-family:var(--serif);font-weight:700}
.steps b{color:#eaebee}.steps span{color:#90949b;font-size:14px}

@media (max-width:1023px){
  .panel-top{flex-direction:column;align-items:stretch}
  .search.sm{width:auto;max-width:none}
  .detail{gap:28px}
  .d-media{top:90px}
  .svc-tabs{grid-template-columns:repeat(2,1fr)}
  .svc-panel{grid-template-columns:1fr}
  .cta-band{flex-direction:column;align-items:flex-start;padding:28px}
}
@media (max-width:820px){
  .detail{grid-template-columns:1fr}
  .d-media{position:relative;top:0;max-width:520px;width:100%;margin:0 auto}
  .svc-grid.four{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:639px){
  .banner{padding:22px 0 28px}
  .crumbs{margin-bottom:10px;font-size:12px}
  .zone.tight{padding:20px 0 48px}
  .more{padding:6px 12px;font-size:14px}
  .zone-head:has(.more){flex-direction:row;align-items:flex-end;justify-content:space-between}
  .d-media{border-radius:22px}
  .d-media img{padding:24px}
  .d-price{padding:16px}
  .d-desc{padding:20px;margin-top:28px}
  .spec{padding:10px}
  .spec>span{width:34px;height:34px}
  .related{margin-top:40px}
  .svc-tabs{display:flex;overflow-x:auto;gap:8px;margin:0 -16px 18px;padding:0 16px 4px;scrollbar-width:none}
  .svc-tabs::-webkit-scrollbar{display:none}
  .svc-tab{flex:none;padding:10px 14px;gap:8px;font-size:14px}
  .svc-tab svg{width:32px;height:32px;padding:7px}
  .svc-main{padding:24px 20px}
  .svc-main h2{font-size:24px}
  .check-list{grid-template-columns:1fr}
  .steps{padding:24px 20px}
  .cta-band{padding:24px 20px}
  .cta-band .m-actions{width:100%}
  .m-actions .btn{flex:1}
}

/* Category cards inside the hero (replace the old heading text) */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hero-cats{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:22px}
.hero-cats .cat{color:var(--text);background:#fbfbfcf5;border-color:#f0192055;box-shadow:0 10px 28px #0000004d;padding:22px 10px 18px}
.hero-cats .cat:hover,.hero-cats .cat:focus-visible{border-color:var(--gold-2);box-shadow:0 16px 40px #00000066}
.hero-cats .cat-ic{width:68px;height:68px}
.hero-cats .cat-ic svg{width:30px;height:30px}
.hero-cats .cat-txt b{font-size:16px}
@media (max-width:1023px){.hero-cats .cat-txt small{display:none}}
@media (max-width:639px){
  .hero{padding-top:18px}
  .hero-cats{gap:10px;margin-bottom:16px}
  .hero-cats .cat{padding:16px 6px 13px;gap:9px;border-radius:18px}
  .hero-cats .cat-ic{width:54px;height:54px}
  .hero-cats .cat-ic svg{width:24px;height:24px}
  .hero-cats .cat-txt b{font-size:13.5px}
}

/* Hero cards v2: smaller, airier, bright glowing gold */
.hero-cats{max-width:500px;gap:18px;margin-bottom:26px}
.hero-cats .cat{color:#101010;padding:16px 8px 14px;gap:10px;border-radius:20px;border:1px solid #e1e3e7;
  background:linear-gradient(150deg,#fbfbfc 0%,#ffffff 30%,#f01920 65%,#f01920 100%);
  box-shadow:inset 0 1px 0 #ffffff,inset 0 -2px 6px #c00c1240,0 10px 26px #00000059,0 0 26px #f019203d}
.hero-cats .cat::before{display:none}
.hero-cats .cat::after{content:"";position:absolute;top:-60%;left:-40%;width:55%;height:220%;transform:rotate(25deg);
  background:linear-gradient(90deg,transparent,#ffffff8c,transparent);transition:left .6s ease;pointer-events:none}
.hero-cats .cat:hover,.hero-cats .cat:focus-visible{transform:translateY(-4px);border-color:#eeeff1;
  box-shadow:inset 0 1px 0 #fff,inset 0 -2px 6px #c00c1240,0 16px 36px #00000066,0 0 38px #ffffff80}
.hero-cats .cat:hover::after{left:120%}
.hero-cats .cat-ic{width:52px;height:52px;color:#ffffff;background:radial-gradient(circle at 35% 30%,#222222,#0e0e0e 75%);
  box-shadow:inset 0 0 0 1.5px #f01920,0 4px 10px #2828284d}
.hero-cats .cat-ic svg{width:24px;height:24px}
.hero-cats .cat:hover .cat-ic{background:radial-gradient(circle at 35% 30%,#282828,#101010 75%);color:#e1e3e7}
.hero-cats .cat-txt b{font-size:14.5px;font-weight:700}
.hero-cats .cat-txt small{display:none}
@media (max-width:1023px){.hero-cats{max-width:460px}}
@media (max-width:639px){
  .hero{padding-top:22px}
  .hero-cats{max-width:none;gap:12px;margin-bottom:20px}
  .hero-cats .cat{padding:13px 4px 11px;gap:8px;border-radius:16px}
  .hero-cats .cat-ic{width:44px;height:44px}
  .hero-cats .cat-ic svg{width:21px;height:21px}
  .hero-cats .cat-txt b{font-size:12.5px}
}

/* Scrolled: the whole header scrolls away (nothing left at the top);
   only the search + menu buttons stay, floating in the top-right corner. */
body.scrolled .nav{position:relative}
body.scrolled .nav-actions{position:fixed;z-index:50;top:calc(12px + env(safe-area-inset-top));right:max(16px,calc((100vw - 1240px) / 2 + 32px));animation:floatIn .3s ease both}
body.scrolled .nav-actions .btn.small{display:none}
body.scrolled .nav .icon-btn,body.scrolled .nav .burger{background:#0c0c0ce6;border-color:#f01920;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);box-shadow:0 6px 20px #0000004d,0 0 18px #f0192040}
@keyframes floatIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:none}}
@media (max-width:639px){body.scrolled .nav-actions{right:12px;top:calc(10px + env(safe-area-inset-top))}}
.pic img,.d-media img{mix-blend-mode:multiply}

/* ================= Distinct category pages ================= */
.svc-grid.four .svc-card{padding:28px 22px}

/* ---- New phones: dark showcase hero + sticky brand bar + brand sections ---- */
.nb-hero{background:radial-gradient(900px 380px at 85% 0%,#f0192040,transparent 60%),var(--wood);color:#eaebee;padding:34px 0 40px}
.nb-in{display:flex;justify-content:space-between;align-items:flex-end;gap:30px}
.nb-hero h1{margin:4px 0 6px;font-size:clamp(32px,4.5vw,54px);line-height:1.15;background:linear-gradient(180deg,#e6e8eb,#f01920 70%);-webkit-background-clip:text;background-clip:text;color:transparent}
.nb-hero p{margin:0;color:#aaadb2;max-width:520px}
.nb-stats{display:flex;gap:12px}
.nb-stats div{min-width:110px;padding:14px 18px;border-radius:18px;background:#ffffff0a;border:1px solid #f0192055;text-align:center}
.nb-stats b{display:block;font-family:var(--serif);font-size:26px;color:var(--gold-1)}
.nb-stats small{color:#90949b}
.brandbar{position:sticky;top:76px;z-index:20;background:#f3f4f5ee;backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
body.scrolled .brandbar{top:0}
.brandbar-in{display:flex;align-items:center;gap:16px;padding-top:12px;padding-bottom:12px}
.brand-pills{flex:1;display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;min-width:0}
.brand-pills::-webkit-scrollbar{display:none}
.bpill{display:inline-flex;align-items:center;gap:8px;padding:7px 8px 7px 16px;border-radius:99px;background:var(--paper);border:1px solid var(--line2);font-weight:600;white-space:nowrap;font-size:14px}
.bpill em{font-style:normal;font-size:12px;min-width:24px;text-align:center;padding:1px 7px;border-radius:99px;background:var(--gold);color:var(--wood-3)}
.bpill:hover{border-color:var(--gold-2);background:#f3f4f6}
.brandbar .search.sm{width:280px}
.nb-list{padding-top:20px;padding-bottom:70px}
.brand-sec{padding:34px 0 10px;border-bottom:1px dashed var(--line2)}
.brand-sec:last-child{border-bottom:0}
.brand-head{display:flex;align-items:baseline;justify-content:space-between;gap:14px;margin-bottom:18px}
.brand-head h2{margin:0;font-family:var(--serif);font-size:clamp(28px,3.4vw,40px);color:var(--wood-2)}
.brand-head span{color:var(--muted)}
.brand-head span b{color:var(--price)}
.brand-body{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1.6fr);gap:20px;align-items:stretch}
.brand-body.solo{grid-template-columns:minmax(0,1fr)}
.spot{display:grid;grid-template-columns:1fr 1fr;align-items:center;border-radius:var(--r-lg);overflow:hidden;background:var(--wood);color:#eaebee;box-shadow:var(--shadow-lg);border:1px solid #f0192055;transition:transform .2s}
.spot:hover{transform:translateY(-3px)}
.spot-pic{height:100%;min-height:260px;display:grid;place-items:center;background:radial-gradient(circle at 50% 45%,#fbfbfc,#ffffff)}
.spot-pic img{width:100%;height:100%;object-fit:contain;padding:22px;mix-blend-mode:multiply}
.spot-pic .ph{width:80px;height:80px;color:#c00c12}
.spot-info{padding:24px 22px;display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.spot-tag{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--gold-1);padding:3px 10px;border-radius:99px;border:1px solid #f0192066}
.spot-tag svg{width:13px;height:13px}
.spot-info h3{margin:0;font-size:22px;line-height:1.3;color:#eeeff1}
.spot-info p{margin:0;font-size:13px;color:#aaadb2}
.spot-price{display:flex;flex-direction:column;line-height:1.2;margin:4px 0 6px}
.spot-price s{color:#90949b;font-size:13px}
.spot-price b{font-family:var(--serif);font-size:30px;color:var(--gold-1)}
.spot-price small{color:#90949b;font-size:12px}
.sk-spot{background:#161616}
.sk-spot .spot-pic.sk{border-radius:0}
.rail{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 32px) / 3);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:10px;scrollbar-width:thin;scrollbar-color:#f01920 transparent}
.rail>*{scroll-snap-align:start}

/* ---- Used phones: light cream hero, big brand switch, list rows + aside ---- */
.ub-hero{background:linear-gradient(135deg,#f2f3f5,#ffffff);border-bottom:1px solid var(--line2);padding:26px 0 0}
.ub-in{display:flex;justify-content:space-between;align-items:flex-end;gap:24px}
.ub-hero h1{margin:4px 0 6px;font-size:clamp(30px,4vw,48px);line-height:1.2}
.ub-hero p{margin:0;color:var(--muted)}
.crumbs.dark{color:var(--muted)}
.crumbs.dark em{color:var(--gold-ink)}
.ub-badges{list-style:none;margin:0;padding:0;display:flex;gap:8px;flex-wrap:wrap}
.ub-badges li{display:flex;align-items:center;gap:6px;padding:7px 14px;border-radius:99px;background:#fbfbfc;border:1px solid var(--line2);font-size:14px;font-weight:500}
.ub-badges svg{width:16px;height:16px;color:var(--gold-3)}
.u-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:26px;transform:translateY(50%)}
.u-switch button{display:flex;flex-direction:column;align-items:center;gap:2px;padding:16px 10px;border-radius:20px;border:1px solid var(--line2);background:var(--paper);cursor:pointer;box-shadow:var(--shadow);transition:all .2s}
.u-switch b{font-size:17px}
.u-switch em{font-style:normal;font-size:13px;color:var(--muted)}
.u-switch button.active{background:var(--wood);border-color:var(--gold-2);color:var(--gold-1);box-shadow:0 12px 30px #10101040,0 0 20px #f0192033}
.u-switch button.active em{color:#aaadb2}
.ub-hero + .zone.tight{padding-top:64px}
.u-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}
.u-chips{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}
.u-chip{padding:7px 16px;border-radius:99px;border:1px solid var(--line2);background:transparent;cursor:pointer;font-size:14px}
.u-chip.active{background:var(--gold);border-color:transparent;font-weight:600;color:var(--wood-3)}
.u-list{display:flex;flex-direction:column;gap:12px}
.u-row{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:18px;align-items:center;padding:14px 18px 14px 14px;border-radius:var(--r);background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);transition:border-color .15s,transform .15s}
.u-row:hover{border-color:var(--gold-2);transform:translateX(3px)}
.u-pic{width:110px;height:110px;border-radius:14px;background:radial-gradient(circle,#fbfbfc,#e1e3e7);display:grid;place-items:center;overflow:hidden}
.u-pic img{width:100%;height:100%;object-fit:contain;padding:8px;mix-blend-mode:multiply}
.u-pic .ph{width:44px;height:44px}
.u-main h3{margin:0 0 2px;font-size:17px}
.u-specs{margin:0 0 6px;color:var(--muted);font-size:13px}
.u-grade{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--gold-ink)}
.dots{display:flex;gap:3px}
.dots i{width:14px;height:6px;border-radius:3px;background:#ffffff}
.dots i.on{background:var(--gold)}
.u-note{display:flex;align-items:center;gap:6px;margin:6px 0 0;font-size:13px;color:#202020}
.u-note svg{width:15px;height:15px;color:#4d7c2a}
.u-side{text-align:right;display:flex;flex-direction:column;align-items:flex-end;gap:2px}
.u-side b{font-family:var(--serif);font-size:24px;color:var(--price)}
.u-side small{color:var(--muted);font-size:12px}
.u-go{margin-top:8px;display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:600;padding:6px 12px;border-radius:99px;background:var(--wood);color:var(--gold-1)}
.u-go svg{width:14px;height:14px}
.sk-row{pointer-events:none}
.u-aside{position:sticky;top:96px;display:grid;gap:14px}
.qa-card{padding:22px;border-radius:var(--r-lg);background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow)}
.qa-card h3{display:flex;align-items:center;gap:8px;margin:0 0 12px;font-size:17px}
.qa-card h3 svg{width:22px;height:22px;color:var(--gold-3)}
.qa-card ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.qa-card li{display:flex;align-items:center;gap:8px;font-size:14px}
.qa-card li svg{width:16px;height:16px;color:#4d7c2a}
.trade-card{display:block;padding:22px;border-radius:var(--r-lg);background:var(--wood);color:#eaebee;border:1px solid #f0192055}
.trade-card>span svg{width:40px;height:40px;padding:9px;border-radius:12px;background:var(--gold);color:var(--wood-3)}
.trade-card b{display:block;margin:10px 0 4px;color:var(--gold-1);font-size:17px}
.trade-card p{margin:0 0 10px;font-size:14px;color:#aaadb2}
.trade-card em{font-style:normal;display:inline-flex;align-items:center;gap:6px;color:var(--gold-2);font-weight:600}
.trade-card em svg{width:16px;height:16px}

/* ---- Service page heroes (each a different tone) ---- */
.ph-hero{padding:32px 0 40px;color:#eaebee;border-bottom:3px solid var(--gold-2)}
.ph-in{display:flex;justify-content:space-between;align-items:center;gap:24px}
.ph-hero h1{margin:4px 0 6px;font-size:clamp(30px,4vw,48px);line-height:1.2;color:var(--gold-1)}
.ph-hero p{margin:0;color:#bdbfc3;max-width:560px}
.ph-badge{width:110px;height:110px;flex:none;border-radius:32px;display:grid;place-items:center;background:var(--gold);color:var(--wood-3);box-shadow:0 0 40px #f0192055,inset 0 1px 0 #fff8;transform:rotate(-8deg)}
.ph-badge svg{width:52px;height:52px}
.ph-acc{background:radial-gradient(600px 300px at 90% 50%,#f0192040,transparent 60%),linear-gradient(120deg,#222222,#0e0e0e)}
.ph-inst{background:radial-gradient(600px 300px at 90% 50%,#f0192033,transparent 60%),linear-gradient(120deg,#111111,#1c1c1c 60%,#282828)}
.ph-rep{background:repeating-linear-gradient(135deg,#ffffff06 0 14px,transparent 14px 28px),linear-gradient(120deg,#0c0c0c,#161616)}
.ph-oth{background:radial-gradient(700px 300px at 10% 0%,#f0192033,transparent 60%),var(--wood)}
.hub{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.hub-card{position:relative;display:block;padding:30px 28px;border-radius:var(--r-lg);background:var(--wood);color:#eaebee;border:1px solid #f0192044;transition:transform .2s,border-color .2s}
.hub-card:hover{transform:translateY(-4px);border-color:var(--gold-2)}
.hub-card h3{margin:0 0 6px;color:var(--gold-1);font-size:22px}
.hub-card p{margin:0 0 14px;color:#bdbfc3}

/* Accessory bento */
.bento{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:190px;gap:16px}
.bento-tile{position:relative;display:flex;flex-direction:column;justify-content:space-between;padding:22px;border-radius:var(--r-lg);background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);overflow:hidden;transition:transform .2s,border-color .2s}
.bento-tile:hover{transform:translateY(-3px);border-color:var(--gold-2)}
.bento-tile.big{grid-column:span 2;grid-row:span 2;background:var(--wood);color:#eaebee;border-color:#f0192055}
.bento-tile.wide{grid-column:span 2;background:linear-gradient(135deg,#eaecef,#ffffff)}
.bento-tile h3{margin:0 0 4px;font-size:19px}
.bento-tile p{margin:0;font-size:14px;color:var(--muted)}
.bento-tile.big h3{font-size:30px;color:var(--gold-1)}
.bento-tile.big p{color:#bdbfc3;font-size:16px;max-width:300px}
.bt-ic{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:#e3e5e9;color:var(--gold-ink)}
.bt-ic svg{width:26px;height:26px}
.bento-tile.big .bt-ic{width:96px;height:96px;border-radius:28px;background:var(--gold);color:var(--wood-3);box-shadow:0 0 34px #f0192055}
.bento-tile.big .bt-ic svg{width:48px;height:48px}
.mini-ask{position:absolute;right:16px;top:16px;display:inline-flex;align-items:center;gap:5px;font-size:13px;font-weight:600;padding:6px 12px;border-radius:99px;background:var(--wood);color:var(--gold-1)}
.mini-ask svg{width:14px;height:14px}
.bento-tile.big .mini-ask{background:var(--gold);color:var(--wood-3);top:auto;bottom:22px;right:22px;padding:9px 16px;font-size:14px}
.acc-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px}
.acc-strip>div{display:flex;align-items:center;gap:12px;padding:16px;border-radius:var(--r);border:1px dashed var(--line2)}
.acc-strip svg{width:40px;height:40px;padding:9px;border-radius:12px;background:#e3e5e9;color:var(--gold-ink)}
.acc-strip span{display:flex;flex-direction:column;line-height:1.35}
.acc-strip small{color:var(--muted)}

/* Installment */
.inst{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;align-items:start}
.calc{padding:30px;border-radius:var(--r-lg);background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow-lg)}
.calc h2{display:flex;align-items:center;gap:10px;margin:0 0 20px;font-size:22px}
.calc h2 svg{width:36px;height:36px;padding:7px;border-radius:10px;background:var(--gold);color:var(--wood-3)}
.f{display:block;margin-bottom:18px;font-weight:600;font-size:14px}
.f b{float:right;color:var(--gold-ink)}
.f select{display:block;width:100%;margin-top:6px;padding:12px 14px;border-radius:12px;border:1px solid var(--line2);background:#fbfbfc;font:inherit;font-weight:400}
.f input[type=range]{display:block;width:100%;margin-top:10px;accent-color:#c00c12}
.f .sk{margin-top:6px}
.ic-months{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:6px}
.ic-months button{padding:10px;border-radius:12px;border:1px solid var(--line2);background:transparent;cursor:pointer;font-weight:600}
.ic-months button.active{background:var(--wood);color:var(--gold-1);border-color:var(--gold-2)}
.ic-result{display:grid;grid-template-columns:1fr 1.3fr;gap:10px;margin:6px 0 10px}
.ic-result>div{padding:16px;border-radius:16px;background:#f0f1f3;display:flex;flex-direction:column}
.ic-result .hl{background:var(--wood);color:#eaebee}
.ic-result small{font-size:13px;color:var(--muted)}
.ic-result .hl small{color:#aaadb2}
.ic-result b{font-family:var(--serif);font-size:28px}
.ic-result .hl b{color:var(--gold-1);font-size:34px}
.fine{font-size:12.5px;color:var(--muted);margin:0 0 6px}
.inst-side{display:grid;gap:16px}
.timeline,.docs{padding:26px;border-radius:var(--r-lg)}
.timeline{background:var(--wood);color:#eaebee}
.timeline h3{margin:0 0 16px;color:var(--gold-1)}
.timeline ol{list-style:none;margin:0;padding:0;counter-reset:t;position:relative}
.timeline li{counter-increment:t;position:relative;padding:0 0 18px 52px}
.timeline li::before{content:counter(t);position:absolute;left:0;top:0;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:var(--wood-3);font-weight:700}
.timeline li:not(:last-child)::after{content:"";position:absolute;left:17px;top:38px;bottom:2px;width:2px;background:#f0192055}
.timeline b{display:block}.timeline span{font-size:14px;color:#aaadb2}
.docs{background:var(--paper);border:1px solid var(--line)}
.docs h3{display:flex;align-items:center;gap:8px;margin:0 0 10px}
.docs h3 svg{width:24px;height:24px;color:var(--gold-3)}
.docs ul{margin:0;padding-left:20px;color:#202020}

/* Repair */
.rep-brands{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:22px}
.rep-brands span{color:var(--muted);margin-right:4px}
.rep-brands b{padding:5px 14px;border-radius:99px;background:var(--paper);border:1px solid var(--line2);font-size:14px;font-weight:600}
.issues{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.issue{position:relative;padding:22px 20px 20px;border-radius:var(--r-lg);background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);transition:transform .2s,border-color .2s}
.issue:hover{transform:translateY(-3px);border-color:var(--gold-2)}
.is-ic{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:var(--wood);color:var(--gold-1);margin-bottom:12px;box-shadow:0 0 0 5px #e3e5e9}
.is-ic svg{width:26px;height:26px}
.issue h3{margin:0 0 4px;font-size:17px}
.issue p{margin:0 0 30px;font-size:13.5px;color:var(--muted)}
.issue .mini-ask{top:auto;bottom:16px;left:20px;right:auto}
.process{margin:40px 0 28px;padding:32px;border-radius:var(--r-lg);background:var(--wood);color:#eaebee}
.process h2{margin:0 0 22px;color:var(--gold-1)}
.proc-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;position:relative}
.proc{position:relative;padding:20px 16px;border-radius:18px;background:#ffffff08;border:1px solid #f0192033;display:flex;flex-direction:column;gap:6px}
.pn{position:absolute;top:14px;right:16px;font-family:var(--serif);font-size:30px;font-weight:700;color:#f0192040}
.pi svg{width:40px;height:40px;padding:9px;border-radius:12px;background:var(--gold);color:var(--wood-3)}
.proc b{color:var(--gold-1)}.proc small{color:#aaadb2}

/* Other: zig-zag */
.zig{display:grid;gap:26px}
.zig-row{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:34px;align-items:center;padding:24px;border-radius:28px;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow)}
.zig-row.rev .zig-art{order:2}
.zig-art{position:relative;aspect-ratio:4/3;border-radius:22px;background:radial-gradient(circle at 50% 45%,#f0192055,transparent 60%),var(--wood);display:grid;place-items:center;overflow:hidden}
.zig-art span svg{width:110px;height:110px;color:var(--gold-1);filter:drop-shadow(0 0 22px #f0192088)}
.zig-art em{position:absolute;left:20px;bottom:6px;font-style:normal;font-family:var(--serif);font-size:72px;font-weight:700;color:#f0192033}
.zig-txt h2{margin:2px 0 8px;font-size:clamp(22px,2.6vw,30px)}
.zig-txt p{margin:0 0 16px;color:#202020}
.zig-txt .check-list{margin-bottom:6px}
.zig-txt .mini-ask{position:static;padding:10px 18px;font-size:14px}

/* ---- Tablet ---- */
@media (max-width:1023px){
  .brandbar{top:76px}
  .brand-body{grid-template-columns:1fr}
  .rail{grid-auto-columns:calc((100% - 32px) / 3)}
  .u-layout{grid-template-columns:1fr}
  .u-aside{position:static;grid-template-columns:1fr 1fr}
  .bento{grid-template-columns:repeat(2,1fr)}
  .bento-tile.big{grid-column:span 2;grid-row:span 1}
  .issues{grid-template-columns:repeat(2,1fr)}
  .proc-steps{grid-template-columns:repeat(2,1fr)}
  .inst{grid-template-columns:1fr}
  .inst-side{grid-template-columns:1fr 1fr}
  .zig-row{gap:22px}
}
@media (max-width:820px){
  .nb-in,.ub-in{flex-direction:column;align-items:flex-start}
  .brandbar-in{flex-direction:column;align-items:stretch;gap:10px}
  .brandbar .search.sm{width:auto}
  .zig-row,.zig-row.rev{grid-template-columns:1fr}
  .zig-row.rev .zig-art{order:0}
  .zig-art{aspect-ratio:16/7}
  .ph-badge{width:80px;height:80px;border-radius:24px}
  .ph-badge svg{width:38px;height:38px}
}
/* ---- Phone ---- */
@media (max-width:639px){
  .nb-hero{padding:20px 0 26px}
  .nb-stats{width:100%}
  .nb-stats div{flex:1;min-width:0;padding:10px}
  .nb-stats b{font-size:20px}
  .brandbar{top:64px}
  .brand-sec{padding-top:26px}
  .brand-head{flex-direction:column;gap:2px;margin-bottom:12px}
  .spot{grid-template-columns:1fr 1.1fr}
  .spot-pic{min-height:190px}
  .spot-info{padding:16px 14px}
  .spot-info h3{font-size:17px}
  .spot-price b{font-size:22px}
  .rail{grid-auto-columns:46%;gap:12px;margin:0 -16px;padding:0 16px 10px;scroll-padding:0 16px}
  .ub-hero{padding-top:16px}
  .u-switch{gap:8px;margin-top:18px}
  .u-switch button{padding:12px 6px;border-radius:16px}
  .u-switch b{font-size:14px}
  .u-switch em{font-size:12px}
  .ub-hero + .zone.tight{padding-top:52px}
  .u-row{grid-template-columns:84px minmax(0,1fr);gap:12px;padding:12px}
  .u-pic{width:84px;height:84px}
  .u-main h3{font-size:15px}
  .u-side{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:space-between;text-align:left;border-top:1px dashed var(--line2);padding-top:10px}
  .u-side b{font-size:20px}
  .u-side small{flex:1;margin-left:8px}
  .u-go{margin:0}
  .u-aside{grid-template-columns:1fr}
  .ph-hero{padding:18px 0 26px}
  .ph-in{align-items:flex-start}
  .ph-badge{width:60px;height:60px;border-radius:18px}
  .ph-badge svg{width:28px;height:28px}
  .hub{grid-template-columns:1fr}
  .bento{grid-auto-rows:auto;gap:12px}
  .bento-tile{padding:16px;min-height:150px;gap:14px}
  .bento-tile.big .bt-ic{width:64px;height:64px;border-radius:20px}
  .bento-tile.big h3{font-size:24px}
  .bento-tile.big .mini-ask{position:static;align-self:flex-start}
  .mini-ask{top:12px;right:12px;padding:5px 10px;font-size:12px}
  .acc-strip{grid-template-columns:1fr}
  .issues{gap:10px}
  .issue{padding:16px 14px 14px}
  .is-ic{width:44px;height:44px}
  .issue h3{font-size:15px}
  .issue p{font-size:12.5px}
  .issue .mini-ask{left:14px;bottom:12px}
  .process{padding:22px 16px}
  .proc-steps{gap:10px}
  .proc{padding:14px 12px}
  .calc{padding:20px 16px}
  .inst-side{grid-template-columns:1fr}
  .ic-result{grid-template-columns:1fr}
  .zig-row{padding:14px;border-radius:22px}
  .zig-art span svg{width:70px;height:70px}
}

/* Floating pill bottom bar (phone) */
@media (max-width:639px){
  body{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
  .bottombar{left:14px;right:14px;bottom:calc(14px + env(safe-area-inset-bottom));padding:8px 6px;border-radius:999px;
    background:#0c0c0cf2;border:1px solid #f0192066;box-shadow:0 12px 32px #0000005c,0 0 22px #f0192026}
  .bottombar a{gap:3px;padding:4px 0;border-radius:999px;color:#90949b;transition:color .2s}
  .bottombar a svg{width:22px;height:22px}
  .bottombar a.main-act{color:#90949b}
  .bottombar a.main-act svg{width:22px;height:22px;padding:0;margin:0;border-radius:0;background:none;box-shadow:none}
  .bottombar a.main-act span{color:inherit}
  .bottombar a.active{color:var(--gold-1)}
  .bottombar a.active svg{filter:drop-shadow(0 0 8px #f0192099)}
  .bottombar a.active span{font-weight:700}
}
body.scrolled .brandbar-in{padding-right:max(130px,calc((100vw - 1240px) / 2 + 140px))}
@media (max-width:820px){body.scrolled .brandbar-in{padding-right:16px}body.scrolled .brand-pills{margin-right:104px}}
.ub-hero{padding-bottom:22px}
.u-switch{transform:none;margin-top:22px}
.ub-hero + .zone.tight{padding-top:24px}
@media (max-width:639px){.ub-hero{padding-bottom:16px}.ub-hero + .zone.tight{padding-top:18px}.u-switch{margin-top:16px}}

/* ================= Modern footer ================= */
.foot{display:none}
.ft{position:relative;overflow:hidden;background:radial-gradient(900px 400px at 85% 0%,#f019201f,transparent 60%),#080808;color:#aaadb2;padding:56px 0 0;margin-top:0}
.ft-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:30px 34px;border-radius:28px;
  background:radial-gradient(500px 200px at 100% 0%,#f0192040,transparent 60%),linear-gradient(135deg,#161616,#0e0e0e);border:1px solid #f0192055;box-shadow:0 20px 50px #0006,0 0 30px #f019201a}
.ft-cta h3{margin:2px 0 4px;font-size:clamp(20px,2.4vw,28px);color:#eeeff1}
.ft-cta p{margin:0;color:#90949b}
.ft-cta-act{display:flex;gap:10px;flex-wrap:wrap}
.ft-main{display:grid;grid-template-columns:1.6fr 1fr 1fr 1.3fr;gap:40px;padding:56px 0 40px}
.ft-brand p{margin:16px 0 18px;max-width:340px;font-size:14px;line-height:1.7}
.ft-social{display:flex;gap:10px}
.ft-social a{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;border:1px solid #f0192044;color:var(--gold-1);transition:background .2s,color .2s,transform .2s}
.ft-social a:hover{background:var(--gold);color:var(--wood-3);transform:translateY(-2px)}
.ft-social svg{width:18px;height:18px}
.ft-col{display:flex;flex-direction:column;gap:10px}
.ft-col h4{margin:4px 0 6px;font-size:13px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold-2);font-weight:600}
.ft-col a{font-size:15px;color:#bdbfc3;width:fit-content;background:linear-gradient(var(--gold-2),var(--gold-2)) 0 100%/0 1px no-repeat;transition:background-size .25s,color .2s}
.ft-col a:hover{color:var(--gold-1);background-size:100% 1px}
.ft-visit span{display:flex;gap:8px;align-items:flex-start;font-size:14px;color:#bdbfc3}
.ft-visit span svg{width:17px;height:17px;margin-top:3px;color:var(--gold-2)}
.ft-col a.ft-link{display:inline-flex;align-items:center;gap:6px;color:var(--gold-1);font-weight:600;margin-top:4px}
.ft-link svg{width:15px;height:15px}
.ft-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:20px 0;border-top:1px solid #f0192022;font-size:13px;color:#71757c;position:relative;z-index:1}
.ft-top{color:#aaadb2}.ft-top:hover{color:var(--gold-1)}
.ft-mark{font-family:var(--serif);font-weight:700;font-size:clamp(64px,15vw,220px);line-height:.8;text-align:center;white-space:nowrap;letter-spacing:-.02em;
  background:linear-gradient(180deg,#f0192026,#f0192005);-webkit-background-clip:text;background-clip:text;color:transparent;margin-top:-6px;user-select:none;pointer-events:none}
@media (max-width:1023px){
  .ft-main{grid-template-columns:1fr 1fr 1fr;gap:30px}
  .ft-brand{grid-column:1/-1}
}
@media (max-width:639px){
  .ft{padding-top:32px}
  .ft-cta{flex-direction:column;align-items:flex-start;padding:22px 20px;border-radius:22px}
  .ft-cta-act{width:100%}
  .ft-cta-act .btn{flex:1}
  .ft-main{grid-template-columns:1fr 1fr;gap:26px 18px;padding:36px 0 26px}
  .ft-visit{grid-column:1/-1}
  .ft-bottom{padding:16px 0}
}
/* Hero without trust strip; trust strip lives in the footer */
.hero{padding-bottom:64px}
.ft-trust{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:28px}
.ft-trust>div{display:flex;align-items:center;gap:12px;padding:16px;border-radius:18px;background:#ffffff06;border:1px solid #f0192026}
.ft-trust svg{width:40px;height:40px;padding:9px;border-radius:12px;background:#f019201a;color:var(--gold-1)}
.ft-trust span{display:flex;flex-direction:column;line-height:1.35}
.ft-trust b{color:#eaebee;font-size:15px}.ft-trust small{font-size:12.5px;color:#71757c}
@media (max-width:1023px){.ft-trust{grid-template-columns:repeat(2,1fr)}}
@media (max-width:639px){
  .hero{padding-bottom:30px}
  .ft-trust{gap:8px;margin-top:20px}
  .ft-trust>div{padding:12px;gap:9px}
  .ft-trust svg{width:34px;height:34px;padding:7px}
  .ft-trust b{font-size:13.5px}.ft-trust small{font-size:11.5px}
  /* floating pill sits lower, close to the screen edge */
  .bottombar{bottom:max(6px,calc(env(safe-area-inset-bottom) - 14px))}
  body{padding-bottom:calc(80px + env(safe-area-inset-bottom))}
}
/* Compact product card info: name + price + storage only */
.card .info{padding:10px 14px 14px;gap:4px}
.card .info h3{font-size:15px;font-weight:600;margin:0;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.card .price-row{margin-top:auto;padding-top:2px;border-top:0;align-items:baseline;justify-content:space-between}
.card .pr{font-family:var(--serif);font-size:19px;color:var(--price);font-weight:700}
.card .st{font-size:12px;color:var(--muted);padding:1px 8px;border-radius:99px;background:#e7e9ec}
@media (max-width:639px){
  .card .info{padding:8px 11px 11px}
  .card .info h3{font-size:13.5px}
  .card .pr{font-size:16.5px}
  .card .st{font-size:11px;padding:1px 6px}
}
/* Clean, professional: no small guide text around headings */
.kicker,.zone-sub,.banner p,.nb-hero .nb-in p,.ub-in p,.ph-hero p,.ft-cta p,.note,.fine{display:none!important}
.zone-head{align-items:center}
/* Header: no menu links — logo left, search + sidebar button right */
.nav .links{display:none}
.nav-actions{margin-left:auto}
/* Footer without link columns */
.ft-main{grid-template-columns:1.4fr 1fr}
@media (max-width:1023px){.ft-main{grid-template-columns:1fr 1fr}.ft-brand{grid-column:auto}}
@media (max-width:639px){.ft-main{grid-template-columns:1fr}}

/* Logo: gold eagle head + large SENSOK PHONE wordmark */
.logo-mark{background:none!important;box-shadow:none!important;border-radius:0;width:50px;height:50px;filter:drop-shadow(0 2px 6px #0007) drop-shadow(0 0 10px #f0192033)}
.logo-mark .eagle{width:100%;height:100%;display:block}
.logo-mark.big{width:84px;height:84px}
.logo{gap:10px}
.logo-text b{text-transform:uppercase;font-size:24px;letter-spacing:.06em;line-height:1.05}
.logo-text small{text-transform:none;letter-spacing:.02em;font-size:12.5px;color:#f01920;margin-top:2px}
.device .screen .logo-mark.big{width:96px;height:96px}
@media (max-width:639px){
  .logo-mark{width:42px;height:42px}
  .logo-text b{font-size:19px;letter-spacing:.04em}
  .logo-text small{font-size:11px}
}
.logo-mark img.eagle{width:100%;height:100%;object-fit:contain;display:block}

/* ================= Data-driven service pages ================= */
/* Accessory */
.bento-tile.sk{border:0;box-shadow:none;min-height:190px}
.bt-cat{display:block;font-size:12px;color:var(--gold-3);font-weight:600;margin-bottom:2px}
.bento-tile.big .bt-cat{color:var(--gold-2)}
.bt-price{display:block;margin-top:8px;font-family:var(--serif);font-size:22px;color:var(--price)}
.bento-tile.big .bt-price{color:var(--gold-1);font-size:32px}
.acc-tabs{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;margin:30px 0 18px;padding-bottom:2px}
.acc-tabs::-webkit-scrollbar{display:none}
.acc-tab{display:inline-flex;align-items:center;gap:8px;flex:none;padding:9px 16px;border-radius:99px;border:1px solid var(--line2);background:var(--paper);cursor:pointer;font-weight:600;font-size:14px}
.acc-tab svg{width:18px;height:18px;color:var(--gold-3)}
.acc-tab.active{background:var(--wood);color:var(--gold-1);border-color:var(--gold-2)}
.acc-tab.active svg{color:var(--gold-1)}
.acc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.acc-card{display:flex;flex-direction:column;border-radius:var(--r-lg);background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);overflow:hidden;transition:transform .2s,border-color .2s}
.acc-card:hover{transform:translateY(-3px);border-color:var(--gold-2)}
.acc-pic{position:relative;aspect-ratio:4/3;display:grid;place-items:center;background:radial-gradient(circle at 50% 45%,#fbfbfc,#e1e3e7)}
.acc-pic.sk{border-radius:0}
.acc-pic>span{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:var(--wood);color:var(--gold-1);box-shadow:0 0 0 6px #e3e5e9,0 0 24px #f0192040}
.acc-pic>span svg{width:34px;height:34px}
.acc-pic img{width:100%;height:100%;object-fit:contain;padding:16px;mix-blend-mode:multiply}
.acc-pic .tag.hot{position:absolute;top:10px;right:10px}
.acc-info{padding:12px 14px 14px;display:flex;flex-direction:column;flex:1;gap:2px}
.acc-info small{font-size:12px;color:var(--gold-3);font-weight:600}
.acc-info h3{margin:0 0 8px;font-size:15px;font-weight:600;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.acc-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px}
.acc-foot b{font-family:var(--serif);font-size:19px;color:var(--price)}
.acc-foot .mini-ask,.pt-row .mini-ask,.zig-txt .mini-ask{position:static}

/* Installment plans + FAQ */
.plans{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:24px}
.plan{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:20px 18px;border-radius:var(--r-lg);border:1px solid var(--line2);background:var(--paper);cursor:pointer;text-align:left;box-shadow:var(--shadow);transition:all .2s}
.plan.sk{min-height:130px;border:0}
.plan b{font-family:var(--serif);font-size:30px;line-height:1.1}
.plan span{font-weight:600;color:var(--gold-ink)}
.plan small{color:var(--muted)}
.plan i{font-style:normal;font-size:13px;color:var(--muted);margin-top:6px}
.plan em{position:absolute;top:-10px;right:14px;font-style:normal;font-size:12px;font-weight:700;padding:2px 10px;border-radius:99px;background:var(--gold);color:var(--wood-3)}
.plan.active{background:var(--wood);color:#eaebee;border-color:var(--gold-2);box-shadow:0 14px 34px #10101040,0 0 22px #f0192033}
.plan.active span{color:var(--gold-1)}.plan.active small,.plan.active i{color:#aaadb2}
.ic-result.three{grid-template-columns:1fr 1fr 1.3fr}
.faq{margin-top:36px}
.faq h2{margin:0 0 14px}
.faq details{border-radius:var(--r);background:var(--paper);border:1px solid var(--line);margin-bottom:10px;overflow:hidden}
.faq summary{cursor:pointer;list-style:none;padding:16px 50px 16px 20px;font-weight:600;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#e3e5e9;color:var(--gold-ink);font-size:18px}
.faq details[open] summary::after{content:"–";background:var(--gold);color:var(--wood-3)}
.faq details p{margin:0;padding:0 20px 18px;color:#202020}
.sk-faq{display:block;height:56px;border-radius:var(--r);margin-bottom:10px}

/* Repair tabs + price table */
.rep-tabs{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:20px}
.rep-tab{display:flex;flex-direction:column;align-items:center;gap:6px;padding:18px 10px;border-radius:var(--r-lg);border:1px solid var(--line);background:var(--paper);cursor:pointer;box-shadow:var(--shadow);transition:all .2s;text-align:center}
.rep-tab.sk{min-height:130px;border:0}
.rep-tab .is-ic{margin:0 0 4px}
.rep-tab b{font-size:15px}
.rep-tab small{font-size:12.5px;color:var(--muted)}
.rep-tab.active{background:var(--wood);color:var(--gold-1);border-color:var(--gold-2);box-shadow:0 14px 34px #10101040}
.rep-tab.active .is-ic{background:var(--gold);color:var(--wood-3);box-shadow:0 0 0 5px #f0192033}
.rep-tab.active small{color:#aaadb2}
.price-table{border-radius:var(--r-lg);background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);overflow:hidden;animation:pageIn .3s ease both}
.pt-head{display:flex;align-items:center;gap:12px;padding:18px 22px;background:#e7e9ec;border-bottom:1px solid var(--line)}
.pt-head svg{width:26px;height:26px;color:var(--gold-ink)}
.pt-head h3{margin:0;font-size:18px}
.pt-row{display:grid;grid-template-columns:1fr auto auto;align-items:center;gap:16px;padding:14px 22px;border-bottom:1px dashed var(--line2)}
.pt-row:last-of-type{border-bottom:0}
.pt-row span{font-weight:500}
.pt-row b{font-family:var(--serif);font-size:19px;color:var(--price);white-space:nowrap}
.pt-note{margin:0;padding:12px 22px;font-size:13px;color:var(--muted);background:#f5f6f7}
.sk-row-line{display:block;height:52px;margin:10px 16px;border-radius:12px}
.rep-brands{justify-content:center;margin:26px 0 0}

/* Other: category + price chips */
.zig-cat{display:inline-block;font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--gold-3)}
.zig-price{display:inline-block;margin:0 0 12px;padding:4px 14px;border-radius:99px;background:var(--gold);color:var(--wood-3);font-weight:700;font-size:14px}
.zig-art.sk{background:#ffffff}

@media (max-width:1023px){
  .acc-grid{grid-template-columns:repeat(3,1fr)}
  .plans{grid-template-columns:repeat(2,1fr)}
  .rep-tabs{grid-template-columns:repeat(3,1fr)}
}
@media (max-width:639px){
  .acc-tabs{margin:22px -16px 14px;padding:0 16px 2px}
  .acc-grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .acc-pic>span{width:58px;height:58px}.acc-pic>span svg{width:26px;height:26px}
  .acc-info{padding:10px 11px 12px}
  .acc-info h3{font-size:13.5px}
  .acc-foot b{font-size:16px}
  .acc-foot .mini-ask{padding:4px 9px}
  .bento-tile.sk{min-height:140px}
  .plans{gap:10px}
  .plan{padding:16px 14px}
  .plan b{font-size:24px}
  .ic-result.three{grid-template-columns:1fr 1fr}
  .ic-result.three .hl{grid-column:1/-1}
  .rep-tabs{display:flex;overflow-x:auto;scrollbar-width:none;margin:0 -16px 16px;padding:0 16px 4px;gap:10px}
  .rep-tabs::-webkit-scrollbar{display:none}
  .rep-tab{flex:none;width:120px;padding:14px 8px}
  .pt-head{padding:14px 16px}
  .pt-row{grid-template-columns:1fr auto;padding:12px 16px;gap:4px 12px}
  .pt-row .mini-ask{grid-column:2;justify-self:end}
  .pt-row span{grid-column:1;grid-row:1 / span 2}
  .pt-note{padding:10px 16px}
}
.acc-pic>span.tag{width:auto;height:auto;display:inline-block;border-radius:99px;box-shadow:none;background:var(--gold);color:var(--wood-3);font-size:12px;padding:3px 10px}
/* Wordmark glow + starred tagline */
.logo-text{align-items:flex-start;text-align:left}
.logo-text b{background:linear-gradient(180deg,#ecedf0 0%,#f01920 45%,#c00c12 100%);-webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 0 6px #f0192080) drop-shadow(0 0 14px #f0192040)}
.logo-text small.tagline{display:flex;align-items:center;gap:3px;margin-top:3px;font-size:12.5px;font-weight:600;letter-spacing:.02em;
  background:linear-gradient(180deg,#e4e6ea,#f01920);-webkit-background-clip:text;background-clip:text;color:transparent;
  filter:drop-shadow(0 0 5px #f0192066)}
.logo-text small.tagline i{font-style:normal;font-size:11px;margin-left:6px}
.logo-text small.tagline i:first-child{margin-left:0}
@media (max-width:639px){.logo-text small.tagline{font-size:11px}.logo-text small.tagline i{font-size:10px;margin-left:4px}}

/* ================= Gold glow on buttons & icons ================= */
:root{--glow:0 0 14px #f0192059,0 0 28px #f0192026;--glow-strong:0 0 18px #f019208c,0 0 40px #f0192040}
.btn.gold,.mini-ask,.u-go,.go,.bpill em,.tab.active em,.plan em,.zig-price,.svc-ic,.bt-ic,.pi svg,.ph-badge,.trade-card>span svg,.calc h2 svg,.check-list svg{
  box-shadow:inset 0 1px 0 #fff6,var(--glow)}
.btn.gold:hover,.mini-ask:hover,.u-go:hover{box-shadow:inset 0 1px 0 #fff6,var(--glow-strong)}
.icon-btn,.burger,.drawer-close,.ft-social a{box-shadow:0 0 12px #f0192033}
.icon-btn:hover,.burger:hover,.ft-social a:hover{box-shadow:var(--glow-strong)}
.icon-btn svg,.burger span,.mini-ask svg,.u-go svg,.go svg,.ft-social svg,.topbar svg,.drawer-nav svg,.ft-visit svg,.ft-trust svg,.trust svg{filter:drop-shadow(0 0 4px #f0192099)}
.cat-ic,.is-ic,.info-ic,.spec>span,.acc-pic>span:not(.tag),.empty-ic,.acc-strip svg{box-shadow:0 0 0 5px #e3e5e9,var(--glow)}
.cat-ic svg,.is-ic svg,.acc-pic>span svg,.zig-art span svg,.bento-tile.big .bt-ic svg,.rep-tab.active .is-ic svg{filter:drop-shadow(0 0 5px #f01920aa)}
.cat:hover .cat-ic,.rep-tab:hover .is-ic,.issue:hover .is-ic{box-shadow:0 0 0 5px #e3e5e9,var(--glow-strong)}
.tab.active,.u-switch button.active,.acc-tab.active,.svc-tab.active,.rep-tab.active,.plan.active,.ic-months button.active,.chip.active,.u-chip.active{box-shadow:0 10px 26px #10101033,var(--glow)}
.bottombar a svg{filter:drop-shadow(0 0 3px #f0192055)}
.bottombar a.active svg{filter:drop-shadow(0 0 8px #f01920cc) drop-shadow(0 0 16px #f0192066)}
.bottombar a.active span{text-shadow:0 0 10px #f0192099}
.logo-mark{filter:drop-shadow(0 2px 6px #0007) drop-shadow(0 0 12px #f0192066)}
@keyframes goldPulse{0%,100%{box-shadow:inset 0 1px 0 #fff6,var(--glow)}50%{box-shadow:inset 0 1px 0 #fff6,var(--glow-strong)}}
.hero-cta .btn.gold,.ft-cta .btn.gold{animation:goldPulse 2.8s ease-in-out infinite}

/* Category picker popup */
.more{cursor:pointer;font:inherit;font-weight:600}
.more-wrap{display:flex;justify-content:center;margin-top:28px}
.more-wrap .btn{padding:13px 30px;font-size:16px}
dialog.picker{width:min(560px,calc(100% - 32px));max-height:calc(100% - 32px);margin:auto;padding:30px 28px 28px;border-radius:28px;
  background:radial-gradient(500px 260px at 100% 0%,#f0192033,transparent 60%),var(--wood);color:#eaebee;border:1px solid #f0192066;
  box-shadow:0 30px 80px #000a,0 0 40px #f0192026}
dialog.picker[open]{animation:pickIn .28s cubic-bezier(.2,.9,.3,1.2) both}
dialog.picker::backdrop{background:#0b0b0bcc;backdrop-filter:blur(5px)}
@keyframes pickIn{from{opacity:0;transform:scale(.92) translateY(10px)}to{opacity:1;transform:none}}
dialog.picker h2{margin:0 0 20px;text-align:center;font-size:22px;color:var(--gold-1);text-shadow:0 0 14px #f0192066}
.picker-close{position:absolute;top:14px;right:14px;width:38px;height:38px;border-radius:50%;border:1px solid #f0192066;background:#ffffff10;color:var(--gold-1);cursor:pointer;font-size:15px;box-shadow:0 0 12px #f0192033}
.picker-close:hover{box-shadow:var(--glow-strong)}
.picker-cats{max-width:none;margin:0}
@media (max-width:639px){
  dialog.picker{width:calc(100% - 28px);margin:auto;border-radius:24px;padding:24px 16px 18px}
  dialog.picker h2{font-size:19px;margin-bottom:16px}
  .more-wrap{margin-top:20px}
  .more-wrap .btn{width:100%}
}
.picker-close:focus{outline:none}.picker-close:focus-visible{outline:2px solid var(--gold-2);outline-offset:2px}

/* Accessory: small gold category cards (4 per row) */
.mini-cats{grid-template-columns:repeat(4,1fr);gap:16px;max-width:none;margin:0}
.mini-cats .cat{padding:16px 6px 13px;gap:8px;border-radius:18px;cursor:pointer;font:inherit}
.mini-cats .cat-ic{width:48px;height:48px}
.mini-cats .cat-ic svg{width:22px;height:22px}
.mini-cats .cat-txt b{font-size:14px}
.mini-cats .cat.active{background:var(--wood);border-color:var(--gold-2);color:var(--gold-1);box-shadow:0 12px 28px #10101040,var(--glow-strong)}
.mini-cats .cat.active .cat-ic{background:var(--gold);color:var(--wood-3)}
.acc-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:34px 0 16px;padding-top:24px;border-top:1px dashed var(--line2);animation:pageIn .3s ease both}
.acc-head h2{display:flex;align-items:center;gap:10px;margin:0;font-size:24px}
.acc-head h2 svg{width:30px;height:30px;padding:6px;border-radius:10px;background:var(--gold);color:var(--wood-3);box-shadow:var(--glow)}
.acc-head span{color:var(--muted)}
#acc-area .acc-grid{animation:pageIn .3s ease both}
@media (max-width:639px){
  .mini-cats{gap:8px}
  .mini-cats .cat{padding:11px 2px 9px;gap:6px;border-radius:14px}
  .mini-cats .cat-ic{width:38px;height:38px}
  .mini-cats .cat-ic svg{width:18px;height:18px}
  .mini-cats .cat-txt b{font-size:11.5px}
  .acc-head{margin-top:24px;padding-top:18px}
  .acc-head h2{font-size:20px}
}
.mini-cats{display:flex;flex-wrap:wrap;justify-content:center}
.mini-cats .cat{width:calc((100% - 48px) / 4)}
@media (max-width:639px){.mini-cats .cat{width:calc((100% - 24px) / 4)}}

/* ================= Accessory detail ================= */
a.acc-card{color:inherit}
.acc-foot .go{width:30px;height:30px}
.acc-big{width:150px;height:150px;border-radius:50%;display:grid;place-items:center;background:var(--wood);color:var(--gold-1);box-shadow:0 0 0 10px #e3e5e9,var(--glow)}
.acc-big svg{width:66px;height:66px;filter:drop-shadow(0 0 8px #f01920aa)}
.check-list.one{grid-template-columns:1fr;margin:0 0 6px}

/* ================= Home promo banners ================= */
.promo-zone{padding-top:20px}
.promos{display:grid;grid-template-columns:1.4fr 1fr;grid-template-rows:1fr 1fr;gap:18px;min-height:420px}
.promo{position:relative;display:flex;align-items:center;overflow:hidden;border-radius:28px;color:#eaebee;padding:30px;border:1px solid #f0192055;
  background:radial-gradient(420px 260px at 85% 50%,#f0192040,transparent 65%),var(--wood);box-shadow:var(--shadow-lg);transition:transform .25s}
.promo:hover{transform:translateY(-4px)}
.promo.sk{border:0;min-height:200px}
.promo.p1{grid-row:span 2;flex-direction:column;align-items:flex-start;justify-content:space-between}
.promo.p2{background:radial-gradient(380px 220px at 85% 50%,#e4e6ea70,transparent 65%),linear-gradient(135deg,#ffffff,#f01920 60%,#c00c12);color:var(--wood-3)}
.promo-txt{position:relative;z-index:1;max-width:58%}
.promo.p1 .promo-txt{max-width:100%}
.promo-txt em{display:inline-block;font-style:normal;font-weight:800;font-size:13px;letter-spacing:.06em;padding:3px 12px;border-radius:99px;background:var(--gold);color:var(--wood-3);box-shadow:var(--glow);margin-bottom:10px}
.promo.p2 .promo-txt em{background:var(--wood-3);color:var(--gold-1)}
.promo-txt h3{margin:0 0 6px;font-size:clamp(20px,2.4vw,30px);line-height:1.3;color:var(--gold-1);text-shadow:0 0 18px #f0192055}
.promo.p1 .promo-txt h3{font-size:clamp(26px,3.2vw,40px)}
.promo.p2 .promo-txt h3{color:var(--wood-3);text-shadow:none}
.promo-txt p{margin:0 0 16px;color:#bdbfc3;font-size:15px}
.promo.p2 .promo-txt p{color:#202020}
.promo.p2 .btn.gold{background:var(--wood);color:var(--gold-1)}
.promo-pic{position:absolute;right:-4%;bottom:-6%;width:46%;height:110%;display:flex;align-items:flex-end;justify-content:center;pointer-events:none}
.promo-pic img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 18px 30px #0008)}
.promo.p1 .promo-pic{position:relative;right:auto;bottom:auto;width:100%;height:auto;flex:1;align-items:center;margin-top:10px}
.promo.p1 .promo-pic img{max-height:260px}

/* ================= Newsroom ================= */
.news-row{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.post{display:flex;flex-direction:column;border-radius:var(--r-lg);overflow:hidden;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow);color:inherit;transition:transform .2s,border-color .2s}
.post:hover{transform:translateY(-4px);border-color:var(--gold-2)}
.post-pic{position:relative;aspect-ratio:16/10;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 50%,#f0192040,transparent 60%),var(--wood)}
.post-pic.sk{border-radius:0;background:#ffffff}
.post-pic img{width:70%;height:90%;object-fit:contain;filter:drop-shadow(0 14px 24px #0008);transition:transform .35s}
.post:hover .post-pic img{transform:scale(1.05)}
.post-pic>span svg{width:60px;height:60px;color:var(--gold-1)}
.post-pic em{position:absolute;top:12px;left:12px;font-style:normal;font-size:12px;font-weight:700;padding:3px 12px;border-radius:99px;background:var(--gold);color:var(--wood-3);box-shadow:var(--glow)}
.post-txt{padding:16px 18px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.post-txt small{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:12.5px}
.post-txt small svg{width:14px;height:14px}
.post-txt h3{margin:0;font-size:17px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.post-txt p{margin:0;color:var(--muted);font-size:14.5px}
.post-txt .link{margin-top:auto;padding-top:6px;color:var(--gold-ink)}
.post.big{grid-column:1/-1;flex-direction:row}
.post.big .post-pic{flex:1.2;aspect-ratio:auto;min-height:320px}
.post.big .post-txt{flex:1;padding:32px;justify-content:center;gap:10px}
.post.big h3{font-size:clamp(22px,2.6vw,30px);-webkit-line-clamp:3}
.news-hero{background:radial-gradient(700px 300px at 90% 0%,#f0192033,transparent 60%),var(--wood);color:#eaebee;padding:30px 0 38px;border-bottom:3px solid var(--gold-2)}
.news-hero h1{margin:0;font-family:var(--serif);font-size:clamp(34px,5vw,56px);color:var(--gold-1);text-shadow:0 0 22px #f0192055}
.article{padding:30px 0 70px}
.narrow-wrap{max-width:820px}
.article h1{font-size:clamp(26px,3.6vw,40px);line-height:1.35;margin:10px 0 10px}
.article-meta{display:flex;align-items:center;gap:12px;margin-top:14px}
.article-meta em{font-style:normal;font-size:12px;font-weight:700;padding:3px 12px;border-radius:99px;background:var(--gold);color:var(--wood-3)}
.article-meta small{display:flex;align-items:center;gap:6px;color:var(--muted)}
.article-meta small svg{width:14px;height:14px}
.article-lead{font-size:18px;color:#202020;margin:0 0 22px}
.article-pic{border-radius:28px;overflow:hidden;aspect-ratio:16/9;display:grid;place-items:center;background:radial-gradient(circle at 50% 50%,#f0192040,transparent 60%),var(--wood);margin-bottom:28px}
.article-pic.sk{background:#ffffff;margin:16px 0}
.article-pic img{width:60%;height:88%;object-fit:contain;filter:drop-shadow(0 20px 34px #0009)}
.article-body{font-size:17px;line-height:1.95;color:#141414}
.article-body h2{font-size:22px;margin:30px 0 8px;color:var(--wood-2);padding-left:14px;border-left:4px solid var(--gold-2)}
.article-body p{margin:0 0 14px}
.share{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:30px 0 10px;padding-top:22px;border-top:1px dashed var(--line2)}
.share span{font-weight:600;color:var(--muted)}
.share a{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:99px;background:var(--wood);color:var(--gold-1);font-weight:600;font-size:14px;box-shadow:var(--glow)}
.share a svg{width:16px;height:16px}

@media (max-width:1023px){
  .promos{grid-template-columns:1fr 1fr;grid-template-rows:auto auto;min-height:0}
  .promo.p1{grid-column:1/-1;grid-row:auto;flex-direction:row;align-items:center;min-height:280px}
  .promo.p1 .promo-txt{max-width:55%}
  .promo.p1 .promo-pic{position:absolute;right:-2%;bottom:-6%;width:44%;height:110%;margin:0}
  .promo{min-height:220px}
  .news-grid{grid-template-columns:repeat(2,1fr)}
  .news-row{grid-template-columns:repeat(2,1fr)}
  .news-row .post:nth-child(3){display:none}
}
@media (max-width:639px){
  .promos{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:0 -16px;padding:0 16px 8px;scrollbar-width:none}
  .promos::-webkit-scrollbar{display:none}
  .promo,.promo.p1{flex:none;width:86%;min-height:210px;padding:22px;border-radius:22px;scroll-snap-align:center}
  .promo-txt,.promo.p1 .promo-txt{max-width:62%}
  .promo-txt h3,.promo.p1 .promo-txt h3{font-size:20px}
  .promo-txt p{font-size:13px;margin-bottom:12px}
  .promo-pic,.promo.p1 .promo-pic{width:48%}
  .news-grid,.news-row{grid-template-columns:1fr;gap:14px}
  .news-row .post:nth-child(3){display:flex}
  .post{flex-direction:row}
  .post .post-pic{width:118px;flex:none;aspect-ratio:auto;min-height:118px}
  .post-pic em{top:8px;left:8px;font-size:10.5px;padding:2px 8px}
  .post-txt{padding:12px 14px}
  .post-txt h3{font-size:15px}
  .post.big{flex-direction:column}
  .post.big .post-pic{width:auto;min-height:200px}
  .post.big .post-txt{padding:18px}
  .article{padding-top:20px}
  .article-lead{font-size:16px}
  .article-body{font-size:16px}
  .article-pic{border-radius:20px}
}

/* Accessory promo slider */
.slider{position:relative;margin-top:26px}
.slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:28px;box-shadow:var(--shadow-lg)}
.slides::-webkit-scrollbar{display:none}
.slide{position:relative;flex:0 0 100%;scroll-snap-align:start;min-height:300px;display:flex;align-items:center;padding:36px 44px;overflow:hidden;color:#eaebee;
  background:radial-gradient(520px 300px at 80% 50%,#f0192045,transparent 65%),var(--wood)}
.slide.sk{background:#ffffff;border-radius:28px}
.slide.s2{background:radial-gradient(460px 280px at 82% 50%,#e4e6ea80,transparent 65%),linear-gradient(135deg,#ffffff,#f01920 60%,#c00c12);color:var(--wood-3)}
.slide.s3{background:radial-gradient(520px 300px at 80% 50%,#f0192040,transparent 65%),linear-gradient(120deg,#0c0c0c,#161616 55%,#222222)}
.slide .promo-txt{max-width:52%}
.slide .promo-txt h3{font-size:clamp(24px,3vw,38px)}
.slide.s2 .promo-txt h3{color:var(--wood-3);text-shadow:none}
.slide.s2 .promo-txt p{color:#202020}
.slide.s2 .promo-txt em{background:var(--wood-3);color:var(--gold-1)}
.slide.s2 .btn.gold{background:var(--wood);color:var(--gold-1)}
.slide-pic{position:absolute;right:4%;top:8%;bottom:8%;width:40%;display:flex;align-items:center;justify-content:center}
.slide-pic img{max-width:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 18px 30px #0008)}
.slide.s2 .slide-pic img{mix-blend-mode:multiply;filter:none}
.dots-nav{position:absolute;left:0;right:0;bottom:16px;display:flex;justify-content:center;gap:8px}
.dots-nav button{width:9px;height:9px;padding:0;border:0;border-radius:99px;background:#f0192066;cursor:pointer;transition:width .3s,background .3s}
.dots-nav button.on{width:26px;background:var(--gold-1);box-shadow:0 0 10px #f01920aa}
@media (max-width:639px){
  .slider{margin-top:20px}
  .slides{border-radius:22px}
  .slide{min-height:200px;padding:22px 20px 34px}
  .slide.sk{border-radius:22px}
  .slide .promo-txt{max-width:60%}
  .slide .promo-txt h3{font-size:19px}
  .slide .promo-txt p{font-size:12.5px;margin-bottom:12px}
  .slide-pic{right:0;width:44%}
  .dots-nav{bottom:12px}
}
.ic-img{width:22px;height:22px;object-fit:contain;flex:none}.cat-ic .ic-img{width:60%;height:60%}
/* Custom text block (home builder) */
.text-block{display:grid;grid-template-columns:1.1fr 1fr;gap:34px;align-items:center;padding:34px;border-radius:28px;background:var(--paper);border:1px solid var(--line);box-shadow:var(--shadow)}
.text-block.no-img{grid-template-columns:1fr;text-align:center}
.text-block h2{margin:0 0 10px}
.text-block p{margin:0 0 10px;color:#202020}
.text-block .btn{margin-top:10px}
.text-pic{border-radius:22px;overflow:hidden;background:radial-gradient(circle,#f0192040,transparent 60%),var(--wood);display:grid;place-items:center;aspect-ratio:4/3}
.text-pic img{max-width:85%;max-height:85%;object-fit:contain}
@media (max-width:820px){.text-block{grid-template-columns:1fr;padding:22px}}

/* Photo boxes: keep images pinned inside (iOS Safari lets large images stretch aspect-ratio boxes) */
.acc-pic,.pic,.post-pic,.d-media,.u-pic,.spot-pic{position:relative;overflow:hidden;min-height:0}
.acc-pic>img,.pic>img,.post-pic>img,.d-media>img,.u-pic>img{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;margin:auto}
.acc-pic>img{padding:16px}
.pic>img{padding:14px}
.post-pic>img{padding:10% 15%;filter:drop-shadow(0 14px 24px #0008)}
.d-media>img{padding:40px}
.u-pic>img{padding:8px}
.acc-pic>span,.pic>.ph,.post-pic>span{position:relative;z-index:1}
.acc-pic .tag,.pic .tag{z-index:2}
.acc-card,.card{min-width:0}
@media (max-width:639px){.d-media>img{padding:24px}}

/* Home services on phone: compact 2×2 cards */
@media (max-width:639px){
  .svc-grid.four{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .svc-grid.four .svc-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:14px 14px 16px;border-radius:18px;transform:none}
  .svc-grid.four .svc-card .svc-ic{width:42px;height:42px;border-radius:12px;margin:0}
  .svc-grid.four .svc-card .svc-ic svg{width:21px;height:21px}
  .svc-grid.four .svc-card h3{margin:0;font-size:15px;line-height:1.35}
  .svc-grid.four .svc-card p{margin:0;font-size:12px;line-height:1.5;color:#aaadb2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .svc-grid.four .svc-num,.svc-grid.four .svc-card .link{display:none}
  .zone.wood{padding:36px 0}
}
@media (min-width:821px){.d-media:not(.sk){position:sticky}}

/* iOS Safari fix: no aspect-ratio on flex-column card photo boxes (Safari widens them past the card).
   Fixed-ratio box via padding-top, everything inside pinned with top/left (works on all iOS versions). */
.acc-pic,.pic{aspect-ratio:auto!important;display:block;width:100%;height:0;flex:none;min-width:0;max-width:100%}
.acc-pic{padding-top:75%}
.pic{padding-top:100%}
.acc-pic>img,.pic>img{position:absolute;top:0;left:0;right:auto;bottom:auto;width:100%;height:100%;box-sizing:border-box}
.acc-pic>span:not(.tag),.pic>.ph{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);margin:0}
.acc-pic .tag.hot{top:10px;right:10px;left:auto;max-width:calc(100% - 20px)}
.pic .tag{max-width:calc(50% - 12px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.acc-card,.card{width:100%;max-width:100%;overflow:hidden}
.acc-grid>*,.grid>*{min-width:0}

/* Page switch: soft cross-fade, no slide (the old translateY looked like a glitch) */
.app.enter{animation:pageFade .22s ease-out both}
@keyframes pageFade{from{opacity:.35}to{opacity:1}}
::view-transition-old(root),::view-transition-new(root){animation-duration:.22s;animation-timing-function:ease-out}
@media (prefers-reduced-motion:reduce){.app.enter{animation:none}}

/* Page switch: single fade (out → in), no slide, no visible scroll */
.app.enter{animation:none}
.app{transition:opacity .2s ease}
.app.leaving{opacity:0;transition:opacity .16s ease}
::view-transition-old(root),::view-transition-new(root){animation:none}
@media (prefers-reduced-motion:reduce){.app,.app.leaving{transition:none}}
.ft{transition:opacity .2s ease}
body.page-leaving .app,body.page-leaving .ft{opacity:0;transition:opacity .16s ease}
/* No global smooth scrolling: page switches jump invisibly; in-page scrolls ask for smooth explicitly in JS */
html{scroll-behavior:auto!important}
/* Page switch: dim (not blank) → new page/skeleton brightens in. Avoids the white flash. */
body.page-leaving .app,body.page-leaving .ft{opacity:.38;filter:saturate(.85);transition:opacity .12s ease,filter .12s ease}
.app,.ft{transition:opacity .24s ease,filter .24s ease}

/* ================= Event & Gift ================= */
.ev-hero{background:radial-gradient(600px 300px at 85% 0%,#f0192040,transparent 60%),linear-gradient(120deg,#0c0c0c,#161616 55%,#1c1c1c);color:#eaebee;padding:28px 0 34px;border-bottom:3px solid var(--gold-2)}
.ev-hero h1{display:flex;align-items:center;gap:12px;margin:0;font-family:var(--serif);font-size:clamp(30px,4.5vw,50px);color:var(--gold-1);text-shadow:0 0 22px #f0192055}
.ev-hero h1 svg{width:48px;height:48px;padding:10px;border-radius:14px;background:var(--gold);color:var(--wood-3);box-shadow:var(--glow)}
.ev-list{display:flex;flex-direction:column;gap:22px}
.ev-card{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);border-radius:28px;overflow:hidden;background:var(--wood);color:#eaebee;border:1px solid #f0192055;box-shadow:var(--shadow-lg);transition:transform .25s,border-color .25s,box-shadow .25s}
a.ev-card:hover{transform:translateY(-4px);border-color:var(--gold-2);box-shadow:var(--shadow-lg),0 0 30px #f0192033}
.ev-pic{position:relative;min-height:280px;overflow:hidden;background:#0a1528}
.ev-pic.sk{background:#161616}
.ev-pic>img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;transition:transform .5s}
a.ev-card:hover .ev-pic>img{transform:scale(1.04)}
.ev-pic>span:not(.ev-play){position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:var(--gold-1)}
.ev-pic>span svg{width:70px;height:70px}
.ev-pic em{position:absolute;top:16px;left:16px;font-style:normal;font-size:12px;font-weight:800;letter-spacing:.08em;padding:4px 12px;border-radius:99px;background:var(--gold);color:var(--wood-3);box-shadow:var(--glow)}
.ev-play{position:absolute;right:18px;bottom:18px;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:var(--wood-3);box-shadow:0 8px 24px #0008,var(--glow);animation:goldPulse 2.8s ease-in-out infinite}
.ev-play svg{width:30px;height:30px}
.ev-txt{padding:30px 30px 28px;display:flex;flex-direction:column;justify-content:center;gap:10px;align-items:flex-start}
.ev-txt h3{margin:0;font-size:clamp(22px,2.6vw,30px);line-height:1.35;color:#eeeff1}
.ev-txt p{margin:0 0 6px;color:#bdbfc3;font-size:15px}
.ev-txt .sk{background:#1c1c1c}
/* Game page */
.game-stage{position:relative;background:var(--wood-3)}
.game-bar{display:flex;align-items:center;gap:12px;padding:10px 16px;background:#0a0a0a;border-bottom:1px solid #f0192044;color:var(--gold-1)}
.game-bar b{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px}
.game-back,.game-full{width:40px;height:40px;flex:none;border-radius:12px;border:1px solid #f0192066;background:#ffffff0d;color:var(--gold-1);display:grid;place-items:center;cursor:pointer;font-size:18px;box-shadow:0 0 12px #f0192033}
.game-back svg{width:20px;height:20px}
.game-frame{height:calc(100vh - 60px - 76px);min-height:560px}
.game-frame.sk{border-radius:0;background:#101010}
.game-frame iframe{display:block;width:100%;height:100%;border:0;background:transparent}
.game-stage:fullscreen .game-frame,.game-stage.pseudo-full .game-frame{height:calc(100vh - 61px)}
.game-stage.pseudo-full{position:fixed;inset:0;z-index:90}
body.is-game .ft,body.is-game .bottombar,body.is-game .topbar{display:none}
body.is-game{padding-bottom:0!important}
@media (max-width:820px){
  .ev-card{grid-template-columns:1fr}
  .ev-pic{min-height:0;height:0;padding-top:56.25%}
  .ev-txt{padding:20px 20px 22px}
}
@media (max-width:639px){
  .ev-list{gap:16px}
  .ev-card{border-radius:22px}
  .ev-play{width:48px;height:48px;right:12px;bottom:12px}
  .ev-txt h3{font-size:20px}
  .ev-txt p{font-size:14px}
  .ev-txt .btn{width:100%}
  .game-frame{height:calc(100dvh - 60px - 64px);min-height:480px}
}

/* ================= JET BLACK store identity =================
   White marble interior · signal-red frames · black slatted signboard · blue LED strip. */
:root{
  --red:#e3121b;--red-hi:#ff3b30;--red-lo:#a80c13;--led:#e3121b;
  --gold:linear-gradient(135deg,#ff3b30 0%,#e3121b 55%,#a80c13 100%);
  --grain:repeating-linear-gradient(0deg,#ffffff08 0 2px,transparent 2px 9px);   /* signboard slats */
  --wood:var(--grain),linear-gradient(180deg,#141416 0%,#0a0a0b 100%);
  --serif:'Kantumruy Pro',system-ui,sans-serif;
  --glow:0 0 14px #e3121b59,0 0 28px #e3121b26;--glow-strong:0 0 18px #ff3b308c,0 0 40px #e3121b40;
}
/* Header & footer = black signboard with a blue LED line */
.nav{background:var(--wood);border-bottom:2px solid var(--led);box-shadow:0 2px 14px #e3121b66}
.topbar{background:#0a0a0b}
.ft{border-top:2px solid var(--led);box-shadow:0 -2px 14px #e3121b55;background:var(--wood)}
.bottombar{border-color:#e3121b88!important;box-shadow:0 12px 32px #0006,0 0 18px #e3121b40!important}
/* Logo = "JET BlackStore" wordmark image; tagline under it */
.logo-mark{width:auto!important;height:46px!important;filter:drop-shadow(0 0 10px #e3121b55)!important}
.logo-mark img.eagle{width:auto;height:100%}
.logo-mark.big{height:70px!important}
.logo-text b{display:none}
.logo-text small.tagline{background:none;-webkit-background-clip:initial;background-clip:initial;color:#f4f5f7;filter:none;font-weight:500;letter-spacing:.02em;margin-top:0}
.logo-text small.tagline i{display:none}
.logo{gap:10px;align-items:center}
@media (max-width:639px){.logo-mark{height:36px!important}.logo-text small.tagline{font-size:10.5px}}
/* Home hero: bright white store floor, red-framed white cards */
.hero{background:radial-gradient(700px 360px at 85% 0%,#e3121b1f,transparent 60%),radial-gradient(600px 300px at 0% 100%,#e3121b14,transparent 60%),linear-gradient(180deg,#ffffff,#eceef1);color:#111;border-bottom:3px solid var(--red)}
.hero .btn.glass{background:#fff;color:#111;border-color:#11111126}
.hero .btn.glass:hover{border-color:var(--red)}
.hero-cats .cat{background:#fff!important;color:#111!important;border:2px solid var(--red)!important;box-shadow:0 10px 26px #0000001a!important}
.hero-cats .cat::after{display:none}
.hero-cats .cat:hover,.hero-cats .cat:focus-visible{box-shadow:0 14px 34px #00000026,0 0 24px #e3121b55!important}
.hero-cats .cat-ic,.mini-cats .cat-ic{background:linear-gradient(145deg,#ff3b30,#e3121b 55%,#a80c13)!important;color:#fff!important;box-shadow:0 6px 14px #e3121b55!important}
.mini-cats .cat.active{background:#111!important;border-color:var(--red)!important;color:#fff!important}
.search{border:2px solid var(--red)!important}
.ring{border-color:#e3121b40;box-shadow:0 0 0 30px #e3121b0d,0 0 0 60px #e3121b08;background:radial-gradient(circle,#e3121b1f,transparent 65%)}
.device{background:linear-gradient(145deg,#2a2a2e,#060607);box-shadow:inset 0 0 0 2px #e3121b99,0 30px 60px #0006}
.device .screen{background:radial-gradient(circle at 30% 20%,#e3121b55,transparent 50%),linear-gradient(160deg,#1a1a1d,#050506)}
.device .screen b{color:#fff}
/* Red buttons / badges carry white text */
.btn.gold,.search .btn,.chip.active,.u-chip.active,.tab.active em,.bpill em,.plan em,.zig-price,.promo-txt em,.mini-ask,.pic .tag.hot,.acc-pic>span.tag,.ev-pic em,.count,.more-wrap .btn{color:#fff!important;text-shadow:0 1px 2px #0006}
.btn.gold svg,.mini-ask svg,.svc-ic,.bt-ic,.ph-badge,.calc h2 svg,.pi svg,.ev-play,.svc-tab.active svg,.rep-tab.active .is-ic,.u-switch button.active,.trade-card>span svg,.check-list svg,.spot-tag{color:#fff}
.spot-price b,.nb-stats b,.ev-hero h1,.banner h1,.ph-hero h1,.news-hero h1{color:#fff;text-shadow:0 0 18px #e3121b66}
.tag.new{background:#111;color:#fff}
.price b,.pr,.u-side b,.acc-foot b,.bt-price,.pt-row b{font-family:'Kantumruy Pro',sans-serif;font-weight:700}
.ft-mark{font-style:italic;font-weight:800;letter-spacing:-.03em}
/* Wide wordmark logo: size by height */
.logo-mark img.eagle{height:100%!important;width:auto!important;max-width:none!important}
.device .screen b{display:none}
.device .screen .logo-mark.big{height:auto!important;width:86%!important}
.device .screen .logo-mark.big img.eagle{width:100%!important;height:auto!important}
.about-card .logo-mark.big{height:60px!important}
.logo-mark{display:block!important;line-height:0}
.nav .logo-mark{height:58px!important}.drawer-head .logo-mark,.ft .logo-mark{height:56px!important}@media (max-width:639px){.nav .logo-mark{height:46px!important}}
.directions{display:flex;gap:14px;padding:18px;border-radius:var(--r);background:var(--paper);border:2px solid var(--red);box-shadow:var(--shadow)}
.directions>svg{width:44px;height:44px;padding:10px;border-radius:12px;background:var(--gold);color:#fff;flex:none}
.directions b{display:block;margin-bottom:6px;font-size:16px}
.directions p{margin:0 0 6px;font-size:14px;color:#2b2d33;line-height:1.7}
.directions .btn{margin-top:8px}
.ft-visit .ft-phone{display:flex;align-items:center;gap:8px;font-size:15px;color:#fff;font-weight:600}
.ft-visit .ft-phone svg{width:17px;height:17px;color:var(--red-hi)}

/* Browser bar black: Chrome uses theme-color; Safari samples the colour at the top edge of the page */
html{background-color:#000}
body::before{content:"";position:fixed;top:0;left:0;right:0;height:max(3px,env(safe-area-inset-top));background:#000;z-index:200;pointer-events:none}
/* Logo: smaller, a little higher, tagline underneath */
.nav .logo,.drawer-head .logo,.ft .logo{flex-direction:column;align-items:flex-start;gap:3px}
.nav .logo{margin-top:-6px}
.nav .logo-mark{height:42px!important}
.drawer-head .logo-mark,.ft .logo-mark{height:44px!important}
.logo-text small.tagline{font-size:11.5px;letter-spacing:.03em;color:#e9eaee;padding-left:3px}
@media (max-width:639px){.nav .logo-mark{height:34px!important}.nav .logo{margin-top:-4px}.logo-text small.tagline{font-size:10px}}
/* No blue: white · black · red only */
.nav{border-bottom:2px solid var(--red)!important;box-shadow:0 2px 12px #e3121b40!important}
.ft{border-top:2px solid var(--red)!important;box-shadow:0 -2px 12px #e3121b33!important}
.bottombar{border-color:#e3121b88!important;box-shadow:0 12px 32px #0006,0 0 18px #e3121b40!important}
.hero{background:radial-gradient(700px 360px at 85% 0%,#e3121b1f,transparent 60%),linear-gradient(180deg,#ffffff,#eceef1)!important}
/* Header blends into the (black) browser bar: solid #000, no slats/gradient */
.nav,.topbar{background:#000!important}
.nav{border-bottom:2px solid var(--red)!important}
/* Remove the black strip above the header (header itself is #000 now) */
body::before{display:none!important;content:none!important}
/* Glowing red star before the tagline */
.logo-text small.tagline i{display:inline-block!important;font-style:normal;color:#ff3b30;margin:0 5px 0 0!important;font-size:12px;text-shadow:0 0 6px #ff3b30,0 0 12px #e3121bcc;animation:starGlow 2.4s ease-in-out infinite}
@keyframes starGlow{0%,100%{text-shadow:0 0 5px #ff3b30,0 0 10px #e3121b99;opacity:.9}50%{text-shadow:0 0 9px #ff5a4f,0 0 20px #e3121b;opacity:1}}
@media (prefers-reduced-motion:reduce){.logo-text small.tagline i{animation:none}}

/* Price chooser popup */
.price-choices{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.price-choice{position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:24px 12px 20px;border-radius:20px;background:#fff;color:#111;border:2px solid var(--red);box-shadow:0 10px 26px #0000002e;text-align:center;transition:transform .2s,box-shadow .2s}
.price-choice:hover{transform:translateY(-3px);box-shadow:0 14px 34px #0000003d,0 0 24px #e3121b55}
.price-choice .cat-ic{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#ff3b30,#e3121b 55%,#a80c13);color:#fff;box-shadow:0 6px 14px #e3121b55}
.price-choice .cat-ic svg{width:30px;height:30px}
.price-choice b{font-size:17px}
.price-choice small{color:#65686f;font-size:13px}
.price-choice em{position:absolute;top:12px;right:12px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#111;color:#fff}
.price-choice em svg{width:15px;height:15px}
@media (max-width:639px){.price-choices{gap:10px}.price-choice{padding:18px 8px 16px}.price-choice .cat-ic{width:54px;height:54px}.price-choice b{font-size:15px}}

/* Photo skeleton: frame shimmers until the image is loaded, then the image fades in */
img.lz{opacity:0;transition:opacity .35s ease}
img.lz.ok{opacity:1}
.pic:has(> img.lz:not(.ok))::before,.acc-pic:has(> img.lz:not(.ok))::before,.post-pic:has(> img.lz:not(.ok))::before,
.d-media:has(> img.lz:not(.ok))::before,.u-pic:has(> img.lz:not(.ok))::before,.spot-pic:has(> img.lz:not(.ok))::before,
.ev-pic:has(> img.lz:not(.ok))::before,.promo-pic:has(> img.lz:not(.ok))::before,.slide-pic:has(> img.lz:not(.ok))::before,
.article-pic:has(> img.lz:not(.ok))::before,.text-pic:has(> img.lz:not(.ok))::before{
  content:"";position:absolute;inset:0;z-index:1;border-radius:inherit;
  background:linear-gradient(100deg,#e7e9ed 20%,#f6f7f9 40%,#e7e9ed 60%);background-size:220% 100%;animation:imgShimmer 1.1s linear infinite}
.promo-pic:has(> img.lz:not(.ok))::before,.slide-pic:has(> img.lz:not(.ok))::before,.ev-pic:has(> img.lz:not(.ok))::before,.post-pic:has(> img.lz:not(.ok))::before{background:linear-gradient(100deg,#1c1c1f 20%,#2a2a2e 40%,#1c1c1f 60%);background-size:220% 100%}
.article-pic,.text-pic,.promo-pic,.slide-pic{position:relative}
@keyframes imgShimmer{from{background-position:120% 0}to{background-position:-120% 0}}

/* Game loading skeleton */
.game-frame{position:relative}
.game-frame iframe{transition:opacity .4s}
.game-frame.game-loading iframe{opacity:0}
.game-skel{position:absolute;inset:0;display:none;flex-direction:column;align-items:center;justify-content:center;gap:16px;color:#111;
  background:linear-gradient(100deg,#eef0f3 20%,#f8f9fb 40%,#eef0f3 60%);background-size:220% 100%;animation:imgShimmer 1.2s linear infinite}
.game-frame.game-loading .game-skel{display:flex}
.game-skel b{font-size:16px}
.gs-spin{width:46px;height:46px;border-radius:50%;border:4px solid #e3121b33;border-top-color:#e3121b;animation:spin .8s linear infinite;box-shadow:0 0 18px #e3121b40}
.gs-cards{display:flex;gap:12px}
.gs-cards i{width:64px;height:92px;border-radius:12px;background:#dfe2e7}
@keyframes spin{to{transform:rotate(360deg)}}

/* Used-phone warranty */
.u-warr{display:inline-flex;align-items:center;gap:5px;margin:2px 0 6px;padding:3px 10px 3px 7px;border-radius:999px;font-size:12px;font-weight:700;color:#fff;background:#e3121b;box-shadow:0 3px 10px #e3121b40;width:max-content}
.u-warr svg{width:14px;height:14px}
.tag.warr{display:inline-flex;align-items:center;gap:5px;color:#fff!important;background:#e3121b!important;border:0;font-weight:700}
.tag.warr svg{width:14px;height:14px}
.ub-badges li.warr{background:#e3121b!important;color:#fff!important;font-weight:700;box-shadow:0 0 16px #e3121b55}
.ub-badges li.warr svg{color:#fff!important}

/* Compact sidebar on computers/tablets (phones keep the roomier spacing): the whole menu fits without scrolling */
@media (min-width:768px){
.drawer-head{padding:14px 16px}
.drawer-body{padding:10px 14px 6px}
.drawer-nav{gap:0}
.drawer-nav a{padding:8px 12px;gap:11px;font-size:15px;line-height:1.35}
.drawer-nav svg{width:18px;height:18px}
.drawer .lang-switch{margin:2px 2px 8px;padding:3px}
.drawer .lang-switch a{padding:5px 10px;font-size:13px}
.drawer-foot{padding:10px 14px 14px;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.drawer-foot .btn{padding:9px 10px;font-size:13px;min-height:0;justify-content:center;white-space:nowrap}
.drawer-foot .btn svg{width:16px;height:16px}
.drawer-foot .btn:only-of-type{grid-column:1/-1}
.drawer-foot small{grid-column:1/-1;font-size:12px}
}
@media (min-width:768px) and (max-height:640px){.drawer-nav a{padding:6px 12px;font-size:14px}.drawer-head{padding:10px 14px}}

/* Language switch (sidebar + footer) */
.lang-switch{display:inline-flex;gap:4px;padding:4px;border-radius:999px;background:#ffffff12;border:1px solid #ffffff2e;width:max-content}
.lang-switch a{padding:6px 14px;border-radius:999px;font-size:13px;font-weight:600;color:#d9dbe0;text-decoration:none;transition:background .2s,color .2s}
.lang-switch a:hover{color:#fff}
.lang-switch a.active{background:#e3121b;color:#fff;box-shadow:0 0 12px #e3121b66}
.ft-bottom .lang-switch{margin:0 auto 0 16px}
@media (max-width:639px){.ft-bottom{flex-wrap:wrap;gap:12px}.ft-bottom .lang-switch{margin:0}}
.drawer .lang-switch{display:flex;width:auto;margin:4px 4px 14px;background:#fff;border-color:#e3121b55;box-shadow:0 2px 8px #0000000f}
.drawer .lang-switch a{flex:1;text-align:center;color:#3a3d44}
.drawer .lang-switch a.active{color:#fff}
@media (min-width:768px){.drawer .lang-switch{margin:2px 2px 8px;padding:3px}.drawer .lang-switch a{padding:5px 10px;font-size:13px}}

/* Chinese pages: Chinese system fonts after the Latin/Khmer font */
html[lang="zh-Hans"] body{font-family:"Kantumruy Pro","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans SC","Noto Sans CJK SC",sans-serif}
html[lang="zh-Hans"] h1,html[lang="zh-Hans"] h2,html[lang="zh-Hans"] h3{letter-spacing:.02em}
.lang-switch a[lang="zh-Hans"]{font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif}

/* Phone page FAQ */
.d-faq{margin-top:22px;padding:24px 28px;border-radius:var(--r-lg);background:var(--paper);border:1px solid var(--line)}
.d-faq h2{margin:0 0 12px;font-size:20px}
.d-faq details{border-top:1px solid var(--line);padding:4px 0}
.d-faq details:first-of-type{border-top:0}
.d-faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px;padding:12px 0;font-weight:600}
.d-faq summary::-webkit-details-marker{display:none}
.d-faq summary:after{content:"+";flex:none;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;border:1px solid #e3121b40;color:#e3121b;font-weight:700}
.d-faq details[open] summary:after{content:"−"}
.d-faq details p{margin:0 0 12px;color:var(--muted);line-height:1.7}
@media (max-width:639px){.d-faq{padding:18px}}

/* About page theme: white, red & black */
.ab-hero,.ab-sec,.ab-stats,.ab-visit-sec{--ab-hero-bg:linear-gradient(135deg,#ffffff,#f1f2f4);--ab-hero-ink:#111;--ab-glow:#e3121b30;--ab-accent:linear-gradient(145deg,#ff3b30,#e3121b 55%,#a80c13);--ab-on-accent:#fff;--ab-accent-ink:#e3121b;--ab-accent-light:#ff5a52;--ab-shadow:#e3121b45;--ab-card-dark:linear-gradient(160deg,#18181b,#050506);--ab-line:#e3121b40}

/* ===== About page ===== */
.ab-hero{position:relative;overflow:hidden;padding:34px 0 56px;background:var(--ab-hero-bg);color:var(--ab-hero-ink)}
.ab-hero:before{content:"";position:absolute;right:-160px;top:-160px;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle,var(--ab-glow),transparent 70%);pointer-events:none}
.ab-hero-in{position:relative;display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center}
.ab-hero .crumbs{margin-bottom:18px}
.ab-hero h1{font-size:clamp(34px,5vw,56px);line-height:1.1;margin:8px 0 16px}
.ab-intro p{font-size:17px;line-height:1.8;margin:0 0 10px;opacity:.88;max-width:56ch}
.ab-since{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:8px 16px;border-radius:999px;background:var(--ab-accent);color:var(--ab-on-accent);font-weight:700;font-size:14px;box-shadow:0 8px 22px var(--ab-shadow)}
.ab-since svg{width:16px;height:16px}
.ab-hero-txt .sk-line{display:block;margin:12px 0}
.ab-hero-pic{margin:0;position:relative;border-radius:28px;overflow:hidden;aspect-ratio:4/3;box-shadow:0 24px 60px #00000040;border:1px solid var(--ab-line)}
.ab-hero-pic img{width:100%;height:100%;object-fit:cover;display:block}
.ab-hero-pic.sk{min-height:300px}
.ab-hero-logo{display:grid;place-items:center;aspect-ratio:4/3;border-radius:28px;background:var(--ab-card-dark);border:1px solid var(--ab-line);box-shadow:0 24px 60px #00000030}
.ab-hero-logo img{width:44%;height:auto;filter:drop-shadow(0 10px 30px var(--ab-shadow))}
.ab-stats{margin-top:-30px;position:relative;z-index:2}
.ab-stats-in{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));background:var(--paper);border:1px solid var(--line);border-radius:24px;box-shadow:0 14px 40px #0000001a;overflow:hidden}
.ab-stats-in div{padding:22px 18px;text-align:center;border-left:1px solid var(--line)}
.ab-stats-in div:first-child{border-left:0}
.ab-stats-in b{display:block;font-size:clamp(26px,3.4vw,38px);line-height:1.1;color:var(--ab-accent-ink)}
.ab-stats-in span{font-size:14px;color:var(--muted)}
.ab-sec{padding:56px 0 8px}
.ab-head{text-align:center;margin:0 auto 28px;max-width:640px}
.ab-head h2{font-size:clamp(26px,3.4vw,36px);margin:6px 0 0}
.ab-story-txt{max-width:760px;margin:0 auto;font-size:17px;line-height:1.95}
.ab-story-txt p{margin:0 0 16px}
.ab-story-txt p:first-child:first-letter{font-size:3.1em;float:left;line-height:.9;margin:6px 10px 0 0;font-weight:700;color:var(--ab-accent-ink)}
.ab-mv{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.ab-mv-card{position:relative;padding:32px;border-radius:26px;background:var(--paper);border:1px solid var(--line);box-shadow:0 10px 30px #0000000f;overflow:hidden}
.ab-mv-card.dark{background:var(--ab-card-dark);color:#fff;border-color:var(--ab-line)}
.ab-mv-card small{display:block;letter-spacing:.18em;text-transform:uppercase;font-size:12px;font-weight:700;color:var(--ab-accent-ink)}
.ab-mv-card.dark small{color:var(--ab-accent-light)}
.ab-mv-card h3{font-size:24px;margin:4px 0 12px}
.ab-mv-card p{margin:0 0 8px;line-height:1.85;font-size:16px}
.ab-mv-ic{position:absolute;right:24px;top:24px;width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:var(--ab-accent);color:var(--ab-on-accent);box-shadow:0 8px 20px var(--ab-shadow)}
.ab-mv-ic svg{width:26px;height:26px}
.ab-values{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.ab-value{padding:26px 22px;border-radius:22px;background:var(--paper);border:1px solid var(--line);transition:transform .25s,box-shadow .25s}
.ab-value:hover{transform:translateY(-4px);box-shadow:0 16px 36px #00000014}
.ab-value-ic{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:var(--ab-accent);color:var(--ab-on-accent);margin-bottom:14px;box-shadow:0 8px 18px var(--ab-shadow)}
.ab-value-ic svg{width:26px;height:26px}
.ab-value-ic .ic-img{width:30px;height:30px;object-fit:contain}
.ab-value h3{font-size:18px;margin:0 0 6px}
.ab-value p{margin:0;color:var(--muted);line-height:1.7;font-size:15px}
.ab-time{list-style:none;margin:0 auto;padding:0;max-width:760px;position:relative}
.ab-time:before{content:"";position:absolute;left:46px;top:8px;bottom:8px;width:2px;background:linear-gradient(var(--ab-accent-ink),transparent)}
.ab-time li{display:flex;gap:22px;padding:0 0 26px;position:relative}
.ab-year{flex:none;width:94px;height:40px;border-radius:999px;display:grid;place-items:center;background:var(--ab-accent);color:var(--ab-on-accent);font-weight:800;position:relative;z-index:1;box-shadow:0 6px 16px var(--ab-shadow)}
.ab-time h3{margin:6px 0 4px;font-size:19px}
.ab-time p{margin:0;color:var(--muted);line-height:1.75}
.ab-owner{display:grid;grid-template-columns:260px 1fr;gap:36px;align-items:center;padding:34px;border-radius:30px;background:var(--ab-card-dark);color:#fff;border:1px solid var(--ab-line);box-shadow:0 20px 50px #00000026}
.ab-owner-pic{width:260px;height:300px;border-radius:24px;object-fit:cover;display:block;border:2px solid var(--ab-accent-light)}
.ab-owner-pic.ph{display:grid;place-items:center;background:#ffffff10}
.ab-owner-pic.ph svg{width:70px;height:70px;opacity:.5}
.ab-owner .kicker{color:var(--ab-accent-light)}
.ab-owner blockquote{margin:10px 0 18px;font-size:clamp(17px,2vw,21px);line-height:1.8;font-style:italic}
.ab-owner blockquote p{margin:0 0 8px}
.ab-owner blockquote:before{content:"“";display:block;font-size:64px;line-height:.6;color:var(--ab-accent-light);font-style:normal}
.ab-owner b{display:block;font-size:20px}
.ab-owner small{color:#ffffffa8}
.ab-gallery{display:grid;grid-template-columns:repeat(4,1fr);grid-auto-rows:200px;gap:12px}
.ab-gallery figure{position:relative;margin:0;border-radius:18px;overflow:hidden;background:var(--line)}
.ab-gallery figure:first-child{grid-column:span 2;grid-row:span 2}
.ab-gallery img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s}
.ab-gallery figure:hover img{transform:scale(1.05)}
.ab-gallery figcaption{position:absolute;left:0;right:0;bottom:0;padding:22px 14px 10px;color:#fff;font-size:13px;font-weight:600;background:linear-gradient(transparent,#000000b3)}
.ab-reviews{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px}
.ab-review{margin:0;padding:24px;border-radius:22px;background:var(--paper);border:1px solid var(--line);display:flex;flex-direction:column}
.ab-stars{color:#f5b301;letter-spacing:2px;font-size:15px}
.ab-review blockquote{margin:10px 0 16px;line-height:1.8;flex:1}
.ab-review blockquote p{margin:0 0 6px}
.ab-review figcaption{display:flex;align-items:center;gap:10px}
.ab-review figcaption img,.ab-av{width:42px;height:42px;border-radius:50%;object-fit:cover;flex:none}
.ab-av{display:grid;place-items:center;background:var(--ab-accent);color:var(--ab-on-accent);font-weight:700}
.ab-review figcaption b{display:block;font-size:15px}
.ab-review figcaption small{color:var(--muted);font-size:13px}
.ab-visit-sec{padding:56px 0 30px}
.ab-visit{display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;padding:32px 36px;border-radius:28px;background:var(--ab-card-dark);color:#fff;border:1px solid var(--ab-line)}
.ab-visit h2{margin:4px 0 10px;font-size:28px}
.ab-visit .kicker{color:var(--ab-accent-light)}
.ab-visit p{display:flex;gap:8px;align-items:flex-start;margin:4px 0;opacity:.85}
.ab-visit p svg{width:18px;height:18px;flex:none;margin-top:3px}
.ab-visit .btn.outline{color:#fff;border-color:#ffffff59}
@media (max-width:1023px){.ab-values{grid-template-columns:repeat(2,1fr)}.ab-gallery{grid-template-columns:repeat(3,1fr)}}
@media (max-width:767px){
  .ab-hero{padding:22px 0 46px}.ab-hero-in{grid-template-columns:1fr;gap:26px}
  .ab-mv{grid-template-columns:1fr}.ab-mv-card{padding:26px 22px}
  .ab-owner{grid-template-columns:1fr;padding:24px;text-align:center}.ab-owner-pic{width:180px;height:200px;margin:0 auto}
  .ab-gallery{grid-template-columns:repeat(2,1fr);grid-auto-rows:150px}
  .ab-stats-in div:nth-child(odd){border-left:0}.ab-stats-in{grid-template-columns:repeat(2,1fr)}.ab-stats-in div{border-top:1px solid var(--line)}
  .ab-time:before{left:36px}.ab-year{width:74px;font-size:14px}.ab-time li{gap:14px}
  .ab-visit{padding:26px 22px}.ab-sec{padding:44px 0 4px}
}
@media (max-width:479px){.ab-values{grid-template-columns:1fr}}

/* Order by Telegram: colour choice, quantity, buy button, toast */
.pick-color,.qty-row{margin:16px 0 4px}
.pick-color small,.qty-row small{display:block;font-size:13px;color:var(--muted);margin-bottom:8px}
.pick-color div{display:flex;flex-wrap:wrap;gap:8px}
.pick-color button{padding:8px 14px;border-radius:999px;border:1px solid var(--line2,#ddd);background:var(--paper,#fff);color:inherit;font:inherit;font-size:14px;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.pick-color button:hover{border-color:#e3121b}
.pick-color button.active{border:2px solid #e3121b;font-weight:700;box-shadow:0 0 0 3px #e3121b45;padding:7px 13px}
.qty{display:inline-flex;align-items:center;border:1px solid var(--line2,#ddd);border-radius:999px;overflow:hidden;background:var(--paper,#fff)}
.qty button{width:42px;height:40px;border:0;background:transparent;color:inherit;font-size:20px;cursor:pointer}
.qty button:hover{background:#00000008}
.qty b{min-width:36px;text-align:center;font-size:16px}
.buy-btn{font-size:16px;padding-left:22px;padding-right:22px;flex:1 1 auto;justify-content:center}
.buy-btn svg{width:20px;height:20px}
#buy-box{margin-top:16px}
.toast{position:fixed;left:50%;bottom:calc(96px + env(safe-area-inset-bottom));transform:translate(-50%,20px);max-width:min(460px,calc(100vw - 32px));padding:12px 18px;border-radius:14px;background:#111;color:#fff;font-size:14px;line-height:1.5;box-shadow:0 12px 30px #00000040;opacity:0;visibility:hidden;transition:opacity .25s,transform .25s,visibility .25s;z-index:90;text-align:center}
.toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)}
@media (min-width:900px){.toast{bottom:32px}}
.ab-hero .crumbs a,.ab-hero .crumbs span{color:inherit;opacity:.6}.ab-hero .crumbs em{color:inherit;opacity:.9}

/* Phone sidebar: all menu items fit on screen (language switch + call/Telegram take less room) */
@media (max-width:767px){
.drawer-head{padding:14px 18px}
.drawer-body{padding:10px 16px 4px}
.drawer .lang-switch{margin:2px 0 8px;padding:3px}
.drawer .lang-switch a{padding:6px 10px}
.drawer-nav{gap:0}
.drawer-nav a{padding:10px 14px;font-size:16px}
.drawer-foot{padding:10px 16px calc(12px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr 1fr;gap:8px}
.drawer-foot .btn{padding:11px 10px;font-size:14px;min-height:0;justify-content:center;white-space:nowrap}
.drawer-foot .btn svg{width:17px;height:17px}
.drawer-foot .btn:only-of-type{grid-column:1/-1}
.drawer-foot small{grid-column:1/-1;font-size:12px}
}
@media (max-width:767px) and (max-height:700px){.drawer-nav a{padding:8px 14px;font-size:15px}.drawer-head{padding:10px 16px}}

/* Logo: thin red rule between the JET BLACK wordmark and a smaller tagline */
.nav .logo,.drawer-head .logo,.ft .logo{display:inline-flex;align-items:stretch;width:max-content;gap:0}
.nav .logo .logo-text,.drawer-head .logo .logo-text,.ft .logo .logo-text{display:block}
.logo-text small.tagline{position:relative;display:block!important;margin-top:4px!important;padding:4px 0 0 1px!important;font-size:9px!important;line-height:1.3;letter-spacing:.04em;white-space:nowrap}
.logo-text small.tagline:before{content:"";position:absolute;left:0;right:0;top:0;height:1.5px;border-radius:2px;background:linear-gradient(90deg,#e3121b,#ff3b30 55%,#e3121b00);box-shadow:0 0 6px #e3121b99}
.logo-text small.tagline i{font-size:8px!important;margin-right:4px!important;vertical-align:1px}
.drawer-head .logo-text small.tagline,.ft .logo-text small.tagline{font-size:10px!important}
@media (max-width:639px){.logo-text small.tagline{font-size:8.5px!important}.logo-text small.tagline i{font-size:7.5px!important}}

/* Soft red edge instead of hard red lines: header → page, hero → content */
.nav{border-bottom:0!important;box-shadow:0 1px 0 #e3121b2e,0 8px 22px -10px #e3121b73!important}
.hero,.banner,.ph-hero,.news-hero,.ev-hero,.ab-hero{border-bottom:0!important;box-shadow:0 1px 0 #e3121b1f,0 14px 30px -18px #e3121b80;position:relative;z-index:1}
.crumb-bar{border-bottom:0;box-shadow:0 1px 0 #e3121b1f,0 10px 22px -16px #e3121b66;position:relative;z-index:1}

/* Repair: link to each repair's detail page + booking form */
.pt-name{font-weight:500;color:inherit;text-decoration:none;display:flex;flex-direction:column;gap:2px}
.pt-name small{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;color:#e3121b;opacity:.85}
.pt-name small svg{width:13px;height:13px}
.pt-name:hover{color:#e3121b}
.rep-media{display:grid;place-items:center;min-height:300px}
.rep-lead{margin:14px 0 4px;line-height:1.75;font-size:16px}
.rep-form{display:grid;gap:12px;margin:18px 0 4px}
.rep-form label{display:block}
.rep-form small{display:block;font-size:13px;color:var(--muted);margin-bottom:6px}
.rep-form input,.rep-form textarea{width:100%;box-sizing:border-box;padding:11px 14px;border-radius:12px;border:1px solid var(--line2,#ddd);background:var(--paper,#fff);color:inherit;font:inherit;font-size:15px;resize:vertical}
.rep-form input:focus,.rep-form textarea:focus{outline:0;border-color:#e3121b;box-shadow:0 0 0 3px #e3121b33}
.related .price-table{margin-top:4px}

/* ===== Trade-in & sell ===== */
.ph-trade{background:radial-gradient(600px 260px at 90% 0%,#e3121b40,transparent 60%),linear-gradient(120deg,#0c0c0c,#1a1a1d)}
.tr-calc{display:grid;grid-template-columns:1.35fr 1fr;gap:22px;align-items:start}
.tr-form{padding:24px;border-radius:24px;background:var(--paper);border:1px solid var(--line);box-shadow:0 10px 30px #0000000d}
.tr-step{display:flex;align-items:center;gap:10px;margin:22px 0 10px}
.tr-step:first-child{margin-top:0}
.tr-step h3{margin:0;font-size:17px}
.tr-step .pn{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#ff3b30,#e3121b 55%,#a80c13);color:#fff;font-weight:800;font-size:14px;flex:none}
.tr-brands,.tr-issues{display:flex;flex-wrap:wrap;gap:8px}
.tr-brand,.tr-issue,.tr-grade,.tr-mode button{font:inherit;color:inherit;cursor:pointer;background:var(--paper);border:1px solid var(--line2,#ddd);transition:border-color .2s,box-shadow .2s,background .2s}
.tr-brand{padding:8px 16px;border-radius:999px;font-weight:600}
.tr-brand.active,.tr-mode button.active{background:linear-gradient(145deg,#ff3b30,#e3121b 55%,#a80c13);color:#fff;border-color:transparent;box-shadow:0 6px 16px #e3121b30}
.tr-select{width:100%;margin-top:10px;padding:12px 14px;border-radius:12px;border:1px solid var(--line2,#ddd);background:var(--paper);color:inherit;font:inherit;font-size:15px}
.tr-select:focus{outline:0;border-color:#e3121b;box-shadow:0 0 0 3px #e3121b30}
.tr-grades{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.tr-grade{padding:12px;border-radius:14px;text-align:left;display:flex;flex-direction:column;gap:4px}
.tr-grade b{font-size:15px}
.tr-grade small{font-size:12px;color:var(--muted);line-height:1.5}
.tr-grade.active{border:2px solid #e3121b;padding:11px;box-shadow:0 0 0 3px #e3121b30}
.tr-issue{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;font-size:14px}
.tr-issue svg{width:15px;height:15px;opacity:.25}
.tr-issue.active{border-color:#e3121b;box-shadow:0 0 0 3px #e3121b30;font-weight:600}
.tr-issue.active svg{opacity:1;color:#e3121b}
.tr-mode{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.tr-mode button{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;border-radius:14px;font-weight:700}
.tr-mode button svg{width:18px;height:18px}
.tr-label{display:block;margin:14px 0 0;font-size:13px;color:var(--muted)}
.tr-sum{position:sticky;top:90px;padding:24px;border-radius:24px;background:linear-gradient(160deg,#18181b,#050506);color:#fff;box-shadow:0 18px 44px #00000033;border:1px solid #e3121b30}
.tr-sum .sk-line{display:block;margin:10px 0}
.tr-empty{display:flex;gap:10px;align-items:center;margin:0;opacity:.8;line-height:1.6}
.tr-empty svg{width:26px;height:26px;flex:none;color:#ff5a52}
.tr-line{display:flex;justify-content:space-between;gap:14px;padding:9px 0;border-bottom:1px dashed #ffffff26;font-size:14px}
.tr-line span{opacity:.7;flex:none}
.tr-line b{text-align:right}
.tr-line.minus b{color:#ff5a52}
.tr-value,.tr-total{margin:14px 0 4px;padding:14px 16px;border-radius:16px;background:#ffffff12;display:flex;justify-content:space-between;align-items:center;gap:10px}
.tr-value small,.tr-total small{opacity:.8}
.tr-value b,.tr-total b{font-size:28px;line-height:1.1;color:#ff5a52}
.tr-total.pay{background:#ffffff1a}
.tr-total.back b{color:#4ade80}
.tr-hint{margin:12px 0 0;font-size:13px;opacity:.75}
.tr-sum .m-actions{margin-top:16px}
.tr-sum .btn.outline{color:#fff;border-color:#ffffff59}
.tr-note{display:flex;gap:10px;align-items:flex-start;margin:16px 0 0;padding:14px 16px;border-radius:14px;background:var(--paper);border:1px dashed var(--line2,#ddd);font-size:14px;line-height:1.7;color:var(--muted)}
.tr-note svg{width:18px;height:18px;flex:none;margin-top:3px;color:#e3121b}
.tr-list-head{margin-top:40px}
.tr-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:16px;align-items:start}
.tr-list .pt-row b small{font-family:inherit;font-size:12px;font-weight:500;opacity:.7}
.tr-list .mini-ask{border:0;cursor:pointer;font:inherit}
@media (max-width:900px){.tr-calc{grid-template-columns:1fr}.tr-sum{position:static}}
@media (max-width:560px){.tr-grades{grid-template-columns:1fr}.tr-form,.tr-sum{padding:18px}.tr-list{grid-template-columns:1fr}}
@media (max-width:767px) and (max-height:700px){.drawer-nav a{padding:7px 14px}}

/* ===== Trade-in wizard ===== */
.tw{padding:24px;border-radius:26px;background:var(--paper);border:1px solid var(--line);box-shadow:0 12px 34px #0000000f;min-height:220px}
.tw-start{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.tw-start.two{grid-template-columns:1fr 1fr}
.tw-big{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:22px 20px 20px;min-height:150px;border-radius:22px;border:1px solid var(--line2,#ddd);background:var(--paper);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:transform .2s,box-shadow .2s,border-color .2s}
.tw-big:hover{transform:translateY(-3px);border-color:#e3121b;box-shadow:0 14px 30px #00000014,0 0 0 3px #e3121b30}
.tw-big.active{border:2px solid #e3121b}
.tw-big.sk{cursor:default}
.tw-ic{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(145deg,#ff3b30,#e3121b 55%,#a80c13);color:#fff;box-shadow:0 8px 18px #e3121b30;margin-bottom:6px}
.tw-ic svg{width:26px;height:26px}
.tw-big b{font-size:18px}
.tw-big small{color:var(--muted);line-height:1.6;font-size:14px;padding-right:30px}
.tw-big em{position:absolute;right:16px;bottom:16px;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#fdecec;color:#e3121b}
.tw-big em svg{width:16px;height:16px}
.tw-head{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.tw-head h2{margin:0;font-size:20px;flex:1}
.tw-back{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;border:1px solid var(--line2,#ddd);background:var(--paper);color:inherit;font:inherit;font-size:14px;cursor:pointer}
.tw-back svg{width:16px;height:16px}
.tw-count{font-weight:700;color:#e3121b;font-size:14px}
.tw-progress{display:flex;gap:6px;margin-bottom:14px}
.tw-progress i{flex:1;height:5px;border-radius:5px;background:var(--line)}
.tw-progress i.done{background:#e3121b;opacity:.55}
.tw-progress i.now{background:linear-gradient(145deg,#ff3b30,#e3121b 55%,#a80c13)}
.tw-done{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}
.tw-done button{display:inline-flex;align-items:center;gap:5px;padding:5px 11px;border-radius:999px;border:0;background:#fdecec;color:inherit;font:inherit;font-size:13px;cursor:pointer}
.tw-done button svg{width:13px;height:13px;color:#e3121b}
.tw-q{margin:12px 0 12px;font-size:19px}
.tw-sub{margin:-4px 0 12px;color:var(--muted);font-size:14px}
.tw-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:14px}
.tw-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px}
.tw-grid.three{grid-template-columns:repeat(3,1fr)}
.tw-grid.phones{grid-template-columns:repeat(auto-fill,minmax(250px,1fr))}
.tw-opt{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding:13px 14px;border-radius:14px;border:1px solid var(--line2,#ddd);background:var(--paper);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.tw-opt:hover{border-color:#e3121b}
.tw-opt.active{border:2px solid #e3121b;padding:12px 13px;box-shadow:0 0 0 3px #e3121b30}
.tw-opt b{font-size:15px}
.tw-opt small{font-size:13px;color:var(--muted);line-height:1.5}
.tw-opt.tall{padding:18px 16px;min-height:96px}
.tw-ph{flex-direction:row;align-items:center;gap:12px}
.tw-ph img,.tw-noimg{width:58px;height:58px;object-fit:contain;flex:none;border-radius:10px;background:#00000006}
.tw-noimg{display:grid;place-items:center}
.tw-ph span{display:flex;flex-direction:column;gap:2px;min-width:0}
.tw-ph em{font-style:normal;font-weight:800;color:#e3121b}
.tw-live{display:flex;justify-content:space-between;align-items:center;margin:18px 0 0;padding:14px 16px;border-radius:16px;background:#fdecec}
.tw-live b{font-size:24px;color:#e3121b}
.tw-actions{display:flex;justify-content:flex-end;margin-top:16px}
.tw-result{max-width:620px;margin:0 auto;padding:22px;border-radius:22px;background:linear-gradient(160deg,#18181b,#050506);color:#fff;box-shadow:0 18px 44px #00000033}
.tw-result .m-actions{margin-top:16px}
.tw-result .btn.outline{color:#fff;border-color:#ffffff59}
.tw-note{display:flex;gap:8px;align-items:flex-start;margin:14px 0 0;font-size:13px;line-height:1.7;opacity:.75}
.tw-note svg{width:16px;height:16px;flex:none;margin-top:3px}
.tw-restart{display:inline-flex;align-items:center;gap:6px;margin-top:12px;padding:8px 14px;border-radius:999px;border:1px solid #ffffff40;background:transparent;color:#fff;font:inherit;font-size:14px;cursor:pointer}
.tw-restart svg{width:15px;height:15px}
.tw-list{margin-top:4px}
.tw-list .pt-row{grid-template-columns:1fr auto}
.tw-upto{display:block;font-size:13px;color:var(--muted);margin-top:2px}
.tw-upto b{font-size:15px;color:#e3121b;font-family:inherit}
.tw-row-btns{display:flex;gap:6px}
.tw-row-btns .mini-ask{border:0;cursor:pointer;font:inherit}
@media (max-width:767px){
  .tw{padding:16px;border-radius:20px}
  .tw-start{grid-template-columns:1fr;gap:10px}.tw-start.two{grid-template-columns:1fr 1fr}
  .tw-big{min-height:0;padding:16px 16px 16px 82px;justify-content:center}
  .tw-big .tw-ic{position:absolute;left:16px;top:50%;transform:translateY(-50%);margin:0}
  .tw-start.two .tw-big{padding:16px;align-items:center;text-align:center}.tw-start.two .tw-ic{position:static;transform:none}.tw-start.two .tw-big small{padding:0}.tw-start.two .tw-big em{display:none}
  .tw-grid{grid-template-columns:1fr 1fr}.tw-grid.three,.tw-grid.phones{grid-template-columns:1fr}
  .tw-head h2{font-size:17px}
  .tw-result{padding:18px}
}

/* Sidebar: opening hours sit under the menu (the fixed bottom only keeps call + Telegram) */
.drawer-hours{display:flex;align-items:center;gap:8px;margin:6px 4px 4px;padding:10px 12px;border-radius:12px;background:#00000008;color:var(--muted);font-size:13px;line-height:1.5}
.drawer-hours svg{width:16px;height:16px;flex:none}
@media (max-width:767px){.drawer-foot{padding-bottom:calc(10px + env(safe-area-inset-bottom))}}
@media (max-width:767px) and (max-height:760px){.drawer-nav a{padding:8px 14px}}

/* Floating bottom bar on iPad and computer too (centred pill) */
@media (min-width:640px){
  body{padding-bottom:104px}
  .bottombar{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;z-index:40;left:50%;right:auto;transform:translateX(-50%);bottom:calc(18px + env(safe-area-inset-bottom));
    width:min(520px,calc(100vw - 48px));padding:8px 8px;border-radius:999px;background:#0c0c0cf2;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
    border:1px solid #e3121b88;box-shadow:0 14px 36px #0000005c,0 0 22px #e3121b40}
  .bottombar a{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 0;border-radius:999px;font-size:12px;color:#90949b;transition:color .2s,background .2s}
  .bottombar a svg{width:22px;height:22px}
  .bottombar a:hover{color:#ffffff;background:#ffffff0d}
  .bottombar a.active{color:var(--gold-1)}
  .bottombar a.active svg{filter:drop-shadow(0 0 8px #f0192099)}
  .bottombar a.active span{font-weight:700}
  .toast{bottom:calc(110px + env(safe-area-inset-bottom))}
}
@media (min-width:1024px){.bottombar{width:540px}.bottombar a{font-size:12.5px}}

/* Floating bar on iPad / computer: a bit smaller (phones unchanged) */
@media (min-width:640px){
  body{padding-bottom:88px}
  .bottombar,.bottombar{width:min(420px,calc(100vw - 48px));padding:5px 6px;bottom:calc(14px + env(safe-area-inset-bottom))}
  .bottombar a{padding:4px 0;gap:2px;font-size:11px}
  .bottombar a svg{width:19px;height:19px}
  .toast{bottom:calc(90px + env(safe-area-inset-bottom))}
}
@media (min-width:1024px){.bottombar{width:440px}.bottombar a{font-size:11.5px}}

/* Contact page: compact shop card (no repeated name), contact details first on phones */
.contact-grid{align-items:start}
.about-card{padding:28px 30px}
.about-card .logo-mark.big{display:block;margin-bottom:14px}
.about-card p{margin:0 0 16px;line-height:1.75}
.about-card .more{display:inline-flex;align-items:center;gap:6px;margin:0 0 18px;padding:9px 16px;border-radius:999px;font-size:14px}
.about-card .checks{margin:0;padding-top:16px;border-top:1px solid #ffffff1a}
.about-card .checks li{margin:0 0 8px}
.about-card::after{font-size:180px;bottom:-50px}
@media (max-width:767px){
  .contact-grid .info-list{order:-1}
  .about-card{padding:20px 18px}
  .about-card .logo-mark.big{height:44px!important;margin-bottom:10px}
  .about-card p{font-size:14px;margin-bottom:12px}
  .about-card .more{margin-bottom:14px;font-size:13px;padding:8px 14px}
  .about-card .checks{padding-top:12px}
  .about-card .checks li{font-size:14px;margin-bottom:6px}
}

/* ===== Smooth hover on every browser (Safari especially) =====
   Only cheap properties animate (transform/opacity/colours); shadows and filters switch instantly,
   lifted cards get their own GPU layer, no background blur, no endlessly pulsing shadows. */
.btn,.cat,.card,.svc-card,.spot,.u-row,.hub-card,.bento-tile,.issue,.ft-social a,.acc-card,.mini-ask,.u-go,.icon-btn,.burger,.picker-close,.promo,.post,.ev-card,
.price-choice,.ab-value,.tw-big,.tw-opt,.tr-issue,.tr-brand,.more,.link,.rep-tab,.plan,.u-switch button,.pick-color button,.bottombar a,.drawer-nav a,.tab,.chip,.u-chip,
.qty button,.tw-back,.tw-done button,.price-choice,.pt-name,.lang-switch a{
  transition-property:transform,opacity,background-color,border-color,color!important;transition-duration:.22s!important;transition-timing-function:cubic-bezier(.2,.7,.3,1)!important}
@media (hover:hover){
  .cat,.card,.svc-card,.spot,.hub-card,.bento-tile,.issue,.acc-card,.promo,.post,.ev-card,.price-choice,.ab-value,.tw-big,.u-row{will-change:transform;backface-visibility:hidden;-webkit-backface-visibility:hidden}
  .card .pic img,.post .post-pic img,.ev-pic>img,.ab-gallery img{will-change:transform}
}
.bottombar,.btn.glass,.brandbar,body.scrolled .nav .icon-btn,body.scrolled .nav .burger{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.drawer-overlay{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:#0b0b0bd9!important}
dialog::backdrop,dialog.picker::backdrop{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.hero-cta .btn.gold,.ft-cta .btn.gold,.ev-play{animation:none!important}
.logo-text small.tagline i{animation-name:starFade!important}
@keyframes starFade{0%,100%{opacity:1}50%{opacity:.55}}
.hero-cats .cat::after{transition:transform .6s ease!important;will-change:transform}
.hero-cats .cat:hover::after{left:-40%!important;transform:rotate(25deg) translateX(330%)}
@media (prefers-reduced-motion:reduce){*{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* Logo: always a clickable link (hand cursor, no text selection) with a little hover / press feedback */
.logo,.logo *{cursor:pointer!important;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}
.logo{-webkit-tap-highlight-color:transparent;transition:opacity .2s,transform .2s cubic-bezier(.2,.7,.3,1)}
.logo img{pointer-events:none}
@media (hover:hover){.logo:hover{opacity:.88}}
.logo:active{transform:scale(.97)}

/* ===== Home slider (next to the cards; between popular phones and accessories on phones) ===== */
.hs-host{cursor:pointer}
.hs{position:relative;height:100%}
.hs-stage{position:absolute;inset:0}
.hs-slide{position:absolute;inset:0;display:block;color:inherit;text-decoration:none;opacity:0;transform:translateX(26px) scale(.98);pointer-events:none;
  transition:opacity .6s ease,transform .7s cubic-bezier(.2,.7,.3,1);will-change:opacity,transform}
.hs-slide.active{opacity:1;transform:none;pointer-events:auto}
.hs-art{position:absolute;inset:0}
.hs-art>img{position:absolute;left:50%;top:50%;width:min(400px,90%);height:92%;object-fit:contain;transform:translate(-42%,-50%);filter:drop-shadow(0 28px 34px #00000059)}
.hs-slide .float{max-width:260px;z-index:2;opacity:0;transition:opacity .45s ease .25s}
.hs-slide.active .float{opacity:1}
.hs-slide .float b{line-height:1.35}
.hs-dots{position:absolute;left:50%;bottom:-4px;transform:translateX(-50%);display:flex;gap:8px;z-index:3}
.hs-dots button{width:9px;height:9px;padding:0;border:0;border-radius:99px;background:#00000026;cursor:pointer;transition:width .3s,background-color .3s}
.hs-dots button.active{width:26px;background:#e3121b}
.hs-mobile{display:none}
@media (max-width:820px){
  .hs-mobile{display:block;padding:6px 0 26px}
  .hs-mobile .hs{height:330px;border-radius:26px;overflow:hidden;background:radial-gradient(420px 240px at 70% 30%,#e3121b40,transparent 65%),linear-gradient(160deg,#18181b,#050506);border:1px solid #e3121b55;box-shadow:0 14px 34px #00000026}
  .hs-mobile .hs-art>img{width:62%;height:78%;top:47%;transform:translate(-50%,-50%)}
  .hs-mobile .device.front{transform:translateX(-50%) rotate(4deg) scale(.72);top:-30px}
  .hs-mobile .device.back{transform:translateX(-112%) rotate(-8deg) scale(.66);top:-24px}
  .hs-mobile .float{max-width:62%;padding:8px 12px 8px 8px;border-radius:14px;animation:none}
  .hs-mobile .float svg{width:32px;height:32px;padding:7px}
  .hs-mobile .float b{font-size:13px}.hs-mobile .float small{font-size:11px}
  .hs-mobile .f1{left:12px;top:14px}
  .hs-mobile .f2{right:12px;left:auto;bottom:34px}
  .hs-mobile .hs-dots{bottom:12px}
  .hs-mobile .hs-dots button{background:#ffffff40}
  .hs-mobile .hs-dots button.active{background:#e3121b}
}

/* Sidebar edge: soft red shadow instead of a hard red line (same as the header) */
.drawer{border-right:0!important;box-shadow:1px 0 0 #e3121b2e,12px 0 34px -10px #e3121b80!important}

/* Sidebar blocks blend: soft red shadow under the head (like the site header), faint red glow above the foot, no hard lines */
.drawer-head{position:relative;z-index:2;border-bottom:0!important;box-shadow:0 1px 0 #e3121b2e,0 8px 22px -10px #e3121b73}
.drawer-foot{position:relative;z-index:2;border-top:0!important;box-shadow:0 -1px 0 #e3121b1a,0 -10px 24px -14px #e3121b59}

/* Sidebar head: same solid black as the site header */
.drawer-head{background:#000!important}

/* Phone slider: text on the left, product on the right (no boxes over the photo) */
.hs-more{display:none}
@media (max-width:820px){
  .hs-mobile .hs{height:236px}
  .hs-mobile .hs-art{left:auto;right:0;width:46%}
  .hs-mobile .hs-art:before{content:"";position:absolute;left:50%;top:50%;width:150px;height:150px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#e3121b66,transparent 70%)}
  .hs-mobile .hs-art>img{left:50%;top:50%;width:92%;height:84%;transform:translate(-50%,-50%);filter:drop-shadow(0 16px 20px #00000080)}
  .hs-mobile .device.front{left:58%;top:-46px;transform:translateX(-50%) rotate(4deg) scale(.5)}
  .hs-mobile .device.back{left:58%;top:-40px;transform:translateX(-118%) rotate(-8deg) scale(.46)}
  .hs-mobile .float{position:absolute;max-width:none;background:none!important;box-shadow:none!important;border:0;padding:0;border-radius:0;animation:none!important}
  .hs-mobile .float>svg{display:none}
  .hs-mobile .f1{left:18px;right:46%;top:26px;bottom:auto}
  .hs-mobile .f1 b{display:block;font-size:18px;line-height:1.3;color:#fff;font-weight:800}
  .hs-mobile .f1 small{display:block;margin-top:6px;font-size:12.5px;line-height:1.5;color:#ffffffa6}
  .hs-mobile .f2{left:18px;right:auto;top:auto;bottom:62px}
  .hs-mobile .f2>span{flex-direction:row;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;background:linear-gradient(145deg,#ff3b30,#e3121b 55%,#a80c13);color:#fff}
  .hs-mobile .f2 b{font-size:11.5px;color:#fff;white-space:nowrap}
  .hs-mobile .f2 small{display:none}
  .hs-mobile .hs-more{display:inline-flex;align-items:center;gap:5px;position:absolute;left:18px;bottom:22px;font-size:12.5px;font-weight:700;color:#ff6b63;z-index:2;opacity:0;transition:opacity .45s ease .3s}
  .hs-mobile .hs-more svg{width:14px;height:14px}
  .hs-mobile .hs-slide.active .hs-more{opacity:1}
  .hs-mobile .hs-dots{left:auto;right:18px;transform:none;bottom:24px}
}
@media (max-width:380px){.hs-mobile .f1 b{font-size:16px}.hs-mobile .hs{height:226px}}

/* Wide-screen slider: product on the right, both labels stacked in the free space on the left,
   so they never cover the camera or screen, whatever the text length */
@media (min-width:821px){
  .hero-visual .hs-art>img{left:auto;right:0;top:50%;width:min(330px,62%);height:90%;transform:translateY(-50%)}
  .hero-visual .hs-art .device.front{left:66%}
  .hero-visual .hs-art .device.back{left:66%}
  .hero-visual .hs-slide .float{width:max-content;max-width:min(230px,40%);padding:10px 14px 10px 10px}
  .hero-visual .hs-slide .float b{font-size:13.5px}
  .hero-visual .hs-slide .float small{font-size:11.5px}
  .hero-visual .hs-slide .f1{left:0;right:auto;top:auto;bottom:calc(50% + 6px)}
  .hero-visual .hs-slide .f2{left:0;right:auto;top:calc(50% + 6px);bottom:auto}
}
@media (min-width:821px) and (max-width:1023px){.hero-visual .hs-slide .float{max-width:min(200px,44%)}}

/* Loading skeletons: clearly visible grey with a bright sweep (they were white on white) */
.sk{background:#e2e5e9!important}
.sk::after{background:linear-gradient(90deg,transparent,#ffffffe0,transparent)!important;animation-duration:1.15s!important}
.ev-card .sk,.ev-card.sk,.ph-hero .sk,.banner .sk,.news-hero .sk,.ev-hero .sk,.nb-hero .sk,.stat .sk,.u-switch button.active .sk,
.ab-mv-card.dark .sk,.tr-sum .sk,.tw-result .sk,.ft .sk,.ub-hero .u-switch .active .sk{background:#ffffff1f!important}
.ev-card .sk::after,.ev-card.sk::after,.ph-hero .sk::after,.banner .sk::after,.news-hero .sk::after,.ev-hero .sk::after,.stat .sk::after,.u-switch button.active .sk::after,.tr-sum .sk::after{background:linear-gradient(90deg,transparent,#ffffff2e,transparent)!important}

/* ===== New phones: every brand visible, every phone visible ===== */
.bp-wrap{position:relative;flex:1;min-width:0}
.brand-pills{flex-wrap:wrap;overflow:visible}
.bmono{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:linear-gradient(145deg,#ff3b30,#e3121b 55%,#a80c13);color:#fff;font-style:normal;font-weight:800;font-size:12px;flex:none}
.bpill{padding:6px 8px 6px 6px}
.bpill.active{border-color:#e3121b;box-shadow:0 0 0 3px #e3121b30}
.bp-arrow{display:none}
.brand-sec{margin:22px 0 0;padding:22px;border:1px solid var(--line);border-radius:24px;background:var(--paper);box-shadow:0 10px 30px #0000000a;scroll-margin-top:150px}
.brand-sec:last-child{border-bottom:1px solid var(--line)}
.brand-head{display:flex;align-items:center;gap:14px;margin-bottom:18px;flex-direction:row}
.brand-head>div{display:flex;flex-direction:column;gap:2px}
.brand-head h2{margin:0;font-size:clamp(24px,3vw,32px);line-height:1.1}
.bmono.big{width:52px;height:52px;font-size:22px;box-shadow:0 8px 18px #e3121b30}
.brand-body{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
.brand-body.solo{grid-template-columns:minmax(0,560px)}
.b-quad{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.b-quad.n1{grid-template-columns:1fr}
.b-more{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:14px}
.b-quad .card .pic,.b-more .card .pic{min-height:0}
@media (max-width:1023px){.b-more{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:767px){
  .brand-pills{flex-wrap:nowrap;overflow-x:auto;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;padding:2px 2px 4px}
  .bp-wrap.more-r .brand-pills{-webkit-mask-image:linear-gradient(90deg,#000 78%,transparent);mask-image:linear-gradient(90deg,#000 78%,transparent)}
  .bp-wrap.more-l.more-r .brand-pills{-webkit-mask-image:linear-gradient(90deg,transparent,#000 14%,#000 78%,transparent);mask-image:linear-gradient(90deg,transparent,#000 14%,#000 78%,transparent)}
  .bp-wrap.more-l:not(.more-r) .brand-pills{-webkit-mask-image:linear-gradient(90deg,transparent,#000 14%);mask-image:linear-gradient(90deg,transparent,#000 14%)}
  .bp-arrow{position:absolute;top:50%;transform:translateY(-50%);width:30px;height:30px;border-radius:50%;border:0;display:none;place-items:center;background:linear-gradient(145deg,#ff3b30,#e3121b 55%,#a80c13);color:#fff;box-shadow:0 4px 12px #00000033;z-index:2;cursor:pointer}
  .bp-arrow svg{width:15px;height:15px}
  .bp-arrow.next{right:-4px}.bp-arrow.prev{left:-4px}
  .bp-wrap.more-r .bp-arrow.next,.bp-wrap.more-l .bp-arrow.prev{display:grid}
  .brand-sec{padding:16px;border-radius:20px;margin-top:16px}
  .bmono.big{width:44px;height:44px;font-size:19px}
  .brand-body{grid-template-columns:1fr}
  .b-quad,.b-quad.n1,.b-more{grid-template-columns:1fr 1fr;gap:10px}
  .b-more{margin-top:10px}
}
.brand-head{justify-content:flex-start!important;align-items:center!important}
.nb-search{display:flex;width:min(380px,100%);margin-top:16px}
.brand-body>.spot{grid-template-columns:1fr;grid-template-rows:minmax(220px,1fr) auto;height:100%}
.brand-body>.spot .spot-pic{min-height:220px;height:100%}
.brand-body>.spot .spot-pic img{max-height:300px;width:auto;max-width:80%;object-fit:contain}
.brand-body>.spot .spot-info{padding:18px 20px 20px}
.brand-body.solo>.spot{grid-template-columns:1fr 1fr;grid-template-rows:none}
@media (max-width:767px){.nb-search{width:100%}.brand-body>.spot{grid-template-columns:1fr 1.1fr;grid-template-rows:none}.brand-body>.spot .spot-pic{min-height:180px}}
@media (min-width:768px){
  .brand-pills{gap:6px}
  .bpill{padding:4px 6px 4px 4px;gap:6px;font-size:13px}
  .bpill .bmono{width:20px;height:20px;font-size:11px}
  .bpill em{min-width:20px;height:20px;font-size:11px;padding:0 5px}
  .brandbar-in{padding-top:9px;padding-bottom:9px}
}

/* ===== New phones v2: one-line brand bar with arrows, one brand at a time ===== */
.brand-pills{flex-wrap:nowrap!important;overflow-x:auto!important;scroll-behavior:smooth;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:3px 2px 5px}
.brand-pills::-webkit-scrollbar{display:none}
.bpill{border:1px solid var(--line2,#ddd);cursor:pointer;font:inherit;font-weight:600;color:inherit;flex:none;background:var(--paper)}
.bpill .bmono svg{width:12px;height:12px}
.bpill.active{background:linear-gradient(145deg,#ff3b30,#e3121b 55%,#a80c13);color:#fff;border-color:transparent;box-shadow:0 6px 16px #e3121b30}
.bpill.active .bmono{background:#ffffff33;color:#fff}
.bpill.active em{background:#ffffff33!important;color:#fff!important;box-shadow:none!important}
.bp-wrap{padding:0 2px}
.bp-wrap.more-r .brand-pills{-webkit-mask-image:linear-gradient(90deg,#000 88%,transparent);mask-image:linear-gradient(90deg,#000 88%,transparent)}
.bp-wrap.more-l .brand-pills{-webkit-mask-image:linear-gradient(90deg,transparent,#000 9%);mask-image:linear-gradient(90deg,transparent,#000 9%)}
.bp-wrap.more-l.more-r .brand-pills{-webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 88%,transparent);mask-image:linear-gradient(90deg,transparent,#000 9%,#000 88%,transparent)}
.bp-arrow{position:absolute;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;border:0;display:none;place-items:center;background:linear-gradient(145deg,#ff3b30,#e3121b 55%,#a80c13);color:#fff;box-shadow:0 4px 12px #00000033;z-index:2;cursor:pointer}
.bp-arrow svg{width:15px;height:15px}
.bp-arrow.next{right:-6px}.bp-arrow.prev{left:-6px}
.bp-wrap.more-r .bp-arrow.next,.bp-wrap.more-l .bp-arrow.prev{display:grid}
.nb-sec{margin:22px 0 0;padding:20px;border:1px solid var(--line);border-radius:22px;background:var(--paper);box-shadow:0 10px 28px #0000000a}
.nb-sec .grid{margin:0}
.nb-bhead{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.nb-bhead>div{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}
.nb-bhead h2{margin:0;font-size:clamp(20px,2.4vw,26px);line-height:1.15}
.nb-bhead span{color:var(--muted);font-size:14px}
.nb-bhead .bmono.big{width:46px;height:46px;font-size:20px}
.nb-bhead.big .bmono.big{width:56px;height:56px;font-size:24px}
.nb-bhead.big h2{font-size:clamp(26px,3.2vw,34px)}
.nb-all{flex:none}
.nb-sortbox{flex:none;margin-left:auto}
.nb-bar{display:flex;align-items:center;gap:12px;margin:24px 0 14px}
.nb-title{margin:0;font-size:22px;flex:1}
.nb-title small{font-size:14px;color:var(--muted);font-weight:500}
.nb-more{display:flex;justify-content:center;margin:20px 0 4px}
.nb-more .btn{gap:8px;padding:12px 26px}
.nb-more em{font-style:normal;font-size:12px;padding:2px 8px;border-radius:99px;background:#f3f4f5;color:#e3121b}
.nb-list{padding-bottom:20px}
@media (max-width:767px){
  .nb-sec{padding:14px;border-radius:18px;margin-top:14px}
  .nb-bhead{flex-wrap:wrap;gap:10px}
  .nb-bhead .bmono.big,.nb-bhead.big .bmono.big{width:40px;height:40px;font-size:17px}
  .nb-all{padding:7px 12px;font-size:13px}
  .nb-sortbox{width:100%;margin:0}
  .bp-arrow{width:28px;height:28px}
}
.nb-all{flex:none;gap:6px}
.nb-all em{font-style:normal;font-size:12px;padding:1px 7px;border-radius:99px;background:#ffffff38}
.nb-foot{display:flex;justify-content:center;margin-top:16px}
.nb-all-big{width:100%;max-width:520px;justify-content:center;gap:8px;padding:13px 20px;border:2px solid #e3121b!important;color:#e3121b!important;font-weight:700;background:var(--paper)}
.nb-all-big:hover{background:#fdecec}
.nb-all-big em{font-style:normal;font-size:12px;font-weight:600;padding:2px 9px;border-radius:99px;background:#fdecec}
@media (max-width:767px){.nb-all{padding:7px 12px;font-size:13px}.nb-all-big{max-width:none}}

/* Brand block: 1 big featured + 8 phones (9 total) */
.nb-mosaic{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.nb-mosaic>.nb-spot{grid-column:span 2;grid-row:span 2;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto;height:100%}
.nb-spot .spot-pic{min-height:0;height:100%;padding:16px}
.nb-spot .spot-pic img{max-height:340px;width:auto;max-width:78%;object-fit:contain}
.nb-spot .spot-info{padding:18px 22px 22px}
.nb-spot .spot-info h3{font-size:24px}
@media (max-width:1023px){.nb-mosaic{grid-template-columns:repeat(3,minmax(0,1fr))}.nb-mosaic>.nb-spot{grid-column:span 3;grid-row:auto;grid-template-columns:1fr 1fr;grid-template-rows:none}}
@media (max-width:767px){.nb-mosaic{grid-template-columns:1fr 1fr;gap:10px}.nb-mosaic>.nb-spot{grid-column:span 2}.nb-spot .spot-pic img{width:86%;max-width:none;height:auto;max-height:220px}.nb-spot .spot-info{padding:14px}.nb-spot .spot-info h3{font-size:18px}}

/* Brand blocks: black header band with red light, light area for phones — each brand is its own zone */
.nb-sec{padding:0;overflow:hidden;border:1px solid #e3121b30;border-radius:24px;background:linear-gradient(180deg,#fbfbfc,#f4f5f7);
  box-shadow:0 18px 40px -18px #0000002e,0 0 0 1px #00000004}
.nb-sec .nb-bhead{position:relative;margin:0;padding:20px 24px;color:#fff;overflow:hidden;isolation:isolate;
  background:radial-gradient(460px 180px at 88% -10%,#e3121b6b,transparent 70%),radial-gradient(300px 140px at 0% 120%,#e3121b26,transparent 70%),linear-gradient(120deg,#060607,#17171a 60%,#0d0d0f);
  box-shadow:0 1px 0 #e3121b59,0 14px 26px -16px #e3121b8c}
.nb-sec .nb-bhead::before{content:attr(data-b);position:absolute;right:120px;top:50%;transform:translateY(-50%);z-index:-1;font-size:86px;font-weight:900;letter-spacing:-.02em;line-height:1;
  color:transparent;-webkit-text-stroke:1px #ffffff14;white-space:nowrap;pointer-events:none}
.nb-sec .nb-bhead::after{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#ff3b30,#a80c13);box-shadow:0 0 14px #e3121b}
.nb-sec .nb-bhead h2{color:#fff}
.nb-sec .nb-bhead span{color:#ffffffad}
.nb-sec .nb-bhead span b{color:#ff6b63;text-shadow:0 0 12px #e3121b80}
.nb-sec .nb-bhead .bmono.big{box-shadow:0 0 0 4px #e3121b26,0 0 22px #e3121bb3}
.nb-sec .nb-bhead .nb-sortbox{color:#ffffffc7}
.nb-sec .nb-bhead .nb-sortbox select{background:#ffffff14;color:#fff;border-color:#ffffff2e}
.nb-sec .nb-bhead .nb-sortbox select option{color:#111}
.nb-sec>.nb-mosaic,.nb-sec>.grid{padding:20px 22px 0}
.nb-sec>.nb-foot,.nb-sec>.nb-more{padding:0 22px 22px;margin-top:18px}
.nb-sec.one>.grid{padding-bottom:22px}
.nb-sec.one>.nb-more{margin-top:0}
.nb-sec + .nb-sec{margin-top:28px}
@media (max-width:767px){
  .nb-sec{border-radius:20px}
  .nb-sec .nb-bhead{padding:16px 16px 16px 18px}
  .nb-sec .nb-bhead::before{font-size:54px;right:16px;top:auto;bottom:-6px;transform:none}
  .nb-sec>.nb-mosaic,.nb-sec>.grid{padding:14px 12px 0}
  .nb-sec>.nb-foot,.nb-sec>.nb-more{padding:0 12px 14px;margin-top:14px}
  .nb-sec.one>.grid{padding-bottom:14px}
}
.nb-sec .nb-bhead .bmono{width:44px;height:44px;font-size:19px;box-shadow:0 0 0 4px #e3121b26,0 0 22px #e3121bb3}@media (max-width:767px){.nb-sec .nb-bhead .bmono{width:38px;height:38px;font-size:16px}}
@media (min-width:1024px){.nb-mosaic.few>.nb-spot{grid-row:auto;grid-template-columns:1fr 1fr;grid-template-rows:none}.nb-mosaic.few>.nb-spot .spot-pic{min-height:260px}}

/* New phones hero: title on the left, search on the far right at the title's height */
.nb-hero .nb-in{align-items:flex-end}
.nb-hero .nb-search{flex:none;width:min(380px,40%);margin:0 0 10px}
@media (max-width:767px){.nb-hero .nb-in{flex-direction:column;align-items:stretch;gap:12px}.nb-hero .nb-search{width:100%;margin:0}}

/* ===== Installment calculator ===== */
.ic{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:22px;align-items:start}
.ic-form{padding:24px;border-radius:24px;background:var(--paper);border:1px solid var(--line);box-shadow:0 12px 32px #0000000d}
.ic-step{display:flex;align-items:center;gap:10px;margin:24px 0 12px}
.ic-step:first-child{margin-top:0}
.ic-step h3{margin:0;font-size:17px;flex:1}
.ic-step .pn{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(145deg,#ff3b30,#e3121b 55%,#a80c13);color:#fff;font-weight:800;font-size:14px;flex:none}
.ic-down-val{font-size:15px;color:var(--muted)}
.ic-down-val b{font-size:20px;color:#e3121b}
.ic-picked{display:flex;align-items:center;gap:14px;padding:12px;border-radius:18px;border:1px solid var(--line2,#ddd);background:var(--paper)}
.ic-picked img,.ic-picked .ph{width:72px;height:72px;object-fit:contain;flex:none;border-radius:14px;background:#00000006}
.ic-picked>div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.ic-picked b{font-size:17px}
.ic-picked small{color:var(--muted);font-size:13px}
.ic-picked em{font-style:normal;font-weight:800;font-size:18px;color:#e3121b}
.ic-picked .btn{flex:none}
.ic-picker{margin-top:10px;padding:12px;border-radius:18px;border:1px solid var(--line);background:#00000004}
.ic-ptop{display:flex;gap:10px;align-items:center;margin-bottom:10px;flex-wrap:wrap}
.ic-ptop .search{flex:1;min-width:180px}
.ic-tabs{display:inline-flex;padding:3px;border-radius:999px;background:var(--line)}
.ic-tabs button{padding:7px 14px;border:0;border-radius:999px;background:transparent;font:inherit;font-size:13px;font-weight:600;color:inherit;cursor:pointer}
.ic-tabs button.active{background:linear-gradient(145deg,#ff3b30,#e3121b 55%,#a80c13);color:#fff}
.ic-list{max-height:300px;overflow:auto;display:grid;gap:6px;padding-right:4px}
.ic-row{display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:12px;border:1px solid transparent;background:var(--paper);font:inherit;color:inherit;text-align:left;cursor:pointer}
.ic-row:hover{border-color:var(--line2,#ddd)}
.ic-row.active{border-color:#e3121b;box-shadow:0 0 0 2px #e3121b30}
.ic-row img,.ic-row .ph{width:44px;height:44px;object-fit:contain;flex:none}
.ic-row span{flex:1;min-width:0;display:flex;flex-direction:column}
.ic-row b{font-size:14px}.ic-row small{font-size:12px;color:var(--muted)}
.ic-row em{font-style:normal;font-weight:700;color:#e3121b}
.ic-none{margin:10px;color:var(--muted)}
.ic-terms{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.ic-term{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:14px 12px;border-radius:16px;border:1px solid var(--line2,#ddd);background:var(--paper);font:inherit;color:inherit;text-align:left;cursor:pointer;min-height:96px}
.ic-term.sk{border:0}
.ic-term b{font-size:18px}
.ic-term small{font-size:12px;color:var(--muted)}
.ic-term span{margin-top:auto;font-weight:800;font-size:16px;color:#e3121b}
.ic-term span i{font-style:normal;font-weight:500;font-size:12px;color:var(--muted)}
.ic-term em{position:absolute;top:-9px;right:10px;font-style:normal;font-size:11px;font-weight:700;padding:2px 9px;border-radius:99px;background:linear-gradient(145deg,#ff3b30,#e3121b 55%,#a80c13);color:#fff}
.ic-term.active{border:2px solid #e3121b;padding:13px 11px;box-shadow:0 0 0 3px #e3121b30}
.ic-range{-webkit-appearance:none;appearance:none;width:100%;height:8px;border-radius:99px;background:linear-gradient(90deg,#e3121b var(--p,0%),var(--line) var(--p,0%));outline:0;margin:6px 0 4px}
.ic-range::-webkit-slider-thumb{-webkit-appearance:none;width:26px;height:26px;border-radius:50%;background:#fff;border:3px solid #e3121b;box-shadow:0 3px 10px #00000033;cursor:pointer}
.ic-range::-moz-range-thumb{width:22px;height:22px;border-radius:50%;background:#fff;border:3px solid #e3121b;cursor:pointer}
.ic-under{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px;flex-wrap:wrap}
.ic-under small{color:var(--muted)}
.ic-quick{display:flex;gap:6px}
.ic-quick button{padding:6px 12px;border-radius:999px;border:1px solid var(--line2,#ddd);background:var(--paper);font:inherit;font-size:13px;font-weight:600;color:inherit;cursor:pointer}
.ic-quick button.active{background:linear-gradient(145deg,#ff3b30,#e3121b 55%,#a80c13);color:#fff;border-color:transparent}
.ic-res{position:sticky;top:90px;padding:24px;border-radius:24px;background:radial-gradient(420px 220px at 90% 0%,#e3121b40,transparent 65%),linear-gradient(160deg,#18181b,#050506);color:#fff;box-shadow:0 20px 46px #00000038;border:1px solid #e3121b30}
.ic-res .sk-line{display:block;margin:10px 0}
.ic-rk{opacity:.75}
.ic-big{font-size:clamp(38px,5vw,52px);font-weight:800;line-height:1.1;margin:4px 0 16px;color:#ff6b63}
.ic-big span{font-size:16px;font-weight:600;color:#ffffffb3;margin-left:8px}
.ic-bar{display:flex;height:10px;border-radius:99px;overflow:hidden;background:#ffffff1a;margin-bottom:14px}
.ic-bar i{display:block;height:100%}
.ic-bar .bd,.dot.bd{background:#ffffff}.ic-bar .bf,.dot.bf{background:#e3121b}.ic-bar .br,.dot.br{background:#ffffff59}
.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:7px;vertical-align:1px}
.ic-lines div{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px dashed #ffffff26;font-size:14px}
.ic-lines span{opacity:.8}
.ic-lines .tot{border-bottom:0;padding-top:12px;font-size:16px}
.ic-lines .tot span{opacity:1;font-weight:700}
.ic-lines .tot b{font-size:20px;color:#ff6b63}
.ic-res .m-actions{margin-top:16px}
.ic-res .btn.outline{color:#fff;border-color:#ffffff59}
.ic-note{display:flex;gap:8px;margin:12px 0 0;font-size:12.5px;line-height:1.6;opacity:.7}
.ic-note svg{width:15px;height:15px;flex:none;margin-top:2px}
.ic-more{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:22px;align-items:start}
.ic-card{padding:22px;border-radius:22px;background:var(--paper);border:1px solid var(--line)}
.ic-card h3{display:flex;align-items:center;gap:8px;margin:0 0 14px;font-size:17px}
.ic-card h3 svg{width:20px;height:20px;color:#e3121b}
.ic-card details summary{list-style:none;cursor:pointer}
.ic-card details summary::-webkit-details-marker{display:none}
.ic-card details summary h3:after{content:"+";margin-left:auto;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;border:1px solid var(--line2,#ddd);font-size:16px}
.ic-card details[open] summary h3:after{content:"−"}
.ic-sub{margin-top:20px!important}
.ic-table{overflow-x:auto}
.ic-table table{width:100%;border-collapse:collapse;font-size:14px}
.ic-table th{text-align:left;font-size:12px;font-weight:600;color:var(--muted);padding:8px 10px;border-bottom:1px solid var(--line)}
.ic-table td{padding:10px;border-bottom:1px solid var(--line)}
.ic-table td small{display:block;font-size:11.5px;color:var(--muted)}
.ic-table tbody tr[data-plan]{cursor:pointer}
.ic-table tbody tr[data-plan]:hover{background:#00000005}
.ic-table tr.active td{background:#fdecec}
.ic-table tr.active td:first-child{box-shadow:inset 3px 0 0 #e3121b}
.ic-docs{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.ic-docs li{display:flex;gap:8px;align-items:flex-start;font-size:14px;line-height:1.6}
.ic-docs svg{width:16px;height:16px;flex:none;margin-top:4px;color:#e3121b}
@media (max-width:900px){.ic{grid-template-columns:1fr}.ic-res{position:static}.ic-more{grid-template-columns:1fr}}
@media (max-width:560px){.ic-form,.ic-res,.ic-card{padding:16px;border-radius:20px}.ic-terms{grid-template-columns:1fr 1fr}.ic-picked{flex-wrap:wrap}.ic-picked .btn{width:100%;justify-content:center}}

.ic-lines span{display:inline-flex;align-items:center}

/* Repair on phones: all categories visible in a compact 3-column grid; tighter price rows */
@media (max-width:767px){
  .rep-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;overflow:visible!important;gap:8px!important;margin:0 0 14px!important;padding:0!important}
  .rep-tab{min-width:0!important;width:auto!important;padding:10px 6px 9px!important;gap:4px!important;border-radius:16px!important}
  .rep-tab .is-ic{width:36px!important;height:36px!important;margin:0!important}
  .rep-tab .is-ic svg{width:18px!important;height:18px!important}
  .rep-tab b{font-size:12.5px!important;line-height:1.3;white-space:normal}
  .rep-tab small{font-size:11px!important}
  .pt-row{grid-template-columns:1fr auto!important;gap:4px 10px!important;padding:12px 14px!important}
  .pt-row .pt-name{display:contents}
  .pt-row .pt-name small{grid-column:1;grid-row:2;align-self:center}
  .pt-row b{grid-column:2;grid-row:1;font-size:16px!important;text-align:right}
  .pt-row .mini-ask{grid-column:2;grid-row:2;justify-self:end;padding:5px 12px!important;font-size:12.5px}
  .price-table .pt-head{padding:12px 14px!important}
}
@media (min-width:768px){.rep-tabs{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important}}

/* Footer reaches the bottom edge: no light strip under it; the floating bar rests over the bottom of the big faint shop name */
body{padding-bottom:0!important}
html{background:#080808}
.ft{padding-bottom:calc(58px + env(safe-area-inset-bottom))}
@media (min-width:640px){.ft{padding-bottom:calc(52px + env(safe-area-inset-bottom))}}
body.is-game .ft{padding-bottom:0}

/* Neighbouring light sections: one comfortable gap instead of two paddings stacked */
.zone:not(.wood):not(.tight) + .zone:not(.wood):not(.tight),
.hs-mobile + .zone:not(.wood){padding-top:16px}
@media (min-width:1024px){.zone:not(.wood):not(.tight){padding-bottom:56px}}
.ft-trust>div{position:relative;z-index:1;background:#0a0a0b!important;background-image:none!important}

/* Promotion banners: each banner has its own complete shadow (the phone strip used to cut them off into one shared line) */
.promo{box-shadow:0 12px 22px -8px #00000059!important}
@media (max-width:767px){
  .promos{padding:4px 16px 30px!important;margin-bottom:-22px!important;scroll-padding:0 16px}
  .promo,.promo.p1{box-shadow:0 12px 22px -8px #00000059!important}
}

/* Page transition: no dimming (it made dark areas flash light); new content rises softly into place */
body.page-leaving .app,body.page-leaving .ft{opacity:1!important;filter:none!important}
.app.enter{animation:pageIn .32s cubic-bezier(.2,.7,.3,1) both}
@keyframes pageIn{from{opacity:.85;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.app.enter{animation:none}}

/* Page change v3: nothing moves. The page header block stays put (no light strip under the header);
   only the content below it fades in softly, light on light. */
.app.enter{animation:none!important;transform:none!important}
.app.enter>:not(:first-child){animation:pageFade .24s ease both}
@keyframes pageFade{from{opacity:.55}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.app.enter>*{animation:none!important}}
/* Selected states switch at once (fading colours looked grey mid-change); only the lift on hover animates */
.btn,.cat,.card,.svc-card,.spot,.u-row,.hub-card,.bento-tile,.issue,.ft-social a,.acc-card,.mini-ask,.u-go,.icon-btn,.burger,.picker-close,.promo,.post,.ev-card,
.price-choice,.ab-value,.tw-big,.tw-opt,.tr-issue,.tr-brand,.more,.link,.rep-tab,.plan,.u-switch button,.pick-color button,.bottombar a,.drawer-nav a,.tab,.chip,.u-chip,
.qty button,.tw-back,.tw-done button,.pt-name,.lang-switch a,.bpill,.ic-term,.ic-quick button,.ic-tabs button,.ic-row{transition-property:transform!important}
/* Touch screens: no "stuck" hover look after a tap */
@media (hover:none){.cat:hover,.card:hover,.acc-card:hover,.rep-tab:hover,.tw-big:hover,.tw-opt:hover,.promo:hover,.post:hover,.u-row:hover,.svc-card:hover{transform:none}}
body.instant .nav,body.instant .nav *,body.instant .topbar,body.instant .announce,body.instant .brandbar{transition:none!important}
/* Used phones: brand buttons without the "N units" count */ .u-switch button em{display:none!important}
/* New phones brand bar: names only (no initial letter, no count) */ .bpill .bmono,.bpill em{display:none!important}.bpill{padding:7px 16px!important}
.nb-bar-one{justify-content:space-between;margin:22px 0 0}.nb-bar-one .nb-sortbox{margin-left:auto}.nb-bar-one + .nb-sec{margin-top:12px}.nb-back{gap:6px}.nb-back svg{width:15px;height:15px}@media (max-width:767px){.nb-bar-one{flex-wrap:nowrap;gap:8px}.nb-bar-one .nb-sortbox{width:auto}}
.result-count{display:none!important}
/* Used phones: grade × storage price table */
.card .pr .pfrom{font-family:inherit;font-size:11px;font-weight:600;color:var(--muted,#777);margin-right:4px;letter-spacing:0}
.vt{margin:16px 0 4px}
.vt-t{display:block;font-size:13px;color:var(--muted,#777);margin-bottom:10px;font-weight:600}
.vt-blocks{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
.vt-blk{--gc:#1f9d55;--gt:#1f9d5512;border:1px solid var(--line2,#e5e5e5);border-top:4px solid var(--gc);border-radius:16px;background:var(--paper,#fff);overflow:hidden;box-shadow:0 6px 18px -12px #0003}
.vt-blk.gr-a{--gc:#1f9d55;--gt:#1f9d5512}
.vt-blk.gr-b{--gc:#e08a00;--gt:#e08a0012}
.vt-blk.gr-c{--gc:#64748b;--gt:#64748b12}
.vt-bh{display:flex;gap:10px;align-items:center;padding:12px 14px;background:var(--gt)}
.vt-bh>b{flex:none;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--gc);color:#fff;font-size:17px}
.vt-bh strong{display:block;font-size:14.5px;line-height:1.2}
.vt-bh small{display:block;font-size:12px;color:var(--muted,#777);line-height:1.3}
.vt-r{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:11px 14px;border-top:1px dashed var(--line2,#e5e5e5);cursor:pointer;transition:background .15s,box-shadow .15s}
.vt-r:hover{background:#00000006}
.vt-r.on{background:var(--gt);box-shadow:inset 3px 0 0 #e3121b}
.vt-s{font-weight:600;font-size:14.5px}
.vt-p{font-weight:800;font-size:16px;white-space:nowrap;display:inline-flex;align-items:center;gap:8px}
.vt-p i{display:inline-block;width:16px;height:16px;border-radius:50%;border:2px solid var(--line2,#ccc);transition:border-color .15s}
.vt-r.on .vt-p i{border:5px solid #e3121b;box-shadow:0 0 0 3px #e3121b2e}
.vt-r:focus-visible{outline:2px solid #e3121b;outline-offset:-2px}
.g-guide{margin:28px 0 8px}
.g-guide h2{margin:0 0 14px}
.gg{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.gg-c{display:flex;gap:12px;align-items:flex-start;padding:16px;border:1px solid var(--line2,#e5e5e5);border-radius:16px;background:var(--paper,#fff)}
.gg-c>b{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#111;color:#fff;font-size:18px}
.gg-c h3{margin:0 0 4px;font-size:15px}
.gg-c p{margin:0;font-size:13.5px;color:var(--muted,#666);line-height:1.6}
.gg-note{display:flex;gap:8px;align-items:center;margin:12px 0 0;font-size:13.5px;color:var(--muted,#666)}
.gg-note svg{width:18px;height:18px;flex:none;color:#e3121b}
@media (max-width:760px){.gg{grid-template-columns:1fr}}
@media (max-width:560px){.vt th,.vt td{padding:10px 10px}.vt-g th small{max-width:96px;font-size:11.5px}.vt-g th b{margin-right:6px;width:26px;height:26px;font-size:13px}.vt-p i{margin-right:6px}}
.u-side b .pfrom{display:inline;font-family:inherit;font-size:11px;font-weight:600;color:var(--muted,#777);margin-right:5px;letter-spacing:0}

/* Buy popup (phone page): choose grade / storage / colour, see the price, then Telegram */
dialog.buy-pop{width:min(520px,calc(100% - 28px));max-height:calc(100% - 28px);overflow:auto;padding:22px 20px 20px;background:var(--paper,#fff);color:var(--text,#111);border-radius:24px}
.buy-pop .picker-close{background:#00000008;border-color:var(--line2,#ddd);color:var(--text,#111);box-shadow:none}
.bp-head{display:flex;gap:14px;align-items:center;padding-right:44px;margin-bottom:6px}
.bp-head img,.bp-head .ph{width:64px;height:64px;object-fit:contain;border-radius:14px;background:#00000006;flex:none;padding:4px}
.bp-head small{font-size:12.5px;color:var(--muted,#777)}
.buy-pop .bp-head h2{margin:2px 0 0;font-size:20px;text-align:left;color:var(--text,#111);text-shadow:none}
.bp-opt{margin-top:16px}
.bp-opt>small{display:block;font-size:13px;font-weight:700;color:var(--muted,#777);margin-bottom:8px}
.bp-chips{display:flex;flex-wrap:wrap;gap:8px}
.bp-c{display:flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:92px;padding:9px 13px;border-radius:14px;border:1px solid var(--line2,#ddd);background:var(--paper,#fff);color:inherit;font:inherit;cursor:pointer;text-align:left;transition:border-color .15s,box-shadow .15s}
.bp-c b{font-size:14.5px}
.bp-c small{font-size:11.5px;color:var(--muted,#777)}
.bp-c:hover:not(:disabled){border-color:#e3121b}
.bp-c.on{border:2px solid #e3121b;box-shadow:0 0 0 3px #e3121b33;padding:8px 12px;background:#e3121b0d}
.bp-c:disabled{opacity:.4;cursor:not-allowed;border-style:dashed}
.bp-sum{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-top:20px;padding-top:16px;border-top:1px dashed var(--line2,#ddd)}
.bp-sum small{display:block;font-size:12.5px;color:var(--muted,#777)}
.bp-sum b{font-size:30px;line-height:1.1;font-weight:800;color:var(--price,inherit)}
.bp-sum span{font-size:13px;color:var(--muted,#777);text-align:right}
.bp-act{margin-top:14px}
.bp-act .buy-btn{flex:1}
@media (max-width:640px){dialog.buy-pop{width:100%;max-width:none;margin:auto 0 0;border-radius:24px 24px 0 0;max-height:92%;padding:20px 16px calc(18px + env(safe-area-inset-bottom))}.bp-c{min-width:0;flex:1 1 calc(33% - 8px)}.bp-sum b{font-size:26px}}
.d-price+.vt{margin-top:-4px;margin-bottom:16px}
.d-price{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px}
.d-price .dp-buy{margin-left:auto;padding:12px 26px;font-size:16px}
.d-price .khr{order:1}
@media (max-width:560px){.d-price .dp-buy{padding:11px 18px;font-size:15px}}
@media (max-width:560px){.vt-blocks{grid-template-columns:1fr;gap:10px}.vt-blk{display:grid;grid-template-columns:1fr 1fr}.vt-bh{grid-column:1/-1;padding:10px 12px}.vt-r{padding:11px 12px}.vt-r:nth-child(odd){border-left:1px dashed var(--line2,#e5e5e5)}.vt-r:last-child:nth-child(even){grid-column:1/-1}}

/* Price selector (grade or country code → storage tiles) */
.vs{margin:4px 0 18px}
.vs .vt-t{display:block;font-size:13px;color:var(--muted,#777);margin-bottom:10px;font-weight:600}
.vs-tabs{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:8px;padding:5px;border-radius:18px;background:#0000000a;border:1px solid var(--line2,#e5e5e5)}
.vs-tab{--gc:#111;display:flex;align-items:center;gap:10px;min-width:0;padding:10px 12px;border:0;border-radius:14px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:background .2s,box-shadow .2s}
.vs-tab.vs-a{--gc:#16a34a}.vs-tab.vs-b{--gc:#e08a00}.vs-tab.vs-c{--gc:#64748b}
.vs-tab:hover{background:#ffffff99}
.vs-tab.on{background:var(--paper,#fff);box-shadow:0 6px 18px -8px #0003,0 0 0 2px #e3121b}
.vs-k{flex:none;display:grid;place-items:center;min-width:32px;height:32px;padding:0 7px;border-radius:10px;background:var(--gc);color:#fff;font-weight:800;font-size:14px;letter-spacing:.02em}
.vs-tx{min-width:0;display:flex;flex-direction:column}
.vs-tx b{font-size:13.5px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vs-tx small{font-size:12px;color:var(--muted,#777);white-space:nowrap}
.vs-tab.on .vs-tx small{color:#e3121b;font-weight:700}
.vs-note{display:flex;gap:8px;align-items:flex-start;margin:10px 2px 0;font-size:13px;line-height:1.55;color:var(--muted,#666)}
.vs-note svg{width:17px;height:17px;flex:none;margin-top:2px;color:#e3121b}
.vs-note b{color:var(--text,#111)}
.vs-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:10px;margin-top:12px}
.vs-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:13px 14px;border-radius:16px;border:1px solid var(--line2,#e2e2e2);background:var(--paper,#fff);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .2s,box-shadow .2s,transform .2s}
.vs-tile span{font-size:13px;font-weight:600;color:var(--muted,#666)}
.vs-tile b{font-size:19px;font-weight:800;letter-spacing:-.01em}
.vs-tile i{position:absolute;top:10px;right:10px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#e3121b;color:#fff;opacity:0;transform:scale(.6);transition:opacity .2s,transform .2s}
.vs-tile i svg{width:12px;height:12px}
.vs-tile:hover{border-color:#e3121b;transform:translateY(-1px)}
.vs-tile.on{border:2px solid #e3121b;padding:12px 13px;background:#e3121b0b;box-shadow:0 0 0 4px #e3121b30}
.vs-tile.on span{color:var(--text,#111)}
.vs-tile.on i{opacity:1;transform:none}
.vs-tile.off{cursor:default;opacity:.45;border-style:dashed;background:transparent}
.vs-tile.off b{font-size:13px;font-weight:600}
@media (max-width:560px){.vs-tabs{gap:4px;padding:4px}.vs-tab{flex-direction:column;align-items:flex-start;gap:6px;padding:9px 9px}.vs-k{min-width:28px;height:28px;font-size:13px}.vs-tx b{font-size:12.5px;white-space:normal;line-height:1.3}.vs-tiles{grid-template-columns:1fr 1fr}.vs-tile b{font-size:18px}}
.vs-tx b{white-space:normal}.vs-tiles:first-child{margin-top:0}

/* Price blocks: one per grade / country code */
.vb-grid{display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:14px}
.vb{--g1:#1a1a1d;--g2:#3b3b42;--gt:#00000008;position:relative;border-radius:20px;background:var(--paper,#fff);overflow:hidden;border:1px solid #0000000f;
  box-shadow:0 1px 2px #0000000d,0 14px 30px -18px var(--g1);transition:transform .25s ease,box-shadow .25s ease}
.vb-a{--g1:#15803d;--g2:#34c26b;--gt:#16a34a14}
.vb-b{--g1:#c2410c;--g2:#f59e0b;--gt:#f59e0b17}
.vb-c{--g1:#334155;--g2:#7c8ba1;--gt:#64748b14}
.vb:hover{transform:translateY(-2px);box-shadow:0 1px 2px #0000000d,0 20px 36px -18px var(--g1)}
.vb.on{box-shadow:0 0 0 2px var(--g2),0 22px 40px -18px var(--g1)}
.vb-h{position:relative;display:flex;align-items:center;gap:11px;padding:14px 15px;color:#fff;background:linear-gradient(135deg,var(--g1),var(--g2));overflow:hidden}
.vb-h::after{content:"";position:absolute;right:-30px;top:-40px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,#ffffff38,#fff0 70%);pointer-events:none}
.vb-k{flex:none;display:grid;place-items:center;min-width:36px;height:36px;padding:0 8px;border-radius:11px;background:#ffffff2e;border:1px solid #ffffff4d;font-weight:800;font-size:15px;letter-spacing:.02em;box-shadow:inset 0 1px 0 #ffffff40}
.vb-h b{display:block;font-size:14px;line-height:1.3}
.vb-h small{display:block;font-size:12px;opacity:.85}
.vb-rows{padding:6px}
.vb-r{position:relative;display:flex;width:100%;justify-content:space-between;align-items:center;gap:8px;padding:11px 12px;border:0;border-radius:13px;background:transparent;color:inherit;font:inherit;cursor:pointer;transition:background .15s}
.vb-r+.vb-r{margin-top:2px}
.vb-r span{font-weight:600;font-size:14px;color:var(--muted,#666)}
.vb-r b{font-size:16.5px;font-weight:800;margin-right:28px;transition:color .15s}
.vb-r i{position:absolute;right:10px;top:50%;width:20px;height:20px;margin-top:-10px;border-radius:50%;border:2px solid #0000001f;display:grid;place-items:center;color:#fff;transition:all .2s}
.vb-r i svg{width:12px;height:12px;opacity:0}
.vb-r:hover{background:var(--gt)}
.vb-r.on{background:var(--gt);box-shadow:inset 0 0 0 1.5px var(--g2)}
.vb-r.on span{color:var(--text,#111)}
.vb-r.on b{color:var(--g1)}
.vb-r.on i{border-color:transparent;background:linear-gradient(135deg,var(--g1),var(--g2));box-shadow:0 3px 8px -2px var(--g1)}
.vb-r.on i svg{opacity:1}
.vs .vs-note{margin-top:12px}
@media (max-width:640px){.vb-grid{grid-template-columns:1fr;gap:12px}.vb-rows{display:grid;grid-template-columns:1fr 1fr;gap:4px}.vb-r+.vb-r{margin-top:0}.vb-r{flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px}.vb-r b{margin-right:0}.vb-r i{top:12px;margin-top:0}}
.vb-h small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.vb-h>div{min-width:0}
/* Price blocks — compact on phones */
@media (max-width:640px){
  .vb-grid{gap:10px}
  .vb{border-radius:16px}
  .vb:hover{transform:none}
  .vb-h{padding:8px 12px;gap:9px}
  .vb-h::after{width:80px;height:80px;top:-30px;right:-20px}
  .vb-k{min-width:26px;height:26px;padding:0 6px;border-radius:8px;font-size:13px}
  .vb-h>div{display:flex;align-items:baseline;gap:6px;min-width:0}
  .vb-h b{font-size:13.5px;white-space:nowrap}
  .vb-h small{font-size:11.5px}
  .vb-rows{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:8px}
  .vb-r{align-items:center;gap:1px;padding:7px 4px;border-radius:11px;background:#00000006;text-align:center}
  .vb-r span{font-size:11.5px}
  .vb-r b{font-size:14px;margin:0}
  .vb-r i{display:none}
  .vb-r.on{box-shadow:inset 0 0 0 2px var(--g2)}
  .vb-r.on i{display:grid;top:-6px;right:-6px;width:17px;height:17px;margin:0;border:2px solid var(--paper,#fff)}
  .vb-r.on i svg{width:9px;height:9px}
  .vb-rows .vb-r{overflow:visible}
  .vs .vs-note{font-size:12.5px;margin-top:10px}
}
/* Phone page on phones: thumbnail beside the name, price + table visible on first screen */
@media (max-width:640px){
  .crumb-bar:has(#crumb-cat){display:none}
  .detail:has(.d-head){position:relative;gap:0}
  .detail:has(.d-head)>.d-media{position:absolute!important;left:0;top:0;width:104px;height:104px;max-width:none;aspect-ratio:auto;margin:0;border-radius:18px;box-shadow:0 6px 16px -10px #0004;cursor:zoom-in}
  .detail:has(.d-head)>.d-media>img{padding:8px}
  .detail:has(.d-head)>.d-media .tag{display:none}
  .d-head{min-height:104px;padding-left:118px;display:flex;flex-direction:column;justify-content:center}
  .d-head .brand{font-size:11px}
  .d-head h1{font-size:22px;line-height:1.2;margin:2px 0 6px}
  .d-head .badges{margin:0;gap:6px}
  .d-head .badges .tag{font-size:11.5px;padding:3px 9px}
  .detail:has(.d-head) .d-price{margin:14px 0 14px;padding:12px 14px}
  .detail:has(.d-head) .d-price .price b{font-size:28px}
  .detail:has(.d-head) .dp-buy{padding:11px 16px}
  .vs .vt-t{margin-bottom:8px}
}
dialog.img-pop{width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:0;border-radius:0;background:#fff;display:grid;place-items:center}
dialog.img-pop::backdrop{background:#000c}
dialog.img-pop img{width:100%;height:100%;object-fit:contain;padding:24px;mix-blend-mode:multiply}
dialog.img-pop .picker-close{position:absolute;top:calc(14px + env(safe-area-inset-top));right:14px;z-index:2}
@media (max-width:640px){.detail:has(.d-head) .d-price{margin:10px 0 10px;padding:10px 12px}.detail:has(.d-head) .vs{margin-bottom:12px}.vs .vt-t{margin-bottom:6px;font-size:12px}.vb-grid{gap:8px}.vb-h{padding:6px 11px}.vb-rows{padding:6px;gap:5px}.vb-r{padding:5px 4px}.vb-r b{font-size:13.5px}.vb-r span{font-size:11px}.d-head{min-height:96px;padding-left:110px}.detail:has(.d-head)>.d-media{width:96px;height:96px}}
dialog.img-pop .picker-close{background:#111;color:#fff;border-color:#111;box-shadow:0 4px 14px #0004}
.vs .vs-note{margin:0 2px 10px}
.u-grades{display:flex;align-items:center;gap:4px}.u-grades .ug{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:6px;color:#fff;font-size:11px;font-weight:800}.ug-a{background:linear-gradient(135deg,#15803d,#34c26b)}.ug-b{background:linear-gradient(135deg,#c2410c,#f59e0b)}.ug-c{background:linear-gradient(135deg,#334155,#7c8ba1)}.u-grades em{font-style:normal;font-size:12px;color:var(--muted,#777);margin-left:4px}

/* Grade / country code + storage chips (installment, trade-in) */
.op{display:flex;flex-direction:column;gap:10px;margin:12px 0 4px}
.op-row>small{display:block;font-size:12.5px;font-weight:700;color:var(--muted,#777);margin-bottom:6px}
.op-row>div{display:flex;flex-wrap:wrap;gap:6px}
.op-c{display:flex;flex-direction:column;align-items:flex-start;min-width:82px;padding:7px 11px;border-radius:12px;border:1px solid var(--line2,#ddd);background:var(--paper,#fff);color:inherit;font:inherit;cursor:pointer;text-align:left;transition:border-color .15s,box-shadow .15s}
.op-c b{font-size:13.5px}
.op-c small{font-size:11px;color:var(--muted,#777)}
.op-c:hover:not(:disabled){border-color:#e3121b}
.op-c.on{border:2px solid #e3121b;padding:6px 10px;background:#e3121b0b;box-shadow:0 0 0 3px #e3121b2e}
.op-c:disabled{opacity:.4;cursor:not-allowed;border-style:dashed}
.op-c.og-a b::before,.op-c.og-b b::before,.op-c.og-c b::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;vertical-align:1px;background:#16a34a}
.op-c.og-b b::before{background:#f59e0b}.op-c.og-c b::before{background:#64748b}
.tw-result .op{margin:6px 0 12px}
.tr-line small{font-weight:500;color:var(--muted,#777)}
.tw-result .op-c{background:#ffffff0f;border-color:#ffffff38;color:#fff}.tw-result .op-c small{color:#ffffffa6}.tw-result .op-c.on{background:#ffffff1f}.tw-result .op-row>small{color:#ffffffa6}.tw-result .op-c:disabled{opacity:.35}

/* "Choose grade / storage / colour" buttons (installment, trade-in) */
.ic-opt{display:flex;align-items:center;gap:10px;width:100%;margin-top:10px;padding:11px 14px;border-radius:14px;border:1.5px dashed #e3121b;background:transparent;color:inherit;font:inherit;font-weight:700;font-size:14px;cursor:pointer;text-align:left}
.ic-opt span{flex:1}
.ic-opt svg{width:18px;height:18px;color:#e3121b;flex:none}
.ic-opt:hover{background:#00000006}
.tr-opt span{color:#ffffffd9;font-weight:600}
.tw-reopt{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:999px;border:1px solid #ffffff44;background:#ffffff14;color:#fff;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.tw-reopt svg{width:14px;height:14px}
@media (max-width:640px){dialog.opt-pop{width:calc(100% - 24px);margin:auto;border-radius:24px;max-height:calc(100% - 40px);padding:20px 16px 18px}}

/* Spec popup, Newsroom spec tab, compare page */
.sp-open{width:100%;margin:12px 0 4px;justify-content:center}
dialog.spec-pop{width:min(560px,calc(100% - 24px))}
.sp-head small{font-size:12px;color:var(--muted,#777);font-weight:700;text-transform:uppercase;letter-spacing:.05em}
.buy-pop .sp-head h2{margin:2px 0 12px;font-size:22px;text-align:left;color:var(--text,#111);text-shadow:none;padding-right:44px}
.sp-gal{position:relative;margin:0 -4px 14px}
.sp-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;border-radius:18px;background:radial-gradient(circle at 50% 40%,#fbfbfc,#e7e8ec)}
.sp-track::-webkit-scrollbar{display:none}
.sp-track img{flex:0 0 100%;height:260px;object-fit:contain;padding:18px;scroll-snap-align:center;mix-blend-mode:multiply}
.sp-dots{display:flex;justify-content:center;gap:6px;margin-top:8px}
.sp-dots i{width:7px;height:7px;border-radius:50%;background:#0000002b;cursor:pointer;transition:all .2s}
.sp-dots i.on{width:20px;border-radius:99px;background:#e3121b}
.sp-list{border:1px solid var(--line2,#e5e5e5);border-radius:16px;overflow:hidden}
.sp-list>div{display:grid;grid-template-columns:38% 1fr;gap:10px;padding:10px 14px;font-size:13.5px}
.sp-list>div+div{border-top:1px dashed var(--line2,#e5e5e5)}
.sp-list span{color:var(--muted,#777);font-weight:600}
.sp-list b{font-weight:600;line-height:1.45}
.sp-none{padding:16px;border-radius:14px;background:#00000006;color:var(--muted,#777);text-align:center}
.sp-act{flex-wrap:wrap;margin-top:14px}
.sp-act .btn{flex:1 1 100%;justify-content:center}
.news-tabs{display:inline-flex;gap:6px;margin-top:18px;padding:5px;border-radius:16px;background:#ffffff14;border:1px solid #ffffff22}
.news-tabs button{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border:0;border-radius:12px;background:transparent;color:inherit;font:inherit;font-weight:700;cursor:pointer;opacity:.8}
.news-tabs button svg{width:18px;height:18px}
.news-tabs button.active{background:#e3121b;color:#fff;opacity:1;box-shadow:0 8px 20px -10px #e3121b}
.sp-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between;margin-bottom:16px}
.sp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px}
.sp-grid .sk-card{height:260px;border-radius:20px}
.sp-card{display:flex;flex-direction:column;gap:4px;padding:14px;border-radius:20px;border:1px solid var(--line2,#e5e5e5);background:var(--paper,#fff);color:inherit;font:inherit;text-align:left;cursor:pointer;box-shadow:0 10px 26px -20px #0006;transition:transform .2s,box-shadow .2s}
.sp-card:hover{transform:translateY(-3px);box-shadow:0 18px 34px -20px #0007}
.sp-pic{display:grid;place-items:center;height:150px;border-radius:14px;background:radial-gradient(circle at 50% 40%,#fbfbfc,#e7e8ec);margin-bottom:6px}
.sp-pic img{width:100%;height:100%;object-fit:contain;padding:12px;mix-blend-mode:multiply}
.sp-card b{font-size:15px}
.sp-card small{font-size:12px;color:var(--muted,#777);line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sp-card em{font-style:normal;font-weight:800;color:var(--price,#e3121b);margin-top:auto;padding-top:6px}
.cmp{--n:3}
.cmp-heads{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:12px;position:sticky;top:64px;z-index:2;background:var(--bg,#f3f4f6);padding:6px 0}
.cmp-col{display:flex;flex-direction:column;gap:6px;align-items:stretch;padding:12px;border-radius:20px;background:var(--paper,#fff);border:1px solid var(--line2,#e5e5e5);box-shadow:0 10px 26px -20px #0006;min-width:0}
.cmp-col select{width:100%;padding:9px 10px;border-radius:12px;border:1px solid var(--line2,#ddd);background:var(--paper,#fff);font:inherit;font-size:13.5px;font-weight:600;color:inherit}
.cmp-pic{display:grid;place-items:center;height:140px;border:0;border-radius:14px;background:radial-gradient(circle at 50% 40%,#fbfbfc,#e7e8ec);cursor:zoom-in;padding:0}
.cmp-pic img{width:100%;height:100%;object-fit:contain;padding:10px;mix-blend-mode:multiply}
.cmp-col>b{font-size:15px;line-height:1.3}
.cmp-col>em{font-style:normal;font-weight:800;color:var(--price,#e3121b)}
.cmp-buy{display:flex;flex-direction:column;gap:6px;margin-top:4px}
.cmp-buy .btn{justify-content:center;font-size:13px;padding:9px 10px;white-space:normal;text-align:center}
.cmp-empty{display:grid;place-items:center;gap:6px;height:180px;border-radius:14px;border:1.5px dashed var(--line2,#ccc);color:var(--muted,#888);text-align:center;padding:10px}
.cmp-empty svg{width:34px;height:34px;opacity:.5}
.cmp-rows{margin-top:14px;border-radius:20px;background:var(--paper,#fff);border:1px solid var(--line2,#e5e5e5);overflow:hidden}
.cmp-row{padding:10px 14px}
.cmp-row+.cmp-row{border-top:1px dashed var(--line2,#e5e5e5)}
.cmp-row small{display:block;font-size:12px;font-weight:700;color:var(--muted,#777);margin-bottom:4px}
.cmp-row>div{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:12px;font-size:13.5px;font-weight:600;line-height:1.45}
.cmp-row:not(.same)>div span{background:#e3121b0b;border-radius:8px;padding:2px 6px;margin:-2px -6px}
@media (max-width:640px){.news-tabs{display:flex}.news-tabs button{flex:1;justify-content:center;padding:10px 8px}.sp-grid{grid-template-columns:1fr 1fr;gap:10px}.sp-pic{height:120px}.cmp-heads{gap:8px;top:58px}.cmp-col{padding:8px;border-radius:16px}.cmp-pic{height:100px}.cmp-row>div{gap:8px;font-size:12.5px}.sp-track img{height:220px}}
.cmp-pic,.sp-pic{position:relative;overflow:hidden;width:100%}.cmp-pic img,.sp-pic img{position:absolute;inset:0;width:100%;height:100%;max-width:none}.sp-track img{min-width:0;max-width:none}

.sp-list h4,.cmp-sec{margin:0;padding:9px 14px;font-size:12.5px;font-weight:800;letter-spacing:.03em;text-transform:uppercase;color:#e3121b;background:#00000007;border-top:1px solid var(--line2,#e5e5e5)}
.sp-list h4:first-child{border-top:0}
.sp-list h4+div{border-top:0!important}
.cmp-sec{border-top:1px solid var(--line2,#e5e5e5)}
.cmp-rows .cmp-sec:first-child{border-top:0}
.cmp-sec+.cmp-row{border-top:0!important}

/* ---- Spec popup & compare: block layout ---- */
dialog.spec-pop{width:min(780px,calc(100% - 24px));padding:24px 22px 18px}
.sw-row{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 2px}
.sw-row i{width:16px;height:16px;border-radius:50%;box-shadow:inset 0 0 0 1px #0000002b,0 1px 2px #0002}
.sp-hl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:4px 0 16px}
.sp-hl>div{display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:12px;border-radius:16px;background:linear-gradient(160deg,#111,#333);color:#fff;box-shadow:0 10px 22px -16px #000a;min-width:0}
.sp-hl span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#e3121b;margin-bottom:4px}
.sp-hl span svg{width:17px;height:17px}
.sp-hl small{font-size:11px;opacity:.7}
.sp-hl b{font-size:14px;line-height:1.3;word-break:break-word}
.sp-blocks{columns:2;column-gap:12px}
.sp-block{break-inside:avoid;margin:0 0 12px;border-radius:16px;background:var(--paper,#fff);border:1px solid var(--line2,#e5e5e5);box-shadow:0 8px 20px -18px #0007;overflow:hidden}
.sp-block h4{display:flex;align-items:center;gap:8px;margin:0;padding:10px 14px;font-size:13px;font-weight:800;color:#e3121b;background:#e3121b0d;border-bottom:1px solid var(--line2,#e5e5e5)}
.sp-block h4 svg{width:17px;height:17px}
.sp-r{display:grid;grid-template-columns:40% 1fr;gap:8px;padding:8px 14px;font-size:13px}
.sp-r+.sp-r{border-top:1px dashed var(--line2,#e5e5e5)}
.sp-r span{color:var(--muted,#777);font-weight:600}
.sp-r b{font-weight:600;line-height:1.45;word-break:break-word}
.cmp-col .sw-row{justify-content:center}
.cmp-col>b{text-align:center}.cmp-col>em{text-align:center}
.cmp-block{margin-top:14px;border-radius:20px;background:var(--paper,#fff);border:1px solid var(--line2,#e5e5e5);box-shadow:0 10px 26px -22px #0007;overflow:hidden}
.cmp-block h4{display:flex;align-items:center;gap:9px;margin:0;padding:12px 16px;font-size:14px;font-weight:800;color:#e3121b;background:#e3121b0d;border-bottom:1px solid var(--line2,#e5e5e5)}
.cmp-block h4 svg{width:19px;height:19px}
.cmp-block .cmp-row{padding:10px 16px}
.cmp-block .cmp-row+.cmp-row{border-top:1px dashed var(--line2,#e5e5e5)}
.cmp-hl{background:linear-gradient(160deg,#111,#2c2c30);border:0;color:#fff}
.cmp-hl h4{background:transparent;color:#ff4d55;border-bottom:1px solid #ffffff1c}
.cmp-hr{padding:12px 16px}
.cmp-hr+.cmp-hr{border-top:1px solid #ffffff14}
.cmp-hr small{display:flex;align-items:center;gap:6px;font-size:12px;opacity:.7;margin-bottom:6px}
.cmp-hr .cmp-ic{float:left;display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#e3121b;margin-right:10px}
.cmp-hr .cmp-ic svg{width:16px;height:16px}
.cmp-hr>div{clear:both;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:12px}
.cmp-hr>div b{font-size:17px;font-weight:800;line-height:1.25;word-break:break-word}
.cmp-rows{display:none}
@media (max-width:700px){.sp-blocks{columns:1}.sp-hl{grid-template-columns:1fr 1fr}dialog.spec-pop{padding:20px 14px 16px}.cmp-hr>div b{font-size:14.5px}.cmp-block .cmp-row,.cmp-hr{padding:10px 12px}}
.cmp-heads{position:static;padding:0}.cmp-mini{position:sticky;top:64px;z-index:3;display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:12px;margin-top:12px;padding:9px 14px;border-radius:14px;background:var(--paper,#fff);border:1px solid var(--line2,#e5e5e5);box-shadow:0 10px 24px -16px #0006}.cmp-mini div{min-width:0}.cmp-mini b{display:block;font-size:13.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cmp-mini small{font-size:12px;font-weight:700;color:var(--price,inherit)}@media (max-width:640px){.cmp-mini{top:58px;gap:8px;padding:8px 10px}.cmp-mini b{font-size:12.5px}}
.sp-hl{grid-template-columns:repeat(auto-fit,minmax(120px,1fr))}@media (max-width:700px){.sp-hl{grid-template-columns:1fr 1fr}}

/* New or used? (buy from Newsroom / compare) */
dialog.cond-pop{width:min(460px,calc(100% - 24px))}
.cond-q{margin:0 0 10px;font-weight:700;color:var(--muted,#666)}
.cond-opts{display:flex;flex-direction:column;gap:10px}
.cond-opt{display:flex;align-items:center;gap:12px;padding:14px;border-radius:16px;border:1px solid var(--line2,#e2e2e2);background:var(--paper,#fff);color:inherit;text-decoration:none;box-shadow:0 8px 20px -16px #0007;transition:border-color .2s,transform .2s}
.cond-opt:hover{border-color:#e3121b;transform:translateY(-1px);background:#e3121b0b}
.cond-ic{flex:none;display:grid;place-items:center;width:44px;height:44px;border-radius:13px;background:#e3121b;color:#fff}
.cond-ic svg{width:22px;height:22px}
.cond-tx{flex:1;min-width:0;display:flex;flex-direction:column}
.cond-tx b{font-size:15.5px}
.cond-tx small{font-size:12px;color:var(--muted,#777);line-height:1.4}
.cond-opt em{font-style:normal;font-weight:800;white-space:nowrap;color:var(--price,#e3121b)}
.cond-opt>svg{width:16px;height:16px;flex:none;opacity:.5}
.cmp-heads{position:static!important}
.cmp-mini{top:calc(12px + env(safe-area-inset-top));min-height:46px;align-items:center;padding:6px 140px 6px 14px}.cmp-foot{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:12px;margin-top:14px}.cmp-foot>div{display:flex;flex-direction:column;gap:6px;min-width:0}.cmp-foot>div:not(:empty){padding:14px;border-radius:18px;background:var(--paper,#fff);border:1px solid var(--line2,#e5e5e5);box-shadow:0 10px 26px -22px #0007}.cmp-foot b{font-size:14.5px}.cmp-foot em{font-style:normal;font-weight:800;color:var(--price,inherit)}.cmp-foot .btn{justify-content:center;font-size:13px;padding:10px;white-space:normal;text-align:center}@media (max-width:640px){.cmp-mini{padding:6px 112px 6px 10px;min-height:44px}.cmp-foot{gap:8px}.cmp-foot>div:not(:empty){padding:10px}}

/* ---- Compare v3: one colour per model ---- */
.cmp-col{position:relative;border-top:4px solid var(--c)}
.cmp-col.empty{border-top-color:var(--line2,#ddd)}
.cmp-no{position:absolute;top:-13px;left:14px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:linear-gradient(135deg,var(--c),var(--c2));color:#fff;font-size:12px;font-weight:800;box-shadow:0 4px 10px -3px var(--c)}
.cmp-col.empty .cmp-no{background:#bbb;box-shadow:none}
.cmp-col>em{color:var(--c)!important}
.cmp-mini{background:transparent!important;border:0!important;box-shadow:none!important;padding:0 136px 0 0!important;gap:10px!important}
.cmp-pill{display:flex;align-items:center;gap:8px;min-width:0;height:46px;padding:4px 14px 4px 5px;border-radius:999px;color:#fff;background:linear-gradient(135deg,var(--c),var(--c2));box-shadow:0 10px 22px -10px var(--c),inset 0 1px 0 #ffffff40}
.cmp-pill.none{visibility:hidden}
.cmp-pill img{flex:none;width:36px;height:36px;border-radius:50%;object-fit:contain;background:#fff;padding:3px}
.cmp-pill span{min-width:0;display:flex;flex-direction:column;line-height:1.15}
.cmp-pill b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cmp-pill small{font-size:11.5px;font-weight:700;opacity:.9;white-space:nowrap}
.cmp-block .cmp-row,.cmp-hl .cmp-row{padding:12px 16px}
.cmp-lab{display:flex;align-items:center;gap:7px;margin-bottom:8px;font-size:12.5px;font-weight:800;color:var(--muted,#6b6b6b)}
.cmp-lab svg{width:16px;height:16px;color:#e3121b}
.cmp-lab em{margin-left:auto;font-style:normal;font-size:11px;font-weight:700;padding:2px 9px;border-radius:99px;background:#0000000a;color:var(--muted,#888)}
.cmp-vals{display:grid;grid-template-columns:repeat(var(--n),minmax(0,1fr));gap:10px}
.cmp-v{position:relative;padding:9px 11px 9px 14px;border-radius:12px;background:#f6f6f8;font-size:13.5px;font-weight:700;line-height:1.45;word-break:break-word;color:var(--text,#111)}
.cmp-v::before{content:"";position:absolute;left:0;top:8px;bottom:8px;width:4px;border-radius:0 4px 4px 0;background:linear-gradient(var(--c),var(--c2))}
.cmp-v.none{visibility:hidden}
.cmp-row.same .cmp-v{font-weight:500;color:var(--muted,#777);background:#fafafa}
.cmp-hl .cmp-lab{color:#ffffffb3}
.cmp-hl .cmp-lab svg{color:#fff}
.cmp-hl .cmp-v{background:#ffffff12;color:#fff;font-size:16px;font-weight:800}
.cmp-hl .cmp-row+.cmp-row{border-top:1px solid #ffffff14}
.cmp-fcard{display:flex;flex-direction:column;align-items:center;gap:6px;padding:14px;border-radius:20px;background:var(--paper,#fff);border:1px solid var(--line2,#e5e5e5);border-top:4px solid var(--c);box-shadow:0 14px 30px -22px var(--c);text-align:center;min-width:0}
.cmp-fcard img{width:70px;height:70px;object-fit:contain;mix-blend-mode:multiply}
.cmp-fcard em{font-style:normal;font-weight:800;color:var(--c)}
.cmp-fcard .btn{width:100%;justify-content:center;font-size:13px;padding:10px;white-space:normal}
.cmp-foot>div:not(.cmp-fcard){padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
@media (max-width:640px){.cmp-mini{padding:0 112px 0 0!important;gap:6px!important}.cmp-pill{height:42px;padding:3px 10px 3px 3px;gap:6px}.cmp-pill img{width:34px;height:34px}.cmp-pill b{font-size:11.5px}.cmp-pill small{font-size:10.5px}
  .cmp-vals{gap:6px}.cmp-v{font-size:12.5px;padding:8px 8px 8px 12px}.cmp-hl .cmp-v{font-size:14px}.cmp-block .cmp-row,.cmp-hl .cmp-row{padding:10px 10px}}
/* Compare v3 alignment fixes: pills, labels and value cells share the exact card grid */
.cmp .cmp-mini{padding:0!important;grid-template-columns:repeat(var(--n),minmax(0,1fr))!important;gap:12px!important}
.cmp .cmp-row>.cmp-lab{display:flex!important;grid-template-columns:none!important}
.cmp .cmp-row>.cmp-vals{display:grid!important;grid-template-columns:repeat(var(--n),minmax(0,1fr))!important;gap:12px!important}
.cmp .cmp-row>.cmp-vals>.cmp-v{margin:0!important;padding:9px 11px 9px 14px!important;background:#f6f6f8!important;border-radius:12px!important}
.cmp .cmp-row.same>.cmp-vals>.cmp-v{background:#fafafa!important}
.cmp .cmp-hl .cmp-row>.cmp-vals>.cmp-v{background:#ffffff12!important}
.cmp .cmp-row>.cmp-vals>.cmp-v.none{visibility:hidden}
.cmp .cmp-block .cmp-row,.cmp .cmp-hl .cmp-row{padding:12px 16px!important}
.cmp-heads,.cmp-foot{gap:12px!important}
@media (max-width:640px){.cmp .cmp-mini,.cmp .cmp-row>.cmp-vals,.cmp-heads,.cmp-foot{gap:8px!important}.cmp .cmp-block .cmp-row,.cmp .cmp-hl .cmp-row{padding:10px!important}.cmp .cmp-row>.cmp-vals>.cmp-v{padding:8px 8px 8px 12px!important}
  .cmp-mini .cmp-pill:last-child{padding-right:106px}}
.cmp .cmp-heads,.cmp .cmp-mini,.cmp .cmp-foot{padding-left:17px!important;padding-right:17px!important}@media (max-width:640px){.cmp .cmp-heads,.cmp .cmp-mini,.cmp .cmp-foot{padding-left:11px!important;padding-right:11px!important}}

/* ---- Compare v4: calm, one accent colour, specs flow straight on ---- */
.cmp .cmp-col{border-top:1px solid var(--line2,#e5e5e5)!important;box-shadow:0 12px 30px -24px #0008}
.cmp .cmp-no{background:#e3121b!important;box-shadow:0 4px 10px -4px #e3121b!important}
.cmp .cmp-col.empty .cmp-no{background:#c4c4c4!important;box-shadow:none!important}
.cmp .cmp-col>em{color:var(--text,#111)!important;font-size:16px}
.cmp-kf{list-style:none;margin:4px 0 2px;padding:10px 0 0;border-top:1px dashed var(--line2,#e5e5e5);display:grid;grid-template-columns:1fr 1fr;gap:8px 10px}
.cmp-kf li{display:flex;align-items:flex-start;gap:7px;min-width:0;font-size:13px;font-weight:700;line-height:1.3}
.cmp-kf li svg{flex:none;width:16px;height:16px;margin-top:2px;color:#e3121b}
.cmp-kf li span{min-width:0;word-break:break-word}
.cmp-kf small{display:block;font-size:11px;font-weight:600;color:var(--muted,#888)}
.cmp .cmp-pill{background:var(--paper,#fff)!important;color:var(--text,#111)!important;border:1px solid var(--line2,#e5e5e5);box-shadow:0 10px 24px -14px #0006!important}
.cmp .cmp-pill small{color:var(--muted,#666);opacity:1}
.cmp-pn{flex:none;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#e3121b;color:#fff;font-style:normal;font-size:11.5px;font-weight:800;margin-left:4px}
.cmp .cmp-pill img{width:32px;height:32px;background:#f3f3f5}
.cmp .cmp-block{margin-top:12px;box-shadow:none}
.cmp .cmp-block h4{background:transparent!important;color:var(--text,#111)!important;font-size:15px;padding:14px 16px 6px!important;border-bottom:0!important}
.cmp .cmp-block h4 svg{color:#e3121b}
.cmp .cmp-block .cmp-row{padding:8px 16px!important}
.cmp .cmp-block .cmp-row+.cmp-row{border-top:0!important}
.cmp .cmp-block .cmp-row:last-child{padding-bottom:16px!important}
.cmp .cmp-lab{margin-bottom:5px;font-size:12px;font-weight:700;color:var(--muted,#888)}
.cmp .cmp-row>.cmp-vals>.cmp-v{background:#f5f5f7!important;padding:8px 11px!important;font-weight:600;font-size:13.5px}
.cmp .cmp-v::before{display:none}
.cmp .cmp-row.same>.cmp-vals>.cmp-v{background:#fafafa!important;color:var(--muted,#777)}
.cmp .cmp-lab em{background:transparent;padding:0;font-weight:600}
.cmp .cmp-fcard{border-top:1px solid var(--line2,#e5e5e5)!important;box-shadow:0 12px 30px -24px #0008!important}
.cmp .cmp-fcard em{color:var(--text,#111)!important}
@media (max-width:640px){.cmp-kf{grid-template-columns:1fr;gap:6px}.cmp-kf li{font-size:12px}.cmp .cmp-block .cmp-row{padding:7px 10px!important}.cmp .cmp-row>.cmp-vals>.cmp-v{padding:7px 8px!important;font-size:12.5px}.cmp-pn{display:none}}

/* ---- Compare v5: one clean table, phone-first ---- */
.ct{--lw:170px;--g:14px}
.ct-heads,.ct-mini,.ct-row,.ct-foot{display:grid;grid-template-columns:var(--lw) repeat(var(--n),minmax(0,1fr));gap:0 var(--g);align-items:start}
.ct-corner{display:flex;gap:8px;align-items:flex-start;padding:14px 4px;color:var(--muted,#777);font-size:13px;line-height:1.5}
.ct-corner svg{width:18px;height:18px;flex:none;color:#e3121b}
.ct-card{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;text-align:center}
.ct-card select{width:100%;padding:10px 12px;border-radius:12px;border:1px solid var(--line2,#ddd);background:var(--paper,#fff);font:inherit;font-size:13.5px;font-weight:700;color:inherit}
.ct-pic{position:relative;width:100%;aspect-ratio:1/1;max-height:210px;border:0;border-radius:18px;background:radial-gradient(circle at 50% 40%,#fff,#ececef);padding:0;cursor:zoom-in;overflow:hidden}
.ct-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:14px;mix-blend-mode:multiply}
.ct-name{font-size:16px;line-height:1.3}
.ct-price{font-style:normal;font-weight:800;font-size:15px;color:#e3121b}
.ct-card .sw-row{justify-content:center;margin:0}
.ct-card .btn,.ct-fcell .btn{width:100%;justify-content:center;font-size:13.5px;padding:11px 10px;white-space:normal}
.ct-empty{display:grid;place-items:center;gap:8px;width:100%;aspect-ratio:1/1;max-height:210px;border-radius:18px;border:1.5px dashed var(--line2,#ccc);color:var(--muted,#999);padding:12px}
.ct-empty svg{width:30px;height:30px;opacity:.5}
.ct-mini{position:sticky;top:calc(12px + env(safe-area-inset-top));z-index:3;margin:18px 0 0;padding-right:136px}
.ct-pill{display:flex;align-items:center;gap:8px;min-width:0;height:44px;padding:4px 12px 4px 4px;border-radius:999px;background:var(--paper,#fff);border:1px solid var(--line2,#e5e5e5);box-shadow:0 8px 20px -14px #0007}
.ct-pill.none{visibility:hidden}
.ct-pill img{flex:none;width:34px;height:34px;border-radius:50%;object-fit:contain;background:#f2f2f4;padding:3px}
.ct-pill b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ct-table{margin-top:12px;border-radius:20px;background:var(--paper,#fff);border:1px solid var(--line2,#e5e5e5);overflow:hidden}
.ct-sec{display:flex;align-items:center;gap:9px;padding:16px 16px 8px;font-size:15px;font-weight:800;border-top:8px solid var(--bg,#f3f4f6)}
.ct-sec:first-child{border-top:0}
.ct-sec svg{width:19px;height:19px;color:#e3121b}
.ct-row{padding:11px 16px;border-top:1px solid #0000000d}
.ct-sec+.ct-row{border-top:0}
.ct-lab{font-size:13px;font-weight:700;color:var(--muted,#777);line-height:1.45;padding-right:6px}
.ct-v{min-width:0;font-size:14px;font-weight:600;line-height:1.5;word-break:break-word;color:var(--text,#111)}
.ct-v.none{visibility:hidden}
.ct-row.same .ct-v{color:var(--muted,#888);font-weight:500}
.ct-foot{margin-top:12px;padding:16px 0}
.ct-fcell{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;min-width:0}
.ct-fcell b{font-size:14px}
.ct-fcell:empty{visibility:hidden}
@media (max-width:820px){.ct{--lw:120px;--g:10px}}
/* Phones: the label sits above its row, values stay in their phone's column */
@media (max-width:640px){
  .ct{--g:10px}
  .ct-heads,.ct-mini,.ct-row,.ct-foot{grid-template-columns:repeat(var(--n),minmax(0,1fr))}
  .ct-corner{display:none}
  .ct-card{gap:6px}
  .ct-card select{padding:8px;font-size:12.5px}
  .ct-pic,.ct-empty{max-height:150px;border-radius:14px}
  .ct-name{font-size:14px}
  .ct-price{font-size:13.5px}
  .ct-card .btn,.ct-fcell .btn{font-size:12.5px;padding:9px 6px}
  .ct-mini{padding-right:104px;margin-top:14px}
  .ct-pill{height:38px;padding:3px 8px 3px 3px;gap:6px}
  .ct-pill img{width:30px;height:30px}
  .ct-pill b{font-size:11.5px}
  .ct-table{border-radius:16px;margin-top:10px}
  .ct-sec{padding:14px 12px 4px;font-size:14px}
  .ct-row{padding:9px 12px;row-gap:3px}
  .ct-lab{grid-column:1/-1;font-size:11.5px;padding:0}
  .ct-v{font-size:13px}
}
.ct-mini{padding-right:0!important}.ct-mini .ct-pill:last-child{padding-right:136px}@media (max-width:640px){.ct-mini{top:calc(58px + env(safe-area-inset-top))}.ct-mini .ct-pill:last-child{padding-right:8px}}
.ct-mini{height:0!important;margin:0!important;overflow:visible;opacity:0;transform:translateY(-10px);pointer-events:none;transition:opacity .25s ease,transform .25s ease}.ct-mini.on{opacity:1;transform:none;pointer-events:auto}.ct-mini>*{align-self:start}.ct-heads{margin-bottom:6px}
@media (max-width:900px){.ct-mini{position:fixed!important;top:auto!important;bottom:calc(88px + env(safe-area-inset-bottom));left:24px;right:24px;z-index:39;transform:translateY(10px)}.ct-mini.on{transform:none}.ct-mini .ct-pill:last-child{padding-right:12px}.ct-mini .ct-pill{box-shadow:0 10px 26px -10px #0008}.ct-foot{padding-bottom:70px}}@media (max-width:640px){.ct-mini{left:16px;right:16px;bottom:calc(84px + env(safe-area-inset-bottom))}.ct-mini .ct-pill:last-child{padding-right:8px}}
@media (max-width:900px){.ct .ct-mini{height:auto!important}}
@media (max-width:900px){.ct .ct-mini{left:36px;right:36px}}@media (max-width:640px){.ct .ct-mini{left:26px;right:26px}}

/* Installment provider choice + "ស្នើរំលស់" on the phone page */
.ic-prov{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:6px}
.ic-pv{position:relative;display:flex;gap:12px;align-items:flex-start;padding:14px;border-radius:18px;border:1px solid var(--line2,#e2e2e2);background:var(--paper,#fff);color:inherit;font:inherit;text-align:left;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.ic-pv.sk{height:96px;border:0}
.ic-pv:hover{border-color:#e3121b}
.ic-pv.active{border:2px solid #e3121b;padding:13px;background:#e3121b0d;box-shadow:0 0 0 4px #e3121b30}
.ic-pvi{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#e3121b;color:#fff}
.ic-pvi svg{width:21px;height:21px}
.ic-pvt{min-width:0;display:flex;flex-direction:column;gap:2px}
.ic-pvt b{font-size:15px}
.ic-pvt small{font-size:12px;color:var(--muted,#777);line-height:1.4}
.ic-pvt em{font-style:normal;font-size:12.5px;font-weight:700;color:#e3121b;margin-top:3px}
.ic-pv>i{position:absolute;top:10px;right:10px;width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:#e3121b;color:#fff;opacity:0;transition:opacity .2s}
.ic-pv>i svg{width:12px;height:12px}
.ic-pv.active>i{opacity:1}
.dp-acts{display:flex;gap:8px;flex:1;justify-content:flex-end;flex-wrap:wrap}
.dp-acts .dp-buy{margin-left:0!important}
.dp-inst{padding:12px 18px}
@media (max-width:640px){.ic-prov{grid-template-columns:1fr}.dp-acts{flex:1 1 100%;display:grid;grid-template-columns:1.2fr 1fr}.dp-acts .btn{justify-content:center;padding:11px 8px;font-size:14px}}
.faq-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:-4px 0 14px}.faq-tabs button{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:999px;border:1px solid var(--line2,#ddd);background:var(--paper,#fff);color:inherit;font:inherit;font-size:14px;font-weight:700;cursor:pointer}.faq-tabs button svg{width:17px;height:17px}.faq-tabs button.active{background:#e3121b;border-color:#e3121b;color:#fff;box-shadow:0 8px 18px -10px #e3121b}@media (max-width:640px){.faq-tabs button{flex:1 1 100%;justify-content:center}}
/* Language switcher: small compact pill (drawer + footer) */
.lang-switch{display:inline-flex!important;width:max-content!important;max-width:100%;gap:2px!important;padding:3px!important;border-radius:999px!important;align-self:flex-start}
.lang-switch a{flex:none!important;min-width:0;padding:4px 11px!important;font-size:12px!important;font-weight:700;line-height:1.5!important;border-radius:999px!important;text-align:center}
.drawer .lang-switch{margin:2px 0 10px 4px!important}
.ft .lang-switch{margin:0!important}
@media (max-width:640px){.lang-switch a{padding:3px 10px!important;font-size:11.5px!important}}

/* Hide scrollbars on Add to Home Screen app (pure native app look) */
html.pwa-app, html.pwa-app body, html.pwa-app * {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
html.pwa-app::-webkit-scrollbar,
html.pwa-app body::-webkit-scrollbar,
html.pwa-app *::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  -webkit-appearance: none !important;
}

/* Spec button: gold, lifted (themed .btn.gold already glows) */
.sp-open{margin:14px 0 6px;padding:14px 18px;font-size:15.5px;font-weight:700;border:0;box-shadow:inset 0 1px 0 #fff7,0 10px 26px -6px #0006}
.sp-open svg{width:19px;height:19px}
/* Phones: the spec sheet is a full-width sheet, tall enough to read (an earlier width rule pushed it to one side) */
@media (max-width:640px){dialog.spec-pop{width:100%;max-width:none;margin:auto 0 0;height:92dvh;max-height:92dvh;border-radius:24px 24px 0 0;padding:20px 14px calc(16px + env(safe-area-inset-bottom))}}
/* Scroll lock while a popup / the menu is open; popups keep their own scrolling inside */
html.scroll-lock{overscroll-behavior:none} /* the page is frozen in place by site.js (body position:fixed) */
dialog{overscroll-behavior:contain}

/* Phones: bottom sheets (buy / spec / options) continue down to the real bottom edge in their own colour.
   In iPhone Add-to-Home apps the usable height can be shorter than the screen, which left a black block below the sheet. */
@media (max-width:640px){dialog.buy-pop{box-shadow:0 260px 0 0 var(--paper,#fff),0 -8px 30px #0000002e}}


/* Spec popup: the close button stays pinned at the top-right while the popup scrolls (sticky inside the popup). */
dialog.spec-pop .picker-close{position:sticky;top:0;display:flex;align-items:center;justify-content:center;margin:0 0 -38px auto;z-index:6;background:var(--paper,#fff);box-shadow:0 4px 14px #00000026}

/* ---------- Popups: one calm, modern motion — open and close (site.js delays close() for the exit) ---------- */
@keyframes popIn{from{opacity:0;transform:translateY(14px) scale(.965)}to{opacity:1;transform:none}}
@keyframes popOut{from{opacity:1;transform:none}to{opacity:0;transform:translateY(10px) scale(.975)}}
@keyframes sheetIn{from{transform:translateY(100%)}to{transform:none}}
@keyframes sheetOut{from{transform:none}to{transform:translateY(100%)}}
@keyframes popFadeIn{from{opacity:0}to{opacity:1}}
@keyframes popFadeOut{from{opacity:1}to{opacity:0}}
dialog[open],dialog.picker[open]{animation:popIn .34s cubic-bezier(.22,1,.36,1) both}
dialog[open]::backdrop,dialog.picker[open]::backdrop{animation:popFadeIn .3s ease both}
dialog.img-pop[open]{animation:popFadeIn .28s ease both}
dialog.is-closing[open],dialog.picker.is-closing[open],dialog.img-pop.is-closing[open]{animation:popOut .22s cubic-bezier(.4,0,1,1) both}
dialog.is-closing[open]::backdrop,dialog.picker.is-closing[open]::backdrop{animation:popFadeOut .22s ease both}
@media (max-width:640px){
  dialog.picker.buy-pop[open]{animation:sheetIn .38s cubic-bezier(.22,1,.36,1) both}
  dialog.picker.buy-pop.is-closing[open]{animation:sheetOut .24s cubic-bezier(.4,0,1,1) both}
}
@media (prefers-reduced-motion:reduce){dialog[open],dialog.picker[open],dialog[open]::backdrop,dialog.is-closing[open]{animation:none!important}}

/* The dimmed backdrop reaches past the bottom edge too (iPhone app height can be shorter than the screen) */
dialog::backdrop{inset:0 0 -30vh 0}

/* While a popup / the menu is open: the header with the logo drops back in at the top (sticky — the page does not
   move or shift), so the top of the screen is never see-through. It scrolls away again when the popup closes. */
@keyframes navDrop{from{transform:translateY(-100%)}to{transform:none}}
html.scroll-lock body.scrolled .nav{position:fixed!important;top:env(safe-area-inset-top);left:0;right:0;animation:navDrop .32s cubic-bezier(.22,1,.36,1) both}
html.scroll-lock body.scrolled .nav-actions{position:static;animation:none}
/* the header leaves the page flow while fixed: keep its space so nothing underneath shifts */
html.scroll-lock body.scrolled{padding-top:calc(76px + env(safe-area-inset-top))}
@media (max-width:639px){html.scroll-lock body.scrolled{padding-top:calc(64px + env(safe-area-inset-top))}}

/* Popup / menu open: the dimming starts BELOW the header, so the header (with the logo) stays its true black at the
   top. iPhone apps (iOS 26) take the clock-area colour from the top of the page — a dimmed header made it grey and,
   after closing, see-through. */
html.scroll-lock dialog::backdrop{top:var(--hdr-b,0px)}
body.drawer-open .drawer-overlay{top:var(--hdr-b,0px)}
@media (max-width:639px){dialog.img-pop{margin-top:var(--hdr-b,0px);height:calc(100% - var(--hdr-b,0px))}}

/* Swipes inside a popup never chain to the page behind */
dialog,dialog *{overscroll-behavior:contain}
/* Phone bottom bar: own layer, so iPhone does not misplace it while scrolling */
@media (max-width:639px){.bottombar{-webkit-transform:translateZ(0);transform:translateZ(0);will-change:transform;-webkit-backface-visibility:hidden;backface-visibility:hidden}}
/* New-phones brand bar once it sticks to the top: dark like the header (keeps the clock area dark on iPhone),
   and the brands stop before the floating search / menu buttons */
body.scrolled .brandbar{background:#000;border-bottom-color:#ffffff14}
@media (max-width:820px){body.scrolled .brand-pills{margin-right:0}body.scrolled .bp-wrap{margin-right:124px}}

/* Used phones: hero ends cleanly; the brand bar below it sticks like the new-phones one */
.ub-hero{padding-bottom:22px}
.ub-bar + .zone.tight{padding-top:20px!important}
/* Phones: the guarantee / checked / battery / trade-in line is hidden (too crowded) */
@media (max-width:639px){.ub-badges{display:none!important}.ub-hero{padding-bottom:14px}}

/* App (Add to Home): no rubber-band bounce when dragging past the top / bottom — the page (and the fixed bottom bar
   with it) stays still however hard it is pulled. */
html.pwa-app,html.pwa-app body{overscroll-behavior:none}

/* Phones: bottom sheets (spec, buy, options) always start just below the header that drops in with them */
@media (max-width:640px){dialog.buy-pop{max-height:calc(100% - var(--hdr-b,0px) - 10px)!important}dialog.spec-pop{height:calc(100dvh - var(--hdr-b,0px) - 10px)!important;max-height:calc(100dvh - var(--hdr-b,0px) - 10px)!important}}


/* Game Frame lock: prevent any lateral drag or horizontal scroll */
.game-frame {
  overflow: hidden !important;
  touch-action: none !important;
  user-select: none !important;
}
.game-frame iframe {
  overflow: hidden !important;
  touch-action: none !important;
}

/* installment / trade-in step numbers: sit next to their title (they inherited position:absolute from the big
   decorative card numbers and all four piled up in the top-right corner of the page) */
.ic-step .pn,.tr-step .pn{position:static;top:auto;right:auto;font-family:inherit}
/* Newsroom: category chips + search, "see more" */
.nr-tools{display:flex;align-items:center;gap:12px;margin:0 0 18px;flex-wrap:wrap}
.nr-cats{flex:1 1 420px;padding:2px}
.nr-cats .chip{display:inline-flex;align-items:center;gap:6px}
.nr-cats .chip em{font-style:normal;font-size:12px;min-width:20px;padding:1px 7px;border-radius:99px;background:#0000000f;text-align:center}
.nr-cats .chip.active em{background:#ffffff59}
.nr-search{flex:0 1 280px;min-width:200px}
.nr-more{display:flex;flex-direction:column;align-items:center;gap:8px;margin:26px 0 6px}
.nr-more small{color:var(--muted);font-size:13px}
@media (max-width:639px){.nr-tools{flex-direction:column;align-items:stretch}.nr-cats{flex:none}.nr-search{flex:none;width:100%}}
/* "new or used?" buy popup on phones: full-width bottom sheet like the other buy popups (its desktop width rule
   applied on phones too and left the sheet 24px short, stuck to the left edge) */
@media (max-width:640px){dialog.cond-pop{width:100%;max-width:none}}
/* Newsroom chips: scroll inside their own row on phones (never move the page), pinned badge */
.nr,.nr-tools{min-width:0;max-width:100%}
.nr-cats{max-width:100%;min-width:0;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
@media (max-width:639px){.nr-cats{width:100%}.nr-search{width:100%;min-width:0}}
.post-pic{position:relative}
.nr-pin{position:absolute;top:8px;left:8px;z-index:2;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:15px;background:#fff;box-shadow:0 4px 12px #0003}
.sr-posts{margin-top:34px}
.sr-posts .zone-head h2 small{font-size:15px;color:var(--muted);font-weight:500}
/* phone cards: new vs used must look different at a glance (same model shares one photo) */
.card .pic .tag.new{background:#16a34a;color:#fff;border:0;font-weight:700}
.card .pic .tag.like_new,.card .pic .tag.used{top:auto;left:0;right:0;bottom:0;border-radius:0;border:0;text-align:center;padding:6px 8px;font-size:13px;font-weight:700;letter-spacing:.02em;background:var(--gold);color:var(--wood-3,#111);box-shadow:0 -6px 16px #0000001a}
.card .pic .tag.like_new::before,.card .pic .tag.used::before{content:"♻ "}
@media (max-width:639px){.card .pic .tag.hot{display:none}}
.card .pic .tag.like_new,.card .pic .tag.used{display:block;width:100%;box-sizing:border-box;max-width:none}
/* Newsroom category bar = sticky brand bar (full-width background, arrows) */
.nr-bar{margin:0 0 18px}
.nr-bar::before{content:"";position:absolute;top:0;bottom:0;left:-100vmax;right:-100vmax;background:inherit;border-bottom:inherit;z-index:-1}
.nr-bar .nr-tools{margin:0;padding:10px 0}
.nr-bar .bp-wrap{flex:1 1 420px;min-width:0;max-width:100%}
.nr-bar .nr-cats{flex:1;padding:2px}
@media (max-width:639px){.nr-bar .bp-wrap{flex:none;width:100%}}
/* Newsroom bar: its full-width background must not widen the page; search sits under the bar */
section:has(> .wrap > #news.nr){overflow-x:clip}
.nr-bar .nr-tools{display:block}
.nr-bar .bp-wrap{width:100%}
.nr > .nr-search{display:flex;max-width:420px;margin:0 0 18px}
@media (max-width:639px){.nr > .nr-search{max-width:none;width:100%}}
/* used label v2: neat dark pill (like the green "new" pill) instead of the wide strip; soft plain tint behind used phones */
.card .pic .tag.like_new,.card .pic .tag.used{top:8px;left:8px;right:auto;bottom:auto;width:auto;display:inline-block;border-radius:99px;padding:3px 10px;font-size:12px;font-weight:700;letter-spacing:0;text-align:left;background:#1f1f1f;color:#fff;border:0;box-shadow:0 2px 8px #0000002e}
.card .pic .tag.like_new::before,.card .pic .tag.used::before{content:""}
/* used label v3 = exactly the "new" label, only the colour differs (no frame, shadow or icon) */
.card .pic .tag.like_new,.card .pic .tag.used{top:auto;left:auto;padding:revert-layer;font-size:revert-layer;box-shadow:none;border:0;background:#d97706;color:#fff;font-weight:700}
.card .pic .tag.like_new,.card .pic .tag.used,.card .pic .tag.new{position:absolute;top:8px;left:8px;padding:2px 8px;font-size:11px;border-radius:99px;line-height:1.5;box-shadow:none;border:0}
@media (min-width:640px){.card .pic .tag.like_new,.card .pic .tag.used,.card .pic .tag.new{top:12px;left:12px;padding:3px 10px;font-size:12px}}

/* Newsroom categories use the brand-bar pill (readable on the bar in every state) */
.nr-cats .bpill{padding-left:14px}
@media(max-width:639px){.nr-cats .bpill{padding-left:11px}}

/* floating Newsroom bar: keep categories clear of the floating search + menu buttons */
body.scrolled .nr-bar .nr-tools{padding-right:max(130px,calc((100vw - 1240px) / 2 + 140px))}
@media (max-width:820px){body.scrolled .nr-bar .nr-tools{padding-right:104px}}

/* installment method popup (shop / partner bank) + the one chosen-method card */
.ic-prov:has(.ic-pv-one){grid-template-columns:1fr!important}
.ic-pv-one{cursor:default;align-items:center}
.ic-pv-one .ic-pvt{flex:1}
.ic-pv-one>.btn{flex:none;align-self:center}
@media (max-width:560px){.ic-pv-one{flex-wrap:wrap}.ic-pv-one .ic-pvt{flex:1 1 calc(100% - 60px)}.ic-pv-one>.btn{margin-left:54px}}

/* installment chooser v4: lively cards — gradient icon + highlight box, soft shadow, lift on hover */
dialog.im-pop{--im:#e3121b;--im2:#ff4b3e;--im3:#a80c13;width:min(480px,calc(100% - 24px));max-width:none;max-height:calc(100dvh - 24px);overflow:auto;margin:auto;padding:20px 14px 14px;border:0;border-radius:26px;background:var(--paper,#fff);color:var(--text,#111);box-shadow:0 24px 60px #0005}
.im-pop .picker-close{top:12px;right:12px;width:32px;height:32px;font-size:13px;background:#00000008;border-color:var(--line2,#ddd);color:var(--text,#111);box-shadow:none}
.im-head{padding:0 38px;text-align:center}
dialog.im-pop h2{margin:0;font-size:16.5px;line-height:1.45;text-align:center;color:var(--text,#111);text-shadow:none}
.im-opts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}
.im-opt{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:10px;min-width:0;padding:12px 10px 10px;border:0;border-radius:20px;background:linear-gradient(180deg,color-mix(in srgb,var(--im) 9%,var(--paper,#fff)),var(--paper,#fff) 62%);box-shadow:0 0 0 1px color-mix(in srgb,var(--im) 22%,transparent),0 8px 20px #00000014;color:inherit;font:inherit;text-align:left;cursor:pointer;transition:box-shadow .2s,transform .2s}
.im-opt:focus{outline:none}
.im-opt:hover,.im-opt:focus-visible{transform:translateY(-3px);box-shadow:0 0 0 2px var(--im),0 14px 28px color-mix(in srgb,var(--im) 28%,transparent)}
.im-opt:active{transform:scale(.97)}
.im-top{display:flex;align-items:center;gap:8px}
.im-ic{flex:none;width:30px;height:30px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(145deg,var(--im2),var(--im) 55%,var(--im3));color:#fff;box-shadow:0 5px 12px color-mix(in srgb,var(--im) 38%,transparent)}
.im-ic svg{width:16px;height:16px;stroke-width:2}
.im-top b{font-size:14px;line-height:1.35;font-weight:700}
.im-hero{display:flex;flex-wrap:wrap;align-items:baseline;align-content:center;column-gap:5px;min-height:40px;padding:5px 10px;border-radius:12px;background:linear-gradient(135deg,var(--im2),var(--im) 50%,var(--im3));color:#fff;box-shadow:0 6px 14px color-mix(in srgb,var(--im) 32%,transparent),inset 0 1px 0 #ffffff40}
.im-hero small{font-size:12.5px;line-height:1.45;font-weight:600;color:#fffffff0}
.im-hero b{font-size:17px;line-height:1.3;font-weight:800;color:#fff;text-shadow:0 1px 2px #0003}
.im-hero.txt b{font-size:13.5px;line-height:1.45}
.im-lines{display:grid;gap:6px;padding:0 1px;font-size:12px;line-height:1.5;color:var(--text,#333)}
.im-lines>span{display:flex;gap:6px;align-items:flex-start}
.im-lines svg{flex:none;width:15px;height:15px;margin-top:2px;padding:3px;border-radius:50%;background:color-mix(in srgb,var(--im) 15%,transparent);color:var(--im3);stroke-width:3.2}
.im-go{margin-top:auto;align-self:stretch;display:flex;justify-content:center;align-items:center;gap:5px;padding:8px;border-radius:12px;background:linear-gradient(135deg,var(--im2),var(--im) 55%,var(--im3));color:#fff;font-weight:700;font-size:13px;box-shadow:0 6px 14px color-mix(in srgb,var(--im) 30%,transparent)}
.im-go svg{width:14px;height:14px;transition:transform .2s}
.im-opt:hover .im-go svg{transform:translateX(3px)}
/* phones: taller popup, more air between each text block */
@media (max-width:600px){
  dialog.im-pop{width:calc(100% - 28px)!important;padding:24px 16px 24px!important}
  dialog.im-pop h2{font-size:17px}
  .im-opts{gap:10px;margin-top:22px}
  .im-opt{gap:16px;padding:16px 10px 12px;border-radius:20px}
  .im-hero{min-height:44px}
  .im-lines{gap:6px;padding:10px 1px 6px}
  .im-go{padding:10px}
}
@media (max-width:340px){.im-opts{grid-template-columns:1fr}}

/* opt-pop: a real bottom sheet. phones: the grade / storage / colour popup (installment + trade-in pickers) is a real bottom sheet like the other
   sheets: full width and touching the bottom edge (it slid up from the bottom but stopped as a floating card) */
@media (max-width:640px){dialog.opt-pop{width:100%;max-width:none;margin:auto 0 0;border-radius:24px 24px 0 0;max-height:92%;padding:20px 16px calc(18px + env(safe-area-inset-bottom))}}

/* phone page: ទិញ · គណនារំលស់ · វៃដូរ in one row */
.dp-acts{grid-template-columns:1fr 1fr 1fr!important}
.dp-acts .btn{min-width:0;white-space:nowrap}
@media (max-width:380px){.dp-acts .btn{font-size:13px;padding:11px 4px;gap:4px}.dp-acts .btn svg{width:15px;height:15px}}
/* «វៃដូរ» popup: which old phone? */
.tp-q{display:flex;margin:4px 0 10px}
.tp-brands{margin:0 0 10px;padding-bottom:4px}
.tp-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.tp-row{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:11px 12px;border-radius:14px;border:1px solid var(--line2,#e3e3e3);background:var(--paper,#fff);color:inherit;font:inherit;text-align:left;cursor:pointer}
.tp-row:hover{border-color:var(--gold-2,#b8892f)}
.tp-row b{font-size:14px;line-height:1.35}
.tp-row small{font-size:12px;color:var(--muted,#777)}
.tp-row em{font-style:normal;font-weight:700;color:var(--text,#111)}
.tp-none{grid-column:1/-1;text-align:center;color:var(--muted,#777)}
.tp-note{display:flex;gap:7px;align-items:flex-start;margin:12px 0 0;font-size:12.5px;line-height:1.5;color:var(--muted,#666)}
.tp-note svg{flex:none;width:16px;height:16px;margin-top:2px}
/* trade-in: clean-phone price note */
.tw-clean{display:flex;gap:10px;align-items:flex-start;margin:14px 0;padding:12px 14px;border-radius:14px;background:#f59e0b14;border:1px solid #f59e0b55;font-size:13.5px;line-height:1.55;color:var(--text,#222)}
.tw-clean svg{flex:none;width:20px;height:20px;margin-top:1px;color:#d97706}
.tw-clean b{display:block;margin-bottom:2px}
.tw-clean.sm{margin:10px 0 4px;font-size:13px}

/* trade v2: sheet + page list */
dialog.tp-pop{padding-top:0!important}
.tp-pop .tp-bar{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;align-items:center;margin:0 0 6px;padding:12px 0 8px;background:var(--paper,#fff)}
.tp-pop .tp-bar .picker-close{position:static}
.tp-back{display:inline-flex;align-items:center;gap:6px;padding:7px 12px 7px 9px;border-radius:99px;border:1px solid var(--line2,#ddd);background:var(--paper,#fff);color:inherit;font:inherit;font-size:13.5px;font-weight:600;cursor:pointer}
.tp-back svg{width:16px;height:16px}
.tp-pop .sp-head h2{padding-right:0}
.tp-ph{flex-direction:row!important;align-items:center!important;gap:10px!important}
.tp-ph img{width:44px;height:44px;object-fit:contain;flex:none}
.tp-ph span{display:flex;flex-direction:column;gap:1px;min-width:0}
.tp-tabs{margin:2px 0 10px}
.tp-price{display:flex;flex-direction:column;align-items:center;gap:2px;margin:6px 0 4px;padding:16px;border-radius:18px;background:color-mix(in srgb,var(--gold-2,#b8892f) 10%,transparent)}
.tp-price small{font-size:13px;color:var(--muted,#666)}
.tp-price b{font-size:30px;line-height:1.2}
.tp-acts{display:grid;gap:8px;margin-top:14px}
.tp-acts .btn{justify-content:center;width:100%}
.tp-sum{display:grid;gap:8px;margin-top:6px}
.tp-line{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;padding:12px 14px;border-radius:14px;border:1px solid var(--line2,#e5e5e5)}
.tp-line span{display:flex;flex-direction:column;gap:1px;font-size:12.5px;color:var(--muted,#777);min-width:0}
.tp-line span b{font-size:14.5px;color:var(--text,#111)}
.tp-line em{font-style:normal;font-weight:800;font-size:16px;white-space:nowrap}
.tp-line.minus em{color:#16a34a}
.tp-total{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border-radius:16px;background:var(--text,#111);color:#fff}
.tp-total small{font-size:14px;font-weight:600}
.tp-total b{font-size:24px}
.tp-total.back{background:#16a34a}
.tp-sum .tw-reopt{justify-self:start;margin:-2px 0 2px;border-color:var(--line2,#ddd);background:var(--paper,#fff);color:var(--text,#111)}
.tw2{max-width:760px;margin:0 auto}
.tw-q{display:flex;margin:0 0 10px}
.tw-brands{margin:0 0 12px}
.tw-mlist{display:grid;grid-template-columns:1fr 1fr;gap:8px}
@media (max-width:560px){.tw-mlist{grid-template-columns:1fr}}
.tw-mrow{display:flex;align-items:center;gap:10px;padding:13px 14px;border-radius:16px;border:1px solid var(--line2,#e3e3e3);background:var(--paper,#fff);color:inherit;font:inherit;text-align:left;cursor:pointer}
.tw-mrow:hover{border-color:var(--gold-2,#b8892f)}
.tw-mrow span{flex:1;display:flex;flex-direction:column;min-width:0}
.tw-mrow b{font-size:14.5px}
.tw-mrow small{font-size:12px;color:var(--muted,#777)}
.tw-mrow em{font-style:normal;font-weight:800;font-size:16px}
.tw-mrow>svg{width:16px;height:16px;opacity:.5}
/* card labels: black pill with white text for both «ថ្មី» and «មួយទឹក» */
.card .pic .tag.new,.card .pic .tag.like_new,.card .pic .tag.used{background:#111!important;color:#fff!important;border:0!important}
/* home hero buttons: always one row, side by side, on every screen size */
.hero-cta{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}
.hero-cta .btn{min-width:0;justify-content:center;text-align:center;white-space:normal;line-height:1.3;padding:11px 8px}
@media (max-width:420px){.hero-cta .btn{font-size:13px;gap:5px;padding:10px 6px}.hero-cta .btn svg{width:15px;height:15px;flex:none}}

/* ===== phone menu open: hide the floating search / menu buttons (the menu has its own ✕) ===== */
body.drawer-open .nav-actions,body.drawer-open .nav .icon-btn,body.drawer-open .nav .burger{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .2s,visibility .2s}
/* ===== popups on tablets + computers: one size system (phones keep their bottom sheets) =====
   choosers (installment method, new or used) 500 wide, content height · working popups (buy, trade, grade/storage)
   one 560 × 700 frame, price + buttons at the bottom · spec 880 wide · a popup opened from another hides the one under it */
@media (min-width:641px){
  dialog.buy-pop{width:min(560px,calc(100% - 48px))!important;max-width:none!important;height:min(700px,calc(100dvh - 64px))!important;max-height:none!important;margin:auto!important;border-radius:24px!important;padding:24px!important;box-shadow:0 30px 80px #0006!important}
  dialog.buy-pop[open]{display:flex;flex-direction:column}
  dialog.buy-pop[open]>*{flex-shrink:0}
  dialog.buy-pop .bp-sum{margin-top:auto}
  dialog.tp-pop{padding-top:0!important}
  dialog.tp-pop .tp-acts{margin-top:auto;padding-top:12px}
  dialog.tp-pop .tp-list{grid-template-columns:repeat(3,1fr)}
  dialog.spec-pop{width:min(880px,calc(100% - 48px))!important;height:min(800px,calc(100dvh - 48px))!important}
  dialog.spec-pop[open]{display:block}
  dialog.cond-pop{width:min(500px,calc(100% - 48px))!important;height:auto!important}
  dialog.cond-pop[open]{display:block}
  dialog.im-pop{width:min(520px,calc(100% - 48px))!important}
  dialog.is-under{opacity:0!important;pointer-events:none!important}
  dialog.is-under::backdrop{opacity:0!important}
}

/* ===== computers (≥1200px): main links in the top bar, no phone bottom bar ===== */
.nav-links{display:none}
/* header links only with the full computer layout (side slider beside the tiles, ≥1200px); below that the phone / iPad
   layout keeps the menu button + bottom menu */
@media (min-width:1200px){
  .nav-in{gap:20px}
  .nav-links{display:flex;align-items:center;gap:6px;margin:0 auto 0 12px;min-width:0}
  /* each menu word sits in its own glass frame; the page you are on (or its group) takes the shop colour */
  .nav-links a{padding:7px 13px;border-radius:99px;font-weight:600;font-size:14.5px;line-height:1.3;color:#f1f1f1;white-space:nowrap;border:1px solid #ffffff2b;background:linear-gradient(180deg,#ffffff1c,#ffffff0a);-webkit-backdrop-filter:blur(10px) saturate(1.4);backdrop-filter:blur(10px) saturate(1.4);box-shadow:inset 0 1px 0 #ffffff33,0 2px 8px #0003;transition:background .2s,color .2s,border-color .2s,box-shadow .2s}
  .nav-links a:hover{background:linear-gradient(180deg,#ffffff30,#ffffff14);border-color:#ffffff55;color:#fff}
  .nav-links a.active,.nav-links a.active:hover{background:linear-gradient(180deg,#f5303a,#c90d16);border-color:#ff6a72;color:#fff;box-shadow:inset 0 1px 0 #ffffff55,0 4px 14px #e3121b66}
  body.scrolled .nav-links{display:none}
  .bottombar{display:none!important}
}
/* ===== tablets (iPad / Android tablets, 641–1023px): a layout of their own — not a squeezed computer page
   nor a stretched phone page ===== */
@media (min-width:641px) and (max-width:1023px){
  /* home top: six category tiles in one row, full-width search */
  .hero .hero-cats{max-width:none!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important}
  .hero .hero-cats .cat{padding:14px 6px!important;min-height:0}
  .hero .hero-cats .cat small{display:none}
  .hero .search,#hero-search{max-width:none!important}
  /* product cards: no second «popular» label next to «ថ្មី / មួយទឹក» */
  .card .pic .tag.hot{display:none!important}
  /* used phones list: two columns of rows */
  .u-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .u-list .u-row{margin:0!important;grid-template-columns:76px minmax(0,1fr) auto!important;gap:12px!important;padding:12px!important;align-items:center}
  .u-list .u-row .u-pic{width:76px!important;height:76px!important}
  /* phone page: photo left, details right */
  .detail{grid-template-columns:minmax(0,5fr) minmax(0,6fr)!important;gap:26px!important;align-items:start!important}
  .detail .d-media{max-width:none!important;width:auto!important;margin:0!important}

}
@media (min-width:768px) and (max-width:1023px){
  .zone .grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important}
  .zone .grid .card .info h3,.zone .grid .card h3{font-size:14px}
}
/* tablet used rows: one line of specs, no extra note, so the two columns stay even */
@media (min-width:641px) and (max-width:1023px){.u-list .u-row .u-specs{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.u-list .u-row .u-note{display:none!important}.u-list .u-row h3{font-size:15px}}
/* tablet phone page: photo beside name + price + buttons; grade table, spec button and perks full width below */
@media (min-width:641px) and (max-width:1023px){
  .detail{grid-template-columns:minmax(240px,38%) minmax(0,1fr)!important;column-gap:24px!important;row-gap:16px!important;align-items:start!important}
  .detail .d-media{grid-column:1;grid-row:1 / span 2;position:relative!important;top:auto!important}
  .detail .d-info{display:contents!important}
  .detail .d-head,.detail .d-price{grid-column:2;margin:0!important}
  .detail .d-price{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:12px!important}
  .detail .d-price .dp-acts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%}
  .detail .d-price .dp-acts .btn{padding:11px 6px!important;font-size:14px!important}
  .detail .vs,.detail .sp-open,.detail .perks-mini{grid-column:1 / -1}
}
/* computers: trade-in list wider, three per row */
@media (min-width:1024px){.tw2{max-width:1080px}.tw-mlist{grid-template-columns:repeat(3,minmax(0,1fr))}.tw2 .tw-q{max-width:420px}}

/* ===== category / price chooser popups (tablet + computer): light card like the other popups, tiles 3 × 2 ===== */
@media (min-width:641px){
  dialog.picker:not(.buy-pop):not(.im-pop){width:min(640px,calc(100% - 48px))!important;max-width:none!important;padding:26px 26px 24px!important}
  dialog.picker:not(.buy-pop):not(.im-pop) h2{font-size:21px!important;margin:4px 0 20px!important}
  .picker-cats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;max-width:none!important}
  .picker-cats .cat{padding:20px 10px 18px!important;min-height:0!important;border-radius:18px!important}
  .picker-cats .cat-txt b{white-space:nowrap;font-size:15px}
  .price-choices{gap:14px}
}
/* ===== home buttons «មើលតម្លៃថ្ងៃនេះ» / «ចង់លក់ទូរស័ព្ទ ឬ វៃដូរ?»: same shape and size as the «ស្វែងរក» button
   (pill, 47px, 15px text) — the text always stays on one line, at any width or zoom ===== */
.hero-cta .btn{min-height:47px!important;height:auto!important;padding:11px 16px!important;font-size:15px!important;font-weight:600!important;line-height:1.65!important;border-radius:999px!important;gap:8px!important;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;min-width:0}
.hero-cta .btn svg{width:17px;height:17px;flex:none}
@media (max-width:480px){.hero-cta .btn{font-size:clamp(12px,3.5vw,14.5px)!important;padding:10px 10px!important;gap:5px!important;min-height:43px!important}.hero-cta .btn svg{width:15px;height:15px}}
@media (max-width:340px){.hero-cta .btn svg{display:none}}

/* ===== 821–1199px: home top full width (no squeezed side slider); the wide slider banner shows under it ===== */
@media (min-width:821px) and (max-width:1199px){
  .hero-in{grid-template-columns:1fr!important;gap:0!important}
  .hero-visual{display:none!important}
  .hero .hero-cats{max-width:none!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:12px!important}
  .hero .hero-cats .cat small{display:none}
  .hero .search,#hero-search{max-width:none!important}
  .hs-mobile{display:block;padding:6px 0 26px}
  .hs-mobile .hs{height:330px;border-radius:26px;overflow:hidden;background:radial-gradient(420px 240px at 70% 30%,#e3121b40,transparent 65%),linear-gradient(160deg,#18181b,#050506);border:1px solid #e3121b55;box-shadow:0 14px 34px #00000026}
  .hs-mobile .hs-art>img{width:62%;height:78%;top:47%;transform:translate(-50%,-50%)}
  .hs-mobile .device.front{transform:translateX(-50%) rotate(4deg) scale(.72);top:-30px}
  .hs-mobile .device.back{transform:translateX(-112%) rotate(-8deg) scale(.66);top:-24px}
  .hs-mobile .float{max-width:62%;padding:8px 12px 8px 8px;border-radius:14px;animation:none}
  .hs-mobile .float svg{width:32px;height:32px;padding:7px}
  .hs-mobile .float b{font-size:13px}
  .hs-mobile .float small{font-size:11px}
  .hs-mobile .f1{left:12px;top:14px}
  .hs-mobile .f2{right:12px;left:auto;bottom:34px}
  .hs-mobile .hs-dots{bottom:12px}
  .hs-mobile .hs-dots button{background:#ffffff40}
  .hs-mobile .hs-dots button.active{background:#e3121b}
  .hs-mobile .hs{height:236px}
  .hs-mobile .hs-art{left:auto;right:0;width:46%}
  .hs-mobile .hs-art:before{content:"";position:absolute;left:50%;top:50%;width:150px;height:150px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,#e3121b66,transparent 70%)}
  .hs-mobile .hs-art>img{left:50%;top:50%;width:92%;height:84%;transform:translate(-50%,-50%);filter:drop-shadow(0 16px 20px #00000080)}
  .hs-mobile .device.front{left:58%;top:-46px;transform:translateX(-50%) rotate(4deg) scale(.5)}
  .hs-mobile .device.back{left:58%;top:-40px;transform:translateX(-118%) rotate(-8deg) scale(.46)}
  .hs-mobile .float{position:absolute;max-width:none;background:none!important;box-shadow:none!important;border:0;padding:0;border-radius:0;animation:none!important}
  .hs-mobile .float>svg{display:none}
  .hs-mobile .f1{left:18px;right:46%;top:26px;bottom:auto}
  .hs-mobile .f1 b{display:block;font-size:18px;line-height:1.3;color:#fff;font-weight:800}
  .hs-mobile .f1 small{display:block;margin-top:6px;font-size:12.5px;line-height:1.5;color:#ffffffa6}
  .hs-mobile .f2{left:18px;right:auto;top:auto;bottom:62px}
  .hs-mobile .f2>span{flex-direction:row;align-items:center;gap:6px;padding:5px 11px;border-radius:999px;background:linear-gradient(145deg,#ff3b30,#e3121b 55%,#a80c13);color:#fff}
  .hs-mobile .f2 b{font-size:11.5px;color:#fff;white-space:nowrap}
  .hs-mobile .f2 small{display:none}
  .hs-mobile .hs-more{display:inline-flex;align-items:center;gap:5px;position:absolute;left:18px;bottom:22px;font-size:12.5px;font-weight:700;color:#ff6b63;z-index:2;opacity:0;transition:opacity .45s ease .3s}
  .hs-mobile .hs-more svg{width:14px;height:14px}
  .hs-mobile .hs-slide.active .hs-more{opacity:1}
  .hs-mobile .hs-dots{left:auto;right:18px;transform:none;bottom:24px}
  .hs-mobile .hs{height:300px!important}
}
/* narrow tablets / small windows (641–899px): phone-style 3 × 2 category tiles — six in a row only from 900px */
@media (min-width:641px) and (max-width:899px){.hero .hero-cats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}.hero .hero-cats .cat{padding:16px 8px!important}.hero .hero-cats .cat-txt b{white-space:nowrap}}

/* home category tiles: «ទាំងអស់» tile + extra rows when more than 6 categories */
.hero-cats button.cat-all{appearance:none;-webkit-appearance:none;font:inherit;color:inherit;cursor:pointer;width:100%;text-align:center}
.hero-cats:not(.open) .cat-extra{display:none!important}
.hero-cats.open .cat-extra{animation:catIn .25s ease both}
@keyframes catIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
/* ===== phones turned sideways / short wide screens (tablet UI, but only ~400px tall): compact bottom menu (icons only),
   popups use the whole height ===== */
@media (min-width:641px) and (max-height:520px){
  .bottombar{bottom:8px!important;padding:3px 6px!important;width:auto!important;min-width:300px}
  .bottombar a{padding:6px 0!important;gap:0!important}
  .bottombar a span{display:none!important}
  .bottombar a svg{width:21px;height:21px}
  dialog.buy-pop{height:calc(100dvh - 20px)!important}
  dialog.spec-pop{height:calc(100dvh - 20px)!important}
  dialog.im-pop,dialog.cond-pop,dialog.picker:not(.buy-pop){max-height:calc(100dvh - 20px)!important;overflow:auto}
}
/* ===== very narrow screens (≤360px: folded Galaxy Fold / Flip cover screens, small phones): nothing wider than the screen ===== */
@media (max-width:360px){.hero-in{grid-template-columns:minmax(0,1fr)!important}.hero-copy,.hero-in>*{min-width:0!important}.hero .hero-cats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}.hero .hero-cats .cat{min-width:0!important;padding:10px 3px!important}.hero .hero-cats .cat-ic{width:38px!important;height:38px!important}.hero .hero-cats .cat-txt{min-width:0;max-width:100%}.hero .hero-cats .cat-txt b{font-size:11px!important;line-height:1.35}.hero .search{min-width:0}.hero .search input{min-width:0;font-size:13px}.hero .search .btn{padding:8px 11px!important;font-size:13px!important}.hero-cta{gap:6px!important}.promos,.promo-grid,.zone .wrap>*{min-width:0}.promo{min-width:0!important}.zone-head h2,.section-head h2,.zone h2{font-size:20px!important}}
/* narrow: installment boxes fit the screen */
@media (max-width:360px){.ic,.ic-more{grid-template-columns:minmax(0,1fr)!important}.ic-form,.ic-res,.ic-card{min-width:0!important;max-width:100%}.ic-form,.ic-res{padding-left:12px!important;padding-right:12px!important}}

/* ===== installment chooser on the HOME page: same dark background, title and close button as the other home popups (white cards inside); elsewhere it keeps the white style ===== */
dialog.im-pop.im-home{background:radial-gradient(500px 260px at 100% 0%,#f0192033,transparent 60%),var(--wood)!important;color:#eaebee;border:1px solid #f0192066!important;box-shadow:0 30px 80px #000a,0 0 40px #f0192026!important}
dialog.im-pop.im-home h2{color:var(--gold-1)!important;text-shadow:0 0 14px #f0192066!important}
.im-pop.im-home .picker-close{background:#ffffff10!important;border:1px solid #f0192066!important;color:var(--gold-1)!important;box-shadow:0 0 12px #f0192033!important}
.im-opt{color:var(--text,#111)}
.im-opt .im-lines{color:var(--text,#333)}

/* ===== product photo viewer: centred popup (every screen) — big photo + colour chips with their photo ===== */
#detail .d-media{cursor:zoom-in}
dialog.ph-pop{--ph:#e3121b;width:min(600px,calc(100% - 24px))!important;max-width:none!important;max-height:calc(100dvh - 24px)!important;height:fit-content!important;margin:auto!important;padding:20px 18px 18px!important;border:0!important;border-radius:24px!important;background:var(--paper,#fff)!important;color:var(--text,#111);box-shadow:0 30px 80px #0006!important;overflow:auto}
dialog.ph-pop .picker-close{position:absolute;top:12px;right:12px;width:34px;height:34px;border-radius:50%;background:#00000008;border:1px solid var(--line2,#ddd);color:var(--text,#111);box-shadow:none;cursor:pointer;z-index:2}
.ph-head{padding:0 40px 10px 2px}
.ph-head small{font-size:12px;color:var(--muted,#777);text-transform:uppercase;letter-spacing:.04em}
.ph-head h2{margin:2px 0 0;font-size:19px;line-height:1.35;color:var(--text,#111);text-shadow:none;text-align:left}
.ph-img{position:relative;aspect-ratio:1/1;border-radius:18px;background:#fff;overflow:hidden;box-shadow:inset 0 0 0 1px var(--line,#eee)}
.ph-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:4%}
.ph-lab{display:block;margin:14px 2px 8px;font-size:13px;font-weight:600;color:var(--muted,#666)}
.ph-cols{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:8px}
.ph-c{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 6px 8px;border-radius:14px;border:1.5px solid var(--line2,#e3e3e3);background:var(--paper,#fff);color:inherit;font:inherit;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.ph-c img{width:100%;aspect-ratio:1/1;object-fit:contain;border-radius:10px;background:#fff}
.ph-c span{font-size:11.5px;line-height:1.3;text-align:center;font-weight:600}
.ph-c.noimg{justify-content:center;min-height:44px}
.ph-c:hover{border-color:var(--ph)}
.ph-c.on{border-color:var(--ph);box-shadow:0 0 0 3px color-mix(in srgb,var(--ph) 25%,transparent)}
.ph-one{margin:12px 0 0;text-align:center;font-weight:600}
@media (max-width:640px){dialog.ph-pop{width:calc(100% - 20px)!important;padding:16px 12px 14px!important}.ph-cols{grid-template-columns:repeat(auto-fill,minmax(74px,1fr))}}
/* photo viewer: photo never pushes the colour chips off the screen */
.ph-img{width:min(100%,calc(100dvh - 310px));margin:0 auto}
/* phone page: no perks row («ធានា 18 ខែ · គណនារំលស់ · ទទួលប្តូរទូរស័ព្ទចាស់») — the buttons above already do this */
.detail .perks-mini{display:none!important}
/* ===== JET BLACK: plain dark backgrounds — no stripes or grid (--grain is the first layer of --wood, kept as an empty layer) ===== */
:root{--grain:linear-gradient(transparent,transparent)!important}
.ph-rep{background:linear-gradient(120deg,#0c0c0c,#161616)!important}
/* installment popup: room at the bottom under the cards on every screen */
dialog.im-pop{padding-bottom:24px!important}

dialog.tp-pop{--tpa:#e3121b}
/* ===== trade popup v3: phone card on top, rows with photos, «old ⇄ new» photo cards ===== */
.tp-target{display:flex;align-items:center;gap:12px;margin:0 0 12px;padding:10px 12px;border-radius:16px;background:color-mix(in srgb,var(--tpa) 8%,var(--paper,#fff));box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tpa) 22%,transparent)}
.tp-target .tp-timg{width:54px;height:54px;flex:none;object-fit:contain;border-radius:12px;background:#fff}
.tp-target span{flex:1;min-width:0;display:flex;flex-direction:column;gap:1px}
.tp-target small{font-size:11.5px;font-weight:700;color:var(--tpa);text-transform:uppercase;letter-spacing:.03em}
.tp-target b{font-size:15px;line-height:1.3}
.tp-target i{font-style:normal;font-size:12px;color:var(--muted,#777);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tp-target em{font-style:normal;font-weight:800;font-size:17px;white-space:nowrap}
.tp-pop .sp-head h2{font-size:19px}
.tp-old{flex-direction:row!important;align-items:center!important;gap:10px!important;padding:10px!important}
.tp-old .tp-img{width:46px;height:46px;flex:none;object-fit:contain;border-radius:10px;background:#fff}
.tp-old>span{display:flex;flex-direction:column;gap:1px;min-width:0}
.tp-old b{font-size:13.5px;line-height:1.3}
.tp-old small{font-size:11px;color:var(--muted,#777)}
.tp-old em{font-style:normal;font-weight:800;font-size:15px;color:var(--text,#111)}
.tp-noimg{display:grid;place-items:center;color:var(--muted,#aaa);background:#f3f3f4!important}
.tp-noimg svg{width:20px;height:20px}
.tp-swap{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:6px 0 10px}
.tp-card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:2px;padding:12px 10px 12px;border-radius:18px;background:var(--paper,#fff);box-shadow:0 0 0 1px var(--line2,#e5e5e5),0 8px 18px #0000000f}
.tp-card .tp-cimg{width:100%;max-width:120px;aspect-ratio:1/1;object-fit:contain;margin-bottom:6px;border-radius:12px;background:#fff}
.tp-card small{font-size:11px;font-weight:700;color:var(--muted,#888);text-transform:uppercase;letter-spacing:.03em}
.tp-card b{font-size:14px;line-height:1.35}
.tp-card i{font-style:normal;font-size:11.5px;color:var(--muted,#777);line-height:1.4}
.tp-card em{font-style:normal;font-weight:800;font-size:18px;margin-top:4px}
.tp-mine em{color:#16a34a}
.tp-get{box-shadow:0 0 0 2px var(--tpa),0 10px 22px color-mix(in srgb,var(--tpa) 22%,transparent)}
.tp-arrow{position:absolute;left:50%;top:38%;transform:translate(-50%,-50%);z-index:2;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--tpa);color:#fff;box-shadow:0 4px 12px #0003;border:3px solid var(--paper,#fff)}
.tp-arrow svg{width:16px;height:16px}
.tp-reopt{display:inline-flex;align-items:center;gap:5px;margin-top:8px;padding:6px 12px;border-radius:99px;border:1px solid var(--line2,#ddd);background:var(--paper,#fff);color:var(--text,#111);font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.tp-reopt svg{width:14px;height:14px}
.tp-pop .tp-total{margin:4px 0 2px}
/* ===== header: reversed curve — the page itself is cut to rounded top corners (clip-path: one clean edge, no painted
   corner overlays, sticky bars unaffected); the header colour behind shows in the corners ===== */
#app{position:relative;z-index:1;margin-top:1px;clip-path:inset(0 round 26px 26px 0 0)}
/* header: no line or glow under it — header, the curved corners and the browser bar are one colour */
header.nav{box-shadow:none!important;border-bottom:0!important}
header.nav{background:#000!important}

/* ===== top section of every page: no coloured glow behind the rounded top corners — the first background layer
   (the red / gold radial glow) is switched off, the plain base under it stays ===== */
#app>.hero:first-child,#app>.nb-hero:first-child,#app>.banner:first-child,#app>.ph-hero.ph-acc:first-child,#app>.ph-hero.ph-inst:first-child,#app>.ph-hero.ph-oth:first-child,#app>.ph-hero.ph-trade:first-child,#app>.news-hero:first-child,#app>.ev-hero:first-child{background-size:0 0,auto,auto,auto,auto,auto!important;background-repeat:no-repeat,repeat,repeat,repeat,repeat,repeat!important}
/* top section of every page: no coloured line or glow under it either (same as the header) */
.hero,.banner,.ph-hero,.news-hero,.ev-hero,.ab-hero,.nb-hero,.ub-hero{box-shadow:none!important}
/* pages with a dark top section: the light page colour must not sit behind the rounded top corners — on iPhone it showed through as a thin bright line along the curve. The page colour starts below the corners instead. */
#app:has(>.ph-hero:first-child,>.banner:first-child,>.ab-hero:first-child,>.ev-hero:first-child,>.nb-hero:first-child,>.news-hero:first-child,>.game-stage:first-child),#app:has(>.crumb-bar:first-child):not(:has(#crumb-cat)){background:linear-gradient(to bottom,transparent 30px,var(--bg) 30px)!important}
/* menu drawer open: nothing outside it reacts — the top strip and the header stay visible but cannot be clicked (only the menu button, which closes the drawer) */
body.drawer-open .topbar,body.drawer-open header.nav,body.drawer-open .bottombar{pointer-events:none!important}
body.drawer-open #burger,body.drawer-open .drawer,body.drawer-open .drawer-overlay{pointer-events:auto!important}
/* menu drawer: its head curves down into the list like the site header — the list has rounded top corners, no line or glow under the head */
.drawer{background:#000!important}
.drawer-head{background:#000!important;box-shadow:none!important;border-bottom:0!important}
.drawer-body{background:var(--bg);border-radius:26px 26px 0 0;padding-top:16px!important}
.drawer-foot{background:var(--bg)}
/* menu drawer: its black head is rounded at the top corner on the side that meets the page (top only); the coloured edge line and glow stay */
.drawer{border-top-right-radius:26px;border-bottom-right-radius:26px;overflow:hidden}
/* menu drawer open: the header and the top strip show nothing (plain dark bar), and the layer that closes the drawer covers them too — a tap or click anywhere outside the drawer closes it */
body.drawer-open .topbar>*,body.drawer-open header.nav>*{visibility:hidden!important}
body.drawer-open .topbar{border-color:transparent!important;box-shadow:none!important}
body.drawer-open .drawer-overlay{top:0!important;background:linear-gradient(to bottom,transparent var(--hdr-b,0px),#0b0b0bd9 var(--hdr-b,0px))!important}
/* ===== About page on phones: tidier layout, shop photo shown whole ===== */
@media (max-width:640px){
  .ab-hero{padding:22px 0 44px}
  .ab-hero h1{font-size:30px;margin:4px 0 12px}
  .ab-intro p{font-size:15.5px;line-height:1.75}
  .ab-hero-pic{aspect-ratio:auto;border-radius:22px}           /* the shop photo is square — show all of it, no crop */
  .ab-hero-pic img{height:auto;object-fit:contain;aspect-ratio:1/1}
  .ab-hero-logo{aspect-ratio:1/1;border-radius:22px}
  .ab-stats-in{grid-template-columns:1fr 1fr;border-radius:20px}
  .ab-stats-in div{padding:16px 10px}
  .ab-stats-in b{font-size:22px;white-space:nowrap}
  .ab-stats-in span{font-size:12.5px;line-height:1.4;display:block;margin-top:4px}
  .ab-sec{padding:40px 0 4px}
  .ab-head{margin-bottom:18px}
  .ab-head h2{font-size:24px}
  .ab-story-txt{font-size:15.5px;line-height:1.85}
  .ab-story-txt p:first-child:first-letter{font-size:inherit;float:none;margin:0;line-height:inherit;color:inherit;font-weight:inherit} /* no drop cap: Khmer letters split badly */
  .ab-mv-card{padding:22px 20px;border-radius:20px}
  .ab-mv-card h3{font-size:20px;padding-right:56px}
  .ab-mv-card p{font-size:15px;line-height:1.75}
  .ab-mv-ic{right:18px;top:18px;width:44px;height:44px;border-radius:13px}
  .ab-mv-ic svg{width:22px;height:22px}
  .ab-values{gap:10px}
  .ab-value{display:grid;grid-template-columns:46px 1fr;column-gap:14px;align-items:start;padding:16px 16px 16px 14px;border-radius:18px}
  .ab-value-ic{width:46px;height:46px;margin:0;grid-row:1/3}
  .ab-value-ic svg{width:22px;height:22px}
  .ab-value h3{font-size:16.5px;margin:2px 0 4px}
  .ab-value p{font-size:14.5px;line-height:1.65}
  .ab-owner{grid-template-columns:1fr;gap:18px;padding:18px 18px 22px;border-radius:24px}
  .ab-owner-pic{width:100%;height:auto;aspect-ratio:4/5;border-radius:18px}
  .ab-owner blockquote{margin:0 0 14px;font-size:15.5px;line-height:1.8;text-align:left}
  .ab-owner blockquote:before{font-size:48px;line-height:.5;margin-bottom:6px}
  .ab-owner b{font-size:18px}
  .ab-visit-sec{padding:40px 0 20px}
  .ab-visit{padding:22px 20px;border-radius:22px;gap:16px}
  .ab-visit h2{font-size:22px}
}
/* ===== About page on tablets / computers: the shop photo is shown whole (it is square), no Khmer drop cap, bigger owner photo ===== */
@media (min-width:641px){
  .ab-hero-in{grid-template-columns:1.1fr .9fr;gap:44px}
  .ab-hero-pic{aspect-ratio:1/1;max-width:520px;margin:0 0 0 auto;border-radius:26px}
  .ab-hero-pic img{object-fit:contain;background:#fff}
  .ab-hero-logo{aspect-ratio:1/1;max-width:520px;margin:0 0 0 auto}
  .ab-story-txt p:first-child:first-letter{font-size:inherit;float:none;margin:0;line-height:inherit;color:inherit;font-weight:inherit}
  .ab-owner{grid-template-columns:300px 1fr;gap:40px}
  .ab-owner-pic{width:300px;height:375px;border-radius:22px}
}
@media (min-width:641px) and (max-width:1023px){
  .ab-hero-in{grid-template-columns:1fr;gap:26px}
  .ab-hero-pic,.ab-hero-logo{max-width:460px;margin:0 auto}
  .ab-owner{grid-template-columns:240px 1fr;gap:26px;padding:26px}
  .ab-owner-pic{width:240px;height:300px}
}
/* About page on phones: the intro and the story blocks are justified (their short phrases make the gaps even); the cards keep the normal left alignment */
@media (max-width:640px){.ab-intro p,.ab-story-txt p,.ab-owner blockquote p{text-align:justify}}

/* ===== Contact page (អំពីយើង & ទំនាក់ទំនង): cleaner and easier to read ===== */
.about-card::after{display:none!important}                 /* the big letter was left over from another template */
.about-card p{color:#d9dadd;font-size:15.5px;line-height:1.8;margin:0 0 12px}
.about-card .more{margin-top:8px}
.about-card .checks{margin-top:20px}
.about-card .checks li{font-size:15px;color:#eceef1}
/* contact rows: one joined list with thin lines between rows, instead of seven separate floating boxes */
.info-list{gap:0}
.info-list>.info-row{border-radius:0;box-shadow:none;border:1px solid var(--line);border-top:0;padding:14px 16px;gap:14px;background:var(--paper)}
.info-list>.info-row:first-child{border-top:1px solid var(--line);border-radius:20px 20px 0 0}
.info-list>.info-row:has(+.directions),.info-list>.info-row:last-child{border-radius:0 0 20px 20px}
.info-row .info-ic{width:40px;height:40px;border-radius:12px;background:#e3121b12!important;color:#e3121b!important;box-shadow:none!important}
.info-row .info-ic svg{width:20px;height:20px;filter:none!important}
.info-row small{font-size:12.5px;line-height:1.4}
.info-row b{font-size:15px;line-height:1.55;font-weight:600}
.info-row .mini{background:#111;color:#fff;padding:7px 15px;font-size:13px}
/* how to find the shop: own card under the list; icon sits beside the title, the text uses the full width; the last line (the tip) is boxed */
.info-list>.directions{position:relative;display:block;margin-top:16px;padding:18px;border:1px solid var(--line);border-radius:20px;box-shadow:0 10px 28px #0000000f}
.directions>svg{position:absolute;left:18px;top:18px;width:40px;height:40px;padding:9px;border-radius:12px}
.directions b{display:flex;align-items:center;min-height:40px;padding-left:54px;margin:0 0 12px;font-size:17px}
.directions p{font-size:15px;line-height:1.75;color:#2b2d33;margin:0 0 6px}
.directions p:last-of-type{margin:12px 0 0;padding:12px 14px;border-radius:14px;background:#f4f5f7;border-left:3px solid #e3121b;font-size:14.5px}
.directions .btn{display:flex;justify-content:center;width:100%;margin-top:14px}
@media (min-width:900px){
  .about-card{position:sticky;top:calc(var(--hdr-b,80px) + 18px)}  /* computers: the dark card stays beside the list while scrolling */
  .directions .btn{display:inline-flex;width:auto}
}
/* Contact page on phones: address (with the map button) first, then "how to find the shop", then the other contact rows */
@media (max-width:640px){
  .info-list>.info-row:first-child{order:0;border-radius:20px!important}
  .info-list>.directions{order:1;margin:14px 0}
  .info-list>.info-row:nth-child(2){order:2;border-top:1px solid var(--line);border-radius:20px 20px 0 0}
  .info-list>.info-row:nth-child(n+3){order:3}
}

/* ===== Trade-in list: one card per model, storage sizes as price tiles, series filter ===== */
.tg-sers{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 2px 4px;margin:4px 0 14px;-webkit-overflow-scrolling:touch}
.tg-sers::-webkit-scrollbar{display:none}
.tg-ser{flex:0 0 auto;min-width:46px;padding:8px 15px;border-radius:12px;border:1px solid var(--line);background:var(--paper);color:var(--text);font:inherit;font-size:14px;font-weight:700;cursor:pointer;transition:background .2s,color .2s,border-color .2s,transform .15s}
.tg-ser:hover{border-color:var(--gold-2)}
.tg-ser:active{transform:scale(.96)}
.tg-ser.active{background:linear-gradient(145deg,var(--gold-2),var(--gold-3));border-color:transparent;color:#fff;box-shadow:0 6px 16px color-mix(in srgb,var(--gold-3) 30%,transparent)}
.tw-mlist.tg-list{display:grid;grid-template-columns:1fr;gap:14px;border:0;background:none;box-shadow:none;padding:0}
@media (min-width:700px){.tw-mlist.tg-list{grid-template-columns:1fr 1fr}}
@media (min-width:1100px){.tw-mlist.tg-list{grid-template-columns:repeat(3,1fr)}}
.tg-card{position:relative;padding:16px;border-radius:22px;background:var(--paper);border:1px solid var(--line);box-shadow:0 1px 2px #0000000a,0 8px 24px #0000000d;overflow:hidden;transition:transform .2s,box-shadow .2s}
.tg-card::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--gold-2),var(--gold-3))}
@media (hover:hover){.tg-card:hover{transform:translateY(-2px);box-shadow:0 2px 4px #0000000d,0 16px 34px #00000017}}
.tg-head{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.tg-pic{flex:0 0 64px;width:64px;height:76px;border-radius:16px;display:grid;place-items:center;background:radial-gradient(circle at 50% 35%,#fff,color-mix(in srgb,var(--gold-2) 10%,var(--bg)));overflow:hidden}
.tg-pic img{width:100%;height:100%;object-fit:contain;padding:6px}
.tg-noimg svg{width:28px;height:28px;color:var(--gold-3);opacity:.6}
.tg-ttl{display:flex;flex-direction:column;gap:4px;min-width:0}
.tg-ttl b{font-size:17.5px;line-height:1.3;color:var(--text)}
.tg-ttl small{font-size:13px;color:var(--muted)}
.tg-ttl small em{font-style:normal;font-weight:800;color:var(--gold-3)}
.tg-gbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px}
.tg-gb{display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 6px 9px;border-radius:14px;border:1px solid var(--line);background:var(--bg);color:inherit;font:inherit;cursor:pointer;transition:background .2s,border-color .2s,transform .15s,box-shadow .2s}
.tg-gb span{font-size:12.5px;font-weight:600;color:var(--muted);letter-spacing:.3px}
.tg-gb b{font-size:17px;font-weight:800;color:var(--gold-3);line-height:1.15}
.tg-gb:hover{border-color:var(--gold-2);background:var(--paper);box-shadow:0 6px 16px #00000012}
.tg-gb:active{transform:scale(.96)}
@media (max-width:640px){.tg-card{padding:14px;border-radius:20px}.tg-gbs{grid-template-columns:repeat(3,1fr)}.tg-gb b{font-size:16px}}
/* trade popup: the same model cards, one column in the narrow popup */
.tp-list.tg-in-pop,dialog.tp-pop .tp-list.tg-in-pop{grid-template-columns:1fr;gap:12px}
@media (min-width:900px){.tp-list.tg-in-pop,dialog.tp-pop .tp-list.tg-in-pop{grid-template-columns:1fr 1fr}}
.tg-in-pop .tg-card{padding:14px;border-radius:18px;box-shadow:0 1px 2px #0000000a,0 6px 16px #0000000b}
.tg-in-pop .tg-pic{flex-basis:54px;width:54px;height:64px;border-radius:14px}
.tg-in-pop .tg-ttl b{font-size:16px}
.tg-in-pop .tg-gbs{grid-template-columns:repeat(3,1fr)}
.tp-sers{margin:6px 0 12px}
/* trade-in search: a small icon beside the brand buttons, opens the field */
.tg-bar{display:flex;align-items:center;gap:8px;margin:0 0 6px}
.tg-bar>.tw-brands,.tg-bar>.tp-brandbox{flex:1;min-width:0;margin:0!important}
.tg-bar>.search{display:none;flex:1;margin:0!important}
.tg-bar.open>.search{display:flex}
.tg-bar.open>.tw-brands,.tg-bar.open>.tp-brandbox{display:none!important}
.tg-sbtn{flex:0 0 42px;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;padding:0;border:1px solid var(--line);background:var(--paper);color:var(--text);cursor:pointer;transition:background .2s,border-color .2s}
.tg-sbtn:hover{border-color:var(--gold-2)}
.tg-sbtn svg{width:19px;height:19px}
.tg-sbtn span{display:none;font-size:15px;line-height:1}
.tg-bar.open .tg-sbtn{background:var(--bg)}
.tg-bar.open .tg-sbtn svg{display:none}
.tg-bar.open .tg-sbtn span{display:block}
/* phones and the home-screen app: typing never zooms the page (iPhone zooms text under 16px) */
@media (max-width:1024px),(pointer:coarse){input:not([type=checkbox]):not([type=radio]):not([type=range]),textarea,select{font-size:16px!important}}
/* GB tiles: always 4 per row, so no size drops to a second line (models have at most 4 sizes) */
.tg-gbs,.tg-in-pop .tg-gbs{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px}
@media (max-width:640px){.tg-gb{padding:9px 2px 8px;border-radius:12px}.tg-gb span{font-size:11.5px;letter-spacing:0}.tg-gb b{font-size:15px}}
@media (max-width:360px){.tg-gb b{font-size:13.5px}}
/* popup: one card per row at every width (two were too narrow for 4 price tiles) */
@media (min-width:900px){.tp-list.tg-in-pop,dialog.tp-pop .tp-list.tg-in-pop{grid-template-columns:1fr!important}}
/* price text follows the width of the tile row, so it never spills out of its tile */
.tg-gbs{container-type:inline-size}
.tg-gb{min-width:0;overflow:hidden}
.tg-gb span,.tg-gb b{white-space:nowrap;max-width:100%}
.tg-gb b{font-size:16px;font-size:clamp(12px,4.6cqi,17px)!important}
.tg-gb span{font-size:12px;font-size:clamp(10.5px,3.4cqi,12.5px)!important}
/* ===== popup scrolling: only the popup itself stops the scroll from reaching the page.
   (contain on every element inside made cards / photo boxes / skeletons swallow the swipe or touchpad scroll) ===== */
dialog *{overscroll-behavior:auto}
dialog{overscroll-behavior:contain}
dialog .tg-sers,dialog .brand-pills,dialog .sp-track,dialog .tp-brands{overscroll-behavior-x:contain}
/* skeleton popup while its data loads */
dialog.wait-pop{display:block}
.wait-pop .sk{display:block;background:#0000000d}
.wait-pop .wp-title{height:26px;width:62%;margin:44px 0 18px;border-radius:10px}
.wait-pop .wp-row{height:40px;margin:0 0 12px;border-radius:99px}
.wait-pop .wp-row.short{width:70%}
.wait-pop .wp-card{height:150px;margin:0 0 12px;border-radius:18px}
.im-pop.wait-pop .wp-card{height:120px}
.im-pop.wait-pop .wp-card~.wp-card~.wp-card{display:none}
/* TRC model number under the phone name: small and quiet */
.model-no{display:block;margin:2px 0 6px;font-size:12px;font-weight:600;letter-spacing:.4px;color:var(--muted);opacity:.85}
.sp-head .model-no{margin:0 0 6px}
/* TRC model number badge (replaces «in stock» on the phone page) */
.badges .tag.model{background:var(--bg);color:var(--muted);border:1px solid var(--line);font-weight:600;letter-spacing:.3px}
.u-note.u-model{font-size:12.5px;font-weight:600;letter-spacing:.3px;color:var(--muted)}
/* ===== used list cards on phones: big photo, name + model on top, warranty + grade on one line, price bar with button ===== */
@media (max-width:640px){
#u-list .u-row{grid-template-columns:104px minmax(0,1fr)!important;gap:0 14px!important;padding:14px!important;border-radius:22px!important;border:1px solid var(--line)!important;background:var(--paper)!important;box-shadow:0 1px 2px #0000000a,0 12px 28px -16px #00000038!important;align-items:center!important}
#u-list .u-pic{width:104px!important;height:124px!important;border-radius:18px!important;background:radial-gradient(circle at 50% 35%,#fff,color-mix(in srgb,var(--gold-2) 9%,var(--bg)))!important;align-self:center}
#u-list .u-pic img{width:100%;height:100%;object-fit:contain!important;padding:8px}
#u-list .u-main{display:flex!important;flex-wrap:wrap;align-items:center;gap:7px 8px;min-width:0;padding:0!important}
#u-list .u-main h3{order:1;width:100%;margin:0!important;font-size:17px!important;line-height:1.3}
#u-list .u-main .u-model{order:2;width:100%;margin:-5px 0 0!important;font-size:12px!important;opacity:.9}
#u-list .u-main .u-specs{order:3;width:100%;margin:0!important;font-size:12.5px!important;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#u-list .u-main .u-warr{order:4;margin:0!important;font-size:11.5px!important;padding:4px 9px 4px 7px!important}
#u-list .u-main .u-grade{order:5;margin:0!important;gap:4px!important}
#u-list .u-main .u-grade em{display:none}
#u-list .u-main .ug{width:22px!important;height:22px!important;font-size:11.5px!important;border-radius:7px!important}
#u-list .u-side{grid-column:1/-1!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;margin:12px 0 0!important;padding:10px 10px 10px 16px!important;border:0!important;border-radius:16px!important;background:var(--bg)!important}
#u-list .u-side::before,#u-list .u-side::after{display:none!important}
#u-list .u-side b{display:flex!important;flex-direction:column;align-items:flex-start;gap:1px;margin:0!important;font-size:23px!important;line-height:1.1;color:var(--gold-3)!important}
#u-list .u-side b .pfrom{font-size:11.5px!important;font-weight:600;color:var(--muted)!important;margin:0!important}
#u-list .u-side>small{display:none}
#u-list .u-go{margin:0!important;padding:11px 18px!important;border-radius:14px!important;border:0!important;background:linear-gradient(145deg,var(--gold-2),var(--gold-3))!important;color:#fff!important;font-weight:700;font-size:14px!important;box-shadow:0 8px 18px -8px var(--gold-3)!important}
#u-list .u-go svg{color:#fff!important}
}
/* ===== accessory detail on phones: soft photo, info card over it, price + quantity on one row, feature box, clear buttons ===== */
@media (max-width:640px){
.detail:has(.qty-row){display:block!important}
.detail:has(.qty-row) .d-media{aspect-ratio:auto!important;height:300px!important;max-height:none!important;border-radius:26px!important;background:radial-gradient(circle at 50% 38%,#fff,color-mix(in srgb,var(--gold-2) 8%,var(--bg)))!important;box-shadow:none!important;border:1px solid var(--line)!important}
.detail:has(.qty-row) .d-media img{object-fit:contain!important;padding:26px 20px 40px!important}
.detail:has(.qty-row) .d-info{position:relative;z-index:2;display:grid!important;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:0 12px;margin:-30px 8px 0!important;padding:20px 16px 16px!important;border-radius:24px;background:var(--paper);border:1px solid var(--line);box-shadow:0 14px 34px -18px #00000040}
.detail:has(.qty-row) .d-info>*{grid-column:1/-1;margin-top:0!important}
.detail:has(.qty-row) .d-info>.brand{order:1;font-size:12.5px!important;margin-bottom:2px!important}
.detail:has(.qty-row) .d-info>h1{order:2;font-size:21px!important;line-height:1.3!important;margin:0 0 8px!important}
.detail:has(.qty-row) .d-info>.badges{order:3;margin:0 0 14px!important;gap:6px!important}
.detail:has(.qty-row) .d-info>.badges .tag{font-size:11.5px!important;padding:4px 10px!important}
.detail:has(.qty-row) .badges .tag.in{display:none!important}
.detail:has(.qty-row) .d-info>.d-price{order:4;grid-column:1;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
.detail:has(.qty-row) .d-info>.d-price *{font-size:28px!important;color:var(--gold-3)!important;line-height:1.1}
.detail:has(.qty-row) .d-info>.qty-row{order:5;grid-column:2;margin:0!important;display:flex;align-items:center;gap:0}
.detail:has(.qty-row) .d-info>.qty-row>:not(:last-child):not(.qty){display:none}
.detail:has(.qty-row) .d-info>.check-list{order:6;margin:16px 0 0!important;padding:4px 14px!important;border-radius:16px;background:var(--bg);display:block!important}
.detail:has(.qty-row) .d-info>.check-list li{margin:0!important;padding:10px 0!important;background:none!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;box-shadow:none!important;font-size:14px!important;gap:10px!important}
.detail:has(.qty-row) .d-info>.check-list li:last-child{border-bottom:0!important}
.detail:has(.qty-row) .d-info>.check-list li svg{width:18px!important;height:18px!important;padding:3px;flex:none}
.detail:has(.qty-row) .d-info>.m-actions{order:7;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin:16px 0 0!important}
.detail:has(.qty-row) .d-info>.m-actions>*{width:100%!important;min-height:50px;justify-content:center;margin:0!important;border-radius:15px!important;font-size:14.5px!important;padding:0 8px!important;white-space:nowrap;max-width:none!important;min-width:0!important;overflow:hidden;text-overflow:ellipsis;gap:6px!important}
.detail:has(.qty-row) .d-info>.perks-mini{order:8}
}
@media (max-width:400px){.detail:has(.qty-row) .d-info>.m-actions{grid-template-columns:1fr}}
/* touch screens: no double-tap zoom on taps (a quick second tap was taken as zoom and the button did nothing) */
a,button,[role=button],label,summary,input,select,textarea{touch-action:manipulation}
.drawer-body{overscroll-behavior:contain}
/* menu closing: the fading dark layer and the sliding panel stop catching taps at once (a tap on the menu button
   during the fade hit the layer, so the menu did not open) */
body:not(.drawer-open) .drawer-overlay,body:not(.drawer-open) .drawer{pointer-events:none!important}
/* while the screen turns / folds: no animations, so the header and blocks jump straight to their new places */
html.rotating *,html.rotating *::before,html.rotating *::after{transition:none!important;animation:none!important}
/* ===== footer: full on Home / About; on other pages folded to a shop-info card + round «back to top» button ===== */
.ft-fold{display:none}
body:not(.ft-full) .ft-fold{display:flex;align-items:stretch;gap:10px;margin:0 0 4px}
body:not(.ft-full) footer.ft:not(.ft-open){padding-top:16px!important;padding-bottom:16px}
body:not(.ft-full) footer.ft:not(.ft-open) .wrap>:not(.ft-fold),body:not(.ft-full) footer.ft:not(.ft-open)>.ft-mark{display:none!important}
body:not(.ft-full) .ft-fold{position:relative;justify-content:center;align-items:center;min-height:46px}
.ft-toggle{display:inline-flex;align-items:center;gap:8px;padding:11px 22px;border-radius:99px;border:1px solid color-mix(in srgb,var(--gold-2) 60%,transparent);background:#ffffff08;color:#fff;font:inherit;font-size:14.5px;font-weight:700;cursor:pointer;box-shadow:0 0 18px -6px color-mix(in srgb,var(--gold-2) 60%,transparent);transition:background .2s,transform .15s}
.ft-toggle:hover{background:#ffffff12}
.ft-toggle:active{transform:scale(.97)}
.ft-toggle svg{width:16px;height:16px;color:var(--gold-2);transform:rotate(90deg);transition:transform .25s}
footer.ft.ft-open .ft-toggle svg{transform:rotate(-90deg)}
footer.ft.ft-open .ft-fold{margin-bottom:22px}
.ft-up{position:absolute;right:0;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;display:grid;place-items:center;padding:0;border:1px solid #ffffff26;background:transparent;color:#fff;cursor:pointer;transition:background .2s}
.ft-up:hover{background:#ffffff12}
.ft-up svg{width:18px;height:18px;transform:rotate(-90deg)}
/* page ↔ footer: a soft glow instead of a coloured line */
footer.ft{border-top:0!important;box-shadow:0 -10px 30px -8px color-mix(in srgb,var(--gold-2) 55%,transparent),0 -1px 0 color-mix(in srgb,var(--gold-2) 18%,transparent)!important}
/* folded footer: leave room for the floating bottom bar so the shop-info card is never under it */
@media (max-width:1199px){body:not(.ft-full) footer.ft:not(.ft-open){padding-bottom:104px!important}}
@media (min-width:641px) and (max-height:520px){body:not(.ft-full) footer.ft:not(.ft-open){padding-bottom:70px!important}}
/* footer: short address + «details» button (full address and map are on the contact page) */
.ft-visit .ft-addr{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;color:inherit;text-decoration:none}
.ft-visit .ft-addr>svg{flex:none}
.ft-visit .ft-addr span{flex:1;min-width:0}
.ft-visit .ft-addr em{display:inline-flex;align-items:center;gap:5px;padding:6px 12px;border-radius:99px;border:1px solid color-mix(in srgb,var(--gold-2) 55%,transparent);font-style:normal;font-size:12.5px;font-weight:700;color:#fff;white-space:nowrap}
.ft-visit .ft-addr em svg{width:14px;height:14px;color:var(--gold-2)}
.ft-visit .ft-addr:hover em{background:#ffffff12}

/* no «back to top» buttons in the footer */
.ft-up,.ft-bottom .ft-top{display:none!important}
/* page ↔ footer seam curves like the header: corner pieces in the footer colour round off the page's bottom corners;
   the soft glow follows the curve */
.ft-curve{position:relative;height:0;z-index:2;pointer-events:none}
.ft-curve::before,.ft-curve::after{content:"";position:absolute;bottom:0;width:30px;height:30px}
.ft-curve::before{left:0;background:radial-gradient(circle at 100% 0,transparent 29.5px,var(--wood-1) 30px)}
.ft-curve::after{right:0;background:radial-gradient(circle at 0 0,transparent 29.5px,var(--wood-2) 30px)}

/* ===== footer on phones: centred brand, «visit the shop» card with even rows, centred language + © ===== */
.ft-visit .ft-addr>svg{width:17px!important;height:17px!important;flex:none}
@media (max-width:1199px){
footer.ft .ft-main{display:flex!important;flex-direction:column;gap:22px!important;padding-top:6px;margin-top:12px!important;max-width:620px;margin-left:auto!important;margin-right:auto!important}
footer.ft .ft-bottom{max-width:620px;margin-left:auto;margin-right:auto}
footer.ft .ft-brand{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}
footer.ft .ft-brand>p{margin:0!important;font-size:14px;line-height:1.6;color:#ffffffb3;max-width:300px}
footer.ft .ft-social{justify-content:center;gap:10px!important;margin:2px 0 0!important}
footer.ft .ft-social a{width:44px!important;height:44px!important}
footer.ft .ft-visit{gap:0!important;padding:6px 16px 16px;border-radius:22px;background:#ffffff08;border:1px solid #ffffff14}
footer.ft .ft-visit h4{margin:12px 0 6px!important;font-size:15px!important;letter-spacing:0!important;color:#fff!important;text-transform:none}
footer.ft .ft-visit>a,footer.ft .ft-visit>span{display:flex!important;align-items:center;gap:12px!important;width:100%!important;box-sizing:border-box;margin:0!important;padding:12px 0!important;border-bottom:1px solid #ffffff12;font-size:14.5px!important;line-height:1.45;color:#e8e8ea!important;font-weight:500}
footer.ft .ft-visit>a>svg,footer.ft .ft-visit>span>svg{flex:none;width:34px!important;height:34px!important;padding:8px;border-radius:11px;background:color-mix(in srgb,var(--gold-2) 16%,transparent);color:var(--gold-2)}
footer.ft .ft-visit .ft-addr{flex-wrap:nowrap!important}
footer.ft .ft-visit .ft-addr span{flex:1;min-width:0}
footer.ft .ft-visit .ft-addr em{padding:6px 11px!important;font-size:12px!important}
footer.ft .ft-visit .ft-addr em svg{width:13px!important;height:13px!important;padding:0!important;background:none!important}
footer.ft .ft-visit .ft-phone{font-size:16px!important;font-weight:700;letter-spacing:.3px}
footer.ft .ft-visit .ft-link{justify-content:center;margin-top:14px!important;padding:12px!important;border:0!important;border-radius:14px;background:linear-gradient(145deg,var(--gold-2),var(--gold-3));color:#fff!important;font-weight:700;font-size:14.5px!important}
footer.ft .ft-visit .ft-link svg{width:16px!important;height:16px!important;padding:0!important;background:none!important;color:#fff!important}
footer.ft .ft-visit>:nth-last-child(2){border-bottom:0}
footer.ft .ft-bottom{flex-direction:column-reverse!important;align-items:center!important;gap:12px!important;text-align:center;padding:18px 0 16px!important}
footer.ft .ft-bottom>span{font-size:12.5px}
footer.ft .ft-bottom .lang-switch{align-self:center!important;margin:0 auto!important}
footer.ft>.ft-mark{opacity:.5}
}

/* the footer's own head is rounded (the page above stays square); the corner pieces under the page are no longer used */
/* footer head curves inward (dark rises at both sides), the reverse of a rounded footer top */
.ft-curve::before,.ft-curve::after{width:30px;height:30px}
/* short pages (few items): the content area fills the screen, so the folded footer stays at the bottom instead of
   rising to the middle */
body:not(.ft-full) #app{min-height:calc(100vh - 260px);min-height:calc(100dvh - 260px)}
@media (max-width:640px){body:not(.ft-full) #app{min-height:calc(100vh - 236px);min-height:calc(100dvh - 236px)}}
@media (min-width:641px) and (max-height:520px){body:not(.ft-full) #app{min-height:calc(100dvh - 200px)}}
/* ===== footer head is the curve: the footer itself has rounded top corners; a strip in the page colour sits behind
   them, and one glow follows the curve (no straight line, no corner pieces) ===== */
.ft-curve{display:block!important;position:relative;z-index:0;height:30px;margin-bottom:-30px;background:var(--bg)}
.ft-curve::before,.ft-curve::after{display:none!important;content:none!important}
footer.ft{position:relative;z-index:1;border-radius:30px 30px 0 0!important;border-top:0!important;
  box-shadow:0 -8px 24px -12px color-mix(in srgb,var(--gold-2) 70%,transparent)!important}
/* ===== footer head arches up over the bottom of the page (like the dark around the header's corners):
   dark corners curve up at both sides; one thin glow runs along the curve and the top edge without a break ===== */
.ft-curve{display:block!important;position:relative;z-index:2;height:0!important;margin:0!important;background:none!important}
.ft-curve::before,.ft-curve::after{display:block!important;content:""!important;position:absolute;bottom:0;width:30px;height:30px;filter:none!important}
.ft-curve::before{left:0;background:radial-gradient(circle at 100% 0,transparent 29px,color-mix(in srgb,var(--gold-2) 75%,transparent) 30px,var(--wood-1) 33px)!important}
.ft-curve::after{right:0;background:radial-gradient(circle at 0 0,transparent 29px,color-mix(in srgb,var(--gold-2) 75%,transparent) 30px,var(--wood-2) 33px)!important}
footer.ft{border-radius:0!important;box-shadow:inset 0 3px 3px -2px color-mix(in srgb,var(--gold-2) 75%,transparent)!important}
/* footer curve: no line, no glow (same clean-up as the header curve); the corner pieces overlap the footer by 1px so
   no hairline of page colour shows at the join */
.ft-curve::before,.ft-curve::after{bottom:-1px!important;height:31px!important}
.ft-curve::before{background:radial-gradient(circle at 100% 0,transparent 29.5px,var(--wood-2) 30px)!important}
.ft-curve::after{background:radial-gradient(circle at 0 0,transparent 29.5px,var(--wood-2) 30px)!important}
footer.ft{box-shadow:none!important;border-top:0!important}
/* the top of the footer starts in the same solid colour as the corner pieces, then fades into its texture: no seam */
footer.ft::before{content:"";position:absolute;left:0;right:0;top:0;height:56px;z-index:-1;pointer-events:none;background:linear-gradient(to bottom,var(--wood-2) 0,var(--wood-2) 6px,transparent 100%)}
/* page ↔ footer: the page often ends on a fraction of a pixel, which left a faint light line along the seam just past
   the corners (same as the old header line). The footer now covers the page's last pixel row. */
footer.ft{margin-top:-1px!important}
/* ===== footer on computers: compact and modern — one help bar on top, then brand | why-us (2×2) | visit card side by
   side, then a slim bottom row; no giant background name ===== */
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
footer.ft{padding-top:40px!important}
footer.ft .wrap{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1.1fr);grid-template-areas:"fold fold fold" "cta cta cta" "brand trust visit" "bottom bottom bottom";gap:0 32px!important;align-items:start}
footer.ft .ft-fold{grid-area:fold}
footer.ft .ft-cta{grid-area:cta;margin:0 0 30px!important;padding:18px 22px!important;border-radius:22px;background:linear-gradient(120deg,color-mix(in srgb,var(--gold-2) 16%,#ffffff05),#ffffff05 60%);border:1px solid #ffffff14;display:flex;align-items:center;justify-content:space-between;gap:20px}
footer.ft .ft-cta h3{margin:2px 0 0!important;font-size:19px!important}
footer.ft .ft-cta .btn{padding:11px 20px!important;font-size:14.5px!important}
footer.ft .ft-main{display:contents!important}
footer.ft .ft-brand{grid-area:brand;display:flex;flex-direction:column;gap:14px;margin:0 0 28px}
footer.ft .ft-brand>p{margin:0!important;font-size:14px;line-height:1.6;color:#ffffffa8}
footer.ft .ft-social{gap:10px!important;margin:0!important}
footer.ft .ft-social a{width:40px!important;height:40px!important}
footer.ft .ft-trust{grid-area:trust;display:grid!important;grid-template-columns:1fr 1fr;gap:12px!important;margin:0 0 28px!important;padding:0!important;border:0!important}
footer.ft .ft-trust>div{display:flex;align-items:center;gap:12px;margin:0!important;padding:14px!important;border-radius:16px;background:#ffffff06;border:1px solid #ffffff12}
footer.ft .ft-trust>div>svg{flex:none;width:36px;height:36px;padding:8px;border-radius:11px;background:color-mix(in srgb,var(--gold-2) 16%,transparent);color:var(--gold-2)}
footer.ft .ft-trust b{display:block;font-size:14px;color:#fff;line-height:1.35}
footer.ft .ft-trust small{display:block;font-size:12.5px;color:#ffffff99;line-height:1.45}
footer.ft .ft-visit{grid-area:visit;display:flex!important;flex-direction:column;gap:0!important;margin:0 0 28px;padding:6px 16px 14px;border-radius:20px;background:#ffffff06;border:1px solid #ffffff12}
footer.ft .ft-visit h4{margin:12px 0 4px!important;font-size:15px!important;letter-spacing:0!important;color:#fff!important;text-transform:none}
footer.ft .ft-visit>a,footer.ft .ft-visit>span{display:flex!important;align-items:center;gap:11px!important;width:100%;margin:0!important;padding:9px 0!important;border-bottom:1px solid #ffffff10;font-size:14px!important;color:#e8e8ea!important}
footer.ft .ft-visit>a>svg,footer.ft .ft-visit>span>svg{flex:none;width:30px!important;height:30px!important;padding:7px;border-radius:9px;background:color-mix(in srgb,var(--gold-2) 16%,transparent);color:var(--gold-2)}
footer.ft .ft-visit .ft-addr{flex-wrap:nowrap!important}
footer.ft .ft-visit .ft-addr span{flex:1;min-width:0}
footer.ft .ft-visit .ft-addr em{padding:5px 11px!important;font-size:12px!important}
footer.ft .ft-visit .ft-addr em svg{width:13px!important;height:13px!important;padding:0!important;background:none!important}
footer.ft .ft-visit .ft-phone{font-weight:700;letter-spacing:.3px}
footer.ft .ft-visit .ft-link{border-bottom:0!important;padding-bottom:2px!important;color:var(--gold-2)!important;font-weight:700}
footer.ft .ft-visit .ft-link svg{width:15px!important;height:15px!important;padding:0!important;background:none!important;color:inherit!important}
footer.ft .ft-bottom{grid-area:bottom;padding:16px 0 18px!important;border-top:1px solid #ffffff12!important}
footer.ft>.ft-mark{display:none!important}
}
/* ===== footer on computers: about a quarter of the screen — one row (brand | shop info | contact buttons) and a slim
   bottom row. The «need help?» title and the four «why us» cards are left out here. ===== */
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
footer.ft{padding-top:28px!important}
footer.ft .wrap{grid-template-columns:auto minmax(0,1fr) auto!important;grid-template-areas:"fold fold fold" "brand visit cta" "bottom bottom bottom"!important;gap:0 48px!important;align-items:center!important}
footer.ft .ft-trust,footer.ft .ft-cta-txt,footer.ft .ft-visit h4,footer.ft .ft-visit .ft-link{display:none!important}
footer.ft .ft-cta{margin:0 0 22px!important;padding:0!important;border:0!important;background:none!important}
footer.ft .ft-cta-act{display:flex;flex-direction:column;gap:10px}
footer.ft .ft-cta .btn{justify-content:center;min-width:190px}
footer.ft .ft-brand{margin:0 0 22px!important;gap:10px!important}
footer.ft .ft-brand>p{display:none!important}
footer.ft .ft-social a{width:36px!important;height:36px!important}
footer.ft .ft-visit{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 28px!important;margin:0 0 22px!important;padding:16px 20px!important}
footer.ft .ft-visit>a,footer.ft .ft-visit>span{border-bottom:0!important;padding:7px 0!important}
footer.ft .ft-bottom{padding:12px 0 14px!important}
}
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
footer.ft{padding-top:22px!important;padding-bottom:0!important}
footer.ft .ft-cta,footer.ft .ft-brand,footer.ft .ft-visit{margin-bottom:16px!important}
footer.ft .ft-visit{padding:10px 18px!important;gap:0 28px!important}
footer.ft .ft-visit>a,footer.ft .ft-visit>span{padding:5px 0!important}
footer.ft .ft-cta .btn{padding:9px 18px!important}
footer.ft .ft-bottom{padding:10px 0 12px!important}
footer.ft .logo-mark .eagle{max-height:52px}
}
/* ===== footer on computers v3: roomier (≈ +20%), blocks of different sizes — brand column | address + hours cards |
   two phone cards | big contact buttons; slim bottom row ===== */
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
footer.ft{padding-top:34px!important;padding-bottom:0!important}
footer.ft .wrap{grid-template-areas:none!important;grid-template-columns:minmax(0,1.05fr) minmax(0,1.55fr) minmax(0,.95fr) auto!important;grid-template-rows:auto auto auto auto;gap:14px 22px!important;align-items:stretch!important}
footer.ft .ft-fold{grid-column:1/-1!important;grid-row:1!important}
footer.ft .ft-visit{display:contents!important}
footer.ft .ft-brand{grid-column:1!important;grid-row:2/4!important;margin:0!important;gap:12px!important;justify-content:center}
footer.ft .ft-brand>p{display:block!important;margin:0!important;font-size:13.5px;line-height:1.6;color:#ffffffa0;max-width:260px}
footer.ft .ft-brand .logo-mark .eagle{max-height:none}
footer.ft .ft-social a{width:38px!important;height:38px!important}
footer.ft .ft-visit>a,footer.ft .ft-visit>span{display:flex!important;align-items:center;gap:12px!important;margin:0!important;padding:14px 16px!important;border:1px solid #ffffff12!important;border-radius:16px;background:#ffffff06;font-size:14.5px!important;color:#e8e8ea!important}
footer.ft .ft-visit>a>svg,footer.ft .ft-visit>span>svg{width:34px!important;height:34px!important;padding:8px}
footer.ft .ft-visit .ft-addr{grid-column:2!important;grid-row:2!important}
footer.ft .ft-visit>span{grid-column:2!important;grid-row:3!important}
footer.ft .ft-visit>a.ft-phone:nth-of-type(2){grid-column:3!important;grid-row:2!important}
footer.ft .ft-visit>a.ft-phone:nth-of-type(3){grid-column:3!important;grid-row:3!important}
footer.ft .ft-visit .ft-phone{font-size:17px!important;font-weight:800;letter-spacing:.4px}
footer.ft .ft-visit .ft-phone:hover,footer.ft .ft-visit .ft-addr:hover{border-color:color-mix(in srgb,var(--gold-2) 50%,transparent)!important}
footer.ft .ft-cta{grid-column:4!important;grid-row:2/4!important;margin:0!important;display:flex!important;align-items:stretch}
footer.ft .ft-cta-act{display:flex!important;flex-direction:column;justify-content:center;gap:12px;width:100%}
footer.ft .ft-cta .btn{min-width:210px;padding:14px 22px!important;font-size:15px!important;border-radius:16px!important}
footer.ft .ft-bottom{grid-column:1/-1!important;grid-row:4!important;margin-top:10px;padding:12px 0 14px!important}
}
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
footer.ft{padding-top:28px!important}
footer.ft .ft-visit>a,footer.ft .ft-visit>span{padding:11px 16px!important}
footer.ft .ft-cta .btn{padding:12px 22px!important}
footer.ft .ft-bottom{margin-top:4px}
}
/* computer footer: the call button repeated the phone card next to it — only Telegram stays on the right */
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
footer.ft .ft-cta .btn[href^="tel:"]{display:none!important}
footer.ft .ft-cta .btn{padding:16px 26px!important;font-size:15.5px!important}
}
/* ===== footer menu: glass buttons like the header menu, current page in the shop colour ===== */
.ft-nav{display:none!important}
@media (min-width:1200px) and (hover:hover) and (pointer:fine){footer.ft .ft-nav{display:flex!important;flex-wrap:wrap;gap:8px}}
.ft-nav a{display:inline-flex;align-items:center;padding:8px 15px;border-radius:99px;font-size:13.5px;font-weight:600;line-height:1.3;color:#ffffffd9!important;text-decoration:none;white-space:nowrap;border:1px solid #ffffff2b;background:linear-gradient(180deg,#ffffff1c,#ffffff0a);-webkit-backdrop-filter:blur(10px) saturate(1.4);backdrop-filter:blur(10px) saturate(1.4);box-shadow:inset 0 1px 0 #ffffff33,0 2px 8px #0003;transition:background .2s,border-color .2s,color .2s}
.ft-nav a:hover{background:linear-gradient(180deg,#ffffff30,#ffffff14);border-color:#ffffff55;color:#fff!important}
.ft-nav a.active{background:linear-gradient(145deg,var(--gold-2),var(--gold-3));border-color:transparent;color:#fff!important;box-shadow:0 6px 16px -6px var(--gold-3)}
/* computers: menu row across the top, then brand | address + hours | phones | Telegram, then the bottom row */
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
footer.ft .ft-nav{grid-column:1/-1!important;grid-row:2!important;justify-content:center;margin:0 0 10px;padding:0 0 18px;border-bottom:1px solid #ffffff10}
footer.ft .ft-brand{grid-row:3/5!important}
footer.ft .ft-visit .ft-addr{grid-row:3!important}
footer.ft .ft-visit>span{grid-row:4!important}
footer.ft .ft-visit>a.ft-phone:nth-of-type(2){grid-row:3!important}
footer.ft .ft-visit>a.ft-phone:nth-of-type(3){grid-row:4!important}
footer.ft .ft-cta{grid-row:3/5!important}
footer.ft .ft-bottom{grid-row:5!important}
}
/* ===== computer footer: calmer info — no boxes, small icons in the shop colour, plain light text; Telegram as a glass
   button like the menu (no red glow) ===== */
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
footer.ft .wrap{row-gap:6px!important}
footer.ft .ft-nav{margin-bottom:18px!important}
footer.ft .ft-visit>a,footer.ft .ft-visit>span{border:0!important;background:none!important;border-radius:0!important;padding:8px 0!important;gap:10px!important;font-size:14.5px!important;font-weight:500!important;color:#d9dadd!important;box-shadow:none!important}
footer.ft .ft-visit>a>svg,footer.ft .ft-visit>span>svg{width:18px!important;height:18px!important;padding:0!important;border-radius:0!important;background:none!important;color:var(--gold-2)!important;opacity:.9}
footer.ft .ft-visit .ft-phone{font-size:16px!important;font-weight:700!important;color:#fff!important;letter-spacing:.3px}
footer.ft .ft-visit .ft-phone:hover,footer.ft .ft-visit .ft-addr:hover{color:#fff!important}
footer.ft .ft-visit .ft-addr em{background:none!important;border:1px solid #ffffff2b!important;color:#ffffffcc!important;font-weight:600!important;padding:4px 11px!important}
footer.ft .ft-visit .ft-addr:hover em{border-color:color-mix(in srgb,var(--gold-2) 60%,transparent)!important;color:#fff!important}
footer.ft .ft-visit .ft-addr span{flex:0 1 auto!important}
footer.ft .ft-cta-act{justify-content:center}
footer.ft .ft-cta .btn[href*="t.me"],footer.ft .ft-cta .btn.gold{background:linear-gradient(180deg,#ffffff1c,#ffffff0a)!important;border:1px solid #ffffff2b!important;color:#fff!important;box-shadow:inset 0 1px 0 #ffffff33,0 2px 8px #0003!important;padding:12px 24px!important;font-size:15px!important;font-weight:700}
footer.ft .ft-cta .btn[href*="t.me"] svg,footer.ft .ft-cta .btn.gold svg{color:var(--gold-2)}
footer.ft .ft-cta .btn[href*="t.me"]:hover,footer.ft .ft-cta .btn.gold:hover{border-color:color-mix(in srgb,var(--gold-2) 60%,transparent)!important;background:linear-gradient(180deg,#ffffff26,#ffffff10)!important}
}
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
footer.ft .ft-visit .ft-addr,footer.ft .ft-visit>a.ft-phone:nth-of-type(2){align-self:end!important}
footer.ft .ft-visit>span,footer.ft .ft-visit>a.ft-phone:nth-of-type(3){align-self:start!important}
footer.ft .ft-cta{box-shadow:none!important;background:none!important;border:0!important;align-self:center!important}
footer.ft .ft-cta::before,footer.ft .ft-cta::after{display:none!important}
}
/* ===== computer footer: shop info as ONE calm bar — four sections split by thin lines, each with a small grey label
   and a white value (location · opening hours · phone numbers · chat) ===== */
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
footer.ft .wrap{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr) minmax(0,1.35fr) minmax(0,.9fr) minmax(0,.8fr)!important;column-gap:0!important;row-gap:0!important}
footer.ft .ft-nav{grid-row:2!important;margin-bottom:24px!important}
footer.ft .ft-brand{grid-column:1!important;grid-row:3/5!important;padding-right:28px;align-self:center!important}
footer.ft .ft-visit .ft-addr{grid-column:2!important;grid-row:3/5!important;align-self:stretch!important}
footer.ft .ft-visit>span{grid-column:3!important;grid-row:3/5!important;align-self:stretch!important}
footer.ft .ft-visit>a.ft-phone:nth-of-type(2){grid-column:4!important;grid-row:3!important}
footer.ft .ft-visit>a.ft-phone:nth-of-type(3){grid-column:4!important;grid-row:4!important}
footer.ft .ft-cta{grid-column:5!important;grid-row:3/5!important;align-self:stretch!important}
footer.ft .ft-bottom{grid-row:5!important;margin-top:24px!important}
footer.ft .ft-visit .ft-addr,footer.ft .ft-visit>span,footer.ft .ft-visit>a.ft-phone,footer.ft .ft-cta{align-self:stretch!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;gap:6px!important;margin:0!important;padding:18px 22px!important;background:#ffffff07!important;border:0!important;border-top:1px solid #ffffff12!important;border-bottom:1px solid #ffffff12!important;border-left:1px solid #ffffff10!important;border-radius:0!important;box-shadow:none!important;font-size:15px!important;font-weight:600!important;color:#f1f1f3!important}
footer.ft .ft-visit .ft-addr{border-left:1px solid #ffffff12!important;border-radius:18px 0 0 18px!important}
footer.ft .ft-cta{border-right:1px solid #ffffff12!important;border-radius:0 18px 18px 0!important}
footer.ft .ft-visit>a.ft-phone:nth-of-type(2){align-self:stretch!important;justify-content:flex-end!important;padding-bottom:3px!important;border-bottom:0!important}
footer.ft .ft-visit>a.ft-phone:nth-of-type(3){align-self:stretch!important;justify-content:flex-start!important;padding-top:3px!important;border-top:0!important;border-left:1px solid #ffffff10!important}
footer.ft .ft-visit .ft-addr>svg,footer.ft .ft-visit>span>svg,footer.ft .ft-visit>a.ft-phone>svg,footer.ft .ft-cta .btn svg{display:none!important}
footer.ft .ft-visit .ft-addr::before,footer.ft .ft-visit>span::before,footer.ft .ft-visit>a.ft-phone:nth-of-type(2)::before,footer.ft .ft-cta::before{display:block!important;font-size:12px;font-weight:500;color:#ffffff80;line-height:1.3}
footer.ft .ft-visit .ft-addr::before{content:"ទីតាំងហាង"}
footer.ft .ft-visit>span::before{content:"ម៉ោងបើក"}
footer.ft .ft-visit>a.ft-phone:nth-of-type(2)::before{content:"លេខទូរស័ព្ទ"}
footer.ft .ft-cta::before{content:"ឆាតជាមួយយើង"}
:lang(en) footer.ft .ft-visit .ft-addr::before{content:"Shop location"}
:lang(en) footer.ft .ft-visit>span::before{content:"Opening hours"}
:lang(en) footer.ft .ft-visit>a.ft-phone:nth-of-type(2)::before{content:"Phone"}
:lang(en) footer.ft .ft-cta::before{content:"Chat with us"}
:lang(zh) footer.ft .ft-visit .ft-addr::before{content:"门店地址"}
:lang(zh) footer.ft .ft-visit>span::before{content:"营业时间"}
:lang(zh) footer.ft .ft-visit>a.ft-phone:nth-of-type(2)::before{content:"电话"}
:lang(zh) footer.ft .ft-cta::before{content:"在线咨询"}
footer.ft .ft-visit .ft-addr{flex-wrap:nowrap!important}
footer.ft .ft-visit .ft-addr span{flex:none!important}
footer.ft .ft-visit .ft-addr em{margin-top:2px;padding:3px 10px!important;font-size:12px!important;border:1px solid #ffffff2b!important;background:none!important;color:#ffffffcc!important}
footer.ft .ft-visit .ft-addr em svg{display:inline-block!important;width:12px!important;height:12px!important}
footer.ft .ft-visit>a.ft-phone{font-size:15.5px!important;font-weight:700!important;letter-spacing:.3px}
footer.ft .ft-visit .ft-addr:hover,footer.ft .ft-visit>a.ft-phone:hover{background:#ffffff0d!important}
footer.ft .ft-cta-act{display:block!important;width:auto}
footer.ft .ft-cta .btn[href*="t.me"],footer.ft .ft-cta .btn.gold{min-width:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;font-size:15px!important;font-weight:700;color:#fff!important;border-radius:0!important}
footer.ft .ft-cta .btn[href*="t.me"]::after,footer.ft .ft-cta .btn.gold::after{content:" →";color:var(--gold-2)}
footer.ft .ft-cta:hover{background:#ffffff0d!important}
}
/* computer footer: one phone number only, kept in the same «contact» block as Telegram (phone above, Telegram below) */
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
footer.ft .wrap{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr) minmax(0,1.4fr) minmax(0,1fr)!important}
footer.ft .ft-visit>a.ft-phone:nth-of-type(3){display:none!important}
footer.ft .ft-visit>a.ft-phone:nth-of-type(2){grid-column:4!important;grid-row:3!important;border-right:1px solid #ffffff12!important;border-radius:0 18px 0 0!important}
footer.ft .ft-cta{grid-column:4!important;grid-row:4!important;border-left:1px solid #ffffff10!important;border-top:0!important;border-radius:0 0 18px 0!important;justify-content:flex-start!important;padding-top:6px!important}
footer.ft .ft-cta::before{display:none!important;content:none!important}
footer.ft .ft-visit>a.ft-phone:nth-of-type(2)::before{content:"ទំនាក់ទំនង"!important}
:lang(en) footer.ft .ft-visit>a.ft-phone:nth-of-type(2)::before{content:"Contact"!important}
:lang(zh) footer.ft .ft-visit>a.ft-phone:nth-of-type(2)::before{content:"联系我们"!important}
}
/* ===== computer footer — option A (centred): original logo + tagline + social icons, glass menu buttons, one row of
   glass buttons (address · phone · Telegram), then © and a glass language switch ===== */
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
footer.ft{padding-top:34px!important}
footer.ft .wrap{display:grid!important;grid-template-columns:1fr auto auto auto 1fr!important;grid-template-areas:none!important;column-gap:12px!important;row-gap:0!important;justify-items:center!important;align-items:center!important}
footer.ft .ft-fold{grid-column:1/-1!important;grid-row:1!important}
footer.ft .ft-brand{grid-column:1/-1!important;grid-row:2!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center;padding:0!important;margin:0 0 22px!important;gap:10px!important}
footer.ft .ft-brand>p{display:block!important;max-width:none!important;text-align:center;margin:0!important}
footer.ft .ft-social{justify-content:center!important}
footer.ft .ft-nav{grid-column:1/-1!important;grid-row:3!important;justify-content:center!important;border-bottom:0!important;padding:0!important;margin:0 0 14px!important}
footer.ft .ft-visit .ft-addr{grid-column:2!important;grid-row:4!important}
footer.ft .ft-visit>a.ft-phone:nth-of-type(2){grid-column:3!important;grid-row:4!important}
footer.ft .ft-cta{grid-column:4!important;grid-row:4!important;padding:0!important;margin:0!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;align-self:center!important;display:block!important}
footer.ft .ft-cta-act{display:block!important;width:auto!important}
footer.ft .ft-visit>span,footer.ft .ft-visit>a.ft-phone:nth-of-type(3),footer.ft .ft-visit .ft-link,footer.ft .ft-visit h4{display:none!important}
footer.ft .ft-bottom{grid-column:1/-1!important;grid-row:5!important;justify-self:stretch!important;margin-top:26px!important;padding:14px 0 16px!important;border-top:1px solid #ffffff12!important}
footer.ft .ft-visit .ft-addr,footer.ft .ft-visit>a.ft-phone:nth-of-type(2),footer.ft .ft-cta .btn[href*="t.me"],footer.ft .ft-cta .btn.gold{display:inline-flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:center!important;align-self:center!important;gap:8px!important;width:auto!important;min-width:0!important;margin:0!important;padding:10px 20px!important;border-radius:99px!important;border:1px solid #ffffff2b!important;background:linear-gradient(180deg,#ffffff1c,#ffffff0a)!important;-webkit-backdrop-filter:blur(10px) saturate(1.4);backdrop-filter:blur(10px) saturate(1.4);box-shadow:inset 0 1px 0 #ffffff33,0 2px 8px #0003!important;font-size:14.5px!important;font-weight:700!important;letter-spacing:.2px;color:#fff!important;text-decoration:none}
footer.ft .ft-visit .ft-addr:hover,footer.ft .ft-visit>a.ft-phone:nth-of-type(2):hover,footer.ft .ft-cta .btn[href*="t.me"]:hover,footer.ft .ft-cta .btn.gold:hover{border-color:color-mix(in srgb,var(--gold-2) 65%,transparent)!important;background:linear-gradient(180deg,#ffffff2a,#ffffff12)!important}
footer.ft .ft-visit .ft-addr>svg,footer.ft .ft-visit>a.ft-phone:nth-of-type(2)>svg,footer.ft .ft-cta .btn[href*="t.me"] svg,footer.ft .ft-cta .btn.gold svg{display:inline-block!important;width:17px!important;height:17px!important;padding:0!important;border-radius:0!important;background:none!important;color:var(--gold-2)!important;opacity:1}
footer.ft .ft-visit .ft-addr::before,footer.ft .ft-visit>a.ft-phone:nth-of-type(2)::before,footer.ft .ft-cta::before,footer.ft .ft-cta .btn::after{content:none!important;display:none!important}
footer.ft .ft-visit .ft-addr>span,footer.ft .ft-visit .ft-addr>em{display:none!important}
footer.ft .ft-visit .ft-addr::after{content:"អាសយដ្ឋាន"}
:lang(en) footer.ft .ft-visit .ft-addr::after{content:"Address"}
:lang(zh) footer.ft .ft-visit .ft-addr::after{content:"地址"}
footer.ft .ft-bottom .lang-switch{padding:3px!important;border-radius:99px!important;border:1px solid #ffffff2b!important;background:linear-gradient(180deg,#ffffff1c,#ffffff0a)!important;-webkit-backdrop-filter:blur(10px) saturate(1.4);backdrop-filter:blur(10px) saturate(1.4);box-shadow:inset 0 1px 0 #ffffff33,0 2px 8px #0003!important}
}
/* ===== policy pages ===== */
.lg-doc{max-width:820px}
.lg-intro{margin:0 0 8px;font-size:16.5px;line-height:1.85;color:var(--text)}
.lg-sec{padding:20px 0 6px;border-top:1px solid var(--line)}
.lg-sec h2{margin:0 0 10px;font-size:18.5px;line-height:1.4}
.lg-sec p{margin:0 0 10px;font-size:15.5px;line-height:1.85;color:var(--muted)}
.lg-more{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 6px}
.lg-more a{display:inline-flex;align-items:center;gap:6px;padding:10px 16px;border-radius:99px;border:1px solid var(--line);background:var(--paper);color:var(--text);font-weight:700;font-size:14px;text-decoration:none}
.lg-more a svg{width:15px;height:15px;color:var(--gold-3)}
.lg-more a:hover{border-color:var(--gold-2)}
/* ===== footer: © opens the copyright page; policy links sit in one more fold ===== */
.ft-copy{color:inherit!important;text-decoration:none}
.ft-copy:hover{text-decoration:underline}
.ft-legal-btn{display:inline-flex;align-items:center;gap:6px;padding:6px 13px;border-radius:99px;border:1px solid #ffffff2b;background:linear-gradient(180deg,#ffffff1c,#ffffff0a);box-shadow:inset 0 1px 0 #ffffff33;color:#ffffffd9;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer}
.ft-legal-btn svg{width:13px;height:13px;color:var(--gold-2);transform:rotate(90deg);transition:transform .25s}
.ft-legal-btn[aria-expanded="true"] svg{transform:rotate(-90deg)}
.ft-legal{display:none;flex-wrap:wrap;justify-content:center;gap:8px;padding:2px 0 18px}
.ft-legal.open{display:flex}
.ft-legal a{display:inline-flex;padding:8px 14px;border-radius:99px;border:1px solid #ffffff2b;background:linear-gradient(180deg,#ffffff1c,#ffffff0a);box-shadow:inset 0 1px 0 #ffffff33,0 2px 8px #0003;color:#ffffffd9!important;font-size:13px;font-weight:600;text-decoration:none}
.ft-legal a:hover{border-color:color-mix(in srgb,var(--gold-2) 65%,transparent);color:#fff!important}
@media (min-width:1200px) and (hover:hover) and (pointer:fine){footer.ft .ft-legal{grid-column:1/-1!important;grid-row:6!important;justify-self:center!important}}

/* footer fold under the footer: on phones / tablets it holds the whole menu + the policy pages, 3 per row;
   on computers (menu row already shown) only the policy pages */
.ft-legal-btn .lb-d{display:none}
.ft-legal.open{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;max-width:560px;margin:0 auto}
.ft-legal a{justify-content:center;align-items:center;text-align:center;min-height:44px;padding:8px 6px!important;border-radius:14px!important;font-size:12.5px!important;line-height:1.35;white-space:normal}
.ft-legal a.lg-p{border-color:color-mix(in srgb,var(--gold-2) 40%,transparent)}
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
  .ft-legal-btn .lb-m,.ft-legal a.lg-m{display:none!important}
  .ft-legal-btn .lb-d{display:inline}
  footer.ft .ft-legal.open{grid-template-columns:repeat(3,auto);justify-content:center;max-width:none}
  .ft-legal a{border-radius:99px!important;padding:8px 16px!important;min-height:0}
}

/* shop email in the footer: a row like the phones on phones / tablets; on computers a glass button next to the others */
@media (min-width:1200px) and (hover:hover) and (pointer:fine){
footer.ft .wrap{grid-template-columns:1fr auto auto auto auto 1fr!important}
footer.ft .ft-visit .ft-addr{grid-column:2!important}
footer.ft .ft-visit>a.ft-phone:nth-of-type(2){grid-column:3!important}
footer.ft .ft-visit>a.ft-mail{grid-column:4!important;grid-row:4!important}
footer.ft .ft-cta{grid-column:5!important}
footer.ft:not(:has(.ft-mail)) .wrap{grid-template-columns:1fr auto auto auto 1fr!important}
footer.ft:not(:has(.ft-mail)) .ft-cta{grid-column:4!important}
footer.ft .ft-visit>a.ft-mail{display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;align-self:center!important;gap:8px!important;width:auto!important;margin:0!important;padding:10px 20px!important;border-radius:99px!important;border:1px solid #ffffff2b!important;background:linear-gradient(180deg,#ffffff1c,#ffffff0a)!important;box-shadow:inset 0 1px 0 #ffffff33,0 2px 8px #0003!important;font-size:14.5px!important;font-weight:700!important;color:#fff!important}
footer.ft .ft-visit>a.ft-mail:hover{border-color:color-mix(in srgb,var(--gold-2) 65%,transparent)!important}
footer.ft .ft-visit>a.ft-mail>svg{display:inline-block!important;width:17px!important;height:17px!important;padding:0!important;background:none!important;color:var(--gold-2)!important}
footer.ft .ft-visit>a.ft-mail::before{content:none!important}
}

/* Newsroom: «related in our shop» links under an article */
.post-links{margin:28px 0 6px;padding:18px 18px 12px;border-radius:var(--r);background:var(--paper);border:1px solid var(--line)}
.post-links h3{margin:0 0 4px;font-size:16px}
.post-links a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-radius:12px;background:#fff;border:1px solid var(--line);margin-top:8px;font-weight:700;color:#202020;text-decoration:none}
.post-links a svg{width:16px;height:16px;flex:none;color:var(--gold-ink)}
.post-links a:hover{border-color:var(--gold)}
/* common questions at the bottom of the used-phones and trade-in pages */
.pg-faq-zone{padding-top:0!important}
.pg-faq-zone .faq{margin-top:4px}
#pg-faq:empty{display:none}

/* used phones: price table under the list — closed until tapped */
.ptable{background:var(--paper);border:1px solid var(--line);border-radius:var(--r);overflow:hidden;margin:0 0 22px}
.ptable[hidden]{display:none}
.ptable summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:12px;padding:14px 54px 14px 14px;position:relative;font-weight:800;font-size:15.5px;line-height:1.35}
.ptable summary::-webkit-details-marker{display:none}
.ptable summary::after{content:"+";position:absolute;right:16px;top:50%;transform:translateY(-50%);width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#e3e5e9;color:var(--gold-ink);font-size:18px}
.ptable[open] summary::after{content:"–";background:var(--gold);color:#fff}
.pt-ic{flex:none;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--gold);color:#fff}
.pt-ic svg{width:19px;height:19px}
.pt-t small{display:block;font-weight:500;color:#666;font-size:12px;margin-top:2px}
.pt-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.ptable table{width:100%;border-collapse:collapse;font-size:13px}
.ptable thead th{background:var(--wood-3,#0b0b0c);color:#fff;padding:10px 8px;font-weight:700;text-align:left;white-space:nowrap}
.ptable th.g,.ptable td.pr{text-align:right}
.ptable td{padding:9px 8px;border-top:1px solid #eee;white-space:nowrap;color:#202020}
.ptable tr.first td{border-top:1px solid #d6d6da}
.ptable td.m{font-weight:800;white-space:normal;min-width:118px}
.ptable td.m a{color:inherit;text-decoration:none}
.ptable td.pr{font-weight:700;font-variant-numeric:tabular-nums}
.ptable td.pr small{font-weight:500;color:#666}
.ptable td:first-child,.ptable th:first-child{padding-left:14px}
.ptable td:last-child,.ptable th:last-child{padding-right:14px}
.pt-foot{margin:0;padding:10px 14px;border-top:1px solid #eee;font-size:12px;color:#666}
@media (min-width:1200px){.ptable table{font-size:14px}}

/* price tables + questions on new phones / accessory / repair / trade-in */
.pg-extra{padding-top:8px;padding-bottom:40px}
.pg-extra .faq{margin-top:4px}
.acc-ptable,.rep-ptable,.tw-ptable{margin-top:26px}
.ptable td.pr small{font-size:11px}
.acc-ptable td.m,.rep-ptable td.m{min-width:96px;color:var(--gold-ink)}
.acc-ptable td:nth-child(2),.rep-ptable td:nth-child(2){white-space:normal}
.acc-ptable td:nth-child(2) a,.rep-ptable td:nth-child(2) a,.ptable td a{color:inherit;text-decoration:none}

/* trade-in: brand row + series row stay at the top while the model list scrolls.
   Stuck: brand row black like the header (keeps the iPhone status bar black), series row clear frosted glass. */
body:has(.tw-stick){overflow-x:clip}
.tw-stick{position:sticky;top:76px;z-index:21;background:var(--bg,#f3f4f5);box-shadow:0 0 0 100vmax var(--bg,#f3f4f5);clip-path:inset(0 -100vmax);padding-top:10px;margin-top:-10px}
.tw-stick2{z-index:20;top:calc(76px + var(--twb-h,58px));padding-top:0;margin-top:0}
@media (max-width:639px){.tw-stick{top:64px}.tw-stick2{top:calc(64px + var(--twb-h,58px))}}
body.scrolled .tw-stick{top:0}
body.scrolled .tw-stick2{top:var(--twb-h,58px)}
.tw-stick2 + .tw-mlist{margin-top:8px}
.tw-stick.stuck:not(.tw-stick2){background:#000;box-shadow:0 0 0 100vmax #000;padding-top:12px;padding-bottom:6px}
.tw-stick.stuck .tg-bar{margin-bottom:0;padding-right:max(0px,calc(150px - (100vw - 1080px) / 2))}
@media (max-width:1023px){.tw-stick.stuck .tg-bar{padding-right:112px}}
.tw-stick.stuck .tg-sbtn{display:none}
.tw-stick.stuck .bpill:not(.active){background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.22);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.14)}
.tw-stick2.stuck{background:transparent;box-shadow:none;clip-path:none}
.tw-stick2.stuck::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:calc(50% - 50vw);right:calc(50% - 50vw);background:rgba(246,246,248,.5);-webkit-backdrop-filter:blur(18px) saturate(1.7);backdrop-filter:blur(18px) saturate(1.7);border-bottom:1px solid rgba(255,255,255,.65);box-shadow:0 8px 22px rgba(0,0,0,.07)}
.tw-stick2.stuck .tg-ser:not(.active){background:rgba(255,255,255,.38);border-color:rgba(255,255,255,.8);color:#111;box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 2px 10px rgba(0,0,0,.06)}
/* scroll arrows on the brand and series rows (centred on the buttons) */
.tg-bar>.tw-bpw{flex:1;min-width:0;margin:0}
.tg-bar.open>.tw-bpw{display:none!important}
.tw-stick .bp-wrap,.tw-stick .brand-pills{margin-right:0!important}
.tw-spw{flex:none;padding:0}
.tw-spw .tg-sers{margin:4px 0 8px}
.tw-spw.more-r .tg-sers{-webkit-mask-image:linear-gradient(90deg,#000 84%,transparent);mask-image:linear-gradient(90deg,#000 84%,transparent)}
.tw-spw.more-l .tg-sers{-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%);mask-image:linear-gradient(90deg,transparent,#000 12%)}
.tw-spw.more-l.more-r .tg-sers{-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 84%,transparent);mask-image:linear-gradient(90deg,transparent,#000 12%,#000 84%,transparent)}
.tw-stick .bp-arrow{top:calc(50% - 2px)}
.tw-stick .tw-bpw .bp-arrow{top:calc(50% - 7px)}
/* series row stuck on phones / tablets: runs to the screen edges */
@media (max-width:1023px){
.tw-stick2.stuck .tw-spw{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.tw-stick2.stuck .tw-spw .tg-sers{padding-left:16px;padding-right:16px}
.tw-stick2.stuck .tw-spw .bp-arrow.prev{left:6px}
.tw-stick2.stuck .tw-spw .bp-arrow.next{right:6px}
}
.tw-stick2.stuck{padding-top:6px}

/* trade popup (from a phone page or the trade-in page): brand + series rows stay at the top of the sheet,
   just under the back / close bar — clear glass, with scroll arrows */
.tp-pop .tp-stick{position:sticky;top:var(--tpb-h,56px);z-index:2;margin:0 -20px;padding:4px 20px 2px;background:rgba(255,255,255,.72);-webkit-backdrop-filter:blur(16px) saturate(1.6);backdrop-filter:blur(16px) saturate(1.6)}
@media (max-width:640px){.tp-pop .tp-stick{margin:0 -16px;padding:4px 16px 2px}}
.tp-pop .tp-stick .tg-sers{margin:4px 0 8px}
.tp-pop .bp-wrap,.tp-pop .brand-pills{margin-right:0!important}
.tp-pop .tp-brandbox .tp-aw{min-width:0}
.tp-aw.more-r .tg-sers{-webkit-mask-image:linear-gradient(90deg,#000 84%,transparent);mask-image:linear-gradient(90deg,#000 84%,transparent)}
.tp-aw.more-l .tg-sers{-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%);mask-image:linear-gradient(90deg,transparent,#000 12%)}
.tp-aw.more-l.more-r .tg-sers{-webkit-mask-image:linear-gradient(90deg,transparent,#000 12%,#000 84%,transparent);mask-image:linear-gradient(90deg,transparent,#000 12%,#000 84%,transparent)}
.tp-pop .tp-aw .bp-arrow{top:calc(50% - 2px)}
