/* VapVap Groceries (web) - grocery.html, shop.html, grocery-cart.html
   Tokens from Figma 7OW27V2nP2dnqvj2QXsVJA. Everything is scoped under
   body.page-grocery so it never leaks into shared.css pages. */
:root {
  /* Shared design tokens live in shared.css :root; aliases keep the --g- names. */
  --g-orange: var(--vv-main);
  --g-orange-dark: var(--vv-main-dark);
  --g-green: var(--vv-grocery);
  --g-green-dark: #05a457;
  --g-green-tint: #f0fdf6;
  /* white text sits on this darker green: 4.77:1 (Figma #06c167 is 2.38:1, fails WCAG AA) */
  --g-green-ink: #04844a;
  --g-pink: var(--vv-pink);
  --g-black: var(--vv-text-1a);
  --g-text: var(--vv-text-1a);
  --g-text-light: var(--vv-text-light);
  --g-muted: var(--vv-muted);
  --g-muted-2: #6b7280;
  --g-divider: var(--vv-divider);
  --g-border: #e5e7e5;
  --g-search: var(--vv-search-bg);
  --g-pill: #f4f4f6;
  --g-cream: #fffcf8;
  --g-page: #f7f8f7;
  --g-white: var(--vv-white);
  --g-font-head: var(--vv-font-head);
  --g-font-body: var(--vv-font-body);
  --g-radius: var(--vv-radius);
  --g-radius-full: var(--vv-radius-full);
  --g-shadow-card: 0 6px 22px rgba(36, 27, 36, .08);
}

body.page-grocery { font-family: var(--g-font-body); color: var(--g-text); background: var(--g-white); }
body.page-grocery.bg-page { background: var(--g-page); }
.page-grocery main { padding-top: 0; } /* the shared vv-nav is sticky, nothing to clear */
.page-grocery img { max-width: 100%; }
.page-grocery button { font-family: var(--g-font-body); }
.g-wrap { max-width: 1440px; margin: 0 auto; }
.g-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.g-hidden { display: none !important; }

