*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue: #3BBFD4;
  --blue-dark: #2da8be;
  --blue-light: #E8F6FA;
  --orange: #F5A523;
  --orange-dark: #e0921a;
  --bg: #F4F6F9;
  --white: #ffffff;
  --text: #1a1a2e;
  --text-mid: #52527A;
  --text-light: #9292b0;
  --green: #3DB87A;
  --red: #E8394A;
  --amber: #F59B00;
  --purple: #8B5CF6;
  --mint: #E6F9F3;
  --lavender: #EEE9FF;
  --peach: #FFF2E8;
  --sky: #E8F6FA;
  --border: #EDEEF2;
  --radius: 20px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --shadow: 0 4px 24px rgba(26,26,46,0.09);
  --shadow-sm: 0 2px 10px rgba(26,26,46,0.055);
  --shadow-btn: 0 6px 20px rgba(59,191,212,0.32);
  --shadow-orange: 0 6px 20px rgba(245,165,35,0.35);
  font-family: 'Nunito', sans-serif;
}

html, body {
  height: 100%; background: #d6d8de;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#app {
  max-width: 420px;
  margin: 0 auto;
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 0 60px rgba(0,0,0,0.2);
}

/* ── SCREEN SYSTEM ── */
.screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.screen.active { transform: translateX(0); opacity: 1; }
.screen.exit   { transform: translateX(-30px); opacity: 0; transition-duration: 0.22s; }

/* ── SCROLLABLE BODY ── */
.screen-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 90px;
  position: relative;
  z-index: 10;
}
.screen-body::-webkit-scrollbar { display: none; }

