: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:200px 220px minmax(280px, 1fr) 360px; 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); }
.app-download-link {
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:0 14px;
  border:1px solid #cfe3e5;
  border-radius:8px;
  color:var(--brand-dark) !important;
  background:#fff;
  box-shadow:0 10px 22px rgba(22,32,42,.06);
}
.app-download-icon {
  width:24px;
  height:24px;
  display:inline-grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:var(--brand);
  font-weight:900;
  line-height:1;
}
.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, .download-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; }
.download-action { color:#fff; background:#15242d; border:1px solid #15242d; }
.app-install-note { margin-top:12px !important; font-size:.95rem !important; color:#5f6c76 !important; }
.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; }
.product-buy-row { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:auto; }
.product-buy-row .quick-price { min-width:0; }
.product-buy-row .product-cart-control { flex:0 0 auto; }
.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:170px minmax(240px, 1fr) 330px; }
  .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; } }

/* Final mobile responsiveness pass */
@media (max-width: 900px) {
  .site-header { position: static; top: auto; backdrop-filter: none; }
  .quick-nav { min-height: 0; grid-template-columns: 1fr; gap: 12px; padding: 12px 14px; }
  .quick-brand { height: auto; }
  .brand-mark { font-size: 1.15rem; }
  .brand-mark span { width: 36px; height: 36px; }
  .delivery-copy { display: flex; }
  .delivery-copy strong { font-size: .98rem; }
  .delivery-copy span { white-space: normal; font-size: .86rem; }
  .quick-search { width: 100%; height: 46px; padding: 0 12px; }
  .quick-search span { font-size: .72rem; }
  .quick-search input { min-width: 0; font-size: .92rem; }
  .quick-actions { justify-content: space-between; gap: 12px; }
  .cart-button { min-height: 42px; padding: 0 16px; }
  .store-shell { padding-top: 14px; }
  .market-hero { border-radius: 8px; gap: 18px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .primary-action, .secondary-action { width: 100%; }
  .basket-board { min-height: 170px; }
  .basket-card { display: none; }
  .basket-board::after { background: linear-gradient(0deg, rgba(255,255,255,.35), rgba(255,255,255,0)); }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .shop-section { margin: 26px 0 36px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .category-tile { min-height: 154px; }
  .category-tile img { height: 102px; }
  .quick-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .quick-product-card { min-height: 252px; grid-template-rows: 112px auto auto auto auto; padding: 10px; }
  .quick-product-card h3 { font-size: .92rem; }
  .product-art { min-width: 0; }
  .add-button { padding: 6px 14px; }
  .promise-strip { grid-template-columns: 1fr; margin: 28px 0 34px; }
  .promise-card img { height: 190px; }
  .shopping-guide { grid-template-columns: 1fr; margin-bottom: 38px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-links, .footer-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-layout, .product-detail { grid-template-columns: 1fr; gap: 18px; }
  .line-item { align-items: stretch; }
  .cart-controls { justify-content: flex-start; }
  .summary { position: static; }
  .shop-page-head { padding: 18px; }
  .shelf-search { min-width: 0; flex-direction: column; }
  .shelf-search button { min-height: 42px; }
}

@media (max-width: 520px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .hero-copy h1 { font-size: 1.9rem; }
  .hero-copy p { font-size: .94rem; }
  .category-grid, .quick-product-grid { grid-template-columns: 1fr; }
  .quick-product-card { grid-template-rows: 164px auto auto auto auto; }
  .product-art img { object-fit: contain; padding: 8px; background: linear-gradient(145deg, #fbf7f2, #f0fbfb); }
  .promise-card img { height: 170px; }
  .footer-links, .footer-categories { grid-template-columns: 1fr; }
}

/* Product-card live quantity controls */
.product-cart-control { align-self:end; justify-self:start; min-height:38px; display:flex; align-items:center; }
.inline-qty { display:inline-flex; align-items:center; gap:0; overflow:hidden; min-height:38px; border:1px solid #11835e; border-radius:8px; background:#0d8a67; color:#fff; box-shadow:0 8px 20px rgba(13,138,103,.16); }
.inline-qty[hidden] { display:none !important; }
.inline-qty button { width:36px; height:38px; border:0; background:rgba(255,255,255,.12); color:#fff; font-size:1.2rem; font-weight:900; line-height:1; }
.inline-qty button:hover { background:rgba(255,255,255,.22); }
.inline-qty span { min-width:92px; display:inline-flex; align-items:center; justify-content:center; gap:5px; padding:0 10px; font-weight:900; }
.inline-qty em { width:18px; height:18px; display:inline-grid; place-items:center; border-radius:50%; background:#fff; color:#0d8a67; font-style:normal; font-size:.78rem; }
.js-product-cart.in-cart { width:100%; }
.js-product-cart.in-cart .inline-qty { width:max-content; }
@media (max-width:520px) {
  .product-cart-control, .js-product-cart.in-cart { width:100%; }
  .inline-qty { width:100%; justify-content:space-between; }
  .inline-qty span { flex:1; }
}

/* Refined attractive product quantity control */
.quick-product-card { position:relative; }
.product-cart-control { width:100%; }
.inline-qty { min-height:42px; width:100%; border:0; border-radius:999px; background:#0e7c86; color:#fff; box-shadow:0 14px 28px rgba(14,124,134,.20); }
.inline-qty button { width:44px; height:42px; background:rgba(255,255,255,.14); font-size:1.25rem; transition:background .15s ease, transform .15s ease; }
.inline-qty button:hover { background:rgba(255,255,255,.24); transform:scale(1.03); }
.inline-qty span { min-width:0; flex:1; gap:0; font-size:0; padding:0 8px; }
.inline-qty .js-card-qty { font-size:1rem; }
.inline-qty .js-card-qty::after { content:" in cart"; font-weight:750; font-size:.9rem; opacity:.95; }
.inline-qty em { position:absolute; top:12px; right:12px; width:28px; height:28px; background:#10a66e; color:#fff; border:3px solid #fff; box-shadow:0 8px 18px rgba(16,166,110,.28); }
.js-product-cart.in-cart::before { content:"Added"; position:absolute; top:14px; left:14px; z-index:2; padding:5px 10px; border-radius:999px; color:#075a61; background:rgba(255,255,255,.92); border:1px solid #cfe6e8; font-size:.76rem; font-weight:900; box-shadow:0 8px 18px rgba(22,32,42,.08); }
.add-button { min-height:42px; border-radius:999px; padding:7px 20px; background:#fff; transition:background .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease; }
.add-button:hover { background:#0e7c86; border-color:#0e7c86; color:#fff; box-shadow:0 12px 22px rgba(14,124,134,.18); transform:translateY(-1px); }
@media (max-width:520px) {
  .inline-qty { width:100%; }
  .inline-qty button { width:48px; }
}

/* Reference-style compact live add controls */
.cart-button { min-height:54px; min-width:126px; display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:8px 16px; border-radius:8px; }
.cart-button .cart-icon { font-size:1.35rem; line-height:1; }
.cart-label { display:flex; flex-direction:column; align-items:flex-start; line-height:1.05; }
.cart-label strong { font-size:.98rem; color:#fff; }
.cart-label small { margin-top:4px; color:#fff; font-size:.92rem; font-weight:900; }
.cart-button:not(.has-items) .cart-icon { display:none; }
.cart-button.has-items { background:#0b8a22; box-shadow:0 14px 28px rgba(11,138,34,.20); }
.account-menu { position:relative; }
.notification-menu { position:relative; }
.notification-bell {
  position:relative;
  width:44px;
  height:44px;
  display:inline-grid;
  place-items:center;
  border:1px solid #d7e4e6;
  border-radius:50%;
  background:#fff;
  box-shadow:0 10px 24px rgba(22,32,42,.06);
}
.notification-bell-icon {
  width:18px;
  height:20px;
  display:block;
  border:2px solid #111827;
  border-top-left-radius:9px;
  border-top-right-radius:9px;
  border-bottom:0;
  position:relative;
}
.notification-bell-icon::before {
  content:"";
  position:absolute;
  left:50%;
  top:-7px;
  width:8px;
  height:8px;
  border:2px solid #111827;
  border-bottom:0;
  border-radius:8px 8px 0 0;
  transform:translateX(-50%);
}
.notification-bell-icon::after {
  content:"";
  position:absolute;
  left:50%;
  bottom:-7px;
  width:9px;
  height:5px;
  border-radius:0 0 9px 9px;
  background:#111827;
  transform:translateX(-50%);
}
.notification-bell strong {
  position:absolute;
  right:-4px;
  top:-4px;
  min-width:20px;
  height:20px;
  display:grid;
  place-items:center;
  padding:0 5px;
  border-radius:999px;
  background:#13a66f;
  color:#fff;
  font-size:.72rem;
  line-height:1;
}
.notification-menu-panel {
  position:absolute;
  right:0;
  top:calc(100% + 14px);
  z-index:1000;
  width:min(360px, calc(100vw - 32px));
  padding:14px;
  border:1px solid #e5ecef;
  border-radius:8px;
  background:#fff;
  box-shadow:0 26px 70px rgba(15,23,42,.18);
  opacity:0;
  pointer-events:none;
  transform:translateY(6px);
  transition:opacity .15s ease, transform .15s ease;
}
.notification-menu:hover .notification-menu-panel,
.notification-menu:focus-within .notification-menu-panel {
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}
.notification-panel-head {
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
  font-weight:900;
}
.notification-panel-head a {
  color:var(--brand-dark);
  font-size:.86rem;
}
.notification-preview {
  display:block;
  padding:10px;
  border-radius:8px;
  background:#eefaf6;
  color:var(--ink);
  text-decoration:none;
}
.notification-preview + .notification-preview { margin-top:8px; }
.notification-preview.is-read {
  background:#f7f8f8;
  color:#67737b;
}
.notification-preview strong,
.notification-preview small {
  display:block;
}
.notification-preview small,
.notification-empty {
  color:var(--muted);
}
.account-menu-toggle { min-height:46px; display:inline-flex; align-items:center; justify-content:center; gap:8px; border:0; background:transparent; color:#111827; font:inherit; font-size:1.02rem; font-weight:750; white-space:nowrap; cursor:pointer; }
.account-user-icon { width:26px; height:26px; position:relative; flex:0 0 26px; display:inline-block; border:2px solid currentColor; border-radius:50%; }
.account-user-icon::before { content:""; position:absolute; left:50%; top:5px; width:7px; height:7px; border:2px solid currentColor; border-radius:50%; transform:translateX(-50%); background:#fff; }
.account-user-icon::after { content:""; position:absolute; left:50%; bottom:4px; width:13px; height:7px; border:2px solid currentColor; border-bottom:0; border-radius:9px 9px 0 0; transform:translateX(-50%); }
.account-caret { width:0; height:0; border-left:5px solid transparent; border-right:5px solid transparent; border-top:6px solid currentColor; transition:transform .16s ease; }
.account-menu-toggle[aria-expanded="true"] .account-caret { transform:rotate(180deg); }
.account-menu-panel { position:absolute; right:0; top:calc(100% + 16px); z-index:1000; width:min(340px, calc(100vw - 32px)); padding:18px 20px; border:1px solid #e5ecef; border-radius:8px; background:#fff; box-shadow:0 26px 70px rgba(15,23,42,.18); }
.account-menu-panel[hidden] { display:none !important; }
.account-summary { margin-bottom:14px; padding-bottom:12px; border-bottom:1px solid #eef2f3; }
.account-summary strong, .account-summary span { display:block; }
.account-summary strong { color:#3f4b55; font-size:1rem; font-weight:850; }
.account-summary span { margin-top:4px; color:#52616c; font-size:.9rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.account-menu-panel a, .account-menu-panel form button { width:100%; min-height:36px; display:flex; align-items:center; border:0; background:transparent; color:#4b5563; text-align:left; text-decoration:none; font-size:.93rem; font-weight:500; cursor:pointer; }
.account-menu-panel a:hover, .account-menu-panel form button:hover { color:var(--brand-dark); }
.account-app-card { display:grid; grid-template-columns:58px 1fr; gap:12px; align-items:center; margin-top:12px; padding-top:14px; border-top:1px solid #eef2f3; }
.account-app-icon { width:58px; height:58px; display:grid; place-items:center; border-radius:8px; background:repeating-linear-gradient(45deg, #0e7c86 0 6px, #fff 6px 12px); color:#111827; border:1px solid #d5e4e6; font-size:.78rem; font-weight:900; }
.account-app-card strong, .account-app-card small { display:block; }
.account-app-card strong { color:#4a5561; line-height:1.15; }
.account-app-card small { margin-top:4px; color:#63717d; line-height:1.25; }
.product-cart-control { width:auto; min-height:40px; }
.add-button { min-width:84px; min-height:40px; border:1.5px solid #168a16; color:#168a16; background:#fff; border-radius:8px; padding:7px 18px; font-size:.95rem; font-weight:900; text-transform:uppercase; box-shadow:none; }
.add-button:hover { background:#f3fff3; border-color:#168a16; color:#168a16; box-shadow:0 8px 18px rgba(22,138,22,.12); transform:none; }
.inline-qty { width:84px; min-height:40px; border-radius:8px; background:#168a16; box-shadow:0 10px 20px rgba(22,138,22,.18); }
.inline-qty button { width:28px; height:40px; background:transparent; color:#fff; font-size:1.05rem; }
.inline-qty button:hover { background:rgba(255,255,255,.14); transform:none; }
.inline-qty span { min-width:28px; flex:1; padding:0; font-size:0; justify-content:center; }
.inline-qty .js-card-qty { font-size:1rem; color:#fff; font-weight:900; }
.inline-qty .js-card-qty::after, .inline-qty em, .js-product-cart.in-cart::before { content:none; display:none; }
.js-product-cart.in-cart { width:auto; }
.js-product-cart.in-cart .inline-qty { width:84px; }
@media (max-width:520px) {
  .cart-button { min-width:118px; min-height:50px; }
  .cart-label strong { font-size:.9rem; }
  .cart-label small { font-size:.82rem; }
  .product-cart-control, .js-product-cart.in-cart { width:auto; }
  .inline-qty, .js-product-cart.in-cart .inline-qty { width:92px; }
  .inline-qty button { width:31px; }
  .add-button { min-width:92px; }
}

/* Keep attractive added badge on product image */
.js-product-cart.in-cart::before { content:"Added"; display:block; position:absolute; top:14px; left:14px; z-index:3; padding:6px 12px; border-radius:999px; color:#075a61; background:rgba(255,255,255,.96); border:1px solid #cfe6e8; font-size:.78rem; font-weight:900; box-shadow:0 10px 22px rgba(22,32,42,.10); }
.js-product-cart.in-cart::after { content:"✓"; position:absolute; top:12px; right:12px; z-index:3; width:34px; height:34px; display:grid; place-items:center; border-radius:50%; background:#10a66e; color:#fff; border:4px solid #fff; box-shadow:0 12px 26px rgba(16,166,110,.34); font-size:1rem; font-weight:900; }
@media (max-width:520px) {
  .js-product-cart.in-cart::before { top:12px; left:12px; }
  .js-product-cart.in-cart::after { top:10px; right:10px; width:32px; height:32px; }
}

/* Local utility layer replacing external Bootstrap CDN */
*, *::before, *::after { box-sizing:border-box; }
.container { width:min(100% - 32px, 1320px); margin-left:auto; margin-right:auto; }
.py-4 { padding-top:1.5rem; padding-bottom:1.5rem; }
.py-5 { padding-top:3rem; padding-bottom:3rem; }
.mt-3 { margin-top:1rem; }
.mb-2 { margin-bottom:.5rem; }
.mb-3 { margin-bottom:1rem; }
.w-100 { width:100%; }
.d-block { display:block; }
.btn { display:inline-flex; align-items:center; justify-content:center; min-height:42px; padding:.55rem 1rem; border:1px solid transparent; border-radius:8px; text-decoration:none; font:inherit; font-weight:800; cursor:pointer; }
.btn-primary { color:#fff; background:var(--brand); border-color:var(--brand); }
.btn-primary:hover { background:var(--brand-dark); border-color:var(--brand-dark); }
.btn-light { color:var(--ink); background:#fff; border-color:#d7e4e6; }
.btn-outline-secondary { color:var(--ink); background:#fff; border-color:#cbd5dc; }
.btn-outline-secondary:hover { background:#f3f6f8; }
.btn-sm { min-height:34px; padding:.35rem .75rem; font-size:.9rem; }
.form-control { display:block; width:100%; min-height:42px; padding:.55rem .75rem; border:1px solid #cbdadd; border-radius:8px; background:#fff; color:var(--ink); font:inherit; }
.form-control:focus { outline:2px solid rgba(14,124,134,.18); border-color:var(--brand); }
.form-label { display:block; margin-bottom:.45rem; font-weight:750; }
hr { border:0; border-top:1px solid var(--line); margin:1.5rem 0; }
img { max-width:100%; }
@media (max-width:520px) { .container { width:min(100% - 24px, 1320px); } .py-5 { padding-top:2rem; padding-bottom:2rem; } }

/* Brand logo asset */
.brand-logo-link { display:inline-flex; align-items:center; max-width:230px; }
.brand-logo-link img { display:block; width:210px; height:auto; max-height:58px; object-fit:contain; }
.mobile-menu-toggle,
.mobile-menu-panel { display:none; }
@media (max-width:900px) {
  .brand-logo-link img { width:176px; max-height:50px; }
}
@media (max-width:520px) {
  .brand-logo-link img { width:158px; }
}

/* Keep two-card grids on small mobile */
@media (max-width: 520px) {
  .category-grid,
  .quick-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-tile { min-height: 138px; padding: 8px; }
  .category-tile img { height: 86px; }
  .category-tile strong { font-size: .78rem; line-height: 1.15; }
  .quick-product-card { min-height: 238px; grid-template-rows: 108px auto auto auto auto; padding: 9px; }
  .quick-product-card h3 { font-size: .86rem; line-height: 1.18; }
  .quick-product-card small { font-size: .78rem; }
  .quick-price { font-size: .9rem; }
  .product-art img { object-fit: contain; padding: 6px; background: linear-gradient(145deg, #fbf7f2, #f0fbfb); }
  .add-button { min-width: 76px; min-height: 36px; padding: 5px 12px; font-size: .82rem; }
  .inline-qty,
  .js-product-cart.in-cart .inline-qty { width: 82px; min-height: 36px; }
  .inline-qty button { width: 27px; height: 36px; }
  .inline-qty .js-card-qty { font-size: .9rem; }
  .js-product-cart.in-cart::before { padding: 4px 8px; font-size: .68rem; }
  .js-product-cart.in-cart::after { width: 28px; height: 28px; border-width: 3px; }
}

/* Mobile navbar: logo left, menu actions inside drawer */
@media (max-width: 900px) {
  .quick-nav {
    position:relative;
    display:grid;
    grid-template-columns:minmax(0, 1fr) auto;
    grid-template-areas:
      "brand menu"
      "delivery delivery"
      "search search";
    align-items:center;
    gap:10px 12px;
    padding:10px 14px 12px;
  }
  .quick-brand { grid-area:brand; min-width:0; justify-content:flex-start; }
  .brand-logo-link { max-width:100%; }
  .brand-logo-link img { width:168px; max-height:54px; }
  .delivery-copy {
    grid-area:delivery;
    display:flex;
    flex-direction:column;
    gap:1px;
    min-width:0;
  }
  .quick-search { grid-area:search; height:44px; min-width:0; }
  .quick-actions { display:none; }
  .mobile-menu-toggle {
    grid-area:menu;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    min-height:42px;
    padding:7px 12px;
    border:1px solid #cfe3e5;
    border-radius:8px;
    background:#fff;
    color:var(--brand-dark);
    font:inherit;
    font-size:.92rem;
    font-weight:900;
    box-shadow:0 10px 22px rgba(22,32,42,.07);
    cursor:pointer;
  }
  .menu-icon {
    width:18px;
    display:grid;
    gap:4px;
  }
  .menu-icon i {
    display:block;
    height:2px;
    border-radius:999px;
    background:currentColor;
    transition:transform .18s ease, opacity .18s ease;
  }
  .mobile-menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(1) { transform:translateY(6px) rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity:0; }
  .mobile-menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }
  .mobile-menu-panel {
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:10px;
    padding:12px;
    border:1px solid #d7e6e8;
    border-radius:8px;
    background:#fff;
    box-shadow:0 18px 42px rgba(22,32,42,.12);
  }
  .mobile-menu-panel[hidden] { display:none !important; }
  .mobile-menu-panel a {
    min-height:44px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding:10px 12px;
    border:1px solid #e0ecee;
    border-radius:8px;
    background:#f7fbfb;
    color:var(--ink);
    text-decoration:none;
    font-size:.9rem;
    font-weight:850;
  }
  .mobile-menu-panel .mobile-cart-link {
    color:#fff;
    background:var(--brand);
    border-color:var(--brand);
  }
  .mobile-menu-panel .mobile-app-download {
    grid-column:1 / -1;
    color:#fff;
    background:#15242d;
    border-color:#15242d;
  }
.mobile-menu-panel strong {
    min-width:24px;
    height:24px;
    display:inline-grid;
    place-items:center;
    padding:0 7px;
    border-radius:999px;
    background:#fff;
    color:var(--brand-dark);
    font-size:.78rem;
  }
}

.checkout-page,
.auth-shell,
.account-page {
  position:relative;
}

.auth-shell {
  display:grid;
  place-items:start center;
  min-height:calc(100vh - 330px);
}

.auth-panel {
  width:min(100%, 560px);
  padding:30px;
  border:1px solid #dbe7e9;
  border-radius:8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.98)),
    linear-gradient(135deg, #e8f7f6, #fff4ea);
  box-shadow:0 24px 70px rgba(22,32,42,.10);
}

.auth-panel h1,
.checkout-head h1,
.account-head h1 {
  margin:.15rem 0 .35rem;
  letter-spacing:0;
}

.auth-copy,
.checkout-head p,
.account-head p {
  max-width:640px;
  color:var(--muted);
  line-height:1.5;
}

.auth-panel form:not(.google-auth-form) p {
  margin:0 0 14px;
}

.auth-panel form:not(.google-auth-form) label {
  display:block;
  margin-bottom:7px;
  color:#263642;
  font-weight:800;
}

.auth-panel form:not(.google-auth-form) input,
.auth-panel form:not(.google-auth-form) select,
.auth-panel form:not(.google-auth-form) textarea,
.form-grid input:not([type="checkbox"]),
.form-grid select,
.form-grid textarea,
.form-control {
  width:100%;
  max-width:none;
  min-height:48px;
  padding:11px 13px;
  border:1px solid #cfdcdf;
  border-radius:8px;
  background:#fff;
  color:var(--ink);
  font:inherit;
  box-shadow:0 1px 0 rgba(22,32,42,.03);
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.password-field-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: 420px;
}

.password-field-wrap input {
  padding-right: 48px !important;
}

.password-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #eef7f3;
  color: var(--teal);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.auth-panel form:not(.google-auth-form) input:focus,
.auth-panel form:not(.google-auth-form) select:focus,
.auth-panel form:not(.google-auth-form) textarea:focus,
.form-grid input:not([type="checkbox"]):focus,
.form-grid select:focus,
.form-grid textarea:focus,
.form-control:focus {
  outline:0;
  border-color:var(--brand);
  box-shadow:0 0 0 4px rgba(14,124,134,.12);
}

.auth-panel .helptext {
  display:block;
  margin-top:6px;
  color:var(--muted);
  font-size:.86rem;
  line-height:1.4;
}

.auth-panel .errorlist {
  margin:0 0 8px;
  padding:10px 12px;
  border-radius:8px;
  background:#fff1ef;
  color:#a3382e;
  list-style:none;
  font-weight:750;
}

.auth-panel .btn,
.checkout-panel .btn-primary {
  min-height:52px;
  padding:0 22px;
}

.auth-panel form:not(.google-auth-form) .btn-primary,
.btn-google {
  width:100%;
}

.btn-google {
  min-height:52px;
  border-color:#d7e4e6;
  background:#fff;
  box-shadow:0 10px 24px rgba(22,32,42,.06);
}

.btn-google:hover {
  border-color:#b9d7db;
  background:#f8fcfc;
}

.auth-status-panel {
  text-align:center;
}

.auth-status-icon {
  width:54px;
  height:54px;
  display:inline-grid;
  place-items:center;
  margin-bottom:12px;
  border-radius:50%;
  color:#fff;
  background:#13a66f;
  font-size:1.4rem;
  font-weight:900;
}

.checkout-head {
  margin-bottom:22px;
}

.checkout-panel,
.account-panel,
.address-details {
  border:1px solid #dbe7e9;
  border-radius:8px;
  background:#fff;
  padding:22px;
  box-shadow:0 14px 38px rgba(22,32,42,.06);
}

.checkout-panel h2,
.account-panel h2 {
  margin-top:0;
}

.payment-options {
  display:grid;
  gap:12px;
  max-width:680px;
}

.payment-option {
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:16px;
  border:1px solid #d8e3df;
  border-radius:8px;
  background:#fff;
  box-shadow:0 10px 24px rgba(22,32,42,.04);
  cursor:pointer;
}

.payment-option.is-selected {
  border-color:var(--brand);
  background:#edf9f8;
  box-shadow:0 14px 32px rgba(14,124,134,.10);
}

.payment-option input {
  margin-top:3px;
}

.payment-option strong,
.payment-option small {
  display:block;
}

.payment-option strong {
  color:var(--ink);
  font-weight:850;
}

.payment-option small,
.payment-note {
  color:var(--muted);
  line-height:1.45;
}

.payment-note {
  margin:.75rem 0 0;
}

.btn.is-disabled,
.btn[aria-disabled="true"],
.btn:disabled {
  opacity:.62;
  cursor:not-allowed;
}

.account-head {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  margin-bottom:22px;
}

.account-grid {
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(320px, .85fr);
  gap:22px;
  align-items:start;
}

.address-details {
  margin-top:14px;
}

.address-details summary {
  cursor:pointer;
  font-weight:850;
  color:var(--brand-dark);
}

.form-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.form-grid.compact {
  margin-top:14px;
}

.form-grid label span {
  display:block;
  margin-bottom:6px;
  font-weight:750;
}

.checkbox-field {
  display:flex;
  align-items:center;
  gap:8px;
}

.checkbox-field span {
  margin:0;
}

.address-card {
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:14px 0;
  border-bottom:1px solid var(--line);
}

.address-actions {
  display:flex;
  align-items:flex-start;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.address-card:last-child {
  border-bottom:0;
}

.address-card p,
.checkout-address small {
  margin:.2rem 0;
  color:var(--muted);
  line-height:1.45;
}

.checkout-address {
  justify-content:flex-start;
  align-items:flex-start;
  margin-bottom:12px;
  border-color:#dbe7e9;
  background:#fbfdfd;
}

.checkout-address input {
  margin-top:5px;
}

.location-helper {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:12px 0 16px;
  padding:14px;
  border:1px solid #bad0c7;
  border-radius:8px;
  background:#f1faf6;
}

.notification-card {
  margin-bottom:12px;
  padding:16px;
  border:1px solid #bad0c7;
  border-radius:8px;
  background:#eefaf6;
  box-shadow:0 10px 24px rgba(22,32,42,.05);
}

.notification-card.is-read {
  border-color:#e2e8ea;
  background:#f7f8f8;
}

.notification-card div {
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}

.notification-card strong {
  color:var(--ink);
}

.notification-card span,
.notification-card p {
  color:var(--muted);
}

.notification-card p {
  margin:.5rem 0 0;
  line-height:1.5;
}

.location-helper div {
  display:flex;
  flex-direction:column;
  gap:2px;
}

.location-helper strong {
  color:#1d2521;
}

.location-helper span {
  color:var(--muted);
  line-height:1.35;
}

@media (max-width:640px) {
  .location-helper {
    align-items:stretch;
    flex-direction:column;
  }
}

.message-stack {
  margin-bottom:18px;
}

.store-message {
  padding:10px 12px;
  border-radius:8px;
  background:#eef8f4;
  color:var(--brand-dark);
  font-weight:750;
}

.form-error {
  display:block;
  margin-top:4px;
  color:#b13d32;
}

@media (max-width: 840px) {
  .account-head,
  .account-grid {
    display:block;
  }
  .account-panel {
    margin-bottom:18px;
  }
  .form-grid {
    grid-template-columns:1fr;
  }
}

.btn-google::before {
  content:"G";
  display:inline-grid;
  place-items:center;
  width:26px;
  height:26px;
  margin-right:10px;
  border-radius:50%;
  background:#f5f7f8;
  color:#0b57d0;
  font-weight:900;
}

.auth-divider {
  display:flex;
  align-items:center;
  gap:12px;
  margin:18px 0;
  color:var(--muted);
}

.auth-divider::before,
.auth-divider::after {
  content:"";
  flex:1;
  height:1px;
  background:#dfe7e8;
}

.auth-switch {
  margin-top:18px;
  color:var(--muted);
}

.google-auth-form {
  margin:0;
}

.summary-row,
.summary-total {
  display:flex;
  justify-content:space-between;
  gap:16px;
  padding:10px 0;
  border-bottom:1px solid #e3ecee;
}

.summary-total {
  margin-top:8px;
  padding-top:14px;
  border-bottom:0;
  color:var(--brand-dark);
  font-size:1.08rem;
}

.order-status {
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:3px 10px;
  border-radius:999px;
  background:#eef6f7;
  color:var(--brand-dark);
  font-size:.9rem;
}

.order-status-cancelled {
  background:#fff0ee;
  color:#a3382e;
}

.order-record {
  display:grid;
  gap:4px;
  padding:12px 0;
  border-bottom:1px solid #e3ecee;
}

.order-record:last-child {
  border-bottom:0;
}

.order-record span,
.order-record small {
  color:var(--muted);
}

.order-list-item {
  align-items:center;
}

.order-list-item > a:first-child {
  flex:1;
  display:grid;
  grid-template-columns:1.2fr .8fr auto;
  gap:14px;
  align-items:center;
  color:var(--ink);
  text-decoration:none;
}

.invoice-head {
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  margin-bottom:22px;
}

.invoice-grid {
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}

.invoice-table {
  display:grid;
}

.invoice-row {
  display:grid;
  grid-template-columns:minmax(220px, 1.4fr) minmax(110px, .8fr) 70px 90px 90px;
  gap:12px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid #e3ecee;
}

.invoice-row:last-child {
  border-bottom:0;
}

.invoice-row-head {
  color:var(--muted);
  font-size:.84rem;
  font-weight:850;
  text-transform:uppercase;
}

.invoice-summary {
  width:min(100%, 420px);
  margin:22px 0 0 auto;
}

@media print {
  .site-header,
  .site-footer,
  .invoice-head .btn {
    display:none !important;
  }
  .invoice-page {
    padding:0 !important;
  }
  .checkout-panel,
  .summary {
    box-shadow:none;
  }
}

@media (max-width: 620px) {
  .auth-panel,
  .checkout-panel,
  .account-panel,
  .address-details {
    padding:18px;
  }
  .order-list-item > a:first-child,
  .invoice-row,
  .invoice-grid {
    grid-template-columns:1fr;
  }
  .invoice-head {
    display:block;
  }
}

@media (max-width: 520px) {
  .quick-nav {
    width:100%;
    grid-template-columns:minmax(0, 1fr) auto;
    gap:9px 8px;
    padding:9px 10px 11px;
  }
  .brand-logo-link img { width:126px; max-height:48px; }
  .mobile-menu-toggle { min-height:40px; padding:7px 10px; font-size:.84rem; }
  .mobile-menu-panel { grid-template-columns:1fr 1fr; gap:8px; padding:10px; }
  .mobile-menu-panel a { min-height:42px; padding:9px 10px; font-size:.82rem; }
  .delivery-copy strong { font-size:.9rem; }
  .delivery-copy span { font-size:.8rem; }
  .quick-search { height:42px; padding:0 10px; }
  .quick-search span { font-size:.68rem; }
  .quick-search input { font-size:.84rem; }
}

@media (max-width: 380px) {
  .brand-logo-link img { width:112px; }
  .mobile-menu-toggle { padding-left:9px; padding-right:9px; }
  .mobile-menu-panel a { font-size:.78rem; }
}

/* Mobile hero stays one banner instead of stacked text + image blocks */
@media (max-width: 900px) {
  .market-hero {
    position:relative;
    display:block;
    min-height:250px;
    padding:18px;
    overflow:hidden;
  }
  .hero-copy {
    position:relative;
    z-index:2;
    max-width:58%;
  }
  .hero-copy h1 {
    max-width:100%;
    margin-bottom:8px;
    font-size:1.8rem;
    line-height:1;
  }
  .hero-copy p {
    max-width:100%;
    margin-bottom:12px;
    font-size:.84rem;
    line-height:1.35;
  }
  .hero-actions {
    display:flex;
    align-items:center;
    gap:8px;
  }
  .primary-action,
  .secondary-action {
    min-height:40px;
    padding:0 12px;
    font-size:.84rem;
  }
  .basket-board {
    position:absolute;
    z-index:1;
    right:0;
    top:0;
    bottom:0;
    width:54%;
    min-height:0;
    height:auto;
    border:0;
    border-radius:0;
    box-shadow:none;
    background:transparent;
  }
  .basket-board > img {
    object-fit:cover;
    object-position:center right;
    border-radius:0;
  }
  .basket-board::after {
    background:linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.28) 44%, rgba(255,255,255,0) 72%);
  }
  .basket-card { display:none; }
}

@media (max-width: 520px) {
  .market-hero {
    min-height:218px;
    padding:16px 14px;
  }
  .hero-copy { max-width:62%; }
  .hero-copy .eyebrow {
    margin-bottom:6px;
    font-size:.74rem;
  }
  .hero-copy h1 { font-size:1.34rem; }
  .hero-copy p {
    margin-bottom:10px;
    font-size:.74rem;
    line-height:1.32;
  }
  .hero-actions {
    width:100%;
    max-width:180px;
    flex-direction:row;
    align-items:center;
    gap:6px;
  }
  .primary-action,
  .secondary-action {
    width:auto;
    min-height:34px;
    padding:0 9px;
    font-size:.68rem;
  }
  .basket-board {
    right:0;
    bottom:0;
    width:52%;
    height:auto;
  }
}

@media (max-width: 380px) {
  .market-hero { min-height:210px; }
  .hero-copy { max-width:64%; }
  .hero-copy h1 { font-size:1.22rem; }
  .hero-copy p { font-size:.7rem; }
  .hero-actions { max-width:168px; }
  .primary-action,
  .secondary-action { min-height:32px; padding:0 8px; font-size:.64rem; }
  .basket-board { width:50%; }
}
