:root{
  --fx-primary:#d92f06; --fx-on-primary:#ffffff;
  --fx-bg:#eceeef; --fx-surface:#ffffff; --fx-text:#0f1214; --fx-muted:#4d565c; --fx-border:#0f1214;
  --fx-radius:0px;
  --fx-font-head:"FynFox Barlow Condensed",system-ui,sans-serif;
  --fx-font-body:"FynFox Schibsted Grotesk",system-ui,sans-serif;
  --pd-hivis:#d4f53c; --pd-steel:#1d3a4a; --pd-rule:2px solid var(--fx-text);
}
html{scroll-behavior:smooth}
body{background:var(--fx-bg);color:var(--fx-text);font-family:var(--fx-font-body);margin:0}
img{max-width:100%;display:block}
h1,h2,h3{font-family:var(--fx-font-head);font-weight:800;line-height:.95;letter-spacing:-.01em;margin:0}
a{color:inherit}
:focus-visible{outline:3px solid var(--fx-primary);outline-offset:2px}
.pd-skip{position:absolute;left:-999px;top:0;background:var(--fx-text);color:#fff;padding:.5rem 1rem;z-index:100}
.pd-skip:focus{left:0}

/* header */
.pd-header{position:sticky;top:0;z-index:40;display:flex;align-items:center;gap:1.25rem;flex-wrap:wrap;background:var(--fx-surface);border-bottom:var(--pd-rule);padding:.6rem clamp(1rem,4vw,2.5rem)}
.pd-brand{display:flex;flex-direction:column;text-decoration:none;line-height:1;margin-right:auto}
.pd-brand-name{font-family:var(--fx-font-head);font-weight:800;font-size:1.9rem;letter-spacing:-.01em}
.pd-brand-sub{font-size:.72rem;color:var(--fx-muted);margin-top:.15rem}
.pd-nav{display:flex;gap:.25rem;align-items:center}
.pd-nav a{font-weight:600;text-decoration:none;padding:.45rem .7rem;border:2px solid transparent}
.pd-nav a:hover{border-color:var(--fx-text)}
.pd-nav a[aria-current=page]{background:var(--fx-text);color:#fff}
.pd-actions{display:flex;align-items:center;gap:.6rem}
.pd-lang{display:flex;border:var(--pd-rule)}
.pd-lang button{font:inherit;font-size:.78rem;font-weight:600;padding:.3rem .5rem;background:var(--fx-surface);color:var(--fx-text);border:0;cursor:pointer}
.pd-lang button[aria-pressed=true]{background:var(--fx-text);color:#fff}
.pd-cartlink{display:inline-flex;align-items:center;gap:.4rem;font-weight:700;text-decoration:none;border:var(--pd-rule);padding:.35rem .6rem;background:var(--pd-hivis);color:var(--fx-text)}
.pd-cartlink:hover{background:var(--fx-text);color:#fff}
.pd-cartcount{background:var(--fx-text);color:#fff;min-width:1.5rem;text-align:center;padding:0 .3rem;font-size:.85rem}
.pd-cartlink:hover .pd-cartcount{background:var(--pd-hivis);color:var(--fx-text)}
#menu-btn{display:none;border:var(--pd-rule);font-size:1.1rem}
@media (max-width:900px){
  #menu-btn{display:inline-flex}
  .pd-nav{display:none;order:5;width:100%;flex-direction:column;align-items:stretch;border-top:var(--pd-rule);padding-top:.5rem}
  .pd-header.fx-open .pd-nav{display:flex}
  .pd-nav a{font-size:1.15rem;padding:.7rem .5rem;border-bottom:1px solid #d5d9dc}
  .pd-brand-sub{display:none}
  .pd-lang button{padding:.3rem .35rem;font-size:.72rem}
}

/* signature pieces */
.pd-tape{height:10px;background:repeating-linear-gradient(-45deg,var(--fx-text) 0 14px,var(--pd-hivis) 14px 28px)}
.pd-main{min-height:60vh;display:block}
.pd-wrap{max-width:1240px;margin:0 auto;padding:clamp(1.5rem,4vw,3rem) clamp(1rem,4vw,2.5rem)}
.pd-h1{font-size:clamp(2.6rem,7vw,5.5rem);border-bottom:6px solid var(--fx-text);padding-bottom:.35rem;margin-bottom:1.5rem}
.pd-h2{font-size:clamp(1.8rem,4vw,3rem);margin-bottom:1rem}
.pd-lead{font-size:1.1rem;max-width:60ch;color:var(--fx-text)}
.pd-panel{background:var(--fx-surface);border:var(--pd-rule);padding:clamp(1rem,2.5vw,1.75rem)}
.pd-dark{background:var(--pd-steel);color:#fff}
.pd-binno{font-family:var(--fx-font-head);font-weight:800;font-size:2.2rem;line-height:1;color:var(--fx-primary)}
.pd-sticker{display:inline-block;background:var(--pd-hivis);color:var(--fx-text);border:var(--pd-rule);font-weight:700;font-size:.75rem;padding:.1rem .4rem;white-space:nowrap}
.pd-sticker.is-out{background:var(--fx-text);color:#fff}
.pd-sticker.is-example{background:var(--fx-surface)}
.pd-spec{display:grid;grid-template-columns:auto 1fr;gap:.35rem 1rem;border-top:var(--pd-rule);margin:0;padding-top:.75rem}
.pd-spec dt{font-weight:700}.pd-spec dd{margin:0}
.pd-prose{max-width:68ch;line-height:1.65}
.pd-prose h2{font-size:1.8rem;margin:1.75rem 0 .5rem}
.pd-prose p{margin:.6rem 0}

/* product cards: parts bins */
.pd-grid{display:grid;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
@media (max-width:560px){.pd-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}}
.pd-card{background:var(--fx-surface);border:var(--pd-rule);display:flex;flex-direction:column;position:relative;transition:transform .12s,box-shadow .12s}
.pd-card:hover{transform:translate(-4px,-4px);box-shadow:6px 6px 0 var(--fx-text)}
@media (prefers-reduced-motion:reduce){.pd-card{transition:none}.pd-card:hover{transform:none}}
.pd-photo{display:block;aspect-ratio:1/1;background:#f4f5f6;border-bottom:var(--pd-rule);overflow:hidden}
.pd-photo img{width:100%;height:100%;object-fit:contain}
.pd-card-tags{position:absolute;top:.5rem;left:.5rem;display:flex;gap:.3rem;flex-wrap:wrap;pointer-events:none}
.pd-card-body{padding:.75rem;display:flex;flex-direction:column;gap:.4rem;flex:1}
.pd-card-brand{font-size:.78rem;color:var(--fx-muted);margin:0;font-weight:600}
.pd-card h3{font-family:var(--fx-font-body);font-weight:700;font-size:1rem;line-height:1.25;letter-spacing:0}
.pd-card h3 a{text-decoration:none}
.pd-card h3 a:hover{text-decoration:underline;text-decoration-thickness:2px}
.pd-price{font-family:var(--fx-font-head);font-weight:800;font-size:1.9rem;line-height:1;margin-top:auto;padding-top:.3rem}
.pd-card .fx-btn{margin-top:.3rem}

/* kit parts restyled */
.fx-ui .fx-btn{border-radius:0;border:var(--pd-rule);font-weight:700;box-shadow:none}
.fx-ui .fx-btn:not(.fx-btn-secondary):not(.fx-btn-ghost):not(.fx-btn-soft):not(.fx-btn-danger):hover{background:var(--fx-text);color:#fff}
.fx-ui .fx-btn[disabled]{opacity:.55;cursor:not-allowed}
.fx-ui .fx-input,.fx-ui .fx-select,.fx-ui .fx-textarea{border-radius:0;border:var(--pd-rule);background:var(--fx-surface)}
.fx-ui .fx-label{font-weight:700}
.fx-ui .fx-card,.fx-ui .fx-dialog,.fx-ui .fx-table-wrap,.fx-ui .fx-alert,.fx-ui .fx-empty{border-radius:0;box-shadow:none;border:var(--pd-rule)}
.fx-ui .fx-badge{border-radius:0}
.fx-ui .fx-stat-value{font-family:var(--fx-font-head);font-weight:800}
.fx-toasts{position:fixed;right:1rem;bottom:1rem;z-index:90;display:flex;flex-direction:column;gap:.5rem;max-width:min(92vw,360px)}
.fx-ui .fx-toast{background:var(--fx-text);color:#fff;border-left:8px solid var(--pd-hivis);border-radius:0;padding:.7rem .9rem;font-weight:600}
.fx-ui .fx-toast[data-tone=danger]{border-left-color:var(--fx-primary)}

/* owner's area */
.pd-adminnav{display:flex;gap:0;overflow-x:auto;border:var(--pd-rule);background:var(--fx-surface);margin-bottom:1.5rem}
.pd-adminnav a{padding:.6rem .9rem;font-weight:700;text-decoration:none;white-space:nowrap;border-right:var(--pd-rule)}
.pd-adminnav a[aria-current=page]{background:var(--fx-text);color:#fff}
.pd-adminnav a:hover:not([aria-current=page]){background:var(--pd-hivis)}

/* footer */
.pd-footer{background:var(--pd-steel);color:#fff;padding:2.5rem clamp(1rem,4vw,2.5rem) 1.25rem;border:0}
.pd-footer-grid{max-width:1240px;margin:0 auto;display:grid;gap:2rem;grid-template-columns:1.4fr 1fr 1fr 1.2fr}
.pd-footer h2{font-size:1.3rem;margin-bottom:.6rem;color:var(--pd-hivis)}
.pd-footer a{display:block;color:#fff;padding:.2rem 0;text-decoration:none}
.pd-footer a:hover{text-decoration:underline}
.pd-footer p{margin:.25rem 0;color:#e6ecef}
.pd-footer-name{font-family:var(--fx-font-head);font-weight:800;font-size:2.4rem;line-height:1;color:#fff}
.pd-footer-base{max-width:1240px;margin:2rem auto 0;padding-top:1rem;border-top:1px solid #4b6777;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;font-size:.85rem}
@media (max-width:800px){.pd-footer-grid{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.pd-footer-grid{grid-template-columns:1fr}}

/* phone header: slim language strip on top, brand + cart + menu below */
.pd-header{--pd-pad:clamp(1rem,4vw,2.5rem)}
@media (max-width:700px){
  .pd-actions{display:contents}
  .pd-lang{order:-1;flex:0 0 calc(100% + 2 * var(--pd-pad));margin:-.6rem calc(-1 * var(--pd-pad)) 0;padding:0 var(--pd-pad);border:0;background:var(--fx-text);justify-content:flex-end}
  .pd-lang button{background:transparent;color:#fff;padding:.3rem .6rem;font-size:.75rem}
  .pd-lang button[aria-pressed=true]{background:var(--pd-hivis);color:var(--fx-text)}
  .pd-brand-name{font-size:1.7rem}
  .pd-header{gap:.6rem}
}

/* home: first screen */
.pd-hero{background-color:var(--fx-text);color:#fff;background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:56px 56px;overflow:hidden}
.pd-hero-in{max-width:1240px;margin:0 auto;padding:clamp(2.25rem,6vw,5rem) clamp(1rem,4vw,2.5rem) clamp(2.75rem,6vw,5rem);display:grid;gap:clamp(2.25rem,5vw,4rem);align-items:end}
@media (min-width:1000px){.pd-hero-in{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}}
.pd-hero-title{font-size:clamp(4.6rem,15vw,11.5rem);line-height:.8;letter-spacing:-.025em;color:#fff;margin:0}
.pd-hero-title::after{content:"";display:block;width:min(11rem,40%);height:14px;background:var(--fx-primary);margin-top:clamp(1rem,2.5vw,1.75rem)}
.pd-hero-lead{font-size:clamp(1.05rem,1.5vw,1.3rem);line-height:1.5;max-width:46ch;color:#e3e8eb;margin:clamp(1rem,2.5vw,1.75rem) 0 0}
.pd-hero-btns{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.75rem}
.fx-ui .pd-hero-btns .fx-btn{border-color:var(--fx-primary)}
.fx-ui .pd-hero-btns .fx-btn.pd-btn-hivis{background:var(--pd-hivis);color:var(--fx-text);border-color:var(--pd-hivis)}
.fx-ui .pd-hero-btns .fx-btn:hover{background:#fff!important;color:var(--fx-text)!important;border-color:#fff}
@media (max-width:480px){.pd-hero-btns .fx-btn{flex:1 1 100%}}
.pd-ticket{background:var(--fx-surface);color:var(--fx-text);padding:0 clamp(1rem,2.5vw,1.75rem) clamp(1rem,2.5vw,1.75rem);box-shadow:8px 8px 0 var(--pd-hivis);position:relative}
.pd-ticket::before{content:"";display:block;height:10px;margin:0 calc(-1 * clamp(1rem,2.5vw,1.75rem)) 1.1rem;background:repeating-linear-gradient(-45deg,var(--fx-text) 0 14px,var(--pd-hivis) 14px 28px)}
@media (min-width:1000px){.pd-ticket{transform:rotate(1.6deg)}}
@media (max-width:560px){.pd-ticket{box-shadow:5px 5px 0 var(--pd-hivis)}}

/* home: section heads and the category index */
.pd-headrow{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;border-bottom:var(--pd-rule);padding-bottom:.5rem;margin-bottom:1.25rem}
.pd-headrow .pd-h2{margin:0;font-size:clamp(2.2rem,5vw,3.8rem)}
.pd-headrow a{font-weight:700;white-space:nowrap;text-underline-offset:4px;text-decoration-thickness:2px}
.pd-headrow a::after{content:" →"}
.pd-headrow a:hover{color:var(--fx-primary)}
.pd-rail{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:var(--pd-rule);border-left:var(--pd-rule);background:var(--fx-surface)}
.pd-rail a{display:flex;flex-direction:column;justify-content:space-between;gap:1rem;min-height:132px;height:100%;padding:.9rem 1rem;border-right:var(--pd-rule);border-bottom:var(--pd-rule);text-decoration:none;transition:background .12s}
.pd-rail a:hover{background:var(--pd-hivis)}
.pd-rail-no{font-family:var(--fx-font-head);font-weight:800;font-size:1.15rem;line-height:1;color:var(--fx-primary)}
.pd-rail-name{font-family:var(--fx-font-head);font-weight:800;font-size:clamp(1.55rem,2.8vw,2.5rem);line-height:.95;overflow-wrap:anywhere}
@media (max-width:760px){.pd-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.pd-rail a{min-height:88px;padding:.7rem .75rem}}

/* product cards: finer points */
.pd-photo img{transition:transform .2s}
.pd-card:hover .pd-photo img{transform:scale(1.04)}
@media (prefers-reduced-motion:reduce){.pd-photo img{transition:none}.pd-card:hover .pd-photo img{transform:none}}
@media (max-width:560px){
  .pd-card-body{padding:.55rem;gap:.3rem}
  .pd-card h3{font-size:.92rem}
  .pd-price{font-size:1.55rem}
  .pd-card-tags{top:.35rem;left:.35rem}
  .pd-sticker{font-size:.68rem}
  .pd-card .fx-btn{padding-left:.4rem;padding-right:.4rem}
}

/* shop filters */
.pd-filters{display:grid;gap:.8rem;grid-template-columns:repeat(4,minmax(0,1fr))}
.pd-filters > .fx-field{min-width:0;margin:0}
.pd-filters > .fx-field:first-child{grid-column:span 2}
@media (max-width:760px){.pd-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}}

/* checkout layout */
#co{display:grid;gap:1.5rem;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start}
.pd-co-sum{position:sticky;top:5rem}

/* theme button */
.pd-themebtn{font:inherit;font-size:.78rem;font-weight:600;padding:.34rem .55rem;background:var(--fx-surface);color:var(--fx-text);border:var(--pd-rule);cursor:pointer;white-space:nowrap}
.pd-themebtn:hover{background:var(--pd-hivis);color:#0f1214}
@media (max-width:700px){.pd-themebtn{font-size:.72rem;padding:.3rem .4rem}}

/* dark theme */
:root[data-theme=dark]{
  color-scheme:dark;
  --fx-primary:#ff5a30; --fx-on-primary:#0f1214;
  --fx-bg:#0e1113; --fx-surface:#1a1f23; --fx-text:#eceeef; --fx-muted:#a9b3b9; --fx-border:#4a555c;
}
[data-theme=dark] .pd-skip,
[data-theme=dark] .pd-nav a[aria-current=page],
[data-theme=dark] .pd-lang button[aria-pressed=true],
[data-theme=dark] .pd-cartlink:hover,
[data-theme=dark] .pd-cartcount,
[data-theme=dark] .pd-sticker.is-out,
[data-theme=dark] .pd-adminnav a[aria-current=page],
[data-theme=dark] .fx-ui .fx-toast,
[data-theme=dark] .fx-ui .fx-btn:not(.fx-btn-secondary):not(.fx-btn-ghost):not(.fx-btn-soft):not(.fx-btn-danger):hover{color:#0e1113}
[data-theme=dark] .pd-cartlink{color:#0f1214}
[data-theme=dark] .pd-cartlink:hover .pd-cartcount{background:#0e1113;color:var(--pd-hivis)}
[data-theme=dark] .pd-cartcount{color:#0e1113}
[data-theme=dark] .fx-ui .fx-btn{color:var(--fx-text)}
[data-theme=dark] .fx-ui .fx-btn:not(.fx-btn-secondary):not(.fx-btn-ghost):not(.fx-btn-soft):not(.fx-btn-danger){background:var(--fx-primary);color:#0e1113}
[data-theme=dark] .fx-ui .fx-btn-secondary{background:var(--fx-surface);color:var(--fx-text)}
[data-theme=dark] .pd-hero{background-color:#07090b}
[data-theme=dark] .pd-hero .pd-btn-hivis,
[data-theme=dark] .fx-ui .pd-hero-btns .fx-btn{color:#0f1214}
[data-theme=dark] .fx-ui .pd-hero-btns .fx-btn:not(.pd-btn-hivis){background:var(--fx-primary)}
[data-theme=dark] .pd-footer{background:#10242f}
[data-theme=dark] .pd-rail a:hover,
[data-theme=dark] .pd-adminnav a:hover:not([aria-current=page]){color:#0f1214}
[data-theme=dark] .pd-nav a{border-bottom-color:var(--fx-border)}
[data-theme=dark] .pd-sticker,
[data-theme=dark] .pd-sticker.is-example{color:#0f1214}
[data-theme=dark] .pd-sticker.is-example{background:#e4e8ea}
[data-theme=dark] .pd-lang{background:var(--fx-surface)}
[data-theme=dark] .pd-card h3 a,[data-theme=dark] .pd-price{color:var(--fx-text)}
[data-theme=dark] [style*="#0f1214"]{border-color:var(--fx-text)!important}
[data-theme=dark] [style*="background:#fff"]{background:var(--fx-surface)!important}
@media (max-width:900px){[data-theme=dark] .pd-nav a{border-bottom-color:var(--fx-border)}}
@media (max-width:700px){
  [data-theme=dark] .pd-lang{background:#07090b}
  [data-theme=dark] .pd-lang button{color:#fff}
  [data-theme=dark] .pd-lang button[aria-pressed=true]{background:var(--pd-hivis);color:#0f1214}
}
@media (max-width:800px){#co{grid-template-columns:minmax(0,1fr)}.pd-co-sum{position:static}}

/* theme button: fits the phone header, clear pressed state */
.pd-themebtn:focus-visible{outline:3px solid var(--fx-primary);outline-offset:2px}
.pd-themebtn[aria-pressed=true]{background:var(--pd-hivis);color:#0f1214}
@media (max-width:480px){
  .pd-header{gap:.4rem}
  .pd-brand-name{font-size:1.45rem}
  .pd-themebtn{font-size:.68rem;padding:.3rem .35rem}
  .pd-cartlink{padding:.3rem .4rem;gap:.3rem;font-size:.85rem}
  #menu-btn{padding-left:.5rem;padding-right:.5rem}
}