/* ============ Shubham K Mart — base: tokens, layout, header, footer ============ */
:root {
  --bg: #fffdf5;
  --surface: #ffffff;
  --surface-2: #fbf6e3;
  --ink: #13241a;
  --ink-2: #33443a;
  --muted: #5d6c62;
  --line: #ebe4cc;
  --green-950: #06301c;
  --green-900: #0b4a2b;
  --green-700: #137949;
  --green-500: #1f9a5c;
  --green-100: #e2f3e8;
  --saffron: #fbcf03;
  --saffron-600: #8a6d00;
  --saffron-100: #fff6c7;
  --chili: #c8402a;
  --wa: #1fa855;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hi: "Tiro Devanagari Hindi", "Noto Sans Devanagari", serif;

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(14, 59, 42, .06), 0 2px 8px rgba(14, 59, 42, .05);
  --shadow: 0 10px 30px -12px rgba(14, 59, 42, .25);
  --shadow-lg: 0 30px 60px -25px rgba(14, 59, 42, .35);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--green-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--green-950); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-variation-settings: "opsz" 96; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.hi { font-family: var(--font-hi); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 9vw, 110px); }
.section--tint { background: var(--surface-2); }
.section--dark { background: var(--green-900); color: #e9f2ec; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { margin: 0; max-width: 52ch; color: var(--muted); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--saffron); border-radius: 2px; }
.section--dark .eyebrow { color: var(--saffron); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: .95rem; line-height: 1; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--green-900); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--green-700); }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 10px 24px -10px rgba(31, 168, 85, .7); }
.btn--wa:hover { background: #17924a; }
.btn--accent { background: var(--saffron); color: var(--green-950); }
.btn--accent:hover { background: #ffdb3d; }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--green-900); }
.btn--ghost:hover { background: var(--green-900); color: #fff; border-color: var(--green-900); }
.section--dark .btn--ghost { color: #fff; }
.section--dark .btn--ghost:hover { background: #fff; color: var(--green-900); border-color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green-700); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Announcement ---------- */
.announce { background: var(--green-950); color: #d9eadf; font-size: .85rem; text-align: center; padding: 9px var(--gutter); }
.announce strong { color: var(--saffron); font-weight: 700; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 253, 245, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(14, 59, 42, .4); }
.nav { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand-mark { width: 44px; height: 44px; flex: none; }
.brand-name { white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; color: var(--green-950); line-height: 1; letter-spacing: -.01em; }
.brand-sub { display: block; font-family: var(--font-hi); font-size: .82rem; color: var(--saffron-600); margin-top: 3px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-2); transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--surface-2); color: var(--green-900); }
.nav-links a[aria-current="page"] { background: var(--green-100); color: var(--green-900); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--green-900); transition: background .2s, border-color .2s; }
.icon-btn:hover { border-color: var(--green-700); }
.icon-btn svg { width: 22px; height: 22px; }
.badge-count { position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 999px; background: var(--saffron); color: var(--green-950); font-size: .72rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); transform: scale(0); transition: transform .25s var(--ease); }
.badge-count.has { transform: scale(1); }
.badge-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  .nav-call { display: none; }
  .menu-toggle { display: inline-grid; }
  .nav-links { position: fixed; inset: 0 0 0 auto; width: min(86vw, 360px); flex-direction: column; align-items: stretch; gap: 4px; padding: 96px 20px 24px; background: var(--bg); box-shadow: var(--shadow-lg); transform: translateX(105%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s; z-index: 60; }
  .nav-links a { font-size: 1.1rem; padding: 14px 18px; }
  .nav-open .nav-links { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(10, 43, 31, .4); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 55; }
  .nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
  .menu-toggle { position: relative; z-index: 61; }
}
@media (max-width: 420px) { .brand-name { font-size: 1.1rem; } .brand-mark { width: 38px; height: 38px; } .nav { gap: 10px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, var(--saffron-100), transparent 70%); z-index: -1; }
.crumbs { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 18px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: var(--green-700); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-950); color: #b9cdc1; padding-top: 72px; font-size: .95rem; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a:hover { color: var(--saffron); }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin-top: 16px; max-width: 34ch; }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; }
.hours-list li.today { color: #fff; font-weight: 700; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); transition: background .2s, border-color .2s; }
.social a:hover { background: var(--saffron); border-color: var(--saffron); color: var(--green-950); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 56px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .85rem; }
.footer-bottom nav { display: flex; gap: 4px 20px; flex-wrap: wrap; }
.footer-bottom nav a, .footer-bottom nav button { display: inline-flex; align-items: center; min-height: 24px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } .site-footer { padding-bottom: 72px; } }

/* ---------- Open status pill ---------- */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: var(--green-100); color: var(--green-900); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 0 rgba(46, 139, 87, .6); animation: pulse 2s infinite; }
.status.closed { background: #fbe3dd; color: var(--chili); }
.status.closed::before { background: var(--chili); animation: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(46, 139, 87, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 139, 87, 0); } }

/* ---------- Floating actions ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(31, 168, 85, .8); transition: transform .25s var(--ease); }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 30px; height: 30px; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .fab { width: 52px; height: 52px; right: 14px; bottom: calc(76px + env(safe-area-inset-bottom)); }
  .fab svg { width: 26px; height: 26px; }
  .mobile-bar { display: grid; grid-template-columns: repeat(6, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 62; background: rgba(255, 253, 245, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -18px rgba(0, 0, 0, .35); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a, .mobile-bar button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 2px 9px; font-size: .7rem; font-weight: 700; background: none; border: 0; color: var(--muted); transition: color .2s; }
  .mobile-bar svg { width: 22px; height: 22px; transition: transform .25s var(--ease); }
  .mobile-bar [aria-current="page"], .mobile-bar [aria-expanded="true"] { color: var(--green-700); }
  .mobile-bar [aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 4px 4px; background: var(--saffron); }
  .mobile-bar a:active svg, .mobile-bar button:active svg { transform: scale(.88); }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .menu-toggle { display: none !important; }
  .nav-links { padding-bottom: 90px; }
}

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 90; transform: translate(-50%, 140%); opacity: 0; visibility: hidden; background: var(--green-950); color: #fff; padding: 14px 20px; border-radius: 14px; font-weight: 600; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; transition: transform .35s var(--ease), opacity .35s, visibility .35s; width: max-content; max-width: calc(100vw - 32px); }
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; }
.toast svg { width: 20px; height: 20px; color: var(--saffron); flex: none; }
.toast--bad { background: #7a1f12; }
.toast--bad svg { color: #ffd5c2; }
@media (max-width: 760px) { .toast { bottom: 140px; } .cookie { bottom: 80px !important; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Corporate additions ---------- */
.brand-logo { height: 44px; width: auto; }
@media (max-width: 420px) { .brand-logo { height: 36px; } }
.announce a { color: inherit; }
.announce a:hover { color: var(--saffron); }
.nav-links .chev { width: 14px; height: 14px; margin-left: 4px; vertical-align: -2px; transition: transform .25s var(--ease); }
.has-sub { position: relative; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .chev { transform: rotate(180deg); }
.sub a { padding: 10px 14px; border-radius: 10px; font-size: .92rem; }
.nav-cta-mobile { display: none; }
@media (max-width: 1080px) { .nav-cta { display: none; } }
@media (max-width: 960px) {
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; background: none; min-width: 0; }
  .sub a { font-size: 1rem; padding: 10px 18px; color: var(--muted); }
  .nav-links .chev { display: none; }
  .nav-cta-mobile { display: block; margin-top: 16px; }
  .nav-cta-mobile a.btn { color: #fff; font-size: 1rem; }
  .nav-links { overflow-y: auto; }
}
.footer-tag { font-style: italic; color: var(--saffron); font-weight: 600; }
.site-footer .brand-logo { height: 48px; }
@media (max-width: 520px) {
  .btn { white-space: normal; text-align: center; line-height: 1.2; }
  .c-hero .ctas .btn, .cta-band .btn { width: 100%; }
  .c-hero .tagline { font-size: .78rem; }
}
[hidden] { display: none !important; }
/* The header's blur creates a containing block that would trap the fixed menu drawer — drop it where the drawer is used */
@media (max-width: 960px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav-links { top: 0; bottom: 0; height: 100dvh; padding-top: 88px; }
}
/* Desktop menu: never wrap labels; tighten spacing on small laptops so all items fit on one line */
@media (min-width: 961px) {
  .nav-links a { white-space: nowrap; display: inline-flex; align-items: center; }
  .nav { gap: 14px; }
}
@media (min-width: 961px) and (max-width: 1180px) {
  .nav-links a { padding: 10px 10px; font-size: .9rem; }
  .brand-logo { height: 38px; }
}
@media (max-width: 760px) {
  .mobile-bar a, .mobile-bar button { font-size: .66rem; padding: 10px 0 9px; letter-spacing: -.01em; }
  .mobile-bar svg { width: 21px; height: 21px; }
  .mobile-bar [aria-current="page"]::before { left: 22%; right: 22%; }
}

/* ---------- Phone & tablet menu: full-screen sheet ---------- */
.drawer-head, .drawer-quick { display: none; }
@media (max-width: 960px) {
  .nav-links { width: 100%; max-width: 480px; padding: 0 18px 110px; gap: 2px; overscroll-behavior: contain; }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 2; background: var(--bg); padding: 14px 0 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
  .drawer-head .brand-logo { height: 38px; }
  .drawer-close { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--green-900); display: grid; place-items: center; }
  .drawer-close svg { width: 22px; height: 22px; }
  .nav-links > li > a { font-size: 1.02rem; font-weight: 700; padding: 12px 14px; border-radius: 12px; }
  /* Sections with sub-pages read as small headings; only the actual page is highlighted */
  .has-sub > a { font-size: .72rem !important; font-weight: 800 !important; letter-spacing: .12em; text-transform: uppercase; color: var(--muted) !important; padding: 16px 14px 4px !important; background: none !important; pointer-events: none; }
  .sub a { font-size: .98rem !important; font-weight: 600; padding: 10px 14px !important; color: var(--ink-2) !important; border-radius: 12px; }
  .sub a[aria-current="page"], .nav-links > li > a[aria-current="page"] { background: var(--green-100) !important; color: var(--green-900) !important; }
  .sub { padding-left: 0 !important; }
  .nav-cta-mobile { margin-top: 18px; }
  .drawer-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
  .drawer-quick a, .drawer-quick button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; font-size: .9rem; color: var(--green-900); padding: 0 !important; font-family: inherit; }
  .drawer-quick a:nth-child(2) { color: var(--wa); }
  .drawer-quick button { font-family: var(--font-hi); }
  .drawer-quick svg { width: 18px; height: 18px; }
  .nav-open .nav-scrim { opacity: 1; }
}
@media (max-width: 480px) { .nav-links { max-width: none; } }
@media (max-width: 960px) {
  .nav-links > li.has-sub > a[aria-current="page"] { background: none !important; color: var(--muted) !important; }
  .nav-links > li > a { padding: 10px 14px; }
  .sub a { padding: 8px 14px !important; }
  .has-sub > a { padding: 12px 14px 2px !important; }
  .nav-cta-mobile { margin-top: 12px; }
  .nav-links { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* Reserve the header's space before JavaScript fills it in, so the page doesn't jump while loading */
#site-header:empty { display: block; min-height: 77px; }
/* Hindi: letter-spacing breaks Devanagari letters apart (e.g. "स प्ला य र्स"), so switch it off */
html[lang="hi"] * { letter-spacing: normal !important; }
