/* =====================================================================================================================
   usmobi.ge /compare and /compare/{a}/vs/{b} (resources/views/compare/index + show): design B2 ("store-led", kit B
   family), loaded by both views through @section('head_extra') with ?v=<file time>.
   Every selector is a .cx-* class or sits under .cx (the wrapper inside <main>); no other view uses cx- classes, so
   header, footer and tab bar are untouched (html.cx-lock is only set by compare.js while the phone sheet is open).
   Colours only through the site's tokens var(--c-...) (html[data-theme="dark"] flips them), the accent #27aad8 and #fff
   on the filled button and the switch knob. Type, radii and rhythm follow kit B: serif headings, 18 to 22px tiles,
   20 to 24px panels, 12px buttons. Breakpoints: base = phones, 700 = tablet (chooser becomes a dropdown), 960 = desktop.
   One column system on the result page: the two product tiles, the sticky mini header and the two value columns of
   every group share the same two columns (--cx-gap between the tiles; inside a panel --cx-p padding and --cx-cg gap,
   with --cx-cg = --cx-gap + 2 x --cx-p from 700px, so each value column starts --cx-p inside its own tile's column).
   ===================================================================================================================== */

/* ---------- 0. Root, tokens, helpers ---------- */
.cx{--cx-ink:var(--c-111820);--cx-text:var(--c-2b333b);--cx-muted:var(--c-5b6570);--cx-soft:var(--c-8a929c);--cx-line:var(--c-e6eaee);--cx-edge:var(--c-dbe1e7);--cx-panel:var(--c-f5f7f9);--cx-tile:var(--c-f2f4f7);--cx-bg:var(--c-white);--cx-tint:var(--c-eef8fd);--cx-acc:#27aad8;--cx-acc-ink:var(--c-1289bd);--cx-serif:'Noto Serif Georgian',serif;--cx-sans:'Noto Sans Georgian',system-ui,sans-serif;
  --cx-gap:12px;--cx-p:16px;--cx-cg:20px;
  max-width:1176px;margin:0 auto;padding:10px 0 88px;color:var(--cx-text);font-size:16px;line-height:1.7}
.cx :where(p){margin:0;text-wrap:pretty}
.cx h1,.cx h2,.cx h3{font-family:var(--cx-serif);font-weight:700;color:var(--cx-ink);margin:0;text-wrap:pretty}
.cx :where(ul,ol){list-style:none;margin:0;padding:0}
.cx a{color:var(--cx-acc-ink);text-decoration:none} /* text links: the site's accent-ink token (#0b6d9c light, #4bb4e8 dark); #27aad8 on white is only 2.7:1 */
.cx a:hover{color:var(--cx-acc-ink)}
.cx button{font-family:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.cx a:focus-visible,.cx button:focus-visible{outline:2px solid var(--cx-acc-ink);outline-offset:3px;border-radius:10px} /* accent-ink: #27aad8 on white is under 3:1 */
.cx .cx-num{font-variant-numeric:tabular-nums;white-space:nowrap}
.cx .cx-nw{white-space:nowrap}
.cx .cx-vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.cx svg{flex:none}
@media (min-width:700px){.cx{--cx-gap:18px;--cx-p:22px;--cx-cg:62px}}
@media (min-width:960px){.cx{--cx-gap:28px;--cx-p:28px;--cx-cg:84px;padding-bottom:110px}}

/* ---------- 1. Buttons (kit B): 48px, filled = accent + white, outline on the page colour ---------- */
.cx .cx-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:0 20px;border-radius:12px;border:1px solid var(--cx-edge);background:var(--cx-bg);color:var(--cx-ink);font-size:15px;font-weight:600;line-height:1.2;text-align:center;transition:border-color .15s,color .15s,filter .15s}
.cx .cx-btn:hover{border-color:var(--cx-acc);color:var(--cx-acc)}
.cx .cx-btn-main{background:var(--cx-acc);border-color:var(--cx-acc);color:#fff}
.cx .cx-btn-main:hover{color:#fff;filter:brightness(.93)}
.cx .cx-btn svg{width:18px;height:18px}

/* ---------- 2. Shared pieces: product thumb, photo tile, the round "vs" ---------- */
.cx-thumb{position:relative;display:block;flex:none;width:48px;height:48px;border-radius:12px;background:var(--cx-tile);overflow:hidden}
.cx-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:5px}
.cx-thumb svg,.cx-ph-none svg{position:absolute;left:50%;top:50%;width:42%;height:auto;transform:translate(-50%,-50%);color:var(--c-c9d1d9)}
.cx-ph{display:block;position:relative;aspect-ratio:1/1;border-radius:18px;background:var(--cx-tile);overflow:hidden}
.cx-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:10%}
.cx-ph-none svg{width:22%}
.cx-vsdot{position:absolute;z-index:2;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--cx-bg);color:var(--cx-muted);font-family:var(--cx-serif);font-size:14px;font-weight:600;line-height:1;letter-spacing:.2px}

