/* LAREN shared navigation utilities - consistent across desktop and mobile */
.laren-product-page{position:relative}
.laren-product-back{
  position:absolute;
  top:13px;
  left:max(5%,calc((100% - 1140px)/2 + 35px));
  z-index:4;
  margin:0;
}
.laren-product-back-link{
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:38px;
  padding:8px 14px;
  border:1px solid #171717;
  background:#fff;
  color:#171717;
  text-decoration:none;
  font-family:"Inter Laren",Inter,Arial,sans-serif;
  font-size:11px;
  font-weight:400;
  line-height:1.4;
  letter-spacing:.01em;
  transition:background-color .2s ease,color .2s ease;
}
.laren-product-back-link svg{
  display:block;
  flex:0 0 15px;
  width:15px;
  height:15px;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
  fill:none;
}
.laren-product-back-link:hover,
.laren-product-back-link:focus-visible{background:#171717;color:#fff}
.laren-product-back-link:focus-visible,
.laren-go-to-top:focus-visible{outline:2px solid #171717;outline-offset:3px}
.laren-go-to-top{
  position:fixed;
  right:26px;
  bottom:28px;
  z-index:48;
  box-sizing:border-box;
  width:46px;
  height:46px;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #c1bdb7;
  border-radius:50%;
  background:#fff;
  color:#171717;
  box-shadow:0 2px 12px rgba(0,0,0,.08);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transform:translateY(9px);
  cursor:pointer;
  transition:opacity .25s ease,visibility .25s ease,transform .25s ease,background-color .2s ease,color .2s ease;
}
.laren-go-to-top.is-visible{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
  transform:translateY(0);
}
.laren-go-to-top svg{
  display:block;
  flex:none;
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.laren-go-to-top:hover{background:#171717;color:#fff}
body:has(.mobile-nav.open) .laren-go-to-top,
body:has(.laren-photo-lightbox:not([hidden])) .laren-go-to-top{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important;
}
@media(max-width:760px){
  .laren-product-back{top:12px;left:5%}
  .laren-product-back-link{min-height:36px;padding:8px 12px;gap:7px;font-size:11px}
  .laren-product-page .product-heading{padding-top:65px!important}
  .laren-go-to-top{
    width:44px;
    height:44px;
    right:16px;
    bottom:calc(76px + env(safe-area-inset-bottom,0px));
  }
  .laren-go-to-top svg{width:17px;height:17px}
}
@media(prefers-reduced-motion:reduce){
  .laren-product-back-link,.laren-go-to-top{transition:none!important}
}
/* LAREN mobile-first accessibility and interaction pass - 2026-11-08 */
.laren-skip-link{
  position:fixed;top:10px;left:12px;z-index:10000;transform:translateY(-160%);
  padding:12px 16px;background:#fff;color:#171717;border:2px solid #171717;
  font:600 14px/1.3 "Inter Laren",Inter,Arial,sans-serif;
  box-shadow:0 4px 18px rgba(0,0,0,.22);
  text-decoration:none;
}
.laren-skip-link:focus,.laren-skip-link:focus-visible{transform:translateY(0)}
:where(a,button,input,select,textarea,summary,[tabindex]):focus-visible{
  outline:2px solid #181818;outline-offset:3px;
  box-shadow:0 0 0 2px #fff;
}
.laren-video-toggle{
  position:absolute;right:clamp(14px,3vw,32px);
  bottom:calc(18px + env(safe-area-inset-bottom,0px));z-index:20;
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;min-width:44px;min-height:44px;
  padding:0;border:1px solid rgba(255,255,255,.78);border-radius:50%;
  background:rgba(20,20,20,.42);color:#fff;cursor:pointer;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  transition:background-color .2s ease,transform .2s ease;
}
.laren-video-toggle svg{width:18px;height:18px;fill:currentColor;display:block}
.laren-video-toggle:hover{background:rgba(20,20,20,.72)}
.laren-video-toggle:focus-visible{outline:2px solid #fff;outline-offset:3px;box-shadow:0 0 0 5px #171717}
@media(max-width:900px){
  .head{gap:clamp(2px,1vw,8px);padding-left:clamp(10px,3vw,20px);padding-right:clamp(10px,3vw,20px);min-width:0}
  .head .logo{width:clamp(106px,33vw,143px);min-width:0;flex:0 1 auto}
  .head .logo img{width:100%;height:auto;object-fit:contain}
  .head .tools{gap:0;margin-left:auto;flex:none;min-width:0}
  .head .tool-icon{
    width:44px!important;height:44px!important;min-width:44px;min-height:44px;
    display:inline-flex;align-items:center;justify-content:center;flex:none;
  }
  .head .tool-icon svg{flex:none}
  .head .lang-picker{flex:none}
  .head .lang-button{
    min-width:48px;min-height:44px;padding:0 4px;
    display:inline-flex;align-items:center;justify-content:center;
  }
  .head .menu-toggle{
    display:inline-flex;align-items:center;justify-content:center;
    flex:none;width:44px;height:44px;min-width:44px;min-height:44px;
    padding:0;line-height:1;
  }
  .mobile-nav{
    max-height:calc(100dvh - 72px - env(safe-area-inset-bottom,0px));
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
  }
  .mobile-nav summary,.mobile-nav a{
    min-height:44px;display:flex;align-items:center;
    line-height:1.4;
  }
  .lang-picker .language-options a{min-height:44px;display:flex;align-items:center}
  .shop-categories a,.shop-filter-check,.shop-mobile-filter{
    min-height:44px;
  }
  input:not([type="checkbox"]):not([type="radio"]),
  textarea,select{
    font-size:16px!important;
  }
  .shop-input,.shop-select,.shop-price-fields input,
  .shop-option select,.shop-quantity input{
    min-height:44px;
  }
  .laren-product-back-link{min-height:44px;padding-top:10px;padding-bottom:10px}
}
@media(max-width:350px){
  .head{padding-left:8px;padding-right:8px;gap:2px}
  .head .logo{width:106px}
  .head .tools{gap:0}
}
@media(prefers-reduced-motion:reduce){
  .laren-video-toggle,.laren-skip-link{transition:none!important}
}

/* LAREN narrow-screen storefront readability refinement - 2026-11-08 */
@media(max-width:900px){
  .head .cart-icon .cart-count{top:24px!important}
  .shop-filter-toggle,.shop-filter-close,.shop-filter-apply{
    min-width:44px;min-height:44px;
  }
}
@media(max-width:480px){
  .shop-hero p{font-size:14px;line-height:1.6}
  .shop-categories a{font-size:12.5px;line-height:1.45;min-height:44px}
  .shop-card h3{font-size:13.5px;line-height:1.42;min-height:38px}
  .shop-card-price{font-size:13px}
  .shop-card-pack{font-size:11.5px;line-height:1.45}
  .shop-card .shop-button{font-size:12.5px;line-height:1.35;min-height:44px}
  .shop-result-count{font-size:13px}
  .shop-pdp-description{font-size:14px;line-height:1.7}
  .shop-cart-line h2{font-size:14px}
  .shop-cart-line p{font-size:13px}
}

/* LAREN PageSpeed mobile footer target-size refinements - 2026-11-08 */
@media(max-width:900px){
 footer .footer-col a,footer .footer-legal a{
  display:flex;align-items:center;min-height:44px;line-height:1.45;white-space:normal;
 }
 footer .foot-bottom a{display:inline-flex;align-items:center;min-height:44px}
}

/* LAREN mobile hero poster-first paint - 2026-11-08 */
.hero .laren-hero-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
@media(max-width:900px){
 .hero video[data-laren-responsive-video]{opacity:0;pointer-events:none;transition:opacity .35s ease}
 .hero video[data-laren-responsive-video].laren-video-playing{opacity:1}
}
@media(prefers-reduced-motion:reduce){.hero video[data-laren-responsive-video]{transition:none!important}}
