/* TipidPresyo — single stylesheet, no framework, no build step. */

:root {
  --bg: #F4F9FE;
  --surface: #FFFFFF;
  --surface-alt: #E8F2FC;
  --ink: #122A3E;
  --ink-soft: #5B7488;
  --border: #D9E7F2;
  --header-bg: #1477D6;
  --header-ink: #FFFFFF;
  --header-border: #0F5CAE;
  --header-soft: #BFE0FA;
  --accent: #E8944A;
  --accent-ink: #2B1300;
  --accent-hover: #D67F37;
  --link: #0F66BD;
  --tag-bg: #E8F2FC;
  --tag-ink: #0F66BD;
  --badge-sale-bg: #F9E2C8;
  --badge-sale-ink: #8A4E1C;
  --price-old: #9FB2C2;
  --star: #E8A24E;
  --shadow-sm: 0 1px 2px rgba(18,42,62,.08);
  --shadow-md: 0 12px 30px rgba(18,42,62,.12);
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1720; --surface: #16222E; --surface-alt: #1C2B3A;
    --ink: #EAF2FA; --ink-soft: #9FB4C6; --border: #263A4B;
    --header-bg: #0E4A8C; --header-ink: #EAF4FF; --header-border: #082C57; --header-soft: #8FC4F5;
    --accent: #E8A165; --accent-ink: #2B1300; --accent-hover: #F0B37E;
    --link: #6FB3F2; --tag-bg: #1C2B3A; --tag-ink: #6FB3F2;
    --badge-sale-bg: #46331B; --badge-sale-ink: #F0C48A;
    --price-old: #6B7F91; --star: #E8AC5E;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.5); --shadow-md: 0 12px 30px rgba(0,0,0,.4);
  }
}
:root[data-theme="dark"] {
  --bg: #0E1720; --surface: #16222E; --surface-alt: #1C2B3A;
  --ink: #EAF2FA; --ink-soft: #9FB4C6; --border: #263A4B;
  --header-bg: #0E4A8C; --header-ink: #EAF4FF; --header-border: #082C57; --header-soft: #8FC4F5;
  --accent: #E8A165; --accent-ink: #2B1300; --accent-hover: #F0B37E;
  --link: #6FB3F2; --tag-bg: #1C2B3A; --tag-ink: #6FB3F2;
  --badge-sale-bg: #46331B; --badge-sale-ink: #F0C48A;
  --price-old: #6B7F91; --star: #E8AC5E;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.5); --shadow-md: 0 12px 30px rgba(0,0,0,.4);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; margin: 0 0 .5em; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 14px; border-radius: 6px; z-index: 100; font-weight: 700;
  transition: top .15s;
}
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.wrap { max-width: 1180px; margin: 0 auto; padding-inline: 20px; }

/* ---------- header ---------- */
header.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: var(--header-bg); color: var(--header-ink);
  border-bottom: 1px solid var(--header-border);
}
.header-row { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.logo {
  font-family: var(--font-display); font-weight: 800; font-size: 1.5rem;
  color: var(--header-ink); text-decoration: none; letter-spacing: -.02em; white-space: nowrap;
}
.logo span { color: var(--header-soft); }
.nav-scroll-wrap { display: flex; align-items: center; gap: 4px; flex: 1; min-width: 0; }
nav.main-nav {
  display: flex; gap: 20px; flex: 1; min-width: 0; overflow-x: auto; scroll-behavior: smooth;
  white-space: nowrap; scrollbar-width: none;
}
nav.main-nav::-webkit-scrollbar { display: none; }
nav.main-nav a { flex: none; color: var(--header-ink); text-decoration: none; font-size: .95rem; font-weight: 500; opacity: .88; }
nav.main-nav a:hover, nav.main-nav a[aria-current="page"] { opacity: 1; text-decoration: underline; }
.nav-arrow {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 0; color: var(--header-ink); opacity: .75; padding: 4px; cursor: pointer;
}
.nav-arrow:hover { opacity: 1; }
.flash-deals-badge {
  display: inline-flex; align-items: center; gap: 8px; flex: none; white-space: nowrap;
  margin-left: auto; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
}
.flash-deals-icon { font-size: 1rem; line-height: 1; }
.flash-deals-label {
  font-size: .78rem; font-weight: 800; letter-spacing: .03em;
  color: var(--header-ink); text-transform: uppercase;
}
.flash-deals-timer {
  font-variant-numeric: tabular-nums; font-weight: 800; font-size: .8rem;
  background: rgba(0,0,0,.35); color: #fff; padding: 3px 8px; border-radius: 6px;
}
@media (max-width: 760px) { .flash-deals-badge { display: none; } }

.search-form {
  display: flex; align-items: center; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18); border-radius: 8px; padding: 7px 12px; gap: 8px; min-width: 0;
}
.search-form input {
  background: transparent; border: 0; color: var(--header-ink);
  font-family: var(--font-body); font-size: .9rem; outline: none; width: 180px; max-width: 40vw;
}
.search-form input::placeholder { color: rgba(244,246,241,.6); }
.search-form svg { flex: none; opacity: .75; }
.nav-toggle {
  display: none; background: transparent; border: 0; color: var(--header-ink); padding: 6px; cursor: pointer;
}

