/* Existing WooCommerce content and actions remain responsible for the data. */
.tw-cart-panel,.tw-search-panel,.htw-site-header__mini-cart,.htw-site-header__search,.product-quick-view-container,.single-product .product-main {font-family:Roboto,Arial,sans-serif;color:#1d1d1d}
.tw-cart-panel,.htw-site-header__mini-cart {box-sizing:border-box;max-width:100%;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
.tw-cart-panel *, .htw-site-header__mini-cart * {box-sizing:border-box}
.tw-cart-panel .widget_shopping_cart_content,.htw-site-header__mini-cart .widget_shopping_cart_content {min-width:0;max-width:100%}
.tw-cart-panel ul.product_list_widget,.htw-site-header__mini-cart ul.product_list_widget {list-style:none;margin:0;padding:0}
.tw-cart-panel ul.product_list_widget li,.htw-site-header__mini-cart ul.product_list_widget li {position:relative;display:block;min-width:0;min-height:112px;margin:0;padding:0 0 20px 104px;border-bottom:1px solid #dadada;overflow:visible}
.tw-cart-panel ul.product_list_widget li img,.htw-site-header__mini-cart ul.product_list_widget li img {position:absolute;top:0;left:0;float:none;width:88px;height:100px;margin:0;object-fit:cover;background:#f5f2ed}
.tw-cart-panel ul.product_list_widget li a:not(.remove),.htw-site-header__mini-cart ul.product_list_widget li a:not(.remove) {display:block;min-width:0;padding-right:36px;color:#1d1d1d;font-weight:700;line-height:1.35;white-space:normal;overflow:visible;text-overflow:clip;-webkit-line-clamp:unset;overflow-wrap:anywhere;word-break:normal}
.tw-cart-panel ul.product_list_widget li a.remove,.htw-site-header__mini-cart ul.product_list_widget li a.remove {position:absolute;inset:0 0 auto auto;display:grid;place-items:center;width:32px;height:32px;min-width:32px;padding:0;color:#1d1d1d;border:0}
.tw-cart-panel .variation,.htw-site-header__mini-cart .variation,.tw-cart-panel .quantity,.htw-site-header__mini-cart .quantity,.tw-cart-panel .product-subtotal,.htw-site-header__mini-cart .product-subtotal {min-width:0;max-width:100%;white-space:normal;overflow:visible;overflow-wrap:anywhere;word-break:normal}
.tw-cart-panel .variation dt,.tw-cart-panel .variation dd,.htw-site-header__mini-cart .variation dt,.htw-site-header__mini-cart .variation dd {float:none;display:inline;white-space:normal;overflow-wrap:anywhere}
.tw-cart-panel .ux-mini-cart-qty,.htw-site-header__mini-cart .ux-mini-cart-qty {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;min-width:0}
.tw-cart-panel .quantity.buttons_added,.htw-site-header__mini-cart .quantity.buttons_added {display:inline-flex;flex:none;max-width:100%;margin:0;border:1px solid #1d1d1d;overflow:visible}
.tw-cart-panel .quantity.buttons_added input,.htw-site-header__mini-cart .quantity.buttons_added input {box-sizing:border-box;width:36px;min-width:36px;height:40px;min-height:40px;margin:0;padding:0;border:0;border-radius:0;background:#fff;color:#1d1d1d;text-align:center}
.tw-cart-panel .quantity.buttons_added input.qty,.htw-site-header__mini-cart .quantity.buttons_added input.qty {width:42px;min-width:42px;border-right:1px solid #d5d5d5;border-left:1px solid #d5d5d5}
.tw-cart-panel .woocommerce-mini-cart__total,.htw-site-header__mini-cart .woocommerce-mini-cart__total {display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 16px;min-width:0;white-space:normal;overflow-wrap:anywhere}
.tw-cart-panel .woocommerce-mini-cart__buttons,.htw-site-header__mini-cart .woocommerce-mini-cart__buttons {display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.tw-cart-panel .woocommerce-mini-cart__buttons a.button,.htw-site-header__mini-cart .woocommerce-mini-cart__buttons a.button {display:flex;align-items:center;justify-content:center;width:100%;min-height:48px;height:auto;margin:0;padding:12px 16px;border:1px solid #1d1d1d;border-radius:0;background:#fff;color:#1d1d1d;font:700 14px/1.3 Roboto,Arial,sans-serif;white-space:normal;overflow-wrap:anywhere;text-align:center}
.tw-cart-panel .woocommerce-mini-cart__buttons a.checkout,.htw-site-header__mini-cart .woocommerce-mini-cart__buttons a.checkout {background:#1d1d1d!important;color:#fff!important}
.tw-search-panel input.search-field,.htw-site-header__search input.search-field {min-width:0;color:#1d1d1d;background:#fff;border:1px solid #1d1d1d;border-radius:0;box-shadow:none}
.tw-search-panel .autocomplete-suggestions,.htw-site-header__search .autocomplete-suggestions {max-width:100%;white-space:normal;overflow-wrap:anywhere}
.single-product .product-info .product-title,.product-quick-view-container h1 {color:#1d1d1d;font-family:Roboto,Arial,sans-serif;font-weight:700;line-height:1.15;text-transform:uppercase;overflow-wrap:anywhere}
.single-product .product-info .price,.product-quick-view-container .price {color:#1d1d1d;white-space:normal;overflow-wrap:anywhere}
.single-product .product-info form.cart .single_add_to_cart_button,.product-quick-view-container form.cart .single_add_to_cart_button {height:auto;min-height:52px;padding:12px 20px;border:1px solid #1d1d1d;border-radius:0;background:#1d1d1d!important;color:#fff!important;font:700 15px/1.3 Roboto,Arial,sans-serif;letter-spacing:.02em;white-space:normal;overflow-wrap:anywhere}
.single-product .product-info form.cart select,.product-quick-view-container form.cart select {max-width:100%;min-height:44px;border:1px solid #777;border-radius:0;color:#1d1d1d;background-color:#fff}
.product-quick-view-container .product-gallery {background:#f5f2ed}
.woocommerce-cart .shop_table .product-name,.woocommerce-cart .shop_table .product-price,.woocommerce-cart .shop_table .product-quantity,.woocommerce-cart .shop_table .product-subtotal,.woocommerce-cart .cart_totals th,.woocommerce-cart .cart_totals td {min-width:0;white-space:normal;overflow:visible;overflow-wrap:anywhere;word-break:normal}
.woocommerce-cart .shop_table .variation dt,.woocommerce-cart .shop_table .variation dd {float:none;display:inline;white-space:normal;overflow-wrap:anywhere}
.woocommerce-cart .cart_totals .checkout-button,.woocommerce-cart .shop_table .button {height:auto;white-space:normal;overflow-wrap:anywhere;line-height:1.3}
@media(max-width:549px){
 .woocommerce-cart table.shop_table.woocommerce-cart-form__contents tr.cart_item {grid-template-areas:'remove photo name' 'remove photo price' 'remove photo quantity' 'remove photo subtotal';grid-template-columns:24px 70px minmax(0,1fr);row-gap:8px}
 .woocommerce-cart table.shop_table.woocommerce-cart-form__contents tr.cart_item .product-price {display:block;grid-area:price;text-align:left}
 .woocommerce-cart table.shop_table.woocommerce-cart-form__contents tr.cart_item .product-subtotal {display:block;grid-area:subtotal;text-align:left}
 .woocommerce-cart table.shop_table.woocommerce-cart-form__contents tr.cart_item .product-quantity {display:block;grid-area:quantity}
 .tw-cart-panel ul.product_list_widget li,.htw-site-header__mini-cart ul.product_list_widget li {padding-left:84px;min-height:100px}
 .tw-cart-panel ul.product_list_widget li img,.htw-site-header__mini-cart ul.product_list_widget li img {width:72px;height:88px}
}

/* Scope to the TRUEWERK header's target-native overlays. Preserve WooCommerce actions. */
.tw-header .tw-search-panel form button[type="submit"],
.tw-header .tw-cart-panel .return-to-shop .button {
  background: #1d1d1d !important;
  border-color: #1d1d1d !important;
  color: #fff !important;
}
.tw-header .tw-search-panel form button[type="submit"] svg { fill: currentColor; }
.tw-header .tw-search-panel form button[type="submit"]:hover,
.tw-header .tw-cart-panel .return-to-shop .button:hover { background: #444 !important; border-color: #444 !important; color: #fff !important; }
.tw-header .tw-search-panel form button[type="submit"]:focus-visible,
.tw-header .tw-cart-panel .return-to-shop .button:focus-visible { outline: 2px solid #1d1d1d; outline-offset: 3px; }

/* The selected header already provides these three controls. Limit the
   duplicate-bar removal to the cloned home page, preserving the existing
   bottom navigation and its sticky-cart offsets on other pages. */
@media (max-width: 767px) {
  body.home.htw-header-slot-truewerk .htw-mobile-bottom-nav { display: none; }
  body.home.htw-header-slot-truewerk.htw-has-mobile-bottom-nav { padding-bottom: 0; }
  body.home.htw-header-slot-truewerk.htw-has-mobile-bottom-nav #top-link { bottom: 12px; }
}
