/* Product page, style A "Studio" (Nichlas 01-11-2026, STATE item 39), rewritten for our own WordPress markup
   (woocommerce/content-single-product.php, template-parts/product/*). Loaded on product pages only (inc/assets.php).
   The page goes Ink; the product stands in a light studio; the add-to-cart is the one Signal button in view, a
   battery with its pole. Tokens come from eh.css; nothing from Horizon is used.

   Sizes and spacing are measured from the live Shopify page (26-11-2026): a wide photo and a 376px buy column, a
   32px title and price, 28px between the blocks of the buy column, 2-up variant buttons, a 52px buy row. The photo
   and the column sit on the 1180px grid, like the data sheet and "More for your bike" under them. */

body.eh-t-product,body.eh-t-product .eh-main{background:var(--ink)}
.eh-pp{color:var(--fg-d)}
.eh-pp-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,376px);gap:48px;align-items:start;padding-block:40px 56px}

/* the studio: a soft light behind each photo, one row that scrolls sideways, as tall as the screen allows */
.eh-pp-media{min-width:0;display:grid;gap:12px;position:relative}
.eh-pp-frame{position:relative;min-width:0}
.eh-pp-stage{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;scrollbar-width:none;
 border-radius:18px;background:radial-gradient(120% 90% at 50% 40%,#FFFFFF 0,#EEF0EB 55%,#CDD1D4 100%);aspect-ratio:1/1;width:100%;max-height:max(440px,calc(100vh - 80px))}
.eh-pp-stage::-webkit-scrollbar{display:none}
.eh-pp-stage:focus-visible{outline-offset:4px}
.eh-pp-stage.is-empty{display:grid;place-items:center}
.eh-pp-stage.is-empty svg{width:72px;fill:#CDD1D4}
.eh-pp-slide{flex:0 0 100%;margin:0;scroll-snap-align:center;display:grid;place-items:center;min-width:0}
.eh-pp-slide img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.eh-pp-thumbs{list-style:none;margin:0;padding:0;display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.eh-pp-thumb{display:block;width:72px;height:72px;border-radius:12px;background:#E9EBE6;overflow:hidden;transition:box-shadow .15s ease}
.eh-pp-thumb img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.eh-pp-thumb:hover{box-shadow:0 0 0 2px var(--muted-rev)}
.eh-pp-thumb[aria-current="true"]{box-shadow:0 0 0 2px var(--signal)}
/* previous and next on the photo (assets/js/eh-product.js), Ink arrows on the light studio */
.eh-pp-arrow{position:absolute;top:50%;z-index:1;width:44px;height:44px;margin-top:-22px;border:0;border-radius:999px;background:transparent;color:var(--ink);
 display:grid;place-items:center;cursor:pointer;transition:background-color .15s ease}
.eh-pp-arrow.is-prev{left:8px}
.eh-pp-arrow.is-next{right:8px}
.eh-pp-arrow:hover{background:rgba(255,255,255,.7)}
.eh-pp-arrow svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}

/* the buy column: title, price and tax together, then 28px between the blocks */
.eh-pp-info{min-width:0;display:grid;gap:28px;align-content:start;padding-top:24px}
.eh-pp-head{display:grid;min-width:0}
.eh-pp-title{font:800 32px/1.1 var(--eh-font);letter-spacing:-.03em;color:#fff;margin:0 0 16px;text-wrap:balance;overflow-wrap:break-word;hyphens:auto}
.eh-pp-price .eh-price{flex-wrap:wrap;gap:4px 10px}
.eh-pp-price .eh-price b{font:800 32px/1 var(--eh-font);color:#fff}
.eh-pp-price .eh-price s{font:400 16px/1 var(--eh-font);color:var(--muted-rev)}
.eh-pp-price .eh-eur,.eh-pp-rel .eh-eur{color:var(--muted-rev)}
.eh-pp-price .eh-eur{font-size:15px;margin-top:2px}
.eh-pp-price .eh-price span:not(.screen-reader-text){font:inherit;color:inherit}
.eh-pp-tax{margin:8px 0 0;font:400 13px/1.4 var(--eh-font);color:var(--muted-rev)}
.eh-pp-rule{border:0;border-top:1px solid #2A2F35;margin:0}

/* badges: the saving, pre-order, fit */
.eh-pbadges{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.eh-pbadges:not(:has(.eh-pb:not([hidden]))){display:none}
.eh-pb{display:inline-flex;align-items:center;gap:6px;font:700 12px/1 var(--eh-font);padding:7px 9px;border-radius:6px}
.eh-pb[hidden]{display:none}
.eh-pb.is-save,.eh-pb.is-pre{background:var(--signal);color:var(--ink);letter-spacing:.02em;font-variant-numeric:tabular-nums}
.eh-pb.is-pre{text-transform:uppercase;letter-spacing:.12em;font-size:10.5px}
.eh-pb.is-fit{border:1px solid #3A414A;color:var(--fg-d);border-radius:999px;padding:7px 11px;font-weight:600;font-size:13px}
.eh-pb svg{width:13px;height:13px;fill:none;stroke:var(--signal);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}

/* the variant buttons: real radios, one per value, sharing the column; the checked one turns light */
.eh-pp-form{display:grid;gap:28px;margin:0}
.eh-opt{border:0;margin:0;padding:0;min-width:0}
.eh-opt legend{padding:0;margin:0 0 8px;font:600 13px/1.3 var(--eh-font);color:var(--muted-rev)}
.eh-opt+.eh-opt{margin-top:-6px}
.eh-opt-vals{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,110px),1fr));gap:12px}
.eh-opt-v{position:relative;display:block;cursor:pointer;min-width:0}
.eh-opt-v input{position:absolute;inset:0;opacity:0;margin:0;cursor:pointer}
.eh-opt-v>span{display:grid;place-items:center;text-align:center;min-height:46px;height:100%;padding:8px 12px;border:1px solid #3A414A;border-radius:8px;
 font:500 14px/1.3 var(--eh-font);color:var(--fg-d);transition:background-color .15s ease,border-color .15s ease,color .15s ease;overflow-wrap:anywhere}
.eh-opt-v>span small{display:block;font:500 11.5px/1.2 var(--eh-font);color:var(--muted-rev);margin-top:2px}
.eh-opt-v:hover>span{border-color:var(--muted-rev);background:rgba(255,255,255,.06)}
.eh-opt-v input:checked+span{background:var(--fg-d);border-color:var(--fg-d);color:var(--ink)}
.eh-opt-v:hover input:checked+span{background:#fff;border-color:#fff}
.eh-opt-v input:checked+span small{color:var(--body2)}
.eh-opt-v input:focus-visible+span{outline:3px solid var(--signal);outline-offset:2px}
.eh-opt-v input:disabled{cursor:not-allowed}
.eh-opt-v input:disabled+span{opacity:.45;text-decoration:line-through;cursor:not-allowed}
.eh-opt-v.is-out>span{border-style:dashed;color:var(--muted-rev)}
[data-eh-picks][hidden]{display:none}

/* quantity and the Signal battery, one 52px row */
.eh-pp-buy{display:flex;gap:12px;align-items:stretch;flex-wrap:wrap}
.eh-qty{display:inline-flex;align-items:center;justify-content:center;min-width:126px;height:52px;border:1px solid #3A414A;border-radius:999px;padding:0 4px}
.eh-qty input{width:40px;height:100%;border:0;background:transparent;color:var(--fg-d);text-align:center;font:500 15px/1 var(--eh-font);font-variant-numeric:tabular-nums;-moz-appearance:textfield;appearance:textfield}
.eh-qty input::-webkit-outer-spin-button,.eh-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.eh-qty input:focus-visible{outline:3px solid var(--signal);outline-offset:2px;border-radius:6px}
.eh-qty-b{width:40px;height:44px;border:0;border-radius:999px;background:transparent;color:var(--fg-d);font:400 19px/1 var(--eh-font);cursor:pointer;display:grid;place-items:center}
.eh-qty-b[hidden]{display:none}
.eh-qty-b:hover{background:rgba(255,255,255,.08)}
.eh-cta{position:relative;flex:1 1 200px;min-height:52px;margin-inline-end:8px;padding:0 20px;border:0;border-radius:8px;background:var(--signal);color:var(--ink);
 font:700 15px/1.2 var(--eh-font);cursor:pointer;transition:background-color .2s ease,transform .12s ease}
.eh-cta::after{content:"";position:absolute;right:-7px;top:50%;transform:translateY(-50%);width:5px;height:40%;background:var(--signal);border-radius:0 3px 3px 0;transition:background-color .2s ease}
.eh-cta:hover:not([disabled]),.eh-cta:hover:not([disabled])::after{background:var(--fg-d)}
.eh-cta:active:not([disabled]){transform:scale(.985)}
.eh-cta[disabled]{background:#3A414A;color:var(--fg-d);cursor:not-allowed}
.eh-cta[disabled]::after{background:#3A414A}
.eh-cta[aria-busy="true"]{cursor:progress;opacity:.8}
.eh-cta-in{display:inline-flex;align-items:center;justify-content:center;gap:10px;transition:opacity .15s ease}
/* added to the cart: the label gives way to a tick for a moment, as Horizon's button does (assets/js/eh-site.js) */
.eh-cta.is-added .eh-cta-in{opacity:0}
.eh-cta.is-added::before{content:"";position:absolute;inset:0;pointer-events:none;
 background:center/22px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111418' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
 animation:eh-tick .35s cubic-bezier(.34,1.56,.64,1)}
@keyframes eh-tick{from{transform:scale(.4);opacity:0}}
@media (prefers-reduced-motion:reduce){.eh-cta.is-added::before{animation:none}}
.eh-cta svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round}

/* the delivery line and fit under the button, the words the cart and the checkout show (WORDPRESS-PLAN decision 3);
   kept close to the button it belongs to */
.eh-pp-lines{margin:-12px 0 0;display:grid;gap:8px;padding:12px 14px;border:1px solid #2A2F35;border-radius:10px;background:var(--dark2)}
.eh-pp-lines div{display:grid;grid-template-columns:minmax(84px,auto) minmax(0,1fr);gap:12px;align-items:baseline}
.eh-pp-lines dt{font:600 10.5px/1.4 var(--eh-font);letter-spacing:.12em;text-transform:uppercase;color:var(--muted-rev)}
.eh-pp-lines dd{margin:0;font:500 14px/1.45 var(--eh-font);color:#fff}
.eh-pp-lines dd.is-ask{color:#C9CDD1;font-weight:400}
.eh-pp-lines a{color:#fff;font-weight:600;text-underline-offset:3px;overflow-wrap:anywhere}

/* payment methods: a row of small light cards, like the card logos on the live page (text, no brand artwork) */
.eh-pp .eh-paym{gap:10px;padding-top:0}
.eh-pp .eh-paym-label{color:var(--muted-rev)}
.eh-pp .eh-pay-chips{gap:6px;color:var(--ink)}
.eh-pp .eh-pay-chips li{display:inline-flex;align-items:center;height:24px;padding:0 8px;border:0;border-radius:4px;background:#fff;color:var(--ink);opacity:1;
 font:700 10.5px/1 var(--eh-font);letter-spacing:.02em;white-space:nowrap}

/* three fact tiles: the value large, the name under it */
.eh-ptiles{margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.eh-ptiles div{border:1px solid #2A2F35;border-radius:12px;padding:14px;display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:6px;background:var(--dark2);min-width:0}
.eh-ptiles dd{margin:0;font:800 18px/1.15 var(--eh-font);color:#fff;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.eh-ptiles dt{font:600 10px/1.2 var(--eh-font);letter-spacing:.12em;text-transform:uppercase;color:var(--muted-rev)}
@media (max-width:480px){.eh-ptiles div{padding:12px 10px}.eh-ptiles dd{font-size:15px;overflow-wrap:break-word;hyphens:auto}.eh-ptiles dt{letter-spacing:.08em}}

/* the description */
.eh-pp-desc{color:#C9CDD1;font-size:15px;line-height:1.6;max-width:62ch}
.eh-pp-desc p{margin:0 0 10px}
.eh-pp-desc ul{margin:0 0 10px;padding-left:20px}
.eh-pp-desc a{color:#fff;text-underline-offset:3px}
.eh-pp-desc strong{color:#fff}
.eh-pp-desc>:last-child{margin-bottom:0}

/* below the buy box: facts in the same Ink */
.eh-pp .eh-facts{background:var(--ink);color:var(--fg-d)}
.eh-pp .eh-facts .eh-in{border-top-color:#2A2F35;padding-block:48px}
.eh-pp .eh-facts .eh-in.is-single{grid-template-columns:minmax(0,1fr)}
.eh-pp .eh-facts .eh-in.is-single>div:first-child{display:none}
.eh-pp .eh-facts .eh-in.is-single .eh-aside{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
.eh-pp .eh-facts h2{color:#fff}
.eh-pp .eh-facts .eh-sheet th{color:var(--muted-rev);border-bottom-color:#2A2F35}
.eh-pp .eh-facts .eh-sheet td{color:#fff;border-bottom-color:#2A2F35;line-height:1.4}
.eh-pp .eh-box{background:var(--dark2);border-color:#2A2F35}
.eh-pp .eh-box h3{color:#fff}
.eh-pp .eh-box p{color:#C9CDD1;line-height:1.4}
.eh-pp .eh-box p+p{margin-top:10px}
.eh-pp .eh-box p[data-eh-line]{color:#fff;font-weight:600}
.eh-pp .eh-box .eh-link{color:#fff;font-size:inherit;overflow-wrap:anywhere}
.eh-pp .eh-box-ask{margin-top:10px!important}
.eh-pp .eh-fits span{border-color:var(--fg-d);color:#fff}
.eh-pp .eh-box-pre{border-color:var(--signal);box-shadow:inset 4px 0 0 var(--signal)}
.eh-pp .eh-box-pre h3 svg{stroke:none}
.eh-pp .eh-indep{color:var(--muted-rev);font-size:13px;line-height:1.45}

/* "More for your bike": photo-led cards on Ink, as on the live page: the photo in the studio light, the name, the price */
.eh-pp-rel .eh-in{padding-block:8px 80px}
.eh-pp-rel .eh-h2{color:#fff;font:800 28px/1.06 var(--eh-font);letter-spacing:-.022em;margin:0 0 24px}
.eh-pp-rel .eh-parts{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.eh-pp-rel .eh-part{align-content:start;gap:6px;padding:0;background:none;border:0;border-radius:0;color:var(--fg-d)}
.eh-pp-rel .eh-part:hover{border-color:transparent}
.eh-pp-rel .eh-part .ph{position:relative;margin-bottom:10px;border-radius:14px;background:radial-gradient(120% 90% at 50% 40%,#FFFFFF 0,#EEF0EB 55%,#CDD1D4 100%)}
.eh-pp-rel .eh-part .ph img{width:100%;height:100%;object-fit:cover;mix-blend-mode:multiply;transition:transform .35s ease}
.eh-pp-rel .eh-part:hover .ph img{transform:scale(1.03)}
.eh-pp-rel .eh-part>b{font:400 14px/1.4 var(--eh-font);color:var(--fg-d)}
.eh-pp-rel .eh-part:hover>b{text-decoration:underline;text-underline-offset:3px}
.eh-pp-rel .eh-part .eh-price{font:inherit;color:#fff;gap:4px 8px;flex-wrap:wrap}
.eh-pp-rel .eh-part .eh-price span:not(.screen-reader-text){font:inherit;color:inherit}
.eh-pp-rel .eh-part .eh-price b{font:700 15px/1.2 var(--eh-font);color:#fff}
.eh-pp-rel .eh-part .eh-price s{font:500 13.5px/1.2 var(--eh-font);color:var(--muted-rev)}
.eh-pp-rel .eh-part-fit{color:var(--muted-rev)}
.eh-pp-rel .eh-part-fit.is-ask{color:#C9CDD1}
.eh-pp-rel .eh-tags{top:10px;left:10px;z-index:1}
.eh-pp-rel .eh-tag{font:600 10.5px/1 var(--eh-font);color:var(--paper)}
.eh-pp-rel .eh-tag.is-pre,.eh-pp-rel .eh-tag.is-out{color:var(--ink)}
@media (prefers-reduced-motion:reduce){.eh-pp-rel .eh-part .ph img{transition:none}.eh-pp-rel .eh-part:hover .ph img{transform:none}}

/* the buy bar that follows on scroll: a pill centred at the foot of the screen, as on the live page */
.eh-buybar{position:fixed;left:50%;bottom:20px;z-index:30;width:min(640px,calc(100% - 24px));transform:translate(-50%,calc(100% + 40px));transition:transform .3s cubic-bezier(.32,.72,.26,1)}
.eh-buybar.is-on{transform:translate(-50%,0)}
.eh-buybar[hidden]{display:none}
.eh-buybar-in{display:flex;align-items:center;gap:14px;padding:11px 11px 11px 11px;border-radius:999px;color:var(--fg-d);background:var(--ink);
 border:1px solid rgba(255,255,255,.12);box-shadow:0 4px 20px rgba(0,0,0,.15),0 14px 40px rgba(0,0,0,.3)}
.eh-buybar-ph{flex:none;width:52px;height:52px;border-radius:999px;background:#E9EBE6;overflow:hidden}
.eh-buybar-ph img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}
.eh-buybar-t{flex:1 1 auto;min-width:0;display:grid;gap:3px}
.eh-buybar-t b{font:500 14px/1.25 var(--eh-font);color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.eh-buybar-t span{font:400 13px/1.2 var(--eh-font);color:var(--muted-rev);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.eh-buybar-t span:empty{display:none}
.eh-buybar-price .eh-price{gap:2px 8px;align-items:baseline;flex-wrap:wrap;justify-content:flex-end}
.eh-buybar-price .eh-price span:not(.screen-reader-text){font:inherit;color:inherit}
.eh-buybar-price .eh-price b{font:600 14px/1.2 var(--eh-font);color:#fff}
.eh-buybar-price .eh-price s{font:400 13px/1.2 var(--eh-font);color:var(--muted-rev)}
.eh-cta.is-sm{flex:none;min-height:52px;padding:0 20px;font-size:14px}
.eh-cta.is-sm svg{width:18px;height:18px}

@media (min-width:990px){.eh-pp-info{position:sticky;top:96px}}
@media (max-width:989px){
 .eh-pp-top{grid-template-columns:minmax(0,1fr);gap:20px;padding-block:16px 40px}
 .eh-pp-info{padding-top:0}
 .eh-pp-media{max-width:640px;width:100%;margin-inline:auto}
 .eh-pp-rel .eh-parts{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:749px){
 /* a phone: the photo runs edge to edge, the thumbnails become dots on its lower edge (44px to tap) */
 .eh-pp-top{padding-block:28px 32px}
 .eh-pp-media{margin-inline:-16px;width:auto;max-width:none}
 .eh-pp-stage{max-height:none}
 .eh-pp-arrow{display:none}
 .eh-pp-thumbs{position:absolute;left:0;right:0;bottom:0;gap:0;flex-wrap:nowrap;justify-content:center;pointer-events:none}
 .eh-pp-thumbs li{flex:0 1 44px;min-width:0}
 .eh-pp-thumb{width:100%;height:44px;border-radius:0;background:none;box-shadow:none!important;display:grid;place-items:center;pointer-events:auto}
 .eh-pp-thumb img{display:none}
 .eh-pp-thumb::before{content:"";width:8px;height:8px;border-radius:999px;background:rgba(255,255,255,.92);box-shadow:0 0 0 1px rgba(17,20,24,.4);transition:background-color .15s ease,transform .15s ease}
 .eh-pp-thumb[aria-current="true"]::before{background:var(--ink);box-shadow:0 0 0 2px #fff;transform:scale(1.1)}
 .eh-pp-thumb:focus-visible{outline-offset:-6px}
 .eh-pp-rel .eh-parts{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 12px}
 .eh-pp .eh-facts .eh-in{padding-block:36px;gap:28px}
 /* the buy bar runs edge to edge; the button shows the bag only, its words stay for screen readers */
 .eh-buybar{left:0;right:0;bottom:0;width:auto;transform:translateY(100%)}
 .eh-buybar.is-on{transform:none}
 .eh-buybar-in{gap:12px;border-radius:0;border-width:1px 0 0;padding:11px 16px calc(11px + env(safe-area-inset-bottom,0px));box-shadow:0 -4px 20px rgba(0,0,0,.25)}
 .eh-buybar-price .eh-price{flex-direction:column;align-items:flex-end}
 .eh-cta.is-sm{width:52px;padding:0}
 .eh-cta.is-sm .eh-buybar-label{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap}
 .eh-cta.is-sm svg{width:20px;height:20px}
}
@media (max-width:359px){.eh-buybar-ph{display:none}}
@media (prefers-reduced-motion:reduce){.eh-pp-stage{scroll-behavior:auto}.eh-buybar{transition:none}}
