/* Elitmobi — ported from the Claude Design prototype (Elitmobi Site.dc.html). Breakpoints match its resp(): <640 mobile, <1024 tablet. */

:root {
  --brand: #8E03A4; --brand-hover: #7A0290;
  --bg: #FFFFFF; --surface: #FFFFFF; --soft: #F6F4F7; --border: #DEDEDE;
  --text: #2D2A2A; --body: #3F3F3F; --muted: #777777; --accent: #8E03A4; --logo-mobi: #3F3F3F;
  --phone: #E3DEE7; --phone-edge: #D6CFDB; --chip-bg: #F6EBF8; --chip-text: #8E03A4;
  --ok-bg: #E6F5EC; --ok-text: #1B7A45; --warn-bg: #FFF3DF; --warn-text: #8A5300; --warn-border: #F3D9A8;
  --dis-bg: #EDEAEF; --dis-text: #A9A3AD; --grid-line: #E4E0E8; --head-shadow: 0 4px 18px rgba(45,42,42,.06);
  --hero-bg: #1B1420; --hero-border: #1B1420; --hero-text: #FFFFFF; --hero-muted: #C4BACB;
  --hero-chip: rgba(255,255,255,.09); --hero-chip-border: rgba(255,255,255,.22);
  --sel-bg: #F6EBF8; --sel-border: #8E03A4; --idle-border: #DEDEDE; --idle-ring: #CFC9D3; --idle-bg: #FFFFFF;
  --tile-apple: #17121B; --tile-apple-border: #17121B;
  --img-blend: normal;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --brand-hover: #A013B8;
  --bg: #0E0B11; --surface: #17121B; --soft: #17121B; --border: #2E2535;
  --text: #F2EEF4; --body: #D8D1DD; --muted: #A79EAD; --accent: #C77DDB; --logo-mobi: #F2EEF4;
  --phone: #2B2331; --phone-edge: #332A3A; --chip-bg: #3A1F44; --chip-text: #E3BDF0;
  --ok-bg: #152B1F; --ok-text: #7BE0A8; --warn-bg: #33260F; --warn-text: #FFC96B; --warn-border: #4A3718;
  --dis-bg: #1C1620; --dis-text: #6B6271; --grid-line: #231C29; --head-shadow: none;
  --hero-bg: #17121B; --hero-border: #2E2535; --hero-text: #F2EEF4; --hero-muted: #A79EAD;
  --hero-chip: #211A26; --hero-chip-border: #3A3040;
  --sel-bg: #2A1B31; --sel-border: #C77DDB; --idle-border: #2E2535; --idle-ring: #4A404F; --idle-bg: #17121B;
  --tile-apple: #1E1724; --tile-apple-border: #2E2535;
  --img-blend: normal;
  color-scheme: dark;
}