/* ── HERO (1055:4059) ── */
.g-hero { position: relative; overflow: hidden; background: var(--g-cream); padding: 64px 80px 91px; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.g-hero-note { font-size: 16px; color: var(--g-black); text-align: center; }
.g-hero-head { display: flex; flex-direction: column; align-items: center; gap: 16px; position: relative; z-index: 1; }
.g-hero h1 { font-family: var(--g-font-head); font-weight: 700; font-size: 64px; line-height: 68px; color: var(--g-black); text-align: center; letter-spacing: -1.92px; max-width: 960px; }
.g-hero-sub { font-size: 20px; color: var(--g-muted); text-align: center; max-width: 600px; }
.g-hero-produce { position: absolute; width: 423px; height: 344px; object-fit: cover; transform: rotate(9.2deg); pointer-events: none; z-index: 0; }
.g-hero-produce.left { left: -110px; top: 54px; }
.g-hero-produce.right { right: -230px; top: 120px; transform: rotate(9.2deg) scaleX(-1); }
.g-switch { position: relative; z-index: 1; display: flex; gap: 4px; padding: 4px; width: 420px; max-width: 100%; height: 52px; background: var(--g-pill); border-radius: 26px; }
.g-switch button { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 22px; background: transparent; font-size: 15px; font-weight: 500; color: #4f4e50; cursor: pointer; }
.g-switch button img { width: 20px; height: 20px; }
.g-switch button.active { background: var(--g-green-ink); color: #fff; font-weight: 700; }
.g-switch button[disabled] { cursor: not-allowed; }
.g-switch .g-soon { font-size: 11px; font-weight: 500; color: var(--g-muted); }
.g-search { position: relative; z-index: 1; display: flex; align-items: center; gap: 16px; width: 600px; max-width: 100%; background: #fff; border: 2px solid var(--g-green); border-radius: 72px; padding: 10px 10px 10px 20px; }
.g-search img.pin { width: 20px; height: 20px; flex: none; }
.g-search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; color: var(--g-text); font-family: var(--g-font-body); outline: none; }
.g-search input::placeholder { color: var(--g-muted); }
.g-search button { width: 40px; height: 40px; border: 0; padding: 0; background: transparent; cursor: pointer; flex: none; }
.g-search button img { width: 40px; height: 40px; display: block; }

/* ── MARQUEE (1055:2970) ── */
.g-marquee { background: var(--g-green); height: 32px; overflow: hidden; display: flex; align-items: center; }
.g-marquee-track { display: flex; align-items: center; gap: 24px; white-space: nowrap; padding-left: 24px; }
.g-marquee-track span { font-family: var(--g-font-head); font-weight: 700; font-size: 13px; color: #fff; }
.g-marquee-track img { width: 24px; height: 11px; }

/* ── SHOP BY CATEGORY (1055:2992) ── */
.g-browse { background: var(--g-cream); padding: 40px 80px 60px; }
.g-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.g-section-title { display: flex; align-items: center; gap: 12px; }
.g-section-title h2 { font-family: var(--g-font-head); font-weight: 700; font-size: 64px; line-height: 1.2; color: var(--g-black); letter-spacing: -1.92px; }
.g-link { display: inline-flex; align-items: center; gap: 4px; color: var(--g-green); font-weight: 600; font-size: 16px; white-space: nowrap; }
.g-link img { width: 16px; height: 16px; }
.g-cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.g-cat { min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--g-black); }
.g-cat-img { width: 100%; max-width: 196px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 6px 14px rgba(0,0,0,.12); border: 4px solid #fff; transition: transform .2s; }
.g-cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-cat:hover .g-cat-img { transform: translateY(-3px); }
.g-cat span { font-weight: 600; font-size: 24px; }

/* ── SHOPS (1055:3020) ── */
.g-shops { background: var(--g-cream); padding: 80px 58px 90px; }
.g-center-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 48px; }
.g-center-head h2 { font-family: var(--g-font-head); font-weight: 700; font-size: 52px; line-height: 62px; letter-spacing: -1.56px; color: var(--g-black); }
.g-center-head p { font-size: 18px; color: var(--g-black); }
.g-shop-grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; }
.g-shop-grid > * { flex: 0 1 420px; min-width: 0; }
.g-shop-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,.08); display: flex; flex-direction: column; }
.g-shop-img { position: relative; height: 320px; background: #eee; }
.g-shop-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-open { color: var(--g-black); font-weight: 500; }
.g-open.closed { color: var(--g-text-light); font-weight: 400; }
.g-shop-body { border-top: 1px solid rgba(77,7,17,.1); padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.g-shop-body h3 { font-weight: 700; font-size: 24px; color: var(--g-black); }
.g-meta-line { display: flex; align-items: center; gap: 6px; font-size: 16px; color: var(--g-text-light); }
.g-meta-line img { width: 21px; height: 21px; }
.g-chips { font-size: 15px; color: var(--g-text-light); }
.g-btn-green { display: flex; align-items: center; justify-content: center; width: 100%; background: var(--g-green-ink); color: #fff; border: 0; border-radius: 24px; padding: 12px 24px; font-size: 16px; cursor: pointer; margin-top: auto; }
.g-btn-green:hover { background: var(--g-green-dark); }

/* ── DEPARTMENT BANNER (1290:4078) ── */
.g-dept { background: #fff; border-top: 1px solid var(--g-divider); padding: 16px 80px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.g-dept-pills { display: flex; gap: 12px; }
.g-dept-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px; border-radius: 20px; font-size: 14px; font-weight: 500; color: var(--g-text-light); background: var(--g-pill); }
.g-dept-pill img { width: 18px; height: 18px; }
.g-dept-pill.active { background: var(--g-green-ink); color: #fff; font-weight: 700; }

/* ── STATES ── */
.g-empty { text-align: center; color: var(--g-text-light); padding: 40px 16px; font-size: 15px; }
.g-skel { background: linear-gradient(90deg, #f0f0f0, #f8f8f8, #f0f0f0); background-size: 200% 100%; animation: g-skel 1.2s infinite; border-radius: 12px; }
@keyframes g-skel { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.g-notice { background: var(--g-pink); color: var(--g-orange-dark); border-radius: 12px; padding: 12px 16px; font-size: 14px; }

/* ── SHOP PAGE (1062:4116) ── */
.g-cover { height: 298px; background: #ddd; overflow: hidden; }
.g-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-workspace { padding: 0 72px 64px; margin-top: -101px; position: relative; }
.g-info { background: #fff; border-radius: 18px; box-shadow: var(--g-shadow-card); padding: 0 28px; }
.g-info-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0 22px; }
.g-info h1 { font-weight: 800; font-size: 30px; color: var(--g-black); }
.g-info-line { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--g-muted); margin-top: 8px; }
.g-info-line img { width: 22px; height: 22px; }
.g-toggle { display: flex; gap: 4px; padding: 4px; background: #f4f4f5; border-radius: 999px; flex: none; }
.g-toggle button { border: 0; background: transparent; padding: 9px 16px; border-radius: 999px; font-weight: 700; font-size: 16px; color: var(--g-muted); cursor: pointer; }
.g-toggle button.active { background: #fff; color: var(--g-orange); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.g-toggle button[disabled] { cursor: not-allowed; }
.g-tools { display: flex; align-items: center; gap: 24px; padding-bottom: 20px; }
.g-menu-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; background: #f4f4f5; border-radius: 999px; }
.g-menu-search img { width: 20px; height: 20px; flex: none; }
.g-menu-search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 15px; outline: none; font-family: var(--g-font-body); color: var(--g-text); }
.g-menu-search input::placeholder { color: #9aa0a6; }
.g-tabs { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; max-width: 60%; }
.g-tabs::-webkit-scrollbar { display: none; }
.g-tab { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; border: 0; background: transparent; padding: 0; font-size: 16px; color: var(--g-muted); cursor: pointer; white-space: nowrap; }
.g-tab::after { content: ''; display: block; height: 2px; width: 100%; background: transparent; }
.g-tab.active { color: var(--g-orange); font-weight: 700; }
.g-tab.active::after { background: var(--g-orange); }
.g-products-section { padding-top: 37px; }
.g-products-section h2 { font-weight: 800; font-size: 22px; color: var(--g-black); margin-bottom: 18px; }
.g-products-section + .g-products-section { padding-top: 24px; }
.g-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.g-card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: var(--g-shadow-card); display: flex; flex-direction: column; cursor: pointer; }
.g-card-img { position: relative; height: 172px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.g-card-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.g-card-img .g-ph { font-family: var(--g-font-head); font-weight: 700; font-size: 28px; color: var(--g-divider); }
.g-card-badge { display: block; font-size: 13px; font-weight: 500; color: var(--g-black); margin-top: 2px; }
.g-card-badge.out { color: var(--g-text-light); font-weight: 400; }
.g-card-body { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.g-card-name { font-weight: 700; font-size: 15px; color: var(--g-black); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-card-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.g-price { font-weight: 800; font-size: 17px; color: var(--g-orange); white-space: nowrap; }
.g-price small { font-size: 13px; font-weight: 500; color: var(--g-text-light); }
.g-add { width: 32px; height: 32px; border-radius: 999px; border: 0; background: var(--g-orange); display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; padding: 0; }
.g-add img { width: 20px; height: 20px; }
.g-add[disabled] { background: var(--g-divider); cursor: not-allowed; }
.g-more { display: flex; justify-content: center; padding: 28px 0 0; }
.g-btn-outline { border: 1px solid var(--g-border); background: #fff; color: var(--g-black); font-weight: 700; font-size: 14px; padding: 12px 24px; border-radius: 999px; cursor: pointer; }

/* ── PRODUCT PANEL (1051:12237) ── */
.g-product-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.45); display: none; align-items: center; justify-content: center; padding: 24px; }
.g-product-overlay.open { display: flex; }
.g-product { background: var(--g-page); border-radius: 22px; width: min(1312px, 100%); max-height: calc(100vh - 48px); overflow: auto; display: flex; gap: 48px; padding: 36px 64px 44px; }
.g-product-media { position: relative; width: 520px; flex: none; aspect-ratio: 520 / 525; border-radius: 22px; overflow: hidden; background: #fff; display: flex; align-items: center; justify-content: center; }
.g-product-media img.main { width: 100%; height: 100%; object-fit: contain; }
.g-round-btn { position: absolute; left: 20px; top: 20px; width: 44px; height: 44px; border-radius: 999px; background: #fff; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.g-round-btn img { width: 21px; height: 21px; }
.g-product-config { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--g-border); border-radius: 22px; padding: 32px; display: flex; flex-direction: column; gap: 24px; }
.g-product-config h2 { font-weight: 900; font-size: 34px; color: var(--g-black); }
.g-product-price { font-weight: 900; font-size: 23px; color: var(--g-orange); margin-top: 8px; }
.g-product-desc { font-size: 15px; color: var(--g-muted-2); margin-top: 8px; }
.g-field-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.g-field-head h3 { font-weight: 800; font-size: 19px; color: var(--g-black); }
.g-optional { color: var(--g-muted-2); font-size: 13px; }
.g-note { width: 100%; height: 112px; border: 1px solid var(--g-border); border-radius: 14px; padding: 16px; font-size: 14px; resize: vertical; font-family: var(--g-font-body); color: var(--g-text); }
.g-note::placeholder { color: #9e9e9e; }
.g-select { width: 100%; height: 50px; border: 1px solid var(--g-border); border-radius: 999px; padding: 0 44px 0 16px; font-size: 14px; color: var(--g-black); background: #fff url('../images/redesign/grocery/icon-chevron-right.svg') no-repeat right 16px center / 17px; appearance: none; -webkit-appearance: none; font-family: var(--g-font-body); cursor: pointer; }
.g-action-bar { margin-top: auto; display: flex; align-items: flex-end; gap: 20px; }
.g-stepper { display: inline-flex; align-items: center; gap: 12px; padding: 4px; background: #f4f5f4; border-radius: 999px; flex: none; }
.g-stepper button { width: 28px; height: 28px; border-radius: 999px; border: 0; background: #fff; color: var(--g-muted-2); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.g-stepper button.plus { background: var(--g-orange); color: #fff; }
.g-stepper button[disabled] { opacity: .5; cursor: not-allowed; }
.g-stepper span { font-weight: 800; font-size: 14px; color: var(--g-black); min-width: 14px; text-align: center; }
.g-btn-primary { flex: 1; height: 52px; border: 0; border-radius: 999px; background: var(--g-orange); color: #fff; font-weight: 800; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0 20px; }
.g-btn-primary:hover { background: var(--g-orange-dark); }
.g-btn-primary[disabled] { background: var(--g-divider); cursor: not-allowed; }

/* ── FLOATING CART PILL ── */
.g-cart-pill { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 150; display: none; align-items: center; gap: 12px; background: var(--g-green-ink); color: #fff; border-radius: 999px; padding: 14px 22px; font-weight: 700; font-size: 15px; box-shadow: 0 10px 24px rgba(6,193,103,.35); white-space: nowrap; }
.g-cart-pill.show { display: inline-flex; }
.g-cart-pill .sep { opacity: .6; }

/* ── CART PAGE (1051:12374) ── */
.g-cart-page { padding: 28px 64px 38px; }
.g-page-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.g-back { width: 42px; height: 42px; flex: none; border-radius: 999px; background: #fff; border: 1px solid var(--g-border); display: flex; align-items: center; justify-content: center; }
.g-back img { width: 20px; height: 20px; }
.g-page-head h1 { font-weight: 800; font-size: 32px; color: var(--g-black); }
.g-page-head p { font-size: 14px; color: var(--g-muted-2); margin-top: 4px; }
.g-checkout { display: flex; gap: 28px; align-items: flex-start; }
.g-setup { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.g-panel { background: #fff; border: 1px solid var(--g-border); border-radius: 22px; padding: 22px; }
.g-panel h2 { font-weight: 800; font-size: 18px; color: var(--g-black); margin-bottom: 16px; }
.g-panel h2.inline { margin-bottom: 0; }
.g-opts { display: flex; gap: 12px; }
.g-opt { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border: 1px solid var(--g-border); border-radius: 999px; background: #fff; font-weight: 700; font-size: 14px; color: var(--g-black); cursor: pointer; text-align: left; }
.g-opt .radio { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid #d1d5db; display: inline-block; position: relative; }
.g-opt.selected { border-color: var(--g-orange); }
.g-opt.selected .radio { border-color: var(--g-orange); }
.g-opt.selected .radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--g-orange); }
.g-opt[disabled] { cursor: not-allowed; color: var(--g-muted); }
.g-opt .cap { font-weight: 400; font-size: 12px; color: var(--g-muted-2); margin-left: auto; }
.g-sched { display: flex; gap: 24px; margin-top: 16px; font-size: 14px; }
.g-sched button { flex: 1; min-width: 0; display: flex; justify-content: space-between; gap: 8px; border: 0; background: transparent; padding: 0; font-size: 14px; cursor: pointer; font-family: var(--g-font-body); }
.g-sched b { color: var(--g-black); }
.g-sched span { color: var(--g-muted-2); }
.g-sched span.set { color: var(--g-black); }
.g-items { padding: 0; overflow: hidden; }
.g-item { display: flex; align-items: center; gap: 16px; padding: 20px; border-bottom: 1px solid var(--g-border); }
.g-item:last-child { border-bottom: 0; }
.g-item-img { width: 88px; height: 88px; border-radius: 14px; overflow: hidden; flex: none; background: #fff; display: flex; align-items: center; justify-content: center; border: 1px solid #f1f1f1; }
.g-item-img img { width: 100%; height: 100%; object-fit: contain; }
.g-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.g-item-name { font-weight: 800; font-size: 15px; color: var(--g-black); }
.g-item-sub { font-size: 12px; color: var(--g-muted-2); }
.g-item-price { font-weight: 800; font-size: 16px; color: var(--g-orange); }
.g-item-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.g-remove { border: 0; background: transparent; color: var(--g-muted-2); font-size: 12px; text-decoration: underline; cursor: pointer; padding: 0; }
.g-addr-list { display: flex; flex-direction: column; gap: 10px; }
.g-addr { display: flex; align-items: flex-start; gap: 10px; padding: 14px; border: 1px solid var(--g-border); border-radius: 16px; cursor: pointer; background: #fff; text-align: left; width: 100%; font-family: var(--g-font-body); }
.g-addr .radio { margin-top: 2px; width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid #d1d5db; position: relative; }
.g-addr.selected { border-color: var(--g-orange); }
.g-addr.selected .radio { border-color: var(--g-orange); }
.g-addr.selected .radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--g-orange); }
.g-addr b { display: block; font-size: 14px; color: var(--g-black); text-transform: capitalize; }
.g-addr span { font-size: 13px; color: var(--g-muted-2); }
.g-addr-new { margin-top: 12px; position: relative; }
.g-input { width: 100%; height: 48px; border: 1px solid var(--g-border); border-radius: 999px; padding: 0 16px; font-size: 14px; font-family: var(--g-font-body); color: var(--g-text); }
.g-suggest { position: absolute; left: 0; right: 0; top: 52px; background: #fff; border: 1px solid var(--g-border); border-radius: 16px; box-shadow: var(--g-shadow-card); max-height: 260px; overflow: auto; z-index: 20; }
.g-suggest button { display: block; width: 100%; text-align: left; border: 0; background: #fff; padding: 12px 16px; font-size: 14px; cursor: pointer; font-family: var(--g-font-body); }
.g-suggest button:hover { background: var(--g-page); }
.g-text-btn { border: 0; background: transparent; color: var(--g-orange); font-weight: 700; font-size: 14px; cursor: pointer; padding: 0; }
.g-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--g-text-light); cursor: pointer; }
.g-check input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--g-orange); flex: none; }
.g-textarea { width: 100%; min-height: 80px; border: 1px solid var(--g-border); border-radius: 14px; padding: 12px 14px; font-size: 14px; font-family: var(--g-font-body); resize: vertical; }
.g-cards { display: flex; flex-direction: column; gap: 10px; }
.g-summary-col { width: 390px; flex: none; position: sticky; top: 96px; }
.g-summary { display: flex; flex-direction: column; gap: 16px; padding: 24px; }
.g-summary h2 { margin-bottom: 0; }
.g-divider { border: 0; border-top: 1px dashed var(--g-border); margin: 0; }
.g-row { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.g-row span { font-size: 14px; color: var(--g-muted-2); }
.g-row b { font-size: 15px; color: var(--g-black); }
.g-row.total span { font-weight: 800; font-size: 17px; color: var(--g-black); }
.g-row.total b { font-weight: 800; font-size: 20px; color: var(--g-orange); }
.g-hint { font-size: 12px; color: var(--g-muted-2); line-height: 1.45; }
.g-blocker { font-size: 13px; color: var(--g-orange-dark); text-align: center; }
.g-success { text-align: center; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.g-success h2 { font-family: var(--g-font-head); font-size: 32px; color: var(--g-green); margin: 0; }

/* ── DATE & TIME MODAL (1071:4646) ── */
.g-modal { position: fixed; inset: 0; z-index: 400; background: rgba(15, 23, 42, .45); display: none; align-items: center; justify-content: center; padding: 16px; }
.g-modal.open { display: flex; }
.g-modal-box { background: #fff; border-radius: 22px; width: 720px; max-width: 100%; max-height: calc(100vh - 32px); overflow: auto; padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.g-modal-head { display: flex; align-items: center; justify-content: space-between; }
.g-modal-head h2 { font-weight: 800; font-size: 22px; color: var(--g-black); }
.g-close { width: 36px; height: 36px; border-radius: 999px; border: 0; background: #f4f5f4; font-size: 18px; color: var(--g-black); cursor: pointer; }
.g-dt { display: flex; gap: 24px; }
.g-cal { flex: 1; min-width: 0; }
.g-cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.g-cal-head b { font-size: 14px; color: var(--g-black); }
.g-cal-nav { display: flex; gap: 8px; }
.g-cal-nav button { width: 28px; height: 28px; border-radius: 999px; border: 0; background: #f4f5f4; cursor: pointer; font-size: 14px; color: var(--g-muted-2); }
.g-cal-nav button[disabled] { opacity: .4; cursor: not-allowed; }
.g-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.g-cal-grid .dow { font-size: 11px; font-weight: 700; color: var(--g-muted-2); padding: 4px 0; }
.g-cal-grid button { height: 36px; border: 0; border-radius: 999px; background: transparent; font-size: 13px; font-weight: 600; color: var(--g-black); cursor: pointer; }
.g-cal-grid button[disabled] { color: #c8c8c8; background: #f6f6f6; cursor: not-allowed; }
.g-cal-grid button.sel { background: var(--g-orange); color: #fff; }
.g-slots { width: 186px; flex: none; display: flex; flex-direction: column; gap: 8px; }
.g-slots b { font-size: 14px; color: var(--g-black); margin-bottom: 4px; }
.g-slot { height: 36px; border: 1px solid var(--g-border); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 700; color: var(--g-black); cursor: pointer; }
.g-slot.sel { background: var(--g-orange); border-color: var(--g-orange); color: #fff; }
.g-slot[disabled] { color: #c8c8c8; cursor: not-allowed; }

/* ── RESPONSIVE ── */
@media (max-width: 1200px) {
  .g-hero-produce { width: 300px; height: 244px; }
  .g-hero-produce.left { left: -150px; }
  .g-hero-produce.right { right: -200px; }
  .g-section-title h2 { font-size: 48px; }
  .g-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .g-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .g-product { padding: 28px; gap: 28px; }
  .g-product-media { width: 42%; }
}
@media (max-width: 900px) {
  .g-hero { padding: 40px 24px 56px; gap: 24px; }
  .g-hero-produce { display: none; }
  .g-browse, .g-shops { padding-left: 24px; padding-right: 24px; }
  .g-dept { padding: 14px 24px; flex-direction: column; align-items: flex-start; }
  .g-workspace { padding: 0 24px 48px; }
  .g-info-top { flex-direction: column; align-items: flex-start; }
  .g-tools { flex-direction: column; align-items: stretch; gap: 16px; }
  .g-tabs { max-width: 100%; }
  .g-menu-search { flex: none; }
  .g-checkout { flex-direction: column; }
  .g-summary-col { width: 100%; position: static; }
  .g-cart-page { padding: 24px; }
  .g-product { flex-direction: column; }
  .g-product-media { width: 100%; aspect-ratio: 4 / 3; }
}
@media (max-width: 640px) {
  .page-grocery main { padding-top: 0; }
  .g-hero { padding: 32px 16px 40px; }
  .g-hero h1 { font-size: 40px; line-height: 44px; letter-spacing: -1.2px; }
  .g-hero-sub { font-size: 16px; }
  .g-hero-note { font-size: 15px; }
  .g-switch { height: 48px; }
  .g-search { padding-left: 16px; gap: 10px; }
  .g-search input { font-size: 15px; }
  .g-browse { padding: 32px 16px 40px; }
  .g-section-head { margin-bottom: 20px; }
  .g-section-title img { width: 36px; height: 36px; }
  .g-section-title h2 { font-size: 28px; letter-spacing: -.8px; }
  .g-link { font-size: 14px; }
  .g-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; row-gap: 18px; }
  .g-cat span { font-size: 15px; }
  .g-cat-img { border-width: 3px; }
  .g-shops { padding: 48px 16px 56px; }
  .g-center-head { margin-bottom: 28px; }
  .g-center-head h2 { font-size: 32px; line-height: 38px; letter-spacing: -.9px; }
  .g-center-head p { font-size: 15px; }
  .g-shop-grid { gap: 20px; }
  .g-shop-grid > * { flex-basis: 100%; }
  .g-shop-img { height: 220px; }
  .g-shop-body { padding: 20px; }
  .g-shop-body h3 { font-size: 20px; }
  .g-dept { padding: 12px 16px; }
  .g-cover { height: 180px; }
  .g-workspace { padding: 0 16px 40px; margin-top: -48px; }
  .g-info { padding: 0 16px; }
  .g-info-top { padding: 20px 0 16px; gap: 14px; }
  .g-info h1 { font-size: 24px; }
  .g-info-line { font-size: 14px; }
  .g-tabs { gap: 20px; }
  .g-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .g-card-img { height: 130px; }
  .g-card-body { padding: 10px; gap: 8px; }
  .g-card-name { font-size: 14px; }
  .g-price { font-size: 15px; }
  .g-product-overlay { padding: 0; align-items: stretch; }
  .g-product { border-radius: 0; max-height: 100vh; padding: 16px; gap: 16px; }
  .g-product-config { padding: 20px; gap: 18px; }
  .g-product-config h2 { font-size: 24px; }
  .g-cart-page { padding: 20px 16px 32px; }
  .g-page-head h1 { font-size: 26px; }
  .g-panel { padding: 16px; border-radius: 18px; }
  .g-opts { flex-direction: column; }
  .g-opt { flex: none; }
  .g-sched { flex-direction: column; gap: 10px; }
  .g-item { padding: 14px; gap: 12px; align-items: flex-start; }
  .g-item-img { width: 64px; height: 64px; }
  .g-item-actions { align-self: center; }
  .g-dt { flex-direction: column; }
  .g-slots { width: 100%; }
  .g-modal-box { padding: 20px; }
  .g-cart-pill { bottom: 16px; padding: 12px 18px; font-size: 14px; max-width: calc(100% - 32px); }
}
.g-summary .g-btn-primary, .g-empty .g-btn-primary, .g-modal-box .g-btn-primary { flex: none; width: 100%; }
