:root {
  --bg: #f8fafc;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --green: #10b981;
  --green-dark: #059669;
  --green-soft: #ecfdf5;
  --amber: #f59e0b;
  --red: #ef4444;
  --white: #fff;
  --navy: #0f172a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, sans-serif;
}
.page { min-width: 0; width: 100%; max-width: 100%; overflow-x: hidden; }

.top-bar {
  background: var(--navy);
  color: #f8fafc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px clamp(16px, 5vw, 80px);
  font-size: 12px;
  gap: 12px;
  min-width: 0;
}
.deliver, .link-group { display: flex; align-items: center; gap: 6px; }
.deliver strong { color: #fff; font-weight: 700; }
.top-links { display: flex; align-items: center; gap: 24px; font-weight: 400; }
.top-links .link-group { font-weight: 600; }
.top-bar .divider { width: 1px; height: 12px; background: var(--muted); }
.icon-box { width: 14px; height: 14px; overflow: hidden; }
.icon-box img { width: 14px; height: 14px; }

.header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 25; }
.header-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  padding: 16px clamp(16px, 5vw, 80px);
  gap: 16px 20px;
  min-width: 0;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; flex-shrink: 0; }
.brand-icon {
  width: 40px; height: 40px;
  background: var(--green-soft);
  border: 1px solid var(--green);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.brand-icon img { width: 24px; height: 24px; }
.brand-name { font-family: Outfit, sans-serif; font-size: clamp(18px, 2vw, 24px); font-weight: 400; white-space: nowrap; }
.brand-name span { font-weight: 300; color: var(--green); }
.brand-name b { font-weight: 800; }
.brand.light { color: #fff; }
.brand.light strong { font-family: Outfit, sans-serif; font-size: 20px; font-weight: 800; }
.brand-icon.green { background: var(--green); border-color: var(--green); }
.brand-icon.green img { width: 20px; height: 20px; filter: brightness(10); }

.search-bar {
  width: 100%;
  max-width: 640px;
  height: 44px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 4px 0 12px;
  gap: 8px;
  position: relative;
  min-width: 0;
  justify-self: stretch;
}
.search-bar select {
  border: 0;
  background: transparent;
  font-weight: 700;
  font-size: 13px;
  color: var(--ink);
  appearance: none;
  padding-right: 18px;
  max-width: 110px;
  min-width: 0;
}
.search-bar .chev { position: static; flex-shrink: 0; pointer-events: none; width: 14px; height: 14px; margin-left: -6px; }
.search-bar .v-div { width: 1px; height: 20px; background: var(--line); }
.search-bar input {
  flex: 1;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.search-bar input::placeholder { color: var(--muted); }
.search-bar button {
  width: 36px; height: 36px;
  background: var(--green);
  border: 0;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.search-bar button img { width: 16px; height: 16px; }

.utils { display: flex; align-items: center; gap: clamp(10px, 2vw, 24px); flex-shrink: 0; }
.util { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.util img { width: 22px; height: 22px; }
.util span { display: flex; flex-direction: column; gap: 2px; }
.util small { color: var(--muted); font-size: 11px; }
.util strong { font-size: 13px; font-weight: 700; }
.util em { font-style: normal; font-weight: 600; font-size: 14px; }
.cart .cart-ico { position: relative; width: 28px; height: 28px; }
.cart .cart-ico img { width: 24px; height: 24px; }
.cart i {
  position: absolute; top: -4px; right: -4px;
  width: 18px; height: 18px; border-radius: 9px;
  background: var(--amber);
  color: var(--ink);
  font-size: 10px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-style: normal;
}
.cart b { color: var(--green); font-family: Outfit, sans-serif; font-size: 13px; font-weight: 800; }

.mega {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px clamp(16px, 5vw, 80px);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, #86efac, #93c5fd, #6ee7b7) border-box;
  border-top: 1px solid transparent;
  font-family: Outfit, sans-serif;
  font-size: 13px;
  font-weight: 600;
  flex-wrap: wrap;
  position: relative;
}
.mega-item { position: static; }
.mega-link {
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #334155;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.mega-caret {
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  opacity: .55;
}
.mega-link:hover,
.mega-item:hover > .mega-link {
  color: var(--green-dark);
  background: #ecfdf5;
  border-color: #86efac;
  transform: translateY(-1px);
}
.mega-link.active {
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #10b981, #059669);
  border-color: #059669;
  box-shadow: 0 6px 14px rgba(16, 185, 129, .25);
}
.mega-drop {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 30;
  padding: 18px clamp(16px, 5vw, 80px) 22px;
  background: #fff;
  border-top: 1px solid #d1fae5;
  box-shadow: 0 18px 36px rgba(15, 23, 42, .12);
}
.mega-item:hover .mega-drop { display: block; }
.mega-drop > p {
  font-family: Outfit, sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 10px;
}
.mega-drop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 4px 16px;
}
.mega-drop-grid a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #334155;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.mega-drop-grid a:hover {
  background: #ecfdf5;
  color: var(--green-dark);
}
.mega-deal {
  margin-left: auto;
  color: #9a3412 !important;
  background: linear-gradient(135deg, #fff7ed, #fef3c7) !important;
  border-color: #fbbf24 !important;
}
.mega-deal:hover {
  background: linear-gradient(135deg, #fde68a, #fef3c7) !important;
}
.mega-deal.active {
  color: #fff !important;
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  border-color: #d97706 !important;
  box-shadow: 0 6px 14px rgba(245, 158, 11, .28) !important;
}
.hot {
  background: var(--red);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  border-radius: 999px;
  padding: 2px 6px;
  letter-spacing: .04em;
}

.area-overlay {
  position: fixed; inset: 0; z-index: 50;
  background: rgba(0,0,0,.85);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 100px;
}
.area-box {
  width: 500px; min-height: 220px;
  background: #fff; color: #119508;
  border-radius: 10px; padding: 25px 15px;
}
.area-box h1 {
  font-size: 20px; font-weight: 200; text-align: center;
  text-transform: uppercase; margin-bottom: 30px;
}
.area-box select {
  width: 100%; height: 48px;
  border: 1px solid #119508; border-radius: 6px;
  padding: 0 12px; color: #119508;
}

.pad { padding: 0 80px 40px; }
.hero { padding: 24px 80px 32px; }
.hero-slider {
  position: relative;
  height: 380px;
  border-radius: 24px;
  overflow: hidden;
}
.hero-card {
  position: absolute;
  inset: 0;
  height: 380px;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}
.hero-card.on { opacity: 1; pointer-events: auto; z-index: 1; }
.hero-bg, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { background: rgba(15,23,42,.4); }
.hero-copy { position: relative; width: 520px; display: flex; flex-direction: column; gap: 16px; z-index: 1; }
.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-nav.prev { left: 16px; }
.hero-nav.next { right: 16px; }
.pill {
  align-self: flex-start;
  background: #fef3c7; color: var(--amber);
  font-size: 12px; font-weight: 800; text-transform: uppercase;
  border-radius: 99px; padding: 6px 12px;
}
.hero-copy h1 { font-family: Outfit, sans-serif; font-weight: 800; font-size: 44px; color: #fff; line-height: 1.1; }
.hero-copy p { color: var(--line); font-size: 18px; }
.cta {
  align-self: flex-start;
  background: var(--green); color: #fff;
  font-family: Outfit, sans-serif; font-weight: 800; font-size: 16px;
  border-radius: 10px; padding: 14px 24px;
  display: inline-flex; align-items: center; gap: 8px;
}
.cta img { width: 16px; height: 16px; }
.dots {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  z-index: 3;
  display: flex; justify-content: center; gap: 8px;
}
.dots button {
  width: 8px; height: 8px; border-radius: 4px;
  border: 0; padding: 0;
  background: #e2e8f0; opacity: .7; cursor: pointer;
}
.dots .on { width: 24px; background: var(--green); opacity: 1; }

.cat-track {
  background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 16px;
  display: flex; justify-content: space-between;
}
.cat-item { width: 120px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.circle {
  width: 88px; height: 88px; border-radius: 44px;
  border: 2px solid var(--line); overflow: hidden; background: #fff;
}
.circle img { width: 100%; height: 100%; object-fit: cover; }
.cat-item strong { font-size: 13px; text-align: center; }

.section { display: flex; flex-direction: column; gap: 20px; }
.section-head { display: flex; justify-content: space-between; align-items: center; }
.section-head .left { display: flex; align-items: center; gap: 16px; }
.section-head h2, .region-sec h2 {
  font-family: Outfit, sans-serif; font-weight: 800; font-size: 24px;
}
.timer { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }
.timer b {
  background: var(--red); color: #fff; border-radius: 4px;
  padding: 4px 8px; font-family: Outfit, sans-serif; font-weight: 800;
}
.timer em { color: var(--red); font-style: normal; font-weight: 800; }
.view-all { display: flex; align-items: center; gap: 4px; color: var(--green); font-weight: 700; font-size: 14px; }
.view-all img { width: 14px; height: 14px; }

.grid-4 { display: flex; gap: 20px; }
.product-card {
  flex: 1; min-width: 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 12px rgba(15,23,42,.02);
}
.image-panel { height: 220px; background: var(--bg); position: relative; overflow: hidden; }
.image-panel img { width: 100%; height: 100%; object-fit: cover; }
.off {
  position: absolute; top: 12px; left: 12px;
  background: var(--red); color: #fff;
  font-size: 11px; font-weight: 800;
  border-radius: 6px; padding: 4px 8px;
}
.info { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.info h3 {
  font-family: Outfit, sans-serif; font-weight: 600; font-size: 16px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.stars { display: flex; align-items: center; gap: 2px; }
.stars img { width: 14px; height: 14px; }
.stars span { font-size: 12px; font-weight: 600; margin-left: 4px; }
.price-row { display: flex; align-items: center; justify-content: space-between; }
.price strong { font-family: Outfit, sans-serif; font-size: 18px; font-weight: 700; color: var(--ink); }
.price.sale strong { color: var(--green); }
.price s { color: var(--muted); font-size: 12px; margin-left: 6px; }
.add-btn {
  background: var(--green-soft); border: 1px solid var(--green);
  color: var(--green); border-radius: 8px;
  padding: 8px 12px; display: flex; align-items: center; gap: 4px;
  font-weight: 700; font-size: 13px; cursor: pointer;
}
.add-btn img { width: 14px; height: 14px; }

.promos { display: flex; gap: 24px; }
.promo {
  flex: 1; height: 160px; border-radius: 16px; overflow: hidden;
  position: relative; padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo.teal::after { content: ""; position: absolute; inset: 0; background: rgba(15,118,110,.85); }
.promo.brown::after { content: ""; position: absolute; inset: 0; background: rgba(146,64,14,.85); }
.promo div { position: relative; z-index: 1; }
.promo h3 { font-family: Outfit, sans-serif; font-weight: 800; font-size: 22px; color: #fff; margin-bottom: 6px; }
.promo p { color: #ecfdf5; font-size: 14px; }
.promo.brown p { color: #fef3c7; }
.promo.brown strong { color: var(--amber); font-weight: 800; }
.promo span { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-weight: 800; font-size: 14px; }
.promo span img { position: static; width: 14px; height: 14px; }

.region-sec { padding-bottom: 50px; }
.regions { display: flex; gap: 20px; }
.region {
  flex: 1; height: 320px; border-radius: 20px; overflow: hidden;
  position: relative; padding: 24px;
  display: flex; align-items: flex-end;
}
.region img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.region::after { content: ""; position: absolute; inset: 0; background: rgba(15,23,42,.4); }
.region div { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.region h3 { font-family: Outfit, sans-serif; font-weight: 700; font-size: 22px; color: #fff; }
.region p { color: #e2e8f0; font-size: 13px; }
.region span { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 700; font-size: 14px; padding-top: 8px; }
.region span img { position: static; width: 14px; height: 14px; }

.trust-wrap { padding-bottom: 64px; }
.trust {
  background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 32px;
  display: flex; align-items: center; gap: 24px;
}
.trust > div { flex: 1; display: flex; align-items: center; gap: 16px; }
.trust hr { width: 1px; height: 40px; border: 0; background: var(--line); }
.ico {
  width: 48px; height: 48px; border-radius: 24px;
  background: var(--green-soft);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ico img { width: 24px; height: 24px; }
.trust strong { font-family: Outfit, sans-serif; font-size: 15px; font-weight: 700; display: block; }
.trust p { color: var(--muted); font-size: 12px; }

.footer {
  background: var(--navy);
  border-top: 4px solid var(--green);
  padding: 56px clamp(16px, 5vw, 80px) 28px;
  color: #f8fafc;
  font-family: Manrope, "Segoe UI", sans-serif;
}
.footer-cols { display: flex; justify-content: space-between; gap: 24px; }
.about { width: 300px; }
.footer .brand.light strong {
  font-family: Outfit, Manrope, sans-serif;
  font-weight: 800;
  letter-spacing: -.03em;
}
.about p {
  font-family: Manrope, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.65;
  margin: 16px 0;
  color: #cbd5e1;
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 32px; height: 32px; border-radius: 16px; background: #1e293b;
  display: flex; align-items: center; justify-content: center;
}
.socials img { width: 16px; height: 16px; }
.footer h4 {
  font-family: Outfit, Manrope, sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.02em;
  margin-bottom: 16px;
  color: #fff;
}
.footer-cols > div { width: 180px; }
.footer-cols .apps { width: 260px; }
.footer-cols a {
  display: block;
  color: #94a3b8;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 10px;
}
.footer-cols a:hover { color: #6ee7b7; }
.badges { display: flex; gap: 10px; margin-bottom: 16px; }
.badges a {
  background: #1e293b; border: 1px solid var(--line); border-radius: 8px;
  padding: 8px 12px; display: flex; align-items: center; gap: 8px; margin: 0;
}
.badges img { width: 20px; height: 20px; }
.badges span { display: flex; flex-direction: column; color: #fff; font-family: Outfit, Manrope, sans-serif; font-weight: 700; font-size: 12px; letter-spacing: -.02em; }
.badges small { color: #94a3b8; font-family: Manrope, sans-serif; font-weight: 600; font-size: 9px; letter-spacing: .04em; }
.apps > p { color: #94a3b8; font-family: Manrope, sans-serif; font-size: 13px; font-weight: 500; line-height: 1.6; }
.footer-bottom {
  border-top: 1px solid #334155;
  margin-top: 48px; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  color: #94a3b8;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 500;
}
.pay { display: flex; align-items: center; gap: 12px; font-family: Manrope, sans-serif; font-weight: 700; font-size: 12px; }
.pay i { background: #1e293b; border-radius: 4px; padding: 4px 8px; }
.pay img { width: 24px; height: 24px; }

.page-list { padding-top: 32px; min-height: 40vh; }
.empty { color: var(--muted); }
.cart-list { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; width: 100%; }
.cart-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }
.cart-row { justify-content: space-between; }
.cart-row div { flex: 1; }
.cart-total { text-align: right; padding-top: 16px; font-size: 18px; }
.cart-total b { color: var(--green); font-family: Outfit, sans-serif; }

.m-header, .m-location, .m-tabbar, .m-home, .m-drawer { display: none; }

@media (max-width: 1280px) {
  .header-main { gap: 12px 16px; }
  .utils { gap: 14px; }
  .util span small { display: none; }
  .hero-copy { width: min(520px, 70%); }
}

@media (max-width: 1100px) {
  .top-bar, .header-main, .mega, .hero, .pad, .footer { padding-left: 20px; padding-right: 20px; }
  .header-main {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "brand utils"
      "search search";
  }
  .brand { grid-area: brand; }
  .utils { grid-area: utils; justify-self: end; }
  .search-bar { grid-area: search; max-width: none; }
  .util em { display: none; }
  .grid-4, .promos, .regions, .trust, .footer-cols { flex-wrap: wrap; }
  .product-card, .promo, .region { min-width: calc(50% - 12px); }
}

@media (max-width: 900px) {
  .top-links span:not(.link-group):not(.divider),
  .top-bar .divider { display: none; }
  .util span { display: none; }
  .cart .cart-ico { display: block; }
}

@media (max-width: 760px) {
  :root {
    --m-header-h: 114px;
    --m-tab-h: calc(56px + env(safe-area-inset-bottom, 0px));
  }
  html, body {
    height: 100%;
    height: 100dvh;
    overflow: hidden;
  }
  .top-bar, .header, .footer, .desktop-only { display: none !important; }
  .m-header, .m-location, .m-home { display: block; }
  .m-tabbar { display: grid; }
  .page {
    height: 100dvh;
    max-height: 100dvh;
    padding-bottom: 0;
    min-width: 0;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .page-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .pad { padding: 16px 16px 24px; }
  .grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .product-card, .promo, .region { min-width: 0; width: auto; }
  .section-head h2 { font-size: 18px; }
  .cart-row { gap: 10px; }
  .cart-row img { width: 56px; height: 56px; }

  .m-header {
    flex-shrink: 0;
    position: relative;
    top: auto;
    z-index: 30;
    background:
      linear-gradient(#fff, #fff) padding-box,
      linear-gradient(135deg, #86efac, #93c5fd) border-box;
    border-bottom: 1px solid transparent;
    padding: 10px 16px 12px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .04);
  }
  .m-top {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    height: 40px;
    margin: 0 0 10px;
    gap: 8px;
  }
  .m-slot { display: flex; align-items: center; min-width: 0; height: 40px; }
  .m-slot.left { justify-content: flex-start; }
  .m-slot.right { justify-content: flex-end; gap: 8px; }
  .m-menu-btn,
  .m-ico {
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0;
    border: 1px solid #d1fae5;
    background: linear-gradient(180deg, #ffffff, #ecfdf5);
    border-radius: 12px;
    appearance: none;
    -webkit-appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 0;
    cursor: pointer;
  }
  .m-menu-btn img,
  .m-ico img { width: 20px; height: 20px; display: block; }
  .m-menu-btn img { width: 22px; height: 22px; }
  .m-logo {
    justify-self: center;
    align-self: center;
    display: flex;
    align-items: center;
    font-family: Outfit, sans-serif;
    font-size: 20px;
    line-height: 1;
    color: var(--ink);
    white-space: nowrap;
    letter-spacing: -0.03em;
  }
  .m-logo b { font-weight: 800; }
  .m-logo span { font-weight: 300; color: var(--green); }
  .m-cart { position: relative; }
  .m-cart i {
    position: absolute; top: -4px; right: -4px;
    min-width: 16px; height: 16px;
    background: var(--amber); color: var(--ink);
    font-size: 9px; font-weight: 800; font-style: normal;
    border-radius: 8px; padding: 0 4px;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
  }
  .m-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    background: #fff;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    padding: 0 14px;
    height: 42px;
    box-shadow: inset 0 0 0 1px rgba(16,185,129,.06);
  }
  .m-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px rgba(16,185,129,.12); }
  .m-search-ico {
    width: 16px; height: 16px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
  }
  .m-search-ico img { width: 16px; height: 16px; display: block; }
  .m-search input {
    border: 0;
    background: transparent;
    width: 100%;
    height: 100%;
    font-size: 13px;
    line-height: 18px;
    color: var(--ink);
    outline: none;
    min-width: 0;
    appearance: none;
    -webkit-appearance: none;
  }
  .m-search input::-webkit-search-decoration,
  .m-search input::-webkit-search-cancel-button { display: none; }
  .m-search input::placeholder { color: var(--muted); }

  .m-location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 40px;
    max-width: 132px;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    color: var(--ink);
    background: linear-gradient(90deg, #ecfdf5, #eff6ff);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .m-location img { width: 14px; height: 14px; flex-shrink: 0; }
  .m-location span { overflow: hidden; text-overflow: ellipsis; }

  .m-drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(15, 23, 42, 0);
    visibility: hidden;
    pointer-events: none;
    transition: background .2s ease, visibility .2s ease;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .m-drawer {
    visibility: visible;
    pointer-events: auto;
    background: rgba(15, 23, 42, .45);
  }
  .m-drawer-panel {
    width: min(82vw, 300px);
    height: 100dvh;
    max-height: 100dvh;
    background: #fff;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform .24s ease;
    overflow: hidden;
    box-shadow: 8px 0 24px rgba(15, 23, 42, .12);
  }
  body.menu-open .m-drawer-panel { transform: translateX(0); }
  .m-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
  }
  .m-drawer-close {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    background: var(--bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .m-drawer-close img { width: 18px; height: 18px; }
  .m-drawer-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
  }
  .m-drawer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: var(--green-soft);
    border: 1px solid #a7f3d0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  .m-drawer-avatar img { width: 20px; height: 20px; }
  .m-drawer-user small { display: block; font-size: 11px; color: var(--muted); line-height: 1.3; }
  .m-drawer-user strong { display: block; font-size: 14px; font-weight: 800; line-height: 1.3; }
  .m-drawer-loc {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 16px 4px;
    padding: 10px 12px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 12px;
    color: var(--muted);
    flex-shrink: 0;
  }
  .m-drawer-loc img { width: 14px; height: 14px; flex-shrink: 0; }
  .m-drawer-loc b { color: var(--ink); font-weight: 700; }
  .m-drawer nav {
    padding: 8px 8px 24px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .m-drawer nav p {
    font-family: Outfit, sans-serif;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 14px 12px 6px;
  }
  .m-drawer nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
  }
  .m-drawer nav a img { width: 20px; height: 20px; flex-shrink: 0; }
  .m-drawer nav a span { flex: 1; min-width: 0; }
  .m-drawer nav a em {
    font-style: normal;
    background: var(--red);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    border-radius: 6px;
    padding: 2px 6px;
    letter-spacing: .04em;
  }
  .m-drawer nav a em.count { background: var(--amber); color: var(--ink); }
  .m-drawer nav a:active { background: var(--bg); }

  .m-home { overflow-x: hidden; }
  .m-shop {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    min-height: calc(100dvh - var(--m-header-h) - var(--m-tab-h) - 188px);
    overflow: visible;
  }
  .m-cats {
    width: 92px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border-right: 1px solid var(--line);
    position: sticky;
    top: 0;
    align-self: flex-start;
    max-height: calc(100dvh - var(--m-header-h) - var(--m-tab-h));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .m-cats button {
    width: 100%;
    border: 0;
    border-left: 3px solid transparent;
    background: transparent;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
  }
  .m-cats button.on {
    background: #fff;
    border-left-color: var(--green);
  }
  .m-cat-ico {
    width: 48px; height: 48px; border-radius: 24px;
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
  }
  .m-cat-ico img { width: 22px; height: 22px; }
  .m-cats strong {
    font-size: 10px; text-align: center; line-height: 1.2;
    color: var(--ink); font-weight: 700;
  }
  .m-cat-products {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    align-content: start;
    overflow: visible;
  }
  .m-shop-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 8px;
  }
  .m-shop-img { height: 92px; background: #f1f5f9; position: relative; }
  .m-shop-img img { width: 100%; height: 100%; object-fit: cover; }
  .m-shop-img em {
    position: absolute; top: 0; left: 0;
    background: var(--red); color: #fff;
    font-size: 9px; font-weight: 800; font-style: normal;
    padding: 2px 6px; border-bottom-right-radius: 8px;
  }
  .m-shop-card h3 {
    font-family: Outfit, sans-serif; font-size: 12px; font-weight: 600;
    padding: 6px 8px 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .m-shop-card p { padding: 2px 8px 6px; }
  .m-shop-card strong { font-family: Outfit, sans-serif; color: var(--green); font-size: 13px; font-weight: 800; }
  .m-shop-card s { color: var(--muted); font-size: 10px; margin-left: 4px; }
  .m-shop-card form { padding: 0 8px; }
  .m-shop-card button {
    width: 100%;
    background: var(--green-soft); border: 1px solid var(--green); color: var(--green);
    border-radius: 6px; padding: 6px 0;
    display: flex; align-items: center; justify-content: center; gap: 4px;
    font-size: 11px; font-weight: 700; cursor: pointer;
  }
  .m-shop-card button img { width: 10px; height: 10px; }
  .m-shop-empty { grid-column: 1 / -1; color: var(--muted); font-size: 12px; padding: 16px 8px; }

  .m-promo-wrap {
    padding: 12px 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
  }
  .m-promo {
    height: 160px; border-radius: 16px; overflow: hidden;
    position: relative; padding: 20px;
    display: none;
    flex-direction: column; justify-content: space-between;
  }
  .m-promo.on { display: flex; }
  .m-promo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .m-promo::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15,118,110,.8), rgba(16,185,129,.8));
  }
  .m-promo div { position: relative; z-index: 1; }
  .m-promo span {
    display: inline-block; background: #fef3c7; color: var(--amber);
    font-size: 9px; font-weight: 800; border-radius: 99px; padding: 4px 8px;
    margin-bottom: 8px;
  }
  .m-promo h2 { font-family: Outfit, sans-serif; font-weight: 800; font-size: 20px; color: #fff; }
  .m-promo p { color: #ecfdf5; font-size: 12px; font-weight: 600; margin-top: 4px; }
  .m-dots { display: flex; justify-content: center; gap: 4px; }
  .m-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); cursor: pointer; }
  .m-dots .on { width: 16px; background: var(--green); }

  .m-flash { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px; margin-top: 16px; }
  .m-flash-head { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
  .m-flash-head img { width: 16px; height: 16px; }
  .m-flash-head h2 { font-family: Outfit, sans-serif; font-weight: 800; font-size: 16px; }
  .m-timer { background: #fee2e2; color: var(--red); font-family: Outfit, sans-serif; font-weight: 800; font-size: 11px; border-radius: 4px; padding: 2px 6px; }
  .m-flash-track { display: flex; gap: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .m-flash-card { flex: 0 0 112px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .m-flash-img { height: 100px; background: #f1f5f9; position: relative; }
  .m-flash-img img { width: 100%; height: 100%; object-fit: cover; }
  .m-flash-img em {
    position: absolute; top: 0; left: 0;
    background: var(--red); color: #fff; font-size: 9px; font-weight: 800; font-style: normal;
    padding: 2px 6px; border-bottom-right-radius: 8px;
  }
  .m-flash-info { padding: 8px; }
  .m-flash-info h3 {
    font-family: Outfit, sans-serif; font-weight: 600; font-size: 12px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .m-flash-info strong { font-family: Outfit, sans-serif; font-weight: 800; font-size: 14px; color: var(--green); }
  .m-flash-info s { color: var(--muted); font-size: 10px; margin-left: 4px; }

  .m-trend { padding: 16px; }
  .m-trend-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
  .m-trend-head h2 { font-family: Outfit, sans-serif; font-weight: 800; font-size: 16px; }
  .m-trend-head a { display: flex; align-items: center; gap: 4px; color: var(--green); font-size: 12px; font-weight: 700; }
  .m-trend-head img { width: 10px; height: 10px; }
  .m-trend-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .m-trend-card {
    background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
    box-shadow: 0 4px 8px rgba(15,23,42,.02);
  }
  .m-trend-img { height: 120px; background: #f1f5f9; }
  .m-trend-img img { width: 100%; height: 100%; object-fit: cover; }
  .m-trend-info { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
  .m-trend-info h3 {
    font-family: Outfit, sans-serif; font-weight: 700; font-size: 13px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .m-stars { display: flex; align-items: center; gap: 2px; }
  .m-stars img { width: 12px; height: 12px; }
  .m-stars span { color: var(--muted); font-size: 11px; font-weight: 600; margin-left: 2px; }
  .m-trend-row { display: flex; align-items: center; justify-content: space-between; }
  .m-trend-row strong { font-family: Outfit, sans-serif; font-weight: 800; font-size: 15px; }
  .m-trend-row button {
    background: var(--green-soft); border: 1px solid var(--green); color: var(--green);
    border-radius: 6px; padding: 6px 12px;
    display: flex; align-items: center; gap: 4px;
    font-size: 11px; font-weight: 700; cursor: pointer;
  }
  .m-trend-row img { width: 10px; height: 10px; }

  .m-tabbar {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    flex-shrink: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    height: 56px;
    padding: 6px 8px max(6px, env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
  }
  .m-tabbar a {
    min-width: 0;
    height: 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    line-height: 12px;
  }
  .m-tabbar a.on { color: var(--green); }
  .m-tab-ico {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }
  .m-tab-ico::before {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background: currentColor;
    -webkit-mask: var(--tab) center / 22px 22px no-repeat;
    mask: var(--tab) center / 22px 22px no-repeat;
  }
  .m-tab-ico i {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 13px;
    height: 13px;
    padding: 0 3px;
    background: var(--red);
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    font-style: normal;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .area-box { width: calc(100% - 32px); margin: 0 16px; }
  .page-list { padding: 16px 16px 24px; }

  @media (max-width: 380px) {
    .m-logo { font-size: 16px; }
    .m-location { max-width: 88px; padding: 0 8px; }
  }
}
