:root {
  --pink: #e91d8c;
  --pink-dark: #c91878;
  --pink-soft: #fff0f7;
  --teal: #1aabb4;
  --ink: #1b2433;
  --muted: #6b7482;
  --line: #e8eef3;
  --card: #ffffff;
  --bg: #ddf9fa;
  --bg-2: #f3fcfd;
  --shadow: 0 10px 28px rgba(33, 84, 110, 0.08);
  --radius: 22px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --t-title: 20px;
  --t-name: 13px;
  --t-body: 12px;
  --t-btn: 12px;
  --w-title: 800;
  --w-body: 700;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: "Nunito", "Segoe UI", sans-serif;
  color: var(--ink);
  background: #ddf9fa;
  min-height: 100dvh;
}

img { max-width: 100%; display: block; }
button, input { font: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  width: 18px;
  height: 18px;
  display: block;
  flex: none;
}

.ico-pink { color: var(--pink); }

.app {
  width: min(100%, 430px);
  height: 100dvh;
  margin: 0 auto;
  background: #ddf9fa;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app.on-home .topbar,
.app.on-home .search-wrap {
  display: none;
}

.app main {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.app main::-webkit-scrollbar { display: none; }

.topbar {
  flex: none;
  flex-shrink: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 40px 1fr 84px;
  align-items: center;
  gap: 8px;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 4px;
  background: #ddf9fa;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.icon-btn .ico { width: 22px; height: 22px; }
.icon-btn.on { color: var(--pink); }

.brand {
  display: grid;
  justify-items: center;
}

.brand img {
  width: 78px;
  height: 78px;
  object-fit: contain;
}

.top-actions {
  display: flex;
  justify-content: flex-end;
  gap: 2px;
}

.cart-btn { position: relative; }

.badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--pink);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.badge[hidden] { display: none; }

.search-wrap {
  flex: none;
  padding: 4px 16px 8px;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 12px 16px;
  box-shadow: var(--shadow);
}

.search .ico { color: #9aa6b4; }

.search input {
  border: 0;
  outline: none;
  width: 100%;
  background: transparent;
  color: var(--ink);
}

.search input::placeholder { color: #a8b3bf; }

.view { display: none; padding: 6px 16px 28px; }
.view.active { display: block; }
.view.exact { padding: 0; }

.poster {
  position: relative;
  width: 100%;
}

.poster > img {
  width: 100%;
  height: auto;
  display: block;
}

.hot {
  position: absolute;
  padding: 0;
  background: transparent;
}

.poster-badge { top: 0; right: 4px; }

.hot-menu { left: 2.4%; top: 2.60%; width: 9%; height: 7.74%; }
.hot-search-icon { left: 82%; top: 2.60%; width: 7%; height: 7.74%; }
.hot-cart { left: 89%; top: 2.08%; width: 8.5%; height: 7.74%; }
.hot-search-bar { left: 18%; top: 12.59%; width: 56%; height: 4.67%; }
.hot-shopnow { left: 4%; top: 34.01%; width: 24%; height: 5.20%; }
.hot-see-cats { left: 78%; top: 52.17%; width: 18%; height: 3.89%; }
.hot-fruits { left: 3.6%; top: 56.65%; width: 45.4%; height: 9.74%; }
.hot-icecream { left: 50.9%; top: 56.65%; width: 45.4%; height: 9.74%; }
.hot-veg { left: 3.6%; top: 67.70%; width: 45.4%; height: 9.74%; }
.hot-candy { left: 50.9%; top: 67.70%; width: 45.4%; height: 9.74%; }
.hot-deals { left: 3.6%; top: 79.37%; width: 92.8%; height: 20.77%; }

.home-more {
  background:
    radial-gradient(circle at 10% 6%, #ffd6ec 0 120px, transparent 121px),
    radial-gradient(circle at 94% 14%, #c8f6ff 0 110px, transparent 111px),
    linear-gradient(180deg, #fff0f7 0%, #e8fbff 48%, #ddf9fa 100%);
  padding: 22px 0 40px;
  font-family: "Nunito", "Segoe UI", sans-serif;
}

.promo {
  margin: 0 16px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #fff0f7, #e8fbff);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(233, 29, 140, 0.08);
}

.promo-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: 0 4px 10px rgba(26, 171, 180, 0.12);
}

.promo p {
  font-size: var(--t-name);
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
  font-weight: var(--w-body);
}

.promo strong { color: var(--pink); font-weight: var(--w-title); }

.promo-icon .ico { color: var(--teal); width: 18px; height: 18px; }

.candy-head {
  margin: 8px 16px 14px;
}

.candy-head .section-title,
.home-more .section-title {
  font-family: "Nunito", sans-serif;
  font-size: var(--t-title);
  font-weight: var(--w-title);
  color: var(--ink);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.candy-head .section-title { justify-content: flex-start; }

.mini-heart {
  color: var(--pink);
}

.best-grid,
.arrivals-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 16px 10px;
}

.best-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 12px 12px 14px;
  box-shadow: 0 10px 24px rgba(233, 29, 140, 0.08);
}

.best-img {
  width: 100%;
  height: 118px;
  padding: 0;
  margin: 0 0 10px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff7fb;
  display: grid;
  place-items: center;
}

.best-img img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.wish {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  color: var(--pink);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(233, 29, 140, 0.12);
  z-index: 2;
}

.wish .ico { width: 16px; height: 16px; }
.wish.on { background: var(--pink); color: #fff; }
.wish.on path { fill: currentColor; }

.prod-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 10px 10px 14px;
  text-align: left;
  box-shadow: 0 10px 24px rgba(233, 29, 140, 0.08);
}

.prod-thumb {
  position: relative;
  width: 100%;
  height: 138px;
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
  padding: 0;
  display: grid;
  place-items: center;
}

.prod-thumb img {
  width: 82%;
  height: 82%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.mini-heart {
  position: absolute;
  top: 8px;
  right: 10px;
  color: var(--pink);
}

.mini-heart .ico { width: 16px; height: 16px; }

.tone-peach { background: #ffe0c2; }
.tone-mint { background: #c8f6ec; }
.tone-lilac { background: #ddd4ff; }
.tone-pink { background: #ffd0e6; }

.prod-name {
  font-size: var(--t-name);
  font-weight: var(--w-title);
  color: var(--ink);
  margin: 0 4px 4px;
  line-height: 1.3;
}

.prod-price {
  font-size: var(--t-name);
  font-weight: var(--w-title);
  color: var(--pink);
  margin: 0 4px 8px;
}

.add-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: calc(100% - 8px);
  margin: 0 4px;
  color: var(--pink);
  font-size: var(--t-btn);
  font-weight: var(--w-title);
  line-height: 1;
}

.add-cart .ico { width: 15px; height: 15px; }

.love-wrap {
  text-align: center;
  margin: 22px 16px 0;
  padding: 22px 14px 16px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fff7fb 100%);
  box-shadow: 0 12px 28px rgba(233, 29, 140, 0.08);
}

.eyebrow {
  font-size: 11px;
  font-weight: var(--w-title);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 8px;
}

.love-wrap .section-title {
  margin: 0 0 16px;
  line-height: 1.2;
}

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

.trust-item {
  text-align: center;
  border-radius: 20px;
  padding: 14px 10px 16px;
}

.trust-item.tone-mint { background: #e5fbf6; }
.trust-item.tone-pink { background: #ffe8f3; }
.trust-item.tone-peach { background: #fff1e4; }
.trust-item.tone-lilac { background: #f1ecff; }

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  color: var(--pink);
  box-shadow: 0 6px 14px rgba(33, 84, 110, 0.08);
}

.trust-icon .ico { width: 18px; height: 18px; }

.trust-item h3 {
  margin: 0 0 4px;
  font-size: var(--t-name);
  font-weight: var(--w-title);
  color: var(--ink);
}

.trust-item p {
  margin: 0;
  color: var(--muted);
  font-size: var(--t-body);
  font-weight: var(--w-body);
  line-height: 1.4;
}

.install {
  display: none;
  margin: 22px 16px 0;
  border-radius: 24px;
  background: linear-gradient(135deg, #e91d8c 0%, #1aabb4 100%);
  padding: 16px;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 28px rgba(233, 29, 140, 0.22);
}

.install.show { display: flex; }

.install-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.35);
}

.install-title {
  color: #fff;
  font-weight: var(--w-title);
  font-size: var(--t-name);
  margin: 0 0 2px;
}

.install-sub {
  color: rgba(255,255,255,0.88);
  font-size: var(--t-body);
  line-height: 1.4;
  margin: 0;
  font-weight: var(--w-body);
}

.install-btn {
  background: #fff;
  color: var(--pink);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: var(--w-title);
  font-size: var(--t-btn);
  flex: none;
}

.site-footer {
  position: relative;
  margin: 28px 0 0;
  padding: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 230, 244, 0.95) 0 70px, transparent 71px),
    radial-gradient(circle at 90% 22%, rgba(217, 247, 251, 0.95) 0 80px, transparent 81px),
    linear-gradient(180deg, #ddf9fa 0%, #fff4f9 58%, #ffe4f2 100%);
}

.footer-inner {
  padding: 28px 20px 18px;
}

.footer-brand {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 6px;
  margin-bottom: 18px;
}

.footer-brand img {
  width: 78px;
  height: 78px;
  filter: drop-shadow(0 8px 16px rgba(233, 29, 140, 0.16));
}

.footer-brand p {
  margin: 4px 0 0;
  color: var(--pink);
  font-weight: var(--w-title);
  font-size: var(--t-title);
}

.footer-brand span {
  color: var(--muted);
  font-weight: var(--w-body);
  font-size: var(--t-body);
}

.footer-title {
  font-family: "Nunito", sans-serif;
  font-weight: var(--w-title);
  font-size: 11px;
  margin: 0 0 12px;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

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

.footer-links button {
  text-align: center;
  font-weight: var(--w-title);
  font-size: var(--t-name);
  color: var(--ink);
  background: #fff;
  border-radius: 999px;
  padding: 11px 12px;
  box-shadow: 0 8px 18px rgba(33, 84, 110, 0.08);
}

.footer-links button:hover { color: var(--pink); }

.footer-contact {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.footer-contact a {
  flex: 1;
  text-align: center;
  background: #fff;
  color: var(--pink);
  font-weight: var(--w-title);
  font-size: var(--t-btn);
  border-radius: 999px;
  padding: 11px 10px;
  box-shadow: 0 8px 18px rgba(233, 29, 140, 0.1);
}

.copy {
  margin: 18px 0 0;
  padding: 14px 20px 16px;
  text-align: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  background: linear-gradient(90deg, #e91d8c, #1aabb4);
}

.whatsapp-fab {
  position: absolute;
  right: 20px;
  bottom: calc(76px + var(--safe-bottom));
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  z-index: 25;
}

.about-card {
  background: #fff;
  border-radius: 22px;
  padding: 22px 16px;
  box-shadow: var(--shadow);
  text-align: center;
}

.about-card img { width: 84px; margin: 0 auto 12px; }

.about-card h2 {
  font-family: "Fraunces", "Nunito", serif;
  margin: 0 0 10px;
}

.about-card p {
  color: #5d6776;
  line-height: 1.55;
  font-weight: 700;
}

.info-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 18px;
}

.info-list article,
.blog-card,
.info-link,
.info-note {
  background: #fff;
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.info-list h3,
.blog-card h3 {
  margin: 0 0 6px;
  font-family: "Fraunces", "Nunito", serif;
  font-size: 16px;
}

.info-list p,
.blog-card p,
.info-note {
  margin: 0;
  color: #5d6776;
  font-weight: 600;
  line-height: 1.45;
}

.info-link {
  display: block;
  font-weight: 800;
  color: var(--ink);
}

.blog-list {
  display: grid;
  gap: 12px;
}

.form textarea {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
  min-height: 110px;
  resize: vertical;
  font: inherit;
}

.hero {
  position: relative;
  padding: 8px 2px 4px;
}

.float {
  position: absolute;
  font-size: 11px;
  color: #8b96a5;
  line-height: 1.25;
  font-weight: 700;
}

.float.left { left: 0; top: 0; }
.float.right { right: 0; top: 8px; text-align: right; }
.float.mid { right: 8px; top: 228px; text-align: right; z-index: 1; }

.hero h1 {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin: 28px 0 8px;
  max-width: 11ch;
}

.hero p {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.hero-art {
  width: calc(100% + 8px);
  margin: 4px -4px 0;
  border-radius: 28px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink);
  color: #fff;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  box-shadow: 0 10px 20px rgba(233, 29, 140, 0.24);
}

.cta.ghost {
  background: #fff;
  color: var(--pink);
  border: 1.5px solid #ffd4ea;
  box-shadow: none;
}

.cta.full { width: 100%; justify-content: center; }
.cta.add-cart { color: #fff; width: 100%; margin: 0; }
.cta.add-cart .ico { width: 16px; height: 16px; }
.cta:active { transform: scale(0.98); }

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 12px;
}

.section-head h2 {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 24px;
  margin: 0;
}

.home-more .section-head {
  margin: 8px 16px 14px;
}

.home-more .see {
  color: var(--pink);
}

.see {
  color: var(--muted);
  font-weight: var(--w-title);
  font-size: var(--t-btn);
}

.cats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cat-card {
  padding: 0;
  background: none;
  border-radius: 18px;
  overflow: hidden;
  line-height: 0;
}

.cat-card img {
  width: 100%;
  height: auto;
  display: block;
}

.deals-exact {
  display: block;
  width: 100%;
  padding: 0;
  margin: 0 0 16px;
  border-radius: 22px;
  overflow: hidden;
  line-height: 0;
}

.deals-exact img {
  width: 100%;
  height: auto;
}

.deals {
  margin-top: 18px;
  background: #fff;
  border-radius: 28px;
  padding: 22px 18px 8px;
  box-shadow: var(--shadow);
}

.deals-copy h2 {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 30px;
  margin: 0 0 8px;
  line-height: 1.05;
}

.deals-copy p {
  margin: 0 0 14px;
  color: var(--muted);
  font-weight: 700;
}

.deals img {
  width: 100%;
  margin-top: 8px;
}

.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.product {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 10px 10px 14px;
  box-shadow: var(--shadow);
  text-align: left;
}

.product .thumb {
  background: #f7f9fc;
  border-radius: 16px;
  height: 120px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product h3 {
  font-size: var(--t-name);
  font-weight: var(--w-title);
  color: var(--ink);
  margin: 10px 4px 2px;
  line-height: 1.25;
}

.product .price {
  color: var(--pink);
  font-weight: var(--w-title);
  font-size: var(--t-name);
  margin: 0 4px 8px;
}

.page-title {
  font-family: "Nunito", sans-serif;
  font-size: 24px;
  font-weight: var(--w-title);
  color: var(--ink);
  margin: 8px 0 14px;
}

.filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 12px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar { display: none; }

.chip {
  flex: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 13px;
  color: var(--muted);
}

.chip.active {
  background: var(--pink);
  border-color: var(--pink);
  color: #fff;
}

.detail .hero-img {
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.detail .hero-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.detail h1 {
  font-family: "Fredoka", "Nunito", sans-serif;
  font-size: 30px;
  margin: 18px 0 6px;
}

.detail .price {
  color: var(--pink);
  font-weight: 800;
  font-size: 20px;
  margin: 0 0 10px;
}

.detail p {
  color: #5d6776;
  line-height: 1.55;
}

.qty {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 18px;
}

.qty button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink);
  font-size: 20px;
  font-weight: 800;
}

.qty span { font-weight: 800; min-width: 18px; text-align: center; }
.qty.compact { margin: 8px 0 0; }

.cart-list, .fav-list, .empty {
  display: grid;
  gap: 12px;
}

.cart-item, .fav-item {
  background: #fff;
  border-radius: 20px;
  padding: 10px;
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 10px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cart-item img, .fav-item img {
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 14px;
  background: #f6f8fb;
}

.cart-item h3, .fav-item h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.cart-item p, .fav-item p {
  margin: 0;
  color: var(--pink);
  font-weight: 800;
  font-size: 13px;
}

.empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--muted);
}

.empty img {
  width: 88px;
  margin: 0 auto 12px;
  opacity: 0.9;
}

.checkout {
  position: sticky;
  bottom: 8px;
  background: #fff;
  border-radius: 22px;
  padding: 14px;
  box-shadow: var(--shadow);
  margin-top: 16px;
}

.row {
  display: flex;
  justify-content: space-between;
  font-weight: 800;
  margin-bottom: 12px;
}

.account-card, .more-list button, .form {
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.account-card {
  padding: 22px 16px;
  text-align: center;
}

.account-card h2 { margin: 8px 0 4px; }
.account-card p { margin: 0 0 8px; color: var(--muted); font-weight: 700; }

.account-card img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  margin: 0 auto 10px;
  object-fit: cover;
}

.more-list {
  display: grid;
  gap: 10px;
}

.more-list button {
  padding: 16px;
  text-align: left;
  font-weight: 800;
  display: flex;
  justify-content: space-between;
}

.form {
  padding: 16px;
  display: grid;
  gap: 10px;
}

.form input {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
}

.drawer.open { pointer-events: auto; }

.drawer-bg {
  position: absolute;
  inset: 0;
  background: rgba(16, 24, 40, 0.35);
  opacity: 0;
  transition: 0.2s ease;
}

.drawer.open .drawer-bg { opacity: 1; }

.drawer-panel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(82vw, 320px);
  background: #fff;
  padding: 28px 18px;
  transform: translateX(-105%);
  transition: 0.24s ease;
}

.drawer.open .drawer-panel { transform: none; }

.drawer-panel h3 {
  font-family: "Fredoka", "Nunito", sans-serif;
  margin: 8px 0 18px;
}

.drawer-panel button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  font-weight: 800;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transition: 0.25s ease;
  z-index: 50;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.tabbar {
  position: sticky;
  bottom: 0;
  flex: none;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: linear-gradient(#ffffff, #f7fdff);
  border-top: 2px solid #ffe0ef;
  box-shadow: 0 -10px 28px rgba(233, 29, 140, 0.1);
  padding: 10px 6px calc(12px + var(--safe-bottom));
  z-index: 40;
}

.tab {
  display: grid;
  justify-items: center;
  gap: 3px;
  color: #3a4454;
  font-size: 10px;
  font-weight: 800;
}

.tab .ico { width: 22px; height: 22px; }
.tab.active { color: var(--pink); }
.tab.active span {
  box-shadow: 0 2px 0 var(--pink);
}

.install-banner {
  display: none;
  margin: 8px 0 0;
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--shadow);
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.install-banner.show { display: flex; }

.heart {
  color: var(--pink);
}

@media (min-width: 480px) {
  body {
    padding: 24px 0;
  }
  .app {
    height: calc(100dvh - 48px);
    border-radius: 36px;
    box-shadow: 0 24px 60px rgba(33, 84, 110, 0.14);
  }
  .tabbar {
    border-radius: 0 0 36px 36px;
  }
}