.cat-strip { background: var(--surface); border-bottom: 1px solid var(--border); }
.cat-scroll { display: flex; align-items: center; justify-content: space-between; gap: 10px; overflow-x: auto; padding-block: 12px; scrollbar-width: thin; }
.cat-chip {
  flex: none; font-size: .85rem; font-weight: 600; color: var(--ink-soft);
  background: var(--tag-bg); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 14px; text-decoration: none; white-space: nowrap;
}
.cat-chip.is-active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-arrow { display: none; }
  .nav-scroll-wrap { width: 100%; }
  nav.main-nav {
    display: none; flex-direction: column; gap: 2px; width: 100%; overflow-x: visible; white-space: normal;
    padding-block: 8px 4px;
  }
  nav.main-nav a { flex: none; }
  nav.main-nav.is-open { display: flex; }
  .header-row { flex-wrap: wrap; }
  .search-form { order: 3; width: 100%; }
  .search-form input { width: 100%; max-width: none; }
}

/* ---------- intro / filters ---------- */
.page-intro { padding-block: 32px 20px; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
.page-intro h1 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); margin-block: 6px 8px; }
.page-intro p { color: var(--ink-soft); max-width: 62ch; margin: 0; }
/* Homepage lede only — spans the full intro width instead of the
   62ch reading-width cap used on category/search page intros. */
.page-intro p.intro-lede-full { max-width: none; }
.filter-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 18px; }
.filter-row .filter-label { font-size: .82rem; color: var(--ink-soft); margin-right: 4px; }
.filter-chip {
  font-size: .82rem; border: 1px solid var(--border); background: var(--surface);
  color: var(--ink-soft); border-radius: 999px; padding: 6px 12px; text-decoration: none; display: inline-block;
}
.filter-chip.is-active { background: var(--header-bg); color: var(--header-ink); border-color: var(--header-bg); }

.breadcrumb-row { font-size: .85rem; color: var(--ink-soft); padding-block: 16px 0; }
.breadcrumb-row a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb-row a:hover { text-decoration: underline; }
.breadcrumb-row span[aria-current] { color: var(--ink); font-weight: 600; }

.empty-state { color: var(--ink-soft); padding-block: 24px; }

/* ---------- layout ---------- */
/* Single full-width column now that the sidebar (trending / newsletter /
   disclosure) has moved out of this grid to its own strip before the footer. */
.layout { display: grid; grid-template-columns: 1fr; gap: 32px; padding-block: 24px 56px; align-items: start; }

/* ---------- pre-footer strip (trending / newsletter / disclosure) ---------- */
.pre-footer-strip { padding-block: 8px 0; }
.pre-footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-block: 8px 40px; }
@media (max-width: 640px) { .pre-footer-grid { grid-template-columns: 1fr; } }

.deals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }

article.deal-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.deal-thumb {
  aspect-ratio: 1 / 1; background: var(--surface-alt); position: relative;
  display: block; overflow: hidden; border: 1.5px solid var(--ink-soft); border-radius: 0;
}
.deal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 10px; left: 10px;
  font-size: .72rem; font-weight: 700; padding: 4px 9px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .03em;
  background: var(--badge-sale-bg); color: var(--badge-sale-ink);
}
.deal-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.deal-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--link); }
.deal-title { font-family: var(--font-display); font-size: .88rem; font-weight: 400; line-height: 1.3; }
.deal-title a {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 3.9em;
  color: var(--ink); text-decoration: none;
}
.deal-title a:hover { text-decoration: underline; }
.deal-rating { font-size: .82rem; color: var(--ink-soft); display: flex; align-items: center; gap: 5px; }
.deal-rating .stars { color: var(--star); letter-spacing: 1px; }
.deal-price-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.deal-price-row .share-btn { width: 34px; height: 34px; padding: 0; }
.deal-price { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.price-now { font-size: 1.15rem; font-weight: 800; }
.price-old { font-size: .85rem; color: var(--price-old); text-decoration: line-through; }
.cta-btn {
  margin-top: 4px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .88rem;
  text-decoration: none; padding: 10px 14px; border-radius: 9px; border: 0;
}
.cta-btn:hover { background: var(--accent-hover); }
.cta-btn-lg { padding: 13px 20px; font-size: .95rem; width: 100%; margin-top: 12px; }

/* ---------- sidebar ---------- */
aside.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(64px + env(safe-area-inset-top, 0px) + 16px); }
.side-box { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 18px 20px; box-shadow: var(--shadow-sm); }
.side-box h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: 12px; font-family: var(--font-body); font-weight: 700; }
.trend-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: trend; }
.trend-list li { counter-increment: trend; display: flex; gap: 10px; align-items: baseline; }
.trend-list li::before {
  content: counter(trend); font-family: var(--font-display); font-weight: 800;
  background: var(--tag-bg); color: var(--link); width: 22px; height: 22px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center; flex: none; font-size: .78rem;
}
.trend-list a { flex: 1; text-decoration: none; color: var(--ink); font-size: .88rem; line-height: 1.35; }
.trend-list a:hover { color: var(--link); text-decoration: underline; }
.trend-price { flex: none; font-size: .82rem; font-weight: 700; color: var(--link); }
.trend-intro { font-size: .85rem; color: var(--ink-soft); margin: 0 0 12px; }
.trend-note { font-size: .76rem; color: var(--ink-soft); margin: 12px 0 0; opacity: .9; }

