/* Preserve the theme's WooCommerce form and mini-cart markup; style only these integrations. */
.htw-site-header .htw-site-header__mini-cart:not([hidden]){display:flex!important;flex-direction:column;right:0;top:0;width:468px;max-width:calc(100vw - 20px);height:100dvh;padding:0!important;overflow:hidden!important;background:#fff!important;color:#111!important;box-shadow:0 0 0 100vmax rgba(0,0,0,.5)!important}
.htw-site-header__mini-cart .store-panel-heading{flex:0 0 auto;display:flex;gap:16px;align-items:center;padding:20px 24px 12px;margin:0;border-bottom:1px solid #e5e5e5;font:500 24px/1.2 Arial,sans-serif;letter-spacing:-1px}
.htw-site-header__mini-cart .store-panel-heading>span{margin-right:auto}.htw-site-header__mini-cart .store-panel-view-cart{font-size:14px;letter-spacing:0;text-decoration:underline;white-space:nowrap}.htw-site-header .store-panel-close{border:1px solid #111!important;border-radius:50%;width:40px;min-width:40px;height:40px;min-height:40px;font-size:25px!important;color:#111!important;background:#fff!important}.htw-site-header .store-panel-close:hover{background:#111!important;color:#fff!important}
.htw-site-header__mini-cart .widget_shopping_cart_content{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}.htw-site-header__mini-cart .ux-mini-cart-empty{flex:1 1 auto;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:24px;text-align:center}.htw-site-header__mini-cart .ux-mini-cart-empty-icon{display:none}.htw-site-header__mini-cart .store-cart-empty-heading{font:600 21px/1.2 Arial,sans-serif;color:#111;margin:0 0 14px}.htw-site-header__mini-cart .woocommerce-mini-cart__empty-message{color:#111;margin:0 0 24px}.htw-site-header__mini-cart .return-to-shop{margin:0}.htw-site-header__mini-cart .return-to-shop .button,.woocommerce-cart .return-to-shop .button{background:#000!important;color:#fff!important;border:0;border-radius:24px;padding:0 30px;min-height:42px;line-height:42px}
.htw-site-header__mini-cart .woocommerce-mini-cart{flex:1 1 auto;min-height:0;max-height:none!important;overflow-y:auto;margin:0;padding:0 24px}.htw-site-header__mini-cart .woocommerce-mini-cart-item{min-height:100px;padding:20px 28px 20px 0;border-bottom:1px solid #e5e5e5;overflow-wrap:anywhere}.htw-site-header__mini-cart .woocommerce-mini-cart-item img{width:80px;height:80px;object-fit:contain}.htw-site-header__mini-cart .ux-mini-cart-footer{flex:0 0 auto;padding:16px 24px 24px;margin:0!important;border-top:1px solid #ddd;max-width:100%;overflow-wrap:anywhere}.htw-site-header__mini-cart .woocommerce-mini-cart__total{margin:0 0 16px!important;display:flex;justify-content:space-between;gap:16px;color:#111}.htw-site-header__mini-cart .woocommerce-mini-cart__buttons{margin:0}.htw-site-header__mini-cart .woocommerce-mini-cart__buttons .button{border-radius:24px;color:#fff!important;background:#000!important}
/* Search stays connected to the native Flatsome live search and its WooCommerce form. */
body:has(.htw-site-header.is-ready .htw-site-header__search:not([hidden])) .htw-site-header{position:fixed!important;top:0!important;left:0;right:0;background:#fff!important;color:#111!important;--htw-header-bg:#fff!important;--htw-header-fg:#111!important;z-index:99998}
body.home:has(.htw-site-header.is-ready .htw-site-header__search:not([hidden])) .htw-site-header__logo img{filter:none!important}
.htw-site-header .htw-site-header__search:not([hidden]){position:fixed!important;left:0;right:0;top:68px!important;height:calc(100dvh - 68px);max-height:calc(100dvh - 68px);overflow-y:auto;padding:60px max(40px,calc((100vw - 1160px)/2))!important;box-shadow:none!important;background:#fff!important;color:#111!important}
.htw-site-header__search .store-panel-heading{font:400 24px/1.3 Arial,sans-serif;margin:0 0 26px;color:#111}.htw-site-header__search .store-panel-close{position:fixed;top:85px;right:40px;z-index:3}
.htw-site-header__search .searchform{position:relative;max-width:100%;margin:0}.htw-site-header__search input.search-field{height:44px;border:1px solid #d9d9d9;border-radius:24px;padding:8px 48px 8px 18px;background:#fff;font-size:16px;color:#111;box-shadow:none}.htw-site-header__search .ux-search-submit{height:42px;min-width:42px;border-radius:50%;background:#000!important;color:#fff!important;margin:0!important}
.htw-site-header__search .live-search-results{position:relative!important;max-height:none!important;overflow:visible!important}.htw-site-header__search .autocomplete-suggestions{position:relative!important;top:auto!important;left:auto!important;width:100%!important;max-height:none!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;box-shadow:none!important;border:0!important;margin-top:36px}.htw-site-header__search .autocomplete-suggestion{white-space:normal!important;display:flex;flex-direction:column;align-items:stretch;gap:5px;padding:0!important;border:0!important;color:#111}.htw-site-header__search .autocomplete-suggestion .search-image{float:none!important;width:100%!important;height:auto!important;aspect-ratio:1;object-fit:contain;background:#f7f2ef;margin:0 0 8px!important}.htw-site-header__search .autocomplete-suggestion .search-name{font-size:15px;line-height:1.35;overflow-wrap:anywhere}.htw-site-header__search .autocomplete-suggestion .search-price{font-size:14px;color:#111}
.store-panel-products{margin-top:60px}.store-panel-products[hidden]{display:none!important}.store-panel-products h2{font:700 40px/1.1 Arial,sans-serif;letter-spacing:-.04em;color:#111;margin:0 0 20px}.store-panel-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.store-panel-product{display:flex;flex-direction:column;gap:6px;color:#111!important;text-decoration:none;min-width:0}.store-panel-product img{width:100%;aspect-ratio:1;object-fit:contain;background:#f7f2ef}.store-panel-product-name{font-weight:600;font-size:15px;line-height:1.35;overflow-wrap:anywhere}.store-panel-product-price{font-size:14px;color:#111}
.woocommerce-cart .wc-empty-cart-message .woocommerce-info{background:transparent;border:0;box-shadow:none;color:#111;margin:0;padding:0}.woocommerce-cart .wc-empty-cart-message .message-container{font:600 21px/1.2 Arial,sans-serif;color:#111}.woocommerce-cart .store-cart-empty-note{font-size:16px;color:#111;margin:14px 0 24px}.woocommerce-cart .cart-container .woocommerce>.text-center{padding:80px 20px}.woocommerce-cart .cart-container th,.woocommerce-cart .cart-container td{border-color:#e5e5e5;color:#111}.woocommerce-cart .cart-container input.qty{border:1px solid #bcbcbc;background:#fff;color:#111}.woocommerce-cart .cart_totals{background:#f7f2ef;overflow-wrap:anywhere}
@media(max-width:767px){.htw-site-header .htw-site-header__search:not([hidden]){padding:42px 16px 30px!important}.htw-site-header__search .store-panel-heading{font-size:22px;padding-right:42px}.htw-site-header__search .store-panel-close{top:80px;right:16px}.htw-site-header__search .autocomplete-suggestions,.store-panel-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.store-panel-products h2{font-size:24px}.htw-site-header__mini-cart .store-panel-heading{padding:16px 20px 12px}.htw-site-header__mini-cart .woocommerce-mini-cart{padding:0 20px}.htw-site-header__mini-cart .ux-mini-cart-footer{padding:12px 20px 20px}.woocommerce-cart .cart-container .woocommerce>.text-center{padding:65px 16px}}
.htw-site-header__mini-cart .woocommerce-mini-cart-item .ux-mini-cart-qty{margin-right:0!important;max-width:100%;min-width:0;flex-wrap:wrap}
.htw-site-header__mini-cart .woocommerce-mini-cart-item{position:relative;padding-left:96px!important;padding-right:30px!important}.htw-site-header__mini-cart .woocommerce-mini-cart-item>a:not(.remove){display:block;white-space:normal;overflow-wrap:anywhere;line-height:1.35}.htw-site-header__mini-cart .woocommerce-mini-cart-item img{position:absolute;left:0;top:20px}
.woocommerce-cart .store-footer h2{color:#fff}
/* Home header is 84px/85px high, matching the reference. */
body.home:has(.htw-site-header.is-ready .htw-site-header__search:not([hidden])) .htw-site-header__search:not([hidden]){top:84px!important;height:calc(100dvh - 84px);max-height:calc(100dvh - 84px)}
body.home:has(.htw-site-header.is-ready .htw-site-header__search:not([hidden])) .htw-site-header__search .store-panel-close{top:100px!important}
@media(max-width:1100px){body.home:has(.htw-site-header.is-ready .htw-site-header__search:not([hidden])) .htw-site-header__search:not([hidden]){top:85px!important;height:calc(100dvh - 85px);max-height:calc(100dvh - 85px)}}
/* If enhancement fails, retain usable navigation, search and cart links. */
html.js .htw-site-header.is-fallback:not(.is-ready),html.no-js .htw-site-header:not(.is-ready){background:#fff!important;color:#111!important;--htw-header-bg:#fff!important;--htw-header-fg:#111!important}
html.js .htw-site-header.is-fallback:not(.is-ready) .htw-site-header__logo img,html.no-js .htw-site-header:not(.is-ready) .htw-site-header__logo img{filter:none!important}
html.js .htw-site-header.is-fallback:not(.is-ready) .htw-site-header__search,html.no-js .htw-site-header:not(.is-ready) .htw-site-header__search{display:block!important;position:static!important;height:auto!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;padding:16px!important;background:#fff!important;color:#111!important}
html.js .htw-site-header.is-fallback:not(.is-ready) .htw-site-header__mini-cart,html.no-js .htw-site-header:not(.is-ready) .htw-site-header__mini-cart{display:none!important}
html.js .htw-site-header.is-fallback:not(.is-ready) .htw-site-header__cart-link,html.no-js .htw-site-header:not(.is-ready) .htw-site-header__cart-link{position:static!important;width:auto!important;height:auto!important;clip:auto!important;overflow:visible!important}
@media(max-width:1100px){html.js .htw-site-header.is-fallback:not(.is-ready) .htw-site-header__mobile-nav,html.no-js .htw-site-header:not(.is-ready) .htw-site-header__mobile-nav{display:block!important;position:static!important;max-height:none!important;overflow:visible!important;background:#fff!important;color:#111!important}html.js .htw-site-header.is-fallback:not(.is-ready) .htw-site-header__mobile-nav .sub-menu,html.no-js .htw-site-header:not(.is-ready) .htw-site-header__mobile-nav .sub-menu{display:block!important;position:static!important;box-shadow:none!important;background:#fff!important;color:#111!important}}
/* Keep search results aligned when a catalog item has no featured image. */
.htw-site-header__search .autocomplete-suggestion:not(:has(>.search-image))::before{content:'';display:block;width:100%;aspect-ratio:1;background:#f7f2ef;margin:0 0 8px}
.htw-site-header__search .autocomplete-suggestion .search-image,.htw-site-header__search .store-panel-product img{border-radius:0!important}
