/* ROXPRO — "מדריכים" + an article (direction A, approved mockups guides.html / guide.html, version 40). Ported by
   tools/port_guides_css.py (do not edit by hand). First the category page's CSS (the same chips), then the guides' own. */
/* ROXPRO — category page (direction A, approved mockup category.html, version 40). Ported by tools/port_category_css.py;
   the inner-page bar and breadcrumbs it uses are in rox.css (@@INNER). */
/* ================= category page ================= */
.c-head{padding:6px var(--gut) 0}
.c-head h1{font-size:30px;font-weight:700;letter-spacing:-.025em;line-height:1.1;text-wrap:balance}
.c-meta{margin-top:6px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;font-size:14px;color:var(--ink-2)}
.c-meta b{color:var(--ink);font-weight:600}
.c-desc{margin-top:6px;font-size:15px;line-height:1.5;color:var(--ink-2);max-width:62ch}
.subs{display:flex;gap:8px;overflow-x:auto;padding:16px var(--gut) 4px;scrollbar-width:none;scroll-padding-inline:var(--gut)}
.subs::-webkit-scrollbar{display:none}
.sub{flex:none;height:46px;display:inline-flex;align-items:center;gap:8px;padding-inline:5px 16px;border-radius:23px;background:var(--tile);font-size:14px;font-weight:500;white-space:nowrap;transition:background-color .25s,color .25s}
.sub .sub-th{width:36px;height:36px;border-radius:50%;background:#fff;padding:3px;flex:none}
.sub .sub-th img{width:100%;height:100%;object-fit:contain}
.sub .sub-n{font-size:13px;color:var(--ink-2);font-weight:400}
.sub[aria-pressed="true"]{background:var(--ink);color:#fff}
.sub[aria-pressed="true"] .sub-n{color:#c9cbcf}
.sub.all{padding-inline:16px}
.c-tools{position:sticky;top:calc(60px + env(safe-area-inset-top,0px));z-index:20;display:flex;align-items:center;gap:8px;padding:10px var(--gut);background:rgba(255,255,255,.94);backdrop-filter:saturate(1.6) blur(18px);-webkit-backdrop-filter:saturate(1.6) blur(18px);border-bottom:1px solid transparent;transition:border-color .2s}
.c-tools.stuck{border-bottom-color:var(--line)}
.f-btn{flex:none;height:44px;display:inline-flex;align-items:center;gap:6px;padding-inline:12px 14px;border-radius:14px;border:1px solid var(--line);font-size:14px;font-weight:600}
.f-btn i{font-size:19px}
.f-n{min-width:22px;height:22px;padding-inline:6px;border-radius:11px;background:var(--ink);color:#fff;font-size:13px;font-weight:600;display:grid;place-items:center}
.f-n[hidden]{display:none}
.sort{position:relative;flex:1;min-width:0;max-width:240px;margin-inline-start:auto}
.sort select{width:100%;height:44px;border-radius:14px;border:1px solid var(--line);background:#fff;font:inherit;font-size:14px;font-weight:500;color:var(--ink);padding-inline:38px 34px;appearance:none;-webkit-appearance:none;cursor:pointer}
.sort .s-ic{position:absolute;right:12px;left:auto;top:50%;transform:translateY(-50%);font-size:18px;pointer-events:none;color:var(--ink)}
.sort i{position:absolute;left:11px;top:50%;transform:translateY(-50%);font-size:17px;pointer-events:none;color:var(--ink-2)}
.chips-on{display:flex;flex-wrap:wrap;gap:6px;padding:0 var(--gut) 4px}
.chips-on:empty{display:none}
.chip-on{position:relative;height:40px;display:inline-flex;align-items:center;gap:4px;padding-inline:12px 8px;border-radius:17px;background:var(--red-tint);color:var(--ink);font-size:13px;font-weight:500}
.chip-on i{font-size:15px;color:var(--ink-2)}
.chip-clear{position:relative;height:40px;padding-inline:8px;font-size:13px;font-weight:500;color:var(--ink-2);text-decoration:underline;text-underline-offset:3px}
.chip-on::after,.chip-clear::after{content:"";position:absolute;inset:-2px 0}
.c-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px;padding:12px var(--gut) 0}
.c-grid .card{width:auto}
.c-grid.swap{animation:rise .4s var(--ease) both}
.c-empty{grid-column:1/-1;padding:28px 12px;text-align:center;border-radius:20px;background:var(--tile)}
.c-empty b{display:block;font-size:16px;font-weight:600}
.c-empty p{margin-top:4px;font-size:14px;color:var(--ink-2)}
.c-empty button{margin-top:12px;height:44px;padding-inline:18px;border-radius:14px;background:var(--ink);color:#fff;font-size:14px;font-weight:600}
.c-more{display:flex;flex-direction:column;align-items:center;gap:10px;padding:28px var(--gut) 0}
.c-more p{font-size:13px;color:var(--ink-2)}
.c-prog{width:180px;height:4px;border-radius:2px;background:var(--tile);overflow:hidden}
.c-prog span{display:block;height:100%;background:var(--ink)}
.more-btn{height:50px;padding-inline:26px;border-radius:16px;border:1.5px solid var(--ink);font-size:15px;font-weight:600}
.more-btn:active{transform:scale(.98)}
.c-help{margin:30px var(--gut) 0;width:calc(100% - 2 * var(--gut))}
.c-seo{margin:30px var(--gut) 0;padding:18px;border-radius:22px;background:var(--tile)}
.c-seo h2{font-size:17px;font-weight:600}
.c-seo .txt{margin-top:8px;font-size:14px;line-height:1.6;color:var(--ink-2);max-width:68ch;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.c-seo.open .txt{display:block;-webkit-line-clamp:unset}
.c-seo .txt p+p{margin-top:8px}
.seo-more{margin-top:8px;min-height:44px;display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:600}
.seo-more i{font-size:17px;transition:transform .25s}
.c-seo.open .seo-more i{transform:rotate(180deg)}
.filters{display:none}
.fo.off{opacity:.42;cursor:default}
.cat-row.here{background:var(--tile);border-radius:14px}
.fs-foot .btn-red[aria-disabled="true"]{background:var(--tile);color:var(--ink-2);box-shadow:none}
.subs-wrap{position:relative}
/* filter sheet (phone) */
#fSheet .sheet-scroll{padding:0 var(--gut) 8px}
.fg{padding:14px 0;border-bottom:1px solid var(--line)}
.fg:last-child{border-bottom:0}
.fg h3{font-size:15px;font-weight:600;margin-bottom:6px}
.fo{position:relative;display:flex;align-items:center;gap:12px;min-height:46px;cursor:pointer;font-size:15px}
.fo input{position:absolute;opacity:0;pointer-events:none}
.fo .box{width:24px;height:24px;flex:none;border-radius:7px;border:1.5px solid #c9c6c0;display:grid;place-items:center;color:#fff;font-size:16px;transition:background-color .15s,border-color .15s}
.fo input:checked + .box{background:var(--ink);border-color:var(--ink)}
.fo input:focus-visible + .box{outline:2px solid var(--ink);outline-offset:2px}
.fo .box i{opacity:0}
.fo input:checked + .box i{opacity:1}
.fo .lab{flex:1;min-width:0}
.fo .cnt{font-size:13px;color:var(--ink-2)}
.fo .lab bdi{font-weight:500}
.fs-foot{display:flex;gap:10px}
.fs-foot .ghost{flex:none;height:54px;padding-inline:18px;border-radius:16px;border:1px solid var(--line);font-size:15px;font-weight:600}
.fs-foot .btn-red{flex:1;justify-content:center}
.fs-h{display:flex;align-items:baseline;gap:10px;padding:6px var(--gut) 4px;padding-inline-end:68px}
.fs-h h2{font-size:23px;font-weight:600;letter-spacing:-.02em}

@media (min-width:1024px){
  main.cat-page{display:grid;max-width:1280px;grid-template-columns:250px minmax(0,1fr) auto;column-gap:36px;align-items:start;
    grid-template-areas:"crumbs crumbs crumbs" "head head head" "side subs tools" "side chips chips" "side grid grid" "side more more" "help help help" "seo seo seo"}
  .c-body,.c-main{display:contents}
  .crumbs{grid-area:crumbs;padding:6px 0 0;font-size:14px}
  /* title and count on one line, so the first row of products shows on a 650px-tall laptop screen */
  .c-head{grid-area:head;padding:0;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:baseline;column-gap:18px}
  .c-head .c-desc{grid-column:1 / -1}
  .c-head .c-meta{margin-top:0}
  .subs-wrap{grid-area:subs}
  .c-tools{grid-area:tools;align-self:center}
  .chips-on{grid-area:chips}
  .c-grid{grid-area:grid}
  .c-more{grid-area:more}
  .c-help{grid-area:help;justify-self:start}
  .c-seo{grid-area:seo}
  .filters{grid-area:side;align-self:start}
  .fg{padding:10px 0}
  .fo{min-height:38px}
  .c-head h1{font-size:36px}
  .c-meta{font-size:15px}
  .c-desc{font-size:16px}
  .subs{padding:12px 0 2px;flex-wrap:wrap;overflow:visible}
  .sub:hover{background:var(--tile-2)}
  .sub[aria-pressed="true"]:hover{background:var(--ink)}
  .filters{display:block;position:sticky;top:calc(140px + env(safe-area-inset-top,0px));max-height:calc(100vh - 152px);margin-top:16px;overflow:auto;padding:4px 18px 8px;border-radius:22px;border:1px solid var(--line);scrollbar-width:thin}
  .filters .f-title{display:flex;align-items:center;justify-content:space-between;padding:12px 0 2px;font-size:17px;font-weight:600}
  .filters .chip-clear{height:30px}
  .f-btn{display:none}
  .c-tools{position:static;padding:12px 0 2px;background:none;backdrop-filter:none;-webkit-backdrop-filter:none}
  .c-tools .c-res{font-size:14px;color:var(--ink-2)}
  .sort{max-width:260px}
  .chips-on{padding:6px 0 0}
  .c-grid{padding:8px 0 0;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 20px}
  .c-more{padding:36px 0 0}
  .c-help{margin:40px 0 0;max-width:560px;width:100%}
  .c-seo{margin:40px 0 0;padding:24px 28px}
  .c-seo h2{font-size:20px}
  .c-seo .txt{font-size:15px;-webkit-line-clamp:2}
}
@media (min-width:1280px){ .c-grid{grid-template-columns:repeat(4,minmax(0,1fr))} }

/* ---------- the real store (27.10.26), added by tools/port_category_css.py ---------- */
/* the sub-categories are real links (Google, a new tab), so "this one" is aria-current, not aria-pressed */
.sub[aria-current]{background:var(--ink);color:#fff}
.sub[aria-current] .sub-n{color:#c9cbcf}
@media (min-width:1024px){ .sub[aria-current]:hover{background:var(--ink)} }
/* phone: the count and the brands on two lines (a real category has up to 9 brands; on one line the "·" was left hanging) */
@media (max-width:1023px){ .c-meta{flex-direction:column;align-items:flex-start;gap:2px} .c-meta>[aria-hidden]{display:none} }
/* computer: "לא מצאתם?" and the text stay beside the filter column, so the filter (it sticks while you scroll a long category)
   never slides over them — the mockup's 6 products were too few to show it */
@media (min-width:1024px){
  main.cat-page{grid-template-areas:"crumbs crumbs crumbs" "head head head" "side subs tools" "side chips chips" "side grid grid" "side more more" "side help help" "side seo seo"}
}
/* nothing to filter by (one brand and no sale: engine bay, boats): no button, no column (the server sets it, the script keeps it) */
.no-f .f-btn,.no-f .filters{display:none}
@media (min-width:1024px){
  main.cat-page.no-f{grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"crumbs crumbs" "head head" "subs tools" "chips chips" "grid grid" "more more" "help help" "seo seo"}
}
/* computer density (Harel 27.10.26 "כן להקטין את התצוגה במחשב", with rox.css @@DENSITY): five cards in a row next to the filter
   column from 1200px (four below), a slimmer filter column, smaller title, chips and tools */
@media (min-width:1024px){
  main.cat-page{grid-template-columns:220px minmax(0,1fr) auto;column-gap:28px}
  main.cat-page.no-f{grid-template-columns:minmax(0,1fr) auto}
  .c-head h1{font-size:30px}
  .c-meta{font-size:14px}
  .c-desc{font-size:15px}
  .crumbs{font-size:13px}
  .crumbs a{min-height:36px}
  .sub{height:40px;gap:7px;padding-inline:4px 14px;border-radius:20px;font-size:13.5px}
  .sub.all{padding-inline:14px}
  .sub .sub-th{width:32px;height:32px}
  .subs{padding-top:10px;gap:6px}
  .sort select{height:40px;border-radius:12px;font-size:13.5px}
  .sort{max-width:230px}
  .c-tools{padding-top:10px}
  .c-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px 16px}
  .filters{top:calc(118px + env(safe-area-inset-top,0px));max-height:calc(100vh - 130px);margin-top:12px;padding:2px 16px 6px;border-radius:20px}
  .filters .f-title{font-size:16px;padding-top:10px}
  .fg h3{font-size:14px}
  .fo{min-height:34px;font-size:14px;gap:10px}
  .fo .box{width:21px;height:21px;border-radius:6px;font-size:14px}
  .c-more{padding-top:28px}
  .more-btn{height:44px;padding-inline:22px;font-size:14px;border-radius:14px}
  .c-help{margin-top:32px;max-width:500px}
  .c-seo{margin-top:32px;padding:20px 24px}
  .c-seo h2{font-size:18px}
}
@media (min-width:1200px){ .c-grid{grid-template-columns:repeat(5,minmax(0,1fr))} }
/* the sub-category chips get the whole row (with six of them they broke onto two lines next to the sort); the sort moves down
   to the row of the active filters (proportions pass 27.10.26) */
@media (min-width:1024px){
  main.cat-page{grid-template-areas:"crumbs crumbs crumbs" "head head head" "side subs subs" "side chips tools" "side grid grid" "side more more" "side help help" "side seo seo"}
  main.cat-page.no-f{grid-template-areas:"crumbs crumbs" "head head" "subs subs" "chips tools" "grid grid" "more more" "help help" "seo seo"}
  .chips-on{align-self:center;padding-top:10px}
  .sub{height:38px;gap:6px;padding-inline:4px 12px;font-size:13px}
  .sub.all{padding-inline:12px}
  .sub .sub-th{width:28px;height:28px;padding:2px}
  .subs.tight .sub-th{display:none}   /* too many to fit one line with pictures (page-category.js fitSubs) */
  .subs.tight .sub{padding-inline:12px}
}
/* "עוד מוצרים": 24 at a time, with how many are shown so far */
.c-more[hidden]{display:none}
.c-prog span{transition:width .3s var(--ease)}

/* ===== the guides' own ===== */
main.guides-page,main.guide-page{padding-bottom:8px}
@media (max-width:1023px){html:has(main.guide-page){scroll-padding-top:72px}}   /* this page's header is the short bar (60px), not the home header */
/* 1-2. head + topics */
.gs-head{position:relative;padding:6px var(--gut) 0}
.gs-head h1{font-size:30px;font-weight:700;letter-spacing:-.025em;line-height:1.1}
.gs-line{margin-top:6px;font-size:14px;color:var(--ink-2)}
.gs-top .subs{padding-top:12px}
/* 3. the lead guide */
.lead{position:relative;display:block;margin:16px var(--gut) 0;border-radius:24px;overflow:hidden;background:var(--tile)}
.lead-img{display:block;aspect-ratio:16/10;overflow:hidden}
.lead-img img{width:100%;height:100%;object-fit:cover}
.lead-txt{display:block;padding:14px 16px 16px}
.gk{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:13px;color:var(--ink-2)}
.lead-t{display:block;margin-top:4px;font-size:21px;font-weight:700;letter-spacing:-.02em;line-height:1.2}
.lead-d{display:-webkit-box;margin-top:6px;font-size:14px;line-height:1.45;color:var(--ink-2);-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.rt{display:inline-flex;align-items:center;gap:4px;font-size:13px;color:var(--ink-2)}
.rt i{font-size:15px}
/* 4. every other guide: rows on the phone */
.g-list{position:relative;display:grid;gap:4px;padding:10px var(--gut) 0}
.g-row{position:relative;display:grid;grid-template-columns:104px minmax(0,1fr);gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}
.g-row .gr-img{display:block;height:84px;border-radius:16px;overflow:hidden;background:var(--tile)}
.g-row .gr-img img{width:100%;height:100%;object-fit:cover}
.g-row b{display:-webkit-box;margin-top:2px;font-size:15px;font-weight:600;line-height:1.3;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.g-row .rt{margin-top:3px}
/* 5. products from the guides */
.g-strip{margin-top:30px}
/* ---------- one guide ---------- */
.gd-head{position:relative;padding:4px var(--gut) 0}
.gd-head h1{margin-top:4px;font-size:27px;font-weight:700;letter-spacing:-.02em;line-height:1.15;text-wrap:balance}
.gd-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px}
.gd-meta{font-size:13.5px;color:var(--ink-2)}
/* 6. share (Harel 23.10.26): the phone's own share, otherwise WhatsApp or copy the link */
.share{position:relative;flex:none;display:inline-flex;align-items:center;gap:6px;height:44px;padding-inline:16px 14px;border-radius:22px;border:1px solid var(--line);background:#fff;font-size:14px;font-weight:500;color:var(--ink);transition:border-color .2s,background-color .2s}
.share i{font-size:18px}
.share:active{background:var(--tile)}
@media (hover:hover){ .share:hover{border-color:var(--ink-3)} }
.gd-img{display:block;margin:14px var(--gut) 0;border-radius:22px;overflow:hidden;aspect-ratio:16/10;background:var(--tile)}
.gd-img img{width:100%;height:100%;object-fit:cover}
/* ⭐ how much of the guide is read: a thin black line under the sticky header (Claude's choice) */
.rd{position:absolute;inset-inline:0;bottom:-1px;height:3px;background:var(--ink);transform:scaleX(var(--rd,0));transform-origin:right;pointer-events:none;will-change:transform}
/* 7. in short + on this page (folded on the phone) */
.short{position:relative;margin:16px var(--gut) 0;padding:14px 16px;border-radius:20px;background:var(--tile)}
.short h2{font-size:15px;font-weight:600}
.short ul{margin-top:6px;display:grid;gap:6px;font-size:14.5px;line-height:1.45}
.short li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:6px}
.short li i{font-size:17px;color:var(--ok);margin-top:2px}
.toc{position:relative;margin:12px var(--gut) 0;border-radius:20px;border:1px solid var(--line);background:#fff}
.toc summary{display:flex;align-items:center;gap:8px;min-height:52px;padding-inline:16px 14px;cursor:pointer;list-style:none;font-size:15px;font-weight:600}
.toc summary::-webkit-details-marker{display:none}
.toc summary i{font-size:19px}
.toc summary .toc-n{font-weight:400;color:var(--ink-2);font-size:14px}
.toc summary .ti-chevron-down{margin-inline-start:auto;color:var(--ink-2);transition:transform .25s var(--ease)}
.toc[open] summary .ti-chevron-down{transform:rotate(180deg)}
.toc ol{display:grid;counter-reset:t;padding:0 12px 8px}
.toc li a{display:flex;align-items:center;gap:10px;min-height:44px;padding-inline:4px;border-radius:12px;font-size:14.5px;line-height:1.3;color:var(--ink)}
.toc li a::before{counter-increment:t;content:counter(t);width:24px;height:24px;border-radius:50%;background:var(--tile);display:grid;place-items:center;font-size:12px;font-weight:600;flex:none;transition:background-color .2s,color .2s}
.toc li a.on{font-weight:600}
.toc li a.on::before{background:var(--ink);color:#fff}
@media (hover:hover){ .toc li a:hover{background:var(--tile)} }
/* 8. the products in the guide */
.need{position:relative;margin-top:24px}
.need .sec-h{margin-bottom:6px}
.all-in{margin:12px var(--gut) 0;width:calc(100% - 2 * var(--gut))}
.all-in .b-l{display:flex;align-items:center;gap:8px}
.all-in.done{background:var(--ink);box-shadow:none}
.need-rows{display:none}
/* 9. the article: Harel's words, set for a long read (Rubik, 16.5px, a line of ~60 characters on the computer) */
.art{position:relative;padding:8px var(--gut) 0;font-size:16.5px;line-height:1.75;color:#262626;overflow-wrap:anywhere}
.art-intro p{font-size:17.5px;line-height:1.7;color:var(--ink)}
.art h2{margin-top:36px;padding-top:24px;border-top:1px solid var(--line);font-size:22px;font-weight:700;letter-spacing:-.015em;line-height:1.25;color:var(--ink);text-wrap:balance}
.art>h2:first-child{margin-top:20px}
.art h3{margin-top:24px;font-size:18px;font-weight:600;line-height:1.35;color:var(--ink)}
.art h4{margin-top:18px;font-size:16.5px;font-weight:600}
.art p{margin-top:12px}
.art ul{margin-top:12px;padding-inline-start:22px;list-style:disc;display:grid;gap:8px}
.art ul li::marker{color:var(--ink-3)}
.art b{font-weight:600;color:var(--ink)}
/* 9. a link inside the text: the words stay as written, a red line under them (red = emphasis only) */
.art a.in{color:var(--ink);font-weight:600;text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:2px;text-underline-offset:4px;text-decoration-skip-ink:none;border-radius:4px;transition:background-color .2s}
.art a.in:active{background:var(--red-tint)}
@media (hover:hover){ .art a.in:hover{background:var(--red-tint)} }
.art h3 a.in{font-weight:600}
.art .was-link{font-weight:500}
/* steps: a number on a thin line that runs down to the next step */
.art ol.steps{margin-top:16px;display:grid;gap:0;counter-reset:s}
.art ol.steps li{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);gap:8px;align-items:start;padding-bottom:16px}
.art ol.steps li::before{counter-increment:s;content:counter(s);position:relative;z-index:1;width:32px;height:32px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:14.5px;font-weight:600}
.art ol.steps li:not(:last-child)::after,.art .step:has(+ .step)::after,.art .step:has(+ .tip + .step)::after{content:"";position:absolute;top:34px;bottom:2px;right:15px;width:2px;border-radius:1px;background:var(--line)}
.art ol.steps li>span{padding-top:3px}
.art .step{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);gap:8px;align-items:start;margin-top:16px}
.art .step .sn{position:relative;z-index:1;width:32px;height:32px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:14.5px;font-weight:600;margin-top:3px}
.art .step .st-b>p:first-child{margin-top:0}
.art .step .st-b>p:first-child:has(+ p){font-weight:600;color:var(--ink)}   /* step 4's own short title line */
.art h3.stg{display:flex;align-items:center;gap:10px}
.art h3.stg .st-t{flex:1 1 auto;min-width:0}
.art h3.stg .sn{width:30px;height:30px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-size:14px;font-weight:600;flex:none}
/* a tip, and Harel's "טיפ זהב" */
.art .tip{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px;margin:16px 0 0;padding:12px 14px;border-radius:18px;background:var(--tile)}
.art .step + .tip,.art .tip:has(+ .step){margin-inline-start:48px}   /* a tip between two steps sits on their line */
.art .tip i{font-size:21px;line-height:1.5}
.art .tip p{margin:0}
.art .tip p + p{margin-top:8px}
.art .gold{position:relative;display:block;margin-top:24px;padding:18px 18px 18px;border-radius:24px;background:var(--night);color:#e9e9e9}
.art .gold-k{display:inline-flex;align-items:center;gap:6px;height:28px;padding-inline:10px 12px;border-radius:14px;background:rgba(255,255,255,.1);color:#fff;font-size:13.5px;font-weight:600}
.art .gold-k i{font-size:17px;color:#fff}
.art .gold a.in{color:#fff}
.art .gold-t{display:block;margin-top:10px;font-size:19px;font-weight:700;letter-spacing:-.01em;line-height:1.3;color:#fff}
.art .gold p{margin-top:8px;color:#e4e4e4}
.art .gold p b{color:#fff}
/* the comparison table: cards on the phone (the first column is each card's title), a table on the computer */
.art .tbl{margin-top:16px}
.art table{width:100%;border-collapse:separate;border-spacing:0;font-size:14.5px;line-height:1.45}
.art th,.art td{padding:10px 12px;text-align:right;vertical-align:top}
.art th{background:var(--tile);font-weight:600;color:var(--ink)}
.art td:first-child{font-weight:600;color:var(--ink)}
/* the questions: one box, each one opens in place */
.art .faqs{margin-top:12px;border-radius:22px;border:1px solid var(--line);padding:0 16px}
.art .faq{position:relative;border-bottom:1px solid var(--line)}
.art .faq:last-child{border-bottom:0}
.art .faq summary{min-height:56px;display:block;position:relative;padding-block:16px;padding-inline-end:40px;font-size:16px;font-weight:600;line-height:1.4;color:var(--ink);cursor:pointer;list-style:none;text-wrap:pretty}   /* one run of text: a flex row made every Latin word (bdi) its own narrow column on a phone (night check 3.11.26) */
.art .faq summary::-webkit-details-marker{display:none}
.art .faq summary::after{content:"+";content:"+" / "";position:absolute;inset-inline-end:0;top:50%;margin-top:-14px;width:28px;height:28px;border-radius:50%;background:var(--tile);display:grid;place-items:center;font-size:19px;font-weight:400;line-height:1;color:var(--ink);transition:transform .25s var(--ease)}
.art .faq[open] summary::after{content:"−";content:"−" / ""}
.art .faq p{margin:0 0 14px;font-size:16px}
.art-end{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px var(--gut) 0;padding:14px 16px;border-radius:20px;background:var(--tile)}
.art-end p{font-size:14.5px;font-weight:500}
.art-end .share{background:#fff;border-color:#fff}
@media (max-width:1023px){
  .art table,.art tbody,.art tr,.art td{display:block}
  .art thead{display:none}
  .art tr{margin-top:10px;padding:10px 14px;border-radius:18px;background:var(--tile)}
  .art td{display:grid;grid-template-columns:44% minmax(0,1fr);gap:8px;padding:3px 0}
  .art td::before{content:attr(data-l);color:var(--ink-2);font-weight:400}
  .art td:first-child{display:block;padding-bottom:6px;font-size:16px}
  .art td:first-child::before{content:none}
}
/* "המוצרים לזה": a link to several products opens a small window of cards with "+" */
.ln-h{display:block;padding-inline:var(--gut) 64px}
.ln-k{display:block;font-size:13px;font-weight:500;color:var(--ink-2)}
.ln-h h2{margin-top:2px;font-size:20px;font-weight:700;letter-spacing:-.015em;line-height:1.25}
.ln-q{display:block;margin-top:4px;font-size:13.5px;color:var(--ink-2)}
#lnSheet .c-grid{padding:6px var(--gut) calc(20px + env(safe-area-inset-bottom))}
/* share window */
.sh-list{display:grid;gap:8px;padding:4px var(--gut) 8px}
.sh-opt{display:grid;grid-template-columns:48px minmax(0,1fr) 20px;align-items:center;gap:12px;min-height:64px;padding:8px 12px;border-radius:18px;background:var(--tile);text-align:right;font-size:15.5px;font-weight:600;color:var(--ink)}
.sh-opt .sh-ic{width:44px;height:44px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:22px}
.sh-opt .ti-brand-whatsapp{color:var(--wa)}
.sh-opt small{display:block;font-size:13px;font-weight:400;color:var(--ink-2)}
.sh-opt>.ti-chevron-left{color:var(--ink-2)}
.sh-url{margin:4px var(--gut) 0;padding:10px 12px;border-radius:14px;border:1px dashed var(--line);font-size:13px;color:var(--ink-2);direction:ltr;text-align:left;overflow-wrap:anywhere}
/* 11. the end: a kit, or "everything to the cart" again */
.g-end{margin-top:30px}
.g-end2{position:relative;margin:30px var(--gut) 0;padding:16px;border-radius:24px;border:1px solid var(--line)}
.g-end2 h2{font-size:18px;font-weight:600}
.g-end2 p{margin-top:4px;font-size:14px;color:var(--ink-2)}
.g-end2 .all-in{margin:14px 0 0;width:100%}
/* 12. more guides */
.g-more{margin-top:30px}
.g-more .guide{width:236px}
.art-intro:empty{display:none}
.art-intro{padding-top:12px}
.art-intro + .gd-img{margin-top:16px}
@media (min-width:1024px){
  main.guides-page,main.guide-page{display:block;max-width:1280px;margin-inline:auto;padding:0 32px}
  .guides-page .crumbs,.guide-page .crumbs{padding:6px 0 0;font-size:14px}
  /* the title and the topics on one line, so the first row of guides fits on 1280x650 */
  .gs-top{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:4px}
  .gs-head{padding:0}
  .gs-head h1{font-size:34px}
  .gs-top .subs{padding:0;flex-wrap:wrap;overflow:visible;justify-content:flex-end}
  .g-grid{position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:22px 18px;margin-top:18px}
  .lead{grid-column:span 2;margin:0;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center}   /* image beside the text: the first row stays one card high */
  .lead-img{aspect-ratio:auto;height:100%;min-height:234px}
  .lead-txt{padding:14px 16px}
  .lead-t{font-size:19px}
  .lead-d{-webkit-line-clamp:3}
  .g-list{display:contents}
  .g-row{display:block;padding:0;border:0}
  .g-row .gr-img{height:160px;border-radius:20px}   /* the first row fits 1280x650 also under the review strip of the published copy */
  .g-row .gk{margin-top:10px}
  .g-strip .rail>:nth-child(n+6){display:none}
  /* one guide: the article and a side column that stays while reading */
  .gd{display:grid;grid-template-columns:minmax(0,720px) 320px;justify-content:space-between;gap:48px;align-items:start}
  .gd-head{padding:0}
  .gd-img{margin:16px 0 0}
  .short,.toc{margin-inline:0}
  .art{padding:8px 0 0;font-size:17px;line-height:1.8}
  .art-intro p{font-size:18.5px}
  .art h2{font-size:25px}
  .art h3{font-size:19px}
  .art .faqs{padding:0 22px}
  .art .gold{padding:22px 26px}
  .art .tbl{border-radius:20px;border:1px solid var(--line);overflow:hidden}
  .art td{border-top:1px solid var(--line)}
  .art-end{margin-inline:0}
  .gd-head h1{font-size:36px}
  .gd-row{margin-top:10px}
  /* the side column stays while reading; a long list scrolls inside it, so "הכל לסל" is always in view on 1280x650 */
  .need-side{position:sticky;top:140px;margin-top:6px;padding:14px;border-radius:22px;border:1px solid var(--line);background:#fff;display:flex;flex-direction:column;max-height:calc(100vh - 230px)}
  #needRows{overflow-y:auto;overscroll-behavior:contain;min-height:0;margin-inline:-4px;padding-inline:4px}
  #lnSheet{width:min(calc(var(--n, 3) * 176px + (var(--n, 3) - 1) * 18px + 48px), calc(100% - 48px))}   /* every product of the set in one row */
  #lnSheet .c-grid{grid-template-columns:repeat(var(--n, 3),minmax(0,1fr));gap:24px 18px;padding:8px 24px 24px}
  #lnSheet .ln-h{padding-inline:24px 72px}
  .need-side h2{font-size:16px;font-weight:600;margin-bottom:6px}
  .need{display:none}
  .need-rows{display:flex}
  .nr{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:56px;border-bottom:1px solid var(--line)}
  .nr:last-child{border-bottom:0}
  .nr-th{width:48px;height:48px;border-radius:12px;background:var(--tile-bg);padding:4px}
  .nr-th img{width:100%;height:100%;object-fit:contain}
  .nr b{display:-webkit-box;font-size:13.5px;font-weight:500;line-height:1.25;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
  .nr small s{margin-inline-start:4px;color:var(--ink-3);font-weight:400}
  .nr small{font-size:13px;color:var(--ink-2)}
  .nr small.s{color:var(--red);font-weight:600}
  .nr .qty,.nr .oos-tag{position:relative;left:auto;bottom:auto;top:auto;right:auto}
  .need-side .all-in{margin:10px 0 0;width:100%;height:50px;font-size:15px}
  .g-end2{margin-inline:0}
  .g-more .rail{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:0}
  .g-more .guide{width:auto}
}
@media (min-width:1024px) and (max-width:1199px){ .gd{grid-template-columns:minmax(0,1fr) 300px;gap:32px} }

/* ---------- the real store (27.10.26), added by tools/port_guides_css.py ---------- */
/* "המוצרים לזה" sits under the product window and the cart: the mockup put it before them in the page, here it comes after the shared layers */
#lnSheet{z-index:79}
/* "טיוטת נוסח": Claude's draft until Harel's own words ("בקצרה", the line under "מדריכים", "המדריך עזר לכם?") */
.draft-tag{display:inline-flex;align-items:center;height:22px;padding-inline:8px;border-radius:11px;background:#fff4c2;color:#6b5300;font-size:12px;font-weight:500;vertical-align:middle;white-space:nowrap}
.gs-line .draft-tag{margin-inline-start:4px}
.gs-line,.lead-t,.g-row b,.gd-meta,.art p,.art li,.short li,.g-t{text-wrap:pretty}   /* no single word alone on the last line ("לרכב") */
.short h2{display:flex;align-items:center;gap:8px}
.art-end p .draft-tag{margin-inline-start:4px}
/* the topic on a card / the lead / the head of an article: a quiet label (kRow in the mockup) */
.gk{display:block;font-size:13px;color:var(--ink-2)}
.g-row .gk{margin-top:0}
/* computer (Claude's choice, after/before 27.10.26): the same density as the rest of the shop after Harel's "כן להקטין את התצוגה
   במחשב" (rox.css @@DENSITY): smaller titles and pictures, six products in a row; the article's text stays a comfortable long read */
@media (min-width:1024px){
  .gs-head h1{font-size:30px}
  .gs-line{font-size:13.5px}
  .g-grid{gap:20px 16px;margin-top:16px}
  .lead-img{min-height:208px}
  .lead-t{font-size:18px}
  .g-row .gr-img{height:140px;border-radius:18px}
  .g-row b{font-size:14.5px}
  .g-strip .rail>:nth-child(n+6){display:revert}
  .g-strip .rail>:nth-child(n+7){display:none}
  .gd{grid-template-columns:minmax(0,700px) 300px;gap:44px}
  .gd-head h1{font-size:31px}
  .art{font-size:16.5px;line-height:1.78}
  .art-intro p{font-size:17.5px}
  .art h2{font-size:23px}
  .art h3{font-size:18px}
  .need-side{top:122px;max-height:calc(100vh - 150px)}
  .g-more .guide{width:auto}
}
@media (min-width:1024px) and (max-width:1199px){
  /* a small computer: the topics under the title, in one row (beside it they broke into two rows, "מנוע" alone) */
  .gs-top{display:block}
  .gs-top .subs{justify-content:flex-start;flex-wrap:nowrap;padding-top:12px}
  .g-strip .rail>:nth-child(n+6){display:none}
  .gd{grid-template-columns:minmax(0,1fr) 280px;gap:32px}
}