.newsletter-box { background: var(--header-bg); border-color: var(--header-border); }
.newsletter-box h2 { color: var(--header-soft); }
.newsletter-box p { color: var(--header-ink); font-size: .85rem; margin: 0 0 20px; opacity: .9; }
.footer-col .newsletter-box p { color: var(--header-ink); margin: 0 0 20px; }
.newsletter-form { display: flex; flex-direction: column; gap: 8px; }
.newsletter-form input {
  padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08); color: var(--header-ink); font-family: var(--font-body); font-size: .88rem;
}
.newsletter-form input::placeholder { color: rgba(244,246,241,.6); }
.newsletter-form button { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 8px; font-weight: 700; padding: 10px; font-size: .88rem; }
.footer-email-cta { font-weight: 700; font-size: .92rem; word-break: break-word; }
.footer-email-cta a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.footer-email-cta a:hover, .footer-email-cta a:focus-visible { text-decoration-thickness: 2px; }

.disclosure-box p { font-size: .8rem; color: var(--ink-soft); margin: 0 0 8px; line-height: 1.5; }
.disclosure-box p:last-child { margin-bottom: 0; }

/* ---------- single review page ---------- */
.review-single h1 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); margin-top: 6px; }
.review-meta-row { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--ink-soft); margin-bottom: 20px; }
.review-hero {
  display: grid; grid-template-columns: 1fr; gap: 18px; margin-bottom: 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .review-hero { grid-template-columns: 1fr 1fr 1fr; align-items: center; } }
.review-hero-note { font-size: .78rem; color: var(--ink-soft); }
.review-hero-img { border-radius: 10px; width: 100%; max-width: 320px; height: auto; margin: 0 auto; aspect-ratio: 4/3; object-fit: cover; background: var(--surface-alt); display: block; overflow: hidden; color: transparent; }
.price-note { font-size: .78rem; color: var(--ink-soft); margin-top: 8px; }
.review-lede { font-size: 1.08rem; color: var(--ink-soft); }
.review-single p { max-width: 100%; }
.pros-cons { display: grid; grid-template-columns: 1fr; gap: 18px; margin-block: 24px 72px; }
@media (min-width: 640px) { .pros-cons { grid-template-columns: 1fr 1fr; } }
.pros, .cons { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
.pros h2, .cons h2 { font-size: 1rem; margin-bottom: 10px; }
.pros ul, .cons ul { margin: 0; padding-left: 1.1em; font-size: .92rem; color: var(--ink-soft); display: flex; flex-direction: column; gap: 6px; }
.related-section { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.related-section h2 { margin-bottom: 16px; }

/* ---------- static pages ---------- */
.static-page { max-width: 68ch; padding-block: 32px 56px; }
.static-page h1 { margin-bottom: 18px; }
.static-page h2 { margin-top: 28px; font-size: 1.15rem; }
.static-page p { color: var(--ink-soft); }

/* The About page carries a real sidebar (site stats + contact), so it
   needs the full page width instead of the 68ch prose cap above —
   without this the content column sits narrow and leaves a large
   empty gap on wide screens. */
.static-page.about-page { max-width: none; }
.about-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px; align-items: start;
}
.about-main { max-width: 68ch; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-sidebar { max-width: 68ch; }
}
.about-sidebar { display: flex; flex-direction: column; gap: 20px; }
.about-stats-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.about-stats-list li { display: flex; flex-direction: column; }
.about-stats-list strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); line-height: 1.1; }
.about-stats-list span { font-size: .8rem; color: var(--ink-soft); }
.about-contact-lede { font-size: .88rem; color: var(--ink-soft); margin: 0 0 10px; }

/* ---------- contact page: reason cards ---------- */
.contact-reason-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.contact-reason-list li { padding-block: 14px; border-top: 1px solid var(--border); }
.contact-reason-list li:last-child { border-bottom: 1px solid var(--border); }
.contact-reason-list p { margin: 4px 0 0; font-size: .88rem; }
.contact-reason-link { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 1.02rem; }
.contact-reason-link:hover { color: var(--link); text-decoration: underline; }

