/* NexMart — storefront theme: brand, flyer carousel, categories, offers.
   Loaded after shop.css so it can refine the existing components. */

/* ---------- Brand lockup ---------- */
.topbar { background: var(--grad-brand); }
.brand { gap: 12px; }
.brand img, .brand svg { filter: drop-shadow(0 2px 6px rgb(3 32 79 / .5)); }
.brand-lockup { display: grid; line-height: 1; }
.brand-word { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.03em; color: #fff; }
.brand-word i { font-style: normal; color: var(--sky); }
.brand-tag { font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgb(255 255 255 / .62); margin-top: 3px; }
@media (max-width: 760px) {
  .brand-tag { display: none; }
  .brand-word { font-size: 1.2rem; }
  /* shop.css injects a hardcoded shop-name label here for the old markup */
  .brand::after { content: none !important; }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) { .trust { grid-template-columns: 1fr; } }

/* ---------- Announcement ticker ---------- */
.ticker {
  background: linear-gradient(90deg, #0F7A38 0%, #16A34A 45%, #0EA5A5 100%); color: #fff; overflow: hidden; position: relative;
  font-size: .85rem; font-weight: 600; --dur: 34s;
}
.ticker-track { display: flex; gap: 48px; width: max-content; padding: 9px 0; animation: ticker var(--dur) linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker span { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; color: rgb(255 255 255 / .95); }
.ticker span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--amber-2); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Flyer carousel (admin-managed advertisements) ---------- */
.flyers { max-width: 1320px; margin: 18px auto 0; padding: 0 clamp(12px, 3vw, 28px); }
.flyer-box {
  position: relative; border-radius: var(--r-l); overflow: hidden; background: var(--leaf);
  box-shadow: var(--shadow-3); aspect-ratio: 1200 / 420;
}
@media (max-width: 760px) {
  .flyer-box { aspect-ratio: 3 / 2; }
  /* keep the artwork motif (badge, scooter) in frame when cover-cropping */
  .flyer-img { object-position: 72% center; }
}
.flyer-track {
  display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain; scroll-behavior: smooth;
}
.flyer-track::-webkit-scrollbar { display: none; }
.flyer {
  position: relative; flex: 0 0 100%; width: 100%; min-width: 100%; height: 100%;
  scroll-snap-align: start; scroll-snap-stop: always;
  display: block; text-decoration: none; color: #fff; overflow: hidden;
}
.flyer-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Slow drift keeps the advert feeling alive without distracting from the copy */
.flyer.on .flyer-img { animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.03) translate3d(0, 0, 0); } to { transform: scale(1.11) translate3d(-1.5%, -1%, 0); } }
.flyer::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgb(3 32 79 / .92) 0%, rgb(6 42 102 / .72) 42%, rgb(6 42 102 / .05) 72%);
}
@media (max-width: 760px) { .flyer::after { background: linear-gradient(0deg, rgb(3 32 79 / .95) 30%, rgb(6 42 102 / .25) 100%); } }
.flyer-copy {
  position: absolute; z-index: 2; inset: 0 auto 0 0; width: min(56%, 620px);
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: clamp(20px, 4vw, 54px);
}
@media (max-width: 760px) { .flyer-copy { width: 100%; justify-content: flex-end; gap: 8px; } }
.flyer-kind {
  align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; background: rgb(255 255 255 / .16); color: #fff;
  backdrop-filter: blur(4px); border: 1px solid rgb(255 255 255 / .22);
}
.flyer-kind.k-discount { background: var(--grad-sale); border-color: transparent; }
.flyer-kind.k-delivery { background: var(--grad-green); border-color: transparent; }
.flyer-kind.k-hours { background: var(--grad-amber); border-color: transparent; color: #26180A; }
.flyer-kind.k-promo { background: rgb(139 92 246 / .85); border-color: transparent; }
.flyer h2 { font-size: clamp(1.45rem, 3.6vw, 3rem); font-weight: 800; color: #fff; }
.flyer p { margin: 0; font-size: clamp(.9rem, 1.4vw, 1.1rem); color: rgb(255 255 255 / .84); max-width: 34em; }
.flyer .btn { align-self: flex-start; margin-top: 6px; }
/* Each slide's content animates in as it becomes the active one */
.flyer.on .flyer-kind, .flyer.on h2, .flyer.on p, .flyer.on .btn { animation: slide-up .6s var(--ease-out) backwards; }
.flyer.on h2 { animation-delay: .07s; } .flyer.on p { animation-delay: .14s; } .flyer.on .btn { animation-delay: .2s; }
@keyframes slide-up { from { opacity: 0; transform: translateY(18px); } }

.flyer-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: rgb(255 255 255 / .92); color: var(--leaf); box-shadow: var(--shadow-2);
  opacity: 0; transition: opacity .25s, transform .2s;
  &:hover { transform: translateY(-50%) scale(1.08); }
  svg { width: 20px; height: 20px; }
}
.flyer-box:hover .flyer-nav, .flyer-nav:focus-visible { opacity: 1; }
@media (hover: none) { .flyer-nav { opacity: .85; } }
.flyer-nav.prev { left: 14px; } .flyer-nav.next { right: 14px; }

.flyer-dots { position: absolute; z-index: 4; left: clamp(20px, 4vw, 54px); bottom: 18px; display: flex; gap: 8px; }
@media (max-width: 760px) { .flyer-dots { left: 50%; transform: translateX(-50%); } }
.flyer-dots button {
  width: 26px; height: 5px; border-radius: 3px; border: 0; padding: 0; background: rgb(255 255 255 / .38);
  transition: background .25s, width .25s;
  &[aria-current="true"] { background: var(--sky); width: 44px; }
}

/* ---------- Trust strip ---------- */
.trust {
  max-width: 1320px; margin: 16px auto 0; padding: 0 clamp(12px, 3vw, 28px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px;
}
.trust > div {
  display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-m); padding: 12px 16px; box-shadow: var(--shadow-1);
  transition: transform .25s var(--ease-out), box-shadow .25s;
  &:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
}
.trust > div > div { display: grid; gap: 2px; min-width: 0; }
.trust svg { width: 26px; height: 26px; flex: none; color: var(--blue); }
.trust b { display: block; font-size: .95rem; }
.trust span { font-size: .8rem; color: var(--muted); }

/* ---------- Section heading banner ---------- */
.band {
  max-width: 1320px; margin: 40px auto 18px; padding: 0 clamp(12px, 3vw, 28px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.band-title { display: flex; align-items: center; gap: 12px; }
.band-title h2 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 800; }
.band-title .dash { width: 6px; height: 30px; border-radius: 3px; background: var(--grad-sky); flex: none; }
.band p { margin: 2px 0 0; font-size: .9rem; color: var(--muted); }

/* ---------- Category circles ---------- */
.cats { position: relative; max-width: 1320px; margin: 0 auto; padding: 4px clamp(12px, 3vw, 28px) 8px; }
.cat-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 128px; gap: clamp(10px, 1.6vw, 20px);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 10px 2px 16px;
}
.cat-scroll::-webkit-scrollbar { display: none; }
@media (max-width: 520px) { .cat-scroll { grid-auto-columns: 104px; } }
.cat {
  scroll-snap-align: start; display: grid; justify-items: center; gap: 10px; text-decoration: none;
  color: var(--ink); background: none; border: 0; padding: 0;
}
.cat-ring {
  width: 108px; height: 108px; border-radius: 50%; padding: 4px; background: var(--grad-ring);
  display: grid; place-items: center; transition: transform .3s var(--ease-spring), box-shadow .3s;
  box-shadow: 0 8px 20px -12px rgb(6 42 102 / .8);
}
@media (max-width: 520px) { .cat-ring { width: 88px; height: 88px; } }
.cat:hover .cat-ring, .cat:focus-visible .cat-ring { transform: translateY(-6px) scale(1.05); box-shadow: 0 16px 30px -14px rgb(6 42 102 / .9); }
.cat-face {
  width: 100%; height: 100%; border-radius: 50%; background: var(--paper); overflow: hidden;
  display: grid; place-items: center; position: relative;
}
.cat-face img { width: 100%; height: 100%; object-fit: contain; padding: 14%; transition: transform .35s var(--ease-out); }
.cat:hover .cat-face img { transform: scale(1.12); }
.cat-face .initial { font: 800 2rem var(--f-display); color: var(--leaf-2); }
.cat-face.tint { background: var(--c, var(--blue-soft)); }
.cat-name { font-size: .82rem; font-weight: 700; text-align: center; line-height: 1.2; }
.cat-count { font-size: .72rem; color: var(--muted); margin-top: -6px; }
.cat[aria-pressed="true"] .cat-ring { background: var(--grad-sale); }

/* ---------- Horizontal product rail (offers) ---------- */
.rail-wrap { position: relative; max-width: 1320px; margin: 0 auto; padding: 0 clamp(12px, 3vw, 28px); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(168px, 17vw, 214px);
  gap: clamp(10px, 1.5vw, 18px); overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: none; padding: 6px 2px 18px;
}
.rail::-webkit-scrollbar { display: none; }
@media (max-width: 520px) { .rail { grid-auto-columns: 58vw; } }
.rail > .card { scroll-snap-align: start; }
.rail-btn {
  position: absolute; top: calc(50% - 20px); transform: translateY(-50%); z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper);
  color: var(--leaf); display: grid; place-items: center; box-shadow: var(--shadow-2);
  transition: transform .2s, opacity .2s;
  &:hover { transform: translateY(-50%) scale(1.1); }
  &[disabled] { opacity: 0; pointer-events: none; }
  svg { width: 18px; height: 18px; }
}
.rail-btn.prev { left: 2px; } .rail-btn.next { right: 2px; }

