/* ============================================================
   AROGYAM SHOP - STOREFRONT RESPONSIVE FOUNDATION v17.0
   Final cascade layer loaded after legacy/page-specific styles.
   Purpose: one geometry system for phone, tablet and desktop.
   ============================================================ */

:root{
  --sf17-green:#4f7415;
  --sf17-green-dark:#29450b;
  --sf17-soft:#f4f7f0;
  --sf17-surface:#fff;
  --sf17-line:#dde5d7;
  --sf17-muted:#73806c;
  --sf17-danger:#b84545;
  --sf17-nav-edge:8px;
  --sf17-nav-height:72px;
  --sf17-action-gap:8px;
  --sf17-action-height:64px;
  --sf17-radius:18px;
  --sf17-shadow:0 10px 30px rgba(35,57,13,.10);
}

html{width:100%;max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%}
body.shop-page{width:100%;max-width:100%;min-width:0;overflow-x:hidden}
body.shop-page *{box-sizing:border-box}
body.shop-page img,body.shop-page svg,body.shop-page video,body.shop-page canvas{max-width:100%}
body.shop-page form,body.shop-page fieldset{min-width:0;max-width:100%}
body.shop-page input,body.shop-page select,body.shop-page textarea,body.shop-page button{max-width:100%;font-family:inherit}
body.shop-page main{width:100%;max-width:100%;min-width:0;overflow-x:hidden}

/* Shared wrappers never exceed the real viewport. */
body.shop-page .hero-carousel,
body.shop-page .pattern-section,
body.shop-page .packs-container,
body.shop-page .products-container,
body.shop-page .cart-wrap,
body.shop-page .cart-shell,
body.shop-page .checkout-wrap,
body.shop-page .checkout-shell,
body.shop-page .account-v15-page,
body.shop-page .account-v15-shell,
body.shop-page .orders-wrap,
body.shop-page .orders-shell,
body.shop-page .order-wrap,
body.shop-page .order-shell,
body.shop-page .ret-page,
body.shop-page .reward-page,
body.shop-page .address-wrap,
body.shop-page .address-shell,
body.shop-page .notify-page,
body.shop-page .notify-shell,
body.shop-page .contact-wrapper,
body.shop-page .contact-container,
body.shop-page .policy-container,
body.shop-page .pdp-v16,
body.shop-page .pdp-hero,
body.shop-page .pdp-gallery,
body.shop-page .pdp-info,
body.shop-page .pdp-buybox{
  min-width:0;
  max-width:100%;
}

/* Grid/flex children are allowed to shrink. */
body.shop-page .products-grid,
body.shop-page .cart-layout,
body.shop-page .cart-card,
body.shop-page .cart-tools,
body.shop-page .cart-secondary-actions,
body.shop-page .checkout-grid,
body.shop-page .checkout-card,
body.shop-page .checkout-summary,
body.shop-page .payment-options,
body.shop-page .promo-row,
body.shop-page .affiliate-row,
body.shop-page .invoice-fields,
body.shop-page .account-v15-content-grid,
body.shop-page .account-v15-stats,
body.shop-page .order-grid,
body.shop-page .customer-order,
body.shop-page .wish-grid,
body.shop-page .wish-card,
body.shop-page .address-layout,
body.shop-page .form-grid,
body.shop-page .notify-item,
body.shop-page .pdp-pincode-form,
body.shop-page .pdp-delivery-card,
body.shop-page .pdp-delivery-result{
  min-width:0;
  max-width:100%;
}

/* ---------------------------- TABLET ---------------------------- */
@media (max-width:1100px) and (min-width:769px){
  body.shop-page .cart-layout{grid-template-columns:minmax(0,1fr) 310px!important;gap:16px!important}
  body.shop-page-checkout .checkout-grid{grid-template-columns:minmax(0,1fr) 320px!important;gap:16px!important}
  body.shop-page .products-grid{gap:14px!important}
  body.shop-page .pdp-hero{gap:16px!important}
}

@media (max-width:920px) and (min-width:769px){
  body.shop-page-checkout .checkout-grid{grid-template-columns:1fr!important}
  body.shop-page-checkout .checkout-summary{position:static!important}
  body.shop-page-cart .cart-layout{grid-template-columns:1fr!important}
  body.shop-page-cart .cart-summary{position:static!important}
}