.faq-list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.faq-list li { padding-block: 14px; border-top: 1px solid var(--border); }
.faq-list li:last-child { border-bottom: 1px solid var(--border); }
.faq-list h2 { margin: 0 0 6px; font-size: 1.02rem; }
.faq-list p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

.privacy-summary-list { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.privacy-summary-list li { padding-left: 22px; position: relative; font-size: .88rem; color: var(--ink-soft); line-height: 1.5; }
.privacy-summary-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }

/* ---------- footer ---------- */
footer.site-footer { background: var(--surface-alt); border-top: 1px solid var(--border); margin-top: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; padding-block: 40px 28px; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-col h3 { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: 12px; font-family: var(--font-body); font-weight: 700; }
.footer-col .logo { color: var(--ink); font-size: 1.25rem; }
.footer-col .logo span { color: var(--link); }
.footer-col p { font-size: .85rem; color: var(--ink-soft); line-height: 1.55; margin: 10px 0 0; }
.footer-social-label { margin-top: 14px; }
/* 12 icons = 2 even rows of 6. Buttons scale down on very narrow
   screens (minmax) so the 6-per-row grid never overflows. */
.footer-social {
  display: grid; grid-template-columns: repeat(6, minmax(0, 34px));
  gap: 10px; margin-top: 0; max-width: 100%;
}
.footer-social-icon {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; aspect-ratio: 1 / 1; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border); color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.footer-social-icon svg { width: 46%; height: 46%; }
/* Hover/focus: the brand's own color, a small lift. */
.footer-social-icon:hover,
.footer-social-icon:focus-visible {
  background: var(--brand, var(--accent)); border-color: var(--brand, var(--accent));
  color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md);
}
.footer-social-instagram:hover, .footer-social-instagram:focus-visible {
  background: linear-gradient(45deg, #FEDA75 0%, #FA7E1E 25%, #D62976 55%, #962FBF 80%, #4F5BD5 100%);
}
.footer-social-snapchat:hover, .footer-social-snapchat:focus-visible { color: #000; }
/* Hover label with the network's name. */
.footer-social-icon::after {
  content: attr(data-label); position: absolute; left: 50%; bottom: calc(100% + 8px);
  transform: translate(-50%, 4px); white-space: nowrap; pointer-events: none;
  background: var(--ink); color: var(--surface); font-size: .72rem; font-weight: 600;
  padding: 4px 8px; border-radius: 6px; box-shadow: var(--shadow-md);
  opacity: 0; transition: opacity .15s ease, transform .15s ease; z-index: 5;
}
.footer-social-icon::before {
  content: ""; position: absolute; left: 50%; bottom: calc(100% + 3px);
  transform: translate(-50%, 4px); border: 5px solid transparent; border-top-color: var(--ink);
  border-bottom: 0; pointer-events: none; opacity: 0; transition: opacity .15s ease, transform .15s ease; z-index: 5;
}
.footer-social-icon:hover::after, .footer-social-icon:focus-visible::after,
.footer-social-icon:hover::before, .footer-social-icon:focus-visible::before {
  opacity: 1; transform: translate(-50%, 0);
}
@media (hover: none) { .footer-social-icon::after, .footer-social-icon::before { display: none; } }
/* Side-by-side footer columns all end on the same bottom line: every
   column stretches to the row's height, link lists spread to fill it,
   the blue "Got a deal" box fills it, and Follow Us sits at the bottom. */
@media (min-width: 481px) {
  .footer-grid { align-items: stretch; }
  .footer-col { display: flex; flex-direction: column; }
  .footer-col .footer-links { flex: 1; justify-content: space-between; }
  .footer-col .newsletter-box { flex: 1; }
  .footer-col .footer-social-label { margin-top: auto; padding-top: 14px; }
}
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: .87rem; color: var(--ink-soft); text-decoration: none; }
.footer-links a:hover { color: var(--link); text-decoration: underline; }

.footer-bottom { border-top: 1px solid var(--border); padding-block: 16px; font-size: .78rem; color: var(--ink-soft); }
.footer-bottom p { margin: 0; max-width: 90ch; }
.footer-bottom p.footer-disclosure { max-width: none; }

/* ---------- promo banner (two categories side by side, see
   currentPromoBanners() — rotates daily on generic pages, biased to
   the page's own category on /category, /deal and /review pages) ---------- */
.promo-banner { background: var(--accent); border-bottom: 1px solid var(--accent-hover); }
.promo-banner-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px 20px; padding-block: 9px; text-align: center;
}
.promo-item {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 6px 10px;
}
.promo-divider {
  width: 1px; align-self: stretch; min-height: 18px;
  background: var(--accent-ink); opacity: .35; flex: none;
}
@media (max-width: 640px) { .promo-divider { display: none; } }
.promo-text { margin: 0; font-size: .86rem; font-weight: 700; color: var(--accent-ink); }
.promo-cta {
  position: relative;
  font-size: .82rem; font-weight: 800; color: var(--accent-ink); text-decoration: none;
  white-space: nowrap; padding-bottom: 3px;
}
/* Animated underline: a gentle, continuous pulse (not a hover-only
   state) so the CTA visibly reads as clickable even before anyone
   moves their mouse — the whole point of catching attention in this
   slot. Settles to a solid line on hover/focus, and turns off for
   anyone who's asked their OS for less motion. */
