/* ─────────────── Design tokens (mirror of styles.css) ─────────────── */
:root {
  --radius: 0.875rem;

  --background: #f2f2f6;
  --foreground: #303233;

  --surface: #ffffff;
  --text: #303233;
  --text-secondary: #484848;
  --text-hint: #727272;
  --text-surface: #ffffff;

  --card: #ffffff;
  --card-foreground: #303233;

  --primary: #fa8c16;
  --primary-foreground: #ffffff;
  --primary-light: #fdd1a2;
  --primary-container: #fef3e7;

  --secondary: #13c2c2;
  --secondary-foreground: #ffffff;
  --secondary-container: #e7f8f8;

  --muted: #f0f0f0;
  --muted-foreground: #727272;

  --accent: #f05b27;
  --accent-foreground: #ffffff;
  --accent-dark: #c84316;

  --border: #d8d8d8;
  --border-light: #f0f0f0;

  --ocean: var(--secondary);

  --font-display: "Raleway", system-ui, sans-serif;
  --font-body: "Raleway", system-ui, sans-serif;

  --shadow-soft: 0 2px 10px rgba(48, 50, 51, 0.07);
  --shadow-elevated: 0 6px 24px rgba(48, 50, 51, 0.10), 0 2px 6px rgba(48, 50, 51, 0.05);

  --gradient-hero: radial-gradient(ellipse at top, rgba(254, 243, 231, 0.9), transparent 60%),
                   linear-gradient(180deg, #ffffff, #f2f2f6);
  --gradient-sunset: linear-gradient(135deg, #fa8c16, #f05b27);
  --gradient-ocean: linear-gradient(135deg, #13c2c2, #0e9a9a);
}

/* ─────────────── Reset ─────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--background);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}
p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; }

/* ─────────────── Utilities ─────────────── */
.container { max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }
.container-5 { max-width: 64rem; margin-inline: auto; padding-inline: 1.25rem; }
.container-4 { max-width: 56rem; margin-inline: auto; padding-inline: 1.25rem; }
.container-3 { max-width: 48rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 640px) {
  .container, .container-5, .container-4, .container-3 { padding-inline: 2rem; }
}

.text-balance { text-wrap: balance; }
.text-pretty  { text-wrap: pretty; }
.italic       { font-style: italic; }
.text-ocean   { color: var(--ocean); }
.text-primary { color: var(--primary); }
.font-medium  { font-weight: 500; }
.font-semibold{ font-weight: 600; }
.font-bold    { font-weight: 700; }
.uppercase    { text-transform: uppercase; }
.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; }

/* ─────────────── Download buttons ─────────────── */
.download-buttons {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .download-buttons { flex-direction: row; }
}
.dl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--foreground);
  color: var(--text-surface);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  font-family: var(--font-body);
}
.dl-btn:hover { box-shadow: var(--shadow-elevated); transform: translateY(-2px); }
.dl-btn:active { transform: scale(0.97); }
.dl-btn--lg {
  height: 3.5rem;
  padding-inline: 1.25rem;
  gap: 0.75rem;
  font-size: 1rem;
  border-radius: 1rem;
}
.dl-btn--lg .dl-ico { height: 1.75rem; width: 1.75rem; }
.dl-btn-text { display: flex; flex-direction: column; align-items: flex-start; }
.dl-btn-top { font-size: 0.625rem; opacity: 0.8; font-weight: 400; }
.dl-btn-bottom { font-size: 1.125rem; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }

/* ─────────────── Eyebrow pills ─────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.eyebrow-dot { height: 0.375rem; width: 0.375rem; border-radius: 9999px; }
.eyebrow-primary { background: var(--primary-container); border: 1px solid rgba(253,209,162,0.6); color: var(--accent-dark); }
.eyebrow-primary .eyebrow-dot { background: var(--primary); }
.eyebrow-secondary { background: var(--secondary-container); border: 1px solid rgba(19,194,194,0.2); color: var(--secondary); }
.eyebrow-secondary .eyebrow-dot { background: var(--secondary); }
.eyebrow-white { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); color: var(--primary-light); }
.eyebrow-white .eyebrow-dot { background: var(--primary); }

/* ─────────────── Hero ─────────────── */
.hero {
  position: relative;
  background: var(--gradient-hero);
  padding: 3rem 0 3rem;
}
@media (min-width: 640px) {
  .hero { padding: 6rem 0 6rem; }
}
.hero-bg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 520px;
  z-index: 0;
  opacity: 0.4;
  pointer-events: none;
  background-image: url("../img/coastal-bg.jpg");
  background-size: cover;
  background-position: center;
  -webkit-mask-image: linear-gradient(180deg, black, transparent 90%);
  mask-image: linear-gradient(180deg, black, transparent 90%);
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 3.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; }
}
.hero-left { text-align: center; }
@media (min-width: 1024px) { .hero-left { text-align: left; } }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background-color: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-badge svg { color: var(--accent); height: 0.875rem; width: 0.875rem; }
.hero-title {
  margin-top: 1.25rem;
  font-size: 2.5rem;
  line-height: 1.02;
  font-weight: 500;
}
@media (min-width: 640px)  { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4.25rem; } }
.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin-inline: auto;
}
@media (min-width: 640px)  { .hero-sub { font-size: 1.25rem; } }
@media (min-width: 1024px) { .hero-sub { max-width: 32rem; margin-inline: 0; } }
.hero-cta {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 1024px) { .hero-cta { align-items: flex-start; } }
.note {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.platform-message {
  font-size: 0.95rem;
  color: var(--text-hint);
  margin-bottom: 0.75rem;
}

.desktop-info {
  margin-top: 1rem;
  background: var(--primary-container);
  border: 1px solid var(--primary-light);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
}

.desktop-info h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.desktop-info p {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.45;
}

.qr-code-container {
  width: 200px;
  height: 200px;
  margin: 0.5rem auto 0.25rem;
  background: var(--surface);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid var(--border-light);
}

#qrcode {
  display: flex;
  align-items: center;
  justify-content: center;
}

#qrcode img {
  border-radius: 0.25rem;
}

.hero-right { position: relative; display: flex; justify-content: center; }
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  filter: blur(64px);
  opacity: 0.6;
  background: radial-gradient(40% 50% at 50% 50%, rgba(250,140,22,0.45), transparent 70%);
}
.hero-mockup {
  width: 280px;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(20,40,80,0.25));
  animation: float 6s ease-in-out infinite;
}
@media (min-width: 640px)  { .hero-mockup { width: 340px; } }
@media (min-width: 1024px) { .hero-mockup { width: 400px; } }

/* ─────────────── Preview List section ─────────────── */
.preview {
  position: relative;
  padding: 3rem 0;
  background-color: var(--surface);
  overflow: hidden;
}
@media (min-width: 640px) { .preview { padding: 4rem 0; } }
.preview-blob {
  position: absolute;
  top: 5rem; right: 0;
  height: 18rem; width: 18rem;
  border-radius: 9999px;
  opacity: 0.3;
  filter: blur(64px);
  background: radial-gradient(circle, var(--primary-container), transparent 70%);
  pointer-events: none;
}
.section-head { max-width: 42rem; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .section-head { margin-bottom: 3rem; } }
.section-title {
  margin-top: 1.25rem;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.05;
}
@media (min-width: 640px)  { .section-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .section-title { font-size: 3rem; } }
.section-sub {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 36rem;
}
@media (min-width: 640px) { .section-sub { font-size: 1.125rem; } }

