/* ROXPRO — kits page + "בנה ערכה בעצמך" (direction A, approved mockups kits.html / diy.html, version 40). Ported by
   tools/port_kits_css.py (do not edit by hand). First the category page's CSS (same look), then the kits pages' 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 kits pages' own ===== */
/* ================= kits ================= */
main.kits-page{padding-bottom:8px}
.kits-page .c-tools{position:static}   /* the sort row stays with the ready-made kits, not over the self-build part */
.k-tap{display:flex;align-items:center;gap:6px;padding:4px var(--gut) 0;font-size:13.5px;color:var(--ink-2)}
.k-tap i{font-size:17px}
.k-jump{display:inline-flex;align-items:center;gap:4px;min-height:44px;font-weight:600;color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:#c9c6c0}
.c-grid .card .one{font-size:13px}
/* 5-6. build your own */
.diy{margin:34px var(--gut) 0;position:relative}
.diy-h{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}
.diy-h h2{font-size:24px;font-weight:700;letter-spacing:-.02em}
.diy-lead{margin-top:4px;font-size:14.5px;line-height:1.5;color:var(--ink-2)}
.diy-tabs{display:flex;gap:8px;overflow-x:auto;margin:14px calc(-1 * var(--gut)) 0;padding:2px var(--gut) 4px;scrollbar-width:none}
.diy-tabs::-webkit-scrollbar{display:none}
.diy-tab{flex:none;height:46px;display:inline-flex;align-items:center;gap:8px;padding-inline:14px 16px;border-radius:23px;background:var(--tile);font-size:14.5px;font-weight:500;transition:background-color .25s,color .25s}
.diy-tab i{font-size:19px}
.diy-tab[aria-selected="true"]{background:var(--ink);color:#fff}
.diy-card{margin-top:12px;border-radius:24px;border:1px solid var(--line);background:#fff;overflow:hidden;box-shadow:0 1px 2px rgba(20,20,20,.04),0 18px 36px -18px rgba(20,20,20,.18)}
.diy-top{padding:14px 16px 0}
.diy-top b{display:block;font-size:17px;font-weight:600}
.diy-top span{font-size:13px;color:var(--ink-2)}
/* floating products, cropped to the product itself (bb) — the way-in card on kits.html and every part on diy.html */
.st-row{position:absolute;left:14px;right:14px;bottom:40px;display:flex;justify-content:center;align-items:flex-end}
.st-it{position:relative;flex:none;display:block;overflow:hidden;-webkit-box-reflect:below 1px linear-gradient(transparent 76%,rgba(255,255,255,.13));
  transition:opacity .7s var(--ease),transform .9s var(--spring)}
.st-it img{position:absolute;max-width:none;height:auto}
.st-it.tick{animation:pop .5s var(--spring) both;animation-delay:var(--pd,0s)}
@keyframes pop{0%{transform:translateY(18px) scale(.8);opacity:.2}100%{transform:none;opacity:1}}
/* the kit, part by part, on a dark stage (Harel 23.10): a carousel on the phone — the part you stand on is big, its neighbours smaller, like
   the first product on the home page stage; every part starts as an empty product silhouette that the shopper fills ("בדמות המוצר ריק") */
.diy-stage{position:relative;margin:12px 16px 0;padding:14px 0 16px;border-radius:22px;background:var(--night);color:#fff;overflow:hidden;isolation:isolate}
.diy-stage::before{content:"";position:absolute;inset:0;z-index:-1;
  background:radial-gradient(70% 34% at 50% 34%,rgba(255,255,255,.17) 0%,rgba(255,255,255,0) 72%),radial-gradient(130% 80% at 50% 0%,#2b2d32 0%,var(--night) 66%)}
.diy-stage :focus-visible{outline-color:#fff;outline-offset:3px}
.diy-stage .st-floor{top:166px;bottom:auto;height:40px}
.car{position:relative;display:flex;align-items:flex-end;height:196px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;
  --sw:clamp(124px,40vw,170px);padding-inline:calc(50% - var(--sw) * .32)}   /* the slots overlap (margin below), so the first and last can still reach the middle */
.car::-webkit-scrollbar{display:none}
.sl{position:relative;flex:none;width:var(--sw);height:100%;margin-inline:calc(var(--sw) * -.18);padding-bottom:24px;scroll-snap-align:center;display:flex;align-items:flex-end;justify-content:center;
  transition:opacity .6s var(--ease),transform .8s var(--spring)}
.sl-in{display:flex;align-items:flex-end;justify-content:center;width:100%;height:100%;transform-origin:50% 100%;transition:transform .35s var(--ease),opacity .35s var(--ease)}
.car.live .sl-in{transition:none}
.sl{pointer-events:none}
.sl .st-it{pointer-events:auto}
.sl .st-it>*{pointer-events:none}
.st-it.glow{overflow:visible}
.st-it.dark img{filter:drop-shadow(0 0 1px rgba(255,255,255,.35)) drop-shadow(0 0 6px rgba(255,255,255,.1))}
.sl.cur{z-index:2}   /* the neighbours peek out from behind the part you stand on */   /* while the finger moves, the sizes follow it at once */
/* an empty part: the shape of the product we recommend, striped, with a "+" */
.st-it.ghost{overflow:visible;-webkit-box-reflect:none;filter:drop-shadow(0 0 1px rgba(255,255,255,.7))}
.gh{position:absolute;display:block;background:repeating-linear-gradient(135deg,rgba(255,255,255,.2) 0 5px,rgba(255,255,255,.07) 5px 10px);
  -webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.gh-plus{position:absolute;left:50%;top:50%;width:36px;height:36px;margin:-18px 0 0 -18px;border-radius:50%;background:rgba(19,20,23,.55);border:1.5px dashed rgba(255,255,255,.7);color:#fff;display:grid;place-items:center}
.gh-plus i{font-size:18px}
.sl.cur .gh-plus{animation:breathe 2.2s var(--ease) infinite}
@keyframes breathe{50%{transform:scale(1.12);border-color:#fff}}
/* what you stand on: part, product, one button */
.cap{min-height:118px;padding:2px 18px 0;text-align:center}
.cap-k{display:block;font-size:12.5px;font-weight:500;color:var(--night-ink-2)}
.cap-n{display:block;margin-top:4px;font-size:17px;font-weight:600;line-height:1.3}
.cap-p{display:block;margin-top:2px;font-size:13.5px;color:var(--night-ink)}
.cap-go{margin-top:10px;min-height:44px;padding-inline:20px;border-radius:22px;background:#fff;color:var(--ink);display:inline-flex;align-items:center;gap:6px;font-size:14.5px;font-weight:600;transition:background-color .2s,transform .15s}
.cap-go.sec{background:rgba(255,255,255,.13);color:#fff}
.cap-go:active{transform:scale(.97)}
.cap-go i{font-size:17px}
.dots{display:flex;justify-content:center;gap:6px;margin-top:14px}
.dots i{width:7px;height:7px;border-radius:4px;background:rgba(255,255,255,.22);transition:width .3s var(--ease),background-color .3s}
.dots i.full{background:rgba(255,255,255,.7)}
.dots i.on{width:20px}
.fill{display:flex;align-items:center;justify-content:center;gap:6px;width:calc(100% - 32px);min-height:46px;margin:14px 16px 0;border-radius:15px;border:1px solid rgba(255,255,255,.26);color:#fff;font-size:14.5px;font-weight:600;transition:background-color .2s}
.fill:active{background:rgba(255,255,255,.08)}
.fill i{font-size:18px}
.fill[hidden]{display:none}
/* Claude's choice: the parts rise onto the stage on every topic change; a chosen product drops into its silhouette */
.diy-stage.hid .sl{opacity:0;transform:translateY(30px)}
.diy-stage.go .sl{transition-delay:calc(var(--i,0) * 70ms)}
@media (prefers-reduced-motion:reduce){ .sl.cur .gh-plus{animation:none} .st-it.tick{animation:none} }
.diy-rows{padding:6px 16px 0}
.dr{display:grid;grid-template-columns:26px 52px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.dr:last-child{border-bottom:0}
.dr .n{width:24px;height:24px;border-radius:50%;background:var(--tile);font-size:12.5px;font-weight:600;display:grid;place-items:center}
.dr .th{width:52px;height:52px;border-radius:13px;background:var(--tile-bg);padding:4px;display:grid;place-items:center}
.dr .th img{width:100%;height:100%;object-fit:contain}
.dr .st{display:block;font-size:12.5px;color:var(--ink-2)}
.dr b{display:block;font-size:14.5px;font-weight:600;line-height:1.3;text-wrap:balance}   /* no word alone on a name's last line (night check 3.11.26) */
.dr .mt{display:block;font-size:13px;color:var(--ink-2)}
.dr .mt[dir="ltr"],.sw-o .mt[dir="ltr"]{text-align:right}
.dr .mt[dir="ltr"]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}   /* the brand + model on one line */
@media (max-width:379px){.dr-sw{width:44px;padding-inline:0;justify-content:center;font-size:0}.dr-sw i{font-size:19px}}   /* narrow phones: the swap button is its icon, the name gets the room (review 26.10.26) */
.dr .tbd{margin-top:4px;white-space:normal;height:auto;min-height:22px;padding-block:3px;line-height:1.35}
.dr-sw{min-height:44px;padding-inline:12px;border-radius:14px;border:1px solid var(--line);display:inline-flex;align-items:center;gap:4px;font-size:14px;font-weight:600}
.dr-sw i{font-size:17px}
.dr.empty b{font-weight:500;color:var(--ink-2)}
.dr .th .gh{position:static;width:44px;height:44px;background:repeating-linear-gradient(135deg,rgba(20,20,20,.2) 0 4px,rgba(20,20,20,.07) 4px 8px)}
.dr-sw.pick{background:var(--ink);border-color:var(--ink);color:#fff}
.diy-go .btn-red.need{background:#fff;color:var(--ink);border:1.5px solid var(--ink);box-shadow:none}
.sw-o .rec{display:inline-flex;align-items:center;height:22px;margin-top:5px;padding-inline:8px;border-radius:11px;background:var(--ink);color:#fff;font-size:12px;font-weight:600}
.sw-o .rec+.in{margin-inline-start:8px}
.diy-sum{position:relative;margin:4px 16px 0;padding:12px 0 2px;border-top:1px solid var(--line);display:grid;gap:7px}
.ds-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:14px;color:var(--ink-2)} .ds-row small{text-wrap:pretty}
.ds-row .num{color:var(--ink);font-weight:500}
.ds-row.minus .num{color:var(--ok);font-weight:600}
.ds-row.big{padding-top:8px;color:var(--ink)}
.ds-row.big span:first-child{font-size:16px;font-weight:600}
.ds-row.big .num{font-size:24px;font-weight:700}
.ds-row small{font-size:12.5px}
.diy-go{padding:12px 16px 16px;display:grid;gap:8px}
.diy-go .btn-red{justify-content:center}
/* the swap window */
.sw-lead{padding:0 var(--gut) 8px;font-size:13.5px;line-height:1.45;color:var(--ink-2)}
.sw-list{padding:0 var(--gut) calc(18px + env(safe-area-inset-bottom));display:grid;gap:8px}
.sw-o{width:100%;display:grid;grid-template-columns:60px minmax(0,1fr) auto;gap:12px;align-items:center;padding:8px 12px 8px 8px;border-radius:18px;border:1.5px solid var(--line);text-align:start;transition:border-color .2s}
.sw-o[aria-pressed="true"]{border-color:var(--ink);background:#fbfaf8}
.sw-o .th{width:60px;height:60px;border-radius:14px;background:var(--tile-bg);padding:4px;display:grid;place-items:center}
.sw-o .th img{width:100%;height:100%;object-fit:contain}
.sw-o b{display:block;font-size:14.5px;font-weight:600;line-height:1.3}
.sw-o .mt{display:block;font-size:13px;color:var(--ink-2)}
.sw-o .pr{display:grid;justify-items:end;gap:2px;font-size:14px;font-weight:600;white-space:nowrap}
.sw-o .pr small{font-size:12px;font-weight:500;color:var(--ink-2)}
.sw-o .tbd{margin-top:4px;white-space:normal;height:auto;min-height:22px;padding-block:3px;line-height:1.35}
.sw-o .in{display:inline-flex;align-items:center;gap:3px;font-size:12.5px;font-weight:600;color:var(--ok)}
@media (min-width:1024px){
  main.kits-page{display:block;max-width:1280px;margin-inline:auto;padding:0 32px}
  .kits-page .crumbs{padding:6px 0 0;font-size:14px}
  .k-head{padding:0}
  .kits-page .subs-wrap .subs{padding:12px 0 2px;flex-wrap:wrap;overflow:visible}
  .kits-page .c-tools{padding:10px 0 2px}
  .k-tap{padding-inline:0;margin-inline:0}
  .kits-page .c-grid{padding:12px 0 0;grid-template-columns:repeat(5,minmax(0,1fr));gap:30px 20px}
  .diy{margin:48px 0 0}
  .diy-tabs{margin:16px 0 0;padding:2px 0 4px;flex-wrap:wrap;overflow:visible}
  .diy-tab:hover{background:var(--tile-2)}
  .diy-tab[aria-selected="true"]:hover{background:var(--ink)}
  .diy-card{display:grid;grid-template-columns:minmax(0,1fr) 380px;grid-template-areas:"top side" "stage side" "rows side";align-items:start}
  .diy-top{grid-area:top;padding:20px 22px 0}
  .diy-stage{grid-area:stage;margin:14px 22px 0;padding:22px 0 20px}
  /* the computer shows every part at once; the one you stand on is big */
  .car{height:250px;overflow:visible;scroll-snap-type:none;justify-content:center;padding-inline:20px;--sw:190px}
  .diy-stage .st-floor{top:206px}
  .sl{cursor:pointer}
  .sl:hover .sl-in{transform:scale(1) !important;opacity:1 !important}
  .cap{min-height:0}
  .fill{width:auto;display:inline-flex;margin:16px auto 0;padding-inline:22px}
  .diy-stage{text-align:center}
  .fill:hover{background:rgba(255,255,255,.08)}
  .cap-go:hover{background:#f1efea}
  .cap-go.sec:hover{background:rgba(255,255,255,.2)}
  .diy-rows{grid-area:rows;padding:8px 22px 14px}
  .diy-side{grid-area:side;align-self:stretch;border-inline-start:1px solid var(--line);background:#fbfaf8;padding:18px 0 4px}
  .diy-sum{border-top:0;margin:0 22px;padding-top:2px}
  .diy-go{padding:14px 22px 18px}
}
@media (min-width:1024px) and (max-width:1199px){ .kits-page .c-grid{grid-template-columns:repeat(4,minmax(0,1fr))} .diy-card{grid-template-columns:minmax(0,1fr) 340px} }
/* 5. the way in from the kits page: "בנה ערכה בעצמך" is its own page since 23.10 (Harel: "דף בפני עצמו").
   Claude's choice: a dark card with the wash kit floating on it, like "שטיפה חיצונית" on the home page */
.diy-promo{position:relative;display:block;margin:34px var(--gut) 0;padding:26px 0 20px;border-radius:28px;background:var(--night);color:#fff;text-align:center;overflow:hidden;isolation:isolate;transition:transform .2s var(--ease)}
.diy-promo::before{content:"";position:absolute;inset:0;z-index:-1;
  background:radial-gradient(70% 34% at 50% 64%,rgba(255,255,255,.16) 0%,rgba(255,255,255,0) 72%),radial-gradient(130% 70% at 50% 0%,#2b2d32 0%,var(--night) 64%)}
.diy-promo:active{transform:scale(.99)}
.diy-promo:focus-visible{outline:2px solid var(--ink);outline-offset:3px}
.dp-txt{display:block;padding-inline:22px}
.dp-k{display:block;font-size:13px;font-weight:500;color:var(--night-ink-2)}
.dp-t{display:block;margin-top:8px;font-size:32px;font-weight:700;letter-spacing:-.03em;line-height:1.04}
.dp-d{display:block;margin-top:8px;font-size:15px;line-height:1.45;color:var(--night-ink)}
.dp-stage{position:relative;display:block;height:190px;margin-top:6px;--hmax:138}
.dp-stage .st-floor{bottom:12px}
.dp-stage .st-row{bottom:34px;left:22px;right:22px}
.dp-go{margin:2px 16px 0;height:52px;border-radius:16px;border:1px solid rgba(255,255,255,.26);display:flex;align-items:center;justify-content:center;gap:6px;font-size:15px;font-weight:600;transition:background-color .2s}
.dp-go i{font-size:18px}
@media (hover:hover){ .diy-promo:hover .st-it{transform:translateY(-5px)} .diy-promo:hover .dp-go{background:rgba(255,255,255,.08)} }
/* 5-8. the self-build page */
.diy-page .diy{margin-top:6px}
.diy-h h1{font-size:30px;font-weight:700;letter-spacing:-.025em;line-height:1.1}
@media (min-width:1024px){
  .diy-promo::before{background:radial-gradient(40% 46% at 29% 64%,rgba(255,255,255,.16) 0%,rgba(255,255,255,0) 72%),radial-gradient(130% 70% at 50% 0%,#2b2d32 0%,var(--night) 64%)}
  .diy-promo{margin:56px 0 0;padding:34px 44px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);grid-template-areas:"txt stage" "go stage";align-content:center;column-gap:32px;text-align:right}
  .dp-txt{grid-area:txt;align-self:end;padding:0}
  .dp-stage{grid-area:stage}
  .dp-t{font-size:40px}
  .dp-d{font-size:17px;max-width:30em}
  .dp-go{grid-area:go;align-self:start;justify-self:start;display:inline-flex;margin:22px 0 0;padding-inline:24px}
  .dp-stage{height:250px;margin:0;--hmax:196}
  .dp-stage .st-row{bottom:40px}
  .dp-stage .st-floor{bottom:14px}
  .diy-page .diy{margin-top:10px;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"h tabs" "lead tabs" "card card" "notes notes";column-gap:24px}
  .diy-page .diy-h{grid-area:h}
  .diy-page .diy-lead{grid-area:lead}
  .diy-page .diy-tabs{grid-area:tabs;align-self:end;margin:0}
  .diy-page .diy-card{grid-area:card;margin-top:16px;overflow:clip}
  .diy-page .car{height:220px}
  .diy-page .diy-stage .st-floor{top:178px}
  .diy-side-in{position:sticky;top:calc(146px + env(safe-area-inset-top,0px))}
  .diy-h h1{font-size:36px}
}

/* ---------- the real store (27.10.26), added by tools/port_kits_css.py ---------- */
/* the head keeps the mockup's one line ("30 ערכות מוכנות · או בנה ערכה בעצמך"); the category page splits its long brand list */
.k-head .c-meta{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 8px}
.k-head .c-meta>[aria-hidden]{display:inline}
/* "בנה בעצמך" while the switch in the back office is off: only the shop manager sees the page, with this tag */
.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}
/* the topic chips are buttons on this page (not links, as on a category) */
.kits-page .sub[aria-pressed="true"]{background:var(--ink);color:#fff}
.kits-page .sub[aria-pressed="true"] .sub-n{color:#c9cbcf}
/* computer (Claude's choice, after/before 27.10.26): the same card size as the rest of the shop after Harel's "כן להקטין את התצוגה
   במחשב" (rox.css @@DENSITY) — six in a row like the home page (the kits page has no filter column), five on a small computer;
   the titles as on a category page */
@media (min-width:1024px){
  .kits-page .c-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px 16px}
  .diy-h h1{font-size:30px}
  .dp-t{font-size:34px}
  .dp-stage{height:220px;--hmax:170}
}
@media (min-width:1200px){ .kits-page .c-grid{grid-template-columns:repeat(6,minmax(0,1fr))} }