.promo-cta::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: currentColor; border-radius: 1px;
  transform-origin: left; transform: scaleX(.82); opacity: .6;
  animation: promo-underline-pulse 2.4s ease-in-out infinite;
}
.promo-cta:hover::after,
.promo-cta:focus-visible::after {
  transform: scaleX(1); opacity: 1; animation: none;
}
@keyframes promo-underline-pulse {
  0%, 100% { transform: scaleX(.82); opacity: .6; }
  50%      { transform: scaleX(1);   opacity: 1;  }
}
@media (prefers-reduced-motion: reduce) {
  .promo-cta::after { animation: none; transform: scaleX(1); opacity: 1; }
}

/* ---------- badges ---------- */
.badge-review {
  position: absolute; top: 10px; right: 10px; left: auto;
  font-size: .68rem; font-weight: 700; padding: 4px 9px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: .03em;
  background: var(--header-bg); color: var(--header-ink);
}

/* ---------- deal page (lightweight, factual-only listing) ---------- */
.deal-facts { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; margin-block: 24px 72px; }
.deal-facts h2 { font-size: 1rem; margin-bottom: 10px; }
.deal-facts-list { margin: 0 0 12px; padding-left: 1.1em; font-size: .92rem; color: var(--ink-soft); display: flex; flex-direction: column; gap: 6px; }
.deal-disclaimer { font-size: .82rem; color: var(--ink-soft); margin: 0; max-width: none; }