.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.filters-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  color: var(--text-hint);
  margin-right: 0.25rem;
}
.filter-btn {
  position: relative;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.filter-btn:hover { background-color: var(--border-light); }
.filter-btn.is-active {
  color: #fff;
  background: var(--gradient-sunset);
  box-shadow: var(--shadow-soft);
}

.list {
  border-radius: 1.75rem;
  border: 1px solid var(--border-light);
  background-color: rgba(242,242,246,0.5);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background-color: var(--surface);
  transition: background-color 0.2s ease, opacity 0.25s ease, transform 0.25s ease;
  border-top: 1px solid var(--border-light);
}
.list-item:first-child { border-top: 0; }
.list-item:hover { background-color: rgba(254,243,231,0.4); }
@media (min-width: 640px) { .list-item { gap: 1rem; padding: 1rem 1.25rem; } }
.list-item.hidden { display: none; }

.list-logo {
  flex-shrink: 0;
  height: 2.75rem; width: 2.75rem;
  border-radius: 1rem;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 640px) { .list-logo { height: 3rem; width: 3rem; } }
.list-logo svg { height: 1.25rem; width: 1.25rem; stroke-width: 2.2; }
.logo-primary   { background: var(--primary-container); color: var(--primary); }
.logo-accent    { background: var(--primary-container); color: var(--accent); }
.logo-secondary { background: var(--secondary-container); color: var(--secondary); }
.logo-muted     { background: var(--muted); color: var(--text-secondary); }

.list-info { flex: 1; min-width: 0; }
.list-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (min-width: 640px) { .list-name { font-size: 1rem; } }
.list-meta {
  margin-top: 0.125rem;
  display: flex; align-items: center; gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--text-hint);
}
.list-sep { color: rgba(114,114,114,0.4); }
.list-status { display: inline-flex; align-items: center; gap: 0.25rem; font-weight: 500; }
.list-status.open { color: var(--secondary); }
.list-status-dot { height: 0.375rem; width: 0.375rem; border-radius: 9999px; background-color: rgba(114,114,114,0.5); }
.list-status.open .list-status-dot { background-color: var(--secondary); animation: pulse 2s ease-in-out infinite; }

.list-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.125rem;
}

.list-flags .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.10rem;
  padding: 0.1125rem 0.35rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1;
  background-color: var(--muted);
  color: var(--text-secondary);
  border: 1px solid var(--border-light, #e5e5e5);
}
.list-flags .badge svg {
  width: 0.875rem;
  height: 0.875rem;
}
.list-flags .badge-verified {
  background-color: #e7f8f8;
  color: #0f9c9c;
  border-color: #b7e8e8;
}
.list-flags .badge-open {
  background-color: #e6f7ec;
  color: #1a7f3e;
  border-color: #bfe8ca;
}
.list-flags .badge-closed {
  background-color: #fdecec;
  color: #b42318;
  border-color: #f1c7c4;
}
.list-flags .badge-reduced {
  background-color: #fff7e6;
  color: #b26a00;
  border-color: #ffe3b0;
}
.list-flags .status-dot {
  flex-shrink: 0;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background-color: currentColor;
}

.wa-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border-radius: 9999px;
  background-color: #25D366;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}
.wa-btn:hover { filter: brightness(1.05); box-shadow: var(--shadow-elevated); }
.wa-btn svg { height: 1rem; width: 1rem; stroke-width: 2.4; }
.wa-label { display: none; }
@media (min-width: 640px) {
  .wa-btn { padding: 0 1rem; font-size: 0.875rem; }
  .wa-label { display: inline; }
}

.notice {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  background: var(--gradient-sunset);
  color: #fff;
  padding: 1.5rem;
  box-shadow: var(--shadow-elevated);
  margin-top: 2rem;
}
@media (min-width: 640px) { .notice { padding: 2rem; } }
.notice-blob {
  position: absolute;
  top: -3rem; right: -3rem;
  height: 12rem; width: 12rem;
  border-radius: 9999px;
  background-color: rgba(255,255,255,0.15);
  filter: blur(32px);
  pointer-events: none;
}
.notice-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}
@media (min-width: 640px) { .notice-inner { flex-direction: row; align-items: center; gap: 1.5rem; } }
.notice-icon {
  flex-shrink: 0;
  height: 3rem; width: 3rem;
  border-radius: 1rem;
  background-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
}
.notice-icon svg { height: 1.25rem; width: 1.25rem; stroke-width: 2.4; }
.notice-body { flex: 1; }
.notice-title { font-size: 1rem; font-weight: 700; line-height: 1.15; }
@media (min-width: 640px) { .notice-title { font-size: 1.125rem; } }
.notice-sub {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  opacity: 0.9;
  max-width: 36rem;
}
@media (min-width: 640px) { .notice-sub { font-size: 1rem; } }
.notice-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  background-color: #fff;
  color: var(--accent-dark);
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.notice-cta:hover { box-shadow: var(--shadow-elevated); transform: translateY(-2px); }
.notice-cta svg { height: 1rem; width: 1rem; }

/* ─────────────── Benefits (bento grid) ─────────────── */
.benefits {
  position: relative;
  padding: 3rem 0;
  background-color: var(--surface);
  overflow: hidden;
}
@media (min-width: 640px) { .benefits { padding: 4rem 0; } }
.benefits-blob-tl {
  position: absolute;
  top: -8rem; left: -6rem;
  height: 18rem; width: 18rem;
  border-radius: 9999px;
  opacity: 0.4;
  filter: blur(64px);
  background: radial-gradient(circle, var(--primary-container), transparent 70%);
  pointer-events: none;
}
.benefits-blob-br {
  position: absolute;
  bottom: 0; right: -6rem;
  height: 18rem; width: 18rem;
  border-radius: 9999px;
  opacity: 0.4;
  filter: blur(64px);
  background: radial-gradient(circle, var(--secondary-container), transparent 70%);
  pointer-events: none;
}
.benefits-head { max-width: 48rem; margin-bottom: 3.5rem; }
@media (min-width: 640px) { .benefits-head { margin-bottom: 5rem; } }
.benefits-title {
  margin-top: 1.25rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.05;
}
@media (min-width: 640px)  { .benefits-title { font-size: 3rem; } }
@media (min-width: 1024px) { .benefits-title { font-size: 3.75rem; } }
.benefits-sub {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 36rem;
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 180px;
  gap: 1rem;
}
@media (min-width: 640px) { .bento { grid-auto-rows: 200px; gap: 1.25rem; } }

.bento-item {
  position: relative;
  border-radius: 1.75rem;
  padding: 1.5rem;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
}
.bento-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-elevated); }

