/* Scoped additions; native product form, cart calculations and checkout are unchanged. */
body.tg-reference li.product.tgr-reference-card>.tgr-card-action-viewport{position:absolute;top:calc(100cqw - 52px);left:0;right:0;height:52px;overflow:hidden;z-index:3;pointer-events:none}
body.tg-reference li.product.tgr-reference-card>.tgr-card-action-viewport>.button.tgr-card-ribbon{position:relative;inset:auto;margin:0!important;border:0!important;box-shadow:none;width:100%;max-width:100%;height:52px;min-height:52px!important;padding:10px 20px 10px 16%!important;border-radius:0!important;background:var(--accent,#f2bc00)!important;color:#111!important;display:flex;justify-content:space-between;align-items:center;gap:8px;clip-path:polygon(12% 0,100% 0,100% 100%,0 100%);font:var(--d-weight,700) clamp(16px,1.4vw,20px)/1.05 var(--f-display),sans-serif!important;font-style:var(--d-style,italic)!important;text-transform:uppercase;white-space:normal;opacity:1;visibility:visible;pointer-events:none;transform:translateY(101%);transition:transform .45s cubic-bezier(.2,.7,.1,1)}
body.tg-reference li.product.tgr-reference-card>.tgr-card-action-viewport>.button.tgr-card-ribbon::after{display:none!important}
body.tg-reference li.product.tgr-reference-card>.tgr-card-action-viewport>.button.tgr-card-ribbon>span{font:inherit!important;text-transform:uppercase!important;color:inherit!important}
body.tg-reference li.product.tgr-reference-card>.tgr-card-action-viewport>.tgr-card-ribbon svg{width:21px;height:21px;flex:none}
body.tg-reference li.product.tgr-reference-card>.tgr-card-action-viewport>.button.tgr-card-ribbon.tgr-card-action--notify{background:#111!important;color:#fff!important;opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
body.tg-reference li.product.tgr-reference-card:is(:hover,:focus-within)>.tgr-card-action-viewport>.button.tgr-card-ribbon{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
body.tg-reference li.product.tgr-reference-card>.tgr-card-action-viewport>.button.tgr-card-ribbon:focus-visible{outline:3px solid #111;outline-offset:-3px;clip-path:none}
body.tg-reference li.product.tgr-reference-card>.tgr-card-action-viewport>.button.tgr-card-ribbon.loading{opacity:.6}
body.tg-reference li.product.tgr-reference-card .card-avail.tgr-card-soldout{display:block;color:#c4231c;font:600 .85rem/1.45 var(--f-body),sans-serif;margin:4px 0}
body.tg-reference li.product.tgr-reference-card .tgr-card-soldout a{color:inherit!important;text-decoration:none;font:inherit}
body.tg-reference li.product.tgr-reference-card .tgr-card-soldout a:hover{text-decoration:underline}
body.tg-reference li.product.tgr-reference-card .tgr-card-rate{display:inline-block;border-radius:30px!important;background:#f0e3b5;color:#111!important;font:600 .8rem/1.35 var(--f-body),sans-serif;padding:7px 12px;margin-top:4px}
body.tg-reference .tgr-stock-notify{width:min(520px,calc(100% - 32px));padding:52px 28px 28px;border:0;background:#f5f3ee;color:#111;max-height:calc(100dvh - 32px);overflow:auto}
body.tg-reference .tgr-stock-notify h2.display{color:#111;font-size:36px;margin-bottom:16px}
body.tg-reference .tgr-stock-notify p{color:#555;font:400 16px/1.6 var(--f-body),sans-serif;margin-bottom:18px}
body.tg-reference .tgr-stock-notify p.tgr-notify-product{color:#111;font-weight:600}
body.tg-reference .tgr-stock-notify .tgr-close{color:#111;background:transparent!important;border:0}
body.tg-reference .tgr-single-notify{display:inline-flex;background:#111!important;color:#fff!important;gap:14px;margin-top:12px}
body.tg-reference .tgr-single-notify svg{width:22px;height:22px}
@media(hover:none),(max-width:820px){body.tg-reference li.product.tgr-reference-card>.tgr-card-action-viewport{top:calc(100cqw - 46px);height:46px}body.tg-reference li.product.tgr-reference-card>.tgr-card-action-viewport>.button.tgr-card-ribbon{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);height:46px;min-height:46px!important;font-size:15px!important;padding:8px 10px 8px 14%!important}body.tg-reference li.product.tgr-reference-card .tgr-card-video-badge{bottom:54px}}
@media(prefers-reduced-motion:reduce){body.tg-reference li.product.tgr-reference-card>.tgr-card-action-viewport>.button.tgr-card-ribbon{transition:none}}
html:has(body.tg-reference #tgr-mini-cart[open]){overflow:hidden}
body.tg-reference .tgr-mini-cart{margin:0 0 0 auto;width:min(520px,100%);max-width:100%;height:100dvh;max-height:100dvh;padding:0;border:0;border-top:4px solid #191919;background:var(--paper,#eeede9);color:#161616;overflow:hidden;font:400 16px/1.45 var(--f-body,Barlow),sans-serif;box-shadow:-8px 0 40px #0002}
body.tg-reference .tgr-mini-cart[open]{display:flex;flex-direction:column;animation:tgr-cart-enter .35s cubic-bezier(.2,.7,.1,1)}
body.tg-reference .tgr-mini-cart[open].tgr-cart-closing{animation:tgr-cart-leave .35s cubic-bezier(.2,.7,.1,1) forwards;pointer-events:none}
@keyframes tgr-cart-enter{from{transform:translateX(100%)}to{transform:translateX(0)}}
@keyframes tgr-cart-leave{from{transform:translateX(0)}to{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){body.tg-reference .tgr-mini-cart[open]{animation:none}}
body.tg-reference .tgr-mini-cart::backdrop{background:rgb(0 0 0/.55)}
body.tg-reference .tgr-mini-cart [hidden]{display:none!important}
body.tg-reference .tgr-cart-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 24px;border-bottom:1px solid #d5d3cc;flex:none}
body.tg-reference .tgr-cart-head h2.display{font-size:28px;line-height:1.1;margin:0;color:#161616}
body.tg-reference .tgr-cart-head .icon-btn{padding:10px;width:44px;height:44px;min-height:44px;color:#161616;background:transparent;border:0;flex:none}
body.tg-reference .tgr-cart-head svg{width:24px;height:24px}
body.tg-reference .tgr-mini-cart :is(p,ul){margin:0}
body.tg-reference .tgr-cart-added{padding:12px 24px;background:#d8eadc;flex:none;font-size:15px}
body.tg-reference .tgr-cart-shipping{padding:16px 24px;border-bottom:1px solid #d5d3cc;flex:none}
body.tg-reference .tgr-cart-shipping progress{display:block;appearance:none;width:100%;height:8px;border:0;background:#dedcd5;margin-top:12px;transform:skewX(-9deg)}
body.tg-reference .tgr-cart-shipping progress::-webkit-progress-bar{background:#dedcd5}
body.tg-reference .tgr-cart-shipping progress::-webkit-progress-value{background:var(--accent,#f2bc00)}
body.tg-reference .tgr-cart-shipping progress::-moz-progress-bar{background:var(--accent,#f2bc00)}
body.tg-reference .tgr-cart-body{flex:1 1 auto;min-height:90px;overflow-y:auto;overscroll-behavior:contain;padding:0 24px}
body.tg-reference .tgr-mini-cart ul{padding:0;list-style:none}
body.tg-reference .tgr-mini-cart .mini_cart_item{position:relative;min-height:110px;padding:20px 32px 20px 0;border-bottom:1px solid #d5d3cc;font-size:16px}
body.tg-reference .tgr-mini-cart .mini_cart_item::after{content:'';display:block;clear:both}
body.tg-reference .tgr-mini-cart .mini_cart_item img{width:80px;height:80px;object-fit:contain;float:left;margin:0 16px 8px 0;background:#f7f5ef}
body.tg-reference .tgr-mini-cart .mini_cart_item>a:not(.remove){font-weight:600;color:#161616;text-decoration:none}
body.tg-reference .tgr-mini-cart .mini_cart_item .remove{position:absolute;right:-8px;top:10px;width:40px;height:40px;display:grid;place-items:center;background:transparent;color:#161616!important;font-size:24px;text-decoration:none;border:0}
body.tg-reference .tgr-mini-cart .quantity{display:block;float:none;width:auto;margin:6px 0 0;min-width:0;font-size:15px}
body.tg-reference .tgr-mini-cart .variation{font-size:13px;margin:4px 0}
body.tg-reference .tgr-mini-cart .variation p{margin:0}
body.tg-reference .tgr-mini-cart .wgm-info{font-size:12px;color:#65635d}
body.tg-reference .tgr-mini-cart .woocommerce-mini-cart__total,body.tg-reference .tgr-mini-cart .woocommerce-mini-cart__buttons{display:none}
body.tg-reference .tgr-mini-cart .widget_shopping_cart_content>p:not(.total):not(.buttons){font-size:12px;line-height:1.5;padding:16px 0;color:#65635d}
body.tg-reference .tgr-mini-cart .widget_shopping_cart_content>p a{color:#383630!important;text-decoration:underline}
body.tg-reference .tgr-cart-summary{flex:none;border-top:1px solid #d5d3cc;padding:18px 24px 16px;background:var(--paper,#eeede9)}
body.tg-reference .tgr-cart-row{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-bottom:12px}
body.tg-reference .tgr-cart-row strong{font:var(--d-weight,700) 28px/1.2 var(--f-display),sans-serif;font-style:var(--d-style,italic);white-space:nowrap;color:#161616}
body.tg-reference .tgr-cart-saving,body.tg-reference .tgr-cart-saving strong{color:#c4231c}
body.tg-reference .tgr-cart-saving small{display:block;font-size:11px;font-weight:400;color:#666}
body.tg-reference .tgr-cart-delivery{font-size:14px;color:#67655f}
body.tg-reference .tgr-cart-delivery>span:last-child{text-align:right}
body.tg-reference .tgr-cart-payment-note{font-size:12px;color:#67655f;border:1px solid #d5d3cc;border-radius:2px;padding:12px;margin:12px 0 16px}
body.tg-reference .tgr-mini-cart a.tgr-cart-checkout{display:flex;align-items:center;justify-content:center;gap:16px;width:calc(100% - 12px);margin-inline:6px;padding:16px 20px;background:var(--accent,#f2bc00);color:#161616!important;font:var(--d-weight,700) 22px/1 var(--f-display),sans-serif;font-style:var(--d-style,italic);text-decoration:none;min-height:54px}
body.tg-reference .tgr-cart-checkout svg{width:22px;height:22px}
body.tg-reference .tgr-cart-secondary{display:flex;justify-content:space-between;gap:12px;margin-top:10px;flex-wrap:wrap}
body.tg-reference .tgr-cart-secondary :is(button,a){background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#45433e!important;font:500 13px/1.4 var(--f-body),sans-serif;text-decoration:underline;padding:10px 0;min-height:40px;cursor:pointer;transform:none}
body.tg-reference .tgr-mini-cart :is(a,button):focus-visible{outline:2px solid #161616;outline-offset:3px}
body.tg-reference .tgr-mini-cart .blockUI{z-index:2!important}
body.tg-reference li.product.tgr-reference-card>.added_to_cart,body.tg-reference li.product.tgr-reference-card .card-meta>.added_to_cart{display:none!important}
body.tg-reference li.product.tgr-reference-card .card-meta{padding-top:12px;gap:6px}
body.tg-reference li.product.tgr-reference-card .card-sub{font:400 .9rem/1.4 var(--f-body),sans-serif;color:var(--mute);margin:0}
body.tg-reference li.product.tgr-reference-card .card-tech{display:flex;flex-wrap:wrap;gap:5px;margin:3px 0}
body.tg-reference li.product.tgr-reference-card .card-tech>span{padding:3px 6px;border:1px solid var(--line);border-radius:3px;color:var(--mute);font:600 .7rem/1.2 var(--f-body),sans-serif;text-transform:uppercase;letter-spacing:.03em}
body.tg-reference li.product.tgr-reference-card .price ins{order:-1}
body.tg-reference li.product.tgr-reference-card .card-meta>a.tgr-card-savings{display:inline-flex;width:auto;max-width:100%;min-height:40px;gap:8px;align-items:center;padding:8px 12px!important;margin:6px 3px 2px!important;background:#c4231c!important;color:#fff!important;border:0!important;border-radius:2px!important;box-shadow:none;font:700 1rem/1.2 var(--f-body),sans-serif;text-transform:none;white-space:normal}
body.tg-reference li.product.tgr-reference-card .tgr-card-savings :is(.amount,bdi,span){font:inherit;color:inherit}
body.tg-reference li.product.tgr-reference-card .tgr-card-savings .amount{transform:none}
body.tg-reference li.product.tgr-reference-card .tgr-card-savings svg{width:17px;height:17px;flex:none}
body.tg-reference li.product.tgr-reference-card .tgr-card-savings::after{display:none}
body.tg-reference li.product.tgr-reference-card .tgr-card-savings.loading{opacity:.65;pointer-events:none}
body.tg-reference li.product.tgr-reference-card .card-compat{font:600 .8rem/1.4 var(--f-body),sans-serif;margin:2px 0}
body.tg-reference li.product.tgr-reference-card .card-avail{font:500 .8rem/1.4 var(--f-body),sans-serif;margin:2px 0;color:var(--mute)}
body.tg-reference li.product.tgr-reference-card .card-avail.out-of-stock{color:#c4231c}
body.tg-reference li.product.tgr-reference-card .tgr-card-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;pointer-events:none}
body.tg-reference li.product.tgr-reference-card.tgr-video-playing .tgr-card-video{opacity:1}
body.tg-reference li.product.tgr-reference-card .tgr-card-video-badge{position:absolute;left:12px;bottom:12px;background:#191919;color:#fff;padding:4px 8px;font:600 11px/1.3 var(--f-body),sans-serif;border-radius:2px}
@media(max-width:600px){body.tg-reference .tgr-cart-head{padding:12px 16px}body.tg-reference .tgr-cart-head h2.display{font-size:24px}body.tg-reference :is(.tgr-cart-added,.tgr-cart-shipping,.tgr-cart-summary){padding-inline:16px}body.tg-reference .tgr-cart-body{padding-inline:16px}body.tg-reference .tgr-cart-summary{padding-block:12px 8px}body.tg-reference .tgr-cart-row{margin-bottom:8px}body.tg-reference .tgr-cart-payment-note{padding:8px;margin-block:8px 12px}body.tg-reference li.product.tgr-reference-card .card-meta>a.tgr-card-savings{font-size:.85rem}}
@media(max-height:700px){body.tg-reference .tgr-mini-cart[open]{overflow-y:auto}body.tg-reference .tgr-cart-body{flex:none;overflow:visible}body.tg-reference .tgr-cart-head{position:sticky;top:0;z-index:2;background:var(--paper,#eeede9)}}
/* The same training-goal filters remain in the regular filter panel. */
/* Goal strip retained at the position shown in the current reference. */
body.tg-reference .tgr-rich-section{padding-block:clamp(32px,5vw,76px);clear:both;color:var(--ink,#121212)}
body.tg-reference .tgr-rich-section h2{font-size:clamp(30px,4vw,58px);margin-bottom:24px}
body.tg-reference .tgr-rich-section>p{max-width:85ch;line-height:1.65}
body.tg-reference .tgr-rich-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:24px}
body.tg-reference .tgr-rich-grid article{padding:24px;background:#f6f4ef;border:1px solid #d8d6d0;min-width:0}
body.tg-reference .tgr-rich-grid img{width:100%;max-height:350px;object-fit:contain;mix-blend-mode:normal}
body.tg-reference .tgr-rich-grid h3{font-size:26px;margin:18px 0 10px}
body.tg-reference .tgr-rich-specs{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}
body.tg-reference .tgr-rich-specs>div{padding:20px;border:1px solid #d8d6d0}
body.tg-reference .tgr-rich-specs dd{font-weight:600;margin:8px 0 0}
body.tg-reference .tgr-rich-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
body.tg-reference .tgr-rich-gallery img{width:100%;aspect-ratio:1;object-fit:contain;background:#f6f4ef;mix-blend-mode:normal}
body.tg-reference .tgr-atlas-page{padding-block:36px}
body.tg-reference .tgr-atlas{width:100%;height:82vh;min-height:640px;border:0;margin-top:24px;background:#0b0b0c}
body.tg-reference .tgr-atlas-teaser{padding-block:40px;display:flex;align-items:center;justify-content:space-between;gap:24px;color:#f3f2ee;background:#0b0b0c}
body.tg-reference .tgr-atlas-teaser .display{font-size:clamp(28px,3vw,48px);color:#f3f2ee}
body.tg-reference .tgr-atlas-product{padding-block:24px}
body.tg-reference .tgr-product-model{background:transparent;color:#121212;padding-block:40px;clear:both}
body.tg-reference .tgr-product-model h2.display{color:#121212}
body.tg-reference .tgr-product-model .tg-model{background:transparent;border:0;padding:0}
body.tg-reference .tg-model>.tg-animated-view,body.tg-reference .tg-model>canvas{width:100%;height:clamp(330px,55vw,680px);background:transparent}
body.tg-reference .tg-model>img{width:100%;max-height:680px;object-fit:contain}
body.tg-reference .tgr-model-slider{display:grid;grid-template-columns:1fr auto;gap:8px;min-width:210px}
body.tg-reference .tgr-model-slider input{grid-column:1/-1;width:100%;accent-color:#f2b900}
body.tg-reference .tgr-model-controls{display:flex;flex-wrap:wrap;gap:16px;padding:20px 0}
@media(max-width:767px){body.tg-reference .tgr-atlas-teaser{display:block}body.tg-reference .tgr-atlas-teaser .btn{margin-top:20px}body.tg-reference .tgr-rich-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}body.tg-reference .tgr-atlas{height:86vh;min-height:680px}}
