/* The modern look of the big brand sites (owner 2026-12-03: rubi.am, draper.am, jbm.am, topex.am, stuermer.am),
   made from artplast.am's theme: everything in the brand's own colour (--brand, --on-brand from the page). */
.t-modern{
  --bg:#F3F4F2; --surface:#FFFFFF; --surface-2:color-mix(in srgb,var(--brand) 10%,#fff); --ink:#151A1E; --muted:#5B656D; --line:#DDE1DC;
  --hdr:#12181C; --hdr-2:#1B2328; --hdr-line:#2A353C; --hdr-ink:#EEF2EF; --hdr-muted:#9EABB2;
  --orange:var(--brand); --orange-2:color-mix(in srgb,var(--brand) 65%,#fff); --deep:color-mix(in srgb,var(--brand) 70%,#000);
  --sh:0 1px 2px rgba(0,20,30,.06),0 8px 24px rgba(0,20,30,.08); --sh-h:0 2px 4px rgba(0,20,30,.08),0 16px 36px rgba(0,20,30,.14);
}
.t-modern{background:var(--bg)}
.t-modern h1,.t-modern h2{letter-spacing:-.01em}
.t-modern h2{font-size:clamp(22px,2.6vw,30px)}

/* the line under the header: Italian green-white-red, then orange */
.t-modern .brandbar{height:5px;background:var(--brand)}
.t-modern .lbox{border-radius:12px}
.t-modern .search{border-radius:999px}
.t-modern .lang b{background:var(--orange);color:#21190F}

/* hero */
.t-modern .intro{margin-top:22px}
.t-modern .hero{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:28px;align-items:center;
  background:radial-gradient(120% 140% at 100% 0%,var(--orange-2) 0%,var(--brand) 55%,var(--deep) 100%);
  border-radius:28px;padding:34px 36px;box-shadow:var(--sh-h);position:relative;overflow:hidden}
.t-modern .hero::after{content:"";position:absolute;right:-80px;bottom:-120px;width:340px;height:340px;border-radius:50%;background:rgba(255,255,255,.12);pointer-events:none}
.t-modern .hero .crumbs,.t-modern .hero .crumbs a{color:var(--on-brand);opacity:.8}
.t-modern .hero h1{font-size:clamp(34px,5vw,56px);line-height:1.02;margin:8px 0 14px;color:var(--on-brand)}
.t-modern .hero p{color:var(--on-brand);opacity:.88}
.t-modern .hero .lead{color:var(--on-brand);opacity:1;font-size:18px;font-weight:500}
.t-modern .hero .note{color:var(--on-brand);opacity:.8}
.t-modern .hero .btn{border-radius:999px;min-height:48px;padding:0 22px;box-shadow:0 4px 14px rgba(60,30,0,.18)}
.t-modern .hero .btn.brand{background:#12181C;border-color:#12181C;color:#fff}
.t-modern .hero .btn.ghost{background:rgba(255,255,255,.9);border-color:transparent}
.t-modern .hcol{display:grid;grid-template-columns:1fr 1fr;gap:14px;position:relative;z-index:1}
.t-modern .hcol span{background:#fff;border-radius:20px;aspect-ratio:1;display:grid;place-items:center;padding:12px;box-shadow:0 10px 30px rgba(70,35,0,.25)}
.t-modern .hcol span:nth-child(1){transform:rotate(-3deg)}
.t-modern .hcol span:nth-child(2){transform:rotate(2deg) translateY(14px)}
.t-modern .hcol span:nth-child(3){transform:rotate(2deg) translateY(-6px)}
.t-modern .hcol span:nth-child(4){transform:rotate(-2deg) translateY(8px)}
.t-modern .hcol img{width:100%;height:100%;object-fit:contain}
.t-modern .hbadge{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(-6deg);background:#fff;color:var(--on-brand);
  font:700 14px/1 var(--f-disp);letter-spacing:.06em;text-transform:uppercase;padding:12px 18px;border-radius:999px;box-shadow:0 8px 24px rgba(0,0,0,.22);white-space:nowrap}

/* section tiles with a photo */
.t-modern .tiles{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:16px}
.t-modern .tile{flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;padding:0;border:0;border-radius:20px;background:var(--surface);box-shadow:var(--sh);transition:transform .18s,box-shadow .18s}
.t-modern .tile::before{display:none}
.t-modern .tile:hover{transform:translateY(-4px);box-shadow:var(--sh-h)}
.t-modern .tile .ti{width:100%;height:190px;aspect-ratio:auto;object-fit:contain;background:linear-gradient(180deg,#F4F6F5,#fff);padding:14px;border-bottom:1px solid var(--line)}
.t-modern .tile .tiph{display:grid;place-items:center;background:linear-gradient(135deg,var(--orange-2),var(--orange));color:rgba(27,18,8,.85);font:800 22px var(--f-disp);letter-spacing:.02em}
.t-modern .tile .tn{padding:14px 16px 4px;font-size:16px;line-height:1.25}
.t-modern .tile .tc{align-self:flex-start;margin:6px 16px 16px;background:var(--surface-2);color:var(--deep);font-weight:700;border-radius:999px;padding:3px 10px;font-size:12.5px}

/* list + filters */
.t-modern .filters .fgroup h3{color:var(--deep)}
.t-modern .fitem[aria-pressed="true"]{background:var(--orange);color:var(--on-brand)}
.t-modern .lctl select,.t-modern .btn.ghost{border-radius:999px}
.t-modern .card{border:0;border-radius:18px;box-shadow:var(--sh);transition:transform .18s,box-shadow .18s}
.t-modern .card:hover{transform:translateY(-3px);box-shadow:var(--sh-h)}
.t-modern .ph{border-bottom:1px solid var(--line);background:linear-gradient(180deg,#F8F9F8,#fff)}
.t-modern .sku{color:var(--deep)}
.t-modern .ask,.t-modern .add,.t-modern .sheet{border-radius:12px}
.t-modern .add{background:var(--orange);color:var(--on-brand)}

/* why / faq */
.t-modern .why{counter-reset:w;gap:16px}
.t-modern .why li{border:0;border-radius:20px;box-shadow:var(--sh);padding:22px 20px 20px 74px;position:relative;min-height:96px}
.t-modern .why li::before{counter-increment:w;content:counter(w);position:absolute;left:20px;top:20px;width:40px;height:40px;border-radius:50%;
  background:linear-gradient(135deg,var(--orange-2),var(--orange));color:var(--on-brand);font:700 18px/40px var(--f-disp);text-align:center}
.t-modern .faq details{border:0;border-radius:16px;box-shadow:var(--sh)}
.t-modern .faq summary{list-style:none;position:relative;padding-right:48px}
.t-modern .faq summary::-webkit-details-marker{display:none}
.t-modern .faq summary::after{content:"+";position:absolute;right:16px;top:50%;transform:translateY(-50%);width:26px;height:26px;border-radius:50%;background:var(--surface-2);color:var(--deep);font:700 18px/26px var(--f-body);text-align:center}
.t-modern .faq details[open] summary::after{content:"−"}

/* footer */
.t-modern footer{background:#12181C;border-top:6px solid var(--orange)}
.t-modern footer a:hover{color:var(--orange-2)}

@media (max-width:860px){
  .t-modern .hero{grid-template-columns:1fr;padding:24px 20px;border-radius:22px;gap:18px}
  .t-modern .hcol{max-width:420px;margin:0 auto 10px;width:100%}
  .t-modern .hero h1{font-size:34px}
}
@media (max-width:560px){
  .t-modern .tiles{grid-template-columns:1fr 1fr;gap:10px}
  .t-modern .tile .ti{height:140px}
  .t-modern .tile .tn{font-size:14px;padding:10px 12px 2px}
  .t-modern .tile .tc{margin:4px 12px 12px}
  .t-modern .hbadge{font-size:12px;padding:10px 12px 10px 44px}
  }
@media (prefers-reduced-motion:reduce){.t-modern .tile,.t-modern .card{transition:none}.t-modern .tile:hover,.t-modern .card:hover{transform:none}}

/* the product's own window (brand-sites/app.js, #p=<id>) */
.pdlg{border:0;padding:0;border-radius:24px;width:min(1040px,calc(100vw - 32px));max-height:calc(100vh - 32px);overflow:auto;background:var(--surface);color:var(--ink);box-shadow:0 30px 80px rgba(40,20,0,.35)}
.pdlg::backdrop{background:rgba(36,26,16,.55);backdrop-filter:blur(3px)}
.pd{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px;padding:28px;position:relative}
.pdx{position:absolute;right:14px;top:14px;width:40px;height:40px;border-radius:50%;border:0;background:var(--surface-2);color:var(--ink);font-size:24px;line-height:1;cursor:pointer;z-index:2}
.pdx:hover{background:var(--orange)}
.pdmain{position:relative;aspect-ratio:1;border-radius:18px;background:linear-gradient(180deg,#F4F6F5,#fff);display:grid;place-items:center;padding:18px;border:1px solid var(--line)}
.pdmain>img:first-child{max-width:100%;max-height:100%;object-fit:contain}
.pdmain .flag{position:absolute;right:14px;top:14px}
.pdmain .best{position:absolute;right:14px;top:40px}
.pdth{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.pdth button{width:64px;height:64px;padding:4px;border-radius:12px;border:2px solid var(--line);background:#fff;cursor:pointer}
.pdth button[aria-pressed="true"]{border-color:var(--orange)}
.pdth img{width:100%;height:100%;object-fit:contain}
.pdi{padding-top:6px;min-width:0}
.pdi .sku{color:var(--deep);font-weight:600}
.pdi h2{font-size:clamp(22px,2.4vw,30px);line-height:1.15;margin:6px 46px 8px 0}
.pdi .price.req{margin:0 0 14px;font-size:15px}
.pdacts{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.pdacts .btn{border-radius:999px}
.pdacts .btn.brand{background:var(--orange);border-color:var(--orange);color:var(--on-brand)}
.pdacts .btn svg{flex:none}
.pdi h3{font:700 15px var(--f-disp);text-transform:uppercase;letter-spacing:.05em;color:var(--deep);margin:18px 0 8px}
.pdi p{margin:0 0 6px;color:var(--muted)}
.pdspec{width:100%;border-collapse:collapse;font-size:14px}
.pdspec th,.pdspec td{text-align:left;padding:7px 10px;border-bottom:1px solid var(--line);vertical-align:top}
.pdspec th{color:var(--muted);font-weight:500;width:50%}
.pdspec tr:nth-child(odd) th,.pdspec tr:nth-child(odd) td{background:#F7F8F7}
@media (max-width:760px){
  .pdlg{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;border-radius:0;margin:0}
  .pd{grid-template-columns:1fr;padding:18px 16px 28px;gap:16px}
  .pdacts .btn{flex:1 1 auto;justify-content:center}
  .pdmain .flag{right:auto;left:14px}.pdmain .best{right:auto;left:14px}
}

/* trust row under the hero */
.t-modern .trust ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.t-modern .trust li{background:var(--surface);border-radius:16px;box-shadow:var(--sh);padding:14px 16px 14px 46px;font-weight:600;position:relative}
.t-modern .trust li::before{content:"✓";position:absolute;left:14px;top:50%;transform:translateY(-50%);width:22px;height:22px;border-radius:50%;background:var(--orange);color:var(--on-brand);font:700 13px/22px var(--f-body);text-align:center}
@media (max-width:860px){.t-modern .trust ul{grid-template-columns:1fr 1fr}}

/* section help + product type chips above the list */
.t-modern .secnote{margin:0 0 12px;padding:12px 16px;border-radius:14px;background:var(--surface-2);color:var(--ink);border-left:4px solid var(--orange)}
.t-modern .chips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 12px;scrollbar-width:thin}
.t-modern .chips:empty{display:none}
.t-modern .chips button{flex:none;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:8px 14px;font-weight:600;cursor:pointer;white-space:nowrap}
.t-modern .chips button .num{color:var(--muted);font-weight:500;margin-left:2px}
.t-modern .chips button[aria-pressed="true"]{background:#12181C;color:#ffffff;border-color:var(--on-brand)}
.t-modern .chips button[aria-pressed="true"] .num{color:#B8C2C8}

/* compare */
.t-modern .cmpb{flex:none;width:38px;height:38px;border-radius:12px;border:1px solid var(--line);background:var(--surface);color:var(--muted);display:grid;place-items:center;cursor:pointer}
.t-modern .cmpb[aria-pressed="true"]{background:#12181C;color:#ffffff;border-color:var(--on-brand)}
.cmpbar{position:fixed;left:50%;bottom:18px;transform:translateX(-50%);z-index:40;display:flex;gap:8px;background:#12181C;padding:8px;border-radius:999px;box-shadow:0 10px 30px rgba(0,0,0,.3)}
.cmpbar .btn{border-radius:999px}
.cmpbar .btn.brand{background:var(--orange);border-color:var(--orange);color:var(--on-brand)}
.cmpw{padding:26px;position:relative}
.cmpw h2{margin:0 50px 14px 0}
.cmpscroll{overflow-x:auto}
.cmpt{border-collapse:collapse;min-width:100%;font-size:14px}
.cmpt th,.cmpt td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top;min-width:170px}
.cmpt th{color:var(--muted);font-weight:500;min-width:130px;position:sticky;left:0;background:var(--surface)}
.cmpt td a{display:flex;flex-direction:column;gap:4px;text-decoration:none;color:var(--ink)}
.cmpt td img{width:120px;height:90px;object-fit:contain}
.cmpt td .btn.sm{margin-top:6px;min-height:30px;padding:0 10px}

/* product window: other sizes of the line, similar */
.pdrel{grid-column:1/-1;border-top:1px solid var(--line);padding-top:14px}
.pdrel h3{font:700 15px var(--f-disp);text-transform:uppercase;letter-spacing:.05em;color:var(--deep);margin:0 0 10px}
.pdrow{display:flex;gap:10px;overflow-x:auto;padding-bottom:6px}
.pdmini{flex:none;width:150px;display:flex;flex-direction:column;gap:3px;text-decoration:none;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:8px}
.pdmini:hover{border-color:var(--orange)}
.pdmini .pm{height:90px;display:grid;place-items:center}
.pdmini .pm img{max-width:100%;max-height:90px;object-fit:contain}
.pdmini .sku{font-size:12px;color:var(--deep)}
.pdmini .pn{font-size:12.5px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media (max-width:760px){.pdacts{position:sticky;bottom:0;background:var(--surface);padding:10px 0;margin-bottom:8px;z-index:1}}

/* a section's or a product's own page */
.t-modern .sub{margin-top:22px}
.t-modern .sub h1{font-size:clamp(26px,3.4vw,40px);margin:8px 0 14px}
.t-modern .sub .grid{margin-top:8px}
.t-modern .pdpage{padding:0;gap:32px;margin-bottom:10px}
.t-modern .pdpage .h3{font:700 15px var(--f-disp);text-transform:uppercase;letter-spacing:.05em;color:var(--deep);margin:18px 0 8px}
.t-modern .wrap0{margin-top:30px}
@media (max-width:760px){.t-modern .pdpage{grid-template-columns:1fr}}
