/* Polish layer: one look for buttons, fields, cards and headings across every storefront page, plus light motion.
   It is loaded last and only adjusts appearance; no page depends on it to work. */
html body.storefront{--pl-navy:var(--theme-primary,#041b41);--pl-lime:var(--theme-accent,#d5f802);--pl-on-lime:var(--theme-on-accent,#041b41);--pl-line:#e9edf3;--pl-soft:#f4f6fa;--pl-muted:#6d7890;--pl-r-btn:16px;--pl-r-field:14px;--pl-r-card:22px}

/* ───── Buttons ───── */
html body.storefront main .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:50px;padding:10px 22px;border-radius:var(--pl-r-btn);font-weight:700;font-size:14.5px;line-height:1.4;border-width:1.5px;text-decoration:none;box-shadow:none}
html body.storefront main .button.full{width:100%}
html body.storefront main .button.lime{background:var(--pl-lime)!important;color:var(--pl-on-lime)!important;border-color:var(--pl-lime)!important}
html body.storefront main .button.ghost{background:#fff!important;color:var(--pl-navy)!important;border-color:var(--pl-line)!important}
html body.storefront main .button.ghost:is(:hover,:focus-visible){border-color:var(--pl-navy)!important;background:#fff!important;color:var(--pl-navy)!important}
html body.storefront main .button svg{width:19px;height:19px;flex:none}
html body.storefront main .text-button{display:inline-flex;align-items:center;gap:8px;font-weight:700;min-height:44px}
html body.storefront main :is(.button,.text-button):focus-visible{outline:3px solid var(--pl-navy);outline-offset:3px}

/* ───── Fields ───── */
html body.storefront main :is(input:not([type=checkbox],[type=radio],[type=hidden],[type=file],[type=range],[type=color]),select,textarea){border:1.5px solid var(--pl-line);border-radius:var(--pl-r-field);min-height:50px;padding:10px 14px;background-color:#fff;font-size:15px;box-shadow:none;transition:border-color .15s ease,box-shadow .15s ease}
html body.storefront main textarea{min-height:120px;line-height:1.8}
html body.storefront main :is(input:not([type=checkbox],[type=radio]),select,textarea):focus{border-color:var(--pl-navy);box-shadow:0 0 0 4px rgba(4,27,65,.08);outline:0}
html body.storefront main label{font-weight:600}
html body.storefront main :is(input[type=checkbox],input[type=radio]){accent-color:var(--pl-navy);width:20px;height:20px}
/* Controls that carry their own shape keep it. */
html body.storefront main :is(.pv5-qty,.cart-qty) input{border:0;min-height:0;padding:0;border-radius:0;box-shadow:none;background:none}
html body.storefront main :is(.pv5-fact,.hv-bar) select{min-height:0;border:0;padding:0}

/* ───── Cards and page headings ───── */
html body.storefront main :is(.panel,.auth-card,.empty){border:1.5px solid var(--pl-line);border-radius:var(--pl-r-card);box-shadow:none}
html body.storefront main .container>h1,html body.storefront main .category-intro h1{font-size:clamp(23px,2.6vw,31px);line-height:1.45;letter-spacing:-.2px;margin:6px 0 14px}
html body.storefront main .breadcrumb{font-size:12.5px;color:var(--pl-muted);margin-bottom:10px;line-height:1.8}
html body.storefront main .empty{padding:36px 22px;text-align:center}
html body.storefront main .empty .empty-symbol{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:22px;background:var(--pl-soft);color:var(--pl-navy);margin-bottom:8px}
html body.storefront main .empty .empty-symbol svg{width:28px;height:28px}
html body.storefront .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ───── Product names: device on top, option under it ───── */
html body.storefront .pn-option{display:block;margin:2px 0 0;font-size:12px;line-height:1.6;font-weight:600;color:var(--pl-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.storefront .pv5-info h1 .pn-option{font-size:14px;margin-top:4px;white-space:normal}
html body.storefront .cs-card .pn-option{margin-bottom:4px}

/* ───── Catalogue cards ───── */
html body.storefront main .product-grid .product-card{border:1.5px solid var(--pl-line);border-radius:20px;box-shadow:none;overflow:hidden;background:#fff;transition:border-color .18s ease,transform .18s ease,box-shadow .18s ease}
html body.storefront main .product-grid .product-card .product-image{background:#fff;border-bottom:1px solid #f1f3f7}
html body.storefront main .product-grid .product-card .product-info{gap:4px;padding:12px}
html body.storefront main .product-grid .product-card .product-info h3{height:auto;min-height:3.3em;max-height:3.3em;font-size:13.5px;line-height:1.65;font-weight:700}
html body.storefront main .product-grid .product-card .product-info h3 a{-webkit-line-clamp:2}
html body.storefront main .product-grid .product-card .pn-option{min-height:1.6em}
html body.storefront main .product-grid .product-card .stock{display:flex;align-items:center;gap:6px;font-size:11.5px;font-weight:600;color:#1a7a35;min-height:20px}
html body.storefront main .product-grid .product-card .stock i{width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}
html body.storefront main .product-grid .product-card .stock.out{color:#c62828}
html body.storefront main .product-grid .product-card .price{min-height:0;margin:2px 0 6px}
html body.storefront main .product-grid .product-card .price strong{font-size:16.5px;font-weight:700}
html body.storefront main .product-grid .product-card .add-cart{min-height:44px;border-radius:14px;font-size:12.5px;padding:6px 8px;gap:6px;background:var(--pl-navy);color:#fff;border-color:var(--pl-navy)}
html body.storefront main .product-grid .product-card .add-cart svg{width:17px;height:17px}

/* ───── Home: one heading style, calmer panels, even spacing ───── */
html body.storefront main .section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;border:0!important;padding-bottom:0!important;margin-bottom:14px}
html body.storefront main .section-heading h2,html body.storefront main .signature-brand-heading h2{display:flex;align-items:center;gap:10px;font-size:clamp(19px,2.1vw,26px);line-height:1.45;font-weight:700;margin:0;letter-spacing:-.2px}
html body.storefront main .section-heading h2:before,html body.storefront main .signature-brand-heading h2:before{content:"";flex:none;width:6px;height:24px;border-radius:4px;background:var(--pl-lime)}
html body.storefront main .section-heading>a{border:0!important;background:none!important;box-shadow:none!important;padding:8px 0!important;min-height:0!important;font-size:13px!important;font-weight:600;color:var(--pl-muted);gap:6px}
html body.storefront main .section-heading>a svg{width:15px;height:15px}
html body.storefront main .hb-head h2{font-size:clamp(19px,2.1vw,26px)}
html body.storefront main .hb-head h2:before{height:24px}
html body.storefront main .hb-panel{background:#f6f7fa;border:0;border-radius:var(--pl-r-card)}
html body.storefront main .hb-deals .hb-panel{background:var(--pl-navy)}
html body.storefront main .signature-brand-heading{margin-bottom:12px;padding:0;overflow:visible;text-align:start}
html body.storefront main .brands{padding-block:18px 8px}
html body.storefront main .pl-brand-row{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0 8px;direction:inherit}
html body.storefront main .pl-brand-row::-webkit-scrollbar{display:none}
html body.storefront main .pl-brand-row>a{flex:none;display:flex;align-items:center;justify-content:center;min-width:112px;min-height:56px;padding:8px 18px;border:1.5px solid var(--pl-line);border-radius:16px;background:#fff;color:var(--pl-navy);font-size:14.5px;white-space:nowrap;text-decoration:none;transition:border-color .18s ease}
html body.storefront main .pl-brand-row>a:is(:hover,:focus-visible){border-color:var(--pl-navy)}
html body.storefront main .signature-paths{display:grid;gap:12px;margin-block:8px 18px}
html body.storefront main .signature-path{border-radius:var(--pl-r-card);border:1.5px solid var(--pl-line);box-shadow:none}
html body.storefront main .signature-path-dark{border-color:var(--pl-navy)}
html body.storefront.home-calm main>:last-child,html body.storefront main .home-signature>:last-child{margin-bottom:0}
html body.storefront main .home-signature{padding-bottom:28px}

/* ───── Cart ───── */
html body.storefront .cart-page h1 small{display:inline-block;margin-inline-start:10px;font-size:13px;font-weight:600;color:var(--pl-muted);background:var(--pl-soft);border-radius:10px;padding:1px 10px;vertical-align:middle;letter-spacing:0}
html body.storefront .cart-list{display:grid;gap:10px}
html body.storefront .cart-row{position:relative;display:grid;grid-template-columns:84px minmax(0,1fr) auto;grid-template-areas:"img info info" "img qty line";gap:10px 12px;align-items:center;padding:12px;border:1.5px solid var(--pl-line);border-radius:20px;background:#fff}
html body.storefront .cart-thumb{grid-area:img;align-self:start;display:flex;align-items:center;justify-content:center;width:84px;height:84px;border-radius:16px;background:#f6f7fa;padding:8px}
html body.storefront .cart-thumb img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
html body.storefront .cart-info{grid-area:info;min-width:0;padding-inline-end:34px}
html body.storefront .cart-info h3{margin:0;font-size:14px;line-height:1.6;font-weight:700;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
html body.storefront .cart-info .pn-option{white-space:normal}
html body.storefront .cart-unit{display:block;margin-top:2px;font-size:12.5px;color:var(--pl-muted)}
html body.storefront .cart-info .danger{margin:4px 0 0;font-size:12.5px;color:#c62828;font-weight:600}
html body.storefront .cart-remove{position:absolute;top:8px;inset-inline-end:8px;width:34px;height:34px;border:0;border-radius:12px;background:var(--pl-soft);color:var(--pl-muted);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0}
html body.storefront .cart-remove svg{width:15px;height:15px}
html body.storefront .cart-remove:is(:hover,:focus-visible){background:#fde8e9;color:#c62828}
html body.storefront .cart-qty{grid-area:qty;display:grid;grid-template-columns:36px 40px 36px;align-items:center;width:112px;height:42px;margin:0;border-radius:14px;background:var(--pl-soft);overflow:hidden}
html body.storefront .cart-qty button{height:100%;border:0;background:none;color:var(--pl-navy);font-size:19px;font-weight:700;cursor:pointer;padding:0;line-height:1}
html body.storefront .cart-qty input{width:100%;text-align:center;font-weight:700;font-size:15px;color:var(--pl-navy);-moz-appearance:textfield;appearance:textfield}
html body.storefront .cart-qty input::-webkit-outer-spin-button,html body.storefront .cart-qty input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
html body.storefront .cart-line{grid-area:line;justify-self:end;font-size:16px;font-weight:700;color:var(--pl-navy);white-space:nowrap}
html body.storefront .cart-page .actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
html body.storefront .cart-page form.is-auto .cart-manual{display:none}
html body.storefront .cart-page form.is-saving .cart-list{opacity:.55;pointer-events:none;transition:opacity .15s ease}
html body.storefront .cart-page .text-button{margin-top:8px}
html body.storefront .cart-page .summary{padding:18px;display:grid;gap:0}
html body.storefront .cart-page .summary h2{font-size:18px;margin:0 0 8px}
html body.storefront .cart-page .summary>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #f1f3f7;font-size:14px}
html body.storefront .cart-page .summary>.summary-total{border-bottom:0;font-size:16px;font-weight:700;padding-bottom:14px}
html body.storefront .cart-page .summary>small{display:block;text-align:center;color:var(--pl-muted);margin-top:8px}
html body.storefront .cart-coupon{margin-top:12px;border-top:1px solid #f1f3f7;padding-top:6px}
html body.storefront .cart-coupon>summary{cursor:pointer;font-weight:700;font-size:14px;padding:8px 0;list-style:none;display:flex;align-items:center;justify-content:space-between}
html body.storefront .cart-coupon>summary::-webkit-details-marker{display:none}
html body.storefront .cart-coupon>summary:after{content:"+";font-size:20px;font-weight:400;color:var(--pl-muted);line-height:1}
html body.storefront .cart-coupon[open]>summary:after{content:"−"}
html body.storefront .cart-coupon form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;margin:4px 0 6px}
html body.storefront .cart-coupon form label{margin:0}
html body.storefront .cart-coupon form .button{min-height:50px;padding-inline:18px}
html body.storefront .cart-coupon small{color:var(--pl-muted);font-size:12px}
@media (min-width:700px){
 html body.storefront .cart-row{grid-template-columns:96px minmax(0,1fr) auto auto;grid-template-areas:"img info qty line";padding:14px;gap:16px}
 html body.storefront .cart-thumb{width:96px;height:96px}
 html body.storefront .cart-info{padding-inline-end:0}
 html body.storefront .cart-remove{position:static;order:5}
 html body.storefront .cart-row{grid-template-columns:96px minmax(0,1fr) auto 110px 34px;grid-template-areas:"img info qty line rm"}
 html body.storefront .cart-remove{grid-area:rm}
}

/* ───── Motion: quiet, short, and off for anyone who asked for less ───── */
@view-transition{navigation:auto}
::view-transition-old(root){animation-duration:.14s}
::view-transition-new(root){animation-duration:.2s}
html body.storefront .site-header{view-transition-name:pl-header}
html body.storefront .mobile-store-bar{view-transition-name:pl-bar}
@keyframes pl-fade{from{opacity:0}to{opacity:1}}
@keyframes pl-rise{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes pl-spin{to{transform:rotate(360deg)}}
/* The entrance never stays applied after it ends (no forwards fill), and it never runs on an ancestor of the fixed buy bar:
   an animated ancestor would trap the bar in its own layer and let the footer draw over it. */
html body.storefront main>:not(.product-page){animation:pl-fade .24s ease backwards}
html body.storefront main .pv5-info>:not(form){animation:pl-fade .24s ease backwards}
html body.storefront main .container>h1,html body.storefront main .pv5-gallery,html body.storefront main .auth-card,html body.storefront main .cart-list,html body.storefront main .product-grid{animation:pl-rise .32s cubic-bezier(.2,.7,.2,1) backwards}
html body.storefront .pv6-pane:not([hidden]){animation:pl-rise .22s ease backwards}
/* Press feedback */
html body.storefront :is(.button,.add-cart,.text-button,.hv-shortcuts a,.cs-acts :is(button,a),.cs-add button,.cs-plus button,.gp-choice,.variant-choice,.pv6-tablist button,.pv5-links :is(a,button),.pv5-fact-link,.pv6-fact-btn,.pl-brand-row>a,.home-category-static a,.category-tile,.mobile-store-bar a,.cart-qty button,.pv5-qty button,.cart-remove,.pv6-share,.hb-more,.hb-inst-button,.bc-card,.signature-path,.hb-budget-grid a,.hv-recent-item){transition:transform .12s ease,background-color .18s ease,border-color .18s ease,color .18s ease,box-shadow .18s ease;-webkit-tap-highlight-color:transparent}
html body.storefront :is(.button,.add-cart,.hv-shortcuts a,.cs-acts :is(button,a),.cs-add button,.cs-plus button,.gp-choice,.variant-choice,.pv6-tablist button,.pv5-links :is(a,button),.pv6-fact-btn,.pl-brand-row>a,.home-category-static a,.category-tile,.cart-qty button,.pv5-qty button,.cart-remove,.pv6-share,.hb-inst-button,.bc-card,.signature-path,.hb-budget-grid a,.hv-recent-item):active:not(:disabled){transform:scale(.96)}
html body.storefront .mobile-store-bar a:active{transform:scale(.92)}
/* A button that was just pressed to add to the cart shows it is working. */
html body.storefront button.is-busy{position:relative;color:transparent!important;pointer-events:none}
html body.storefront button.is-busy>*{visibility:hidden}
html body.storefront button.is-busy:after{content:"";position:absolute;inset:0;margin:auto;width:18px;height:18px;border-radius:50%;border:2.5px solid rgba(255,255,255,.45);border-top-color:#fff;animation:pl-spin .6s linear infinite}
html body.storefront :is(button.lime,.cs-acts form:first-child button,.cs-plus button,.cs-add button).is-busy:after{border-color:rgba(4,27,65,.25);border-top-color:var(--pl-navy)}
@media (hover:hover){
 html body.storefront main .product-grid .product-card:hover{border-color:#cfd6e2;transform:translateY(-3px);box-shadow:0 12px 26px rgba(4,27,65,.07)}
 html body.storefront main .cs-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
 html body.storefront main .cs-card:hover{transform:translateY(-3px)}
 html body.storefront main :is(.product-card,.cs-card) img{transition:transform .25s ease}
 html body.storefront main :is(.product-card,.cs-card):hover img{transform:scale(1.04)}
}
@media (prefers-reduced-motion:reduce){
 @view-transition{navigation:none}
 html body.storefront *,html body.storefront *:before,html body.storefront *:after{animation-duration:.001s!important;animation-delay:0s!important;transition-duration:.001s!important;scroll-behavior:auto!important}
 html body.storefront :active{transform:none!important}
}

/* ───── Round 2: details found while reviewing every page ───── */
html body.storefront main .product-grid .product-card .product-info h3{min-height:0;max-height:3.3em}
html body.storefront main .product-grid .product-card .pn-option{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:0}
html body.storefront main .product-grid .product-card .stock{margin-top:auto;padding-top:6px}
html body.storefront main .product-grid .product-card .product-actions{margin-top:0}
html body.storefront main .product-grid .product-card .add-cart .cart-label{font-size:12.5px;font-weight:700;white-space:nowrap;line-height:1.4;background:none;width:auto;height:auto}
html body.storefront main .product-grid .product-card .add-cart{flex-direction:row;white-space:nowrap}
html body.storefront main .cs-card h3 a{min-height:0}
html body.storefront main .cs-card .pn-option{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
html body.storefront main .cs-card-detail .cs-info{display:flex;flex-direction:column}
html body.storefront main .cs-card-detail .cs-price{margin-top:auto;padding-top:6px}
/* Forms outside the shop use the navy button; lime stays for buying. */
html body.storefront main .auth-card .button.lime{background:var(--pl-navy)!important;color:#fff!important;border-color:var(--pl-navy)!important}
html body.storefront main .signature-paths{margin-block:4px 14px!important;padding-block:0!important}
html body.storefront main .signature-help{margin-bottom:0!important}
html body.storefront main .home-signature{padding-bottom:24px}
/* Wide card on phones: the price stacks so the "add" button never sits on top of it. */
@media (max-width:699px){
 html body.storefront main .cs-card-wide .cs-foot{gap:8px;align-items:flex-end}
 html body.storefront main .cs-card-wide .cs-price{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:0}
 html body.storefront main .cs-card-wide .cs-add{flex:none;align-self:flex-end;height:46px}
 html body.storefront main .cs-card-wide .cs-add button{width:46px;min-width:46px;height:46px!important;min-height:0;max-height:46px;padding:0;justify-content:center;border-radius:15px}
 html body.storefront main .cs-card-wide .cs-add button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
}
/* Product page on phones: room under the footer so its last lines are not hidden behind the buy bar. */
@media (max-width:899px){html body.storefront:has(.pv6 form.pv5-buy) .footer{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}}
