:root { --ink:#172026; --muted:#697782; --brand:#0f766e; --line:#e5e7eb; --soft:#f7faf9; }
body { color: var(--ink); background: #fff; font-family: system-ui, -apple-system, Segoe UI, sans-serif; }
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 20; }
.site-footer { margin-top: 56px; padding: 28px 0; background: #111827; color: #d1d5db; }
.home-hero { padding: 76px 0; background: linear-gradient(135deg, #effaf7, #fff7ed); }
.home-hero h1 { max-width: 760px; font-size: clamp(2rem, 4vw, 4rem); font-weight: 800; letter-spacing: 0; }
.home-hero p { max-width: 620px; color: var(--muted); font-size: 1.1rem; }
.btn-primary { background: var(--brand); border-color: var(--brand); }
.grid, .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.tile, .product-card { border: 1px solid var(--line); border-radius: 8px; padding: 18px; text-decoration: none; color: var(--ink); background: #fff; min-height: 104px; display: flex; flex-direction: column; justify-content: space-between; }
.product-card:hover, .tile:hover { border-color: var(--brand); box-shadow: 0 10px 24px rgba(15, 118, 110, .08); }
.muted { color: var(--muted); }
.page-title { font-size: 2rem; margin-bottom: 24px; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
.image-stage { aspect-ratio: 1; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; overflow: hidden; }
.image-stage img { width: 100%; height: 100%; object-fit: cover; }
.price { font-size: 1.5rem; font-weight: 800; }
.price del { color: var(--muted); font-size: 1rem; font-weight: 500; }
@media (max-width: 768px) { .product-detail { grid-template-columns: 1fr; } }
.auth-panel { max-width: 560px; }
.auth-panel input { display: block; width: 100%; max-width: 420px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.line-item { border: 1px solid var(--line); border-radius: 8px; padding: 14px; margin-bottom: 12px; display: flex; justify-content: space-between; gap: 12px; color: var(--ink); text-decoration: none; }
.summary { border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: var(--soft); }
@media (max-width: 768px) { .cart-layout { grid-template-columns: 1fr; } .line-item { flex-direction: column; } }
.share-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.quick-nav { min-height: 88px; display: grid; grid-template-columns: 220px 310px minmax(260px, 1fr) 250px; align-items: center; gap: 18px; padding: 0 max(22px, calc((100vw - 1320px) / 2)); }
.quick-brand { height: 88px; display: flex; align-items: center; border-right: 1px solid var(--line); }
.brand-mark { text-decoration: none; color: #2faa34; font-size: 2.35rem; line-height: 1; font-weight: 900; letter-spacing: 0; }
.brand-mark span { color: #f5bd16; }
.delivery-copy { display: flex; flex-direction: column; min-width: 0; }
.delivery-copy strong { font-size: 1.38rem; font-weight: 850; color: #050505; }
.delivery-copy span { color: #181818; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.quick-search { height: 58px; display: flex; align-items: center; gap: 12px; padding: 0 18px; background: #f8f8f8; border: 1px solid #ececec; border-radius: 14px; }
.quick-search span { font-size: 1.9rem; line-height: 1; transform: rotate(-20deg); color: #061422; }
.quick-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 1rem; }
.quick-actions { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.quick-actions a { color: #111827; text-decoration: none; font-size: 1.05rem; }
.cart-button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 8px; background: #16843a; color: #fff !important; font-weight: 800; }
.store-shell { background: #fff; padding: 28px 0 0; }
.grocery-hero { min-height: 300px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); align-items: center; gap: 28px; overflow: hidden; border-radius: 8px; padding: 38px 46px; color: #fff; background: radial-gradient(circle at 78% 34%, rgba(255,255,255,.7), transparent 23%), linear-gradient(105deg, #1b7837 0%, #2c9049 48%, #e9f6ac 100%); }
.grocery-hero h1 { max-width: 720px; margin: 0 0 14px; font-size: clamp(2.2rem, 5vw, 4.3rem); font-weight: 900; line-height: 1; letter-spacing: 0; }
.grocery-hero p { max-width: 620px; margin-bottom: 20px; font-size: 1.45rem; line-height: 1.35; }
.eyebrow { margin: 0 0 8px !important; font-size: .82rem !important; text-transform: uppercase; font-weight: 800; letter-spacing: 0; opacity: .9; }
.hero-cta { color: #202124; font-weight: 800; border-radius: 8px; padding: 10px 18px; }
.hero-basket { min-height: 220px; position: relative; }
.produce { position: absolute; display: grid; place-items: center; color: #1d3a1f; font-weight: 900; background: #fff; box-shadow: 0 20px 50px rgba(10, 54, 22, .22); }
.produce-lg { width: 170px; height: 116px; right: 160px; top: 24px; border-radius: 28px 28px 12px 12px; }
.produce-round { width: 145px; height: 145px; right: 30px; top: 40px; border-radius: 50%; background: #ffcf4f; }
.produce-tall { width: 104px; height: 176px; right: 250px; top: 60px; border-radius: 18px; background: #f4f1df; }
.produce-small { width: 118px; height: 86px; right: 110px; top: 160px; border-radius: 18px; background: #f9efe2; }
.promo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 34px 0; }
.promo-card { min-height: 190px; display: flex; flex-direction: column; justify-content: space-between; padding: 26px 22px; border-radius: 8px; text-decoration: none; color: #1f2937; overflow: hidden; position: relative; }
.promo-card::after { content: ""; position: absolute; width: 160px; height: 160px; right: -38px; bottom: -44px; border-radius: 42px; background: rgba(255,255,255,.55); transform: rotate(18deg); }
.promo-card strong { max-width: 260px; font-size: 1.75rem; line-height: 1.05; font-weight: 900; z-index: 1; }
.promo-card span { max-width: 250px; z-index: 1; }
.promo-card em { width: max-content; z-index: 1; color: #fff; background: #252525; border-radius: 8px; padding: 9px 16px; font-style: normal; font-weight: 700; }
.promo-green { background: #10c4b4; color: #fff; }
.promo-yellow { background: #ffd441; }
.promo-blue { background: #dcebf7; }
.shop-section { margin: 34px 0 56px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; font-size: 1.55rem; font-weight: 900; }
.section-heading a { color: #16843a; text-decoration: none; font-weight: 700; }
.category-grid { display: grid; grid-template-columns: repeat(10, minmax(96px, 1fr)); gap: 26px 20px; }
.category-tile { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #353535; text-align: center; text-decoration: none; font-size: 1rem; line-height: 1.18; }
.category-tile img, .category-art { width: 128px; max-width: 100%; aspect-ratio: 1; border-radius: 10px; object-fit: cover; background: linear-gradient(145deg, #eef7ff, #f7fbff); }
.category-art { display: grid; place-items: center; color: #1f7a3a; font-size: 1.55rem; font-weight: 900; }
.category-tile strong { min-height: 38px; font-weight: 650; }
.quick-product-grid { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 16px; }
.quick-product-card { border: 1px solid #edf0f2; border-radius: 8px; padding: 12px; background: #fff; min-height: 250px; display: grid; grid-template-rows: 116px auto auto auto auto; gap: 7px; box-shadow: 0 8px 24px rgba(15, 23, 42, .04); }
.product-art { border-radius: 8px; background: linear-gradient(145deg, #f7fbff, #eef7f2); display: grid; place-items: center; text-decoration: none; overflow: hidden; }
.product-art img { width: 100%; height: 100%; object-fit: cover; }
.product-art span { color: #0f6b34; font-size: 1.15rem; font-weight: 900; }
.quick-product-card small { color: var(--muted); }
.quick-product-card h3 { margin: 0; font-size: 1rem; line-height: 1.25; font-weight: 750; }
.quick-price { display: flex; gap: 8px; align-items: center; }
.quick-price del { color: var(--muted); font-size: .9rem; }
.quick-product-card > a:last-child { align-self: end; justify-self: start; color: #16843a; border: 1px solid #16843a; border-radius: 8px; padding: 6px 16px; text-decoration: none; font-weight: 900; }
.site-footer { background: #fbfbfb; color: #5f6368; border-top: 1px solid #f0f0f0; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.6fr 1fr; gap: 48px; }
.site-footer h2 { color: #101010; font-size: 1.25rem; font-weight: 900; margin-bottom: 20px; }
.footer-links { display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 10px 26px; }
.footer-categories { grid-template-columns: repeat(2, minmax(190px, 1fr)); }
.footer-links a { color: #666; text-decoration: none; }
.site-footer p { max-width: 360px; }

@media (max-width: 1180px) {
  .quick-nav { grid-template-columns: 180px 1fr 220px; }
  .delivery-copy { display: none; }
  .category-grid { grid-template-columns: repeat(5, minmax(96px, 1fr)); }
}
@media (max-width: 900px) {
  .quick-nav { grid-template-columns: 1fr; gap: 10px; padding: 14px 16px; }
  .quick-brand { height: auto; border-right: 0; }
  .quick-actions { justify-content: space-between; }
  .grocery-hero { grid-template-columns: 1fr; padding: 28px 22px; }
  .hero-basket { display: none; }
  .promo-grid, .quick-product-grid, .footer-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, minmax(120px, 1fr)); gap: 18px; }
}

/* VamikaMart original quick-commerce theme */
:root {
  --ink:#16202a;
  --muted:#66717d;
  --brand:#0e7c86;
  --brand-dark:#075a61;
  --accent:#ff735c;
  --sun:#f7c948;
  --line:#e6eaee;
  --soft:#f5f8fa;
  --paper:#ffffff;
}
body { background:#fbfcfd; color:var(--ink); }
.site-header { background:rgba(255,255,255,.94); backdrop-filter:blur(16px); border-bottom:1px solid var(--line); }
.quick-nav { min-height:78px; grid-template-columns:210px 230px minmax(280px, 1fr) 210px; gap:16px; }
.quick-brand { height:78px; border-right:0; }
.brand-mark { display:inline-flex; align-items:center; gap:10px; color:var(--ink); font-size:1.35rem; font-weight:850; }
.brand-mark span { width:42px; height:42px; display:grid; place-items:center; border-radius:8px; color:#fff; background:linear-gradient(145deg, var(--brand), var(--accent)); font-weight:900; }
.delivery-copy strong { font-size:1.04rem; color:var(--ink); }
.delivery-copy span { color:var(--muted); font-size:.92rem; }
.quick-search { height:50px; border-radius:8px; background:#f2f6f7; border:1px solid #dfe8ea; }
.quick-search span { transform:none; font-size:.78rem; color:var(--brand-dark); font-weight:850; text-transform:uppercase; }
.quick-actions a { font-size:.98rem; font-weight:650; }
.cart-button { min-height:46px; border-radius:8px; background:var(--brand); box-shadow:0 10px 22px rgba(14,124,134,.18); }
.store-shell { padding:24px 0 0; background:linear-gradient(180deg, #fbfcfd 0%, #fff 62%); }
.market-hero { min-height:360px; display:grid; grid-template-columns:minmax(0, 1.05fr) minmax(300px, .95fr); gap:32px; align-items:center; padding:42px; border:1px solid #dfe9ea; border-radius:8px; background:linear-gradient(135deg, #eaf8f8 0%, #fff8f1 100%); overflow:hidden; }
.hero-copy h1 { max-width:680px; margin:0 0 16px; font-size:clamp(2.2rem, 5vw, 4.7rem); line-height:.98; font-weight:900; color:#13242c; }
.hero-copy p { max-width:600px; margin:0 0 24px; color:#40515b; font-size:1.15rem; line-height:1.55; }
.eyebrow { color:var(--brand-dark); opacity:1; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; }
.primary-action, .secondary-action { min-height:46px; display:inline-flex; align-items:center; justify-content:center; padding:0 18px; border-radius:8px; text-decoration:none; font-weight:850; }
.primary-action { color:#fff; background:var(--brand); }
.secondary-action { color:var(--brand-dark); background:#fff; border:1px solid #d7e4e6; }
.basket-board { min-height:270px; position:relative; }
.basket-card { position:absolute; min-width:150px; padding:18px; border-radius:8px; background:#fff; border:1px solid #e3eaec; box-shadow:0 18px 50px rgba(22,32,42,.10); }
.basket-card span { display:block; color:var(--muted); font-size:.82rem; font-weight:800; text-transform:uppercase; }
.basket-card strong { display:block; margin-top:6px; font-size:1.55rem; }
.basket-card small { color:var(--muted); }
.basket-main { width:270px; left:42px; top:38px; }
.basket-fresh { right:50px; top:0; border-top:5px solid var(--brand); }
.basket-home { right:14px; bottom:34px; border-top:5px solid var(--accent); }
.basket-save { left:0; bottom:6px; border-top:5px solid var(--sun); }
.promise-strip { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:16px; margin:22px 0 34px; }
.promise-card { min-height:116px; display:flex; flex-direction:column; gap:8px; padding:20px; color:var(--ink); text-decoration:none; background:#fff; border:1px solid var(--line); border-radius:8px; }
.promise-card strong { font-size:1.08rem; font-weight:850; }
.promise-card span { color:var(--muted); line-height:1.4; }
.section-heading { align-items:flex-end; }
.section-heading p { margin:6px 0 0; color:var(--muted); }
.section-heading a { color:var(--brand-dark); }
.category-grid { grid-template-columns:repeat(8, minmax(104px, 1fr)); gap:16px; }
.category-tile { min-height:132px; justify-content:center; padding:14px 10px; background:#fff; border:1px solid var(--line); border-radius:8px; transition:transform .15s ease, border-color .15s ease; }
.category-tile:hover { transform:translateY(-2px); border-color:#b8d6da; }
.category-art { width:64px; border-radius:8px; background:linear-gradient(145deg, #e7f7f8, #fff3ef); color:var(--brand-dark); font-size:1.05rem; }
.category-tile img { width:64px; border-radius:8px; }
.category-tile strong { min-height:auto; font-size:.93rem; }
.quick-product-grid { grid-template-columns:repeat(5, minmax(150px, 1fr)); }
.quick-product-card { min-height:266px; border:1px solid var(--line); border-radius:8px; box-shadow:none; transition:box-shadow .15s ease, transform .15s ease; }
.quick-product-card:hover { transform:translateY(-2px); box-shadow:0 14px 30px rgba(22,32,42,.08); }
.product-art { background:linear-gradient(145deg, #f2f7f8, #fff7f2); }
.product-art span { color:var(--brand-dark); font-size:1rem; }
.quick-product-card > a:last-child { color:var(--brand-dark); border-color:#a7d1d5; background:#f3fbfb; text-transform:none; }
.shopping-guide { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:18px; margin:10px 0 64px; }
.shopping-guide div { background:#15242d; color:#fff; border-radius:8px; padding:22px; }
.shopping-guide span { width:34px; height:34px; display:grid; place-items:center; margin-bottom:14px; border-radius:50%; background:var(--accent); font-weight:900; }
.shopping-guide strong { display:block; margin-bottom:8px; font-size:1.1rem; }
.shopping-guide p { margin:0; color:#cbd5dc; }
.shop-page-head { display:flex; align-items:end; justify-content:space-between; gap:22px; margin-bottom:24px; padding:24px; border-radius:8px; background:#eef7f8; border:1px solid #dcecee; }
.shop-page-head p { margin:0; color:var(--muted); }
.shelf-search { display:flex; gap:8px; min-width:min(420px, 100%); }
.shelf-search input { flex:1; border:1px solid #cbdadd; border-radius:8px; padding:11px 12px; }
.shelf-search button { border:0; border-radius:8px; padding:0 16px; color:#fff; background:var(--brand); font-weight:800; }
.site-footer { background:#101820; color:#cbd3d9; }
.site-footer h2 { color:#fff; }
.footer-links a, .footer-links span, .site-footer p { color:#cbd3d9; }
@media (max-width:1180px) {
  .quick-nav { grid-template-columns:180px minmax(240px, 1fr) 190px; }
  .category-grid { grid-template-columns:repeat(4, minmax(110px, 1fr)); }
  .quick-product-grid { grid-template-columns:repeat(3, minmax(150px, 1fr)); }
}
@media (max-width:900px) {
  .quick-nav { grid-template-columns:1fr; padding:12px 16px; }
  .market-hero, .promise-strip, .shopping-guide, .shop-page-head { grid-template-columns:1fr; }
  .market-hero { padding:28px 20px; }
  .basket-board { min-height:230px; }
  .basket-main { left:0; top:25px; }
  .basket-fresh { right:0; }
  .basket-home { right:0; bottom:14px; }
  .basket-save { left:12px; bottom:0; }
  .category-grid { grid-template-columns:repeat(2, minmax(120px, 1fr)); }
  .quick-product-grid { grid-template-columns:repeat(2, minmax(140px, 1fr)); }
  .shop-page-head { align-items:stretch; }
}

.basket-board { border-radius:8px; overflow:hidden; border:1px solid #dfe9ea; box-shadow:0 24px 60px rgba(22,32,42,.12); }
.basket-board > img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.basket-board::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,.06) 45%, rgba(255,255,255,0)); pointer-events:none; }
.basket-card { z-index:1; background:rgba(255,255,255,.9); backdrop-filter:blur(12px); }
.quick-product-card { grid-template-rows:132px auto auto auto auto; }
.product-art img { width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:900px) {
  .basket-board > img { object-position:center; }
  .basket-card { transform:scale(.92); transform-origin:center; }
}

.promise-card { min-height:220px; padding:0; overflow:hidden; }
.promise-card img { width:100%; height:118px; object-fit:cover; display:block; }
.promise-card strong, .promise-card span { padding-left:16px; padding-right:16px; }
.promise-card strong { padding-top:4px; }
.promise-card span { padding-bottom:16px; }
.category-tile { min-height:168px; padding:10px; }
.category-tile img { width:100%; height:104px; max-width:none; aspect-ratio:auto; object-fit:cover; border-radius:8px; }
.category-tile strong { padding:0 4px 4px; }
@media (max-width:900px) {
  .promise-card img { height:150px; }
  .category-tile img { height:128px; }
}

/* Compact homepage banner and working cart controls */
.market-hero { min-height:250px; padding:30px 36px; grid-template-columns:minmax(0, .9fr) minmax(420px, 1.1fr); }
.hero-copy h1 { font-size:clamp(2.05rem, 3.4vw, 3.75rem); max-width:600px; }
.hero-copy p { font-size:1rem; max-width:620px; margin-bottom:18px; }
.basket-board { min-height:210px; }
.basket-main { width:230px; left:28px; top:52px; }
.basket-fresh { right:38px; top:8px; }
.basket-home { right:16px; bottom:22px; }
.basket-save { left:8px; bottom:10px; }
.basket-card { min-width:120px; padding:14px; }
.basket-card strong { font-size:1.28rem; }
.quick-product-card > a:last-child, .add-button { align-self:end; justify-self:start; color:var(--brand-dark); border:1px solid #a7d1d5; background:#f3fbfb; border-radius:8px; padding:6px 16px; text-decoration:none; font-weight:900; font:inherit; cursor:pointer; }
.add-button:disabled { opacity:.75; cursor:wait; }
.cart-controls { display:flex; flex-wrap:wrap; gap:8px; align-items:center; justify-content:flex-end; }
.qty-button, .remove-button { border:1px solid #cbdadd; border-radius:8px; background:#fff; color:var(--ink); min-height:34px; padding:0 11px; font-weight:800; }
.remove-button { color:#9f2d20; border-color:#f0c7c0; }
@media (max-width:900px) {
  .market-hero { min-height:0; grid-template-columns:1fr; padding:24px 18px; }
  .basket-board { min-height:190px; }
  .hero-copy h1 { font-size:2.2rem; }
}

/* Show full promise illustrations without harsh cropping */
.promise-card { min-height:300px; background:#fff; }
.promise-card img { height:178px; object-fit:contain; object-position:center; padding:12px 16px 0; background:linear-gradient(145deg, #fbf7f2, #f0fbfb); }
.promise-card strong { padding-top:16px; }
@media (max-width:900px) {
  .promise-card { min-height:0; }
  .promise-card img { height:220px; }
}

/* Live cart feedback */
.cart-button { position:relative; gap:8px; }
.cart-count { min-width:22px; height:22px; display:inline-grid; place-items:center; border-radius:999px; background:#fff; color:var(--brand-dark); font-size:.78rem; font-weight:900; padding:0 6px; }
.cart-button.has-items { background:#0b6f78; }
.add-button.is-loading { position:relative; padding-left:30px; }
.add-button.is-loading::before { content:""; position:absolute; left:10px; top:50%; width:12px; height:12px; margin-top:-6px; border:2px solid currentColor; border-top-color:transparent; border-radius:50%; animation:spin .7s linear infinite; }
.add-button.is-added { color:#fff; background:var(--brand); border-color:var(--brand); }
.toast-stack { position:fixed; right:22px; top:94px; z-index:2000; display:grid; gap:10px; pointer-events:none; }
.store-toast { transform:translateY(-8px); opacity:0; transition:opacity .18s ease, transform .18s ease; background:#15242d; color:#fff; border-radius:8px; padding:12px 16px; box-shadow:0 18px 40px rgba(22,32,42,.18); font-weight:800; }
.store-toast.is-visible { transform:translateY(0); opacity:1; }
@keyframes spin { to { transform:rotate(360deg); } }
@media (max-width:900px) { .toast-stack { left:16px; right:16px; top:auto; bottom:18px; } }
