.alpani-mobile-shop { display: none; }
.alpani-floating-request { display:none; }
.alpani-cart-empty:not(.alpani-store-page) .whb-header .wd-header-cart { display:none!important; }
.whb-header .btn { height:40px; min-height:40px!important; padding-top:0!important; padding-bottom:0!important; display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; }
.whb-header div.wd-header-secondary-nav .wd-dropdown-menu .wpml-ls-link { height:40px; min-height:40px; display:flex; align-items:center; padding:0 12px; box-sizing:border-box; }
.whb-header div.wd-header-secondary-nav:has(.wpml-ls-link) { margin-right:0; flex:0 0 auto; }
.whb-header .wd-tools-element>a { height:40px; }
.alpani-ux-form label { display:block; margin-bottom:6px; font-weight:500; }
.alpani-ux-form .form-group { min-width:0; }
.alpani-ux-form .form-hint { font-size:13px; margin:8px 0 16px; }
.alpani-ux-form .form-acceptance label { display:inline; font-weight:400; }
.alpani-ux-form .form-row { gap:16px; }
.alpani-ux-form :is(input,select,textarea) { max-width:100%; }
:is(a,button,input,select,textarea):focus-visible { outline:3px solid #376444; outline-offset:3px; }
.alpani-price-table { width:100%; border-collapse:collapse; }
.alpani-price-table td { padding:14px 8px; border-bottom:1px solid #ececec; vertical-align:top; }
.alpani-price-table td:last-child { white-space:nowrap; text-align:right; font-weight:600; }
.alpani-results-summary { font-size:14px; margin-bottom:14px; }
/* Keep a parent visible if it contains any matching descendants. */
.wpc-term-item.wpc-term-count-0:not(:has(.wpc-term-item:not(.wpc-term-count-0))) { display:none!important; }
@media(max-width:1024px) {
 body { padding-bottom:calc(var(--alpani-stage-banner-height,0px) + 64px + env(safe-area-inset-bottom)); }
 .alpani-floating-request { position:fixed; right:62px; bottom:calc(12px + var(--alpani-stage-banner-height,0px) + env(safe-area-inset-bottom)); z-index:350; display:flex; align-items:center; justify-content:center; gap:8px; min-width:40px; height:40px; border-radius:24px; background:rgba(255,255,255,.9); box-shadow:0 0 5px rgba(0,0,0,.17); color:var(--color-gray-800); padding:0 14px; font-size:13px; line-height:1; white-space:nowrap; }
 html body .scrollToTop { bottom:calc(12px + var(--alpani-stage-banner-height,0px) + env(safe-area-inset-bottom))!important; }
 .wd-search-opened .alpani-floating-request { display:none; }
 .alpani-mobile-shop { display:block; }
 .whb-header .whb-mobile-center a.btn.alpani-mobile-shop { min-height:40px; padding:0 13px!important; border-radius:24px; background-color:#45634f!important; background-image:none!important; color:#fff!important; border-color:#45634f!important; font-size:13px!important; line-height:20px; white-space:nowrap; }
 .whb-mobile-center:has(.alpani-mobile-shop) { justify-content:center; flex:1; min-width:0; }
 .whb-mobile-left:has(+ .whb-mobile-center .alpani-mobile-shop) { flex:0 0 auto; }
 .whb-mobile-right { flex:0 0 auto; }
}
@media(max-width:767px) {
 .single-product .woocommerce-product-gallery .woocommerce-product-gallery__image img { max-height:280px; width:100%; object-fit:contain; }
 .single-product .woocommerce-product-gallery .wd-carousel-item img { max-height:280px; object-fit:contain; }
 .single-product .woocommerce-product-gallery .wd-thumbs .wd-carousel-item img { height:54px!important; max-height:54px!important; object-fit:contain; }
 .single-product .woocommerce-product-gallery .wd-thumbs .wd-carousel-wrap { height:54px!important; align-items:center; }
 .alpani-ux-form .form-row { display:block; }
 .alpani-ux-form .form-group { margin-bottom:12px; width:100%; }
 .alpani-price-table td { font-size:14px; padding:12px 4px; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
/* The catalog's stored header CSS includes an empty top row and 70px sticky rows. */
:root:has(.whb-header .whb-header-bottom) {
 --wd-top-bar-h:0px;
 --wd-header-h:90px;
 --wd-header-sm-h:60px;
 --wd-header-sticky-h:60px;
 --wd-header-general-sticky-h:0px;
 --wd-header-bottom-sticky-h:60px;
}
.whb-header .whb-header-bottom { background:#fff!important; }
@media(max-width:1024px) {
 :root:has(.whb-header .whb-header-bottom) {
  --wd-header-general-sticky-h:60px;
  --wd-header-bottom-sticky-h:0px;
 }
}