.bento-featured {
  grid-column: span 6;
  grid-row: span 2;
  padding: 2rem;
  background: var(--gradient-sunset);
  color: #fff;
  box-shadow: var(--shadow-elevated);
}
@media (min-width: 640px) { .bento-featured { padding: 2.5rem; } }
@media (min-width: 1024px) { .bento-featured { grid-column: span 4; } }
.bento-featured-blob {
  position: absolute;
  top: -2.5rem; right: -2.5rem;
  height: 12rem; width: 12rem;
  border-radius: 9999px;
  background-color: rgba(255,255,255,0.15);
  filter: blur(32px);
}
.bento-featured-head { display: flex; align-items: center; gap: 0.75rem; position: relative; }
.bento-featured-icon {
  height: 3rem; width: 3rem;
  border-radius: 1rem;
  background-color: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
}
.bento-featured-icon svg { height: 1.25rem; width: 1.25rem; stroke-width: 2.4; }
.bento-featured-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.8;
  font-weight: 600;
}
.bento-featured-big {
  position: relative;
  margin-top: auto;
  padding-top: 3rem;
}
.bento-featured-number {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}
@media (min-width: 640px) { .bento-featured-number { font-size: 3.75rem; } }
.bento-featured-caption {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  font-weight: 500;
  opacity: 0.95;
  max-width: 24rem;
}
@media (min-width: 640px) { .bento-featured-caption { font-size: 1.25rem; } }

.bento-stat-ocean {
  grid-column: span 3;
  background: var(--secondary);
  color: var(--secondary-foreground);
}
@media (min-width: 1024px) { .bento-stat-ocean { grid-column: span 2; } }
.bento-stat-ocean svg { height: 1.5rem; width: 1.5rem; stroke-width: 2.2; }
.bento-stat-number { font-size: 2.25rem; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
@media (min-width: 640px) { .bento-stat-number { font-size: 3rem; } }
.bento-stat-caption { margin-top: 0.5rem; font-size: 0.875rem; font-weight: 500; opacity: 0.9; }

.bento-stat-surface {
  grid-column: span 3;
  background-color: var(--surface);
  border: 1px solid var(--border-light);
  color: var(--text);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
@media (min-width: 1024px) { .bento-stat-surface { grid-column: span 2; } }
.bento-stat-surface .icon-pill {
  height: 2.75rem; width: 2.75rem;
  border-radius: 1rem;
  background-color: var(--primary-container);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.bento-stat-surface:hover .icon-pill { background-color: var(--primary); color: #fff; }
.bento-stat-surface .icon-pill svg { height: 1.25rem; width: 1.25rem; stroke-width: 2.2; }
.bento-stat-surface .bento-stat-caption { color: var(--text-hint); }

.bento-small {
  grid-column: span 3;
  background-color: var(--surface);
  border: 1px solid var(--border-light);
}
@media (min-width: 1024px) { .bento-small { grid-column: span 2; } }
.bento-small .icon-pill {
  height: 2.75rem; width: 2.75rem;
  border-radius: 1rem;
  background-color: var(--primary-container);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.bento-small:hover .icon-pill { background-color: var(--primary); color: #fff; }
.bento-small .icon-pill svg { height: 1.25rem; width: 1.25rem; stroke-width: 2.2; }
.bento-small-title { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.02em; }
.bento-small-text { margin-top: 0.25rem; font-size: 0.875rem; color: var(--text-hint); line-height: 1.6; }

.bento-dark {
  grid-column: span 6;
  background-color: var(--text);
  color: var(--text-surface);
}
@media (min-width: 1024px) { .bento-dark { grid-column: span 2; } }
.bento-dark svg { height: 1.5rem; width: 1.5rem; color: var(--primary-light); }
.bento-dark-title { font-size: 1.25rem; font-weight: 700; line-height: 1.15; }
.bento-dark-text { margin-top: 0.5rem; font-size: 0.875rem; opacity: 0.7; }

/* ─────────────── Differentiator ─────────────── */
.differentiator {
  position: relative;
  padding: 3rem 0;
  background-color: var(--text);
  color: var(--text-surface);
  overflow: hidden;
}
@media (min-width: 640px) { .differentiator { padding: 4rem 0; } }
.differentiator-blob {
  position: absolute;
  top: -10rem;
  left: 50%;
  transform: translateX(-50%);
  height: 24rem; width: 80%;
  border-radius: 9999px;
  opacity: 0.2;
  filter: blur(64px);
  background: var(--gradient-sunset);
  pointer-events: none;
}
.diff-head { max-width: 42rem; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .diff-head { margin-bottom: 3.5rem; } }
.diff-title {
  margin-top: 1.25rem;
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.1;
}
@media (min-width: 640px)  { .diff-title { font-size: 2.25rem; } }
@media (min-width: 1024px) { .diff-title { font-size: 3rem; } }
.diff-strike {
  font-style: italic;
  font-weight: 500;
  opacity: 0.6;
  text-decoration: line-through;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
}
.diff-sub {
  margin-top: 1rem;
  font-size: 1rem;
  opacity: 0.75;
  max-width: 32rem;
}
@media (min-width: 640px) { .diff-sub { font-size: 1.125rem; } }

.diff-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .diff-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
.diff-card {
  padding: 1.5rem;
  border-radius: 1.75rem;
}
@media (min-width: 640px) { .diff-card { padding: 1.75rem; } }
.diff-card-before {
  background-color: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}
.diff-card-after {
  position: relative;
  overflow: hidden;
  background: var(--gradient-sunset);
}
.diff-card-after-blob {
  position: absolute;
  top: -2.5rem; right: -2.5rem;
  height: 10rem; width: 10rem;
  border-radius: 9999px;
  background-color: rgba(255,255,255,0.15);
  filter: blur(32px);
}
.diff-card-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  opacity: 0.5;
  margin-bottom: 1rem;
}
.diff-card-after .diff-card-tag { opacity: 0.9; position: relative; }
.diff-list { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; opacity: 0.8; }
@media (min-width: 640px) { .diff-list { font-size: 1rem; } }
.diff-card-after .diff-list { opacity: 1; font-weight: 500; position: relative; }
.diff-list li { display: flex; gap: 0.75rem; }
.diff-list .mark { opacity: 0.4; }
.diff-card-after .mark { opacity: 0.9; }

/* ─────────────── Social proof ─────────────── */
.social-proof { padding: 5rem 0; background-color: rgba(231,248,248,0.4); }
@media (min-width: 640px) { .social-proof { padding: 6rem 0; } }
.social-proof-inner { text-align: center; }
.social-proof-icon { height: 1.5rem; width: 1.5rem; margin: 0 auto; color: var(--ocean); }
.social-proof-quote {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  color: var(--foreground);
  font-family: var(--font-display);
  font-style: italic;
  max-width: 42rem;
  margin-inline: auto;
}
@media (min-width: 640px) { .social-proof-quote { font-size: 1.5rem; } }
.social-proof-meta { margin-top: 1rem; font-size: 0.875rem; color: var(--muted-foreground); }

/* ─────────────── Final CTA ─────────────── */
.final-cta { padding: 3rem 0; background: var(--gradient-hero); }
@media (min-width: 640px) { .final-cta { padding: 4rem 0; } }
.final-cta-inner { text-align: center; }
.final-cta-title { font-size: 2.25rem; font-weight: 700; line-height: 1.05; }
@media (min-width: 640px) { .final-cta-title { font-size: 3.75rem; } }
.final-cta-sub { margin-top: 1.5rem; font-size: 1.125rem; color: var(--muted-foreground); max-width: 36rem; margin-inline: auto; }
.final-cta-actions { margin-top: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; }

/* ─────────────── Footer ─────────────── */
.footer { padding: 2.5rem 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 1rem; font-size: 0.875rem; color: var(--muted-foreground);
}
/*@media (min-width: 640px) { .footer-inner { flex-direction: row; } }*/
.footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-brand svg { height: 1rem; width: 1rem; color: var(--ocean); }
.footer-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--foreground); }

.hidden { display: none !important; }

/* ─────────────── Animations ─────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-badge-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-mockup-in {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.anim-badge { animation: hero-badge-up 0.6s both; }
.anim-h1    { animation: hero-fade-up 0.7s 0.1s both; }
.anim-p     { animation: hero-fade-up 0.7s 0.2s both; }
.anim-cta   { animation: hero-fade-up 0.7s 0.3s both; }
.hero-right { animation: hero-mockup-in 0.9s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both; }

/* Scroll reveal (mimics <Reveal>) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ─────────────── home-v2 page-header + hero overrides (from home-v2.html inline <style>) ─────────────── */
.home-v2-page .page-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(216, 216, 216, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.home-v2-page .page-header-inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.home-v2-page .page-brand {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--foreground);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.home-v2-page .page-brand img { max-height: 2rem; width: auto; }
.home-v2-page .page-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1.125rem;
  border-radius: 9999px;
  background: var(--gradient-sunset);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.home-v2-page .page-header-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-elevated); }

.home-v2-page .hero { padding-top: 3rem; }
.home-v2-page .hero-grid { grid-template-columns: 1fr; gap: 0; justify-items: start; }
.home-v2-page .hero-left { width: 100%; text-align: left; }
.home-v2-page .hero-sub { margin-inline: 0; margin-top: 1rem; }
.home-v2-page .hero-title { margin-top: 1rem; }
.home-v2-page .hero-cta { align-items: flex-start; }
.home-v2-page .hero-metrics {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 34rem;
}
.home-v2-page .hero-metric {
  padding: 1.25rem 1.375rem;
  border: 1px solid rgba(216, 216, 216, 0.9);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.home-v2-page .hero-metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  margin-bottom: 0.875rem;
  background: var(--primary-container);
  color: var(--primary);
}
.home-v2-page .hero-metric-icon svg { width: 1rem; height: 1rem; }
.home-v2-page .hero-metric-value {
  font-family: var(--font-display);
  font-size: 1.625rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--foreground);
}
.home-v2-page .hero-metric-text {
  margin-top: 0.35rem;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--text-secondary);
}

