/* =====================================================================
   Customer storefront
   ===================================================================== */
body.shop { background: #fff; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ---------------------------------------------------------------- header */
.hdr { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.hdr-in { height: var(--header-h); display: flex; align-items: center; gap: 22px; }
.hdr .logo { font-size: 30px; padding-right: 22px; border-right: 1px solid var(--line); height: 100%; }
.deliv { cursor: pointer; min-width: 0; max-width: 260px; }
.deliv .d1 { font-size: 18px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.deliv .d2 { font-size: 13px; color: var(--ink-2); display: flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; }
.deliv .d2 span { overflow: hidden; text-overflow: ellipsis; }
.search {
  flex: 1; height: 48px; display: flex; align-items: center; gap: 10px; background: #f8f8f8; border: 1px solid #efefef;
  border-radius: 12px; padding: 0 16px; min-width: 0;
}
.search:focus-within { background: #fff; border-color: #ddd; box-shadow: var(--sh-sm); }
.search input { flex: 1; border: 0; outline: 0; background: none; height: 100%; font-size: 14.5px; min-width: 0; }
.search .ph { color: var(--muted-2); pointer-events: none; position: absolute; }
.hdr-acc { font-size: 16px; font-weight: 600; padding: 8px 6px; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.cart-btn {
  height: 52px; min-width: 112px; padding: 0 14px; border-radius: 10px; background: var(--green); color: #fff; font-weight: 800;
  display: flex; align-items: center; gap: 10px; transition: background .15s;
}
.cart-btn:hover { background: var(--green-2); }
.cart-btn.empty { background: #f2f2f2; color: var(--muted); }
.cart-btn .ic { font-size: 22px; }
.cart-btn .t { display: flex; flex-direction: column; line-height: 1.15; font-size: 14px; text-align: left; }
.mobile-only { display: none; }

@media (max-width: 860px) {
  :root { --header-h: auto; }
  .hdr { background: linear-gradient(180deg, #f8e7a8 0%, #fff7da 70%, #fff 100%); border-bottom: 0; }
  .hdr-in { flex-wrap: wrap; gap: 10px; padding: 12px 0 12px; }
  .hdr .logo, .cart-btn, .hdr-acc .lbl { display: none; }
  .deliv { flex: 1; max-width: none; order: 1; }
  .deliv .d1 { font-size: 20px; }
  .hdr-acc { order: 2; }
  .hdr-acc .ic { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--sh-sm); }
  .search { order: 3; flex-basis: 100%; background: #fff; border-color: #eee; height: 46px; }
  .mobile-only { display: initial; }
  .wrap { padding: 0 14px; }
}

/* ---------------------------------------------------------------- home */
.banners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0 10px; }
.banner {
  border-radius: 18px; padding: 22px; min-height: 190px; position: relative; overflow: hidden; color: #fff; cursor: pointer;
  display: flex; flex-direction: column; justify-content: space-between; transition: transform .2s;
}
.banner:hover { transform: translateY(-2px); }
.banner h3 { font-size: 22px; font-weight: 800; max-width: 64%; line-height: 1.15; }
.banner p { font-size: 13px; opacity: .9; max-width: 60%; margin-top: 6px; }
.banner .btn { background: #1c1c1c; color: #fff; height: 36px; font-size: 13px; align-self: flex-start; }
.banner .art { position: absolute; right: -6px; bottom: -14px; font-size: 104px; filter: drop-shadow(0 12px 18px rgba(0,0,0,.2)); transform: rotate(-8deg); }
.banner.b1 { background: linear-gradient(135deg, #0f9b6e, #0a6a4c); }
.banner.b2 { background: linear-gradient(135deg, #f6b73c, #f08c00); }
.banner.b3 { background: linear-gradient(135deg, #8ec5fc, #3b82f6); }
.hero-wide {
  border-radius: 20px; margin-top: 18px; background: radial-gradient(800px 300px at 90% 0%, #ffe58a, transparent), linear-gradient(120deg, #0c831f, #075e15);
  color: #fff; padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; overflow: hidden; position: relative; min-height: 180px;
}
.hero-wide h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.hero-wide p { opacity: .9; margin-top: 8px; font-size: 15px; max-width: 520px; }
.hero-wide .art { font-size: 96px; letter-spacing: -20px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.25)); white-space: nowrap; }
.hero-wide .btn { margin-top: 16px; }

.sec { margin-top: 30px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sec-head h2 { font-size: 22px; font-weight: 800; }
.sec-head a { color: var(--green); font-weight: 700; font-size: 15px; }

.cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 14px 12px; }
.cat { text-align: center; cursor: pointer; }
.cat .tile { aspect-ratio: 1 / 1.05; border-radius: 16px; display: grid; place-items: center; font-size: 46px; transition: transform .18s; box-shadow: inset 0 -10px 20px rgba(0,0,0,.03); }
.cat:hover .tile { transform: translateY(-3px) scale(1.02); }
.cat .nm { font-size: 12.5px; font-weight: 600; margin-top: 8px; line-height: 1.25; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: 180px; gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 14px; }

/* ---------------------------------------------------------------- product card */
.pcard {
  background: #fff; border: 1px solid #e8e8e8; border-radius: 14px; padding: 10px 12px 12px; display: flex; flex-direction: column;
  box-shadow: 0 0 6px rgba(0,0,0,.03); position: relative; transition: box-shadow .2s, transform .2s; min-width: 0;
}
.pcard:hover { box-shadow: var(--sh); }
.pcard .img { aspect-ratio: 1; border-radius: 12px; display: grid; place-items: center; font-size: 72px; cursor: pointer; overflow: hidden; background: #f7f8fa; }
.pcard .img img { width: 100%; height: 100%; object-fit: cover; }
.pcard .off { position: absolute; left: 12px; top: 0; background: var(--blue); color: #fff; font-size: 10px; font-weight: 800; padding: 6px 6px 8px; line-height: 1.05; text-align: center; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%); z-index: 1; }
.pcard .eta { display: inline-flex; align-items: center; gap: 3px; font-size: 9.5px; font-weight: 800; background: #f6f6f6; border-radius: 4px; padding: 3px 6px; margin-top: 10px; align-self: flex-start; letter-spacing: .02em; }
.pcard .nm { font-weight: 700; font-size: 13.5px; margin-top: 8px; min-height: 38px; cursor: pointer; line-height: 1.35; }
.pcard .unit { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.pcard .store { color: var(--muted-2); font-size: 11px; margin-top: 2px; }
.pcard .foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; gap: 6px; }
.pcard .price { font-weight: 800; font-size: 14px; }
.pcard .mrp { font-size: 12px; color: var(--muted-2); text-decoration: line-through; }
.pcard.oos .img { opacity: .45; filter: grayscale(.6); }

.add-btn {
  height: 36px; min-width: 72px; padding: 0 14px; border-radius: 8px; border: 1.5px solid var(--green); background: #f7fff9;
  color: var(--green); font-weight: 800; font-size: 13px; text-transform: uppercase; transition: background .15s;
}
.add-btn:hover { background: var(--green-soft); }
.add-btn[disabled] { border-color: #ddd; color: var(--muted-2); background: #fafafa; text-transform: none; font-size: 11px; padding: 0 8px; }
.stepper { height: 36px; min-width: 72px; border-radius: 8px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: space-between; font-weight: 800; overflow: hidden; }
.stepper button { color: #fff; width: 26px; height: 100%; font-size: 18px; font-weight: 700; display: grid; place-items: center; }
.stepper button:hover { background: rgba(0,0,0,.1); }
.stepper span { min-width: 18px; text-align: center; font-size: 14px; }
.stepper.lg { height: 44px; min-width: 120px; font-size: 16px; }
.stepper.lg button { width: 40px; }
.add-btn.lg { height: 44px; min-width: 120px; font-size: 15px; }

/* ---------------------------------------------------------------- category page */
.catpage { display: grid; grid-template-columns: 220px 1fr; border-left: 1px solid var(--line); border-right: 1px solid var(--line); min-height: calc(100vh - var(--header-h)); }
.catside { border-right: 1px solid var(--line); position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); overflow-y: auto; scrollbar-width: thin; }
.catside a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-left: 4px solid transparent; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.catside a:hover { background: #fafafa; }
.catside a.active { background: var(--green-soft); border-left-color: var(--green); color: var(--ink); font-weight: 700; }
.catside .ce { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-size: 24px; flex: none; }
.catmain { background: #f4f6fb; min-width: 0; }
.catbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 5; }
.catbar h1 { font-size: 17px; font-weight: 800; }
.catbar select { height: 36px; border-radius: 8px; border: 1.5px solid var(--line); padding: 0 10px; background: #fff; font-weight: 600; }
.catgrid { padding: 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }

@media (max-width: 760px) {
  .catpage { grid-template-columns: 84px 1fr; border: 0; }
  .catside a { flex-direction: column; gap: 4px; text-align: center; font-size: 10.5px; padding: 10px 4px; line-height: 1.2; }
  .catside .ce { width: 48px; height: 48px; }
  .catgrid { grid-template-columns: repeat(2, 1fr); padding: 10px; gap: 8px; }
  .catbar { padding: 10px 12px; }
  .catbar h1 { font-size: 15px; }
  .banners { grid-template-columns: 85%  85% 85%; overflow-x: auto; scroll-snap-type: x mandatory; }
  .banner { scroll-snap-align: start; min-height: 160px; }
  .hero-wide { padding: 20px; min-height: 140px; }
  .hero-wide h2 { font-size: 22px; }
  .hero-wide .art { display: none; }
  .cats { grid-template-columns: repeat(4, 1fr); gap: 12px 8px; }
  .cat .tile { font-size: 34px; border-radius: 14px; }
  .cat .nm { font-size: 11px; }
  .rail { grid-auto-columns: 150px; gap: 10px; }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pcard .img { font-size: 56px; }
  .sec-head h2 { font-size: 18px; }
}

/* ---------------------------------------------------------------- product page */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 28px 0; }
.pdp .gallery { border: 1px solid var(--line); border-radius: 20px; aspect-ratio: 1; display: grid; place-items: center; font-size: 200px; background: radial-gradient(circle at 50% 40%, #fff, #f3f5f8); overflow: hidden; position: sticky; top: calc(var(--header-h) + 20px); }
.pdp .gallery img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: 13px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--green); }
.pdp h1 { font-size: 28px; font-weight: 800; margin-top: 10px; }
.pdp .price-row { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; }
.pdp .price-row .p { font-size: 26px; font-weight: 800; }
.why { display: grid; gap: 14px; margin-top: 26px; }
.why .w { display: flex; gap: 14px; align-items: center; }
.why .w .e { width: 52px; height: 52px; border-radius: 50%; background: #fff7d6; display: grid; place-items: center; font-size: 24px; flex: none; }
@media (max-width: 760px) {
  .pdp { grid-template-columns: 1fr; gap: 16px; padding: 14px 0; }
  .pdp .gallery { position: static; font-size: 140px; }
  .pdp h1 { font-size: 22px; }
}

/* ---------------------------------------------------------------- stores */
.stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.store-card { border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; gap: 12px; align-items: center; cursor: pointer; background: #fff; transition: box-shadow .2s; }
.store-card:hover { box-shadow: var(--sh); }
.store-card .lg { width: 56px; height: 56px; border-radius: 14px; background: #fff7d6; display: grid; place-items: center; font-size: 30px; flex: none; }

/* ---------------------------------------------------------------- cart drawer */
.drawer-bd { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 500; animation: fadeIn .2s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #f4f6fb; z-index: 501; display: flex; flex-direction: column;
  animation: slideIn .28s cubic-bezier(.2,.9,.3,1); box-shadow: var(--sh-lg);
}
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer-head { background: #fff; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 18px; font-weight: 800; }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.drawer-foot { background: #fff; padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(0,0,0,.06); }
.dbox { background: #fff; border-radius: 14px; padding: 14px; }
.ship-head { display: flex; gap: 12px; align-items: center; }
.ship-head .clock { width: 46px; height: 46px; border-radius: 12px; background: #f5f6f8; display: grid; place-items: center; font-size: 24px; flex: none; }
.ship-head h4 { font-size: 16px; font-weight: 800; }
.citem { display: flex; gap: 12px; align-items: center; padding: 10px 0; }
.citem + .citem { border-top: 1px dashed var(--line); }
.citem .thumb { width: 64px; height: 64px; font-size: 34px; border: 1px solid var(--line); background: #fff; border-radius: 12px; }
.citem .nm { font-size: 13px; font-weight: 600; line-height: 1.3; }
.bill-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 4px 0; }
.bill-row .l { display: flex; gap: 8px; align-items: center; color: var(--ink-2); }
.bill-row.total { font-weight: 800; font-size: 15px; padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line); }
.savings { background: #eaf3ff; color: #1d4ed8; border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: 13px; display: flex; justify-content: space-between; }
.tip-chips { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.tip-chips .chip { height: 36px; }
.coupon-row { display: flex; gap: 8px; }
.coupon-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.coupon { display: flex; align-items: center; gap: 10px; border: 1.5px dashed #d7dbe0; border-radius: 12px; padding: 10px 12px; }
.coupon .code { font-weight: 800; letter-spacing: .04em; }
.checkout-btn { width: 100%; height: 56px; border-radius: 12px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-weight: 800; font-size: 16px; }
.checkout-btn:hover { background: var(--green-2); }
.checkout-btn .amt { text-align: left; line-height: 1.1; }
.checkout-btn .amt small { display: block; font-size: 10px; font-weight: 700; opacity: .85; letter-spacing: .06em; }
.addr-line { display: flex; gap: 10px; align-items: center; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 13px; }
.addr-line .ae { width: 36px; height: 36px; border-radius: 10px; background: #fff7d6; display: grid; place-items: center; flex: none; }

/* mobile sticky cart bar */
.cartbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 90; background: var(--green); color: #fff;
  border-radius: 14px; height: 60px; display: none; align-items: center; justify-content: space-between; padding: 0 16px; font-weight: 800;
  box-shadow: 0 10px 30px rgba(12,131,31,.4); animation: barIn .3s ease;
}
@keyframes barIn { from { transform: translateY(80px); } }
@media (max-width: 860px) { .cartbar.show { display: flex; } body.has-cartbar main { padding-bottom: 90px; } }

/* ---------------------------------------------------------------- location picker */
.loc-map { height: 320px; border-radius: 14px; overflow: hidden; position: relative; border: 1px solid var(--line); }
.loc-map .center-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); z-index: 500; pointer-events: none; font-size: 40px; filter: drop-shadow(0 6px 6px rgba(0,0,0,.3)); }
.loc-map .center-pin::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 10px; height: 4px; background: rgba(0,0,0,.3); border-radius: 50%; transform: translateX(-50%); }
.loc-map .gps { position: absolute; right: 12px; bottom: 12px; z-index: 500; }
.addr-item { display: flex; gap: 12px; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; align-items: flex-start; }
.addr-item:hover { border-color: #d4d4d4; }
.addr-item.active { border-color: var(--green); background: var(--green-soft); }
.addr-item .ae { width: 38px; height: 38px; border-radius: 10px; background: #fff7d6; display: grid; place-items: center; flex: none; font-size: 18px; }

/* ---------------------------------------------------------------- payment sheet */
.pay-opt { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; }
.pay-opt.active { border-color: var(--green); background: var(--green-soft); }
.pay-opt .pe { width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 22px; flex: none; }
.pay-opt .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #ccc; margin-left: auto; flex: none; }
.pay-opt.active .radio { border: 6px solid var(--green); }
.gw-head { background: linear-gradient(135deg, #1e293b, #0f172a); color: #fff; border-radius: 16px; padding: 18px; }
.gw-tabs { display: flex; gap: 8px; margin: 14px 0; }
.gw-tabs .chip { flex: 1; justify-content: center; }

/* ---------------------------------------------------------------- success */
.success-overlay { position: fixed; inset: 0; z-index: 2000; background: var(--green); color: #fff; display: grid; place-items: center; text-align: center; animation: fadeIn .2s; }
.success-overlay .tick { width: 110px; height: 110px; border-radius: 50%; background: #fff; color: var(--green); display: grid; place-items: center; font-size: 60px; margin: 0 auto 20px; animation: popTick .5s cubic-bezier(.2,1.4,.4,1); }
@keyframes popTick { from { transform: scale(0); } }
.success-overlay h2 { font-size: 28px; font-weight: 800; }

/* ---------------------------------------------------------------- tracking */
.track { display: grid; grid-template-columns: 1.25fr 1fr; gap: 0; min-height: calc(100vh - var(--header-h)); }
.track-map { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); z-index: 1; }
.track-sheet { padding: 20px; background: #f4f6fb; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.eta-card { background: linear-gradient(135deg, #0c831f, #0a6a19); color: #fff; border-radius: 20px; padding: 20px; position: relative; overflow: hidden; }
.eta-card.done { background: linear-gradient(135deg, #1f2937, #111827); }
.eta-card.bad { background: linear-gradient(135deg, #e23744, #b91c2a); }
.eta-card .big { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.eta-card .sub { opacity: .9; margin-top: 6px; font-weight: 500; }
.eta-card .em { position: absolute; right: 14px; top: 10px; font-size: 64px; opacity: .95; }
.eta-card .big, .eta-card .sub { padding-right: 78px; }
@media (max-width: 900px) { .eta-card .em { font-size: 44px; } .eta-card .big, .eta-card .sub { padding-right: 52px; } }
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px; }
.progress .seg { height: 6px; border-radius: 99px; background: rgba(255,255,255,.25); overflow: hidden; position: relative; }
.progress .seg.done { background: #fff; }
.progress .seg.now::after { content: ''; position: absolute; inset: 0; background: #fff; animation: grow 1.6s ease-in-out infinite; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); opacity: .2; } }
.progress-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 6px; font-size: 10.5px; font-weight: 700; opacity: .85; }
.otp-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff8dc; border: 1.5px dashed #f0c419; border-radius: 16px; padding: 14px 16px; }
.otp-digits { display: flex; gap: 6px; }
.otp-digits span { width: 34px; height: 40px; background: #fff; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 20px; box-shadow: var(--sh-sm); }
.person { display: flex; gap: 12px; align-items: center; }
.person .av { width: 50px; height: 50px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; font-size: 26px; flex: none; }
@media (max-width: 900px) {
  .track { grid-template-columns: 1fr; }
  .track-map { position: relative; top: 0; height: 46vh; }
  .track-sheet { margin-top: -24px; border-radius: 24px 24px 0 0; position: relative; z-index: 2; padding: 16px 14px 30px; }
  .eta-card .big { font-size: 24px; }
}

/* ---------------------------------------------------------------- orders & account */
.page-narrow { max-width: 860px; margin: 0 auto; padding: 24px 20px 60px; }
.page-title { font-size: 24px; font-weight: 800; margin-bottom: 16px; }
.order-card { display: flex; flex-direction: column; gap: 12px; cursor: pointer; transition: box-shadow .2s; }
.order-card:hover { box-shadow: var(--sh); }
.mini-thumbs { display: flex; gap: 6px; }
.mini-thumbs .thumb { width: 44px; height: 44px; font-size: 22px; border: 1px solid var(--line); background: #fff; }
.acc-head { display: flex; gap: 16px; align-items: center; }
.acc-head .av { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; font-size: 26px; font-weight: 800; color: var(--brand-ink); }
.menu-item { display: flex; align-items: center; gap: 14px; padding: 14px 4px; border-bottom: 1px solid var(--line-2); cursor: pointer; font-weight: 600; }
.menu-item:last-child { border-bottom: 0; }
.menu-item .mi { width: 40px; height: 40px; border-radius: 12px; background: var(--line-2); display: grid; place-items: center; font-size: 18px; }
.menu-item::after { content: '›'; margin-left: auto; font-size: 22px; color: var(--muted-2); }

/* ---------------------------------------------------------------- footer */
.footer { border-top: 1px solid var(--line); margin-top: 50px; padding: 30px 0 40px; background: #fafafa; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px; }
.footer h4 { font-size: 14px; margin-bottom: 10px; }
.footer a { display: block; color: var(--muted); font-size: 13px; padding: 3px 0; }
.footer a:hover { color: var(--green); }
@media (max-width: 760px) { .footer .cols { grid-template-columns: 1fr 1fr; } }

.search-hints { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
