
header .head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;padding:14px 0!important}
header .head>.delivery-shortcut{grid-column:1;grid-row:1;width:100%;margin:0;min-height:48px;text-align:left}
header .head>.account-action{grid-column:2;grid-row:1;min-width:65px}
header .head>.search{grid-column:1!important;grid-row:2!important;order:initial!important;min-width:0}
header .head>.head-actions{grid-column:2!important;grid-row:2!important;overflow:visible!important;padding:0!important}
header .quick-action{min-width:64px}
#fullSearch{position:fixed;inset:0;z-index:150;background:white;overflow:auto;overscroll-behavior:contain}
#fullSearch[hidden]{display:none}
.full-search-top{position:sticky;top:0;z-index:2;background:white;display:flex;gap:10px;padding:14px;border-bottom:1px solid #dce8df}
.full-search-top .search{flex:1;position:relative}
#fullSearch #catalogue{padding-top:12px}
#fullSearch .segment-wrap,#fullSearch .cat-pills{display:none!important}
#fullSearch #grid{max-height:none!important;overflow:visible!important}
body.full-search-open{overflow:hidden}
@media(max-width:680px){header .head{gap:8px!important}.head-actions{gap:4px!important}header .quick-action{min-width:46px;padding:6px;height:46px}header .quick-action small{font-size:9px}header .delivery-shortcut{font-size:12px}header .delivery-shortcut small{display:none}.full-search-top{padding:10px}}

/* Compact shopping cards, with quantity controls on the image edge. */
.product,.feature-card{position:relative!important;border:0!important;box-shadow:none!important;background:#fff!important;border-radius:12px!important;padding:8px!important;min-height:0!important;--photo-height:180px}
.product .prod-img,.feature-card .prod-img{height:var(--photo-height)!important;background:#f7f8f5!important;border-radius:12px!important;margin-bottom:20px!important}
.prod-img img{width:100%;height:100%;object-fit:contain!important;padding:8px}
.product h3,.feature-card h3{font-size:15px!important;line-height:1.4!important;font-weight:650!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px}
.simple-price{border:0!important;padding-top:4px!important}.simple-price .store-line strong{font-size:21px!important}.simple-price .mrp-line,.simple-price .mrp-line del{font-size:12px!important}.simple-price .off{background:#ffdf40!important;color:#253b2b!important;border-radius:3px!important;font-size:10px!important}.ssc-estimate{font-size:10px!important;line-height:1.4!important}
.product .product-cart-control,.feature-card .product-cart-control{position:absolute!important;top:calc(var(--photo-height) - 12px)!important;right:8px!important;width:auto!important;background:white!important;border:1px solid #308359!important;border-radius:8px!important;padding:0!important;z-index:1}
.product-cart-control .product-quantity{padding:0!important}.product-cart-control .product-quantity-buttons{display:flex!important;align-items:center;gap:0!important}.product-cart-control .product-quantity-buttons button{width:38px!important;min-width:38px!important;height:40px!important;padding:0!important;background:white!important;color:#176b37!important;font-size:24px!important;border:0!important}.product-cart-control output{min-width:22px!important;text-align:center;font-size:15px!important}
.product-cart-control[data-qty="0"] [data-cart-action="minus"],.product-cart-control[data-qty="0"] output{display:none!important}
@media(max-width:680px){.product,.feature-card{--photo-height:140px}.catalogue .product h3,.feature-card h3{font-size:13px!important;min-height:37px}.catalogue .product .prod-img{height:140px!important}.catalogue .simple-price .store-line strong{font-size:19px!important}.featured-grid{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px!important;padding-bottom:10px}.featured-grid .feature-card{flex:0 0 145px;scroll-snap-align:start}.shopping-heading h1{font-size:24px!important}.shopping-heading h2{font-size:22px!important}header{background:#f0f3ff!important}.shopping-category-photo{border-radius:16px!important}}

/* V87.1: full-screen search on desktop — sidebar is hidden, so results take the full width */
#fullSearch .shop-browser{grid-template-columns:minmax(0,1fr)!important}
#fullSearch #shopResults{grid-column:1/-1;min-width:0}
@media(min-width:900px){#fullSearch #grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important}}
.full-search-top .search{min-width:0;display:flex}.full-search-top .search input{min-width:0;flex:1;width:auto}.full-search-top .search button{flex:none}
@media(max-width:680px){.full-search-top{gap:8px;padding:10px}.full-search-top>.btn{flex:none;padding:8px 10px}.full-search-top .search button{padding-left:12px;padding-right:12px}}