/* ─────────────── Shell utilities for interior pages (single/page/404) ─────────────── */
.public-page-shell { padding: 4rem 0 5rem; background: var(--gradient-hero); min-height: 60vh; }
@media (min-width: 640px) { .public-page-shell { padding: 6rem 0 7rem; } }
.public-page-card {
  max-width: 48rem;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: 1.75rem;
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 640px) { .public-page-card { padding: 2.5rem; } }
.public-page-card h1, .public-page-card h2 { font-family: var(--font-display); letter-spacing: -0.02em; }
.public-page-card h1 { font-size: 2rem; margin-bottom: 1rem; }
.public-page-card p { margin-top: 1rem; font-size: 1rem; color: var(--text-secondary); line-height: 1.6; }
.public-page-card a { color: var(--primary); }
.public-page-card a:hover { text-decoration: underline; }

.post-share-wrap {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}
.post-share-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 600;
}
.post-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.25rem;
  padding: 0.5rem 0.85rem;
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 700;
  border: 1px solid transparent;
}
.post-share-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.post-share-whatsapp {
  background: #e7f8ed;
  border-color: #bde6c8;
  color: #1a7f3e;
}
.post-share-whatsapp svg {
  flex-shrink: 0;
}

.taxonomy-browser {
  position: relative;
}
.taxonomy-browser .container {
  display: grid;
  gap: 1.5rem;
}
.taxonomy-browser-hero {
  max-width: none;
  display: grid;
  gap: 0.875rem;
  padding: 1.75rem;
}
.taxonomy-browser-hero .section-title,
.taxonomy-browser-head .section-title {
  margin: 0;
}
.taxonomy-browser-hero .section-sub,
.taxonomy-browser-head .section-sub {
  margin: 0;
}
.taxonomy-browser-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.taxonomy-browser-chip {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-weight: 600;
}
.taxonomy-browser-section {
  display: grid;
  gap: 1.25rem;
}
.taxonomy-browser-grid {
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 1rem;
}
.taxonomy-browser-card {
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(216, 216, 216, 0.7);
  box-shadow: var(--shadow-soft);
}
.taxonomy-browser-card .widget-category-icon {
  width: 64px;
  height: 64px;
}
.taxonomy-browser-card .widget-category-name {
  max-width: none;
  font-size: 0.8125rem;
}
.taxonomy-browser-listings {
  gap: 0.875rem;
}
.taxonomy-browser-listing-card {
  justify-content: space-between;
}
.taxonomy-browser-listing-cta {
  flex-shrink: 0;
  align-self: center;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 700;
}
.taxonomy-browser-pagination {
  margin-top: 0.5rem;
}
.taxonomy-browser-pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.taxonomy-browser-pagination a,
.taxonomy-browser-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 0.875rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(216, 216, 216, 0.8);
  color: var(--foreground);
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}
.taxonomy-browser-pagination .current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.taxonomy-browser-empty {
  text-align: center;
}
@media (max-width: 767px) {
  .taxonomy-browser-hero {
    padding: 1.5rem 1.25rem;
  }
  .taxonomy-browser-listing-card {
    align-items: flex-start;
  }
  .taxonomy-browser-listing-cta {
    align-self: flex-end;
  }
}

@media (max-width: 639px) {
  .home-v2-page .hero { padding-top: 2rem; padding-bottom: 3rem; }
  .home-v2-page .page-header-inner { min-height: 4rem; }
  .home-v2-page .page-brand { font-size: 1rem; }
  .home-v2-page .page-header-cta { padding-inline: 0.95rem; font-size: 0.8125rem; }
  .home-v2-page .hero-left { text-align: center; }
  .home-v2-page .hero-sub { margin-inline: auto; margin-top: 0.875rem; font-size: 1rem; }
  .home-v2-page .hero-cta { align-items: center; }
  .home-v2-page .hero-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: auto; margin-top: 1.5rem; gap: 0.625rem; max-width: 100%; }
  .home-v2-page .hero-metric { text-align: left; padding: 0.875rem 0.75rem; border-radius: 1.125rem; }
  .home-v2-page .hero-metric-icon { width: 1.875rem; height: 1.875rem; margin-bottom: 0.5rem; }
  .home-v2-page .hero-metric-icon svg { width: 0.875rem; height: 0.875rem; }
  .home-v2-page .hero-metric-value { font-size: 1.25rem; }
  .home-v2-page .hero-metric-text { margin-top: 0.2rem; font-size: 0.75rem; line-height: 1.25; }
}