/* =====================================================================================================================
   PICKER (/compare)
   ===================================================================================================================== */
.cx-hero{display:grid;gap:26px;padding-top:6px}
.cx-pick h1{font-size:clamp(31px,8.2vw,52px);line-height:1.14;letter-spacing:-.5px;margin:0 0 14px}
.cx-lead{font-size:16.5px;line-height:1.72;color:var(--cx-text);max-width:31em}
/* what the result page shows: the five group names with their icons (desktop only), three aligned columns */
.cx-what{display:none}
@media (min-width:960px){
  .cx-hero{grid-template-columns:minmax(0,1fr) minmax(0,520px);gap:72px;align-items:center;padding-top:18px}
  .cx-pick h1{font-size:52px;margin-bottom:18px}
  .cx-lead{font-size:18px;line-height:1.72}
  .cx-what{display:grid;grid-template-columns:repeat(3,max-content);gap:14px 34px;margin-top:30px;padding-top:26px;border-top:1px solid var(--cx-line)}
  .cx-what li{display:flex;align-items:center;gap:10px;font-size:15px;line-height:1.4;color:var(--cx-muted)}
  .cx-what svg{width:20px;height:20px;color:var(--cx-acc)}
}

/* ---------- 3. The search panel: two slots, "vs" between, the submit button ---------- */
.cx-panel{position:relative;background:var(--cx-panel);border-radius:24px;padding:20px 16px 16px}
.cx-slot{position:relative}
.cx-slot-l{display:block;margin:0 0 8px 2px;font-size:14px;font-weight:600;line-height:1.4;color:var(--cx-muted)}
.cx .cx-field{display:flex;align-items:center;gap:14px;width:100%;min-height:68px;margin:0;padding:9px 16px 9px 9px;border:1px solid var(--cx-edge);border-radius:16px;background:var(--cx-bg);color:var(--cx-ink);font-size:16px;line-height:1.35;text-align:left;transition:border-color .15s,box-shadow .15s}
.cx .cx-field:hover{border-color:var(--cx-acc)}
.cx .cx-field[aria-expanded="true"]{border-color:var(--cx-acc);box-shadow:0 0 0 1px var(--cx-acc)}
.cx-fill{display:flex;align-items:center;gap:14px;flex:1 1 auto;min-width:0}
.cx-fbody{display:flex;flex-direction:column;min-width:0}
.cx-fname{font-size:15.5px;font-weight:600;line-height:1.35;color:var(--cx-ink)}
.cx-fprice{margin-top:2px;font-size:14px;line-height:1.3;color:var(--cx-muted);font-variant-numeric:tabular-nums}
.cx-fchev{width:20px;height:20px;color:var(--cx-soft)}
/* empty slot: a search field look, magnifier in the thumb's place */
.cx-sicon{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:12px;background:var(--cx-tint);color:var(--cx-acc)}
.cx-sicon svg{width:21px;height:21px}
.cx-ph-txt{font-size:16px;color:var(--cx-soft)}
.cx-and{display:flex;align-items:center;gap:14px;margin:16px 2px 12px;color:var(--cx-soft);font-family:var(--cx-serif);font-size:14px;font-weight:600;line-height:1}
.cx-and::before,.cx-and::after{content:"";flex:1 1 auto;height:1px;background:var(--cx-line)}
.cx .cx-go{width:100%;min-height:54px;margin-top:20px;border:0;font-size:16px}
@media (min-width:960px){
  .cx-panel{padding:28px 28px 28px}
}

