.summary-note{font-size:12px;line-height:1.6;color:var(--muted);margin:17px 0}.savings-strip{font-size:12px;background:var(--green-soft);color:var(--green);padding:10px 12px;border-radius:7px}.discount-text{font-size:13px;color:var(--green);display:inline-block;margin-left:12px}.history-row{display:flex;gap:12px;padding:12px 0}.history-row>.bi{color:var(--green);margin-top:3px}.history-row strong{font-size:14px}.history-row p{font-size:12px;color:var(--muted);margin:5px 0 0}.order-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.order-info-grid p{font-size:14px;margin-top:9px}.order-info-grid strong{font-size:14px}.cart-item>.photo-placeholder{width:78px;height:78px}.order-summary .notice{align-items:flex-start}.pagination button{border:1px solid var(--border);border-radius:7px;padding:8px 14px;background:white}.pagination button.active{background:var(--green);color:white}.photo-placeholder small{font-size:10px}.variant-choice.selected{border-color:var(--green);background:var(--green-soft);color:var(--green)}
@media(min-width:768px) and (max-width:1023px){.location-trigger{display:flex;padding-right:9px;gap:5px}.location-trigger strong{font-size:12px}.location-trigger small{font-size:10px}.header-main{gap:13px}.brand{width:70px}.search-box{min-width:100px}.search-box input{font-size:12px}}
@media(max-width:767px){.order-info-grid{grid-template-columns:1fr;gap:0}.summary-note{font-size:12px}.add-button{min-height:40px}.cart-checkout-bar .button{min-height:45px}.account-nav button,.account-nav a{min-height:40px}.dialog-close{width:38px;height:38px}.text-button{min-height:32px}.category-section{margin-bottom:15px}.home-grid .product-card{min-width:0}}
.delivery-day-label{display:block;font-size:13px;color:var(--muted);margin:15px 0 7px}#delivery-day{width:100%;border:1px solid #cbd3cc;border-radius:8px;background:white;padding:11px 12px;font-size:14px}.account-nav{scrollbar-width:none}.account-nav::-webkit-scrollbar{display:none}
@media(max-width:767px){.add-button{min-height:44px}.quantity-stepper{min-height:44px}.quantity-stepper button{min-width:42px;min-height:42px}.dialog-close{width:44px;height:44px}.account-nav button,.account-nav a{min-height:44px}.header-actions>a{min-width:40px;min-height:44px;justify-content:center}.section-heading>a{min-height:44px}.remove-item{min-height:44px}.search-box{height:44px}.location-trigger{min-height:44px;top:121px}.category-nav .wrap{height:44px}.category-nav .all-categories{min-height:44px;display:flex;align-items:center}}

/* Home shelves fill the available width, including categories with fewer photos. */
.home-grid { grid-template-columns: repeat(var(--home-columns, 5), minmax(0, 1fr)); }
.home-grid .product-card:nth-child(n) { display: flex; }
.page-home .products-section { margin-bottom: 26px; padding-top: 24px; }
.page-home .products-section:last-child { margin-bottom: 0; }
.page-home .main-content { padding-bottom: 36px; }
.page-home .section-heading { margin-bottom: 18px; }
.page-home .category-section { margin: 30px 0; }

/* Keep whole pack shots visible within a consistent, compact photo area. */
.product-card .product-image {
    height: 184px;
    aspect-ratio: auto;
    flex: 0 0 auto;
    padding: 24px 16px 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card .product-image img { max-width: 184px; }
.product-card .product-copy { padding: 9px 16px 14px; }
.product-card .product-name { font-size: 14px; line-height: 1.4; min-height: 39px; }
.product-card .pack-label { font-size: 12px; margin: 3px 0 8px; }
.product-card .price-line { gap: 8px; }
.product-card .price-line strong { font-size: 20px; line-height: 1.3; letter-spacing: -.35px; }
.product-card .price-line del { font-size: 12px; }
.product-card .add-button {
    min-height: 44px;
    margin-top: 11px;
    padding: 9px 14px;
    border-color: #a4c5af;
    border-radius: 8px;
    background: #f0f7f2;
    color: #145b36;
    font-size: 14px;
    font-weight: 700;
}
.product-card .add-button:not(:disabled):hover { background: #145b36; color: #fff; border-color: #145b36; }
.product-card .add-button:disabled { background: #f4f5f3; color: #737b74; border-color: #dce1db; }
.product-card .offer-label { font-size: 11px; line-height: 1.3; top: 10px; left: 12px; }

/* Existing milk and egg photos share the banner background without new artwork. */
.promo-dairy .dairy-art { position: absolute; right: 0; bottom: 0; width: 50%; height: 225px; }
.promo-dairy .dairy-milk { width: 240px; height: 240px; max-width: none; right: -44px; bottom: 20px; opacity: 1; }
.promo-dairy .dairy-eggs { width: 162px; height: 162px; max-width: none; right: 5px; bottom: -30px; opacity: 1; }
.category-photo img[src$="library-nandini-milk.webp"] { transform: scale(1.4); }

@media (min-width: 1024px) and (max-width: 1199px) {
    .promo-dairy .dairy-milk { width: 210px; height: 210px; right: -42px; bottom: 15px; }
    .promo-dairy .dairy-eggs { width: 140px; height: 140px; right: -1px; bottom: -24px; }
}
@media (min-width: 768px) and (max-width: 1023px) {
    .home-grid { grid-template-columns: repeat(min(var(--home-columns, 5), 3), minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .page-home .category-section { margin: 25px 0 16px; }
    .page-home .products-section { margin-bottom: 20px; padding-top: 18px; }
    .page-home .section-heading { margin-bottom: 12px; }
    .page-home .main-content { padding-bottom: 28px; }
    .product-card .product-image { height: clamp(130px, 38vw, 180px); padding: 23px 10px 3px; }
    .product-card .product-copy { padding: 8px 12px 12px; }
    .product-card .product-name { font-size: 13px; min-height: 37px; }
    .product-card .pack-label { font-size: 11px; }
    .product-card .price-line strong { font-size: 18px; }
    .product-card .price-line del { font-size: 11px; }
    .product-card .offer-label { font-size: 10px; left: 9px; top: 9px; }
    .product-card .add-button { padding: 8px 11px; font-size: 13px; }
}
@media (max-width: 359px) {
    .product-card .product-copy { padding-inline: 9px; }
    .product-card .product-name { font-size: 12px; min-height: 34px; }
    .product-card .pack-label { font-size: 10px; }
}