/* ---------- Offer badges & pricing ---------- */
.tag.sale {
  left: 8px; top: 8px; width: 44px; height: 44px; border-radius: 50%; padding: 0;
  background: var(--grad-sale); color: #fff; display: grid; place-content: center; line-height: 1;
  font: 800 .92rem/1 var(--f-display); box-shadow: 0 6px 14px -6px rgb(225 29 72 / .9);
  animation: badge-pop .45s var(--ease-spring) backwards;
}
.tag.sale small { display: block; font-size: .56rem; letter-spacing: .08em; font-weight: 800; margin-top: 2px; }
@keyframes badge-pop { from { transform: scale(.4); opacity: 0; } }
.card.on-offer { box-shadow: 0 0 0 1.5px rgb(225 29 72 / .28), var(--shadow-1); }

.price.is-sale { color: var(--sale); }
.price s { font: 600 .78rem/1.2 var(--f-body); color: var(--muted); text-decoration-thickness: 1.5px; }
.price-lg { font-size: 2rem; }

.saving-line { display: flex; justify-content: space-between; font-weight: 700; color: var(--ok); font-size: .9rem; }

/* ---------- Card polish ---------- */
.card { transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.card-media img { transition: transform .4s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.07); }
.card-media { overflow: hidden; }

/* ---------- Compact hero (sits under the flyers) ---------- */
.hero-lite {
  max-width: 1320px; margin: 30px auto 0; padding: 0 clamp(12px, 3vw, 28px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(16px, 3vw, 40px); align-items: center;
}
@media (max-width: 860px) { .hero-lite { grid-template-columns: 1fr; } }
.hero-lite h1 { font-size: clamp(1.8rem, 4vw, 3.1rem); font-weight: 800; }
.hero-lite .hero-sub { color: var(--muted); margin: 14px 0 22px; font-size: clamp(1rem, 1.3vw, 1.1rem); max-width: 34em; }
.hero-lite .hero-sub strong { color: var(--leaf-2); }
.hero-kicker { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-weight: 650; color: var(--muted); font-size: .92rem; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgb(14 159 110 / .7); animation: pulse 2s infinite; flex: none; }
.live-dot.closed { background: var(--chili); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgb(14 159 110 / 0); } }
.hero-check { min-height: 1.5em; margin: 14px 0 0; font-weight: 650; color: var(--leaf-2); }
.hero-check.bad { color: var(--chili); }
.hero-card {
  background: var(--grad-brand); color: #fff; border-radius: var(--r-l); padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-3); display: grid; gap: 14px; position: relative; overflow: hidden;
}
.hero-card::before {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; top: -110px;
  background: radial-gradient(circle, rgb(56 198 255 / .5), transparent 70%);
}
.hero-card h3 { font-size: 1.3rem; color: #fff; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; color: rgb(255 255 255 / .86); }
.hero-card li { display: flex; gap: 10px; align-items: flex-start; }
.hero-card li::before { content: "✓"; color: var(--sky); font-weight: 800; flex: none; }

/* Shop closed notice */
.closed-note {
  max-width: 1320px; margin: 16px auto 0; padding: 14px 18px; border-radius: var(--r-m);
  background: #FFF1F4; border: 1px solid #FFD3DC; color: #8C0F2E; font-weight: 650;
  margin-inline: clamp(12px, 3vw, 28px);
}

/* ---------- Footer / how-it-works on the blue theme ---------- */
.footer { background: var(--grad-brand); }
.how-steps li { background: var(--paper); border: 1px solid var(--line); }
.how-steps li::before { color: var(--blue); }

/* Empty rail placeholder */
.rail-empty { padding: 26px; border: 1.5px dashed var(--line); border-radius: var(--r-l); text-align: center; color: var(--muted); background: var(--paper); }

/* ---------- Fixes for components reused from shop.css ---------- */
.flyer.no-img { background: var(--grad-brand); }
.flyer.no-img::after { background: linear-gradient(100deg, rgb(3 32 79 / .55), transparent 70%); }

/* Offers chip in the aisle bar */
.chip.chip-sale {
  border-color: rgb(225 29 72 / .35); color: var(--sale); font-weight: 750;
  &[aria-pressed="true"] { background: var(--grad-sale); border-color: transparent; color: #fff; }
}
.group-scroll .chip[aria-pressed="true"] { background: var(--leaf-2); color: #fff; border-color: var(--leaf-2); }

/* The product dialog needs a positioning context for the discount badge */
.pd-media { position: relative; }
.pd-price .price { display: grid; }
.pd-price .price s { font-size: 1rem; }

/* Hero copy sits on white now, not on the old dark panel */
.hero-lite .hero-sub { color: var(--muted); }
.hero-lite .hero-sub strong { color: var(--leaf-2); }
.hero-lite .hero-title { color: var(--ink); }

/* Keep the sale price legible inside the basket lines */
.line .l-sub s { color: var(--muted); }

/* The generated label tile has no photo, so keep its text clear of the discount badge */
.card.on-offer .label-art .la-brand { padding-left: 42px; min-height: 40px; }
.rail .card.on-offer .label-art .la-brand { padding-left: 40px; }

/* Skeleton placeholders follow the blue theme */
.skeleton { background: linear-gradient(90deg, #E2EBF9 25%, #F1F6FE 50%, #E2EBF9 75%); background-size: 200% 100%; }


/* ---------- Photographic section banner ---------- */
.band-photo { max-width: 1320px; margin: 46px auto 0; padding: 0 clamp(12px, 3vw, 28px); }
.band-photo .strip {
  position: relative; border-radius: var(--r-m); overflow: hidden; box-shadow: var(--shadow-1);
  height: clamp(62px, 8.5vw, 104px); display: grid; place-items: center;
}
.band-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band-photo .strip::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(3 32 79 / .88) 0%, rgb(6 42 102 / .48) 50%, rgb(3 32 79 / .88) 100%);
}
.band-photo h2 {
  position: relative; z-index: 1; color: #fff; text-transform: uppercase; letter-spacing: .045em;
  font-size: clamp(1.05rem, 2.5vw, 1.95rem); font-weight: 800; text-align: center; padding: 0 16px;
  text-shadow: 0 2px 14px rgb(0 0 0 / .55);
}
/* A thin colour rule under the strip ties the section to the palette */
.band-photo .strip::before {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--amber), var(--green), var(--purple), var(--sale));
}
.band-sub {
  max-width: 1320px; margin: 12px auto 4px; padding: 0 clamp(12px, 3vw, 28px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.band-sub p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ---------- Colour accents so the page is not monotone blue ---------- */
.trust > div:nth-child(1) svg { color: var(--green); }
.trust > div:nth-child(2) svg { color: var(--amber); }
.trust > div:nth-child(3) svg { color: var(--blue); }
.trust > div:nth-child(4) svg { color: var(--purple); }
.trust > div:nth-child(1) { border-top: 3px solid var(--green); }
.trust > div:nth-child(2) { border-top: 3px solid var(--amber); }
.trust > div:nth-child(3) { border-top: 3px solid var(--blue); }
.trust > div:nth-child(4) { border-top: 3px solid var(--purple); }

/* Category circles: white face + multicolour ring, as in a real grocery storefront */
.cat-face { background: #fff; }
.cat-face img { object-fit: cover; padding: 0; }
.cat-face.tint img { object-fit: contain; padding: 14%; }

.hero-card li::before { color: var(--green-2); }
.how-steps li::before { color: var(--green); }
.saving-line { color: var(--green); }
.bar.ok i { background: var(--grad-green); }

/* Banner theme chips used by the admin preview */
.flyer-kind.k-green { background: var(--grad-green); border-color: transparent; }
.flyer-kind.k-amber { background: var(--grad-amber); border-color: transparent; color: #26180A; }

/* Banner used as the product-grid heading: it already sits inside .shop's padding */
.band-photo.in-shop { max-width: none; margin: 0 0 14px; padding: 0; }
.shop-head { align-items: center; }

/* ================= Footer ================= */
.footer {
  background: var(--grad-brand); color: #fff; margin-top: 56px;
  padding: clamp(36px, 5vw, 64px) clamp(16px, 4vw, 48px) 0;
  display: block; position: relative; overflow: hidden;
}
/* Soft light bloom so the flat gradient does not look like a plain block */
.footer::before {
  content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  right: -180px; top: -320px; pointer-events: none;
  background: radial-gradient(circle, rgb(56 198 255 / .32), transparent 70%);
}
.footer::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--amber), var(--green), var(--purple), var(--sale));
}
.foot-top {
  position: relative; max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: clamp(22px, 3vw, 48px);
}
@media (max-width: 1000px) { .foot-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .foot-top { grid-template-columns: 1fr; } }

.foot-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.foot-logo > span { display: grid; }
.foot-tag {
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: rgb(255 255 255 / .6); margin-top: 4px;
}
.foot-blurb { color: rgb(255 255 255 / .74); font-size: .93rem; max-width: 40ch; margin: 16px 0 18px; }

.socials { display: flex; gap: 10px; }
.soc {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgb(255 255 255 / .1); color: #fff; border: 1px solid rgb(255 255 255 / .18);
  transition: transform .2s var(--ease-spring), background-color .2s, border-color .2s;
  svg { width: 22px; height: 22px; }
  &:hover { transform: translateY(-3px); }
}
.soc.wa:hover { background: #25D366; border-color: #25D366; }
.soc.fb:hover { background: #1877F2; border-color: #1877F2; }
.soc.ig:hover { background: linear-gradient(45deg, #F9CE34, #EE2A7B, #6228D7); border-color: transparent; }
.soc.tt:hover { background: #000; border-color: #000; }

.foot-col { display: grid; align-content: start; gap: 10px; }
.foot-col h3 {
  font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800;
  color: var(--sky); margin-bottom: 4px;
}
.foot-col a {
  color: rgb(255 255 255 / .78); text-decoration: none; font-size: .93rem; width: fit-content;
  transition: color .18s, transform .18s;
  &:hover { color: #fff; transform: translateX(3px); }
}

.foot-contact { gap: 12px; }
.contact-row {
  display: flex; align-items: center; gap: 12px; text-decoration: none;
  color: rgb(255 255 255 / .8); transform: none !important;
  b { display: block; color: #fff; font-size: .92rem; font-weight: 700; }
  small { display: block; color: rgb(255 255 255 / .62); font-size: .82rem; }
}
.contact-row .ico {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .16);
  svg { width: 19px; height: 19px; }
}
.contact-row.wa .ico, .contact-row .ico.wa { background: rgb(37 211 102 / .22); border-color: rgb(37 211 102 / .4); color: #5BEF96; }
.contact-row .ico.call { background: rgb(56 198 255 / .2); border-color: rgb(56 198 255 / .4); color: var(--sky); }
.contact-row .ico.pin { background: rgb(139 92 246 / .24); border-color: rgb(139 92 246 / .42); color: #C4B1FF; }
.contact-row .ico.clock { background: rgb(245 165 36 / .22); border-color: rgb(245 165 36 / .4); color: var(--amber-2); }
a.contact-row:hover .ico { transform: scale(1.06); }

.foot-badges {
  position: relative; max-width: 1320px; margin: clamp(28px, 4vw, 44px) auto 0; padding: 20px 0;
  list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px;
  border-top: 1px solid rgb(255 255 255 / .14); border-bottom: 1px solid rgb(255 255 255 / .14);
}
.foot-badges li {
  display: flex; align-items: center; gap: 10px; color: rgb(255 255 255 / .82); font-size: .88rem; font-weight: 600;
  svg { width: 22px; height: 22px; color: var(--sky); flex: none; }
}

.foot-bottom {
  position: relative; max-width: 1320px; margin: 0 auto; padding: 20px 0 26px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  color: rgb(255 255 255 / .6); font-size: .85rem;
  p { margin: 0; }
  a { color: rgb(255 255 255 / .8); }
}

/* ---------- Floating call / WhatsApp buttons ---------- */
.quick-contact {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 80; display: grid; gap: 10px;
}
.qc {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: 0 10px 26px -8px rgb(3 32 79 / .7);
  transition: transform .2s var(--ease-spring), box-shadow .2s;
  svg { width: 26px; height: 26px; }
  &:hover { transform: scale(1.09); }
}
.qc-wa { background: #25D366; }
.qc-call { background: var(--grad-brand); }
/* The WhatsApp button gets one gentle pulse ring so it reads as "tap me" */
.qc-wa::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgb(37 211 102 / .6); animation: qc-pulse 2.6s infinite;
}
.qc { position: relative; }
@keyframes qc-pulse { 70% { box-shadow: 0 0 0 14px rgb(37 211 102 / 0); } 100% { box-shadow: 0 0 0 0 rgb(37 211 102 / 0); } }
@media (max-width: 560px) { .qc { width: 46px; height: 46px; svg { width: 23px; height: 23px; } } }
@media (prefers-reduced-motion: reduce) { .qc-wa::after { animation: none; } }
@media print { .quick-contact { display: none !important; } }

/* "Welcome back" notice when the checkout is filled from a previous order */
.saved-hint {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0;
  background: #EAF7EF; border: 1px solid #BFE6CE; color: #0B5A31;
  border-radius: var(--r-m); padding: 10px 14px; font-size: .88rem; font-weight: 600;
}
.saved-hint button {
  border: 0; background: none; padding: 0; font: inherit; color: var(--leaf-2);
  text-decoration: underline; cursor: pointer;
  &:hover { color: var(--sale); }
}

/* ================= NexMart top bar ================= */
/* Two-tone brand: "Nex" in white, "Mart" in the mint accent from the logo. */
.brand-word i { color: #5EEAD4; }

/* Shopping-themed header: a navy-to-teal wash with supermarket items drawn
   faintly behind it, rather than one flat block of blue. */
.topbar {
  position: sticky;
  background:
    url("/img/topbar-items.svg") repeat 0 center / 300px auto,
    linear-gradient(112deg, #071A44 0%, #0B3E8F 34%, #1D4ED8 64%, #0E7490 100%);
}
/* Keeps the search field and buttons readable over the pattern */
.topbar::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgb(7 26 68 / .55) 0%, rgb(7 26 68 / .16) 42%, rgb(7 26 68 / .50) 100%);
}
/* Thin mint-to-sky rule tying the header into the green ticker below it */
.topbar::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 3px; z-index: 2;
  background: linear-gradient(90deg, #34D399, #5EEAD4, #38BDF8, #34D399);
}
.topbar-inner { position: relative; z-index: 1; }