/* ---------------------------- MOBILE APP SHELL ---------------------------- */
@media (max-width:768px){
  body.shop-page{
    --sf17-nav-bottom:max(var(--sf17-nav-edge),env(safe-area-inset-bottom));
    --sf17-nav-top:calc(var(--sf17-nav-bottom) + var(--sf17-nav-height));
    padding-bottom:calc(var(--sf17-nav-height) + 18px + env(safe-area-inset-bottom))!important;
    background:var(--sf17-soft)!important;
  }

  body.shop-page .arogyam-site-header,
  body.shop-page .ash-mobile-header,
  body.shop-page .ash-mobile-inner,
  body.shop-page .ash-mobile-commerce-strip,
  body.shop-page .ash-mobile-delivery,
  body.shop-page .ash-mobile-search{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    left:0!important;
    right:0!important;
  }

  body.shop-page .ash-mobile-inner,
  body.shop-page .ash-mobile-commerce-strip{padding-left:12px!important;padding-right:12px!important}

  /* One bottom navigation geometry across every storefront page. */
  body.shop-page .arogyam-mobile-nav{
    display:grid!important;
    visibility:visible!important;
    opacity:1!important;
    pointer-events:auto!important;
    position:fixed!important;
    left:var(--sf17-nav-edge)!important;
    right:var(--sf17-nav-edge)!important;
    bottom:var(--sf17-nav-bottom)!important;
    width:auto!important;
    height:var(--sf17-nav-height)!important;
    min-height:var(--sf17-nav-height)!important;
    padding:5px!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    border:1px solid rgba(50,77,18,.10)!important;
    border-radius:24px!important;
    background:rgba(255,255,255,.97)!important;
    box-shadow:0 10px 34px rgba(31,51,10,.14)!important;
    overflow:visible!important;
    z-index:99990!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }

  body.shop-page .gmn-item{
    min-width:0!important;
    height:60px!important;
    padding:4px 2px!important;
    margin:0!important;
    transform:none!important;
    border-radius:16px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    gap:3px!important;
    font-size:9px!important;
    line-height:1.05!important;
  }

  body.shop-page .gmn-item.active{background:#eef5e8!important;color:var(--sf17-green)!important}
  body.shop-page .gmn-icon-wrap{position:relative!important;width:42px!important;height:38px!important;min-width:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:14px!important}
  body.shop-page .gmn-cart-item .gmn-icon-wrap{width:48px!important;height:44px!important;background:#eef5e8!important;color:var(--sf17-green)!important}
  body.shop-page .gmn-cart-item.active .gmn-icon-wrap{background:var(--sf17-green)!important;color:#fff!important}
  body.shop-page .gmn-cart-badge{top:-5px!important;right:-5px!important;left:auto!important;width:18px!important;height:18px!important;min-width:18px!important;padding:0!important;border-radius:50%!important;background:#df4653!important;color:#fff!important;border:2px solid #fff!important;font-size:8px!important;line-height:14px!important;text-align:center!important}
  body.shop-page .gmn-account-photo{width:28px!important;height:28px!important;border-radius:50%!important;overflow:hidden!important}
  body.shop-page .gmn-account-photo img{width:100%!important;height:100%!important;object-fit:cover!important}

  /* Default support launcher clears navigation; fixed-action pages override below. */
  body.shop-page .asc-launcher{
    right:12px!important;
    bottom:calc(var(--sf17-nav-top) + 12px)!important;
    z-index:99980!important;
  }

  /* Generic page paddings. */
  body.shop-page .cart-wrap,
  body.shop-page .checkout-wrap,
  body.shop-page .orders-wrap,
  body.shop-page .order-wrap,
  body.shop-page .address-wrap,
  body.shop-page .notify-page,
  body.shop-page .ret-page,
  body.shop-page .reward-page,
  body.shop-page .account-v15-page{
    width:100%!important;
    padding-left:10px!important;
    padding-right:10px!important;
    overflow-x:hidden!important;
  }

  /* ---------------------------- PRODUCTS ---------------------------- */
  body.shop-page-products .products-container{padding-left:10px!important;padding-right:10px!important}
  body.shop-page-products .products-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body.shop-page-products .product-card{min-width:0!important;width:100%!important;padding:9px!important;border-radius:18px!important}
  body.shop-page-products .product-img-wrapper{width:100%!important;aspect-ratio:1/1!important;min-height:0!important}
  body.shop-page-products .product-img{width:100%!important;height:100%!important;object-fit:contain!important}
  body.shop-page-products .gallery-thumbnails{gap:5px!important;overflow-x:auto!important}
  body.shop-page-products .thumb-img{flex:0 0 38px!important;width:38px!important;height:38px!important}

  /* ---------------------------- PDP ---------------------------- */
  body.shop-page-product{
    padding-bottom:calc(var(--sf17-nav-height) + var(--sf17-action-height) + 38px + env(safe-area-inset-bottom))!important;
  }
  body.shop-page-product .pdp-v16{width:100%!important;padding-left:0!important;padding-right:0!important;padding-bottom:calc(var(--sf17-nav-height) + var(--sf17-action-height) + 44px + env(safe-area-inset-bottom))!important;overflow-x:hidden!important}
  body.shop-page-product .pdp-breadcrumb{display:none!important}
  body.shop-page-product .pdp-gallery,body.shop-page-product .pdp-info{width:100%!important;max-width:100%!important}
  body.shop-page-product .pdp-main-media{width:100%!important;max-width:100%!important;height:min(88vw,420px)!important}
  body.shop-page-product .pdp-thumb-rail{width:100%!important;max-width:100%!important;overflow-x:auto!important;padding-left:2px!important;padding-right:2px!important}
  body.shop-page-product .pdp-mobile-bar{
    display:grid!important;
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    bottom:calc(var(--sf17-nav-top) + var(--sf17-action-gap))!important;
    width:auto!important;
    min-height:var(--sf17-action-height)!important;
    padding:8px!important;
    grid-template-columns:52px minmax(0,1fr) minmax(0,1.03fr)!important;
    gap:7px!important;
    border:1px solid rgba(53,79,20,.11)!important;
    border-radius:20px!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 9px 30px rgba(31,51,10,.14)!important;
    z-index:99978!important;
    backdrop-filter:blur(16px)!important;
    -webkit-backdrop-filter:blur(16px)!important;
  }
  body.shop-page-product .pdp-mobile-bar>a,
  body.shop-page-product .pdp-mobile-bar>button,
  body.shop-page-product .pdp-mobile-bar form button,
  body.shop-page-product .pdp-mobile-wishlist-form .pdp-mobile-heart{height:48px!important;min-width:0!important;border-radius:14px!important}
  body.shop-page-product .asc-launcher{bottom:calc(var(--sf17-nav-top) + var(--sf17-action-height) + 24px)!important}
  body.shop-page-product .pdp-toast{bottom:calc(var(--sf17-nav-top) + var(--sf17-action-height) + 26px)!important}
  body.shop-page-product .pdp-pincode-form{display:grid!important;grid-template-columns:minmax(0,1fr) 96px!important;gap:8px!important;width:100%!important}
  body.shop-page-product .pdp-pincode-form input{width:100%!important;min-width:0!important}
  body.shop-page-product .pdp-pincode-form button{width:96px!important;min-width:96px!important;margin:0!important}

  /* ---------------------------- CART ---------------------------- */
  body.shop-page-cart{
    padding-bottom:calc(var(--sf17-nav-height) + var(--sf17-action-height) + 38px + env(safe-area-inset-bottom))!important;
  }
  body.shop-page-cart .cart-wrap{padding-top:18px!important;padding-bottom:calc(var(--sf17-nav-height) + var(--sf17-action-height) + 48px + env(safe-area-inset-bottom))!important}
  body.shop-page-cart .cart-layout{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  body.shop-page-cart .cart-card{display:grid!important;grid-template-columns:82px minmax(0,1fr)!important;gap:11px!important;padding:12px!important;border-radius:18px!important}
  body.shop-page-cart .cart-img{width:82px!important;height:82px!important}
  body.shop-page-cart .cart-name{font-size:14px!important;line-height:1.32!important}
  body.shop-page-cart .cart-meta{font-size:10px!important;line-height:1.45!important}
  body.shop-page-cart .cart-price{font-size:18px!important}
  body.shop-page-cart .cart-tools{grid-column:1/-1!important;display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;gap:8px!important;align-items:center!important;width:100%!important;padding-top:10px!important;border-top:1px solid #edf0e9!important}
  body.shop-page-cart .qty-form{justify-self:start!important;display:flex!important;min-width:0!important}
  body.shop-page-cart .qty-form button{width:38px!important;height:40px!important;min-width:38px!important}
  body.shop-page-cart .qty-value{width:42px!important;min-height:40px!important}
  body.shop-page-cart .cart-secondary-actions{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr)!important;gap:6px!important;width:100%!important}
  body.shop-page-cart .remove-form{width:100%!important;min-width:0!important;margin:0!important}
  body.shop-page-cart .cart-tool-button{width:100%!important;min-width:0!important;min-height:40px!important;padding:0 7px!important;border:1px solid var(--sf17-line)!important;border-radius:11px!important;background:#fafcf8!important;font-size:9.5px!important;white-space:nowrap!important;overflow:hidden!important}
  body.shop-page-cart .cart-tool-copy{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.shop-page-cart .cart-summary{position:static!important;width:100%!important;padding:16px 16px 82px!important;border-radius:18px!important}
  body.shop-page-cart .checkout-btn{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    bottom:calc(var(--sf17-nav-top) + var(--sf17-action-gap))!important;
    width:auto!important;
    min-height:var(--sf17-action-height)!important;
    z-index:99978!important;
    border-radius:18px!important;
    box-shadow:0 10px 30px rgba(38,65,8,.25)!important;
  }
  body.shop-page-cart .asc-launcher{bottom:calc(var(--sf17-nav-top) + var(--sf17-action-height) + 24px)!important}

  /* ---------------------------- CHECKOUT ---------------------------- */
  body.shop-page-checkout{
    padding-bottom:calc(var(--sf17-nav-height) + var(--sf17-action-height) + 40px + env(safe-area-inset-bottom))!important;
  }
  body.shop-page-checkout .checkout-wrap{width:100%!important;padding:16px 10px calc(var(--sf17-nav-height) + var(--sf17-action-height) + 52px + env(safe-area-inset-bottom))!important;background:var(--sf17-soft)!important;overflow-x:hidden!important}
  body.shop-page-checkout .checkout-shell{width:100%!important;max-width:720px!important;margin:0 auto!important}
  body.shop-page-checkout .checkout-progress{display:flex!important;width:100%!important;overflow-x:auto!important;gap:5px!important;margin:0 0 12px!important;padding:2px 0 4px!important;white-space:nowrap!important;scrollbar-width:none!important}
  body.shop-page-checkout .checkout-progress::-webkit-scrollbar{display:none!important}
  body.shop-page-checkout .checkout-progress>span{flex:0 0 auto!important;min-height:32px!important;padding:7px 10px!important;border:1px solid var(--sf17-line)!important;border-radius:999px!important;background:#fff!important;font-size:9px!important}
  body.shop-page-checkout .checkout-progress>.is-current{background:#edf5e6!important;border-color:#cfdcbd!important;color:var(--sf17-green)!important}
  body.shop-page-checkout .checkout-progress>i{display:none!important}
  body.shop-page-checkout .checkout-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important;margin:0 0 12px!important}
  body.shop-page-checkout .checkout-head h1{font-size:23px!important;line-height:1.15!important;margin:0!important}
  body.shop-page-checkout .checkout-head p{font-size:10.5px!important;line-height:1.5!important;margin:4px 0 0!important}
  body.shop-page-checkout .checkout-back{flex:0 0 auto!important;min-height:42px!important;padding:9px 10px!important;border-radius:12px!important;font-size:10px!important}
  body.shop-page-checkout .checkout-grid{display:grid!important;grid-template-columns:1fr!important;gap:10px!important;width:100%!important}
  body.shop-page-checkout .checkout-main-column{min-width:0!important;width:100%!important}
  body.shop-page-checkout .checkout-card,body.shop-page-checkout .checkout-summary,body.shop-page-checkout .payment-box{width:100%!important;max-width:100%!important;min-width:0!important;border-radius:18px!important;padding:14px!important;margin-bottom:10px!important;box-shadow:none!important}
  body.shop-page-checkout .checkout-card h2{font-size:15px!important;line-height:1.3!important;margin-bottom:12px!important}
  body.shop-page-checkout .address-option{width:100%!important;padding:12px!important;border-radius:13px!important}
  body.shop-page-checkout .address-option p{font-size:10.5px!important;line-height:1.55!important;overflow-wrap:anywhere!important}
  body.shop-page-checkout .payment-options{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  body.shop-page-checkout .pay-option{width:100%!important;padding:12px!important}
  body.shop-page-checkout .promo-box{width:100%!important;padding:12px!important;border-radius:14px!important}
  body.shop-page-checkout .promo-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important;width:100%!important}
  body.shop-page-checkout .promo-row .promo-input{width:100%!important;min-width:0!important}
  body.shop-page-checkout .promo-row .promo-btn{min-width:86px!important;min-height:46px!important;padding:10px 12px!important}
  body.shop-page-checkout .promo-row .promo-btn.secondary{grid-column:2!important}
  body.shop-page-checkout .affiliate-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important;width:100%!important}
  body.shop-page-checkout .affiliate-row input{width:100%!important;min-width:0!important}
  body.shop-page-checkout .affiliate-row button,body.shop-page-checkout .affiliate-row a{min-width:82px!important;min-height:46px!important;display:flex!important;align-items:center!important;justify-content:center!important}
  body.shop-page-checkout .invoice-fields{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  body.shop-page-checkout .invoice-fields[hidden]{display:none!important}
  body.shop-page-checkout .invoice-fields .wide,body.shop-page-checkout .invoice-fields textarea{grid-column:auto!important}
  body.shop-page-checkout .checkout-summary{position:static!important;order:2!important;width:100%!important}
  body.shop-page-checkout .checkout-summary-card{padding-bottom:88px!important}
  body.shop-page-checkout .summary-item{min-width:0!important}
  body.shop-page-checkout .summary-item img{flex:0 0 54px!important;width:54px!important;height:54px!important}
  body.shop-page-checkout .sum-row{gap:10px!important;font-size:12px!important}
  body.shop-page-checkout .sum-row.total{font-size:17px!important}
  body.shop-page-checkout .place-order{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    bottom:calc(var(--sf17-nav-top) + var(--sf17-action-gap))!important;
    width:auto!important;
    min-height:var(--sf17-action-height)!important;
    margin:0!important;
    border-radius:18px!important;
    z-index:99978!important;
    box-shadow:0 10px 30px rgba(38,65,8,.25)!important;
  }
  body.shop-page-checkout .asc-launcher{bottom:calc(var(--sf17-nav-top) + var(--sf17-action-height) + 24px)!important}
  body.shop-page-checkout .payment-stage{padding-bottom:10px!important}
  body.shop-page-checkout .payment-stage .payment-box{max-width:100%!important;margin:0!important;padding:20px 14px!important}
  body.shop-page-checkout .payment-stage .payment-promise{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  body.shop-page-checkout .payment-stage .pay-now{min-height:54px!important}

  /* ---------------------------- ACCOUNT / ORDERS ---------------------------- */
  body.shop-page-account .account-v15-page{padding-top:14px!important;padding-bottom:98px!important}
  body.shop-page-account .account-v15-shell{width:100%!important}
  body.shop-page-account .account-v15-profile-card,body.shop-page-account .account-v15-menu-card{border-radius:20px!important}
  body.shop-page-account .account-v15-content-grid{grid-template-columns:1fr!important;gap:10px!important}
  body.shop-page-account .account-v15-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
  body.shop-page-orders .orders-wrap,body.shop-page-order .order-wrap{padding-top:16px!important;padding-bottom:100px!important}
  body.shop-page-orders .customer-order{width:100%!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
  body.shop-page-order .order-grid{grid-template-columns:1fr!important;gap:10px!important}
  body.shop-page-order .order-card{width:100%!important;min-width:0!important}

  /* ---------------------------- WISHLIST / REWARDS / ADDRESS / NOTIFY ---------------------------- */
  body.shop-page-wishlist .ret-page,body.shop-page-rewards .reward-page{padding-top:16px!important;padding-bottom:100px!important}
  body.shop-page-wishlist .wish-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body.shop-page-wishlist .wish-card{width:100%!important;min-width:0!important}
  body.shop-page-wishlist .wish-actions{display:grid!important;grid-template-columns:1fr!important;gap:6px!important}
  body.shop-page-rewards .reward-grid{grid-template-columns:1fr!important;gap:10px!important}
  body.shop-page-addresses .address-wrap{padding-top:16px!important;padding-bottom:100px!important}
  body.shop-page-addresses .address-layout{grid-template-columns:1fr!important;gap:10px!important}
  body.shop-page-addresses .form-grid{grid-template-columns:1fr!important}
  body.shop-page-addresses .field.full{grid-column:auto!important}
  body.shop-page-notifications .notify-page{padding-top:16px!important;padding-bottom:100px!important}
  body.shop-page-notifications .notify-item{grid-template-columns:auto minmax(0,1fr) auto!important;gap:10px!important}

  /* ---------------------------- INFO / CONTACT / POLICY ---------------------------- */
  body.shop-page-about .about-section,body.shop-page-contact .contact-wrapper,body.shop-page-privacy-policy .policy-container,body.shop-page-terms-conditions .policy-container,body.shop-page-shipping-policy .policy-container,body.shop-page-cancellation-policy .policy-container,body.shop-page-refund-policy .policy-container{padding-left:12px!important;padding-right:12px!important}
  body.shop-page-about .about-grid,body.shop-page-contact .contact-container{grid-template-columns:1fr!important;gap:12px!important}
  body.shop-page-contact .form-row{grid-template-columns:1fr!important}
  body.shop-page .page-banner{padding-left:14px!important;padding-right:14px!important}
}

/* Compact phones: Samsung browser zoom, older Android and small iPhones. */
@media (max-width:420px){
  :root{--sf17-nav-edge:6px;--sf17-nav-height:70px;--sf17-action-height:62px}
  body.shop-page .ash-mobile-inner,body.shop-page .ash-mobile-commerce-strip{padding-left:9px!important;padding-right:9px!important}
  body.shop-page .arogyam-mobile-nav{border-radius:21px!important;padding-left:3px!important;padding-right:3px!important}
  body.shop-page .gmn-item{font-size:8.5px!important}
  body.shop-page-product .pdp-mobile-bar{left:8px!important;right:8px!important;grid-template-columns:48px minmax(0,1fr) minmax(0,1.05fr)!important}
  body.shop-page-product .pdp-pincode-form{grid-template-columns:minmax(0,1fr) 88px!important}
  body.shop-page-product .pdp-pincode-form button{width:88px!important;min-width:88px!important;padding-left:8px!important;padding-right:8px!important}
  body.shop-page-cart .checkout-btn,body.shop-page-checkout .place-order{left:8px!important;right:8px!important}
  body.shop-page-checkout .checkout-head{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}
  body.shop-page-checkout .checkout-back{white-space:nowrap!important}
}

@media (max-width:360px){
  body.shop-page .gmn-item{font-size:8px!important}
  body.shop-page-products .products-grid{gap:7px!important}
  body.shop-page-products .product-card{padding:7px!important}
  body.shop-page-cart .cart-card{grid-template-columns:72px minmax(0,1fr)!important}
  body.shop-page-cart .cart-img{width:72px!important;height:72px!important}
  body.shop-page-cart .cart-tools{grid-template-columns:1fr!important}
  body.shop-page-cart .cart-secondary-actions{grid-template-columns:1fr 1fr!important}
  body.shop-page-checkout .checkout-head{grid-template-columns:1fr!important}
  body.shop-page-checkout .checkout-back{width:max-content!important}
  body.shop-page-checkout .promo-row,body.shop-page-checkout .affiliate-row{grid-template-columns:minmax(0,1fr) 76px!important}
  body.shop-page-checkout .promo-row .promo-btn,body.shop-page-checkout .affiliate-row button,body.shop-page-checkout .affiliate-row a{min-width:76px!important;padding-left:7px!important;padding-right:7px!important;font-size:10px!important}
  body.shop-page-wishlist .wish-grid{grid-template-columns:1fr!important}
}

/* Landscape phones: preserve access without swallowing the screen. */
@media (max-width:900px) and (max-height:500px) and (orientation:landscape){
  :root{--sf17-nav-height:62px;--sf17-action-height:56px}
  body.shop-page .arogyam-mobile-nav{height:62px!important;min-height:62px!important}
  body.shop-page .gmn-item{height:52px!important}
  body.shop-page-product .pdp-mobile-bar>a,body.shop-page-product .pdp-mobile-bar>button,body.shop-page-product .pdp-mobile-bar form button{height:42px!important}
}

@media (prefers-reduced-motion:reduce){
  body.shop-page *,body.shop-page *::before,body.shop-page *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* ============================================================
   v17.0.1 - HOME MOBILE HERO: preserve the full 1502x600 banner.
   The previous 16:9 + cover rule cropped the artwork on phones.
   ============================================================ */
@media (max-width:768px){
  body.shop-page-home .hero-carousel{
    background:#fff!important;
  }
  body.shop-page-home .carousel-item{
    aspect-ratio:1502 / 600!important;
    min-height:0!important;
    max-height:none!important;
    height:auto!important;
    background:#fff!important;
  }
  body.shop-page-home .carousel-item img{
    width:100%!important;
    height:100%!important;
    max-height:none!important;
    object-fit:contain!important;
    object-position:center center!important;
    display:block!important;
  }
}