/* ═══════════════════════════════════════════════════════════════════
   Preview list — thumb com foto + rating + filtros em carrossel mobile
   ═══════════════════════════════════════════════════════════════════ */

.list-thumb {
  flex-shrink: 0;
  height: 2.75rem;
  width: 2.75rem;
  border-radius: 1rem;
  overflow: hidden;
  background-color: var(--muted);
}
.list-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (min-width: 640px) {
  .list-thumb { height: 3rem; width: 3rem; }
}

.list-cats {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 60vw;
}
@media (min-width: 640px) {
  .list-cats { max-width: 28rem; }
}

.list-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-secondary);
  font-weight: 500;
}
.list-rating svg {
  width: 0.875rem;
  height: 0.875rem;
  color: #f5a623;
}
.list-rating-avg { color: var(--text); font-weight: 600; }
.list-rating-count { color: var(--text-hint); }

.filters-scroll {
  flex-wrap: nowrap;
  align-items: center;
  overflow: hidden;
}
.filters-scroll .filters-label { flex-shrink: 0; }
.filters-track {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
  margin-right: -1rem;
  padding-right: 1rem;
}
.filters-track::-webkit-scrollbar { display: none; }
.filters-track .filter-btn {
  flex-shrink: 0;
  scroll-snap-align: start;
  white-space: nowrap;
}
@media (min-width: 768px) {
  .filters-scroll { flex-wrap: wrap; overflow: visible; }
  .filters-track { flex-wrap: wrap; overflow-x: visible; margin-right: 0; padding-right: 0; }
}

/* ═══════════════════════════════════════════════════════════════════
   Footer expandido (com bloco "Sobre" + download + modal)
   ═══════════════════════════════════════════════════════════════════ */
.public-footer {
  background-color: var(--surface-alt, #f7f7fa);
  border-top: 1px solid var(--border-light);
  padding: 3rem 0 2rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}
.public-footer .container { padding: 0 1rem; }
@media (min-width: 640px) { .public-footer .container { padding: 0 1.5rem; } }

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) {
  .footer-content { grid-template-columns: 2fr 1fr; gap: 3rem; }
}
.footer-section h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 0.75rem;
}
.footer-section-about p { line-height: 1.65; max-width: 42rem; }
.footer-section-about strong { color: var(--text); font-weight: 600; }

.app-buttons { display: flex; flex-direction: column; gap: 0.75rem; }
.app-store-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background-color: #111;
  color: #fff;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.2s ease;
}
.app-store-button:hover { filter: brightness(1.1); transform: translateY(-1px); }
.app-store-button svg { width: 1.5rem; height: 1.5rem; flex-shrink: 0; }
.app-store-button small { display: block; font-size: 0.625rem; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.08em; }
.app-store-button strong { display: block; font-size: 0.9375rem; font-weight: 600; }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
}
.footer-bottom p { margin: 0.25rem 0; font-size: 0.8125rem; }
.footer-bottom-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.footer-bottom-brand svg { width: 1.125rem; height: 1.125rem; }
.limited-notice { color: var(--text-hint); font-size: 0.75rem; font-style: italic; }

.modal {
  position: fixed; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  padding: 1rem;
}
.modal-overlay {
  position: absolute; inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.modal-content {
  position: relative;
  background-color: #fff;
  border-radius: 1.5rem;
  max-width: 28rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-elevated);
}
.modal-close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 2.25rem; height: 2.25rem;
  border-radius: 9999px;
  background-color: var(--muted);
  color: var(--text-secondary);
  font-size: 1.5rem; line-height: 1;
  border: 0; cursor: pointer;
  transition: background-color 0.2s ease;
}
.modal-close:hover { background-color: var(--border-light); }
.modal-body { padding: 2rem 1.5rem; text-align: center; }
.modal-body > svg { color: var(--primary); margin-bottom: 1rem; }
.modal-body h2 { margin: 0 0 0.5rem; font-size: 1.5rem; font-weight: 700; color: var(--text); }
.modal-body > p { margin: 0 0 1.5rem; color: var(--text-secondary); line-height: 1.5; }
.features-list {
  display: flex; flex-direction: column; gap: 0.625rem;
  text-align: left; margin: 0 0 1.5rem;
}
.feature-item {
  display: flex; align-items: center; gap: 0.625rem;
  font-size: 0.875rem; color: var(--text);
}
.feature-item svg { width: 1.25rem; height: 1.25rem; color: var(--secondary, #10b981); flex-shrink: 0; }
.modal-buttons { display: flex; flex-direction: column; gap: 0.625rem; }
.button-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 1.25rem;
  border-radius: 9999px;
  background: var(--gradient-sunset);
  color: #fff; font-weight: 600; text-decoration: none;
  box-shadow: var(--shadow-soft);
  transition: filter 0.2s ease;
}
.button-primary:hover { filter: brightness(1.05); }
.button-secondary {
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  background-color: transparent;
  color: var(--text-secondary);
  font-weight: 500; border: 0; cursor: pointer;
  transition: color 0.2s ease;
}
.button-secondary:hover { color: var(--text); }

/* ─────────────── Single Listing (single-listar.php) ─────────────── */
.single-listing .hero { position: relative; }
.single-listing .hero-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .single-listing .hero-grid { grid-template-columns: 1.1fr 1fr; }
}

.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem;
  font-size: 0.8125rem; color: var(--text-hint);
  margin-bottom: 1rem;
}
.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--text-hint); opacity: 0.6; }
.breadcrumb-current { color: var(--text); font-weight: 500; }

