/* Stock items retain the store's white/navy product UI. */
.stock-sale-label{display:inline-block;background:#f5f5f5;color:#444;padding:4px 9px;font-size:12px;line-height:1.5;border:1px solid #ddd;border-radius:3px;margin:8px 0}
.stock-creator{display:flex;align-items:center;gap:7px;color:#555;font-size:12px;margin:10px 0}
.stock-creator img{width:28px;height:28px;border-radius:50%;object-fit:cover;flex:none}
.stock-choices{font-size:13px;line-height:1.6;margin:8px 0;color:#333}
.stock-quantity{display:flex;align-items:center;gap:16px;margin:18px 10px;font-size:14px}.stock-quantity select{border:1px solid #bbb;background:#fff;border-radius:4px;padding:10px 30px 10px 15px;color:#222;font-size:16px;min-width:85px}
.stock-purchase-bar{display:none}.stock-filters{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:20px auto;padding:14px;background:#f7f7f7;max-width:1100px}.stock-filters label{display:grid;gap:5px;font-size:13px}.stock-filters select,.stock-filters button{padding:9px 12px;font-size:14px;background:#fff;border:1px solid #bbb;border-radius:3px;color:#222}.stock-filters button{background:#001e55;color:white;cursor:pointer}.stock-filters a{font-size:13px;color:#444;text-decoration:underline}
@media(max-width:767px){
 [data-stock-product]{padding-bottom:0}
 .stock-purchase-bar{position:fixed;bottom:0;left:0;right:0;z-index:1000;display:flex;justify-content:space-between;align-items:center;gap:12px;background:white;border-top:1px solid #ddd;box-shadow:0 -2px 8px #0000000a;padding:10px 14px calc(10px + env(safe-area-inset-bottom))}
 .stock-purchase-bar>div{min-width:0}.stock-purchase-bar span,.stock-purchase-bar small{display:block;font-size:11px;line-height:1.6}.stock-purchase-bar strong{display:block;font-size:20px;line-height:1.4}.stock-purchase-bar button{width:46%;min-height:48px;margin:0;font-size:14px;padding:10px 12px;flex-shrink:0}
 .stock-filters{margin:15px 10px;gap:10px}.stock-filters label{width:calc(50% - 5px)}.stock-filters select{min-width:0;width:100%}
}
[data-stock-card]{display:flex;flex-direction:column;height:100%;box-sizing:border-box}[data-stock-card]>.stock-card-body{flex:1}[data-stock-card] .button_cartin_wp{margin-top:auto}[data-stock-card] .stock-creator img{width:28px;height:28px}
/* Reserve the square before lazy images arrive, including neighboring regular cards. */
.grid-container .product-image-wrapper,[data-stock-card] .slid_product-image-wrapper{aspect-ratio:1/1;overflow:hidden}
[data-stock-card] .product-image-wrapper img,[data-stock-card] .slid_product-image-wrapper img{width:100%;height:100%;object-fit:contain}
/* Same price hierarchy as the surrounding regular products. */
[data-stock-card] .shopping_betto,[data-stock-card] .slid_shopping_betto{display:block}
.stock-see-all{display:flex;align-items:center;justify-content:flex-end;gap:12px;color:#001e55;font-size:14px;min-height:44px;margin:0 20px 12px;text-decoration:underline}
.stock-offer{background:#fff9e9;border:1px solid #ead99e;border-radius:4px;padding:18px;margin:18px 0;color:#222}
.stock-offer h3{font-size:18px;line-height:1.5;margin:0 0 8px;font-weight:700;color:#001e55}.stock-offer p{margin:0 0 12px;line-height:1.6}.stock-offer small{display:block;font-size:12px;line-height:1.8}.stock-offer .product-price{margin:12px 0}.stock-offer .product-price_tax{margin:0}
.stock-regular{margin:12px 10px 20px}.stock-regular small{display:block;font-size:12px;color:#555;line-height:1.7;margin-top:6px}
.stock-secondary{box-sizing:border-box;display:flex;justify-content:center;align-items:center;gap:14px;min-height:48px;padding:12px 16px;border:1px solid #001e55;border-radius:4px;color:#001e55!important;background:#fff;text-decoration:none!important;font-size:14px;line-height:1.6;text-align:center}
.stock-secondary:hover{background:#f4f6f9}.stock-secondary:focus-visible,.stock-see-all:focus-visible,.stock-sale-categories a:focus-visible{outline:3px solid #001e55;outline-offset:3px}
.stock-arrow{display:inline-block;width:8px;height:8px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);flex:none}.stock-secondary-back{border-color:#aaa;color:#333!important}.stock-secondary-back .stock-arrow{transform:rotate(-135deg)}.stock-return{margin:28px 10px 120px}
.stock-sale-page{padding-top:70px}.stock-sale-heading{background:#fff9e9;padding:24px;border:1px solid #ead99e;border-radius:4px;margin-bottom:20px}.stock-sale-heading h1{font-size:26px;line-height:1.5;margin:6px 0 12px;color:#001e55}.stock-sale-heading p{line-height:1.7;margin:8px 0}.stock-sale-heading small{display:block;font-size:12px;line-height:1.8}.stock-sale-eyebrow{font-size:11px;letter-spacing:.12em;color:#555}
.stock-sale-categories{display:flex;gap:8px;flex-wrap:wrap;margin:18px 0}.stock-sale-categories a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:1px solid #ccc;border-radius:4px;color:#333;text-decoration:none;font-size:14px}.stock-sale-categories a[aria-current=page]{background:#001e55;color:#fff;border-color:#001e55}
.stock-sale-filters{max-width:none;margin:0 0 18px}.stock-sale-filters details{flex:1;min-width:200px}.stock-sale-filters summary{cursor:pointer;font-size:13px;min-height:44px;display:list-item;align-content:center}.stock-more-filters{display:flex;flex-wrap:wrap;gap:12px;padding:12px 0}.stock-result-info{font-size:13px;margin:16px 0}.stock-result-info p{line-height:1.8}.stock-empty{padding:24px 0}.stock-empty .stock-secondary{max-width:400px}
@media(max-width:767px){.stock-sale-page{padding-top:55px}.stock-sale-heading{padding:18px 16px}.stock-sale-heading h1{font-size:23px}.stock-sale-categories{gap:6px}.stock-sale-categories a{flex:1;padding:0 8px;white-space:nowrap;font-size:12px}.stock-sale-filters{margin:0 0 18px}.stock-sale-filters>label{width:100%}.stock-sale-filters details{width:100%;flex-basis:100%}.stock-more-filters{display:block}.stock-more-filters label{width:100%;margin-bottom:10px}.stock-sale-filters button{min-height:44px}.stock-offer{padding:16px}.stock-return{margin-bottom:140px}.stock-purchase-bar{padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom))}.stock-purchase-bar strong{font-size:18px}}
.stock-sale-heading p,.stock-sale-heading small{color:#333}
.stock-sale-heading p{font-size:14px;line-height:1.8}.stock-sale-heading .stock-sale-eyebrow{font-size:11px}
.shop-product .stock-offer h3{display:block}.shop-product .stock-offer>p:not(.product-price){display:block;font-size:14px;line-height:1.8;color:#333}

/* Scope form layout to the sale list; reuse existing navy, borders and controls. */
.stock-sale-page .stock-sale-heading{padding:18px 20px;margin:0 0 16px}
.stock-sale-page .stock-sale-heading h1{margin:4px 0 8px}
.stock-sale-page .stock-sale-heading p{margin:4px 0}
.stock-sale-page .stock-sale-filters{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:16px;border:1px solid #e5e5e5;border-radius:4px;margin:0 0 16px}
.stock-sale-page .stock-sale-filters label{display:flex;flex-direction:column;gap:6px;width:auto;margin:0;min-width:0;font-size:14px;line-height:1.5}
.stock-sale-page .stock-sale-filters select{box-sizing:border-box;width:100%;min-width:0;height:44px;margin:0;padding:8px 12px;border:1px solid #bbb;border-radius:4px;background-color:#fff;color:#222;font-family:inherit;font-size:16px;line-height:1.5}
.stock-sale-page .stock-sale-filters details{min-width:0;width:auto;margin:0;border-top:1px solid #ddd}
.stock-sale-page .stock-sale-filters summary{position:relative;display:flex;align-items:center;min-height:44px;padding:4px 28px 4px 0;box-sizing:border-box;list-style:none;font-size:14px;line-height:1.5}
.stock-sale-page .stock-sale-filters summary::-webkit-details-marker{display:none}
.stock-sale-page .stock-sale-filters summary::after{content:"";position:absolute;right:4px;top:17px;width:8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
.stock-sale-page .stock-sale-filters details[open]>summary::after{top:21px;transform:rotate(225deg)}
.stock-sale-page .stock-more-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:8px 0 0}
.stock-sale-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:center}
.stock-sale-page .stock-sale-actions button,.stock-sale-page .stock-sale-actions a{box-sizing:border-box;display:flex;align-items:center;justify-content:center;min-height:44px;margin:0;padding:10px 12px;border-radius:4px;font-family:inherit;font-size:14px;line-height:1.5;text-align:center}
.stock-sale-page .stock-sale-actions button{border:1px solid #001e55;background:#001e55;color:#fff}
.stock-sale-page .stock-sale-actions a{border:1px solid #bbb;background:#fff;color:#333;text-decoration:none}
.stock-sale-page .stock-sale-filters :is(select,button,a,summary):focus-visible{outline:2px solid #001e55;outline-offset:3px}
.stock-sale-page .stock-result-info{margin:16px 0}
.stock-sale-page .stock-result-info p{margin:6px 0 0}
@media(max-width:767px){
 .stock-sale-page .stock-sale-heading{padding:16px}
 .stock-sale-page .stock-more-filters{grid-template-columns:minmax(0,1fr)}
}

[data-stock-card] a.stock-creator{display:flex;color:#555;text-decoration:none;min-height:32px}
[data-stock-card] a.stock-creator span{text-decoration:underline;text-underline-offset:3px}
[data-stock-card] a.stock-creator:hover{color:#001e55}
[data-stock-card] a.stock-creator:focus-visible{outline:2px solid #001e55;outline-offset:3px}
[data-stock-card] .stock-card-body>a[data-stock-detail]{display:block}
