/* Target-native storefront adaptations. Existing WooCommerce forms and hooks remain intact. */
.single-product .sf-pdp{color:#263136}
.single-product .sf-pdp__gallery,.single-product .sf-pdp__gallery .product-images,.single-product .sf-pdp__gallery .woocommerce-product-gallery{background:#f7f4ed}
.single-product .sf-pdp__summary>.product_title{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:0;line-height:1.12;color:#273237}
.single-product .sf-pdp__summary .price,.single-product .sf-pdp__summary .woocommerce-variation-price .price{font-family:Arial,sans-serif;letter-spacing:0}
.single-product .sf-pdp__summary .price ins,.product-quick-view-container .price ins{color:#e60023;text-decoration:none}
.single-product .sf-pdp__summary form.cart .single_add_to_cart_button,.single-product .sf-pdp__sticky-button,.product-quick-view-container form.cart .single_add_to_cart_button{background:#2e383d!important;border-color:#2e383d!important;color:#fff!important;border-radius:3px;letter-spacing:.02em;box-shadow:none}
.single-product .sf-pdp__summary form.cart .single_add_to_cart_button:hover,.single-product .sf-pdp__sticky-button:hover,.product-quick-view-container form.cart .single_add_to_cart_button:hover{background:#45545a!important;border-color:#45545a!important;color:#fff!important}
.single-product .sf-pdp__summary .sf-pdp__dropdown-trigger,.single-product .sf-pdp__summary form.cart select,.product-quick-view-container form.cart select{border:1px solid #b6aca4;border-radius:3px;background-color:#fff;color:#263136}
.single-product .sf-pdp__accordions .sf-pdp__accordion{border-color:#d9d0c8}
.single-product .sf-pdp__accordions .sf-pdp__accordion summary{font-family:Georgia,'Times New Roman',serif;color:#263136}
.single-product .sf-pdp :focus-visible,.product-quick-view-container :focus-visible{outline:2px solid #a96e4b;outline-offset:3px}
.andar-header__panel--search,.andar-header__panel--cart{background:#f8f7f3;color:#263136}
.andar-header__panel--search .searchform input[type=search]{border-color:#aa9c90;border-radius:3px;box-shadow:none}
.andar-header__panel--search .searchform button[type=submit],.andar-header__panel--search .searchform input[type=submit],.andar-header__panel--cart .button{background:#2e383d!important;color:#fff!important;border-color:#2e383d!important;border-radius:3px}
.andar-header__panel--cart .woocommerce-mini-cart-item{position:relative;min-width:0;overflow-wrap:anywhere}
.andar-header__panel--cart .woocommerce-mini-cart-item .ux-mini-cart-qty{margin-right:0}
.andar-header__panel--cart .woocommerce-mini-cart-item img{object-fit:contain;background:#f7f4ed}
.andar-header__panel--cart .widget_shopping_cart_content{min-width:0;overflow:auto;max-height:calc(100dvh - 145px)}
.product-quick-view-container{color:#263136;background:#faf9f6}
.product-quick-view-container .product-title,.product-quick-view-container h1{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:0;color:#263136}
.product-quick-view-container .product-gallery{background:#f7f4ed}
.andar-size-guide{grid-column:1/-1;margin:2px 0 18px;font-family:Arial,sans-serif;color:#263136}
.andar-size-guide .andar-size-guide__trigger,.andar-size-guide .andar-size-guide__fallback summary{padding:5px 0;border:0;background:none;color:#263136;text-decoration:underline;text-underline-offset:3px;font:500 14px/1.4 Arial,sans-serif;cursor:pointer}
.andar-size-guide .andar-size-guide__trigger:focus-visible,.andar-size-guide .andar-size-guide__close:focus-visible,.andar-size-guide summary:focus-visible{outline:2px solid #a96e4b;outline-offset:3px}
.andar-size-guide .andar-size-guide__dialog{width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:28px;border:0;border-radius:4px;background:#faf9f6;color:#263136;box-shadow:0 16px 50px #0004}
.andar-size-guide .andar-size-guide__dialog::backdrop{background:#1d2428a8}
.andar-size-guide .andar-size-guide__head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}
.andar-size-guide .andar-size-guide__head h2{margin:0;font:400 28px/1.2 Georgia,'Times New Roman',serif;color:#263136}
.andar-size-guide .andar-size-guide__close{min-width:40px;min-height:40px;padding:0;border:0;background:none;color:#263136;font:400 28px/1 Arial,sans-serif;cursor:pointer}
.andar-size-guide .andar-size-guide__section{border-top:1px solid #d7cdc4;border-bottom:1px solid #d7cdc4}
.andar-size-guide .andar-size-guide__section summary{padding:16px 0;font:600 14px/1.4 Arial,sans-serif;cursor:pointer}
.andar-size-guide .andar-size-guide__content{padding:0 0 14px;font:400 14px/1.6 Arial,sans-serif}
.andar-size-guide .andar-size-guide__content p{margin:0 0 8px}
@media(max-width:849px){.single-product .sf-pdp__summary>.product_title{font-size:30px}.product-quick-view-container .product-lightbox-inner{padding:24px!important}.andar-header__panel--cart .widget_shopping_cart_content{max-height:calc(100dvh - 145px)}.andar-size-guide .andar-size-guide__dialog{padding:22px}}
/* A variable range is red only when every displayed variation has a real discount. */
.single-product.andar-range-all-discounted .sf-pdp__summary .price-on-sale > .woocommerce-Price-amount{color:#e60023}
/* Keep the existing mobile filter controls and all their options reachable without pushing the product grid far below the viewport. */
@media (max-width: 849px) {
  .woocommerce-page #shop-sidebar {
    max-height: min(55vh, 420px);
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }
}
