/* BAYSIDE V12 — responsive storefront; loaded after base theme. */
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:18px}
body{min-width:0;overflow-x:hidden}
img,video,iframe{max-width:100%}
.container,.container-lg,.container-md{min-width:0}
.bayside-hero-copy h1,.bayside-hero-copy h2{overflow-wrap:break-word}
.bayside-details-description{overflow-wrap:anywhere}
.bayside-shop-card{min-width:0}
.bayside-shop-card .card-detail{flex-wrap:wrap}
.bayside-footer-inner{min-width:0}
@media (max-width:991.98px){
  #header-nav .navbar-brand img.logo{max-height:54px!important;max-width:min(58vw,210px);object-fit:contain}
  #bdNavbar{max-width:min(85vw,330px);background:#191b21;color:#fff}
  #bdNavbar .offcanvas-body{padding:20px 24px}
  #bdNavbar .navbar-nav{align-items:stretch!important}
  #bdNavbar .nav-link{color:#fff!important;padding:12px 8px}
  #bdNavbar .btn-close{filter:invert(1);opacity:.9}
  .bayside-footer-inner{display:flex;flex-wrap:wrap;gap:24px}
}
@media (max-width:767.98px){
  .container-lg,.container-md{padding-left:16px!important;padding-right:16px!important}
  .header-top .bayside-topbar{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 12px;text-align:center}
  .header-top .bayside-topnote{font-size:12px;line-height:1.4}
  #intro{margin-top:12px!important}
  .bayside-hero,.bayside-hero-slide{border-radius:16px!important}
  .bayside-hero-slide{height:clamp(400px,112vw,540px)!important}
  .bayside-hero-slide>img{object-position:center center}
  .bayside-hero-shade{background:linear-gradient(0deg,rgba(0,0,0,.88) 0%,rgba(0,0,0,.62) 48%,rgba(0,0,0,.16) 100%)!important}
  .bayside-hero-copy{left:22px!important;right:22px!important;bottom:58px!important;max-width:none!important}
  .bayside-hero-copy h1,.bayside-hero-copy h2{font-size:clamp(32px,9vw,52px)!important;line-height:1.08!important;margin:10px 0 12px!important}
  .bayside-hero-copy p{font-size:14px!important;line-height:1.55!important;margin-bottom:18px!important}
  .bayside-hero-cta{padding:12px 17px!important;max-width:100%;min-height:44px;gap:12px!important}
  .bayside-hero .swiper-pagination{bottom:12px!important}
  [data-catalog-grid]{row-gap:16px!important}
  [data-catalog-grid]>.bayside-shop-col{min-width:0}
  .bayside-shop-card{border-radius:16px!important}
  .bayside-shop-card .card-img{aspect-ratio:1.28!important}
  .bayside-shop-card .card-title{font-size:15px!important}
  .bayside-shop-card .card-price{font-size:15px!important}
  .bayside-shop-card .bayside-product-actions{gap:8px!important}
  .bayside-shop-card .bayside-buy-button,.bayside-shop-card .bayside-more-button{min-height:44px;display:flex;align-items:center;justify-content:center}
  .bayside-details-overlay{padding:10px!important;align-items:center!important}
  .bayside-details-panel{width:100%!important;max-width:500px!important;max-height:calc(100dvh - 20px)!important;display:flex!important;flex-direction:column!important;overflow-y:auto!important;border-radius:18px!important}
  .bayside-details-media{height:clamp(150px,38vh,240px)!important;min-height:0!important;flex-shrink:0}
  .bayside-details-body{padding:24px 20px 24px!important;overflow:visible!important}
  .bayside-details-body h2{font-size:clamp(24px,6vw,32px)!important}
  .bayside-details-description{font-size:14px!important;line-height:1.65!important}
  .bayside-details-close{position:absolute;z-index:3;top:12px!important;right:12px!important}
  .bayside-details-buy{position:static!important;width:100%;min-height:48px}
  .bayside-footer-inner{flex-direction:column;align-items:flex-start}
  .bayside-footer-links{display:flex;flex-wrap:wrap;gap:10px 18px}
  .bayside-checkout-error{left:12px!important;right:12px!important;bottom:12px!important;width:auto!important;max-height:75dvh;overflow:auto}
}
@media (max-width:575.98px){
  [data-catalog-grid]>.bayside-shop-col{width:100%!important;flex:0 0 100%!important;max-width:100%!important}
  .bayside-shop-card{max-width:460px;margin-inline:auto}
  .bayside-shop-card .card-img{aspect-ratio:1.5!important}
  .bayside-shop-card .bayside-product-caption{font-size:13px!important}
}
@media (min-width:576px) and (max-width:991.98px){
  [data-catalog-grid]>.bayside-shop-col{width:50%!important;flex:0 0 50%!important;max-width:50%!important}
}
@media (max-width:360px){
  .bayside-hero-copy{left:16px!important;right:16px!important}
  .bayside-hero-copy h1,.bayside-hero-copy h2{font-size:30px!important}
  .bayside-details-body{padding:20px 15px!important}
}
@media (prefers-reduced-motion:reduce){
  .bayside-shop-card,.bayside-shop-card .product-image{transition:none!important}
}

/* V13: masquer uniquement le carrousel principal sur smartphone */
@media (max-width: 767.98px) {
  #intro { display: none !important; }
}