/* ── PEEKO HEADER ── */
.peeko-header {
  background: var(--blue);
  padding: 48px 20px 0;
  flex-shrink: 0;
}
.header-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.header-greeting { color: rgba(255,255,255,0.8); font-size: 12px; font-weight: 700; letter-spacing: 0.2px; }
.header-title { color: #fff; font-size: 21px; font-weight: 900; line-height: 1.15; }
.header-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.95); display: flex; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: 0 3px 12px rgba(0,0,0,0.18); flex-shrink: 0;
}
.search-row { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.search-box {
  flex: 1; background: #fff; border-radius: 50px; padding: 10px 16px;
  display: flex; align-items: center; gap: 8px; box-shadow: var(--shadow-sm);
}
.search-box input {
  border: none; outline: none; font-family: 'Nunito', sans-serif;
  font-size: 14px; color: var(--text); width: 100%; background: transparent;
}
.search-box input::placeholder { color: var(--text-light); }
.search-icon { color: var(--text-light); font-size: 15px; }
.try-btn {
  background: var(--orange); color: #fff; border: none; border-radius: 50px;
  padding: 10px 14px; font-size: 11.5px; font-weight: 800; cursor: pointer;
  line-height: 1.3; white-space: nowrap; font-family: 'Nunito', sans-serif;
  box-shadow: var(--shadow-orange); transition: background 0.18s, transform 0.15s;
}
.try-btn:active { transform: scale(0.96); background: var(--orange-dark); }

/* ── CATEGORY TABS ── */
.cat-tabs {
  display: flex; padding: 0;
  border-bottom: 1.5px solid rgba(255,255,255,0.18);
  overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.cat-tabs::-webkit-scrollbar { display: none; }
.cat-tab {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 10px 14px 11px; font-size: 11px; font-weight: 800; color: rgba(255,255,255,0.65);
  cursor: pointer; border-bottom: 2.5px solid transparent; margin-bottom: -1.5px;
  white-space: nowrap; transition: color 0.15s; flex-shrink: 0;
}
.cat-tab.active { color: #fff; border-bottom-color: #fff; }
.cat-tab-icon { font-size: 17px; }

/* ── BOTTOM NAV ── */
.bottom-nav {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: #fff; display: flex; border-top: 1px solid var(--border);
  padding: 10px 0 22px; z-index: 100;
  box-shadow: 0 -2px 20px rgba(26,26,46,0.07);
}
.nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10px; font-weight: 800; color: var(--text-light); cursor: pointer;
  padding: 2px 0; transition: color 0.2s; user-select: none;
}
.nav-item.active { color: var(--blue); }
.nav-icon { font-size: 21px; line-height: 1; }

/* ── SIMPLE BACK HEADER ── */
.back-btn {
  background: rgba(255,255,255,0.22); border: none; border-radius: 50%;
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 17px; color: #fff;
  transition: background 0.18s, transform 0.15s; flex-shrink: 0;
}
.back-btn:hover { background: rgba(255,255,255,0.35); }
.back-btn:active { transform: scale(0.92); }

/* ── HOME BANNER ── */
.banner-container { padding: 14px 16px 0; }
.main-banner {
  border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #29BCD9 0%, #198faa 100%);
  padding: 18px 18px 16px; color: #fff; position: relative; min-height: 130px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.banner-label { font-size: 11px; font-weight: 700; text-transform: uppercase; opacity: 0.8; letter-spacing: 0.5px; }
.banner-title { font-size: 26px; font-weight: 900; line-height: 1.1; }
.banner-emoji { position: absolute; right: 18px; top: 14px; font-size: 52px; }
.banner-dots { display: flex; gap: 5px; margin-top: 10px; }
.banner-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.38); }
.banner-dot.active { background: #fff; width: 18px; border-radius: 3px; }

/* ── QUICK CATEGORY CARDS ── */
.quick-cats { display: flex; gap: 10px; padding: 14px 16px; overflow-x: auto; }
.quick-cats::-webkit-scrollbar { display: none; }
.quick-cat {
  flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden;
  width: 96px; height: 88px; cursor: pointer; transition: transform 0.15s;
}
.quick-cat:active { transform: scale(0.94); }

/* ── SECTION HEADER ── */
.section-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 16px 10px;
}
.section-title { font-size: 17px; font-weight: 900; color: var(--text); }
.section-link { font-size: 13px; font-weight: 800; color: var(--blue); }

/* ── DAILY COMPANION CARD (Home) ── */
.companion-card {
  margin: 0 16px 6px;
  background: linear-gradient(140deg, #EAF7FB 0%, #EDE8FF 100%);
  border-radius: var(--radius); padding: 16px 16px 18px;
  border-left: 4px solid var(--blue);
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  position: relative; overflow: hidden;
}
.companion-card::after {
  content: '';
  position: absolute; top: -28px; right: -28px;
  width: 90px; height: 90px; border-radius: 50%;
  background: rgba(59,191,212,0.08);
  pointer-events: none;
}
.companion-card:active { transform: scale(0.985); box-shadow: none; }
.companion-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.companion-label {
  font-size: 10px; font-weight: 900; text-transform: uppercase;
  color: var(--blue); letter-spacing: 0.6px;
  background: rgba(59,191,212,0.14); padding: 3px 9px; border-radius: 20px;
}
.companion-emoji { font-size: 26px; }
.companion-heading { font-size: 16px; font-weight: 900; color: var(--text); margin-bottom: 3px; }
.companion-sub { font-size: 13px; color: var(--text-mid); margin-bottom: 15px; line-height: 1.5; }
.companion-status-row { display: flex; gap: 7px; margin-bottom: 14px; flex-wrap: wrap; }
.status-chip {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.9); border-radius: 20px; padding: 6px 12px;
  font-size: 12px; font-weight: 800; color: var(--text-mid);
  box-shadow: 0 1px 6px rgba(26,26,46,0.06);
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.status-dot.green { background: var(--green); }
.status-dot.amber { background: var(--amber); }
.status-dot.red   { background: var(--red); }

.checkin-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  background: var(--blue); color: #fff; border: none; border-radius: 50px;
  padding: 13px 20px; font-size: 14px; font-weight: 800;
  cursor: pointer; width: 100%; font-family: 'Nunito', sans-serif;
  box-shadow: var(--shadow-btn); transition: background 0.18s, transform 0.15s;
}
.checkin-btn:hover  { background: var(--blue-dark); }
.checkin-btn:active { transform: scale(0.97); }

/* ── TRENDING CATEGORIES ── */
.trend-cards { display: flex; gap: 12px; padding: 0 16px; }
.trend-card {
  flex: 1; border-radius: var(--radius); padding: 16px; cursor: pointer;
  transition: transform 0.18s; min-height: 110px;
}
.trend-card:active { transform: scale(0.96); }
.trend-card-emoji  { font-size: 38px; margin-bottom: 8px; }
.trend-card-title  { font-size: 13px; font-weight: 900; color: var(--text); margin-bottom: 2px; }
.trend-card-sub    { font-size: 11px; color: var(--text-mid); font-weight: 600; }

/* ── DASHBOARD HEADER ── */
.dash-header-bg {
  background: linear-gradient(135deg, var(--blue) 0%, #2aabca 100%);
  padding: 48px 16px 36px; flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.dash-header-top {
  display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px;
}
.dash-date-label { color: rgba(255,255,255,0.75); font-size: 12px; font-weight: 700; }
.dash-baby-row { display: flex; align-items: center; gap: 12px; }
.dash-baby-avatar {
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255,255,255,0.22);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
  border: 2px solid rgba(255,255,255,0.4); flex-shrink: 0;
}
.dash-baby-name { color: #fff; font-size: 20px; font-weight: 900; line-height: 1.2; }
.dash-baby-age  { color: rgba(255,255,255,0.78); font-size: 13px; font-weight: 600; margin-top: 2px; }

/* ── SUMMARY CARD ── */
.summary-card {
  margin: -24px 16px 14px; background: #fff; border-radius: var(--radius);
  padding: 26px 16px 18px; box-shadow: var(--shadow); z-index: 20; position: relative;
}
.summary-title {
  font-size: 11px; font-weight: 900; color: var(--text-light);
  text-transform: uppercase; letter-spacing: 0.7px; margin-bottom: 16px;
  display: flex; justify-content: space-between; align-items: center;
}
.trend-label {
  font-size: 10px; color: var(--purple); background: var(--lavender);
  padding: 3px 8px; border-radius: 12px; text-transform: none; letter-spacing: 0;
}
.summary-metrics { display: flex; align-items: stretch; }
.metric-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.metric-divider { width: 1px; background: var(--border); margin: 4px 6px; }
.metric-icon-wrap {
  width: 44px; height: 44px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.metric-icon-wrap.sleep { background: var(--lavender); }
.metric-icon-wrap.feed  { background: var(--mint); }
.metric-icon-wrap.mood  { background: var(--peach); }
.metric-label { font-size: 11px; font-weight: 700; color: var(--text-light); }
.metric-badge {
  font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 20px;
  white-space: nowrap;
}
.metric-badge.good  { background: #E7F8EE; color: var(--green); }
.metric-badge.warn  { background: #FFF4DE; color: var(--amber); }
.metric-badge.bad   { background: #FDEEF0; color: var(--red); }
.metric-badge.empty { background: var(--bg); color: var(--text-light); }

/* ── SUMMARY LOG BTN ── */
.log-btn {
  width: 100%; margin-top: 16px; background: var(--blue); color: #fff;
  border: none; border-radius: 50px; padding: 12px; font-size: 14px;
  font-weight: 800; cursor: pointer; font-family: 'Nunito', sans-serif;
  box-shadow: var(--shadow-btn); transition: background 0.18s, transform 0.15s;
}
.log-btn:active { transform: scale(0.97); }

/* ── INSIGHT CARD ── */
.insight-card {
  margin: 0 16px 14px; border-radius: var(--radius); padding: 18px;
  cursor: pointer; transition: transform 0.18s, box-shadow 0.18s;
  position: relative; overflow: hidden;
}
.insight-card:active { transform: scale(0.98); box-shadow: none; }
.insight-card.sleep-bad {
  background: linear-gradient(140deg, #EEE8FF 0%, #E0D4FF 100%);
  border-left: 4px solid var(--purple);
}
.insight-card.feed-warn {
  background: linear-gradient(140deg, #FFF7E0 0%, #FFEAD0 100%);
  border-left: 4px solid var(--amber);
}
.insight-card.all-good {
  background: linear-gradient(140deg, #E8F8EF 0%, #D0F0E0 100%);
  border-left: 4px solid var(--green);
}
.insight-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.insight-tag {
  font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.5px;
  padding: 3px 10px; border-radius: 20px;
}
.insight-tag.purple { background: rgba(139,92,246,0.14); color: var(--purple); }
.insight-tag.amber  { background: rgba(245,155,0,0.14);  color: var(--amber); }
.insight-tag.green  { background: rgba(61,184,122,0.14); color: var(--green); }
.insight-emoji { font-size: 30px; line-height: 1; }
.insight-title { font-size: 16px; font-weight: 900; color: var(--text); margin-bottom: 6px; line-height: 1.3; }
.insight-desc { font-size: 13px; color: var(--text-mid); line-height: 1.55; margin-bottom: 14px; }
.insight-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 900; color: var(--blue);
}
.insight-arrow { font-size: 15px; transition: transform 0.2s; }
.insight-card:hover .insight-arrow { transform: translateX(3px); }

/* ── PRODUCTS SCROLL ── */
.products-scroll { display: flex; gap: 12px; padding: 0 16px; overflow-x: auto; }
.products-scroll::-webkit-scrollbar { display: none; }
.product-card {
  flex-shrink: 0; width: 142px; background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
  border: 1px solid var(--border);
}
.product-card:active { transform: scale(0.96); box-shadow: none; }
.product-img-wrap {
  height: 112px; background: var(--sky);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.product-img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding: 10px 10px 12px; }
.product-name { font-size: 12px; font-weight: 800; color: var(--text); margin-bottom: 2px; line-height: 1.3; }
.product-brand { font-size: 10px; color: var(--text-light); margin-bottom: 7px; font-weight: 700; }
.product-price-row { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.product-price { font-size: 14px; font-weight: 900; color: var(--text); }
.product-original { font-size: 11px; color: var(--text-light); text-decoration: line-through; }
.product-badge {
  font-size: 10px; font-weight: 900; color: var(--green);
  background: #E7F8EE; padding: 1px 6px; border-radius: 10px;
}

/* ── EXPLORE BTN ── */
.explore-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin: 10px 16px 14px; background: var(--orange); color: #fff;
  border: none; border-radius: 50px; padding: 15px; font-size: 15px; font-weight: 900;
  cursor: pointer; width: calc(100% - 32px); font-family: 'Nunito', sans-serif;
  box-shadow: var(--shadow-orange); transition: background 0.18s, transform 0.15s;
}
.explore-btn:active { transform: scale(0.97); background: var(--orange-dark); }

/* ── SECTION DIVIDER ── */
.section-divider {
  margin: 6px 16px 0; height: 1px; background: var(--border);
}

/* ── BOTTOM SHEET ── */
.sheet-overlay {
  position: fixed; inset: 0; background: rgba(10,10,30,0.48);
  z-index: 200; opacity: 0; transition: opacity 0.28s ease;
  pointer-events: none; backdrop-filter: blur(2px);
}
.sheet-overlay.open { opacity: 1; pointer-events: all; }

.bottom-sheet {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%) translateY(100%);
  width: 100%; max-width: 420px; background: #fff;
  border-radius: 26px 26px 0 0; z-index: 201; padding: 0 20px 44px;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -10px 50px rgba(10,10,30,0.18);
}
.bottom-sheet.open { transform: translateX(-50%) translateY(0); }
.sheet-handle { width: 40px; height: 4px; background: #DDE0E8; border-radius: 2px; margin: 14px auto 22px; }
.sheet-title    { font-size: 20px; font-weight: 900; color: var(--text); margin-bottom: 4px; }
.sheet-subtitle { font-size: 13px; color: var(--text-light); margin-bottom: 26px; font-weight: 600; }

/* check-in options */
.checkin-row { margin-bottom: 22px; }
.checkin-question { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 12px; }
.checkin-options { display: flex; gap: 10px; }
.checkin-opt {
  flex: 1; border: 2px solid var(--border); border-radius: var(--radius-sm);
  padding: 14px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; font-size: 13px; font-weight: 800; font-family: 'Nunito', sans-serif;
  background: #fff; color: var(--text-mid);
  transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.12s, box-shadow 0.15s;
  user-select: none;
}
.checkin-opt .opt-emoji { font-size: 28px; line-height: 1; }
.checkin-opt:active { transform: scale(0.94); }

.checkin-opt.selected {
  border-color: var(--blue); background: var(--blue-light); color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,191,212,0.15);
}
.checkin-opt.selected-warn {
  border-color: #F8B145; background: #FFF9ED; color: var(--amber);
  box-shadow: 0 0 0 3px rgba(248,177,69,0.12);
}
.checkin-opt.selected-bad {
  border-color: #EB707D; background: #FEF3F4; color: var(--red);
  box-shadow: 0 0 0 3px rgba(235,112,125,0.1);
}

.save-btn {
  width: 100%; background: var(--blue); color: #fff; border: none;
  border-radius: 50px; padding: 16px; font-size: 16px; font-weight: 900;
  cursor: pointer; font-family: 'Nunito', sans-serif; margin-top: 10px;
  box-shadow: var(--shadow-btn); transition: background 0.18s, transform 0.15s;
  letter-spacing: 0.2px;
}
.save-btn:hover  { background: var(--blue-dark); }
.save-btn:active { transform: scale(0.97); }
.save-btn.shake  { animation: shake 0.4s ease; }

/* ── INSIGHT DETAIL SCREEN ── */
.insight-detail-hero {
  background: linear-gradient(140deg, var(--purple) 0%, #6D3FD8 100%);
  padding: 56px 24px 36px; text-align: center; flex-shrink: 0;
}
.insight-detail-hero.feed-hero { background: linear-gradient(140deg, #F59B00 0%, #D97D00 100%); }
.insight-detail-hero.good-hero { background: linear-gradient(140deg, #3DB87A 0%, #2A9962 100%); }
.insight-detail-hero.serious-hero { background: linear-gradient(140deg, #E8394A 0%, #B81D2C 100%); }
.insight-detail-hero.spurt-hero { background: linear-gradient(140deg, #3BBFD4 0%, #2A99B0 100%); }
.insight-detail-hero.milestone-hero { background: linear-gradient(140deg, #8B5CF6 0%, #6D3FD8 100%); }
.insight-hero-emoji { font-size: 62px; margin-bottom: 14px; display: block; line-height: 1; }
.insight-hero-title { font-size: 22px; font-weight: 900; color: #fff; margin-bottom: 8px; line-height: 1.2; }
.insight-hero-sub   { font-size: 14px; color: rgba(255,255,255,0.78); font-weight: 600; line-height: 1.4; }

.insight-content { padding: 22px 16px; flex: 1; overflow-y: auto; }
.insight-content::-webkit-scrollbar { display: none; }
.insight-section-title { font-size: 14px; font-weight: 900; color: var(--text); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.4px; }
.insight-body-text { font-size: 14px; color: var(--text-mid); line-height: 1.75; margin-bottom: 22px; }

.pattern-chip {
  display: flex; align-items: center; gap: 12px; background: var(--lavender);
  border-radius: var(--radius-sm); padding: 13px 14px; margin-bottom: 10px;
}
.pattern-chip-icon { font-size: 20px; flex-shrink: 0; }
.pattern-chip-text { font-size: 13px; font-weight: 800; color: var(--text); }
.pattern-chip-sub  { font-size: 11px; color: var(--text-light); font-weight: 600; margin-top: 1px; }

.tip-card { background: var(--mint); border-radius: var(--radius-sm); padding: 15px; margin-bottom: 16px; }
.tip-card-title { font-size: 13px; font-weight: 900; color: var(--green); margin-bottom: 6px; }
.tip-card-text  { font-size: 13px; color: var(--text-mid); line-height: 1.6; }

/* ── PRODUCT DETAIL ── */
.product-detail-img-wrap {
  background: var(--sky); height: 255px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.product-detail-img { width: 195px; height: 195px; object-fit: contain; }
.product-detail-body { flex: 1; overflow-y: auto; padding: 20px 16px 100px; }
.product-detail-body::-webkit-scrollbar { display: none; }
.product-detail-brand { font-size: 11px; font-weight: 900; color: var(--blue); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 5px; }
.product-detail-name  { font-size: 20px; font-weight: 900; color: var(--text); margin-bottom: 12px; line-height: 1.25; }
.product-detail-price-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.product-detail-price    { font-size: 26px; font-weight: 900; color: var(--text); }
.product-detail-mrp      { font-size: 15px; color: var(--text-light); text-decoration: line-through; }
.product-detail-discount { font-size: 13px; font-weight: 900; color: var(--green); background: #E7F8EE; padding: 3px 9px; border-radius: 20px; }
.highlights-row { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.highlight-chip {
  display: flex; align-items: center; gap: 4px; background: var(--sky);
  border-radius: 20px; padding: 5px 12px; font-size: 12px; font-weight: 800; color: var(--blue);
}
.product-desc { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }
.add-cart-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 12px 16px 30px; background: rgba(255,255,255,0.97);
  box-shadow: 0 -4px 20px rgba(26,26,46,0.09); display: flex; gap: 10px;
  backdrop-filter: blur(8px);
}
.wishlist-btn {
  border: 2px solid var(--border); border-radius: 50px; padding: 13px 16px;
  background: #fff; font-size: 20px; cursor: pointer;
  transition: background 0.18s, border-color 0.18s, transform 0.15s;
}
.wishlist-btn:hover  { border-color: var(--blue); background: var(--sky); }
.wishlist-btn:active { transform: scale(0.93); }
.add-cart-btn {
  flex: 1; background: var(--orange); color: #fff; border: none; border-radius: 50px;
  padding: 14px; font-size: 16px; font-weight: 900; cursor: pointer;
  font-family: 'Nunito', sans-serif; box-shadow: var(--shadow-orange);
  transition: background 0.18s, transform 0.15s;
}
.add-cart-btn:active { transform: scale(0.97); background: var(--orange-dark); }

/* ── SUCCESS OVERLAY ── */
.success-overlay {
  position: fixed; inset: 0; background: rgba(255,255,255,0.96);
  z-index: 300; display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.28s ease;
}
.success-overlay.show { opacity: 1; pointer-events: all; }
.success-circle {
  width: 94px; height: 94px; border-radius: 50%; background: var(--blue);
  display: flex; align-items: center; justify-content: center; font-size: 44px;
  margin-bottom: 22px; transform: scale(0);
  transition: transform 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.55);
  box-shadow: 0 8px 32px rgba(59,191,212,0.38);
}
.success-overlay.show .success-circle { transform: scale(1); }
.success-text { font-size: 22px; font-weight: 900; color: var(--text); margin-bottom: 6px; }
.success-sub  { font-size: 15px; color: var(--text-mid); font-weight: 600; }

/* ── NOTIFICATION BANNER ── */
.notification-banner {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 420px; background: #fff; z-index: 400;
  padding: 44px 16px 14px; display: flex; align-items: center; gap: 12px;
  box-shadow: 0 6px 24px rgba(26,26,46,0.14); border-radius: 0 0 18px 18px;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.notification-banner.hidden { transform: translateX(-50%) translateY(-120%); }
.notif-icon  { font-size: 28px; flex-shrink: 0; }
.notif-text  { flex: 1; }
.notif-title { font-size: 13px; font-weight: 900; color: var(--text); }
.notif-sub   { font-size: 11px; color: var(--text-light); font-weight: 600; margin-top: 1px; }
.notif-cta {
  background: var(--blue); color: #fff; border: none; border-radius: 22px;
  padding: 8px 14px; font-size: 12px; font-weight: 900;
  cursor: pointer; font-family: 'Nunito', sans-serif;
  box-shadow: var(--shadow-btn); white-space: nowrap;
  transition: background 0.18s, transform 0.15s;
}
.notif-cta:active { transform: scale(0.95); }

/* ── OFFER BAR ── */
.offer-bar {
  margin: 14px 16px 8px; background: var(--sky); border-radius: var(--radius-sm);
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
  border: 1px solid rgba(59,191,212,0.15);
}
.offer-bar-icon { font-size: 20px; font-weight: 900; color: var(--blue); background: rgba(59,191,212,0.15); width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.offer-bar-text { font-size: 13px; font-weight: 800; color: var(--text); }

/* ── DELIVERY / RETURNS chips in product ── */
.pdp-info-chip {
  display: flex; align-items: center; gap: 10px;
  border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 10px;
}
.pdp-info-chip.delivery { background: var(--sky); }
.pdp-info-chip.returns  { background: var(--mint); }
.pdp-info-chip-icon { font-size: 18px; flex-shrink: 0; }
.pdp-info-chip-title { font-size: 12px; font-weight: 900; margin-bottom: 2px; }
.pdp-info-chip.delivery .pdp-info-chip-title { color: var(--blue); }
.pdp-info-chip.returns  .pdp-info-chip-title { color: var(--green); }
.pdp-info-chip-sub { font-size: 11px; color: var(--text-light); font-weight: 600; }

/* ── UTILITIES ── */
.hidden { display: none !important; }

.fade-in { animation: fadeIn 0.38s cubic-bezier(0.4, 0, 0.2, 1) both; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.12s; }
.stagger-3 { animation-delay: 0.20s; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

@keyframes popIn {
  from { transform: scale(0.88); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}
.pop-in { animation: popIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both; }

/* ── SUCCESS POP ── */
.success-pop {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.95);
  background: #fff; padding: 24px; border-radius: var(--radius); text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15); opacity: 0; transition: all 0.28s;
}
.sheet-overlay.open .success-pop { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.success-icon { font-size: 40px; margin-bottom: 8px; }
.success-text { font-size: 16px; font-weight: 800; color: var(--text); }

/* ── MEDICAL REPORT MODAL ── */
.report-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 500; display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.report-overlay.open { opacity: 1; pointer-events: all; }

.report-modal {
  width: 100%; max-width: 420px; background: #F8FAFC; 
  border-radius: 28px 28px 0 0; height: 92vh; display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden; box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
}
.report-overlay.open .report-modal { transform: translateY(0); }

.report-header {
  background: #fff; padding: 24px 20px; border-bottom: 1px solid #E2E8F0;
  display: flex; justify-content: space-between; align-items: center;
}
.report-brand { color: var(--blue); font-weight: 900; font-size: 18px; letter-spacing: -0.5px; }

.report-body { flex: 1; overflow-y: auto; padding: 24px 20px 100px; }
.report-section { background: #fff; border-radius: 16px; padding: 20px; margin-bottom: 16px; border: 1px solid #EDF2F7; }
.report-label { font-size: 11px; font-weight: 800; color: #64748B; text-transform: uppercase; margin-bottom: 14px; display: flex; justify-content: space-between; }

/* Behavior Grid */
.behavior-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 4px; }
.grid-col { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.grid-dot { 
  width: 14px; height: 14px; border-radius: 50%; background: #E2E8F0; 
  border: 1.5px solid #CBD5E1;
}
.grid-dot.good   { background: #3DB87A; border-color: #2A9962; }
.grid-dot.warn   { background: #F5A623; border-color: #D97D00; }
.grid-dot.bad    { background: #E8394A; border-color: #B81D2C; }
.grid-day-label { font-size: 9px; font-weight: 900; color: #94A3B8; }

.report-note-box { 
  width: 100%; height: 80px; background: #F1F5F9; border: 1px solid #E2E8F0;
  border-radius: 10px; padding: 10px; font-size: 13px; font-family: 'Nunito', sans-serif;
  color: var(--text); outline: none; transition: border-color 0.2s;
}
.report-note-box:focus { border-color: var(--blue); }

.report-footer {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
  border-top: 1px solid #E2E8F0; display: flex; gap: 12px;
}
.share-btn { 
  flex: 1; background: var(--green); color: #fff; border: none; padding: 15px;
  border-radius: 50px; font-weight: 900; font-family: 'Nunito', sans-serif;
  box-shadow: 0 4px 14px rgba(61,184,122,0.3);
}
.close-report-btn { 
  width: 44px; height: 44px; border-radius: 50%; background: #F1F5F9;
  display: flex; align-items: center; justify-content: center; border: none;
  font-size: 18px; color: var(--text-mid);
}
