/* Product detail pages only; native cart, wallet, and checkout styling is retained. */
body.ss_product .hp-product-view{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:42px;row-gap:0;margin:0;padding:22px 0 0;align-items:start}
body.ss_product .hp-product-view>.productView-images{grid-column:1;grid-row:1 / span 2;width:auto;float:none;padding:0 8px 0 0;margin:0;min-width:0}
body.ss_product .hp-product-view>.productView-details{grid-column:2;width:auto;float:none;clear:none;padding:0;margin:0;min-width:0}
body.ss_product .hp-product-view>.product-data{grid-row:1;order:initial;align-self:end}
body.ss_product .hp-product-view>.product-options{grid-row:2;align-self:start}
body.ss_product .hp-product-view>.productView-description{grid-column:1 / -1;width:auto;float:none;clear:both;padding:28px 0 0;margin-top:28px;border-top:1px solid #e4e4e4;min-width:0}
body.ss_product .hp-product-view .productView-product{border:0;padding:0;margin:0}
body.ss_product .hp-product-view .productView-brand{font-family:inherit;font-size:12px;line-height:1.5;letter-spacing:1.2px;text-transform:uppercase;margin:0 0 6px}
body.ss_product .hp-product-view .productView-brand a{color:#555;text-decoration:none}
body.ss_product .hp-product-view .productView-title{font-size:28px;line-height:1.25;font-weight:400;margin:0 0 10px;border:0;padding:0}
body.ss_product .hp-product-view .productView-rating{margin:0 0 15px;min-height:0}
body.ss_product .hp-product-view .productView-price{font-family:inherit;margin:0 0 12px}
body.ss_product .hp-product-pricing{display:flex;flex-direction:column;align-items:flex-start;gap:0}
body.ss_product .hp-product-pricing .price-section{margin:0;line-height:1.5}
body.ss_product .hp-product-pricing .price--withTax{order:0}
body.ss_product .hp-product-pricing .price--withoutTax{order:1}
body.ss_product .hp-product-pricing .price--withTax:not(.price-section--minor),
body.ss_product .hp-product-pricing .price--withoutTax:not(.price-section--minor){width:100%;margin-bottom:7px}
body.ss_product .hp-product-pricing .price--withTax:not(.price-section--minor)>.price,
body.ss_product .hp-product-pricing .price--withoutTax:not(.price-section--minor)>.price{display:block;font:700 38px/1.15 Arial,sans-serif;letter-spacing:-.7px;color:#252525}
body.ss_product .hp-product-pricing .price-label,
body.ss_product .hp-product-pricing .price-now-label{font:400 13px/1.5 Arial,sans-serif;color:#333}
body.ss_product .hp-product-pricing .price-section--minor{font:400 12px/1.5 Arial,sans-serif;color:#666;margin:0 0 6px}
body.ss_product .hp-product-pricing .price-section--minor>.price{font-size:14px}
body.ss_product .hp-product-pricing .rrp-price--withTax,
body.ss_product .hp-product-pricing .rrp-price--withoutTax,
body.ss_product .hp-product-pricing .non-sale-price--withTax,
body.ss_product .hp-product-pricing .non-sale-price--withoutTax{order:2;font:400 13px/1.5 Arial,sans-serif;color:#666;margin:0 0 8px}
body.ss_product .hp-product-pricing .price--rrp,
body.ss_product .hp-product-pricing .price--non-sale{font:inherit;color:inherit;text-decoration:line-through}
body.ss_product .hp-product-pricing.hp-has-retail .non-sale-price--withTax,
body.ss_product .hp-product-pricing.hp-has-retail .non-sale-price--withoutTax{display:none!important}
body.ss_product .hp-product-pricing>.price-section--saving{order:3;font-size:12px;margin-bottom:10px}
body.ss_product .hp-product-pricing.hp-pricing-ready>.price-section--saving{display:none!important}
body.ss_product .hp-product-savings{order:4;background:#fceeee;color:#9f171b;font:700 12px/1.5 Arial,sans-serif;padding:5px 9px;margin:0 0 5px;border-radius:2px}
body.ss_product .hp-product-savings[hidden],body.ss_product .hp-product-unavailable[hidden]{display:none!important}
body.ss_product .hp-product-view .productView-info{display:flex;flex-wrap:wrap;gap:0 7px;padding:0;margin:8px 0 14px;font-size:12px;line-height:1.6}
body.ss_product .hp-product-view .productView-info-name,
body.ss_product .hp-product-view .productView-info-value{float:none;font:inherit;margin:0;padding:0;width:auto}
body.ss_product .hp-product-view .hp-condition-label{color:#666}
body.ss_product .hp-product-view .productView-info-value[data-product-sku],
body.ss_product .hp-product-view .productView-info-name.sku-label{display:none}
body.ss_product .hp-product-view .productView-options{margin:0;padding:0}
body.ss_product .hp-product-view .productView-options .form{margin:0}
body.ss_product .hp-product-view .productView-options .form-field{margin-bottom:15px}
body.ss_product .hp-product-view .form-label{font-size:12px;line-height:1.5;margin-bottom:8px}
body.ss_product .hp-product-view .form-option{padding:10px 14px;margin:0 7px 7px 0;min-height:42px;border-radius:2px;border:1px solid #bdbdbd;box-shadow:none}
body.ss_product .hp-product-view .form-option-variant{font:400 13px/1.5 Arial,sans-serif;min-width:0}
body.ss_product .hp-product-view .form-radio:checked+.form-option{border-color:#252525;box-shadow:inset 0 0 0 1px #252525}
body.ss_product .hp-product-view .form-radio:focus-visible+.form-option{outline:2px solid #1379d0;outline-offset:3px}
body.ss_product .hp-product-view .form-field--stock{display:none}
body.ss_product .hp-product-view .add-to-cart-wrapper{display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 12px;align-items:start;margin:0}
body.ss_product .hp-product-view .add-to-cart-wrapper .form-field--increments{margin:0}
body.ss_product .hp-product-view .add-to-cart-wrapper>.productAttributes-message{grid-column:1 / -1}
body.ss_product .hp-product-view .add-to-cart-buttons{min-width:0;margin:0;width:100%;display:block;float:none;align-self:end}
body.ss_product .hp-product-view .add-to-cart-buttons .form-action{width:100%;padding:0;margin:0;float:none}
body.ss_product .hp-product-view #form-action-addToCart{width:100%;min-height:46px;margin:0;border-radius:2px;background:#cf2429;border-color:#cf2429;color:#fff;font:700 15px/1.3 Arial,sans-serif;padding:13px 18px}
body.ss_product .hp-product-view #form-action-addToCart:hover{background:#b31e23;border-color:#b31e23}
body.ss_product .hp-product-view .hp-native-cart-button[disabled]{opacity:.6}
body.ss_product .hp-product-view .form-increment{display:flex;align-items:center;min-height:46px}
body.ss_product .hp-product-view .form-increment .button{margin:0;padding:5px;min-height:35px}
body.ss_product .hp-product-view .form-increment .form-input{width:38px;font-size:16px}
body.ss_product .hp-product-view .add-to-cart-wallet-buttons{clear:both;padding-top:12px;width:100%;margin:0}
body.ss_product .hp-product-view .hp-stock-status{font-size:12px;color:#333;margin:0 0 12px}
body.ss_product .hp-product-unavailable{padding:18px 0 5px;margin:0 0 15px}
body.ss_product .hp-product-unavailable h2{font:500 20px/1.3 Arial,sans-serif;margin:0 0 8px}
body.ss_product .hp-product-unavailable p{font-size:13px;margin:0 0 14px}
body.ss_product .hp-product-unavailable .button{margin:0;background:#cf2429;border-color:#cf2429;color:#fff;border-radius:2px;min-height:44px}
body.ss_product .hp-is-sold-out #add-to-cart-wrapper,
body.ss_product .hp-is-sold-out #paypal-commerce-proddetails-messaging-banner,
body.ss_product .hp-is-sold-out .hp-stock-status{display:none!important}
body.ss_product .hp-product-view .hp-purchase-trust{display:flex;flex-wrap:wrap;gap:7px 18px;margin:15px 0 8px;font:400 11px/1.5 Arial,sans-serif;color:#444}
body.ss_product .hp-product-view .socialLinks{margin-top:14px}
body.ss_product .hp-product-view .productView-image{margin-top:0}
body.ss_product .hp-product-view .productView-img-container{max-width:100%;max-height:none}
body.ss_product .hp-product-view .productView-img-container:after{padding-bottom:110%}
body.ss_product .hp-product-view .productView-image--default{max-height:560px;object-fit:contain}
body.ss_product .hp-product-view .productView-thumbnails{margin-top:15px;margin-bottom:0}
body.ss_product .hp-product-recommendations{clear:both;margin:30px 0 0}
body.ss_product .hp-product-recommendations h2{font-size:22px;margin:0 0 18px}
body.ss_product .hp-recommendation-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
body.ss_product .hp-recommendation-item{min-width:0}
body.ss_product .hp-recommendation-item .card{margin:0}
@media(max-width:800px){
 body.ss_product .hp-product-view{display:flex;flex-direction:column;gap:0;padding-top:12px}
 body.ss_product .hp-product-view>.productView-images{order:0;width:100%;padding:0;margin:0 0 18px}
 body.ss_product .hp-product-view>.product-data{order:1;width:100%;align-self:auto}
 body.ss_product .hp-product-view>.product-options{order:2;width:100%;align-self:auto}
 body.ss_product .hp-product-view>.productView-description{order:3;width:100%;padding-top:22px;margin-top:22px}
 body.ss_product .hp-product-view .productView-title{font-size:25px;line-height:1.25}
 body.ss_product .hp-product-view .productView-img-container{height:290px;max-width:100%}
 body.ss_product .hp-product-view .productView-img-container:after{display:none}
 body.ss_product .hp-product-view .productView-image--default{max-height:290px;width:auto;max-width:100%;height:auto}
 body.ss_product .hp-product-view .productView-thumbnails{margin-top:10px}
 body.ss_product .hp-product-view .productView-thumbnail{width:60px}
 body.ss_product .hp-product-view .productView-thumbnail-link{height:54px;width:54px}
 body.ss_product .hp-product-pricing .price--withTax:not(.price-section--minor)>.price,
 body.ss_product .hp-product-pricing .price--withoutTax:not(.price-section--minor)>.price{font-size:36px}
 body.ss_product .hp-recommendation-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
}

body.ss_product .hp-hide-retail .rrp-price--withTax,body.ss_product .hp-hide-retail .rrp-price--withoutTax{display:none!important}
body.ss_product [data-hp-recommendations][hidden]{display:none!important}

body.ss_product .hp-product-view .productView-options,body.ss_product .hp-product-view .productView-options .form{text-align:left}

body.ss_product .hp-product-view .stamped-badge-caption{display:inline!important;font-size:12px;margin-left:5px}
body.ss_product .hp-product-view #stamped-badge-widget{font-size:12px;margin:0}
body.ss_product .hp-product-view:not(.hp-is-sold-out) #add-to-cart-wrapper[style*="display: block"]{display:grid!important}

/* v2: reliable gallery dimensions, product-specific reviews and compact status row. */
body.ss_product .hp-product-view .productView-image .productView-image--default{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
body.ss_product .hp-product-status-row{display:flex;flex-wrap:wrap;align-items:baseline;gap:5px 18px;margin:0 0 15px}
body.ss_product .hp-product-status-row .hp-stock-status,body.ss_product .hp-product-status-row .hp-product-condition{margin:0;font:400 12px/1.6 Arial,sans-serif;color:#333}
body.ss_product .hp-product-view .hp-purchase-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:15px 0 8px}
body.ss_product .hp-product-view .hp-purchase-trust>.hp-trust-item{display:flex;justify-content:center;align-items:baseline;gap:4px;min-width:0;font:400 11px/1.5 Arial,sans-serif;text-align:center}
body.ss_product .hp-product-view>.hp-product-reviews{grid-column:1 / -1;grid-row:4;order:4;clear:both;width:100%;min-width:0;margin:22px 0 0;padding:0;float:none}
body.ss_product .hp-product-reviews:empty{display:none}
body.ss_product .hp-product-view>#stamped-main-widget{grid-column:1 / -1;order:4;width:100%;clear:both;min-width:0}
body.ss_product .hp-product-reviews #stamped-main-widget{width:100%;margin:0;clear:both}
body.ss_product .hp-product-reviews .stamped-container{max-width:100%;margin-left:0;margin-right:0;padding-left:0;padding-right:0}
body.ss_product .hp-product-view .hp-review-summary-ready>#stamped-badge-widget{display:none!important}
body.ss_product .hp-product-view .hp-review-summary{display:inline-flex;flex-wrap:wrap;align-items:center;gap:6px;color:#333;text-decoration:none;font:400 12px/1.6 Arial,sans-serif}
body.ss_product .hp-product-view .hp-review-summary[hidden]{display:none!important}
body.ss_product .hp-review-summary [data-hp-review-count]{text-decoration:underline;text-underline-offset:2px}
body.ss_product .hp-review-stars{font-size:16px;letter-spacing:1px;color:#a86a00;background:linear-gradient(to right,#a86a00 var(--hp-rating-fill,0%),#bbb var(--hp-rating-fill,0%));background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
@media(max-width:800px){
 body.ss_product .hp-product-view .productView-img-container{height:clamp(260px,82vw,350px);width:100%;max-width:100%}
 body.ss_product .hp-product-view .productView-image .productView-image--default{width:100%;height:100%;max-height:100%;max-width:100%;object-fit:contain}
 body.ss_product .hp-product-view>.hp-product-reviews{order:4;align-self:stretch;width:100%}
}

body.ss_product .hp-product-view #stamped-main-widget[hidden],body.ss_product .hp-product-view #stamped-badge-widget[hidden]{display:none!important}
body.ss_product .hp-product-reviews{scroll-margin-top:85px}
body.ss_product .hp-product-view>.productView-description{grid-row:3}
body.ss_product .hp-product-view>#stamped-main-widget{grid-row:4}

/* v3: unavailable size boxes are genuinely disabled; compact trust line never wraps. */
body.ss_product .hp-product-view .form-option[aria-disabled="true"]{cursor:not-allowed}
body.ss_product .hp-product-view .hp-purchase-trust{display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:6px;width:100%;padding:0;border:0}
body.ss_product .hp-product-view .hp-purchase-trust>.hp-trust-item{display:flex;flex:0 0 auto;align-items:center;justify-content:flex-start;gap:3px;white-space:nowrap;text-align:left;font-size:clamp(9.5px,2.85vw,11px);margin:0!important;padding:0!important;border:0!important;line-height:1.5}
body.ss_product .hp-product-view .hp-purchase-trust>.hp-trust-item>span{white-space:nowrap;margin:0!important;padding:0!important;border:0!important;font:inherit}
@media(max-width:350px){
 body.ss_product .hp-product-view .hp-purchase-trust{gap:2px}
 body.ss_product .hp-product-view .hp-purchase-trust>.hp-trust-item{gap:2px}
}

/* A failed size lookup is not stock information. Never show a stale size price. */
body.ss_product .hp-option-lookup-error .productView-price,
body.ss_product .hp-option-lookup-error .hp-stock-status{display:none!important}
