/* ROXPRO — "מותגים" + a brand's page (direction A, approved mockups brands.html / brand.html, version 40). Ported by
   tools/port_brands_css.py (do not edit by hand). First the category page's CSS (same look), then the brand 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 brand pages' own ===== */
/* ================= brands ================= */
main.brands-page,main.brand-page{padding-bottom:8px}
.wm{display:block;font-weight:800;text-transform:uppercase;letter-spacing:.05em;line-height:1.1;color:var(--ink);text-align:center;overflow-wrap:anywhere}   /* a brand without a logo: its name (Claude's choice) */
/* 1. head + the approved trust row, slim */
.bs-head{padding:6px var(--gut) 0}
.bs-head h1{font-size:30px;font-weight:700;letter-spacing:-.025em;line-height:1.1}
.bs-meta{margin-top:6px;font-size:14px;color:var(--ink-2)}
.trust.slim{margin:14px var(--gut) 0;padding:10px 6px}
.trust.slim li{flex-direction:row;justify-content:center;gap:6px;font-size:12.5px}
.trust.slim .t-ic{width:30px;height:30px;font-size:17px;flex:none}
/* 2. a tile per brand */
.bt-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px var(--gut) 0}
.bt{position:relative;display:flex;flex-direction:column;min-width:0;padding:10px 12px 12px;border-radius:20px;border:1px solid var(--line);background:#fff;
  transition:transform .3s var(--spring),box-shadow .3s var(--ease),border-color .2s}
