/* Scoped visual adaptation; native WooCommerce controls and event handlers remain intact. */
.htw-site-header .htw-site-header__panel { background:#fff; color:#171717; border-color:#ddd; font-family:Arial,sans-serif; }
.htw-site-header .htw-site-header__search { padding:24px 5%; }
.htw-site-header .htw-site-header__search input[type=search] { min-height:48px; border:1px solid #aaa; border-radius:0; box-shadow:none; background:#fff; color:#171717; }
.htw-site-header .htw-site-header__mini-cart { width:min(440px,calc(100vw - 32px)); max-height:calc(100vh - 100px); overflow-y:auto; padding:24px; }
.htw-site-header .htw-site-header__mini-cart .woocommerce-mini-cart-item { display:flex; align-items:flex-start; gap:12px; min-width:0; }
.htw-site-header .htw-site-header__mini-cart .woocommerce-mini-cart-item a { overflow-wrap:anywhere; }
.htw-site-header .htw-site-header__mini-cart .woocommerce-mini-cart-item img { max-width:76px; height:auto; object-fit:contain; background:#f3f3f3; }
.htw-site-header .htw-site-header__mini-cart .button, .single-product .single_add_to_cart_button, .mfp-content .single_add_to_cart_button { background:#1d2529; color:#fff; border-color:#1d2529; border-radius:0; }
.htw-site-header .htw-site-header__mini-cart .button:hover,.single-product .single_add_to_cart_button:hover,.mfp-content .single_add_to_cart_button:hover { background:#35434a; color:#fff; }
.single-product .product-info .product-title,.mfp-content .product-title { color:#171717; letter-spacing:0; }
.single-product .product-info .price,.mfp-content .product-info .price { color:#171717; }
.single-product .product-info select,.mfp-content .product-info select { min-height:44px; border:1px solid #aaa; background-color:#fff; color:#171717; }
.single-product .product-gallery img,.mfp-content .product-gallery img { background:#f3f3f3; }
.oofos-size-guide { margin:14px 0 22px; }
.oofos-size-guide__open { appearance:none; padding:0; border:0; background:transparent; color:#1d2529; text-decoration:underline; text-underline-offset:3px; font:600 14px Arial,sans-serif; cursor:pointer; }
.oofos-size-guide__dialog { position:fixed; margin:auto; width:min(540px,calc(100vw - 32px)); max-width:none; max-height:min(80vh,720px); overflow:auto; padding:0; border:0; background:#fff; color:#161616; box-shadow:0 10px 45px #0005; }
.oofos-size-guide__dialog::backdrop { background:#0009; }
.oofos-size-guide__content { padding:28px; font-family:Arial,sans-serif; }
.oofos-size-guide__top { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:18px; }
.oofos-size-guide__top h2 { color:#171717; margin:0; font-size:25px; }
.oofos-size-guide__close { border:0; padding:2px 8px; background:transparent; color:#171717; font-size:30px; line-height:1; cursor:pointer; }
.oofos-size-guide :focus-visible,.htw-site-header__panel :focus-visible { outline:2px solid #32649e; outline-offset:3px; }
html.oofos-dialog-open { overflow:hidden; }
@media(max-width:600px){.oofos-size-guide__content{padding:20px}.htw-site-header .htw-site-header__mini-cart{right:16px;max-height:calc(100vh - 80px)}}
/* The target theme sets purchase button colors with !important. */
.single-product .single_add_to_cart_button.button,.mfp-content .single_add_to_cart_button.button { background:#1d2529!important; color:#fff!important; border-color:#1d2529!important; }
.single-product .single_add_to_cart_button.button:hover,.mfp-content .single_add_to_cart_button.button:hover { background:#35434a!important; color:#fff!important; }