.listing-badges {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin: 1rem 0;
}
.listing-badges .badge,
.listing-related-meta .badge-sm {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.3125rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem; font-weight: 600;
  line-height: 1;
  background-color: var(--muted);
  color: var(--text-secondary);
  border: 1px solid var(--border-light, #e5e5e5);
}
.listing-badges .badge svg { width: 0.875rem; height: 0.875rem; }
.listing-badges .badge-verified,
.listing-related-meta .badge-verified {
  background-color: #e7f8f8;
  color: #0f9c9c;
  border-color: #b7e8e8;
}
.listing-badges .badge-open,
.listing-related-meta .badge-open {
  background-color: #e6f7ec;
  color: #1a7f3e;
  border-color: #bfe8ca;
}
.listing-badges .badge-closed,
.listing-related-meta .badge-closed {
  background-color: #fdecec;
  color: #b42318;
  border-color: #f1c7c4;
}
.listing-badges .badge-reduced,
.listing-related-meta .badge-reduced {
  background-color: #fff7e6;
  color: #b26a00;
  border-color: #ffe3b0;
}
.listing-badges .badge-rating {
  background-color: #fff7e6;
  color: #b26a00;
  border-color: #ffe3b0;
}
.listing-badges .badge-rating svg { color: #fa8c16; }
.badge-rating-count { color: var(--text-hint); font-weight: 500; margin-left: 0.125rem; }
.badge-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background-color: currentColor;
  opacity: 0.8;
}

.listing-categories {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.listing-category-tag {
  display: inline-flex; align-items: center;
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background-color: var(--primary-container);
  color: var(--primary);
  font-size: 0.8125rem; font-weight: 600;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.listing-category-tag:hover { background-color: var(--primary-light); }

.single-listing-media {
  position: relative;
  border-radius: calc(var(--radius) * 1.5);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 10;
  background-color: var(--muted);
}
.single-listing-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ─── Cards (Sobre / Informações / Features / Fotos / Tags) ─── */
.single-listing .public-page-card { margin-bottom: 1.25rem; }
.single-listing .public-page-card .section-title {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  font-size: 1.25rem;
  margin: 0 0 1.25rem;
}
.single-listing .section-count {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-hint);
}

.listing-description { color: var(--text-secondary); line-height: 1.65; }
.listing-description p { margin: 0 0 1rem; }
.listing-description p:last-child { margin-bottom: 0; }

/* ─── Info list ─── */
.listing-info-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 0.5rem;
}
.listing-info-item {
  display: flex; align-items: center; gap: 0.875rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  background-color: var(--muted);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
a.listing-info-item:hover { background-color: var(--border-light, #e5e5e5); }
.listing-info-icon {
  flex-shrink: 0;
  width: 2.25rem; height: 2.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background-color: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-soft);
}
.listing-info-icon svg { width: 1.125rem; height: 1.125rem; }
.listing-info-icon-whatsapp { color: #25D366; }
.listing-info-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.125rem; }
.listing-info-label {
  font-size: 0.75rem;
  color: var(--text-hint);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 600;
}
.listing-info-value {
  font-size: 0.9375rem;
  color: var(--text);
  font-weight: 500;
  overflow-wrap: anywhere;
}
.listing-info-blurred {
  filter: blur(4px);
  user-select: none;
  color: var(--text-secondary);
}
.listing-info-lock {
  flex-shrink: 0;
  color: var(--text-hint);
  display: inline-flex;
}
.listing-info-lock svg { width: 1rem; height: 1rem; }
.listing-info-link { color: var(--primary); text-decoration: none; }
.listing-info-link:hover { text-decoration: underline; }

/* ─── Horário ─── */
.listing-hours-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.listing-hours-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  background-color: var(--muted);
  font-size: 0.875rem;
}
.listing-hours-day { color: var(--text-secondary); font-weight: 500; }
.listing-hours-time { color: var(--text); font-weight: 600; }

/* ─── Features ─── */
.listing-features-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.625rem;
}
.listing-feature-item {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.5rem;
  background-color: var(--muted);
  font-size: 0.875rem;
  color: var(--text);
}
.listing-feature-item svg {
  width: 1rem; height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* ─── Galeria ─── */
.listing-gallery-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
@media (max-width: 640px) {
  .listing-gallery-preview { grid-template-columns: repeat(3, 1fr); }
}
.listing-gallery-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--muted);
}
.listing-gallery-item img,
.listing-gallery-item a {
  width: 100%; height: 100%; display: block;
}
.listing-gallery-item img { object-fit: cover; }
.listing-gallery-more a { position: relative; display: block; height: 100%; }
.listing-gallery-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background-color: rgba(0, 0, 0, 0.55);
  color: #fff;
  text-decoration: none;
}
.listing-gallery-overlay span { font-size: 1.5rem; font-weight: 700; line-height: 1; }
.listing-gallery-overlay small { font-size: 0.75rem; font-weight: 500; margin-top: 0.25rem; opacity: 0.9; }

/* ─── Tags ─── */
.listing-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.listing-tag {
  display: inline-flex; align-items: center;
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  background-color: var(--muted);
  color: var(--text-secondary);
  font-size: 0.75rem; font-weight: 500;
}

/* ─── Related ─── */
.listing-related { margin-top: 2rem; }
.listing-related .section-head { text-align: left; margin-bottom: 1.25rem; }
.listing-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.listing-related-card {
  display: flex; flex-direction: column;
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.listing-related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover, 0 10px 24px rgba(0, 0, 0, 0.1));
}
.listing-related-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--muted);
}
.listing-related-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.listing-related-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-hint);
}
.listing-related-placeholder svg { width: 2rem; height: 2rem; }
.listing-related-info {
  padding: 0.875rem 1rem 1rem;
  display: flex; flex-direction: column;
  gap: 0.5rem;
}
.listing-related-info h4 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}
.listing-related-meta {
  display: flex; flex-wrap: wrap; gap: 0.375rem;
}
.listing-related-meta .badge-sm {
  padding: 0.1875rem 0.5rem;
  font-size: 0.6875rem;
}
.listing-related-meta .badge-sm svg {
  width: 0.75rem; height: 0.75rem;
}

/* ─────────────── Listing Carousel Widget ─────────────── */
.listing-carousel { padding: 0 0 4rem; }
.listing-carousel .listing-carousel-head { margin-bottom: 2rem; }

.listing-carousel-wrapper {
  position: relative;
}
.listing-carousel-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}
.listing-carousel-track::-webkit-scrollbar { display: none; }

/* Card */
.listing-carousel-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.listing-carousel-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}
.listing-carousel-card:active { transform: scale(0.98); }

/* Image */
.listing-carousel-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--muted);
  flex-shrink: 0;
}
.listing-carousel-image img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.listing-carousel-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-hint);
}
.listing-carousel-placeholder svg { width: 2rem; height: 2rem; }