.bt:active{transform:scale(.97)}
.bt-logo{height:58px;display:grid;place-items:center;padding:4px 6px}
.bt-logo img{max-width:100%;max-height:calc(38px * var(--s,1));width:auto;height:auto;object-fit:contain;transition:transform .35s var(--spring)}   /* --s: the logo's optical size (rox_brand_scale, session 69) */
.bt-logo .wm{font-size:14px}
.bt-logo .wm.long{font-size:11.5px;letter-spacing:.03em}
.bt-n{margin-top:8px;font-size:15px;font-weight:600;line-height:1.25}
.bt-c{font-size:13px;color:var(--ink-2)}
.bt-l{margin-top:4px;font-size:13px;line-height:1.35;color:var(--ink-2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bt .sale-tag{top:8px;right:8px;height:22px;padding-inline:8px;font-size:12px}
.bt.tagged .bt-logo{padding-top:22px;height:70px}
.bt.tagged .bt-logo img{max-height:calc(34px * var(--s,1))}
/* 3. one brand: a light, short head, so products show on the first screen (Claude's choice) */
.bh{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);gap:14px;align-items:center;margin:2px var(--gut) 0;padding:14px;border-radius:24px;background:var(--tile-bg)}
.bh-logo{width:76px;height:76px;border-radius:19px;background:#fff;display:grid;place-items:center;padding:9px;box-shadow:0 1px 2px rgba(20,20,20,.05),0 10px 20px -12px rgba(20,20,20,.25)}
/* a wide logo: the same height, a wider white box, so it isn't tiny in a square (session 69, Claude's choice; rox_brand_head_cls) */
.bh-logo.w2{width:112px}
.bh-logo.w3{width:132px}
.bh-logo img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.bh-logo .wm{font-size:12px}
.bh-logo .wm.long{font-size:9.5px;letter-spacing:.02em}
.bh h1{font-size:27px;font-weight:700;letter-spacing:-.02em;line-height:1.1}
/* the smallest phones (320): the name kept spilling out of the head (Labocosmetica by 29px even before; Colourlock, NANOLAB next to a
   wide box), so there a slightly smaller name and a slightly narrower wide box (measured, products-xfer/s69/head-fit.js) */
@media (max-width:374px){ .bh h1{font-size:22px} .bh-logo.w3{width:124px} }
.bh-line{margin-top:3px;font-size:14px;line-height:1.4;color:var(--ink-2)}
.bh-meta{margin-top:7px;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:13.5px;color:var(--ink-2)}
.bh-meta b{color:var(--ink);font-weight:600}
.bh-meta .sale-chip{height:24px;font-size:12.5px}
/* a brand with no products (Nasiol today): no logo cell, the sentence on full width, and a clear way on (full test 28.10.26) */
.bh.bh-empty{grid-template-columns:minmax(0,1fr)}
.bh-all{display:inline-flex;align-items:center;gap:4px;min-height:44px;margin-top:6px;font-size:15px;font-weight:600;color:var(--ink)}
.bh-all .ti{font-size:17px}
.sale-go{position:relative;gap:1px;padding-inline:10px 6px;transition:background-color .2s,transform .15s}
.sale-go i{font-size:14px}
.sale-go::after{content:"";position:absolute;inset:-10px -4px}   /* a 44px tap area around the small tag */
.sale-go:active{transform:scale(.96)}
@media (hover:hover){ .sale-go:hover{background:#ffe0dc} }
/* 6. the brand's kits: the dark panel of the home page, kits floating on its stage; under the list (Harel 23.10.26: one menu, the list first) */
.b-kits .bk-stage{position:relative;display:block;height:214px;margin-top:2px;--hmax:164}
.b-kits .st-floor{bottom:12px}
.st-row{position:absolute;left:18px;right:18px;bottom:34px;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:transform .9s var(--spring)}
.st-it img{position:absolute;max-width:none;height:auto}
.b-kits .feat-cta{margin-top:16px}
.sub.zero{opacity:.45}   /* a type with 0 products under the filter on */
/* 4 + 5. all the brand's products right under the head: one row of type chips, filter + sort, grid (the category page's parts; Harel 23.10.26: one menu, not two) */
.b-all{position:relative;margin-top:4px}
.b-all>.sec-h{margin-bottom:0}
.b-all .subs{padding-top:12px}
.b-all .c-tools{top:calc(60px + env(safe-area-inset-top,0px))}
.c-more[hidden]{display:none}
.b-later{color:var(--ink-3)}
/* 7. about + more brands */
.b-about{margin-top:34px}
.b-about .txt{display:block;-webkit-line-clamp:unset}
.b-more{margin-top:30px}
/* בטלפון ובאייפד לאורך רוחב האריח נקבע לפי רוחב המסך: תמיד כמה אריחים שלמים ועוד חצי שנחתך בקצה, כדי שיהיה ברור שהשורה נגללת
   (סשן 72, הראל 15.11.26: "כן לבנות"). קודם 118 קבוע, ובאייפון 12 עד 17 (390 עד 402) נכנסו בדיוק 3 ושום דבר לא נחתך.
   אותו חשבון בדיוק ב-brand-row.css (דף הבית), לשנות את שניהם יחד. הבדיקה: products-xfer/s72/brands/phone.js. */
.b-more .brands{--tw:max(118px, calc((100vw - 36px) / 2.5))}
@media (min-width:480px){ .b-more .brands{--tw:calc((100vw - 46px) / 3.5)} }
@media (min-width:600px){ .b-more .brands{--tw:calc((100vw - 56px) / 4.5)} }
@media (min-width:768px){ .b-more .brands{--tw:calc((100vw - 66px) / 5.5)} }
.b-more .brand{width:var(--tw);height:72px;padding:10px 12px}
.b-more .brand.wide{width:calc(var(--tw) * 1.35)}   /* a very wide logo (Colourlock, NANOLAB) gets a wider tile, as in the home page's row (session 69) */
.b-more .brand img{max-height:calc(34px * var(--s,1))}
.b-more .brand .wm{font-size:11.5px}
.b-more .brand .wm.long{font-size:9.5px;letter-spacing:.02em}
/* Claude's choice: small touches — tiles rise in turn and lift under the pointer, the product count runs up once, a type chip brings you to the grid */
@media (hover:hover){
  .bt:hover{transform:translateY(-3px);border-color:#d9d5ce;box-shadow:0 14px 26px -16px rgba(20,20,20,.3)}
  .bt:hover .bt-logo img{transform:scale(1.05)}
  .b-more .brand:hover{border-color:var(--ink-3)}
}
@media (min-width:1024px){
  main.brands-page,main.brand-page{display:block;max-width:1280px;margin-inline:auto;padding:0 32px}
  .brands-page .crumbs,.brand-page .crumbs{padding:6px 0 0;font-size:14px}
  .bs-head{padding:0;display:flex;align-items:baseline;gap:18px}
  .bs-head h1{font-size:36px}
  .bs-meta{margin-top:0;font-size:15px}
  .trust.slim{margin:16px 0 0;padding:12px 20px}
  .trust.slim li{font-size:14px;gap:10px}
  .bt-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;padding:18px 0 0}
  .bt{padding:14px 16px 16px}
  .bt-logo{height:72px}
  .bt-logo img{max-height:calc(44px * var(--s,1))}
  .bt-logo .wm{font-size:16px}
  .bt-n{font-size:16px}
  
  .bh{grid-template-columns:auto minmax(0,1fr);gap:22px;margin:4px 0 0;padding:18px 24px}
  .bh-logo{width:96px;height:96px;border-radius:24px;padding:12px}
  .bh h1{font-size:36px}
  .bh-line{font-size:16px}
  .bh-meta{font-size:15px}
  #bKitsRail>:nth-child(n+6){display:none}   /* the computer shows 5 in one row */
  .b-kits{margin-top:44px}
  .b-kits .bk-stage{display:none}
  .b-all{margin-top:10px;display:grid;grid-template-columns:250px minmax(0,1fr) auto;column-gap:36px;align-items:start;
    grid-template-areas:"h h h" "side subs subs" "side tools tools" "side chips chips" "side grid grid" "side more more" "side shown shown"}   /* the type chips get the full width (review 26.10.26: 3 ragged rows next to the sort) */
  .b-all>.sec-h{grid-area:h;padding:0}
  .b-all.nof{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"h h" "subs subs" "tools tools" "chips chips" "grid grid" "more more" "shown shown"}
  .b-about{margin:44px 0 0}
  .b-more{margin-top:44px}
  /* "מותגים נוספים" במחשב = השורה של דף הבית (סשן 72, הראל 15.11.26: היו כאן 6 בשורה ושם 5, ו-20 מותגים השאירו 4 מקומות ריקים):
     אותו גובה, אותו ריווח, אותו לוגו, וכמה בשורה מגיע מ-rox_brand_cols() (--bcn עד 1199, --bc מ-1200). שורה אחרונה שלא מתמלאת
     יושבת באמצע. ה-.01px: שעיגול לא יוריד אריח לשורה הבאה. */
  .b-more .brands{display:flex;flex-wrap:wrap;justify-content:center;--cols:var(--bcn,5)}
  .b-more .brand,.b-more .brand.wide{flex:0 0 calc((100% - (var(--cols) - 1) * 16px) / var(--cols) - .01px);min-width:0;width:auto;height:74px;padding:12px 14px}
  .b-more .brand img{max-height:calc(40px * var(--sd,var(--s,1)))}
  .b-more .brand .wm{font-size:13px}
}
@media (min-width:1200px){ .b-more .brands{--cols:var(--bc,5)} }
.b-more .brand picture{display:contents}   /* the tile's markup is the home row's now (a picture around the logo): the logo itself stays the tile's own item, as before */
.b-more .brand source{display:none}   /* or Koch Chemie's source takes an empty row in the tile and pushes the logo down from the middle */
@media (min-width:1024px) and (max-width:1199px){ .bt-grid{grid-template-columns:repeat(4,minmax(0,1fr))} }

/* ---------- the real store (27.10.26), added by tools/port_brands_css.py ---------- */
/* a white logo (the official files for Labocosmetica, IK, MaxShine are white): drawn black on the light tiles (Claude's choice) */
img.inv{filter:brightness(0)}
/* the type chips are buttons on this page (not links, as on a category) */
.brand-page .sub[aria-pressed="true"]{background:var(--ink);color:#fff}
.brand-page .sub[aria-pressed="true"] .sub-n{color:#c9cbcf}
/* "טיוטת נוסח": "על המותג" is Claude's draft until Harel writes his own */
.draft-tag{display:inline-flex;align-items:center;height:22px;margin-top:10px;padding-inline:8px;border-radius:11px;background:#fff4c2;color:#6b5300;font-size:12px;font-weight:500}
/* computer (Claude's choice, after/before 27.10.26): the same density as the rest of the shop after Harel's "כן להקטין את התצוגה
   במחשב" (rox.css @@DENSITY, the category page): smaller titles, a slimmer filter column, five cards next to it from 1200px */
@media (min-width:1024px){
  .bs-head h1,.bh h1{font-size:30px}
  .bs-meta,.bh-meta{font-size:14px}
  .bh-line{font-size:15px}
  .bh{grid-template-columns:auto minmax(0,1fr);gap:18px;padding:16px 22px}
  .bh-logo{width:84px;height:84px;border-radius:21px;padding:11px}
  .bh-logo.w2{width:150px}
  .bh-logo.w3{width:200px}
  /* שורות מלאות תמיד (סשן 72): כמה כרטיסים בשורה מגיע מ-rox_brand_cols() לפי מספר המותגים (--bcn עד 1199, --bc מ-1200; בלי
     המספר: 5 ו-6, כמו שהיה). שורה אחרונה שלא מתמלאת יושבת באמצע. היו 6 בשורה, ו-21 מותגים השאירו 3 מקומות ריקים. */
  .bt-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:14px;--cols:var(--bcn,5)}
  .bt{flex:0 0 calc((100% - (var(--cols) - 1) * 14px) / var(--cols) - .01px)}
  .bt-logo{height:64px}
  .bt-logo img{max-height:calc(40px * var(--s,1))}
  .bt-n{font-size:15px}
  .b-all{grid-template-columns:220px minmax(0,1fr) auto;column-gap:28px}
  .b-about,.b-more,.b-kits{margin-top:40px}
}
@media (min-width:1200px){ .bt-grid{--cols:var(--bc,6)} }