/* ---------- pagination ---------- */
.pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 32px; }
.page-link {
  min-width: 36px; height: 36px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--ink);
  text-decoration: none; font-size: .86rem; font-weight: 600;
}
.page-link:hover { border-color: var(--link); color: var(--link); }
.page-link.is-active { background: var(--header-bg); border-color: var(--header-bg); color: var(--header-ink); }
.page-ellipsis { color: var(--ink-soft); padding: 0 2px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* --- nav scroll strip: force one line + transparent arrow buttons --- */
.nav-scroll-wrap { display: flex; align-items: center; justify-content: center; gap: 4px; flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; }
.nav-scroll-wrap nav.main-nav {
  display: flex; flex-wrap: nowrap; gap: 20px; flex: 0 1 auto; min-width: 0;
  max-width: min(560px, 100%);
  overflow-x: auto; scroll-behavior: smooth; white-space: nowrap; scrollbar-width: none;
}
.nav-scroll-wrap nav.main-nav::-webkit-scrollbar { display: none; }
.nav-scroll-wrap nav.main-nav a { flex: none; display: inline-block; }
/* "All" chip at the start of the scrollable category strip, styled like
   the cat-chip pills below the header instead of a plain text link. */
.nav-scroll-wrap nav.main-nav a.nav-all-chip {
  display: inline-flex; align-items: center; flex: none;
  background: var(--tag-bg); color: var(--tag-ink);
  font-size: .85rem; font-weight: 600; opacity: 1;
  border-radius: 999px; padding: 6px 14px; text-decoration: none;
}
.nav-scroll-wrap nav.main-nav a.nav-all-chip:hover { text-decoration: none; background: var(--header-soft); }
.nav-scroll-wrap nav.main-nav a.nav-all-chip.is-active { background: var(--accent); color: var(--accent-ink); }
.nav-scroll-wrap .nav-arrow {
  flex: none; background: transparent !important; border: none !important; box-shadow: none !important;
  color: inherit; padding: 4px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  -webkit-appearance: none; appearance: none;
}
.nav-scroll-wrap .nav-arrow:hover, .nav-scroll-wrap .nav-arrow:focus { background: transparent !important; outline: none; }
@media (max-width: 760px) {
  .nav-scroll-wrap { flex-wrap: wrap; }
  .nav-scroll-wrap .nav-arrow { display: none; }
  .nav-scroll-wrap nav.main-nav { flex-wrap: wrap; overflow-x: visible; white-space: normal; }
}

/* --- header dropdown (About / Contact / Privacy / Disclosure) --- */
.nav-dropdown-item { position: relative; flex: none; display: inline-flex; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: 4px; background: transparent !important;
  border: none !important; box-shadow: none !important; -webkit-appearance: none; appearance: none;
  color: var(--header-ink); font-family: var(--font-body); font-size: .95rem; font-weight: 500;
  opacity: .88; cursor: pointer; padding: 0;
}
.nav-dropdown-toggle:hover, .nav-dropdown-toggle[aria-expanded="true"] { opacity: 1; text-decoration: underline; }
.nav-caret { flex: none; transition: transform .15s; }
.nav-dropdown-toggle[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.nav-dropdown-panel {
  position: fixed; display: none; flex-direction: column; min-width: 200px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  box-shadow: var(--shadow-md); padding: 6px; z-index: 200;
}
.nav-dropdown-panel.is-open { display: flex; }
.nav-dropdown-panel a {
  color: var(--ink) !important; opacity: 1 !important; text-decoration: none !important;
  font-size: .88rem !important; font-weight: 500 !important;
  padding: 9px 12px; border-radius: 7px; white-space: nowrap; display: block;
}
.nav-dropdown-panel a:hover { background: var(--tag-bg); color: var(--link) !important; }
@media (max-width: 760px) {
  .nav-dropdown-item { flex-direction: column; align-items: flex-start; width: 100%; }
  .nav-dropdown-panel { position: static; box-shadow: none; border: none; margin-left: 12px; padding: 0; width: auto; min-width: 0; }
  .nav-dropdown-panel.is-open { display: flex; }
}

/* --- share button, next to every "Read the review / See the deal /
   Check price on Shopee" CTA --- */
.cta-row { display: flex; align-items: stretch; gap: 8px; margin-top: 4px; }
.cta-row .cta-btn { margin-top: 0; flex: 1; }
.cta-row.cta-row-lg { margin-top: 12px; }
.cta-row.cta-row-lg .cta-btn-lg { margin-top: 0; width: auto; }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  flex: none; width: 42px; background: var(--tag-bg); color: var(--link);
  border: 1px solid var(--border); border-radius: 9px; cursor: pointer; padding: 0;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.share-btn:hover, .share-btn:focus-visible { background: var(--link); color: #fff; border-color: var(--link); }
.share-btn:active { transform: scale(.95); }
.share-btn svg { pointer-events: none; }

/* Small on-screen confirmation when a link is copied instead of shared
   (desktop browsers without the native share sheet). */
.share-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(8px);
  background: var(--ink); color: var(--surface); font-size: .85rem; font-weight: 600;
  padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 500;
}
.share-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* --- logo icon alignment fix: keeps the mark and "TipidPresyo" text
   on one line, vertically centered, regardless of icon size --- */
.logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px;
  line-height: 1;
}
.logo img, .logo svg {
  display: block;
  height: 30px;
  width: auto;
  flex: none;
}

/* --- vertical centering reinforcement for everything between the two
   nav arrows (icon, "Home" dropdown, category links) — does NOT change
   what's visible or how scrolling works, only how it's aligned --- */
.header-row,
.nav-scroll-wrap,
nav.main-nav,
.nav-dropdown-item {
  align-items: center !important;
}
.nav-arrow,
nav.main-nav a,
.nav-dropdown-toggle {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1;
}

/* ---------- Tipid Score badge ---------- */
.deal-cat-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tipid-score-badge {
  flex: none; display: inline-flex; align-items: center; gap: 3px;
  background: var(--badge-sale-bg); color: var(--badge-sale-ink);
  font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 999px;
  white-space: nowrap;
}
.tipid-score-badge-lg { font-size: .82rem; padding: 5px 12px; }

/* ---------- Taglish editorial take (grid card) — built from real,
   sourced fields only (see taglishTake() in functions.php), never an
   invented "verified buyer" quote --------- */
.tipid-take { font-size: .82rem; color: var(--ink-soft); margin: 2px 0 0; }

/* ---------- price comparison tag (single review/deal page hero) ---------- */
.price-compare { display: flex; flex-direction: column; gap: 4px; margin-bottom: 4px; }
.price-compare-mall { font-size: .85rem; color: var(--ink-soft); }
.price-compare-tipid { font-size: 1rem; font-weight: 700; color: var(--link); }
.price-compare-tipid .price-now { font-size: 1.4rem; font-weight: 800; color: var(--ink); margin-left: 4px; }

/* ---------- semantic FAQ / shopping guide section ---------- */
.faq-section h2 { font-size: 1.35rem; margin: 0 0 20px; }
.faq-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-item {
  background: var(--surface-alt); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 18px 20px;
}
.faq-item h3 { font-size: .98rem; margin: 0 0 8px; font-family: var(--font-body); font-weight: 700; }
.faq-item p { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.faq-item p a { font-weight: 600; }

/* ---------- homepage section banding (organized, Shopee-style shelves) ---------- */
.section-heading { font-size: 1.35rem; margin: 0 0 4px; }
.section-subhead { color: var(--ink-soft); font-size: .9rem; margin: 0 0 20px; }
.reviews-heading-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 20px; }
.reviews-heading-row .section-heading { margin-bottom: 0; }
.section-subhead-box {
  color: var(--ink-soft); font-size: .85rem;
}
.section-heading-row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 10px 20px; margin-bottom: 18px; }
.section-heading-row .section-heading { margin-bottom: 0; }
.section-heading-row .filter-row { margin-top: 0; }