/* ---------- 4. The chooser list: full-screen sheet on phones, a dropdown under the slot from 700 ---------- */
.cx-list{position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;background:var(--cx-bg);color:var(--cx-text)}
.cx-list[hidden]{display:none}
.cx-lhead,.cx-search,.cx-brands{flex:none}
.cx-lhead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 6px 0 16px}
.cx-lt{font-family:var(--cx-serif);font-size:19px;font-weight:700;line-height:1.3;color:var(--cx-ink)}
.cx .cx-x{display:grid;place-items:center;width:44px;height:44px;margin:0;padding:0;border:0;border-radius:12px;background:none;color:var(--cx-ink)}
.cx-x svg{width:22px;height:22px}
.cx-search{position:relative;margin:8px 16px 0}
.cx-search svg{position:absolute;left:16px;top:50%;width:20px;height:20px;transform:translateY(-50%);color:var(--cx-soft);pointer-events:none}
.cx .cx-search input{display:block;width:100%;height:54px;margin:0;padding:0 16px 0 48px;border:1px solid var(--cx-acc);border-radius:14px;background:var(--cx-bg);color:var(--cx-ink);font:inherit;font-size:16px;outline:none;box-shadow:0 0 0 1px var(--cx-acc);-webkit-appearance:none;appearance:none}
.cx .cx-search input::placeholder{color:var(--cx-soft);opacity:1}
/* brand jumps: plain words, 44px tall; phones: one row that scrolls sideways inside itself (never the page) */
.cx-brands{display:flex;gap:8px;margin:12px 0 2px;padding:0 16px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.cx-brands::-webkit-scrollbar{display:none}
.cx .cx-brand{flex:none;min-height:44px;margin:0;padding:0 16px;border:1px solid var(--cx-edge);border-radius:22px;background:var(--cx-bg);color:var(--cx-ink);font-size:14px;font-weight:600;line-height:1}
.cx .cx-brand:hover{border-color:var(--cx-acc);color:var(--cx-acc)}
.cx-lscroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 16px 28px}
.cx-gh{position:sticky;top:0;z-index:1;margin:0;padding:18px 0 8px;background:var(--cx-bg);font-family:var(--cx-serif);font-size:15px;font-weight:700;line-height:1.3;color:var(--cx-ink)}
.cx .cx-opt{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:14px;width:100%;min-height:66px;margin:0;padding:8px 0;border:0;border-top:1px solid var(--cx-line);background:none;color:var(--cx-ink);text-align:left;font-size:15px;line-height:1.35}
.cx .cx-opt:hover .cx-oname{color:var(--cx-acc-ink)}
.cx .cx-opt[hidden]{display:none}
.cx-obody{display:flex;flex-direction:column;min-width:0}
.cx-oname{font-weight:600}
.cx-oprice{font-size:14.5px;color:var(--cx-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
/* the phone already chosen in the other slot: shown, not choosable */
.cx-oth{display:none;align-items:center;gap:6px;margin-top:2px;font-size:13px;font-weight:600;color:var(--cx-acc-ink)}
.cx-oth svg{width:15px;height:15px}
.cx .cx-opt.is-other{cursor:default}
.cx .cx-opt.is-other .cx-oname{color:var(--cx-muted)}
.cx .cx-opt.is-other .cx-oth{display:flex}
.cx .cx-opt.is-other .cx-thumb{opacity:.6}
.cx-lnone{padding:28px 0;font-size:15px;color:var(--cx-muted)}
.cx-lnone[hidden]{display:none}
html.cx-lock,html.cx-lock body{overflow:hidden}
@media (min-width:700px){
  /* the dropdown opens over its own field: the search input takes the field's place, the list hangs below it */
  .cx-list{position:absolute;inset:auto 0 auto 0;top:30px;z-index:40;max-height:min(70vh,560px);border:1px solid var(--cx-edge);border-radius:16px;box-shadow:0 18px 42px -26px rgba(17,24,32,.4)}
  .cx-lhead{display:none}
  .cx-search{margin:-1px -1px 0}
  .cx .cx-search input{height:68px;padding-left:62px;border-radius:16px}
  .cx-search svg{left:23px;width:22px;height:22px}
  .cx-brands{flex-wrap:wrap;margin:10px 0 2px;padding:0 14px;overflow:visible}
  .cx-lscroll{padding:0 14px 16px}
  html.cx-lock,html.cx-lock body{overflow:visible}
}

/* ---------- 5. Popular comparisons: photo pairs. Blade adds cx-pop-n1 .. cx-pop-n6 (the count), the grid never
   leaves a hole: phones 1 column; from 700 2 columns, an odd last card takes the whole row; from 1100 three
   or six cards sit 3 across, five sit 3 + 2 (six-track grid), one, two and four stay as above ---------- */
.cx-sec{margin-top:56px}
.cx-sec > h2{font-size:clamp(24px,6.2vw,30px);line-height:1.28;letter-spacing:-.3px;margin:0 0 20px}
.cx-pop{display:grid;gap:30px}
.cx .cx-pair{display:block;color:var(--cx-ink);border-radius:18px}
.cx-pair-ph{position:relative;display:grid;grid-template-columns:1fr 1fr;aspect-ratio:16/10;border-radius:18px;background:var(--cx-tile);overflow:hidden}
.cx-half{position:relative;display:block}
.cx-half img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;padding:9% 10%;transition:transform .4s cubic-bezier(.2,.7,.3,1)}
.cx-half > svg{position:absolute;left:50%;top:50%;width:22%;height:auto;transform:translate(-50%,-50%);color:var(--c-c9d1d9)}
.cx a.cx-pair:hover .cx-half img{transform:scale(1.04)}
.cx-pair-ph .cx-vsdot{left:50%;top:50%;transform:translate(-50%,-50%)}
.cx-pair-t{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:var(--cx-gap);margin-top:14px}
.cx-pair-n{display:block;font-size:15px;font-weight:600;line-height:1.35;color:var(--cx-ink)}
.cx a.cx-pair:hover .cx-pair-n{color:var(--cx-acc-ink)}
.cx-pair-p{display:block;margin-top:4px;font-size:14.5px;line-height:1.4;color:var(--cx-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
@media (min-width:700px){
  .cx-pop{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px var(--cx-gap)}
  .cx-pop > li:last-child:nth-child(odd){grid-column:1/-1}
  .cx-pair-ph{aspect-ratio:auto;height:224px}
  .cx-half img{padding:20px 9%}
  .cx-pop > li:last-child:nth-child(odd) .cx-pair-ph{height:260px}
  .cx-pop > li:last-child:nth-child(odd) .cx-pair-t{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:960px){
  .cx-hero + .cx-sec{margin-top:60px}
  .cx-sec > h2{margin-bottom:22px}
  .cx-pair-ph{height:226px;border-radius:20px}
  .cx-pair-n{font-size:16px}
  .cx-pair-p{font-size:15px}
}
@media (min-width:1100px){
  .cx-pop.cx-pop-n3,.cx-pop.cx-pop-n6{grid-template-columns:repeat(3,minmax(0,1fr))}
  .cx-pop.cx-pop-n5{grid-template-columns:repeat(6,minmax(0,1fr))}
  .cx-pop.cx-pop-n5 > li{grid-column:span 2}
  .cx-pop.cx-pop-n5 > li:nth-child(n+4){grid-column:span 3}
  .cx-pop.cx-pop-n3 > li:last-child{grid-column:auto}
  .cx-pop.cx-pop-n3 > li:last-child .cx-pair-ph,.cx-pop.cx-pop-n5 > li:last-child .cx-pair-ph{height:226px}
}
@media (prefers-reduced-motion:reduce){.cx-half img{transition:none}.cx a.cx-pair:hover .cx-half img{transform:none}}

/* =====================================================================================================================
   RESULT (/compare/{a}/vs/{b})
   ===================================================================================================================== */
.cx .cx-back{display:inline-flex;align-items:center;gap:6px;min-height:44px;font-size:15px;font-weight:600}
.cx-back svg{width:18px;height:18px}
.cx .cx-back:hover span{text-decoration:underline;text-underline-offset:3px}
.cx-top{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--cx-gap);row-gap:20px;margin-top:2px}
.cx-show .cx-intro{grid-column:1/-1}
.cx-show h1{font-size:clamp(26px,7vw,40px);line-height:1.2;letter-spacing:-.4px;text-wrap:balance}
.cx-show h1 .cx-vs{color:var(--cx-soft);font-weight:600}

/* ---------- 6. The two product cards: photo tile, then name, price, instalment, buy (same order and the same
   proportions on every width; the button always spans its card and the buttons line up at the bottom) ---------- */
.cx-prod{display:flex;flex-direction:column;min-width:0}
.cx-phw{position:relative}
.cx-prod + .cx-prod .cx-vsdot{left:calc(var(--cx-gap) / -2);top:50%;transform:translate(-50%,-50%)}
.cx .cx-pname{margin-top:14px;font-family:inherit;font-size:15px;font-weight:600;line-height:1.35;color:var(--cx-ink)}
.cx-price{margin-top:6px;font-family:var(--cx-serif);font-size:24px;font-weight:700;line-height:1.15;color:var(--cx-ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.cx-inst{margin-top:5px;font-size:13.5px;line-height:1.45;color:var(--cx-muted)}
.cx-inst b{font-weight:600;color:var(--cx-ink)}
.cx-buy{margin:auto 0 0;padding-top:16px}
.cx-buy .cx-btn{width:100%}
@media (min-width:700px){
  .cx .cx-pname{font-size:17px}
  .cx-price{font-size:28px}
  .cx-inst{font-size:14.5px}
}
@media (min-width:960px){
  .cx-top{row-gap:26px;margin-top:6px}
  .cx-show h1{font-size:40px;line-height:1.22}
  .cx-show .cx-ph{aspect-ratio:16/9;border-radius:22px}
  .cx-show .cx-ph img{padding:5% 10%}
  .cx-show .cx-top .cx-vsdot{width:46px;height:46px;font-size:15px}
  .cx .cx-pname{margin-top:20px;font-size:20px;line-height:1.3}
  .cx-price{margin-top:8px;font-size:32px}
  .cx-inst{margin-top:6px;font-size:15px}
  .cx-buy{padding-top:22px}
  .cx-buy .cx-btn{min-height:52px;font-size:16px}
}

/* ---------- 7. The comparison: head (H2, legend, "only differences"), sticky mini header, grouped cards ---------- */
.cx-spec{margin-top:48px}
.cx-spec-head{display:grid;justify-items:start}
.cx-spec-head h2{font-size:clamp(23px,6vw,30px);line-height:1.25;letter-spacing:-.2px;margin:0 0 8px}
.cx-legend{display:flex;align-items:center;gap:8px;font-size:14.5px;line-height:1.5;color:var(--cx-muted)}
.cx-legend .cx-mark{width:17px;height:17px;color:var(--cx-acc-ink)}
/* the switch: a real track and knob in both themes (grey track + white knob when off, accent when on), focus ring on the track */
.cx .cx-switch{display:inline-flex;align-items:center;gap:12px;min-height:44px;margin:8px 0 0;padding:0 4px 0 0;border:0;background:none;color:var(--cx-ink);font-size:15px;font-weight:600;line-height:1.3}
.cx-track{position:relative;flex:none;width:46px;height:28px;border-radius:14px;background:var(--c-c9d1d9);transition:background .18s}
.cx-track::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#fff;transition:transform .18s cubic-bezier(.3,.7,.4,1)}
.cx .cx-switch[aria-checked="true"] .cx-track{background:var(--cx-acc)}
.cx .cx-switch[aria-checked="true"] .cx-track::after{transform:translateX(18px)}
.cx .cx-switch:focus-visible{outline:none}
.cx .cx-switch:focus-visible .cx-track{outline:2px solid var(--cx-acc-ink);outline-offset:3px}
@media (prefers-reduced-motion:reduce){.cx-track,.cx-track::after{transition:none}}

/* which column is which, kept in view while the groups scroll; same columns as the values below */
.cx-mini{position:sticky;top:0;z-index:6;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--cx-cg);margin:16px -16px 12px;padding:10px calc(16px + var(--cx-p));background:var(--cx-bg);border-bottom:1px solid var(--cx-line)}
.cx-mini > div{display:flex;align-items:center;gap:10px;min-width:0}
.cx-mini .cx-thumb{width:36px;height:36px;border-radius:10px}
.cx-mini .cx-thumb img{padding:4px}
.cx-mini b{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;font-weight:600;line-height:1.3;color:var(--cx-ink)}
@media (max-width:359px){.cx-mini .cx-thumb{display:none}} /* very narrow phones: the names get the whole column */

.cx-groups{display:grid;gap:12px}
.cx-group{background:var(--cx-panel);border-radius:20px;padding:16px var(--cx-p) 4px}
.cx-gt{display:flex;align-items:center;gap:12px;margin:0 0 2px;font-size:18px;line-height:1.3}
.cx-gi{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:10px;background:var(--cx-tint);color:var(--cx-acc)}
.cx-gi svg{width:19px;height:19px}
/* rows: hairlines only between rows (never right under the title), also when "only differences" hides some */
.cx-row{padding:12px 0 14px}
.cx-row + .cx-row{border-top:1px solid var(--cx-line)}
.cx-lab{margin:0 0 5px;font-size:13px;font-weight:600;line-height:1.4;color:var(--cx-muted)}
.cx-vals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:var(--cx-cg)}
.cx-v{min-width:0;font-size:15px;font-weight:500;line-height:1.5;color:var(--cx-ink);overflow-wrap:break-word;font-variant-numeric:tabular-nums}
.cx-row.is-same .cx-v{font-weight:400;color:var(--cx-text)}
.cx .cx-v.is-win{font-weight:600;color:var(--cx-acc-ink)}
.cx-v .cx-mark{display:inline-block;width:16px;height:16px;margin-right:7px;vertical-align:-3px}
/* the price row reads like the price on the tiles above (serif, larger): the one group that is not just text */
.cx .cx-row-price .cx-v{font-family:var(--cx-serif);font-size:21px;font-weight:700;line-height:1.3}
.cx .cx-row-price .cx-v.is-win{color:var(--cx-acc-ink)}
.cx-row-price .cx-v .cx-mark{width:18px;height:18px;margin-right:8px;vertical-align:-2px}
/* a missing value (the controller prints a dash): a short muted rule, the dash itself stays for screen readers */
.cx-none{display:inline-block;width:16px;height:2px;border-radius:2px;background:var(--c-aab2bb);vertical-align:middle}
.cx-v small{display:block;font-size:inherit}
/* "only differences": rows with the same value on both sides, and groups left empty, step aside */
.cx-spec.is-diff .cx-row.is-same,.cx-spec.is-diff .cx-group:not(.has-diff){display:none}
.cx-spec.is-diff .cx-row + .cx-row{border-top:0}
.cx-spec.is-diff .cx-row:not(.is-same) ~ .cx-row:not(.is-same){border-top:1px solid var(--cx-line)}
.cx-nospec{display:flex;gap:12px;margin-top:12px;padding:16px 18px;border:1px solid var(--cx-line);border-radius:18px;font-size:14.5px;line-height:1.6;color:var(--cx-muted)}
.cx-nospec svg{width:20px;height:20px;margin-top:2px;color:var(--cx-soft)}
.cx-end{margin:36px 0 0}
@media (min-width:700px){
  .cx-spec-head{grid-template-columns:minmax(0,1fr) auto;column-gap:24px;align-items:end}
  .cx-spec-head h2,.cx-legend{grid-column:1}
  .cx .cx-switch{grid-column:2;grid-row:1/span 2;align-self:center;margin:0}
  .cx-mini{margin:20px 0 14px;padding:12px var(--cx-p)}
  .cx-group{border-radius:22px;padding:20px var(--cx-p) 8px}
  .cx-gt{margin-bottom:4px}
  .cx-v{font-size:15.5px}
  .cx .cx-row-price .cx-v{font-size:22px}
}
@media (min-width:960px){
  .cx-spec{margin-top:76px}
  .cx-spec-head{padding:0 0 4px}
  .cx-spec-head h2{font-size:30px;margin-bottom:10px}
  .cx-mini{margin:22px 0 16px;padding:12px var(--cx-p) 13px}
  .cx-mini > div{gap:12px}
  .cx-mini .cx-thumb{width:40px;height:40px}
  .cx-mini b{font-size:15px}
  .cx-groups{gap:14px}
  .cx-group{border-radius:24px;padding:24px var(--cx-p) 10px}
  .cx-gt{font-size:20px;gap:14px;margin-bottom:6px}
  .cx-gi{width:38px;height:38px;border-radius:11px}
  .cx-gi svg{width:20px;height:20px}
  .cx-row{padding:14px 0 16px}
  .cx-lab{font-size:13.5px;margin-bottom:6px}
  .cx-v{font-size:16px}
  .cx .cx-row-price .cx-v{font-size:24px}
  .cx-end{margin-top:56px}
}

/* =====================================================================================================================
   PRODUCTION ADDITIONS (not in the mockup: states the mockup could not draw)
   ===================================================================================================================== */
/* the frozen price ("coming soon", x-frozen-price) in a card and in a cell: the component's own pill, in the body font
   (the price row is serif), allowed to wrap so it never runs out of a narrow column */
.cx .pf{font-family:var(--cx-sans);max-width:100%;white-space:normal;text-align:center;line-height:1.25}
.cx .pf-sm,.cx .pf-md{height:auto;min-height:40px;padding:7px 14px}
.cx .pf-md{min-height:44px}
.cx-frz{margin-top:8px}
@media (min-width:960px){.cx-frz{margin-top:10px}}
/* picker, desktop list: the English "price and instalment" is lower case in lang/en.json (another page uses it there) */
.cx-what li span{display:inline-block}
.cx-what li span::first-letter{text-transform:uppercase}
/* no JavaScript: the chooser cannot open, so the panel lists the models as plain links (GET /compare?a=..&b=..) */
.cx-nojs{margin-top:18px;padding-top:4px}
.cx-nojs-t{margin:0 0 4px 2px;font-size:14px;font-weight:600;line-height:1.4;color:var(--cx-muted)}
.cx-nojs-b{margin:14px 0 2px 2px;font-family:var(--cx-serif);font-size:15px;font-weight:700;line-height:1.3;color:var(--cx-ink)}
.cx .cx-nojs ul{display:grid}
.cx .cx-nojs li + li{border-top:1px solid var(--cx-line)}
.cx .cx-nojs a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:6px 2px;color:var(--cx-ink);font-size:15px;font-weight:600;line-height:1.35}
.cx .cx-nojs a:hover{color:var(--cx-acc-ink)}
.cx-nojs-p{flex:none;font-size:14px;font-weight:400;color:var(--cx-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
/* fix round 1 (verifiers): */
/* the phone sheet sits over the site's cookie bar (z 9998) and chat button (9999): .cx-list z-index 10000 above */
/* a focused chooser row: the ring is drawn inside the row (the sticky brand title would cut it), and focus that scrolls
   the list stops the row below that title */
.cx .cx-opt{scroll-margin-top:52px;scroll-margin-bottom:8px}
.cx .cx-opt:focus-visible{outline-offset:-2px}
/* a product name with one very long word never runs out of its box (titles, cards, fields, list, presets, mini header) */
.cx-show h1,.cx .cx-pname,.cx-mini b,.cx-fname,.cx-oname,.cx-pair-n,.cx-nojs a>span:first-child{overflow-wrap:anywhere}
/* a photo whose file is gone: no alt text over the tile (compare.js swaps in the outline phone) */
.cx-ph img,.cx-thumb img,.cx-half img{color:transparent}
/* compare.js did not run although JavaScript is on: the page's load check shows the link list (.cx-fb on the form);
   the same rules as the <noscript> style in the view: no dead button, no arrows, no empty field */
.cx .cx-fb .cx-go,.cx .cx-fb .cx-fchev,.cx .cx-fb .is-void{display:none}
