/* /grocery/assets/grocery.css */
:root{
  --bg:#f4f6fb;
  --text:#0f172a;
  --muted:#64748b;
  --brand:#0ca9a9;
  --brand2:#1f7aec;
  --card:#ffffff;
  --line:#e6e8ef;
  --shadow:0 12px 28px rgba(0,0,0,.06);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:var(--bg);
  color:var(--text);
}

/* 2% side margin feel */
.gWrap{
  width:96%;
  margin:0 auto;
  padding:14px 0 24px;
}

/* HERO */
.hero{padding:10px 0 12px}
.heroInner{
  width:100%;
  margin:0 auto;
}

.slider{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  min-height:320px;
  background:linear-gradient(135deg, rgba(12,169,169,.14), rgba(31,122,236,.14));
}

.slide{
  position:absolute;
  inset:0;
  opacity:0;
  transform:scale(1.02);
  transition:opacity .35s ease, transform .35s ease;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
}

/* different slide tints */
.slide:nth-child(1){background:linear-gradient(135deg, rgba(12,169,169,.25), rgba(31,122,236,.25))}
.slide:nth-child(2){background:linear-gradient(135deg, rgba(31,122,236,.22), rgba(99,102,241,.22))}
.slide:nth-child(3){background:linear-gradient(135deg, rgba(16,185,129,.20), rgba(12,169,169,.22))}

.slide.active{
  opacity:1;
  transform:scale(1);
  position:relative;
}

.slideGlass{
  width:min(980px, 100%);
  border-radius:20px;
  border:1px solid rgba(255,255,255,.45);
  background:rgba(255,255,255,.70);
  backdrop-filter: blur(10px);
  padding:18px 18px 16px;
}

.slideBadge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  color:#0b1220;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(0,0,0,.06);
}

.slideTitle{
  margin:10px 0 6px;
  font-size:30px;
  letter-spacing:.2px;
  line-height:1.15;
}
.slideDesc{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
  max-width:780px;
}

.slideCtas{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}

.navArrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:44px;height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.55);
  background:rgba(255,255,255,.55);
  cursor:pointer;
  font-size:26px;
  font-weight:900;
  color:#0b1220;
  display:flex;
  align-items:center;
  justify-content:center;
}
.navArrow:hover{filter:brightness(1.02)}
.navArrow.left{left:12px}
.navArrow.right{right:12px}

.dots{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  bottom:12px;
  display:flex;
  gap:8px;
}
.dot{
  width:10px;height:10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.85);
  background:rgba(255,255,255,.55);
  cursor:pointer;
}
.dot.on{background:rgba(255,255,255,.95)}

/* STRIP */
.strip{padding:10px 0 14px}
.stripInner{
  border-radius:18px;
  background:linear-gradient(135deg, rgba(12,169,169,.16), rgba(31,122,236,.16));
  border:1px solid var(--line);
  box-shadow:var(--shadow);
  padding:14px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.stripTitle{
  font-weight:1000;
  font-size:16px;
}
.stripSub{
  color:var(--muted);
  font-size:12px;
  margin-top:4px;
}
.stripBtns{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:11px 14px;
  border-radius:14px;
  text-decoration:none;
  font-weight:900;
  border:1px solid transparent;
  cursor:pointer;
  user-select:none;
  white-space:nowrap;
}

.btnPrimary{
  color:#fff;
  background:var(--brand);
  border-color:rgba(12,169,169,.55);
}
.btnPrimary:hover{filter:brightness(.96)}

.btnOutline{
  color:var(--brand2);
  background:#fff;
  border-color:rgba(31,122,236,.35);
}
.btnOutline:hover{filter:brightness(.99)}

.btnGhost{
  color:#0b1220;
  background:rgba(255,255,255,.58);
  border:1px solid rgba(255,255,255,.65);
}
.btnGhost:hover{filter:brightness(1.02)}

/* CARDS SECTION */
.cardsSec{padding:8px 0 6px}
.secHead{
  padding:8px 2px 10px;
}
.secHead h2{
  margin:0;
  font-size:20px;
  letter-spacing:.2px;
}
.secHead p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}

/* GRID */
.grid{
  display:grid;
  gap:14px;
  grid-template-columns:repeat(4, 1fr);
}
@media(max-width:1100px){ .grid{grid-template-columns:repeat(3,1fr)} }
@media(max-width:850px){ .grid{grid-template-columns:repeat(2,1fr)} }
@media(max-width:540px){ .grid{grid-template-columns:1fr} }

.gCard{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  min-height:260px;
}
.gCard:hover{
  transform:translateY(-2px);
  transition:.18s ease;
  border-color:rgba(31,122,236,.35);
}

.gImg{
  height:140px;
  background-size:cover;
  background-position:center;
  border-bottom:1px solid var(--line);
}

.gBody{
  padding:12px 12px 14px;
  display:flex;
  flex-direction:column;
  gap:6px;
  flex:1;
}
.gTitle{
  font-weight:1000;
  font-size:15px;
}
.gSub{
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}
.gFoot{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.pill{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(31,122,236,.10);
  border:1px solid rgba(31,122,236,.18);
  color:var(--brand2);
  font-weight:900;
  font-size:12px;
}
.arrow{
  font-weight:900;
  color:#0b1220;
  font-size:12px;
}

/* mobile tuning */
@media(max-width:560px){
  .slideTitle{font-size:22px}
  .navArrow{display:none}
  .gCard{min-height:240px}
}

/* Grocery header/footer */
.gTop{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid #eef2f7}
.gTopInner{width:min(1200px,96vw);margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0}
.gBrand{display:flex;align-items:center;gap:10px;text-decoration:none;color:inherit;font-weight:1000}
.gDot{width:12px;height:12px;border-radius:50%;background:linear-gradient(135deg,var(--brand),var(--brand2))}
.gNav{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.gNav a{color:#0b1220;text-decoration:none;font-weight:800;font-size:13px;padding:8px 10px;border-radius:12px}
.gNav a:hover{background:rgba(31,122,236,.08)}
.gPill{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:999px;background:rgba(31,122,236,.12);border:1px solid rgba(31,122,236,.18);color:var(--brand2);font-weight:900;font-size:12px}

.gFoot{border-top:1px solid #eef2f7;background:#fff}
.gFootInner{width:min(1200px,96vw);margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0}

@media(max-width:640px){
  .gTopInner{flex-direction:column;align-items:flex-start}
  .gNav{width:100%}
}