.category-nav-section,
.reviews-section,
.all-deals-section,
.faq-section {
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px 20px; margin-block: 24px; box-shadow: var(--shadow-sm);
}
.reviews-section { background: var(--surface-alt); }
.reviews-section .deals-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .reviews-section .deals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .reviews-section .deals-grid { grid-template-columns: 1fr; } }

.all-deals-section .deals-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .all-deals-section .deals-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .all-deals-section .deals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .all-deals-section .deals-grid { grid-template-columns: 1fr; } }

/* ---------- trend-category sub-sections, nested inside the "Sinubukan at
   Sinuri Namin" section: one heading + one 5-across row per trend category,
   "Show more" links to that category's full listing ---------- */
.trend-subsection { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.trend-subsection:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.trend-subsection-heading {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 8px 16px; margin-bottom: 14px;
}
.trend-subsection-title { font-size: 1.05rem; margin: 0; }
.reviews-section .deals-grid.trend-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .reviews-section .deals-grid.trend-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .reviews-section .deals-grid.trend-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .reviews-section .deals-grid.trend-row { grid-template-columns: 1fr; } }

.category-nav-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 900px) { .category-nav-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px) { .category-nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.category-nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none; padding: 14px 8px; border-radius: 12px;
  transition: background .15s ease, transform .15s ease;
}
.category-nav-item:hover { background: var(--tag-bg); transform: translateY(-2px); }
.category-nav-icon {
  width: 150px; height: 150px; border-radius: 0; background: var(--surface-alt);
  display: flex; align-items: center; justify-content: center; flex: none;
  overflow: hidden;
}
.category-nav-item:hover .category-nav-icon { background: var(--surface); }
.category-nav-icon img { width: 100%; height: 100%; object-fit: cover; }
.category-nav-label { font-size: .82rem; font-weight: 600; color: var(--ink); text-align: center; line-height: 1.25; }

/* All-deals section reuses .layout/.page-intro spacing internally, so
   strip the extra top padding .layout normally adds on its own. */
.all-deals-section .layout { padding-block: 4px 8px; }

/* ---------- cart-filler / free-shipping hack tracker (sidebar) ---------- */
.filler-intro { font-size: .85rem; color: var(--header-ink); opacity: .9; margin: 0 0 10px; }
.filler-list { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.filler-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.filler-list a { font-size: .85rem; color: var(--header-ink); text-decoration: none; opacity: .95; }
.filler-list a:hover { text-decoration: underline; }
.filler-price { flex: none; font-size: .82rem; font-weight: 700; color: var(--header-soft); }
.filler-note { font-size: .76rem; color: var(--header-soft); margin: 8px 0 0; opacity: .9; }

/* ---------- /analytics dashboard ----------------------------------
   Chart colors follow the dataviz skill's validated categorical
   palette (blue/orange/aqua, slots 1-3) and single-hue sequential
   blue — not the site's own accent colors, since a chart's palette
   is chosen for CVD-safety and magnitude/identity encoding, not brand
   matching. Light values below; dark values mirrored under both the
   OS media query and the manual [data-theme="dark"] toggle. */
.analytics-page {
  --viz-surface: var(--surface);
  --viz-s1: #2a78d6; --viz-s2: #eb6834; --viz-s3: #1baf7a;
  --viz-grid: #e1e0d9; --viz-tick: #898781;
  --viz-muted: #c3c2b7;
  padding-block: 8px 40px;
  max-width: 1080px;
  margin-inline: auto;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .analytics-page {
    --viz-s1: #3987e5; --viz-s2: #d95926; --viz-s3: #199e70;
    --viz-grid: #2c2c2a; --viz-tick: #898781; --viz-muted: #383835;
  }
}
:root[data-theme="dark"] .analytics-page {
  --viz-s1: #3987e5; --viz-s2: #d95926; --viz-s3: #199e70;
  --viz-grid: #2c2c2a; --viz-tick: #898781; --viz-muted: #383835;
}

.analytics-page h1 { margin-bottom: 18px; }
.analytics-section { margin: 28px 0; }
.analytics-section h2 { font-size: 1.05rem; margin-bottom: 12px; }
.analytics-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
@media (max-width: 760px) { .analytics-two-col { grid-template-columns: 1fr; } }

.analytics-notice, .analytics-empty {
  background: var(--surface-alt); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px; font-size: .92rem; color: var(--ink-soft);
}
.analytics-notice p { margin: 0 0 8px; }
.analytics-notice p:last-child { margin-bottom: 0; }
.analytics-notice pre {
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 12px; overflow-x: auto; font-size: .85rem;
}
.analytics-empty { font-size: .88rem; }

.analytics-login {
  max-width: 320px; display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; box-shadow: var(--shadow-sm);
}
.analytics-login label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }
.analytics-login input {
  padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border);
  font-size: .95rem; font-family: var(--font-body); background: var(--surface);
  color: var(--ink);
}
.analytics-error { color: #c0392b; font-size: .85rem; margin: 0; }

.analytics-toolbar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 10px 16px; margin-bottom: 20px;
}
.analytics-range-switch { display: flex; gap: 4px; background: var(--surface-alt); border-radius: 10px; padding: 4px; }
.analytics-range-switch a {
  padding: 6px 12px; border-radius: 7px; font-size: .85rem; font-weight: 600;
  color: var(--ink-soft); text-decoration: none;
}
.analytics-range-switch a.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.analytics-logout { font-size: .85rem; color: var(--ink-soft); }

