/* Qutoof restored shelf cards — 2026-10-03 */
#weeklyOffers .reference-deals{grid-template-columns:minmax(270px,25%) minmax(0,1fr)!important;background:#fbefb9!important}
#weeklyOffers .reference-deals-products{background:transparent!important;padding:18px!important;gap:16px!important;overflow-x:auto!important;align-items:stretch!important;scrollbar-width:none}
#weeklyOffers .reference-deals-products::-webkit-scrollbar{display:none}
:is(#products .products-grid,#hotDealsPreviewGrid){grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:16px!important}
#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card{position:relative!important;display:flex!important;flex-direction:column!important;background:#fff!important;border:0!important;border-radius:18px!important;box-shadow:none!important;overflow:hidden!important;min-height:0!important;height:auto!important}
#weeklyOffers .weekly-product-card{flex:0 0 clamp(205px,17vw,265px)!important;width:clamp(205px,17vw,265px)!important;min-width:205px!important}
#products .product-card:hover,#hotDealsPreviewGrid .product-card:hover,#seasonalPicks #seasonalGrid .product-card:hover,#weeklyOffers .weekly-product-card:hover{box-shadow:0 8px 22px rgba(30,55,36,.08)!important}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-picture{height:165px!important;min-height:165px!important;aspect-ratio:auto!important;margin:0!important;background:#fff!important;border:0!important;border-radius:0!important;overflow:hidden!important}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-picture img{width:100%!important;height:100%!important;object-fit:contain!important;padding:24px 16px 5px!important;background:#fff!important;border:0!important;mix-blend-mode:normal!important}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-info{display:flex!important;flex-direction:column!important;flex:1!important;min-width:0!important;padding:10px 15px 14px!important;text-align:start!important;background:#fff!important}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-saving-slot{position:absolute!important;z-index:3!important;top:13px!important;left:13px!important;right:auto!important;order:unset!important;min-height:0!important;max-width:calc(100% - 58px)!important;margin:0!important;padding:0!important;pointer-events:none}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-saving{display:inline-flex!important;align-items:center!important;white-space:nowrap!important;background:#f9dc67!important;color:#193c2a!important;border-radius:7px!important;padding:6px 9px!important;font-size:11px!important;font-weight:800!important;line-height:1.15!important}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-saving .saving-ar{display:none}
html[lang=ar] :is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-saving .saving-en{display:none}
html[lang=ar] :is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-saving .saving-ar{display:inline}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-name{order:1!important;min-height:0!important;margin:0 0 3px!important;font-size:17px!important;font-weight:750!important;line-height:1.35!important;text-align:start!important}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-unit{order:2!important;min-height:0!important;margin:0 0 9px!important;font-size:11px!important;line-height:1.35!important;color:#899789!important}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-price-line{order:3!important;display:flex!important;align-items:baseline!important;justify-content:flex-start!important;gap:4px!important;margin:0 0 10px!important;padding:0!important;min-height:0!important}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-price{font-size:17px!important;font-weight:800!important}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .selected-weight{display:none!important}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-weight-options{order:4!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important;margin:auto 0 0!important}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-weight-options button{min-width:0!important;min-height:30px!important;padding:4px 1px!important;font-size:10px!important}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-quantity{order:4!important;margin:auto 0 0!important}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-add{order:5!important;position:static!important;align-self:flex-end!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;margin:8px 0 0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:transparent!important;font-size:0!important}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-add i{color:#214934!important;font-size:25px!important}
#seasonalPicks #seasonalGrid{display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;gap:14px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;align-items:stretch!important;height:auto!important;min-height:0!important;padding-bottom:8px!important;scrollbar-width:none}
#seasonalPicks #seasonalGrid::-webkit-scrollbar{display:none}
#seasonalPicks #seasonalGrid>.seasonal-product-card{flex:0 0 225px!important;width:225px!important;min-width:225px!important;min-height:0!important;height:auto!important;scroll-snap-align:start!important}
#seasonalPicks #seasonalGrid .editorial-card{flex:0 0 225px!important;width:225px!important;min-width:225px!important}
@media(max-width:1100px){:is(#products .products-grid,#hotDealsPreviewGrid){grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:850px){:is(#products .products-grid,#hotDealsPreviewGrid){grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:700px){:is(#products .products-grid,#hotDealsPreviewGrid){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}#weeklyOffers .reference-deals{grid-template-columns:1fr!important}#weeklyOffers .reference-deals-products{padding:12px!important}#weeklyOffers .weekly-product-card{flex-basis:175px!important;width:175px!important;min-width:175px!important}#seasonalPicks #seasonalGrid>.seasonal-product-card,#seasonalPicks #seasonalGrid .editorial-card{flex-basis:175px!important;width:175px!important;min-width:175px!important}:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-picture{height:125px!important;min-height:125px!important}:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-picture img{padding:21px 10px 4px!important}:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-info{padding:8px 9px 10px!important}:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-name{font-size:13px!important}:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-unit{font-size:10px!important}:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-price{font-size:15px!important}:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-saving-slot{top:8px!important;left:8px!important}:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-saving{font-size:9px!important;padding:5px 6px!important}:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-weight-options button{font-size:9px!important;min-height:28px!important}}

/* Discount sits below the price, as approved. */
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-saving-slot{position:static!important;z-index:auto!important;order:4!important;max-width:none!important;align-self:flex-start!important;min-height:0!important;margin:0 0 8px!important;pointer-events:auto!important}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-saving-slot:empty{display:none!important}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-price-line{margin-bottom:4px!important}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-weight-options,
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-quantity{order:5!important}
:is(#products .product-card,#hotDealsPreviewGrid .product-card,#seasonalPicks #seasonalGrid .product-card,#weeklyOffers .weekly-product-card) .product-add{order:6!important}

/* Seasonal feature and cards share the same top and bottom edge. Keep carousel controls below the row. */
@media(min-width:801px){
 #seasonalPicks .reference-season-layout{align-items:stretch!important}
 #seasonalPicks .reference-season-feature{min-height:0!important;height:100%!important}
 #seasonalPicks .reference-season-layout .seasonal-carousel{position:relative!important;overflow:visible!important;min-height:0!important;height:auto!important}
 #seasonalPicks #seasonalGrid{height:100%!important;min-height:0!important;padding:0!important;align-items:stretch!important}
 #seasonalPicks #seasonalGrid>.seasonal-product-card{height:auto!important;align-self:stretch!important}
 #seasonalPicks .seasonal-carousel-controls{position:absolute!important;top:calc(100% + 14px)!important;inset-inline-start:0!important;bottom:auto!important;margin:0!important}
 #seasonalPicks{padding-bottom:78px!important}
}
/* Let the page background show through gaps and empty product grid cells. */
#products #productsGrid,#products .products-grid,#hotDealsPreviewGrid{background:transparent!important;background-color:transparent!important}
