@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@700;800;900&family=Inter:wght@400;500;600;700&display=swap");

/* Mandal SuperMart — generated custom CSS for Tier-B (HtmlRenderer) sections.
   Uploaded to the store's dedicated generated-CSS file (site_settings.sx_css_location).
   Namespaced under .sx-* only; brand colour comes from the theme's --secondary-main. */

/* BEGIN shoopy-gen:base */
.sx{--sx-ink:#1c1c1c;--sx-ink-2:#3a3a3a;--sx-muted:#6f6f6f;--sx-line:#ececec;--sx-line-2:#dedede;--sx-tint:#ffe8e2;--sx-surface:#f7f7f7;--sx-leaf:#2ea044;--sx-leaf-ink:#1b7a33;--sx-leaf-soft:#e6f6ea;--sx-sun:#ffc400;--sx-radius:12px;--sx-radius-lg:18px;width:100%;box-sizing:border-box;color:var(--sx-ink);font-family:inherit}
.sx *{box-sizing:border-box}
.sx ul,.sx ol{list-style:none;margin:0;padding:0}
.sx-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;padding:0 20px;border-radius:var(--sx-radius);font-weight:700;font-size:15px;text-decoration:none;white-space:nowrap;border:1.5px solid transparent}
.sx-btn--primary{background:var(--secondary-main,#d60a0a);color:#fff}
.sx-btn--wa{background:var(--sx-leaf);color:#fff}
.sx-btn--wa:hover{background:var(--sx-leaf-ink)}
/* END shoopy-gen:base */

/* BEGIN shoopy-gen:usp-1 */
.sx-usp__list{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.sx-usp__item{display:flex;align-items:center;gap:10px;padding:10px 12px;border:1px solid var(--sx-line);border-radius:var(--sx-radius);background:#fff;min-width:0}
.sx-usp__icon{flex:none;width:38px;height:38px;border-radius:10px;background:var(--sx-tint);color:var(--secondary-main,#d60a0a);display:grid;place-items:center}
.sx-usp__txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.sx-usp__txt b{font-size:13px;font-weight:700;line-height:1.25}
.sx-usp__txt small{font-size:11.5px;color:var(--sx-muted);line-height:1.3}
@media (max-width:479px){.sx-usp__txt small{display:none}.sx-usp__icon{width:32px;height:32px}.sx-usp__item{padding:8px 10px;gap:8px}.sx-usp__txt b{font-size:12.5px}}
@media (min-width:768px){.sx-usp__list{grid-template-columns:repeat(4,1fr);gap:12px}.sx-usp__item{padding:14px 16px;gap:12px}.sx-usp__txt b{font-size:14px}.sx-usp__txt small{font-size:12px}}
/* END shoopy-gen:usp-1 */

/* BEGIN shoopy-gen:delivery-slots-1 */
.sx-slots{background:var(--sx-surface);border:1px solid var(--sx-line);border-radius:var(--sx-radius-lg);padding:22px 18px}
.sx-slots__head{max-width:640px}
.sx-slots__title{margin:0;font-size:22px;font-weight:800;line-height:1.15;letter-spacing:-.01em}
.sx-slots__sub{margin:6px 0 0;font-size:14px;color:var(--sx-ink-2);line-height:1.5}
.sx-slots__steps{display:grid;grid-template-columns:1fr;gap:10px;margin-top:18px;counter-reset:none}
.sx-slots__step{position:relative;display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:12px;row-gap:2px;align-items:center;background:#fff;border:1px solid var(--sx-line);border-radius:var(--sx-radius);padding:12px 14px}
.sx-slots__num{position:absolute;top:-8px;left:12px;width:20px;height:20px;border-radius:50%;background:var(--secondary-main,#d60a0a);color:#fff;font-size:11px;font-weight:800;display:grid;place-items:center}
.sx-slots__icon{grid-row:1/3;width:40px;height:40px;border-radius:10px;background:var(--sx-tint);color:var(--secondary-main,#d60a0a);display:grid;place-items:center}
.sx-slots__step b{font-size:14px;font-weight:700}
.sx-slots__step small{font-size:12.5px;color:var(--sx-muted);line-height:1.35}
.sx-slots__pick{margin-top:18px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.sx-slots__label{font-size:13px;font-weight:700;color:var(--sx-ink-2);white-space:nowrap}
.sx-slots__chips{display:flex;flex-wrap:wrap;gap:8px}
.sx-slots__chip{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:999px;background:#fff;border:1.5px solid var(--sx-line-2);font-size:13px;font-weight:600}
.sx-slots__chip:not(.is-full){border-color:var(--sx-leaf);color:var(--sx-leaf-ink);background:var(--sx-leaf-soft)}
.sx-slots__chip.is-full{color:var(--sx-muted);text-decoration:line-through}
.sx-slots__chip em{font-style:normal;font-size:10px;text-decoration:none;background:var(--sx-line);color:var(--sx-muted);padding:2px 6px;border-radius:999px}
.sx-slots__cta{margin-top:18px;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.sx-slots__addr{font-size:12.5px;color:var(--sx-muted)}
@media (min-width:768px){.sx-slots{padding:32px}.sx-slots__title{font-size:28px}.sx-slots__steps{grid-template-columns:repeat(3,1fr);gap:14px;margin-top:22px}.sx-slots__step{padding:16px 18px}.sx-slots__cta{flex-direction:row;align-items:center;gap:18px}}
/* END shoopy-gen:delivery-slots-1 */

/* ===== zippy theme chrome + native sections (theme-fixed in the store; mirrored here) ===== */
:root{
  --secondary-main:#d60a0a; --red-deep:#a80606; --rose:#ffe8e2; --cream:#fff6f0;
  --sun:#ffc400; --sun-soft:#fff3cc; --leaf:#2ea044; --leaf-ink:#1b7a33; --leaf-soft:#e6f6ea;
  --ink:#1c1c1c; --ink-2:#3a3a3a; --muted:#6f6f6f; --line:#ececec; --line-2:#dedede; --bg:#fff; --bg-2:#f7f7f7;
  --font-head:"Nunito Sans",system-ui,sans-serif; --font-body:"Inter",system-ui,sans-serif;
  --r-sm:8px; --r-md:12px; --r-lg:18px; --r-pill:999px; --wrap:1240px; --gap:40px;
}
*{box-sizing:border-box} html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font-body);color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;padding-bottom:64px}
img{display:block;max-width:100%} a{color:inherit;text-decoration:none} button{font:inherit;cursor:pointer}
ul{list-style:none;margin:0;padding:0}
h1,h2,h3{font-family:var(--font-head);margin:0}
.wrap{max-width:var(--wrap);margin:0 auto;padding:0 16px}
.sec{margin-top:var(--gap)}
.sec__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:14px}
.sec__head h2{font-size:20px;font-weight:800;letter-spacing:-.01em}
.sec__head p{margin:4px 0 0;font-size:13px;color:var(--muted)}
.sec__head a{font-size:13px;font-weight:700;color:var(--secondary-main);white-space:nowrap}
.sec__head a::after{content:" ›"}
@media (min-width:768px){body{padding-bottom:0}.sec__head h2{font-size:24px}:root{--gap:52px}}

/* notice bar (Tier C: header.notice_*) */
.notice{background:var(--secondary-main);color:#fff;font-size:13px;font-weight:600;text-align:center;padding:8px 12px;line-height:1.35}
.notice b{color:var(--sun);font-weight:800}
.notice .sep{opacity:.6;margin:0 6px}
@media (max-width:767px){.notice .hide-m{display:none}}

/* header (Tier C) */
.hdr{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.hdr__row{display:flex;align-items:center;gap:12px;height:60px}
.hdr__logo img{height:36px;width:auto}
.loc{display:none;align-items:center;gap:8px;padding:6px 10px;border:1px solid var(--line-2);border-radius:var(--r-pill);font-size:13px;line-height:1.1;flex:none}
.loc svg{flex:none;color:var(--secondary-main)} .loc b{display:block;font-weight:700} .loc small{color:var(--muted);font-size:12px}
.eta{background:var(--leaf-soft);color:var(--leaf-ink);font-weight:700;font-size:11px;padding:3px 7px;border-radius:var(--r-pill);white-space:nowrap}
.search{flex:1;min-width:0;display:flex;align-items:center;gap:8px;background:var(--bg-2);border:1px solid var(--line);border-radius:var(--r-md);padding:0 12px;height:42px;color:var(--muted);font-size:14px}
.search svg{flex:none} .search span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hdr__icons{display:flex;align-items:center;gap:6px;margin-left:auto;flex:none}
.ibtn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:var(--r-md);border:0;background:transparent;color:var(--ink)}
.ibtn .n{position:absolute;top:4px;right:4px;background:var(--secondary-main);color:#fff;font-size:10px;font-weight:700;min-width:16px;height:16px;border-radius:8px;display:grid;place-items:center;padding:0 4px}
.cartbtn{display:none;align-items:center;gap:8px;background:var(--secondary-main);color:#fff;font-weight:700;font-size:14px;padding:0 16px;height:42px;border-radius:var(--r-md);border:0}
.cartbtn:hover{background:var(--red-deep)}
.hdr__search-m{padding:0 0 10px}
.loc--m{display:flex;border:0;padding:0 0 8px;font-size:12px;gap:6px} .loc--m b{display:inline;font-weight:700} .loc--m small{font-size:12px}
@media (min-width:768px){.loc{display:flex}.loc--m,.hdr__search-m{display:none}.cartbtn{display:inline-flex}.ibtn--cart{display:none}.hdr__logo img{height:44px}.hdr__row{height:72px;gap:16px}}
@media (max-width:767px){.search--d,.ibtn--acc{display:none}}

/* hero — StoreBanner (offers carousel). Copy is live text here; in the store it is baked into each offer image. */
.hero{margin-top:12px}
.hero__track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;scrollbar-width:none;border-radius:var(--r-lg)}
.hero__track::-webkit-scrollbar{display:none}
.hero__slide{flex:0 0 100%;scroll-snap-align:start;position:relative;border-radius:var(--r-lg);overflow:hidden;background:var(--cream);display:flex;flex-direction:column}
.hero__slide--2{background:#fff4ec}
.hero__art{position:relative;flex:none;aspect-ratio:9/6;overflow:hidden}
.hero__art img{width:100%;height:100%;object-fit:cover;object-position:center bottom}
.hero__copy{position:relative;z-index:1;padding:22px 18px 6px}
.kicker{display:inline-flex;align-items:center;gap:6px;background:#fff;color:var(--secondary-main);font-weight:800;font-size:11px;letter-spacing:.04em;text-transform:uppercase;padding:6px 10px;border-radius:var(--r-pill);box-shadow:0 1px 2px rgba(0,0,0,.08)}
.hero h1,.hero h2{font-size:29px;line-height:1.08;font-weight:900;margin:12px 0 10px;letter-spacing:-.01em;text-wrap:balance}
.hero em{font-style:normal;color:var(--secondary-main)}
.hero p{margin:0 0 16px;font-size:14px;line-height:1.5;color:var(--ink-2);max-width:460px}
.hero__cta{display:flex;gap:10px;flex-wrap:wrap}
.hero__dots{display:flex;justify-content:center;gap:6px;margin-top:10px}
.hero__dots a{width:8px;height:8px;border-radius:50%;background:var(--line-2);transition:width .2s}
.hero__dots a.on{width:22px;background:var(--secondary-main)}
/* tablet: copy stacked above the full 8:3 campaign image (the product haul fills the right two-thirds, so an overlay would collide) */
@media (min-width:768px){
  .hero__art{aspect-ratio:8/3} .hero__art img{object-position:center}
  .hero__copy{padding:28px 28px 6px} .hero h1,.hero h2{font-size:34px} .hero p{font-size:15px;max-width:560px}
}
/* laptop/desktop: overlay. The slide keeps the image's own 8:3 ratio (no crop) and the copy stays inside the empty
   wall on the left third; the art is anchored left so, if the copy ever grows taller, only the right edge is trimmed */
@media (min-width:1024px){
  .hero__slide{display:block;aspect-ratio:8/3}
  .hero__art{position:absolute;inset:0;aspect-ratio:auto} .hero__art img{object-position:left center}
  .hero__copy{padding:32px 36px;max-width:34%} .hero h1,.hero h2{font-size:36px;margin:10px 0 8px} .hero p{font-size:15px;margin-bottom:14px}
}
@media (min-width:1200px){.hero__copy{padding:44px 48px}.hero h1,.hero h2{font-size:44px}.hero p{font-size:16px}}

/* buttons (theme) */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;padding:0 20px;border-radius:var(--r-md);font-weight:700;font-size:15px;border:1.5px solid transparent;white-space:nowrap}
.btn--primary{background:var(--secondary-main);color:#fff} .btn--primary:hover{background:var(--red-deep)}
.btn--ghost{background:#fff;color:var(--ink);border-color:var(--line-2)} .btn--ghost:hover{border-color:var(--ink)}
.btn--wa{background:var(--leaf);color:#fff}
.btn--sm{height:38px;padding:0 14px;font-size:14px}

/* categories — ProductCategoriesV2 (grid; store category_settings) */
.cats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.cat{display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center}
.cat__img{width:100%;aspect-ratio:1;border-radius:var(--r-md);overflow:hidden;background:var(--rose);border:1px solid #ffd9cf}
.cat__img img{width:100%;height:100%;object-fit:cover;transition:transform .2s} .cat:hover .cat__img img{transform:scale(1.05)}
.cat b{font-size:12px;font-weight:700;line-height:1.25} .cat small{font-size:11px;color:var(--muted);display:block;margin-top:2px}
@media (min-width:640px){.cats{grid-template-columns:repeat(5,1fr);gap:12px}}
@media (min-width:768px){.cats{grid-template-columns:repeat(7,1fr);gap:14px}.cat b{font-size:13px}}

/* product rows — ProductGridCollection (is_horizontal: true) · zippy compact card with ADD stepper */
.prow{position:relative}
.prow__track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 10px)/2.25);gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:4px;scrollbar-width:none}
.prow__track::-webkit-scrollbar{display:none}
.pcard{scroll-snap-align:start;background:#fff;border:1px solid var(--line);border-radius:var(--r-md);padding:10px;display:flex;flex-direction:column;gap:6px;min-width:0}
.pcard__img{position:relative;border-radius:var(--r-sm);overflow:hidden;background:#fff;aspect-ratio:1}
.pcard__img img{width:100%;height:100%;object-fit:contain}
.badge{position:absolute;top:8px;left:8px;background:var(--sun);color:var(--ink);font-weight:800;font-size:11px;padding:4px 7px;border-radius:6px}
.pcard__unit{font-size:12px;color:var(--muted)} .pcard__name{font-size:14px;font-weight:600;line-height:1.3;min-height:36px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pcard__row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto}
.price{font-weight:800;font-size:15px} .mrp{font-size:12px;color:var(--muted);text-decoration:line-through;margin-left:4px}
.add{height:34px;min-width:68px;padding:0 12px;border-radius:var(--r-sm);border:1.5px solid var(--secondary-main);background:#fff;color:var(--secondary-main);font-weight:800;font-size:13px;letter-spacing:.04em;flex:none}
.add[data-qty]:not([data-qty="0"]){background:var(--secondary-main);color:#fff;display:inline-flex;align-items:center;justify-content:space-between;gap:10px;padding:0 10px}
.add[data-qty]:not([data-qty="0"])::before{content:"−"} .add[data-qty]:not([data-qty="0"])::after{content:"+"}
.prow__nav{display:none;position:absolute;top:38%;width:38px;height:38px;border-radius:50%;background:#fff;border:1px solid var(--line-2);box-shadow:0 2px 8px rgba(0,0,0,.1);align-items:center;justify-content:center;z-index:2}
.prow__nav--l{left:-14px} .prow__nav--r{right:-14px}
@media (min-width:640px){.prow__track{grid-auto-columns:calc((100% - 24px)/3)}}
@media (min-width:768px){.prow__track{grid-auto-columns:calc((100% - 36px)/4);gap:12px}}
@media (min-width:1024px){.prow__track{grid-auto-columns:calc((100% - 48px)/5);gap:12px}.prow__nav{display:flex}}

/* promo banner — BannerCollection (content_position top-left) */
.promo{position:relative;border-radius:var(--r-lg);overflow:hidden;background:var(--secondary-main);color:#fff}
.promo picture img{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
.promo__content{position:absolute;top:25%;left:0;padding:0 18px;max-width:70%} /* BannerCollection content_position custom top:25% — visually centred on desktop, above the art on mobile */
.promo__content p{display:none} /* mobile: title + CTA only (what BannerCollection renders); the art fills the bottom 60 % */
.promo__content h2{font-size:26px;line-height:1.1;font-weight:900}
.promo__content p{margin:8px 0 14px;font-size:14px;line-height:1.45;opacity:.95}
.promo__content .ban-cont-button{display:inline-flex;align-items:center;height:42px;padding:0 18px;border-radius:var(--r-md);background:var(--sun);color:var(--ink);font-weight:800;font-size:14px}
@media (min-width:768px){.promo picture img{aspect-ratio:1560/560}.promo__content{padding:0 40px;max-width:52%}.promo__content h2{font-size:30px}.promo__content p{display:block;font-size:15px;margin:6px 0 12px}}
@media (min-width:1024px){.promo__content h2{font-size:38px}.promo__content p{font-size:16px;margin:8px 0 14px}}

/* feature cards — LargeCollectionCard ×3 (desktop_cols 4) */
.feats{display:grid;grid-template-columns:1fr;gap:12px}
.feat{position:relative;border-radius:var(--r-md);overflow:hidden;border:1px solid var(--line)}
.feat img{width:100%;height:auto;aspect-ratio:800/500;object-fit:cover;transition:transform .25s} .feat:hover img{transform:scale(1.03)}
.feat__content{position:absolute;inset:0;padding:18px;display:flex;flex-direction:column;justify-content:center;max-width:50%}
.feat__content h3{font-size:20px;font-weight:800;line-height:1.1} .feat__content small{font-size:12px;color:var(--ink-2);margin:4px 0 10px}
.feat__content .cta{font-size:13px;font-weight:800;color:var(--secondary-main)} .feat__content .cta::after{content:" →"}
@media (min-width:768px){.feats{grid-template-columns:repeat(3,1fr);gap:14px}.feat__content{padding:20px}.feat__content h3{font-size:21px}}

/* footer (Tier C: footer_settings.type = 4_column_premium) */
.ftr{margin-top:var(--gap);background:var(--bg-2);border-top:1px solid var(--line);padding:32px 0 24px;font-size:14px}
.ftr__grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.ftr__brand{grid-column:1/-1} .ftr__brand img{height:40px;width:auto;margin-bottom:12px}
.ftr__brand p{margin:0 0 12px;color:var(--ink-2);line-height:1.5;max-width:360px}
.ftr h3{font-size:14px;font-weight:800;margin-bottom:10px;text-transform:uppercase;letter-spacing:.04em}
.ftr li{margin:6px 0;color:var(--ink-2)} .ftr li a:hover{color:var(--secondary-main)}
.ftr__contact li{display:flex;gap:8px;align-items:flex-start} .ftr__contact svg{flex:none;color:var(--secondary-main);margin-top:2px}
.ftr__pay{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px} .ftr__pay span{border:1px solid var(--line-2);background:#fff;border-radius:6px;padding:4px 8px;font-size:12px;font-weight:600}
.ftr__bottom{border-top:1px solid var(--line-2);margin-top:24px;padding-top:16px;display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between;font-size:12px;color:var(--muted)}
.social{display:flex;gap:8px} .social a{width:34px;height:34px;border-radius:50%;background:#fff;border:1px solid var(--line-2);display:grid;place-items:center}
@media (min-width:768px){.ftr{padding-bottom:72px}.ftr__grid{grid-template-columns:1.5fr 1fr 1fr 1.2fr}.ftr__brand{grid-column:auto}}

/* zippy chrome: mobile bottom nav + WhatsApp float */
.bnav{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(5,1fr);height:60px;padding-bottom:env(safe-area-inset-bottom)}
.bnav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10.5px;font-weight:600;color:var(--muted);position:relative}
.bnav a.on{color:var(--secondary-main)} .bnav .n{position:absolute;top:6px;left:calc(50% + 4px);background:var(--secondary-main);color:#fff;font-size:10px;font-weight:700;min-width:16px;height:16px;border-radius:8px;display:grid;place-items:center}
.wa{position:fixed;right:14px;bottom:74px;z-index:60;width:52px;height:52px;border-radius:50%;background:var(--leaf);color:#fff;display:grid;place-items:center;box-shadow:0 6px 18px rgba(46,160,68,.4)}
@media (min-width:768px){.bnav{display:none}.wa{bottom:24px;right:24px;width:auto;height:48px;border-radius:var(--r-pill);padding:0 18px 0 14px;gap:8px;font-weight:700;font-size:14px;display:inline-flex;align-items:center}.wa span{display:inline}}
.wa span{display:none}

/* =====================================================================
   BEGIN shoopy-gen:preview-match  (2026-10-17)
   Native easy-checkout theme overrides so the live store reads like the
   Mandal SuperMart preview: Nunito Sans 800 section titles, peach category
   tiles, dark prices, a yellow "% OFF" badge on the product image, red ADD
   buttons, 1640px sections, and the 4-up peach category grid on mobile.
   CSS only -- nothing above this block is changed or removed.
   ===================================================================== */
:root{
  --ms-red:#d60a0a;        /* brand red (matches --secondary-main) */
  --ms-ink:#1c1c1c;
  --ms-muted:#6f6f6f;
  --ms-line:#ececec;
  --ms-peach:#ffe8e2;      /* category tile background (preview) */
  --ms-peach-line:#ffd9cf;
  --ms-amber:#ffc400;      /* "% OFF" badge (preview) */
}

/* ---- 1. All sections -> 1640px max-width, centered ---- */
.page-container{max-width:1640px !important;margin-left:auto !important;margin-right:auto !important;}

/* ---- 2. Section headings -> Nunito Sans 800, preview size ---- */
.heading-title,
.category-header,
.section-heading{
  font-family:"Nunito Sans",system-ui,sans-serif !important;
  font-weight:800 !important;
  font-size:clamp(22px,2.4vw,28px) !important;
  letter-spacing:-.02em !important;
  color:var(--ms-ink) !important;
}

/* ---- 3. Category tiles -> peach rounded image card + bold name ---- */
.cat-card-img-container,
.cat-card-img-root{
  background:var(--ms-peach) !important;
  border:1px solid var(--ms-peach-line) !important;
  border-radius:12px !important;
  overflow:hidden !important;
}
.cat-card-img{border-radius:12px !important;}
.cat-card-title{
  font-weight:700 !important;
  font-size:14px !important;
  color:var(--ms-ink) !important;
}

/* ---- 4. Product card -> white, 12px radius, bordered (preview) ---- */
.product-card{
  border:1px solid var(--ms-line) !important;
  border-radius:12px !important;
}
.product-card-name{
  font-weight:600 !important;
  font-size:14px !important;
  color:var(--ms-ink) !important;
}
/* Price -> dark bold (preview uses dark text, not a green pill) */
.product-card-price,
.product-card-price *,
.product-card-price-container{
  background:transparent !important;
  border:0 !important;
  color:var(--ms-ink) !important;
  font-weight:800 !important;
  font-size:15px !important;
  padding:0 !important;
}
.product-card-mrp-price{color:var(--ms-muted) !important;text-decoration:line-through !important;font-weight:500 !important;}
/* Discount -> yellow "% OFF" pill, pinned to the product image top-left (preview) */
.product-card-discount-amount{
  position:absolute !important;
  top:8px !important;
  left:8px !important;
  z-index:3 !important;
  background:var(--ms-amber) !important;
  color:var(--ms-ink) !important;
  font-size:11px !important;
  font-weight:800 !important;
  line-height:1 !important;
  letter-spacing:0 !important;
  padding:4px 7px !important;
  border-radius:6px !important;
  text-decoration:none !important;
}
/* ADD button -> red outline (preview). Sold-out keeps the theme's grey. */
.product-card-add-button:not(.product-card-sold-out){
  color:var(--ms-red) !important;
  background:#fff !important;
  border:1.5px solid var(--ms-red) !important;
  border-radius:8px !important;
  font-weight:800 !important;
  letter-spacing:.04em !important;
}

/* ---- 5. Product detail page -> preview design language ---- */
.product-title{
  font-family:"Nunito Sans",system-ui,sans-serif !important;
  font-weight:800 !important;
  font-size:clamp(22px,2.2vw,28px) !important;
  letter-spacing:-.01em !important;
  color:var(--ms-ink) !important;
}
.product-price,
.product-price *{
  background:transparent !important;
  border:0 !important;
  color:var(--ms-ink) !important;
  font-weight:800 !important;
  font-size:26px !important;
  padding:0 !important;
}
.product-mrp-price{color:var(--ms-muted) !important;text-decoration:line-through !important;}
.product-discount{color:var(--ms-red) !important;font-weight:700 !important;background:transparent !important;}
/* Main CTA -> solid red */
.product-detail-action-button{
  background:var(--ms-red) !important;
  border:1px solid var(--ms-red) !important;
  color:#fff !important;
  border-radius:10px !important;
  font-weight:700 !important;
}

/* ---- 6. Mobile -> bring back the 4-up peach category grid (preview) ---- */
@media screen and (max-width:767px){
  /* theme hides the "Shop by category" grid on phones; show it like the preview */
  .section-item .cat-section{display:flex !important;}
  .cat-section .recommended-theme-mode-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:10px !important;}
  .cat-section .cat-card-title{font-size:12px !important;}
}
/* END shoopy-gen:preview-match */

/* =====================================================================
   refine-537003.css — Mandal SuperMart (537003), round 1, 26 Oct 2026
   Source of truth for our CSS. Appended after live_backup/mandalsupermart_live.css
   (= the preview chrome CSS + the 17 Oct "preview-match" block, kept as-is).
   Target: ~/playground/theme-preview2/preview/mandal-supermart (zippy, red #d60a0a).
   Selectors are the page-builder storefront's real classes (checked in the live DOM).
   Each rule says what was wrong.
   ===================================================================== */

:root{
  --ms-red:#d60a0a; --ms-red-deep:#a80606; --ms-ink:#1c1c1c; --ms-ink-2:#3a3a3a; --ms-muted:#6f6f6f;
  --ms-line:#ececec; --ms-line-2:#dedede; --ms-bg-2:#f7f7f7; --ms-rose:#ffe8e2; --ms-rose-line:#ffd9cf;
  --ms-sun:#ffc400; --ms-head:"Nunito Sans",system-ui,sans-serif; --ms-body:"Inter",system-ui,sans-serif;
}

/* ---- 1. One content column: preview wrap = 1240px incl. 16px gutters.
        Live had header, USP strip and product grids on 1640px (17 Oct block) while
        hero / bachat / quick picks / footer sat on 1240px. ---- */
.page-container, .page-container-s, .sx-import-wrap{
  max-width:1240px !important; margin-left:auto !important; margin-right:auto !important;
}
@media (min-width:768px){
  .page-container, .page-container-s, .sx-import-wrap{ padding-left:16px !important; padding-right:16px !important; }
}
/* hero: the theme's 12px slider root padding pushed the hero slide 12px inside every other
   section (28 vs 16px) whenever the viewport is narrower than the 1240 column + 24px */
@media (max-width:1279px){
  .hero-banner-root{ padding-left:0 !important; padding-right:0 !important; }
}
/* the mock has no slider arrows at any width (dots only) */
.hero-banner-card .banner-nav-btn{ display:none !important; }

/* ---- 2. Vertical rhythm: preview --gap = 40px phone / 52px desktop between sections,
        16px between the hero dots and the USP strip. Live gaps were 24/77/52/25/58/57/113. ---- */
main .grid.section{ padding-top:40px !important; padding-bottom:0 !important; }
main .grid.section.section-0{ padding-top:0 !important; }           /* empty StoreBanner slot */
main .grid.section.section-1{ padding-top:0 !important; }           /* USP strip: the hero root already leaves ~30px under the dots */
.ProductGridCollection-component .page-container.my-6,
.ProductInfiniteScroll-component .my-6{ margin-top:0 !important; margin-bottom:0 !important; }
.ProductInfiniteScroll-component .mb-7{ margin-bottom:0 !important; }
footer.ftr{ margin-top:40px !important; }
/* our HTML sections carry the preview's own spacers (section.wrap.sec margin-top 52px, the delivery
   wrapper's 33px) on top of the section padding → doubled gaps of 104/85px. Zero them; the section pads. */
main .grid.section .wrap.sec{ margin-top:0 !important; margin-bottom:0 !important; }
main .grid.section .sx-import-wrap{ padding-top:0 !important; padding-bottom:0 !important; margin-top:0 !important; margin-bottom:0 !important; }
main .grid.section .sx-slots, main .grid.section .sx-usp{ margin:0 !important; }
@media (min-width:768px){
  main .grid.section{ padding-top:52px !important; }
  main .grid.section.section-1{ padding-top:0 !important; }
  footer.ftr{ margin-top:52px !important; }
}

/* ---- 3. Section headings: preview 20px phone / 24px desktop, Nunito Sans 800, ink;
        "View all ›" 13px/700 red. Live: 28px headings, "See All" 15px #000. ---- */
.heading-title, .section-heading, .sh-section-heading h2{
  font-family:var(--ms-head) !important; font-weight:800 !important; font-size:20px !important;
  line-height:1.2 !important; letter-spacing:-.01em !important; color:var(--ms-ink) !important; margin:0 !important;
}
.collection-header{ align-items:baseline !important; margin-top:0 !important; margin-bottom:14px !important; padding-top:0 !important; }
.ProductGridCollection-component .product-collection{ margin-top:0 !important; padding-top:0 !important; }
.shop-all-link, .shop-all-link span{ color:var(--ms-red) !important; font-size:13px !important; font-weight:700 !important; }
.shop-all-link svg{ width:14px; height:14px; }
@media (min-width:768px){
  .heading-title, .section-heading, .sh-section-heading h2{ font-size:24px !important; }
}

/* ---- 4. Product card (home rows, /products, category pages) → preview .pcard:
        unit line above a 2-line name, 15/800 price + struck MRP, yellow "% OFF" badge on the
        image, red-outline ADD (34px, 8px radius) beside the price. Live: theme blue-grey text,
        discount as navy text in the price row, full-width pill button. ---- */
.product-card{ position:relative !important; border:1px solid var(--ms-line) !important; border-radius:12px !important; background:#fff !important; box-shadow:none !important; }
.product-card-image-container{ border-radius:8px 8px 0 0 !important; }
.product-card-info{ display:flex !important; flex-direction:column !important; gap:4px !important; padding:10px !important; }
.product-card-category{ order:-1; font-size:12px !important; line-height:1.3 !important; color:var(--ms-muted) !important; margin:0 !important; }
.product-card-brand{
  font-size:14px !important; font-weight:600 !important; line-height:1.3 !important; color:var(--ms-ink) !important; margin:0 !important;
  white-space:normal !important; display:-webkit-box !important; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden !important; min-height:36px;
}
.product-card-footer{ display:flex !important; align-items:center !important; justify-content:space-between !important; flex-wrap:wrap !important; gap:6px 8px !important; margin-top:auto !important; }
.product-card-pricing-row{ display:flex !important; align-items:baseline !important; flex-wrap:wrap !important; gap:0 4px !important; margin:0 !important; }
.product-card-sale-price, .product-card-sale-price span{ font-size:15px !important; font-weight:800 !important; color:var(--ms-ink) !important; }
.product-card-mrp, .product-card-mrp span{ font-size:12px !important; font-weight:500 !important; color:var(--ms-muted) !important; text-decoration:line-through !important; }
.product-card-discount-percent{
  position:absolute !important; top:8px !important; left:8px !important; z-index:2 !important;
  background:var(--ms-sun) !important; color:var(--ms-ink) !important; font-size:11px !important; font-weight:800 !important;
  line-height:1 !important; letter-spacing:0 !important; padding:4px 7px !important; border-radius:6px !important; margin:0 !important;
}
.product-card-actions, .product-card-add-wrapper{ flex:none !important; width:auto !important; margin:0 !important; }
.product-card-btn{
  height:34px !important; min-width:68px !important; width:auto !important; padding:0 12px !important;
  border-radius:8px !important; font-size:13px !important; font-weight:800 !important; letter-spacing:.04em !important; line-height:1 !important;
}
.product-card-add-to-bag:not([disabled]){ background:#fff !important; color:var(--ms-red) !important; border:1.5px solid var(--ms-red) !important; }
.product-card-add-to-bag:not([disabled]):hover{ background:var(--ms-red) !important; color:#fff !important; }
.product-card-add-to-bag[disabled]{ background:#f5f5f6 !important; color:#94969f !important; border:1px solid #d4d5d9 !important; font-size:11px !important; }
/* in-cart state: the theme's qty stepper collapsed to a ~30px red box; preview flips ADD into a solid red "− 1 +" pill of the same size */
.product-card-quantity-selector{
  display:inline-flex !important; align-items:center !important; justify-content:space-between !important; gap:8px !important;
  height:34px !important; min-width:68px !important; width:auto !important; padding:0 8px !important; margin:0 !important;
  border-radius:8px !important; background:var(--ms-red) !important; border:1.5px solid var(--ms-red) !important; color:#fff !important;
}
.product-card-quantity-selector .qty-btn{ width:20px !important; height:30px !important; min-width:0 !important; padding:0 !important; margin:0 !important; background:transparent !important; border:0 !important; color:#fff !important; display:inline-flex !important; align-items:center !important; justify-content:center !important; }
.product-card-quantity-selector .qty-btn svg{ width:12px; height:12px; stroke:#fff; fill:#fff; }
.product-card-quantity-selector .qty-value{ color:#fff !important; font-size:13px !important; font-weight:800 !important; min-width:12px; text-align:center; }
@media (max-width:479px){
  /* 2-up cards are 135px wide: price + ADD do not fit on one row, so the button takes the next row full width */
  .product-card-actions, .product-card-add-wrapper{ flex:1 1 100% !important; }
  .product-card-btn{ width:100% !important; min-width:0 !important; padding:0 10px !important; }
  .product-card-quantity-selector{ width:100% !important; }
  /* PDP: "ADD TO BAG" wrapped to two lines in a 161px button at 375 */
  .product-detail-buttons-container button{ font-size:13px !important; padding:0 6px !important; gap:6px !important; letter-spacing:0 !important; }
  .product-card-info{ padding:8px !important; }
  /* delivery section's WhatsApp button (nowrap, 326px) overflowed a 357px viewport by 4px */
  .sx-btn{ max-width:100%; white-space:normal !important; text-align:center; height:auto !important; min-height:46px; padding:10px 14px !important; line-height:1.25; }
}

/* ---- 5. Header → preview .hdr: hairline bottom border, ink nav (not uppercase navy),
        grey 12px search box, red "Bag" button. ---- */
header.desktop-header{ border-bottom:1px solid var(--ms-line); }
.desktop-nav .nav-link{ color:var(--ms-ink) !important; font-size:13px !important; font-weight:600 !important; text-transform:none !important; letter-spacing:0 !important; }
.desktop-nav .nav-link:hover{ color:var(--ms-red) !important; }
.sh-header-search-box{ background:var(--ms-bg-2) !important; border:1px solid var(--ms-line) !important; border-radius:12px !important; height:42px !important; box-shadow:none !important; }
.desktop-action-item{ color:var(--ms-ink); font-weight:600; }
.desktop-cart-button{
  background:var(--ms-red) !important; color:#fff !important; border-radius:12px !important; height:42px !important; padding:0 16px !important;
  display:inline-flex !important; flex-direction:row !important; align-items:center !important; gap:8px !important; font-weight:700 !important; font-size:14px !important;
}
.desktop-cart-button:hover{ background:var(--ms-red-deep) !important; }
.desktop-cart-button svg{ stroke:#fff; }
.desktop-cart-label{ font-size:14px !important; font-weight:700 !important; color:#fff !important; margin:0 !important; }

/* ---- 6. Product page → preview language: ink Nunito 800 name, 26/800 price, yellow badge,
        red Buy Now + red-outline Add to bag (46px, 12px radius), Inter breadcrumb. Live: grey
        20px/400 name, Arial breadcrumb, pink gradient badge, green tax line, navy 4px buttons. ---- */
.breadcrumb, .breadcrumb a, .breadcrumb span{ font-family:var(--ms-body) !important; font-size:13px !important; color:var(--ms-muted) !important; }
.breadcrumb .current{ color:var(--ms-ink) !important; }
h2.product-subtitle-main{
  font-family:var(--ms-head) !important; font-weight:800 !important; font-size:clamp(22px,2.2vw,28px) !important;
  line-height:1.15 !important; letter-spacing:-.01em !important; color:var(--ms-ink) !important;
}
.product-price-main, .product-price-main span{ font-size:26px !important; font-weight:800 !important; color:var(--ms-ink) !important; }
.product-mrp-main{ color:var(--ms-muted) !important; font-size:15px !important; }
.product-discount-main{
  background:var(--ms-sun) !important; background-image:none !important; color:var(--ms-ink) !important;
  font-size:12px !important; font-weight:800 !important; padding:4px 8px !important; border-radius:6px !important; clip-path:none !important;
}
.product-discount-main::before, .product-discount-main::after{ display:none !important; }
.product-tax-info{ color:var(--ms-muted) !important; font-size:12px !important; }
.product-detail-buttons-container button{ height:46px !important; border-radius:12px !important; font-weight:700 !important; font-size:15px !important; }
.buy-now-btn{ background:var(--ms-red) !important; border:1.5px solid var(--ms-red) !important; color:#fff !important; }
.buy-now-btn:hover{ background:var(--ms-red-deep) !important; border-color:var(--ms-red-deep) !important; }
.add-to-bag-btn{ background:#fff !important; color:var(--ms-red) !important; border:1.5px solid var(--ms-red) !important; }
.add-to-bag-btn svg{ stroke:var(--ms-red); }
.expandable-section-title, .details-content h1, .details-content h2, .details-content h3, .details-content h4{
  font-family:var(--ms-head) !important; font-weight:800 !important; color:var(--ms-ink) !important;
}
.details-content p, .details-content li{ color:var(--ms-ink-2) !important; line-height:1.7 !important; }

/* ---- 7. Listing / category page title: theme 16px #282C3F H1 → section-title style. ---- */
main h1[class*="text-[16px]"]{ font-family:var(--ms-head) !important; font-weight:800 !important; font-size:24px !important; color:var(--ms-ink) !important; letter-spacing:-.01em; }
main h1[class*="text-[16px]"] span{ font-size:14px !important; font-weight:500 !important; color:var(--ms-muted) !important; }

/* ---- 8. "Shop by category" HTML section (our collection at position 1) → preview .cats:
        4 / 5 / 7 columns, square rose tiles, 12px radius, bold 12–13px labels. ---- */
.ms-cats{ display:grid; grid-template-columns:repeat(4,1fr); gap:10px; list-style:none; margin:0; padding:0; }
.ms-cat{ display:flex; flex-direction:column; align-items:center; gap:6px; text-align:center; min-width:0; }
.ms-cat a{ display:block; width:100%; color:inherit; text-decoration:none; }
.ms-cat__img{ width:100%; aspect-ratio:1; border-radius:12px; overflow:hidden; background:var(--ms-rose); border:1px solid var(--ms-rose-line); }
.ms-cat__img img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .2s; }
.ms-cat:hover .ms-cat__img img{ transform:scale(1.05); }
.ms-cat b{ display:block; margin-top:6px; font-size:12px; font-weight:700; line-height:1.25; color:var(--ms-ink); }
.ms-sec__head{ display:flex; align-items:baseline; justify-content:space-between; gap:12px; margin-bottom:14px; }
.ms-sec__head h2{ font-family:var(--ms-head); font-size:20px; font-weight:800; letter-spacing:-.01em; color:var(--ms-ink); margin:0; }
.ms-sec__head p{ margin:4px 0 0; font-size:13px; color:var(--ms-muted); }
.ms-sec__head a{ font-size:13px; font-weight:700; color:var(--ms-red); white-space:nowrap; text-decoration:none; }
.ms-sec__head a::after{ content:" ›"; }
@media (min-width:640px){ .ms-cats{ grid-template-columns:repeat(5,1fr); gap:12px; } }
@media (min-width:768px){ .ms-cats{ grid-template-columns:repeat(7,1fr); gap:14px; } .ms-cat b{ font-size:13px; } .ms-sec__head h2{ font-size:24px; } }


/* =====================================================================
   Round 2 (26 Oct 2026) — side-by-side with the rendered mock
   ===================================================================== */
/* ---- 9. Header → mock: no category menu (setting menu_bar_show=false), one wide grey search box
        with a static placeholder, account icon without "Login" text, red "My cart" button. ---- */
.desktop-header-nav, nav.desktop-nav{ display:none !important; }
.desktop-header-center{ flex:1 1 auto !important; max-width:none !important; }
.desktop-header-search, .desktop-header-search .search-shell{ max-width:none !important; width:100% !important; }
.desktop-header .st-dynamic-placeholder .st-placeholder-text{ font-size:0 !important; }
.desktop-header .st-dynamic-placeholder .st-placeholder-text::before{ content:"Search atta, dal, masala, soap\2026"; font-size:14px; color:var(--ms-muted); }
.desktop-header .st-blinking-cursor{ display:none !important; }
.desktop-header-right .desktop-action-item > span,
.desktop-header-right .desktop-action-item > div > span{ display:none !important; }   /* "Login" label; icon stays */
.desktop-cart-label{ font-size:0 !important; }
.desktop-cart-label::after{ content:"My cart"; font-size:14px; font-weight:700; color:#fff; }
/* ---- 10. Section heads → mock "View all ›" (theme: "See All" + chevron) and a one-line subtitle under
        the two product rows. Subtitles are keyed on section order (USP 1, categories 2, deals 3, bachat 4,
        quick picks 5, essentials 6); re-check them if collections are reordered. ---- */
.shop-all-link span{ font-size:0 !important; gap:0 !important; }
.shop-all-link span::before{ content:"View all \203A"; font-size:13px; font-weight:700; color:var(--ms-red); white-space:nowrap; }
.shop-all-link svg{ display:none !important; }
main .grid.section.section-3 .collection-header .heading::after,
main .grid.section.section-6 .collection-header .heading::after{
  display:block; margin-top:4px; font-family:var(--ms-body); font-size:13px; font-weight:400; color:var(--ms-muted); letter-spacing:0;
}
main .grid.section.section-3 .collection-header .heading::after{ content:"Supermarket prices, delivered \2014 MRP shown so you see the saving"; }
main .grid.section.section-6 .collection-header .heading::after{ content:"The things every Umerkote kitchen runs out of"; }
/* ---- 11. Notice bar → mock: yellow bold ₹99, middle dots, payment part hidden on phones.
        The notice_message is now the mock's HTML; these rules style it. ---- */
.notice .notice-message{ font-size:13px; font-weight:600; line-height:1.35; }
.notice .notice-message b{ color:var(--ms-sun); font-weight:800; }
.notice .notice-message .sep{ opacity:.6; margin:0 6px; }
@media (max-width:767px){ .notice .notice-message .hide-m{ display:none; } }
/* ---- 12. WhatsApp float (mock .wa) — the theme renders none, so the anchor lives in our
        "Shop by category" HTML collection (home page only). Sits above the phone bottom nav. ---- */
.ms-wa{ position:fixed; right:14px; bottom:74px; z-index:60; width:52px; height:52px; border-radius:50%; background:#2ea044; color:#fff; display:grid; place-items:center; box-shadow:0 6px 18px rgba(46,160,68,.4); text-decoration:none; }
.ms-wa span{ display:none; }
@media (min-width:768px){ .ms-wa{ bottom:24px; right:24px; width:auto; height:48px; border-radius:999px; padding:0 18px 0 14px; gap:8px; font-weight:700; font-size:14px; display:inline-flex; align-items:center; } .ms-wa span{ display:inline; } }
/* while the store is closed the theme's sticky 52px "We are Closed" bar sits over the float → lift it */
body:has(.store-closed-notice) .ms-wa{ bottom:126px; }
@media (min-width:768px){ body:has(.store-closed-notice) .ms-wa{ bottom:76px; } }
/* ---- 13. Phone header search → mock .search (grey, 12px radius, hairline); theme had white 20px pill ---- */
header.mobile-header-v2 .header-search-container .search-box, header .header-search-container .search-box.search-box{ background:var(--ms-bg-2) !important; background-color:var(--ms-bg-2) !important; border:1px solid var(--ms-line) !important; border-radius:12px !important; box-shadow:none !important; }  /* theme wins with `.mobile-header-v2 .header-search-container .search-box` !important (3 classes) → beat it with element + 3 classes */

/* ---- 14. Bachat banner corners: .promo has radius 18px + overflow hidden, but the <a> is display:inline
        in this theme, so overflow never clipped the image (square corners). Block-ify it. ---- */
main .promo.sh-banner-img-ctn{ display:block !important; border-radius:18px !important; overflow:hidden !important; }
main .promo.sh-banner-img-ctn picture img{ border-radius:18px !important; }

/* ---- 15. "We are Closed!" strip (theme StoreClosed; shown because store.status = PAUSED, see
        shoopy-web-store components/Utils/Util.js). Was a 52px pink bar with bold 14px text, read like an
        error and covered the floating cart. Now a slim informational bar on the brand's pale-yellow tint, and
        the copy says what the shopper can still do. Text is replaced visually; the h6's own text is
        visibility:hidden so screen readers get only the new sentence. ---- */
.store-closed-notice{ height:auto !important; min-height:40px !important; padding:9px 16px !important; background:#fff3cc !important; border-top:1px solid #ffe08a !important; color:var(--ms-ink) !important; }
.store-closed-notice svg{ width:18px; height:18px; color:var(--ms-red); }
.store-closed-notice .store-closed-message-container > div{ display:flex; align-items:center; gap:8px; }
.store-closed-notice-message{ visibility:hidden; font-size:0 !important; line-height:1.3 !important; margin:0 !important; }
.store-closed-notice-message::after{
  content:"Store paused right now \2014\00a0 browse and add to your cart; ordering resumes as soon as we reopen.";  /* \00a0 + space: the space only terminates the escape */
  visibility:visible; font-family:var(--ms-body); font-size:13px; font-weight:600; color:var(--ms-ink); white-space:normal;
}
@media (max-width:767px){
  .store-closed-notice-message::after{ content:"Store paused \2014\00a0 browse now, order later."; font-size:12px; }
  .store-closed-notice{ padding:8px 12px !important; min-height:36px !important; }
  .store-closed-notice svg{ width:16px; height:16px; }
  /* the theme's sticky strip sat 12px under its own 68px bottom nav; keep it above the nav */
  .store-closed-notice{ bottom:68px !important; }
  /* the theme's floating "Cart · 1 item" pill sat on top of the strip */
  body:has(.store-closed-notice) .floating-cart-button{ bottom:124px !important; }
  body:has(.store-closed-notice) .ms-wa{ bottom:130px; }
}