.analytics-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .analytics-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.analytics-stat-tile {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--shadow-sm);
}
.analytics-stat-label { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.analytics-stat-value { font-size: 1.9rem; font-weight: 700; font-variant-numeric: proportional-nums; line-height: 1.1; }
.analytics-stat-value-sm { font-size: 1.2rem; }
.analytics-delta { font-size: .8rem; color: var(--ink-soft); }
.analytics-delta-up { color: #1a7f37; }
.analytics-delta-down { color: #c0392b; }
.analytics-delta-new { color: var(--ink-soft); font-style: italic; }

.analytics-chart-scroll { overflow-x: auto; margin: 0 -2px; padding: 0 2px; }
.analytics-chart { display: block; max-width: none; }
.analytics-chart .viz-grid { stroke: var(--viz-grid); stroke-width: 1; }
.analytics-chart .viz-tick { fill: var(--viz-tick); font-size: 9px; font-family: var(--font-body); }
.analytics-chart .viz-direct-label { fill: var(--ink); font-size: 10px; font-weight: 700; font-family: var(--font-body); }
.analytics-chart .viz-s1 { fill: var(--viz-s1); }
.analytics-chart .viz-s2 { fill: var(--viz-s2); }
.analytics-chart .viz-s1-flat, .analytics-chart .viz-s2-flat { fill: var(--viz-muted); }

.analytics-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: .82rem; color: var(--ink-soft); }
.analytics-legend-top { margin-top: 0; margin-bottom: 4px; }
.analytics-legend-item { display: inline-flex; align-items: center; gap: 6px; }
.analytics-legend-swatch { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.analytics-legend-swatch.viz-s1 { background: var(--viz-s1); }
.analytics-legend-swatch.viz-s2 { background: var(--viz-s2); }
.analytics-legend-swatch.viz-s3 { background: var(--viz-s3); }
.analytics-legend-swatch.viz-muted { background: var(--viz-muted); }

.analytics-table-toggle { margin-top: 10px; }
.analytics-table-toggle summary { cursor: pointer; font-size: .85rem; color: var(--link); }

.analytics-table-scroll { overflow-x: auto; }
.analytics-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin-top: 10px; }
.analytics-table th, .analytics-table td {
  text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--border);
}
.analytics-table th { font-size: .76rem; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-soft); font-weight: 700; }
.analytics-table td { font-variant-numeric: tabular-nums; }
.analytics-table-products td:nth-child(1) { font-variant-numeric: tabular-nums; color: var(--ink-soft); }

.analytics-barlist { display: flex; flex-direction: column; gap: 10px; }
.analytics-barlist-row { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 10px; }
.analytics-barlist-label { font-size: .85rem; color: var(--ink); }
.analytics-barlist-track { background: var(--surface-alt); border-radius: 6px; height: 10px; overflow: hidden; }
.analytics-barlist-fill { display: block; height: 100%; background: var(--viz-s1); border-radius: 6px; }
.analytics-barlist-value { font-size: .85rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.analytics-barlist-share { color: var(--ink-soft); }

.analytics-stackbar {
  display: flex; width: 100%; height: 28px; border-radius: 8px; overflow: hidden;
  background: var(--surface-alt);
}
.analytics-stackbar-seg {
  display: flex; align-items: center; justify-content: center;
  font-size: .74rem; font-weight: 700; color: #fff; min-width: 2px;
}
.analytics-stackbar-seg.viz-s1 { background: var(--viz-s1); }
.analytics-stackbar-seg.viz-s2 { background: var(--viz-s2); }
.analytics-stackbar-seg.viz-s3 { background: var(--viz-s3); }
.analytics-stackbar-seg.viz-muted { background: var(--viz-muted); }

.analytics-footnote { font-size: .8rem; color: var(--ink-soft); margin-top: 24px; }
.analytics-footnote-tight { margin-top: 10px; }
