/* WoodMart shared header and catalog presentation */
.whb-general-header .whb-col-center .wd-header-main-nav { display:flex; justify-content:center; }
.whb-general-header .wd-header-main-nav .wd-nav-main > li > a,
.mobile-nav .wd-nav-mobile > li > a { font-weight:700; }
.header-banner .wd-entry-content { text-align:center; font-weight:650; }
body.woocommerce .product-grid-item,
body .wd-products .product-grid-item { --haru-card-accent:#382b43; }
body .product-grid-item .wd-product-img-link,
body .product-grid-item .wd-product-img-hover { aspect-ratio:1; }
body .product-grid-item .wd-product-img-link img,
body .product-grid-item .wd-product-img-hover img { width:100%; height:100%; object-fit:contain; }
body .product-grid-item .product-element-bottom { text-align:center; }
body .product-grid-item .product-element-bottom > :is(.price,.wrap-price,.wd-add-btn,.wd-product-cats) { margin-inline:auto; justify-content:center; }
body .product-grid-item .wd-entities-title { min-width:0; width:100%; }
body .product-grid-item .wd-entities-title a { display:block; max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
body .product-grid-item .product-labels { inset-inline-start:10px; inset-inline-end:auto; inset-block-start:10px; }
body .product-grid-item .product-labels .onsale { border:1px solid var(--haru-card-accent,#382b43); background:var(--haru-card-accent,#382b43); color:#fff; }
body .product-grid-item .wd-add-btn a.button,
body .product-grid-item .wd-add-btn a.button:hover,
body .product-grid-item .wd-add-btn a.button:focus-visible { border:1px solid var(--haru-card-accent,#382b43); background:transparent; color:var(--haru-card-accent,#382b43); }
body .product-grid-item .wd-add-btn a.button:focus-visible { outline:2px solid currentColor; outline-offset:2px; }

/* Destination front page only */
body.page-id-13 .wd-content-layout:has(.haru-home) { padding-top:0; padding-inline:0; width:100%; max-width:none; }
body.page-id-13 .haru-home .hh-hero { height:max(570px,calc(100svh - 121px)); }
body.page-id-13 .haru-home .hh-hero-copy { top:17%; }
body.page-id-13 .haru-home .hh-products-heading { text-align:center; padding-block:clamp(32px,5vw,72px) 24px; }
body.page-id-13 .haru-home .wd-carousel-container { padding-inline:clamp(16px,2.5vw,40px); }
body.page-id-13 .haru-home .hh-editorial { min-height:155px; }
body.page-id-13 .haru-home .hh-line a:focus-visible,body.page-id-13 .haru-home .hh-gallery:focus-visible { outline:2px solid #382b43; outline-offset:-2px; }
body.page-id-13 .haru-home .hh-press .hh-slide { padding-block:32px 58px; }
body.page-id-13 .haru-home > .haru-scan { position:relative; isolation:isolate; }
body.page-id-13 .haru-home > .haru-scan::after {
  content:""; position:absolute; inset:0; pointer-events:none; z-index:1; opacity:0;
  background:linear-gradient(104deg,transparent 38%,rgba(255,255,255,.12) 50%,transparent 62%);
  background-size:300% 100%; background-position:100% 0;
}
@media (prefers-reduced-motion:no-preference) {
  body.page-id-13 .haru-home > .haru-scan.haru-scan-on::after { animation:haru-scan .95s ease-out; animation-iteration-count:1; }
  @keyframes haru-scan { 0% {opacity:0;background-position:100% 0} 35%{opacity:.55} 100%{opacity:0;background-position:0 0} }
}
@media (min-width:1025px) {
  .whb-general-header .whb-row-inner { display:grid; grid-template-columns:minmax(0,1fr) auto minmax(0,1fr); }
  .whb-general-header .whb-col-center { justify-content:center; }
  .whb-general-header .whb-col-right { justify-content:flex-end; }
}
@media (max-width:767px) {
  body.page-id-13 .haru-home .hh-hero { height:max(515px,calc(100svh - 105px)); }
  body.page-id-13 .haru-home .hh-hero-copy { top:7%; left:7%; width:86%; text-align:center; }
  body.page-id-13 .haru-home .hh-hero-copy h1,body.page-id-13 .haru-home .hh-hero-copy h2 { margin-inline:auto; }
  body.page-id-13 .haru-home .hh-hero-copy p:not(.hh-kicker) { max-width:28em; margin-inline:auto; }
  body.page-id-13 .haru-home .hh-nav { bottom:17px; }
  body.page-id-13 .haru-home .hh-line,body.page-id-13 .haru-home .hh-gallery {
    grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:70%; overflow-x:auto;
    scroll-snap-type:x mandatory; scrollbar-width:none; overscroll-behavior-inline:contain;
  }
  body.page-id-13 .haru-home .hh-line::-webkit-scrollbar,body.page-id-13 .haru-home .hh-gallery::-webkit-scrollbar { display:none; }
  body.page-id-13 .haru-home .hh-line > a,body.page-id-13 .haru-home .hh-gallery > img { scroll-snap-align:start; }
  body.page-id-13 .haru-home .hh-press > video { grid-row:1; }
}
@media (min-width:768px) {
  body.page-id-13 .haru-home .wd-carousel-container .wd-nav-arrows.wd-pos-sep .wd-prev {
    left:-18px; right:auto; transform:none;
  }
  body.page-id-13 .haru-home .wd-carousel-container .wd-nav-arrows.wd-pos-sep .wd-next {
    right:-18px; left:auto; transform:none;
  }
}
/* Only the top-level storefront drawer links, leaving submenu controls native. */
.mobile-nav .wd-nav-mobile > li > a { justify-content:center; text-align:center; }
@media (min-width:768px) {
  body.page-id-13 .haru-home .wd-carousel-container .wd-nav-arrows .wd-btn-arrow {
    z-index:5; opacity:1; visibility:visible; pointer-events:auto;
  }
  body.page-id-13 .haru-home .wd-carousel-container .wd-nav-arrows .wd-btn-arrow .wd-arrow-inner {
    opacity:1; visibility:visible; pointer-events:auto;
  }
  body.page-id-13 .haru-home .wd-carousel-container .wd-nav-arrows .wd-btn-arrow[aria-disabled="true"] {
    opacity:.35; pointer-events:none;
  }
}