/* Info */
.listing-carousel-info {
  padding: 0.875rem 1rem 1rem;
  display: flex; flex-direction: column; gap: 0.375rem;
  flex: 1;
}
.listing-carousel-title {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-carousel-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem;
  font-size: 0.75rem;
  color: var(--text-hint);
}
.listing-carousel-cats { color: var(--text-secondary); font-weight: 500; }
.listing-carousel-status {
  display: inline-flex; align-items: center; gap: 0.25rem;
  font-weight: 600;
}
.listing-carousel-status.is-open { color: #1a7f3e; }
.listing-carousel-status.is-closed { color: #b42318; }
.listing-carousel-dot {
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background-color: currentColor; flex-shrink: 0;
}
.listing-carousel-rating {
  display: inline-flex; align-items: center; gap: 0.1875rem;
  color: #b26a00; font-weight: 600;
}
.listing-carousel-rating svg { width: 0.75rem; height: 0.75rem; color: #fa8c16; }
.listing-carousel-rating-count { color: var(--text-hint); font-weight: 400; }

/* Nav arrows */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem; height: 2.5rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-light, #e5e5e5);
  background-color: var(--surface);
  color: var(--text);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: background-color 0.15s ease, opacity 0.15s ease;
  z-index: 2;
}
.carousel-nav:hover { background-color: var(--muted); }
.carousel-nav:disabled { opacity: 0.3; pointer-events: none; }
.carousel-nav svg { width: 1.125rem; height: 1.125rem; }
.carousel-nav-prev { left: -1.25rem; }
.carousel-nav-next { right: -1.25rem; }
@media (max-width: 640px) {
  .carousel-nav-prev { left: 0; }
  .carousel-nav-next { right: 0; }
}

/* CTA */
.listing-carousel-cta {
  margin-top: 1.75rem;
  display: flex; justify-content: center;
}

/* ═══════════════════════════════════════════════════════════════════
   Scroll Wrapper & Nav — usado por Categories + Listings widgets
   ═══════════════════════════════════════════════════════════════════ */
.scroll-wrapper {
  position: relative;
}

.scroll-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.875rem;
}

.scroll-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1.5px solid var(--border-light, rgba(0,0,0,.12));
  background: var(--card, #fff);
  color: var(--foreground, #1a1a1a);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, opacity 0.15s;
  flex-shrink: 0;
}
.scroll-nav-btn:hover {
  background: var(--primary, #5b4fcf);
  color: var(--primary-foreground, #fff);
  border-color: var(--primary, #5b4fcf);
}
.scroll-nav-btn:disabled,
.scroll-nav-btn[disabled] {
  opacity: 0.35;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════════
   Widget Section Header
   ═══════════════════════════════════════════════════════════════════ */
.widget-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.widget-section-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.widget-section-title { font-size: 1.25rem; font-weight: 700; line-height: 1.25; margin: 0; }
.widget-section-desc  { font-size: 0.875rem; color: var(--text-secondary, #666); margin: 0; }
.widget-section-link  { white-space: nowrap; flex-shrink: 0; }

/* ═══════════════════════════════════════════════════════════════════
   Category Widget
   ═══════════════════════════════════════════════════════════════════ */
.widget-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.75rem;
}
.widget-category-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.widget-category-scroll::-webkit-scrollbar { display: none; }
.widget-category-scroll .widget-category-card { scroll-snap-align: start; }

.widget-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  text-decoration: none;
  color: var(--foreground, #1a1a1a);
  min-width: 72px;
}
.widget-category-card:hover .widget-category-icon {
  filter: brightness(0.92);
}
.widget-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-container, #ede9ff);
  flex-shrink: 0;
  overflow: hidden;
}
.widget-category-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.widget-category-name {
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  max-width: 76px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.widget-category-count {
  font-size: 0.6875rem;
  color: var(--text-hint, #999);
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════════════
   Listing Widget — contentor
   ═══════════════════════════════════════════════════════════════════ */
.widget-listing-grid {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.widget-listing-scroll {
  display: flex;
  gap: 0.875rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.widget-listing-scroll::-webkit-scrollbar { display: none; }
.widget-listing-overlay-grid {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.widget-listing-overlay-grid::-webkit-scrollbar { display: none; }

/* ═══════════════════════════════════════════════════════════════════
   Listing Card — base
   ═══════════════════════════════════════════════════════════════════ */
.widget-listing-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem;
  background: var(--card, #fff);
  border-radius: var(--radius, 0.875rem);
  box-shadow: var(--shadow-soft, 0 1px 6px rgba(0,0,0,.06));
  text-decoration: none;
  color: var(--foreground, #1a1a1a);
  transition: box-shadow 0.15s;
}
.widget-listing-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

/* scroll variant: fixed width */
.widget-listing-scroll .widget-listing-card {
  min-width: 240px;
  max-width: 280px;
  flex-shrink: 0;
  scroll-snap-align: start;
  align-items: flex-start;
}
/* small variant */
.widget-listing-card.widget-listing-small {
  padding: 0.5rem 0.625rem;
  gap: 0.625rem;
}

/* ── Thumbnail ── */
.widget-listing-image {
  width: 72px;
  height: 72px;
  border-radius: calc(var(--radius, 0.875rem) - 0.25rem);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--muted, #f5f4ff);
}
.widget-listing-small .widget-listing-image {
  width: 52px;
  height: 52px;
}
.widget-listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.widget-listing-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-hint, #aaa);
}

/* ── Info ── */
.widget-listing-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.widget-listing-title {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.widget-listing-small .widget-listing-title {
  font-size: 0.875rem;
}
.widget-listing-verified {
  font-size: 0.75rem;
  color: var(--secondary, #22c55e);
  display: flex;
  align-items: center;
  gap: 3px;
}
.widget-listing-status {
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 4px;
}
.widget-listing-category {
  font-size: 0.75rem;
  color: var(--text-hint, #999);
}

/* ═══════════════════════════════════════════════════════════════════
   Card Overlay (layout card-overlay)
   ═══════════════════════════════════════════════════════════════════ */
.widget-listing-card-overlay {
  position: relative;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  aspect-ratio: 3 / 4;
  min-width: 160px;
  max-width: 200px;
  width: 160px;
  flex-shrink: 0;
  scroll-snap-align: start;
  background-color: var(--muted, #f0eeff);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius, 0.875rem);
  overflow: hidden;
  padding: 0;
  gap: 0;
}
.widget-listing-card-overlay:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.22);
}

.card-overlay-tag {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.5rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  line-height: 1;
}

.card-overlay-content {
  position: relative;
  padding: 0.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 100%);
  margin-top: auto;
}
.card-overlay-title {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 0.375rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-overlay-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.card-overlay-verified {
  font-size: 0.6875rem;
  color: #86efac;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.card-overlay-category {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.75);
}

/* ═══════════════════════════════════════════════════════════════════
   Status helpers — partilhado por ambos os widgets
   ═══════════════════════════════════════════════════════════════════ */
.status-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.status-open   { color: #16a34a; }
.status-closed { color: #dc2626; }

/* ═══════════════════════════════════════════════════════════════════════
   Community Comments — mg-* namespace
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Shared buttons (mg-cta) ────────────────────────────────────────── */
.mg-cta {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.375rem;
  padding: 0.625rem 1.25rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}
.mg-cta:disabled { opacity: 0.55; cursor: not-allowed; }
.mg-cta--primary  { background: var(--primary); color: #fff; border-color: var(--primary); }
.mg-cta--primary:hover:not(:disabled)  { background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }
.mg-cta--ghost    { background: transparent; color: var(--text); border-color: var(--border); }
.mg-cta--ghost:hover:not(:disabled)    { background: var(--muted); }
.mg-cta--danger   { background: #dc2626; color: #fff; border-color: #dc2626; }
.mg-cta--danger:hover:not(:disabled)   { background: #b91c1c; border-color: #b91c1c; }
.mg-cta--sm       { padding: 0.4rem 0.875rem; font-size: 0.8125rem; }
.mg-cta--full     { width: 100%; }

/* ── Icon buttons ────────────────────────────────────────────────────── */
.mg-icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--muted);
  color: var(--text-secondary);
  cursor: pointer;
  border: none;
  transition: background 0.15s, color 0.15s;
}
.mg-icon-btn svg { width: 0.9rem; height: 0.9rem; }
.mg-icon-btn:hover { background: var(--border); color: var(--text); }
.mg-icon-btn--danger:hover { background: #fee2e2; color: #dc2626; }

/* ── Form fields ──────────────────────────────────────────────────────── */
.mg-field { display: flex; flex-direction: column; gap: 0.375rem; }
.mg-label { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.mg-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: 0.625rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.mg-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(250,140,22,.15); }
.mg-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: 0.625rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text);
  background: var(--surface);
  resize: vertical;
  transition: border-color 0.15s, box-shadow 0.15s;
  box-sizing: border-box;
}
.mg-textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(250,140,22,.15); }
.mg-field-error { font-size: 0.8125rem; color: #dc2626; }
.mg-otp-input   { text-align: center; letter-spacing: 0.4em; font-size: 1.5rem; font-weight: 700; }

/* ── Notice banners ──────────────────────────────────────────────────── */
.mg-notice {
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.mg-notice--success { background: #dcfce7; color: #166534; }
.mg-notice--info    { background: #eff6ff; color: #1e40af; }
.mg-no-comments { color: var(--text-hint); font-size: 0.9375rem; text-align: center; padding: 1.5rem 0; }
.mg-loading     { color: var(--text-hint); text-align: center; padding: 1rem 0; }

/* ── Auth modal ───────────────────────────────────────────────────────── */
.mg-modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(15, 23, 42, 0.6);
  display: none;
  align-items: center; justify-content: center;
  padding: 1rem;
}
.mg-modal-box {
  position: relative;
  background: var(--surface);
  border-radius: 1.25rem;
  padding: 2rem 1.75rem;
  width: 100%; max-width: 26rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  display: flex; flex-direction: column; gap: 1rem;
}
.mg-modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--muted);
  color: var(--text-secondary);
  border: none; cursor: pointer;
  transition: background 0.15s;
}
.mg-modal-close svg { width: 1rem; height: 1rem; }
.mg-modal-close:hover { background: var(--border); }
.mg-modal-title { font-size: 1.25rem; font-weight: 700; color: var(--text); margin: 0; }
.mg-modal-sub   { font-size: 0.9rem; color: var(--text-secondary); margin: 0; line-height: 1.5; }
#mg-auth-content { display: flex; flex-direction: column; gap: 0.875rem; }
.mg-otp-timer   { font-size: 0.8125rem; color: var(--text-hint); text-align: center; }

/* ── Star rating (interactive) ────────────────────────────────────────── */
.mg-star-rating { display: flex; gap: 0.25rem; }
.mg-star {
  background: none; border: none; cursor: pointer; padding: 0;
  color: var(--border);
  transition: color 0.12s, transform 0.12s;
}
.mg-star svg { width: 1.75rem; height: 1.75rem; display: block; }
.mg-star--active { color: var(--primary); }
.mg-star:hover   { transform: scale(1.15); }

/* ── Readonly stars ────────────────────────────────────────────────────── */
.mg-stars-ro    { display: flex; gap: 0.125rem; margin-bottom: 0.375rem; }
.mg-star-ro     { color: var(--border); }
.mg-star-ro svg { width: 1rem; height: 1rem; display: block; }
.mg-star-ro--on { color: var(--primary); }

/* ── Comments section wrapper ──────────────────────────────────────────── */
.community-comments {
  margin-top: 2rem;
}
.community-comments .section-head { margin-bottom: 1.5rem; }
.mg-comments-list { display: flex; flex-direction: column; gap: 1.25rem; }

/* ── Single comment card ────────────────────────────────────────────────── */
.mg-comment-item {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.125rem 1.25rem;
  box-shadow: var(--shadow-soft);
}
.mg-comment-header {
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 0.625rem;
}
.mg-comment-avatar {
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%; overflow: hidden; flex-shrink: 0;
}
.mg-comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mg-avatar-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-container);
  color: var(--primary);
  font-weight: 700; font-size: 0.9375rem;
}
.mg-comment-meta  { flex: 1; display: flex; flex-direction: column; gap: 0.125rem; }
.mg-comment-author { font-weight: 600; font-size: 0.9375rem; color: var(--text); }
.mg-comment-date   { font-size: 0.75rem; color: var(--text-hint); }
.mg-comment-actions { display: flex; gap: 0.375rem; margin-left: auto; }
.mg-comment-body {
  font-size: 0.9375rem; color: var(--text-secondary);
  line-height: 1.6; margin-top: 0.5rem;
}

/* ── Add comment button area ──────────────────────────────────────────── */
.mg-add-comment-wrap {
  display: flex; justify-content: center;
  padding: 1.5rem 0;
}

/* ── Comment form ─────────────────────────────────────────────────────── */
.mg-comment-form {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.875rem;
  box-shadow: var(--shadow-soft);
  margin-top: 1rem;
}
.mg-comment-form-user {
  display: flex; align-items: center; gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-light);
}
.mg-comment-form-name { font-weight: 600; flex: 1; }
.mg-comment-form-btns { display: flex; gap: 0.625rem; flex-wrap: wrap; }

/* ── Inline edit form ─────────────────────────────────────────────────── */
.mg-edit-form { display: flex; flex-direction: column; gap: 0.625rem; margin-top: 0.375rem; }
.mg-edit-form-btns { display: flex; gap: 0.5rem; }

/* ── My Comments page ─────────────────────────────────────────────────── */
.mg-my-header {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.mg-my-title { font-size: 1.5rem; font-weight: 700; margin: 0; }
.mg-my-sub   { color: var(--text-secondary); margin: 0.5rem 0 1.5rem; }
.mg-my-user  { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9375rem; }
.mg-my-login { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; padding: 3rem 0; }
.mg-my-grid  { display: flex; flex-direction: column; gap: 1.25rem; }

.mg-my-card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 0.625rem;
}
.mg-my-card-meta  { display: flex; align-items: baseline; gap: 0.75rem; flex-wrap: wrap; }
.mg-my-card-place {
  font-weight: 600; color: var(--secondary);
  font-size: 0.9375rem;
  text-decoration: underline; text-decoration-color: transparent;
  transition: text-decoration-color 0.15s;
}
.mg-my-card-place:hover { text-decoration-color: var(--secondary); }
.mg-my-card-date  { font-size: 0.75rem; color: var(--text-hint); }
.mg-my-card-body  { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; }
.mg-my-card-btns  { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.25rem; }

/* Phone row — country selector + dial badge + digits input */
.mg-phone-row {
  display: flex; align-items: center; gap: 0.5rem;
}
.mg-country-select {
  flex-shrink: 0; max-width: 10rem;
  padding: 0.625rem 0.5rem;
  border: 1.5px solid var(--border);
  border-radius: 0.625rem;
  font-family: var(--font-body); font-size: 0.875rem;
  color: var(--text); background: var(--surface); cursor: pointer;
  appearance: auto;
}
.mg-country-select:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 0,0,0), 0.1);
}
.mg-dial-badge {
  flex-shrink: 0;
  padding: 0.625rem 0.625rem;
  background: var(--muted); border-radius: 0.5rem;
  font-weight: 600; font-size: 0.875rem; color: var(--text-secondary);
  white-space: nowrap;
}
.mg-phone-digits { flex: 1; }
