/* Shared interaction and small-screen refinements. */
:root{--shop-ease:cubic-bezier(.22,1,.36,1)}
html{scrollbar-gutter:stable}
button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
button,a,summary{touch-action:manipulation}
:focus-visible{outline:3px solid #26844b;outline-offset:4px}
.shop-body{line-height:1.5}
.shop-brand img{height:38px;width:124px;object-fit:contain}
.shop-hero-grid{min-height:400px;grid-template-columns:1fr 1.08fr}
.shop-hero-copy{padding:42px}
.shop-hero h1{font-size:clamp(2.6rem,4.5vw,4rem);line-height:1.02}
.shop-hero-media{min-height:390px;max-height:470px}
.shop-hero-media img{height:100%;max-height:470px}
.shop-product-grid:has(>.shop-product-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr));max-width:860px;margin-inline:auto}
.shop-product-card{display:flex;flex-direction:column;animation:shop-arrive .38s var(--shop-ease) both}
.shop-product-card:nth-child(2){animation-delay:35ms}.shop-product-card:nth-child(3){animation-delay:60ms}.shop-product-card:nth-child(4){animation-delay:85ms}
.shop-card-body{flex:1;display:flex;flex-direction:column}.shop-card-actions{margin-top:auto}.shop-card-price{flex-wrap:wrap;gap:3px 8px}
.shop-card-body h3{overflow-wrap:anywhere;line-height:1.4}
.shop-card-media{flex:none}.shop-card-media img{height:100%;object-fit:contain}
.shop-card-media .shop-card-alternate{position:absolute;inset:0;opacity:0;background:#fff;transition:opacity .3s var(--shop-ease),transform .3s var(--shop-ease)}
.shop-zoom-open{overflow:hidden}
.product-mobile-buy{transition:transform .22s var(--shop-ease),opacity .22s ease}
.product-mobile-buy.is-at-primary{transform:translateY(110%);opacity:0;pointer-events:none}
.shop-btn,.shop-icon-btn{transition:transform .2s var(--shop-ease),background .2s,color .2s,box-shadow .2s}
.shop-btn:active,.shop-icon-btn:active{transform:scale(.96)}
.shop-btn.is-added{background:#21633f;border-color:#21633f}
.shop-links a{position:relative;padding-block:8px}.shop-links a::after{content:'';height:2px;background:currentColor;position:absolute;bottom:2px;left:0;right:0;transform:scaleX(0);transform-origin:left;transition:transform .2s}
.shop-links a:hover::after,.shop-links a[aria-current]::after{transform:scaleX(1)}
.shop-section-head .shop-text-link{white-space:normal;text-align:right;flex-shrink:0}
.shop-category-strip:has(>.shop-category:only-child){max-width:430px}.shop-category{min-height:215px}
.shop-lock{position:fixed!important;top:var(--shop-lock-y,0);left:0;right:0;width:100%;overflow:hidden!important}
.shop-drawer{padding-bottom:0!important;max-height:100dvh}
.shop-drawer-body{min-height:0;scrollbar-gutter:stable}.shop-drawer-foot{flex-shrink:0}
.shop-cart-row{align-items:start;overflow:hidden;min-width:0;grid-template-columns:72px minmax(0,1fr) 48px}.shop-cart-row img{width:72px;height:72px}
.shop-cart-row h3{overflow-wrap:anywhere;line-height:1.4}.shop-cart-row strong{font-variant-numeric:tabular-nums}.shop-cart-row small{display:block}
.shop-cart-remove{padding:0;min-height:44px;text-decoration:underline;text-underline-offset:3px}
.shop-cart-row p{font-size:.8rem;color:var(--shop-muted);margin:4px 0}
.shop-cart-placeholder{display:grid;place-items:center;background:#f0f0ee;width:72px;height:72px;border-radius:14px}
.shop-qty button{min-width:40px;min-height:40px;border-radius:50%}.shop-qty button:disabled{opacity:.3;cursor:default}
.shop-qty span{min-width:26px;font-variant-numeric:tabular-nums}
.shop-continue{display:block;min-height:44px;width:100%;padding:10px;text-align:center;border:0;background:transparent;color:var(--shop-muted);font-size:.86rem;font-weight:800;cursor:pointer}
.shop-summary-line{gap:14px;min-width:0}.shop-summary-line>span:first-child{flex:1;overflow-wrap:anywhere}.shop-summary-line>span:last-child:not(:first-child){max-width:50%;white-space:normal}.shop-summary-line strong{font-variant-numeric:tabular-nums;white-space:nowrap}
.shop-toast{max-width:calc(100% - 24px);width:max-content;display:flex;gap:16px;align-items:center;white-space:normal;padding:10px 18px;pointer-events:none;box-shadow:0 8px 25px #0002;font-size:.82rem}
.shop-toast button{pointer-events:auto;border:0;background:transparent;color:#b4f1c5;text-decoration:underline;min-height:44px;font-weight:800;padding:0 4px}
.shop-body:has(.product-mobile-buy:not([hidden])) .shop-toast{bottom:calc(82px + env(safe-area-inset-bottom))}
.shop-accordion details[open]>:not(summary){animation:shop-arrive .2s var(--shop-ease)}.shop-accordion summary{min-height:52px}
.shop-error{color:#a63b38}.shop-loading{color:var(--shop-muted);padding:20px 0}
.shop-checkout-layout{grid-template-columns:minmax(0,720px);justify-content:center}
#shopCheckoutSummary{position:static;margin:16px 0 22px;box-shadow:none;background:#f7f8f5;padding:20px;border-radius:16px}
#shopCheckoutSummary h2{font-size:1.25rem}
#shopConfirmOrder{width:100%;min-height:50px}
.shop-form-section p{color:var(--shop-muted);font-size:.9rem}
.product-gallery-track{align-items:start}.product-gallery-track figure{flex:0 0 100%;width:100%;overflow:hidden}.product-gallery-track img{max-height:620px;cursor:zoom-in}
.related-product-card>img{width:100%;height:auto;aspect-ratio:1;max-height:320px}
.product-description{padding-bottom:18px}.product-actions{grid-template-columns:1fr}.product-assurances{margin-top:8px}
.product-mobile-buy{box-shadow:0 -5px 24px #00000009}.product-quantity button{min-width:44px;min-height:44px}
.product-breadcrumb{white-space:nowrap;overflow:hidden}.product-breadcrumb>span:last-child{overflow:hidden;text-overflow:ellipsis}
.shop-zoom{border:0;border-radius:24px;background:#fff;padding:48px 20px 20px;max-width:94vw;max-height:94dvh;width:900px;overflow:auto}.shop-zoom::backdrop{background:#151619ad;backdrop-filter:blur(4px)}
.shop-zoom img{width:100%;height:auto;object-fit:contain;max-height:78dvh}.shop-zoom .shop-close{position:absolute;right:12px;top:10px}.shop-zoom[open]{animation:shop-arrive .23s var(--shop-ease)}
@keyframes shop-arrive{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}
@media(hover:hover){.shop-btn:hover{box-shadow:0 6px 15px #00000014}.shop-card-media:hover{border-color:#babeb7}.shop-card-media:hover .shop-card-alternate{opacity:1}.shop-cart-remove:hover{color:#a63b38}}
@media(max-width:980px){.shop-hero-copy{padding:30px}.shop-hero h1{font-size:2.8rem}.shop-actions{margin-left:auto}.shop-mobile-nav{max-height:calc(100dvh - 70px);overflow:auto;overscroll-behavior:contain}.shop-mobile-nav:not([hidden]){animation:shop-arrive .18s var(--shop-ease)}}
@media(max-width:720px){
  .shop-brand img{width:106px;height:34px}.shop-icon-btn{width:44px;height:44px}.shop-actions{gap:5px}
  .shop-announcement{font-size:.7rem;line-height:1.4;padding:7px 12px}
  .shop-hero-grid{grid-template-columns:1fr;min-height:0;border-radius:24px}.shop-hero-copy{padding:25px 23px 4px}
  .shop-hero h1{font-size:clamp(2rem,8.7vw,2.65rem);line-height:1.02;margin-bottom:12px;max-width:400px}.shop-eyebrow{font-size:.64rem;letter-spacing:.07em}
  .shop-hero p{font-size:.9rem;margin-bottom:15px}.shop-hero-media{height:200px;min-height:200px;max-height:200px}.shop-hero-media img{height:200px;padding:8px 22px}
  .shop-hero-actions{width:100%;gap:8px}.shop-hero-actions .shop-btn{min-height:44px;padding:0 16px;font-size:.83rem;width:auto}
  .shop-trust-list{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:12px 10px;padding:0}.shop-trust-item{font-size:.7rem;align-items:center;gap:6px}.shop-trust-item svg{flex:none;width:17px;height:17px}
  .shop-section{padding:38px 0}.shop-section.is-compact{padding:24px 0}.shop-section-head{gap:14px}.shop-section-head h2{font-size:1.6rem}.shop-text-link{font-size:.84rem}
  .shop-product-grid:has(>.shop-product-card:nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .shop-card-actions .shop-btn{min-height:44px;font-size:.8rem}.shop-card-body h3{font-size:.88rem;min-height:2.8em}.shop-card-badge{left:8px;top:8px;font-size:.6rem;padding:4px 7px}
  .shop-card-price strong{font-size:1.07rem}.shop-card-category{font-size:.7rem}.shop-category{min-height:175px}
  .shop-summary{padding:20px}.shop-summary-line{font-size:.88rem}.shop-summary-line.is-total{font-size:1.12rem}
  .shop-drawer-head{padding:16px}.shop-drawer-body{padding:0 16px}.shop-drawer-foot{padding:14px 16px max(10px,env(safe-area-inset-bottom))}
  .shop-drawer-empty{padding:45px 0}.shop-fields input,.shop-fields textarea,.shop-fields select,.shop-searchbox input,.shop-select,.product-quantity input{font-size:16px}
  .shop-form-section{padding-bottom:20px;margin-bottom:20px}.shop-field textarea{min-height:68px}.shop-page-title{font-size:2.3rem}
  .product-gallery-track img{height:100%;padding:15px}.product-gallery{max-width:100%}.product-copy h1{font-size:2rem}.product-short{font-size:.94rem;line-height:1.5}.product-info{margin-top:26px}
  .product-actions #productAdd{display:flex}.product-actions{gap:8px}.product-mobile-buy[hidden]{display:none!important}.shop-body:has(.product-mobile-buy:not([hidden])) .shop-footer{padding-bottom:95px}
  .related-product-card>img{max-height:none;height:auto}.shop-footer-grid{gap:24px 16px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Buying guidance stays quiet and close to the decision. */
:root{--shop-accent:#167044;--shop-accent-hover:#105834}
.shop-btn:not(.is-secondary){background:var(--shop-accent);border-color:var(--shop-accent);box-shadow:0 4px 12px #16704412}
.shop-btn:not(.is-secondary):disabled{background:#e0e3df;border-color:#e0e3df;color:#626861!important;box-shadow:none;cursor:default}
.shop-btn:not(.is-secondary):not(:disabled):hover{background:var(--shop-accent-hover);border-color:var(--shop-accent-hover)}
.shop-cart-count,.shop-card-badge{background:var(--shop-accent)}
.shop-hero-grid{background:linear-gradient(130deg,#edf3ef,#edf1f5)}
.shop-product-grid:has(>.shop-product-card:only-child){grid-template-columns:minmax(0,1fr);max-width:350px;margin-inline:auto}
@media(hover:none){.shop-btn:hover{transform:none}.shop-btn:active{transform:scale(.98)}}
.product-gallery-track{overscroll-behavior-x:contain;scroll-snap-stop:always}
.product-gallery-track.is-dragging{scroll-snap-type:none;scroll-behavior:auto;user-select:none}
.product-gallery-track.is-dragging img{cursor:grabbing}
.product-gallery-track figure{scroll-snap-stop:always}
.product-gallery-dots{gap:2px;margin:4px 0}
.product-gallery-dots button{width:32px;height:32px;background:transparent;display:grid;place-items:center}
.product-gallery-dots button::after{content:'';width:6px;height:6px;border-radius:50%;background:#c5cbc6;transition:transform .2s,background .2s}
.product-gallery-dots button.is-active{background:transparent}.product-gallery-dots button.is-active::after{background:var(--shop-accent);transform:scale(1.3)}
.product-action-status:empty{display:none}
.product-assurances{display:flex;flex-wrap:wrap;gap:5px 16px;font-size:.76rem;margin-top:14px;padding-top:12px}
.product-info .shop-text-link{display:inline-block;white-space:normal;margin-bottom:18px}
@media(min-width:761px){.product-gallery-dots{display:none}}
@media(max-width:760px){
  html{scrollbar-gutter:auto}
  .shop-hero-grid{grid-template-columns:minmax(0,1fr)}
  .shop-hero-copy{align-items:center;text-align:center;padding:25px 20px 8px;min-width:0}
  .shop-hero h1,.shop-hero-copy>p{margin-inline:auto;max-width:100%}
  .shop-hero-actions{justify-content:center;width:100%}.shop-hero-actions .shop-btn{flex:1;max-width:210px;font-size:.8rem;padding-inline:12px}
  .shop-hero-media{min-width:0;display:flex;justify-content:center}.shop-hero-media img{width:100%;max-width:360px;object-fit:contain}
  .shop-trust{overflow:visible}.shop-trust-list{width:var(--shop-container);margin-inline:auto;grid-template-columns:repeat(2,minmax(0,1fr));padding:0;gap:12px}
  .shop-trust-item{min-width:0;line-height:1.4}.shop-section-head>div{min-width:0}.shop-section-head h2{overflow-wrap:anywhere}
  .shop-category-strip:has(>.shop-category:only-child){margin-inline:auto}
  .shop-social{align-items:center;text-align:center}.shop-social .shop-btn{max-width:100%;white-space:normal}
  .product-copy h1{font-size:1.8rem;line-height:1.1;margin-bottom:10px}
  .product-price-stack{margin:8px 0 10px;gap:7px 10px}.product-short{font-size:.88rem;margin-bottom:14px}
  .product-purchase{display:flex;align-items:center;gap:12px;margin-bottom:12px}.product-purchase>label{margin:0}.product-quantity{margin:0}
  .product-actions{gap:8px}.product-actions .shop-btn{min-height:46px}.product-actions #productBuy{min-height:40px;border-color:transparent;background:transparent;font-size:.83rem;box-shadow:none}
  .product-copy>.shop-real-saving{margin:0 0 10px;font-size:.78rem}
  .product-info{margin-top:26px}.product-info details:first-child:not([open]){border-top:0}
  .product-gallery-arrow{width:44px;height:44px}.product-mobile-buy{padding-inline:16px}
}
.shop-sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.shop-announcement{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:6px 18px}
.shop-announcement[hidden]{display:none}
.shop-sale-timer{display:inline-flex;align-items:center;gap:8px;font-size:.78rem}
.shop-sale-timer strong{font-variant-numeric:tabular-nums;letter-spacing:.04em;background:#ffffffb3;color:#263c32;border-radius:6px;padding:3px 8px;white-space:nowrap}
.shop-real-saving{color:#276344;font-size:.84rem;font-weight:800;line-height:1.5;margin:8px 0 14px}
.product-buy-guide{background:#f3f6f1;border:1px solid #e0e7db;border-radius:16px;padding:16px 18px;margin:22px 0}
.product-buy-guide>strong{font-size:.9rem;color:#293d30}
.product-buy-guide p{font-size:.84rem;line-height:1.6;color:var(--shop-muted);margin:6px 0 10px}
.product-buy-guide .shop-text-link{display:inline-block;font-size:.8rem;line-height:1.5}
.product-help-links{display:flex;flex-wrap:wrap;gap:8px 16px;margin-top:18px;font-size:.76rem;color:var(--shop-muted)}
.product-help-links a,.shop-checkout-privacy a{text-decoration:underline;text-underline-offset:3px}
.shop-purchase-intro{font-size:.94rem;line-height:1.6;color:var(--shop-muted);max-width:680px;margin:-8px 0 22px}
.shop-buy-steps{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;padding:0 0 24px;font-size:.79rem;color:var(--shop-muted)}
.shop-buy-steps [aria-current]{color:#294c34;font-weight:900;background:#edf4e9;border-radius:100px;padding:8px 12px}
.shop-cart-reminder{display:flex;align-items:center;gap:14px;background:#f3f6f1;border:1px solid #e0e7db;border-radius:16px;padding:14px 18px;margin:16px 0 22px}
.shop-cart-reminder>div{flex:1;min-width:0}.shop-cart-reminder strong{font-size:.9rem}.shop-cart-reminder p{font-size:.8rem;line-height:1.5;color:var(--shop-muted);margin:4px 0 0}
.shop-cart-reminder>a{font-size:.8rem;white-space:nowrap}.shop-cart-reminder>.shop-close{flex:none;width:44px;height:44px}
.shop-checkout-privacy{font-size:.75rem;line-height:1.65;color:var(--shop-muted);margin:16px 0 0}
.shop-checkout-options{grid-column:1/-1;color:var(--shop-muted);font-size:.84rem}.shop-checkout-options summary{cursor:pointer;padding:10px 0;min-height:44px;line-height:1.6}.shop-checkout-options .shop-field{margin-top:10px}.shop-checkout-options[open]{padding-bottom:8px}
.shop-order-handoff{background:#eef5e9;padding:16px;border-radius:14px;margin-top:16px}.shop-order-handoff p{font-size:.85rem;line-height:1.5;margin:0 0 10px}
@media(max-width:720px){.shop-cart-reminder{flex-wrap:wrap;padding:14px;gap:10px}.shop-cart-reminder>div{flex-basis:calc(100% - 54px);order:0}.shop-cart-reminder>.shop-close{order:1}.shop-cart-reminder>a{order:2}.product-buy-guide{padding:14px;margin:16px 0}.shop-buy-steps{font-size:.71rem;gap:8px 12px}.shop-sale-timer{font-size:.69rem}.shop-purchase-intro{font-size:.85rem}}
