/* Scoped WooCommerce controls. */
.single-product .storefront-select-enhanced {position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;}
.single-product .storefront-options {display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 12px}
.single-product .storefront-option {min-height:40px;margin:0;padding:8px 14px;border:1px solid #aeb4bb;background:#fff;color:#20252b;line-height:1.3;text-transform:none;letter-spacing:normal}
.single-product .storefront-option[aria-pressed="true"] {border:2px solid #ed7824;background:#fff;color:#172c48}
.single-product .storefront-option:disabled {opacity:.4;cursor:not-allowed}
.single-product .storefront-option:focus-visible,.single-product .storefront-buy-now:focus-visible {outline:3px solid #2282ce;outline-offset:2px}
.single-product form.cart .storefront-buy-now {margin:8px 0 0 8px;background:#173a62;color:#fff;border:1px solid #173a62;min-height:44px}
.single-product .product_meta .tagged_as {display:none}
[data-wpfcu-drawer] .wpfcu-item-main,[data-wpfcu-page] .product-name {min-width:0;overflow-wrap:anywhere;word-break:normal}
[data-wpfcu-drawer] .wpfcu-item-main a,[data-wpfcu-page] .product-name a {white-space:normal;overflow:visible;text-overflow:clip}
@media(max-width:549px){.single-product form.cart .storefront-buy-now{margin-left:0;width:100%}}

.single-product .product-info .product-title {color:#112e50;text-transform:uppercase;font-weight:700}
.single-product .product-info .price {color:#112e50;font-weight:700}
.single-product .product-info .star-rating {color:#ec7725}
.single-product .variations {background:#f4f4f4;padding:14px}
.single-product .variations td,.single-product .variations th {border:0}

.single-product .storefront-buy-now[hidden] {display:none!important}
.single-product .sf-pdp__variant-option[aria-pressed="true"] {border-color:#ed7824!important}

body.woocommerce-cart .checkout-page-title, body.woocommerce-checkout .checkout-page-title {display:none!important}

/* Native card: the sale badge owns a row ahead of the photograph. */
.wgm-native-card .wgm-native-card__badge-area {position:static;inset:auto;display:flex;min-height:32px;padding:0 0 6px;background:transparent;align-items:flex-start}
/* The desktop quick-view links become visible with the card's hover or keyboard focus. */
@media (hover:hover) and (pointer:fine) {
 .wgm-native-card .wgm-native-card__actions a.quick-view {opacity:0!important;pointer-events:none;transition:opacity .18s ease}
 .wgm-native-card:hover .wgm-native-card__actions a.quick-view,
 .wgm-native-card:focus-within .wgm-native-card__actions a.quick-view {opacity:1!important;pointer-events:auto}
}
/* Native touch add/choose-options controls remain available in the card's info area. */
@media (hover:none) and (pointer:coarse) {
 .wgm-native-card .wgm-native-card__actions a.quick-view {display:none!important}
}
@media (prefers-reduced-motion:reduce) {.wgm-native-card .wgm-native-card__actions a.quick-view{transition:none}}
/* Names in both Woo cart surfaces remain readable, including very long words. */
[data-wpfcu-drawer] .wpfcu-item-name,[data-wpfcu-drawer] .wpfcu-item-name a,
[data-wpfcu-page] td.product-name,[data-wpfcu-page] td.product-name a {white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;word-break:normal;-webkit-line-clamp:unset}

.single-product form.cart .ux-buy-now-button {min-height:44px}

/* Quick View uses the same enhanced native select as the product page. */
.product-quick-view-container .storefront-select-enhanced {position:absolute!important;width:1px!important;height:1px!important;min-height:0!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.product-quick-view-container .storefront-options {display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 12px}
.product-quick-view-container .storefront-option {min-height:40px;margin:0;padding:8px 14px;border:1px solid #aeb4bb;background:#fff;color:#20252b;line-height:1.3;text-transform:none;letter-spacing:normal}
.product-quick-view-container .storefront-option[aria-pressed="true"] {border:2px solid #ed7824;background:#fff;color:#172c48}
.product-quick-view-container .storefront-option:disabled {opacity:.4;cursor:not-allowed}
.product-quick-view-container .storefront-option:focus-visible {outline:3px solid #2282ce;outline-offset:2px}

.single-product .storefront-options--scroll,.product-quick-view-container .storefront-options--scroll {max-height:240px;max-width:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;padding:4px}

/* Current WooCommerce prices in product cards, product pages and quick view. */
.product-small .price> .woocommerce-Price-amount,
.product-small .price ins .woocommerce-Price-amount,
.ams-bestsellers .ams-variation-grid .col-inner .price> .woocommerce-Price-amount,
.ams-bestsellers .ams-variation-grid .col-inner .price ins .woocommerce-Price-amount,
.single-product .product-info .price> .woocommerce-Price-amount,
.single-product .product-info .price ins .woocommerce-Price-amount,
.product-quick-view-container .price> .woocommerce-Price-amount,
.product-quick-view-container .price ins .woocommerce-Price-amount,
.wc-block-components-product-price> .woocommerce-Price-amount,
.wc-block-components-product-price ins .woocommerce-Price-amount,
.wc-block-grid__product-price> .woocommerce-Price-amount,
.wc-block-grid__product-price ins .woocommerce-Price-amount{color:#c91b25!important}