html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
* { box-sizing: border-box; }
body { font-family: 'Noto Sans Georgian', system-ui, sans-serif; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); }
body > main { flex: 1 0 auto; }   /* sticky footer: main takes the free height on short pages */
body > .site-footer { flex-shrink: 0; }
input, textarea, button, select { font-family: inherit; }
button { cursor: pointer; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.num { font-variant-numeric: tabular-nums; }
.pretty { text-wrap: pretty; }
@keyframes emFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.fade { animation: emFade .28s ease; }
.hide-mob { display: flex; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Layout ─────────────────────────────────────────── */
.wrap { max-width: 1320px; margin: 0 auto; }
.page { max-width: 1320px; margin: 0 auto; padding: 22px 20px 70px; display: flex; flex-direction: column; animation: emFade .28s ease; }
.page-home { gap: 52px; }
.page-shop { gap: 24px; }
.page-product { gap: 34px; padding-bottom: 100px; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--accent); text-transform: uppercase; }
.h1 { margin: 0; font-size: 36px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; text-wrap: pretty; }
.h2 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.022em; line-height: 1.2; text-wrap: pretty; }
.muted { color: var(--muted); }
.link-strong { font-size: 14.5px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.link-strong:hover { text-decoration: underline; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); text-decoration: none; }
.crumbs span:last-child { color: var(--text); }
.split { display: grid; grid-template-columns: minmax(240px,1fr) minmax(0,2.2fr); gap: 30px; align-items: start; }
.sticky { position: sticky; top: 170px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 600; padding: 14px 24px; border-radius: 11px; border: 0; text-decoration: none; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #FFFFFF; }
.btn-primary:hover { background: var(--brand-hover); color: #FFFFFF; }
.btn-outline { background: transparent; border: 1.5px solid var(--brand); color: var(--accent); padding: 13px 22px; }
.btn-outline:hover { background: var(--chip-bg); color: var(--accent); }
.btn-ghost { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--brand); color: var(--accent); }
.chip { font-size: 13px; font-weight: 600; border-radius: 999px; padding: 9px 16px; background: var(--soft); color: var(--text); border: 1px solid var(--border); text-decoration: none; display: inline-block; }
.chip:hover { text-decoration: none; border-color: var(--brand); color: var(--accent); }
.chip.on { background: var(--brand); color: #FFFFFF; border-color: var(--brand); }
.sort-chip { font-size: 13px; font-weight: 600; border-radius: 10px; padding: 10px 15px; background: var(--surface); color: var(--text); border: 1px solid var(--border); text-decoration: none; }
.sort-chip:hover { text-decoration: none; border-color: var(--brand); }
.sort-chip.on { background: var(--chip-bg); color: var(--accent); border-color: var(--brand); }
.badge { font-size: 11.5px; font-weight: 600; border-radius: 8px; padding: 6px 9px; width: fit-content; }
.badge-ok { color: var(--ok-text); background: var(--ok-bg); }
.badge-chip { color: var(--chip-text); background: var(--chip-bg); }
.badge-warn { color: var(--warn-text); background: var(--warn-bg); }
.off { position: absolute; top: 11px; left: 11px; background: #FFA91F; color: #2D2A2A; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 5px 10px; }

/* ── Header ─────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--head-shadow); }
.topstrip { background: var(--soft); border-bottom: 1px solid var(--border); }
.topstrip .wrap { padding: 7px 20px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; justify-content: space-between; font-size: 12.5px; color: var(--muted); }
.topstrip .grp { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.topstrip a { color: var(--muted); }
.head-main { padding: 16px 20px; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; }
.logo { font-size: 25px; font-weight: 700; letter-spacing: -.024em; line-height: 1; white-space: nowrap; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo .l1 { color: var(--accent); } .logo .l2 { color: var(--logo-mobi); }
.search { flex: 1 1 440px; min-width: 0; position: relative; }
.search-box { display: flex; align-items: center; gap: 12px; height: 54px; border: 1.5px solid var(--border); background: var(--soft); border-radius: 14px; padding: 0 6px 0 16px; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.search.focus .search-box { border-color: var(--brand); background: var(--surface); box-shadow: 0 0 0 4px rgba(142,3,164,.12); }
.search-icon { color: var(--muted); display: flex; flex: none; background: none; border: 0; padding: 0; }
.search.focus .search-icon { color: var(--accent); }
.search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 15.5px; color: var(--text); }
.search input::-webkit-search-cancel-button { display: none; }
.search-clear { width: 28px; height: 28px; border-radius: 50%; background: var(--soft); display: none; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); border: 0; flex: none; }
.search.has-q .search-clear { display: flex; }
.search-go { height: 42px; display: flex; align-items: center; background: var(--brand); color: #FFFFFF; border-radius: 10px; padding: 0 20px; font-size: 14.5px; font-weight: 600; border: 0; flex: none; transition: background .15s ease; }
.search-go:hover { background: var(--brand-hover); }
.ac { position: absolute; top: calc(100% + 10px); left: -12px; right: -12px; z-index: 50; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 20px 48px rgba(20,10,24,.22); overflow: hidden; animation: emFade .16s ease; display: none; }
.search.open .ac { display: block; }
.ac-label { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--muted); padding: 13px 16px 8px; text-transform: uppercase; }
.ac-row { display: flex; align-items: center; gap: 13px; padding: 10px 16px; border-top: 1px solid var(--border); text-decoration: none; color: var(--text); }
.ac-row:hover, .ac-row.sel { background: var(--soft); text-decoration: none; }
.ac-thumb { width: 44px; height: 44px; border-radius: 10px; background: var(--soft); display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.ac-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: var(--img-blend); }
.ac-name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.ac-meta { font-size: 11.5px; color: var(--muted); }
.ac-price { font-size: 14.5px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ac-foot { display: block; padding: 13px 16px; border-top: 1px solid var(--border); background: var(--soft); font-size: 13px; font-weight: 700; color: var(--accent); }
.ac-empty { padding: 20px 16px; display: flex; flex-direction: column; gap: 13px; font-size: 14px; color: var(--muted); }
.ac-sugg { display: flex; gap: 8px; flex-wrap: wrap; }
.ac-sugg a { font-size: 13px; font-weight: 500; border: 1px solid var(--border); background: var(--soft); border-radius: 999px; padding: 8px 14px; color: var(--text); }
.head-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang { display: flex; align-items: center; gap: 3px; border: 1px solid var(--border); border-radius: 999px; padding: 4px 4px 4px 11px; height: 44px; }
.lang .globe { color: var(--muted); display: flex; margin-right: 3px; }
.lang a { font-size: 12.5px; font-weight: 700; padding: 7px 11px; border-radius: 999px; text-decoration: none; color: var(--muted); transition: all .18s ease; }
.lang a.on { background: var(--brand); color: #FFFFFF; }
.theme-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text); background: transparent; transition: all .18s ease; }
.theme-btn:hover { border-color: var(--brand); color: var(--accent); }
.theme-btn .sun { display: none; }
:root[data-theme="dark"] .theme-btn .sun { display: block; }
:root[data-theme="dark"] .theme-btn .moon { display: none; }
.phone-pill { display: flex; align-items: center; gap: 9px; height: 44px; white-space: nowrap; text-decoration: none; color: var(--text); border: 1px solid var(--border); border-radius: 999px; padding: 0 17px; }
.phone-pill:hover { border-color: var(--brand); color: var(--accent); text-decoration: none; }
.phone-pill .ico { color: var(--accent); display: flex; }
.phone-pill .nr { font-size: 14.5px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.navbar { border-top: 1px solid var(--border); }
.navbar nav { padding: 0 8px; display: flex; flex-wrap: wrap; overflow-x: auto; scrollbar-width: none; gap: 2px; align-items: center; }
.navbar nav::-webkit-scrollbar { display: none; }
.navbar a { font-size: 14.5px; font-weight: 500; color: var(--text); padding: 13px 14px 11px; border-bottom: 2px solid transparent; white-space: nowrap; text-decoration: none; transition: color .15s ease; }
.navbar a:hover { color: var(--accent); text-decoration: none; }
.navbar a.on { font-weight: 700; color: var(--accent); border-bottom-color: var(--brand); }

/* ── Home: hero carousel ───────────────────────────── */
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.dots { display: flex; gap: 7px; }
.dots button { width: 7px; height: 7px; border-radius: 999px; background: var(--border); border: 0; padding: 0; transition: width .25s ease, background .25s ease; }
.dots button.on { width: 26px; background: var(--brand); }
.hero { position: relative; border-radius: 22px; overflow: hidden; background: var(--hero-bg); border: 1px solid var(--hero-border); color: var(--hero-text); }
.hero-glow { position: absolute; left: -90px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(142,3,164,.22), transparent 70%); }
.slide { position: relative; display: none; grid-template-columns: repeat(auto-fit, minmax(min(100%,300px), 1fr)); gap: 34px; align-items: center; padding: 42px 40px; }
.slide.on { display: grid; animation: emFade .4s ease; }
.slide-body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.slide-tags { display: flex; gap: 9px; flex-wrap: wrap; }
.slide-off { font-size: 12px; font-weight: 700; background: #FFA91F; color: #2D2A2A; border-radius: 999px; padding: 6px 12px; }
.slide-cat { font-size: 12px; font-weight: 600; border: 1px solid var(--hero-chip-border); color: var(--hero-muted); border-radius: 999px; padding: 6px 12px; }
.slide h2 { margin: 0; font-size: 38px; font-weight: 700; line-height: 1.16; letter-spacing: -.025em; text-wrap: pretty; }
.slide-specs { display: flex; gap: 8px; flex-wrap: wrap; }
.slide-specs div { font-size: 12.5px; color: var(--hero-muted); background: var(--hero-chip); border-radius: 8px; padding: 7px 11px; }
.slide-price { display: flex; align-items: baseline; gap: 13px; flex-wrap: wrap; padding-top: 4px; }
.slide-price .now { font-size: 42px; font-weight: 700; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.slide-price .was { font-size: 19px; color: var(--hero-muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.slide-ctas { display: flex; gap: 11px; flex-wrap: wrap; padding-top: 2px; }
.slide-ctas .btn-primary { font-weight: 700; padding: 15px 26px; }
.slide-ctas .btn-hero { border: 1.5px solid var(--hero-chip-border); color: var(--hero-text); background: transparent; }
.slide-ctas .btn-hero:hover { border-color: #FFFFFF; }
.slide-media { display: flex; align-items: center; justify-content: center; }
/* Product photos are background-removed (transparent WebP), so they sit straight on the hero. */
.slide-media img { max-height: 390px; width: auto; max-width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }

/* Category tiles */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.sec-head .col { display: flex; flex-direction: column; gap: 8px; }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.tile { position: relative; overflow: hidden; min-height: 260px; border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; transition: transform .28s cubic-bezier(.2,.8,.3,1), box-shadow .28s ease; animation: emFade .5s ease both; }
.tile:hover { transform: translateY(-5px); box-shadow: 0 22px 44px rgba(45,20,52,.16); text-decoration: none; }
.tile > * { position: relative; z-index: 1; }
.tile .t-eye { font-size: 12px; font-weight: 700; letter-spacing: .16em; }
.tile h3 { margin: 0; font-size: 30px; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; }
.tile .t-range { font-size: 13.5px; line-height: 1.55; max-width: 180px; text-wrap: pretty; }
.tile .t-foot { margin-top: auto; display: flex; align-items: center; gap: 10px; }
.tile .t-meta { font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 8px 13px; white-space: nowrap; line-height: 1.35; }
.tile .t-arrow { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.tile .t-dev { position: absolute; z-index: 0; transform: rotate(-9deg); transform-origin: bottom right; border-style: solid; border-width: 7px; }
.tile-apple { background: var(--tile-apple); border: 1px solid var(--tile-apple-border); color: #FFFFFF; }
.tile-apple .t-eye { color: #D7A5E6; } .tile-apple .t-range { color: #C4BACB; }
.tile-apple .t-meta { background: rgba(255,255,255,.12); color: #FFFFFF; }
.tile-apple .t-arrow { background: var(--brand); color: #FFFFFF; }
.tile-apple .t-dev { width: 96px; height: 188px; border-radius: 24px; background: #2B2331; border-color: #3D3345; right: 22px; bottom: -44px; }
.tile-samsung { background: linear-gradient(150deg, #9A12B0, #5F0A6E); border: 1px solid #7A0A9E; color: #FFFFFF; }
.tile-samsung .t-eye { color: #F3D6F8; } .tile-samsung .t-range { color: rgba(255,255,255,.82); }
.tile-samsung .t-meta { background: rgba(255,255,255,.18); color: #FFFFFF; }
.tile-samsung .t-arrow { background: #FFFFFF; color: #7A0A9E; }
.tile-samsung .t-dev { width: 96px; height: 188px; border-radius: 24px; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); right: 22px; bottom: -44px; }
.tile-soft { background: var(--soft); border: 1px solid var(--border); color: var(--text); }
.tile-soft .t-eye { color: var(--accent); } .tile-soft .t-range { color: var(--muted); }
.tile-soft .t-meta { background: var(--chip-bg); color: var(--chip-text); }
.tile-soft .t-arrow { background: var(--text); color: var(--bg); }
.tile-soft .t-dev { background: var(--phone); border-color: var(--phone-edge); }
.tile-ipad .t-dev { width: 150px; height: 200px; border-radius: 18px; right: -18px; bottom: -34px; }
.tile-laptop .t-dev { width: 200px; height: 128px; border-radius: 12px; right: -34px; bottom: 18px; }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,210px), 1fr)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust > div { display: flex; gap: 13px; align-items: flex-start; padding: 20px 22px; border-left: 1px solid var(--border); }
.trust .ico { font-size: 19px; color: var(--accent); line-height: 1; }
.trust .ttl { font-size: 14.5px; font-weight: 700; }
.trust .sub { font-size: 12.5px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* Product cards */
.grid-home { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,274px), 1fr)); gap: 18px; }
.grid-shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,248px), 1fr)); gap: 18px; }
.grid-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,230px), 1fr)); gap: 18px; }
.card { border: 1px solid var(--border); background: var(--surface); border-radius: 16px; padding: 15px; display: flex; flex-direction: column; gap: 11px; text-decoration: none; color: var(--text); transition: transform .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); text-decoration: none; }
.card-img { position: relative; border-radius: 12px; background: var(--soft); height: 222px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card-img img { max-width: 82%; max-height: 88%; object-fit: contain; mix-blend-mode: var(--img-blend); }
.card-img .mock { width: 92px; height: 172px; border-radius: 18px; background: var(--phone); border: 6px solid var(--phone-edge); }
.card-img .like-new { position: absolute; top: 11px; right: 11px; background: var(--chip-bg); color: var(--chip-text); font-size: 11px; font-weight: 600; border-radius: 999px; padding: 5px 9px; }
.card-name { font-size: 14.5px; font-weight: 600; line-height: 1.4; min-height: 41px; text-wrap: pretty; }
.grid-shop .card-name { font-size: 15px; min-height: 42px; }
.card-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card-price .now { font-size: 18px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.grid-shop .card-price .now { font-size: 19px; }
.card-price .was { font-size: 13px; color: var(--muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.card-badges { display: flex; gap: 7px; flex-wrap: wrap; }
.more-btn { align-self: center; }

/* Rails */
.rail-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.rail-head h2 { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -.015em; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-card { scroll-snap-align: start; }
.rail-tools { display: flex; align-items: center; gap: 8px; }
.rail-tools .link-strong { margin-right: 6px; }
.rail-arrow { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: inline-flex; align-items: center; justify-content: center; padding: 0; transition: border-color .15s ease, color .15s ease, opacity .15s ease; }
.rail-arrow:hover:not(:disabled) { border-color: var(--brand); color: var(--accent); }
.rail-arrow:disabled { opacity: .35; cursor: default; }
.rail-block.no-overflow .rail-arrow { display: none; }
@media (max-width: 639px) { .rail-arrow { display: none; } }
.rail-card { flex: none; width: 214px; border: 1px solid var(--border); background: var(--surface); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--text); }
.rail-card:hover { border-color: var(--brand); text-decoration: none; }
.rail-img { position: relative; border-radius: 11px; background: var(--soft); height: 180px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.rail-img img { max-width: 78%; max-height: 86%; object-fit: contain; mix-blend-mode: var(--img-blend); }
.rail-img .mem { position: absolute; bottom: 9px; right: 9px; background: var(--surface); border: 1px solid var(--border); font-size: 10.5px; font-weight: 700; border-radius: 7px; padding: 4px 8px; }
.rail-eye { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.rail-name { font-size: 14px; font-weight: 600; line-height: 1.38; min-height: 39px; text-wrap: pretty; }
.rail-card .now { font-size: 16.5px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.rail-card .was { font-size: 12px; color: var(--muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }

/* Why us */
.why { border-top: 1px solid var(--border); padding-top: 44px; }
.why .col { display: flex; flex-direction: column; gap: 11px; }
.why h2 { margin: 0; font-size: 31px; font-weight: 700; letter-spacing: -.022em; line-height: 1.2; text-wrap: pretty; }
.pillars { min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,215px), 1fr)); gap: 16px; }
.pillar { border: 1px solid var(--border); background: var(--surface); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 9px; }
.pillar .n { font-size: 13px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.pillar .ttl { font-size: 16.5px; font-weight: 700; line-height: 1.35; text-wrap: pretty; }
.pillar .body { font-size: 13.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

/* Guide (home SEO accordion) */
.guide { border-top: 1px solid var(--border); padding-top: 48px; gap: 36px; }
.toc { display: flex; flex-direction: column; gap: 14px; }
.toc-title { font-size: 13px; font-weight: 600; color: var(--muted); }
.toc nav { display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--border); }
.toc nav a { display: flex; gap: 10px; padding: 8px 0 8px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 14px; line-height: 1.4; color: var(--text); text-decoration: none; }
.toc nav a:hover { border-left-color: var(--brand); color: var(--accent); text-decoration: none; }
.toc nav a span { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; padding-top: 2px; }
.guide article { min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 26px; }
.guide .lead { margin: 0; font-size: 18px; line-height: 1.68; color: var(--body); text-wrap: pretty; }
.acc-list { display: flex; flex-direction: column; gap: 10px; }
.acc { border: 1px solid var(--border); background: var(--surface); border-radius: 16px; overflow: hidden; scroll-margin-top: 180px; transition: background .2s ease, border-color .2s ease; }
.acc.open { border: 1.5px solid var(--brand); }
.acc-head { display: flex; align-items: center; gap: 16px; padding: 19px 22px; width: 100%; background: none; border: 0; text-align: left; color: var(--text); }
.acc-num { font-size: 12px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; width: 20px; }
.acc-head h3 { margin: 0; flex: 1; min-width: 0; font-size: 18px; font-weight: 700; letter-spacing: -.01em; line-height: 1.35; text-wrap: pretty; }
.acc-sign { width: 32px; height: 32px; border-radius: 50%; background: var(--soft); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 18px; flex: none; line-height: 1; transition: transform .25s ease, background .2s ease; }
.acc.open .acc-num, .acc.open h3 { color: var(--accent); }
.acc.open .acc-sign { background: var(--brand); color: #FFFFFF; transform: rotate(45deg); }
.acc-body { display: none; flex-direction: column; gap: 14px; padding: 0 24px 24px 58px; animation: emFade .3s ease; }
.acc.open .acc-body { display: flex; }
.acc-body p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--body); text-wrap: pretty; }
.acc-body h4 { margin: 6px 0 0; font-size: 16px; font-weight: 700; color: var(--text); }
.acc-body ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.acc-body li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.62; color: var(--body); }
.acc-body li::before { content: "✓"; flex: none; width: 21px; height: 21px; border-radius: 7px; background: var(--chip-bg); color: var(--accent); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.acc-link { display: flex; align-items: center; gap: 7px; width: fit-content; font-size: 14.5px; font-weight: 700; color: var(--accent); padding-top: 4px; }
.rich-link { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* FAQ (category page) */
.faq { border-top: 1px solid var(--border); padding-top: 44px; margin-top: 24px; }
.faq-side { display: flex; flex-direction: column; gap: 16px; }
.faq-side h2 { margin: 0; font-size: 29px; font-weight: 700; letter-spacing: -.022em; line-height: 1.2; text-wrap: pretty; }
.help-card { border: 1px solid var(--border); background: var(--soft); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 11px; }
.help-card .ttl { font-size: 14.5px; font-weight: 700; }
.help-card .hrs { font-size: 13px; line-height: 1.6; color: var(--muted); }
.help-card a { display: flex; align-items: center; gap: 9px; background: var(--brand); color: #FFFFFF; border-radius: 11px; padding: 13px 16px; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.help-card a:hover { background: var(--brand-hover); text-decoration: none; }
.faq .acc.open { background: var(--chip-bg); }
.faq .acc-head { padding: 18px 20px; }
.faq .acc-head h3 { font-size: 16.5px; font-weight: 600; line-height: 1.4; }
.faq .acc-sign { width: 30px; height: 30px; font-size: 17px; font-weight: 500; transform: none !important; }
.faq .acc-body { gap: 12px; padding: 0 20px 20px 56px; max-width: 700px; }
.faq .acc-body p { font-size: 15.5px; line-height: 1.72; }

/* Popular chips */
.popular { display: flex; flex-direction: column; gap: 13px; }
.popular-title { font-size: 13px; font-weight: 700; letter-spacing: .1em; color: var(--muted); }
.popular-chips { display: flex; gap: 9px; flex-wrap: wrap; }
.popular-chips a { font-size: 13.5px; font-weight: 500; border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 9px 16px; color: var(--text); }
.popular-chips a:hover { border-color: var(--brand); color: var(--accent); text-decoration: none; }

/* Empty state */
.empty { border: 1px solid var(--border); background: var(--surface); border-radius: 18px; padding: 60px 30px; display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.empty .ico { width: 70px; height: 70px; border-radius: 20px; background: var(--chip-bg); color: var(--chip-text); font-size: 28px; display: flex; align-items: center; justify-content: center; }
.empty .ttl { font-size: 23px; font-weight: 700; max-width: 520px; text-wrap: pretty; }
.empty .body { font-size: 15px; line-height: 1.65; color: var(--muted); max-width: 440px; text-wrap: pretty; }
.empty .ctas { display: flex; gap: 11px; flex-wrap: wrap; justify-content: center; }

/* ── Product page ──────────────────────────────────── */
.pd { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,340px), 1fr)); gap: 44px; align-items: start; }
.gallery { display: flex; flex-direction: column; gap: 14px; }
.gallery-main { position: relative; border-radius: 18px; background: var(--soft); height: 520px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.gallery-main img { max-width: 80%; max-height: 90%; object-fit: contain; mix-blend-mode: var(--img-blend); }
.gallery-main .off { top: 16px; left: 16px; font-size: 13px; padding: 7px 13px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.thumbs button { height: 96px; border-radius: 12px; background: var(--soft); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; padding: 8px; }
.thumbs button.on { border: 2px solid var(--sel-border); }
.thumbs img { max-width: 100%; max-height: 100%; object-fit: contain; mix-blend-mode: var(--img-blend); }
.pd-info { display: flex; flex-direction: column; gap: 20px; }
.pd-info h1 { margin: 0; font-size: 34px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; text-wrap: pretty; }
.pd-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-badges .badge { font-size: 12px; padding: 7px 11px; }
.grade-pick { display: flex; flex-direction: column; gap: 11px; }
.grade-pick .lbl { font-size: 15px; font-weight: 600; }
.grades { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 11px; }
.grade { border: 1.5px solid var(--idle-border); background: var(--idle-bg); border-radius: 14px; padding: 15px; display: flex; flex-direction: column; gap: 8px; text-align: left; color: var(--text); }
.grade.on { border: 2px solid var(--sel-border); background: var(--sel-bg); }
.grade .top { display: flex; align-items: center; justify-content: space-between; }
.grade .key { font-size: 17px; font-weight: 700; }
.radio { width: 18px; height: 18px; border-radius: 50%; background: transparent; box-shadow: 0 0 0 1.5px var(--idle-ring); border: 4px solid var(--idle-bg); flex: none; }
.on > .top .radio, .bank.on .radio { background: var(--sel-border); box-shadow: 0 0 0 1.5px var(--sel-border); border-color: var(--sel-bg); }
.grade .desc { font-size: 12px; line-height: 1.45; color: var(--muted); min-height: 52px; }
.grade .gp { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.grade.on .gp { color: var(--accent); }
.price-block { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 20px; }
.price-block .col { display: flex; flex-direction: column; gap: 3px; }
.price-block .lbl { font-size: 13px; color: var(--muted); }
.price-block .big { font-size: 40px; font-weight: 700; letter-spacing: -.02em; color: var(--accent); font-variant-numeric: tabular-nums; }
.price-block .was { font-size: 14px; color: var(--muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.price-block .banks { font-size: 13px; line-height: 1.5; color: var(--muted); text-align: right; }
.cta-col { display: flex; flex-direction: column; gap: 10px; }
.cta-install { background: var(--brand); color: #FFFFFF; font-size: 18px; font-weight: 700; padding: 18px; border-radius: 12px; text-align: center; border: 0; width: 100%; }
.cta-install:hover { background: var(--brand-hover); }
.cta-install:disabled { background: var(--dis-bg); color: var(--dis-text); cursor: not-allowed; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-row a { flex: 1; min-width: 140px; border: 1.5px solid var(--border); border-radius: 11px; padding: 13px; text-align: center; font-size: 14px; font-weight: 600; color: var(--text); }
.cta-row a:hover { border-color: var(--brand); color: var(--accent); text-decoration: none; }
.warn-box { background: var(--warn-bg); border: 1px solid var(--warn-border); border-radius: 12px; padding: 15px; font-size: 14px; line-height: 1.6; color: var(--warn-text); text-wrap: pretty; }
.cta-phone { border: 1.5px solid var(--brand); color: var(--accent); border-radius: 11px; padding: 14px; text-align: center; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cta-phone:hover { background: var(--chip-bg); text-decoration: none; }
[data-when="blocked"] { display: none; }
.is-blocked [data-when="ok"] { display: none; }
.is-blocked [data-when="blocked"] { display: flex; }
.box-card { border: 1px solid var(--border); background: var(--surface); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 13px; }
.box-card h2 { margin: 0; font-size: 16px; font-weight: 700; }
.box-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; font-size: 14px; }
.box-items div { display: flex; gap: 9px; align-items: center; }
.box-items span { color: var(--accent); font-weight: 700; }
.box-note { font-size: 13px; line-height: 1.6; color: var(--muted); border-top: 1px solid var(--border); padding-top: 12px; text-wrap: pretty; }
.pd-lower { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,320px), 1fr)); gap: 44px; align-items: start; border-top: 1px solid var(--border); padding-top: 32px; }
.pd-lower .col { display: flex; flex-direction: column; gap: 14px; }
.pd-lower h2, .related h2 { margin: 0; font-size: 22px; font-weight: 600; }
.related h2 { font-size: 24px; }
.spec-row { display: grid; grid-template-columns: minmax(120px,210px) minmax(0,1fr); gap: 18px; padding: 12px 2px; border-bottom: 1px solid var(--border); font-size: 14px; }
.spec-row .k { color: var(--muted); } .spec-row .v { font-weight: 500; }
.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.benefit { border: 1px solid var(--border); background: var(--surface); border-radius: 14px; padding: 17px; display: flex; flex-direction: column; gap: 6px; }
.benefit .ico { font-size: 19px; color: var(--accent); }
.benefit .ttl { font-size: 14px; font-weight: 700; }
.benefit .body { font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.share { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; padding-top: 6px; font-size: 13px; color: var(--muted); }
.share a { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--text); }
.share a:hover { border-color: var(--brand); color: var(--accent); text-decoration: none; }
.related { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid var(--border); padding-top: 32px; }
.grid-related .card { gap: 10px; }
.grid-related .card-img { height: 190px; }
.grid-related .card-name { font-size: 14px; min-height: 40px; }
.grid-related .now { font-size: 17px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }

/* ── Modal ─────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(20,10,24,.62); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.dialog { width: 100%; max-width: 520px; max-height: 92vh; overflow: auto; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 26px 70px rgba(0,0,0,.4); animation: emFade .22s ease; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.dialog-title { font-size: 20px; font-weight: 700; text-wrap: pretty; }
.dialog-sub { font-size: 13.5px; color: var(--muted); margin-top: 5px; }
.dialog-close { font-size: 19px; color: var(--muted); flex: none; background: none; border: 0; padding: 0; line-height: 1; }
.steps { display: flex; gap: 6px; }
.steps div { flex: 1; height: 4px; border-radius: 2px; background: var(--border); }
.steps div.on { background: var(--brand); }
.step { display: none; flex-direction: column; gap: 10px; }
.step.on { display: flex; }
.bank { border: 1.5px solid var(--idle-border); background: var(--idle-bg); border-radius: 12px; padding: 15px; display: flex; align-items: center; gap: 13px; text-align: left; color: var(--text); width: 100%; }
.bank.on { border: 2px solid var(--sel-border); background: var(--sel-bg); }
.bank .logo-tile { width: 44px; height: 44px; border-radius: 11px; background: var(--bg); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex: none; }
.bank.on .logo-tile { color: var(--accent); }
.bank .nm { font-size: 16px; font-weight: 700; }
.bank .tm { font-size: 12.5px; color: var(--muted); }
.bank .radio { width: 20px; height: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 140px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field textarea { border: 1px solid var(--border); border-radius: 10px; padding: 13px 15px; font-size: 15px; color: var(--text); background: var(--surface); outline: none; width: 100%; }
.field input:focus, .field textarea:focus { border: 1.5px solid var(--brand); padding: 12.5px 14.5px; }
.field-row { display: flex; gap: 11px; flex-wrap: wrap; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--muted); }
.consent input { margin-top: 2px; accent-color: var(--brand); width: 16px; height: 16px; flex: none; }
.form-err { display: none; font-size: 13px; color: var(--warn-text); background: var(--warn-bg); border: 1px solid var(--warn-border); border-radius: 10px; padding: 10px 12px; }
.form-err.on { display: block; }
.done { align-items: center; text-align: center; gap: 15px; padding: 6px 0 2px; }
.done .tick { width: 62px; height: 62px; border-radius: 50%; background: var(--ok-bg); color: var(--ok-text); font-size: 27px; display: flex; align-items: center; justify-content: center; }
.done .ttl { font-size: 21px; font-weight: 700; text-wrap: pretty; }
.done .body { font-size: 15px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.done .sum { width: 100%; border: 1px solid var(--border); background: var(--soft); border-radius: 12px; padding: 15px; display: flex; flex-direction: column; gap: 8px; text-align: left; font-size: 14px; }
.done .sum div { display: flex; justify-content: space-between; gap: 12px; }
.done .sum span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }
.dialog-foot { display: flex; gap: 10px; flex-wrap: wrap; }
.dialog-foot .back { flex: 1; min-width: 120px; border: 1.5px solid var(--border); color: var(--text); background: transparent; border-radius: 11px; padding: 14px; font-size: 15px; font-weight: 600; }
.dialog-foot .go { flex: 2; min-width: 160px; background: var(--brand); color: #FFFFFF; border: 0; border-radius: 11px; padding: 15px; font-size: 16px; font-weight: 700; }
.dialog-foot .go:hover { background: var(--brand-hover); }
.dialog-foot .go:disabled { opacity: .6; cursor: wait; }

/* ── Search page ───────────────────────────────────── */
.page-narrow { max-width: 1000px; margin: 0 auto; padding: 26px 20px 80px; display: flex; flex-direction: column; gap: 22px; animation: emFade .28s ease; }
.search-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: 16px; font-size: 14.5px; color: var(--muted); }
.search-bar .sort-chip { border-radius: 999px; padding: 8px 15px; }
.s-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; border: 1px solid var(--border); background: var(--surface); border-radius: 16px; padding: 15px; text-decoration: none; color: var(--text); }
.s-row:hover { border-color: var(--brand); text-decoration: none; }
.s-thumb { width: 92px; height: 92px; border-radius: 13px; background: var(--soft); display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.s-thumb img { max-width: 86%; max-height: 86%; object-fit: contain; mix-blend-mode: var(--img-blend); }
.s-mid { flex: 1; min-width: 180px; display: flex; flex-direction: column; gap: 7px; }
.s-meta { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.s-name { font-size: 17.5px; font-weight: 600; line-height: 1.35; text-wrap: pretty; }
.s-grades { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.s-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.s-price { display: flex; flex-direction: column; gap: 2px; align-items: flex-end; }
.s-price .now { font-size: 21px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.s-price .was { font-size: 13px; color: var(--muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.s-cta { border: 1.5px solid var(--brand); color: var(--accent); font-size: 14px; font-weight: 600; padding: 11px 18px; border-radius: 10px; white-space: nowrap; }

/* ── Blog ──────────────────────────────────────────── */
.page-blog { max-width: 1320px; margin: 0 auto; padding: 26px 20px 80px; display: flex; flex-direction: column; gap: 26px; animation: emFade .28s ease; }
.blog-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.blog-head .col { display: flex; flex-direction: column; gap: 8px; }
.blog-head .sub { font-size: 15.5px; color: var(--muted); max-width: 560px; text-wrap: pretty; }
.count-pill { font-size: 13px; font-weight: 600; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 8px 15px; }
.blog-cats { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
.lead-post { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,300px), 1fr)); border: 1px solid var(--border); background: var(--surface); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--text); }
.lead-post:hover { border-color: var(--brand); text-decoration: none; }
.cover-grad { background: linear-gradient(135deg, #C81ED8, #7A0A9E); position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cover-grad img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.cover-grad .dev { width: 118px; height: 220px; border-radius: 24px; background: rgba(255,255,255,.16); border: 7px solid rgba(255,255,255,.28); }
.lead-post .cover-grad { min-height: 320px; }
.cover-tag { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.92); color: #7A0A9E; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 6px 12px; z-index: 1; }
.lead-post .txt { padding: 34px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.post-meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lead-post h2 { margin: 0; font-size: 28px; font-weight: 700; line-height: 1.25; letter-spacing: -.02em; text-wrap: pretty; }
.lead-post .ex { font-size: 15.5px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.read-more { font-size: 14px; font-weight: 700; color: var(--accent); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,296px), 1fr)); gap: 20px; }
.post-card { border: 1px solid var(--border); background: var(--surface); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--text); transition: transform .2s ease; }
.post-card:hover { transform: translateY(-3px); border-color: var(--brand); text-decoration: none; }
.post-card .cov { height: 168px; background: var(--soft); position: relative; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); overflow: hidden; }
.post-card .cov img { width: 100%; height: 100%; object-fit: cover; }
.post-card .cov .tag { position: absolute; top: 12px; left: 12px; background: var(--chip-bg); color: var(--chip-text); font-size: 11px; font-weight: 700; border-radius: 999px; padding: 5px 11px; }
.post-card .txt { padding: 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.post-card h3 { margin: 0; font-size: 16.5px; font-weight: 600; line-height: 1.4; text-wrap: pretty; }
.post-card .ex { font-size: 13.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.post-card .read-more { font-size: 13px; margin-top: auto; padding-top: 6px; }
.page-post { max-width: 760px; margin: 0 auto; padding: 26px 20px 80px; display: flex; flex-direction: column; gap: 18px; animation: emFade .28s ease; }
.page-post .tagline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.page-post .tagline .tag { background: var(--chip-bg); color: var(--chip-text); font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 6px 12px; }
.page-post h1 { font-size: 38px; }
.page-post .ex { font-size: 19px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }
.page-post .cover-grad { height: 300px; border-radius: 18px; }
.page-post .cover-grad .dev { width: 112px; height: 210px; }
.prose { font-size: 17.5px; line-height: 1.78; color: var(--body); text-wrap: pretty; }
.prose p { margin: 0 0 18px; }
.prose img { height: auto; border-radius: 14px; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose h2, .prose h3, .prose h4 { color: var(--text); line-height: 1.3; margin: 26px 0 10px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose table { border-collapse: collapse; width: 100%; }
.prose td, .prose th { border: 1px solid var(--border); padding: 8px 10px; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 22px 0; }
.cta-card { border: 1px solid var(--border); background: var(--soft); border-radius: 16px; padding: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; text-decoration: none; color: var(--text); }
.cta-card:hover { text-decoration: none; border-color: var(--brand); }
.cta-card .ttl { font-size: 17px; font-weight: 700; }
.cta-card .body { font-size: 14px; color: var(--muted); text-wrap: pretty; margin-top: 5px; }
.cta-card .btn { font-weight: 700; white-space: nowrap; }
.rel-posts { display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--border); padding-top: 22px; }
.rel-posts h2 { margin: 0; font-size: 20px; font-weight: 600; }
.rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%,210px), 1fr)); gap: 14px; }
.rel-card { border: 1px solid var(--border); background: var(--surface); border-radius: 14px; padding: 15px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); }
.rel-card:hover { border-color: var(--brand); text-decoration: none; }
.rel-card .tag { font-size: 11px; font-weight: 700; color: var(--accent); }
.rel-card .ttl { font-size: 14px; font-weight: 600; line-height: 1.4; text-wrap: pretty; }
.rel-card .dt { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.post-share { border-top: 1px solid var(--border); padding-top: 18px; }

/* ── Text / legal pages ────────────────────────────── */
.page-text { max-width: 1100px; margin: 0 auto; padding: 26px 20px 80px; gap: 40px; animation: emFade .28s ease; }
.text-nav { display: flex; flex-direction: column; gap: 3px; max-width: 280px; }
.text-nav .ttl { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--muted); padding-bottom: 9px; text-transform: uppercase; }
.text-nav a { font-size: 14px; color: var(--text); border-radius: 9px; padding: 11px 13px; line-height: 1.4; }
.text-nav a:hover { color: var(--accent); text-decoration: none; }
.text-nav a.on { font-weight: 600; color: var(--accent); background: var(--chip-bg); }
.text-body { min-width: 0; display: flex; flex-direction: column; gap: 17px; max-width: 660px; }
.text-body .prose { font-size: 17px; line-height: 1.72; }
.text-foot { display: flex; gap: 11px; flex-wrap: wrap; border-top: 1px solid var(--border); padding-top: 20px; }

/* ── Contact ───────────────────────────────────────── */
.page-contact { max-width: 1100px; margin: 0 auto; padding: 26px 20px 80px; display: flex; flex-direction: column; gap: 24px; animation: emFade .28s ease; }
.info-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,210px), 1fr)); gap: 14px; }
.info-card { border: 1px solid var(--border); background: var(--surface); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.info-card .l { font-size: 12px; color: var(--muted); }
.info-card .v { font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--text); }
.info-card a.v { color: var(--accent); }
.contact-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,300px), 1fr)); gap: 24px; align-items: start; }
.map { height: 330px; border-radius: 16px; background: var(--soft); border: 1px solid var(--border); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; }
.contact-form { border: 1px solid var(--border); background: var(--surface); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.contact-form .ttl { font-size: 19px; font-weight: 700; }
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form .btn { font-weight: 700; padding: 15px; width: 100%; }
.flash { background: var(--ok-bg); color: var(--ok-text); border-radius: 10px; padding: 12px 14px; font-size: 14px; font-weight: 600; }

/* ── 404 ───────────────────────────────────────────── */
.nf { max-width: 760px; margin: 0 auto; padding: 60px 20px 90px; display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; animation: emFade .28s ease; }
.nf .big { font-size: 96px; font-weight: 700; line-height: 1; letter-spacing: -.04em; background: linear-gradient(135deg, #C81ED8, #7A0A9E); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf .ttl { font-size: 30px; font-weight: 700; text-wrap: pretty; }
.nf .body { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 480px; text-wrap: pretty; }
.nf .ctas { display: flex; gap: 11px; flex-wrap: wrap; justify-content: center; }

/* ── Footer ────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); background: var(--soft); }
.foot-cols { padding: 44px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,210px), 1fr)); gap: 34px; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col .logo { font-size: 23px; letter-spacing: -.02em; margin-bottom: 3px; }
.foot-about { font-size: 14px; line-height: 1.65; color: var(--muted); max-width: 290px; text-wrap: pretty; }
.foot-fb { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.foot-fb span { width: 30px; height: 30px; border-radius: 8px; background: var(--chip-bg); color: var(--chip-text); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.foot-fb:hover { color: var(--accent); text-decoration: none; }
.foot-col .ttl { font-size: 14px; font-weight: 700; }
.foot-col a.lk { font-size: 14px; color: var(--muted); line-height: 1.4; }
.foot-col a.lk:hover { color: var(--accent); text-decoration: none; }
.foot-col .txt { font-size: 14px; color: var(--muted); line-height: 1.6; }
.foot-col .sm { font-size: 13px; }
.foot-col a.tel { font-size: 16px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.foot-bottom { border-top: 1px solid var(--border); }
.foot-bottom .wrap { padding: 15px 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; font-size: 13px; color: var(--muted); }
.bank-chips { display: flex; gap: 7px; }
.bank-chips span { border: 1px solid var(--border); background: var(--surface); border-radius: 6px; padding: 4px 9px; font-size: 11px; font-weight: 600; }

/* ── Tablet (<1024) ────────────────────────────────── */
@media (max-width: 1023px) {
  .split { grid-template-columns: minmax(0,1fr); }
  .sticky { position: static; }
  .search { flex-basis: 320px; }
  .navbar nav { flex-wrap: nowrap; }
  .slide { padding: 34px 30px; }
  .slide h2 { font-size: 32px; }
  .tiles { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .h1 { font-size: 32px; }
  .h2 { font-size: 27px; }
}

/* ── Mobile (<640) ─────────────────────────────────── */
@media (max-width: 639px) {
  .hide-mob, .topstrip { display: none !important; }
  .head-main { padding: 12px 16px; gap: 12px 10px; }
  .search { flex-basis: 100%; order: 3; }
  .search-box { height: 50px; }
  .search-go { padding: 0 14px; }
  .head-tools { gap: 8px; }
  .lang { padding: 4px; }
  .phone-pill { padding: 0 13px; }
  .slide { padding: 28px 22px; }
  .slide h2 { font-size: 27px; }
  .slide-price .now { font-size: 32px; }
  .slide-media { display: none; }
  .tile { min-height: 176px; padding: 18px; }
  .tile h3 { font-size: 21px; }
  .tile .t-range, .tile .t-arrow { display: none; }
  .tile .t-meta { white-space: normal; border-radius: 12px; }
  .tile .t-dev { transform: rotate(-9deg) scale(.62); }
  .grid-home, .grid-shop { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .tiles { gap: 12px; }
  .card-img { height: 150px; }
  .card-img .like-new { display: none; }
  .acc-body { padding: 0 18px 20px 18px; }
  .faq .acc-body { padding: 0 18px 18px 18px; }
  .h1 { font-size: 28px; }
  .h2 { font-size: 24px; }
  .gallery-main { height: 340px; }
  .price-block .big { font-size: 32px; }
  .page-post h1 { font-size: 28px; }
}

/* Links inside admin-edited rich text (guide sections) */
.acc-body a:not(.acc-link) { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.acc-body ul li { align-items: flex-start; }
/* Product card badges (admin: New / Sale) */
.card-badge { position: absolute; top: 11px; right: 11px; background: var(--brand); color: #FFFFFF; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 5px 9px; }
.about { font-size: 16px; line-height: 1.75; color: var(--body); max-width: 760px; }
.about p { margin: 0 0 14px; }
.about a { color: var(--accent); text-decoration: underline; }
.about img { max-width: 100%; height: auto; border-radius: 12px; }

/* ── Customer accounts ─────────────────────────────── */
.acc-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text); text-decoration: none; overflow: hidden; flex: none; transition: all .18s ease; }
.acc-btn:hover { border-color: var(--brand); color: var(--accent); text-decoration: none; }
.acc-btn .ini { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--brand); color: #FFFFFF; font-size: 13px; font-weight: 700; }
.acc-btn img { width: 100%; height: 100%; object-fit: cover; }
.auth-wrap { max-width: 460px; margin: 0 auto; padding: 40px 20px 90px; animation: emFade .28s ease; }
.auth-card { border: 1px solid var(--border); background: var(--surface); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 12px 34px rgba(45,42,42,.08); }
.auth-card h1 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.auth-card .sub { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin-top: -6px; }
.auth-card .field input { height: 50px; }
.btn-google { display: flex; align-items: center; justify-content: center; gap: 11px; height: 50px; border-radius: 11px; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none; transition: border-color .15s ease, background .15s ease; }
.btn-google:hover { border-color: var(--brand); text-decoration: none; background: var(--soft); }
.or-line { display: flex; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-card .btn-primary { height: 50px; font-weight: 700; width: 100%; }
.auth-foot { text-align: center; font-size: 14px; color: var(--muted); }
.auth-foot a { font-weight: 700; }
.auth-note { font-size: 12.5px; line-height: 1.55; color: var(--muted); text-align: center; }
.form-errors { background: var(--warn-bg); color: var(--warn-text); border: 1px solid var(--warn-border); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; line-height: 1.5; }
.form-errors ul { margin: 0; padding-left: 18px; }
.check-line { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--body); }
.check-line input { width: 17px; height: 17px; accent-color: var(--brand); }

.acc-page { max-width: 1100px; margin: 0 auto; padding: 26px 20px 80px; gap: 34px; animation: emFade .28s ease; }
.acc-side { display: flex; flex-direction: column; gap: 14px; }
.acc-me { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); background: var(--surface); border-radius: 16px; padding: 14px; }
.acc-me .av { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; overflow: hidden; flex: none; }
.acc-me .av img { width: 100%; height: 100%; object-fit: cover; }
.acc-me .nm { font-size: 15px; font-weight: 700; line-height: 1.3; word-break: break-word; }
.acc-me .em { font-size: 12.5px; color: var(--muted); word-break: break-all; }
.acc-nav { display: flex; flex-direction: column; gap: 3px; }
.acc-nav a, .acc-nav button { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--text); border-radius: 10px; padding: 11px 13px; background: none; border: 0; text-align: left; width: 100%; text-decoration: none; }
.acc-nav a:hover, .acc-nav button:hover { color: var(--accent); text-decoration: none; background: var(--soft); }
.acc-nav a.on { font-weight: 600; color: var(--accent); background: var(--chip-bg); }
.acc-nav svg { flex: none; }
.acc-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.me-head .h1 { font-size: 32px; }
.me-head .sub { font-size: 15px; color: var(--muted); margin-top: 6px; }
.order { border: 1px solid var(--border); background: var(--surface); border-radius: 18px; padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.order-top { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.order-img { width: 84px; height: 84px; border-radius: 13px; background: var(--soft); display: flex; align-items: center; justify-content: center; flex: none; overflow: hidden; }
.order-img img { max-width: 86%; max-height: 86%; object-fit: contain; }
.order-name { font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--text); }
.order-meta { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.st { font-size: 12px; font-weight: 700; border-radius: 8px; padding: 6px 11px; white-space: nowrap; }
.st-new { background: var(--chip-bg); color: var(--chip-text); }
.st-bank { background: var(--warn-bg); color: var(--warn-text); }
.st-approved { background: var(--ok-bg); color: var(--ok-text); }
.st-rejected { background: #FDECEF; color: #B4243E; }
:root[data-theme="dark"] .st-rejected { background: #3A1520; color: #FF8FA3; }
.track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.track div { height: 5px; border-radius: 3px; background: var(--border); }
.track div.on { background: var(--brand); }
.track.bad div.on { background: #D92D4B; }
.track-labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 11.5px; color: var(--muted); margin-top: -8px; }
.order-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.order-grid div { background: var(--soft); padding: 11px 13px; display: flex; flex-direction: column; gap: 3px; }
.order-grid .k { font-size: 11.5px; color: var(--muted); }
.order-grid .v { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.order-grid .v.hl { color: var(--accent); }
@media (max-width: 639px) { .order-grid div:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.panel { border: 1px solid var(--border); background: var(--surface); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.panel h2 { margin: 0; font-size: 18px; font-weight: 700; }
.panel .hint { font-size: 13px; color: var(--muted); line-height: 1.55; }
.panel .btn { align-self: flex-start; }
.panel.danger { border-color: #F3C2CC; }
.btn-danger { background: transparent; border: 1.5px solid #D92D4B; color: #D92D4B; }
.btn-danger:hover { background: #D92D4B; color: #FFFFFF; }
.linked { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ok-text); background: var(--ok-bg); border-radius: 999px; padding: 6px 12px; width: fit-content; }
@media (max-width: 639px) {
  .auth-card { padding: 24px 20px; }
  .me-head .h1 { font-size: 26px; }
}
.auth-card .field-row .field { min-width: 200px; }
@media (max-width: 639px) {
  /* keep logo + language + theme + account + phone on one row */
  .head-main { flex-wrap: wrap; }
  .logo { font-size: 22px; }
  .head-tools { gap: 6px; }
  .theme-btn, .acc-btn, .phone-pill { width: 38px; height: 38px; padding: 0; justify-content: center; }
  .lang { height: 38px; padding: 3px; }
  .lang a { padding: 6px 9px; font-size: 12px; }
}

/* Account dropdown (header avatar) */
.me-menu { position: relative; flex: none; }
.me-menu > .acc-btn { padding: 0; background: none; cursor: pointer; }
.me-menu.open > .acc-btn { box-shadow: 0 0 0 3px rgba(142,3,164,.22); border-color: var(--brand); }
.me-drop { position: absolute; top: calc(100% + 10px); right: 0; z-index: 60; width: 272px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; box-shadow: 0 20px 48px rgba(20,10,24,.22); padding: 6px; display: none; flex-direction: column; gap: 2px; animation: emFade .16s ease; transform-origin: top right; }
.me-menu.open .me-drop { display: flex; }
.me-drop-head { display: flex; align-items: center; gap: 11px; padding: 10px 10px 12px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.me-drop-head .av { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; overflow: hidden; flex: none; }
.me-drop-head .av img { width: 100%; height: 100%; object-fit: cover; }
.me-drop-head .nm { font-size: 14.5px; font-weight: 700; color: var(--text); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-drop-head .em { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.me-drop a, .me-drop button { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 10px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--text); background: none; border: 0; text-align: left; text-decoration: none; cursor: pointer; }
.me-drop a:hover, .me-drop button:hover, .me-drop a:focus-visible, .me-drop button:focus-visible { background: var(--soft); color: var(--accent); text-decoration: none; outline: none; }
.me-drop svg { flex: none; color: var(--muted); }
.me-drop a:hover svg, .me-drop button:hover svg { color: var(--accent); }
.me-drop .cnt { margin-left: auto; min-width: 22px; height: 20px; border-radius: 999px; background: var(--brand); color: #FFFFFF; font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px; }
.me-drop form { margin: 4px 0 0; border-top: 1px solid var(--border); padding-top: 4px; }
.me-drop .out:hover { color: #D92D4B; }
.me-drop .out:hover svg { color: #D92D4B; }
@media (max-width: 639px) { .me-drop { width: min(272px, calc(100vw - 32px)); right: -48px; } }

/* Staff-only installment on/off panel on the product page (partials/staff-switch) */
.staff-sw { border-style: dashed; border-color: var(--accent); }
.staff-sw-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.staff-sw-tag { font-size: 11.5px; font-weight: 600; color: var(--chip-text); background: var(--chip-bg); border-radius: 999px; padding: 4px 10px; }
.staff-sw-list { display: flex; flex-direction: column; }
.staff-sw-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--border); font-size: 14px; }
.staff-sw-row:first-child { border-top: 0; padding-top: 0; }
.staff-sw-act { margin-left: auto; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.staff-sw-act form { display: flex; gap: 6px; margin: 0; }
.staff-sw-btn { border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 10px; padding: 8px 12px; font-size: 13px; font-weight: 600; }
.staff-sw-btn:hover { border-color: var(--accent); }
.staff-sw-btn.ok { background: var(--brand); border-color: var(--brand); color: #FFFFFF; }
.staff-sw-btn.ok:hover { background: var(--brand-hover); }
.staff-sw-wait { font-size: 12.5px; font-weight: 600; color: var(--warn-text); background: var(--warn-bg); border-radius: 8px; padding: 5px 9px; }
.staff-sw-flash { font-size: 13.5px; font-weight: 600; color: var(--ok-text); background: var(--ok-bg); border-radius: 10px; padding: 10px 12px; }
.staff-sw-flash.bad { color: var(--warn-text); background: var(--warn-bg); }
@media (max-width: 639px) { .staff-sw-act { margin-left: 0; width: 100%; } }

/* Logo: the real ELIT MOBI wordmark (public/img/elitmobi-logo*.svg), light/dark version follows the theme */
.logo { display: inline-flex; align-items: center; }
.logo-img { display: block; height: 21px; width: auto; }
.logo-img.dk { display: none; }
:root[data-theme="dark"] .logo-img.lt { display: none; }
:root[data-theme="dark"] .logo-img.dk { display: block; }
.foot-col .logo .logo-img { height: 19px; }
@media (max-width: 639px) { .logo-img { height: 18px; } }

.consent-note { font-size: 12.5px; line-height: 1.55; color: var(--muted); }

/* Bank outcome badges (operator area + My orders) */
.st-sent { background: var(--chip-bg); color: var(--chip-text); }
.st-action { background: var(--warn-bg); color: var(--warn-text); }
.st-error, .st-none { background: var(--soft); color: var(--muted); border: 1px solid var(--border); }

/* Operator area (/operator) — same frame as My account */
.op-page .acc-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.op-stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.op-stat { border: 1px solid var(--border); background: var(--surface); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; color: var(--text); text-decoration: none; }
.op-stat:hover, .op-stat.on { border-color: var(--brand); text-decoration: none; }
.op-stat .n { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.op-stat .l { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; hyphens: auto; }
.op-stat .s { font-size: 11px; color: var(--muted); }
.op-stat.st-approved .n { color: var(--ok-text); } .op-stat.st-rejected .n { color: #B4243E; } .op-stat.st-action .n { color: var(--warn-text); } .op-stat.st-sent .n { color: var(--accent); }
.op-stat.st-approved, .op-stat.st-rejected, .op-stat.st-action, .op-stat.st-sent { background: var(--surface); }
.op-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.op-search { flex: 1 1 260px; }
.op-search input, .op-input { width: 100%; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; }
.op-search input:focus, .op-input:focus { outline: none; border-color: var(--brand); }
.op-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.op-chips a { border: 1px solid var(--border); border-radius: 999px; padding: 7px 12px; font-size: 13px; font-weight: 600; color: var(--text); text-decoration: none; background: var(--surface); }
.op-chips a.on, .op-chips a:hover { border-color: var(--brand); color: var(--accent); background: var(--chip-bg); text-decoration: none; }
.op-row { border: 1px solid var(--border); background: var(--surface); border-radius: 14px; padding: 14px 16px; display: flex; gap: 14px; flex-wrap: wrap; }
.op-main { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.op-top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 13.5px; }
.op-tag { font-size: 11.5px; font-weight: 600; background: var(--soft); border: 1px solid var(--border); border-radius: 999px; padding: 2px 8px; }
.op-prod { font-size: 15px; font-weight: 600; line-height: 1.35; }
.op-cust { display: flex; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.op-side { flex: 0 1 220px; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; }
.op-amt { font-size: 17px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.op-bank { font-size: 13px; color: var(--muted); }
.op-out { display: flex; gap: 6px; align-items: center; }
.op-out form { margin: 0; }
.op-refresh { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 15px; line-height: 1; padding: 0; }
.op-refresh:hover { border-color: var(--brand); color: var(--accent); }
.op-checked { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.op-pager { display: flex; justify-content: center; align-items: center; gap: 14px; font-size: 14px; }
.op-form { display: flex; flex-direction: column; gap: 14px; }
.op-card { border: 1px solid var(--border); background: var(--surface); border-radius: 16px; padding: 18px; display: flex; flex-direction: column; gap: 11px; }
.op-card h2 { margin: 0; font-size: 17px; font-weight: 700; display: flex; gap: 8px; align-items: center; }
.op-hint { font-size: 13px; color: var(--muted); line-height: 1.55; }
.op-label { font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.op-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.op-pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 999px; padding: 6px 13px; font-size: 13.5px; font-weight: 600; }
.op-pill img { width: 22px; height: 22px; object-fit: contain; }
.op-pill:hover { border-color: var(--brand); color: var(--accent); }
.op-amount { position: relative; }
.op-amount .op-input { font-size: 22px; font-weight: 700; padding-right: 40px; font-variant-numeric: tabular-nums; }
.op-amount span { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 700; color: var(--muted); }
.op-banks { display: flex; flex-direction: column; gap: 8px; }
.op-bank { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 12px; padding: 13px 14px; cursor: pointer; }
.op-bank input { position: absolute; opacity: 0; pointer-events: none; }
.op-bank .dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--idle-ring); flex: none; }
.op-bank .nm { flex: 1; font-weight: 600; font-size: 14.5px; }
.op-bank:has(input:checked) { border-color: var(--sel-border); background: var(--sel-bg); }
.op-bank:has(input:checked) .dot { border: 5px solid var(--brand); }
.op-bank.off { opacity: .5; cursor: not-allowed; }
.op-form .cta-install:disabled { opacity: .6; }
.op-sw-prod { display: flex; gap: 14px; align-items: flex-start; border-top: 1px solid var(--border); padding-top: 14px; }
.op-sw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.op-sw-cell { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; margin: 0; }
.op-sw-cell .op-top { justify-content: space-between; }
.op-line { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--border); padding: 11px 0; font-size: 14px; }
.empty-state { border: 1px dashed var(--border); border-radius: 14px; padding: 28px; text-align: center; color: var(--muted); }
@media (max-width: 760px) { .op-stats { grid-template-columns: repeat(2, minmax(0,1fr)); } .op-side { align-items: flex-start; text-align: left; flex-basis: 100%; } }

/* Bank logos (from usmobi's brand set): always on a white chip — readable in the dark theme too */
.bank-logo { display: inline-flex; align-items: center; background: #FFFFFF; border-radius: 8px; padding: 6px 10px; line-height: 0; }
.bank-logo img { height: 24px; width: auto; display: block; }
.bank-logo.sm { padding: 4px 8px; border-radius: 6px; border: 1px solid var(--border); }
.bank-logo.sm img { height: 16px; }
.op-bank .bank-logo img { height: 22px; }
:root:not([data-theme="dark"]) .bank .bank-logo { padding-left: 0; }
.bank-chips { flex-wrap: wrap; }

/* Product cards line up: name is always two lines, price sits at the bottom (owner, 1 Oct) */
.card-name, .rail-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; line-height: 1.4; }
.card-price, .card > .now { margin-top: auto; }
@media (max-width: 639px) {
  .card { padding: 11px; gap: 9px; }
  .card-name, .grid-shop .card-name { font-size: 13.5px; }
  .card-price { flex-direction: column; align-items: flex-start; gap: 1px; min-height: 2.6em; }
  .card-price .now, .grid-shop .card-price .now { font-size: 16px; }
  .card-price .was { font-size: 12px; }
}

/* Operator list: bank logos in rows and filter chips */
.op-bank-logo { border: 1px solid var(--border); }
.op-bank-logo img { height: 18px; }
.op-chips a.op-chip-logo { background: #FFFFFF; display: inline-flex; align-items: center; padding: 6px 12px; }
.op-chips a.op-chip-logo img { height: 16px; width: auto; display: block; }
.op-chips a.op-chip-logo.on { box-shadow: 0 0 0 2px var(--brand); background: #FFFFFF; }

/* Operator model search dropdown */
.op-suggest-wrap { position: relative; }
.op-suggest { position: absolute; z-index: 40; top: calc(100% + 6px); left: 0; right: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 18px 40px rgba(20,10,24,.16); padding: 6px; max-height: 360px; overflow-y: auto; }
.op-sug { display: flex; align-items: center; gap: 11px; padding: 8px 10px; border-radius: 10px; cursor: pointer; font-size: 14px; }
.op-sug:hover, .op-sug.on { background: var(--chip-bg); color: var(--accent); }
.op-sug img, .op-sug .ph { width: 34px; height: 34px; object-fit: contain; flex: none; border-radius: 8px; background: var(--soft); }
.op-sug .nm { flex: 1; min-width: 0; font-weight: 600; }
.op-sug .pr { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Operator amount + "+5%" toggle */
.op-amount-row { display: flex; gap: 8px; align-items: stretch; }
.op-amount-row .op-amount { flex: 1; min-width: 0; }
.op-markup { flex: none; border: 1.5px solid var(--border); background: var(--surface); color: var(--text); border-radius: 12px; padding: 0 18px; font-size: 16px; font-weight: 700; }
.op-markup:hover { border-color: var(--brand); color: var(--accent); }
.op-markup.on { border-color: var(--brand); background: var(--chip-bg); color: var(--accent); }
.op-suggest { overflow-x: hidden; }
@media (max-width: 639px) {
  .op-sug { flex-wrap: wrap; row-gap: 2px; }
  .op-sug .nm { flex: 1 1 calc(100% - 46px); }
  .op-sug .pr { flex-basis: 100%; padding-left: 45px; white-space: normal; font-size: 12px; }
}
