/* ==========================================================================
   SEMENTE PEDAGÓGICA — PÁGINA DE LINKS (BIO INSTAGRAM)
   Paleta oficial extraída da logomarca da Semente Pedagógica
   ========================================================================== */

:root {
  --bg-canvas: #F7F8F2;
  --bg-surface: #FFFFFF;
  --bg-tint: #EFF4EA;
  --bg-warm: #FFF8E6;

  --green-primary: #115530;
  --green-primary-hover: #0C4024;
  --green-leaf: #45874A;
  --green-sprout: #80B148;
  --green-sage: #D8EEBF;

  --navy: #1C2840;
  --gold: #FECF65;
  --gold-text: #9A6500;
  --teal: #76BEB0;
  --teal-deep: #0F6B5E;

  --text-body: #334155;
  --text-muted: #5B6B7F;
  --border-soft: #DDE6D5;
  --border-strong: #C7D6BC;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --shadow-sm: 0 3px 10px rgba(28, 40, 64, 0.05);
  --shadow-md: 0 12px 30px rgba(28, 40, 64, 0.09);
  --shadow-lg: 0 24px 54px rgba(17, 85, 48, 0.14);

  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --transition: 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-body);
  background-color: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

body.sheet-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1, h2, p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--green-primary);
  outline-offset: 3px;
}

/* Fundo Botânico Suave */
.ambient-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.ambient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
}

.ambient-blob--top {
  width: 360px;
  height: 360px;
  top: -120px;
  left: -100px;
  background: rgba(216, 238, 191, 0.78);
}

.ambient-blob--bottom {
  width: 360px;
  height: 360px;
  bottom: -120px;
  right: -100px;
  background: rgba(254, 207, 101, 0.36);
}

/* Container Mobile-First */
.bio-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 500px;
  margin-inline: auto;
  padding: 20px 16px 40px;
}

/* Barra Superior */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.top-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background-color: var(--green-sage);
  color: var(--green-primary);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.top-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(128, 177, 72, 0.35);
}

.top-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.install-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(17, 85, 48, 0.22);
  background-color: var(--green-primary);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.install-top-btn:hover {
  transform: translateY(-1px);
  background-color: var(--green-primary-hover);
  box-shadow: var(--shadow-md);
}

.install-top-btn[hidden] {
  display: none;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  background-color: var(--bg-surface);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), background-color var(--transition);
}

.share-btn span {
  display: none;
}

.share-btn:hover {
  transform: translateY(-1px);
  border-color: var(--green-leaf);
  background-color: var(--bg-tint);
}

@media (min-width: 420px) {
  .share-btn {
    width: auto;
    padding: 7px 14px;
  }

  .share-btn span {
    display: inline;
  }
}

/* Cabeçalho do Perfil */
.profile-header {
  text-align: center;
  margin-bottom: 24px;
}

.avatar-wrap {
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 auto 14px;
}

.avatar-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 12px;
  background: linear-gradient(155deg, #FFFFFF 0%, #F0F6E6 100%);
  border: 2px solid var(--border-soft);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-ring img {
  width: 84px;
  height: auto;
}

.avatar-sprout {
  position: absolute;
  right: 2px;
  bottom: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--green-primary);
  color: #FFFFFF;
  border: 2.5px solid var(--bg-canvas);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(17, 85, 48, 0.25);
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.brand-green {
  color: var(--green-primary);
}

.brand-navy {
  color: var(--navy);
}

.profile-handle {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green-leaf);
  margin-bottom: 10px;
}

.profile-handle:hover {
  text-decoration: underline;
}

.profile-bio {
  font-size: 0.94rem;
  color: var(--text-body);
  max-width: 38ch;
  margin: 0 auto 14px;
}

.profile-seals {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.profile-seals li {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-soft);
  color: var(--navy);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Cards de Link */
.featured-wrap {
  margin-bottom: 12px;
}

.links-wrap {
  margin-bottom: 26px;
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.link-card {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  background-color: var(--bg-surface);
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background-color var(--transition);
}

.link-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-leaf);
}

.link-card:active {
  transform: translateY(0);
}

.link-card--featured {
  background: linear-gradient(135deg, var(--green-primary) 0%, #0E4728 65%, #164438 100%);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
}

.link-card--featured:hover {
  border-color: rgba(254, 207, 101, 0.65);
  box-shadow: 0 26px 56px rgba(17, 85, 48, 0.22);
}

.link-card--whatsapp {
  background: linear-gradient(135deg, #F1FAF4 0%, #E5F6EB 100%);
  border-color: rgba(18, 140, 74, 0.28);
}

.link-card--whatsapp:hover {
  border-color: #128C4A;
}

.link-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.link-icon--featured {
  background-color: rgba(255, 255, 255, 0.16);
  color: var(--gold);
}

.link-icon--alfabetizacao {
  background-color: #E7F5DD;
  color: var(--green-primary);
}

.link-icon--infantil {
  background-color: #FFF4D6;
  color: var(--gold-text);
}

.link-icon--jogos {
  background-color: #E1F4F0;
  color: var(--teal-deep);
}

.link-icon--inclusiva {
  background-color: #EAF3EC;
  color: var(--green-leaf);
}

.link-icon--datas {
  background-color: #FCECE1;
  color: #A4531E;
}

.link-icon--whatsapp {
  background-color: #169C4E;
  color: #FFFFFF;
}

.link-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.link-title {
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

.link-card--featured .link-title {
  color: #FFFFFF;
}

.link-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.link-card--featured .link-subtitle {
  color: #DFEDE1;
}

.link-end {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.link-badge {
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-tint);
  color: var(--green-primary);
  font-size: 0.69rem;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.link-badge--gold {
  background-color: var(--gold);
  color: var(--navy);
}

.link-badge--wa {
  background-color: #128C4A;
  color: #FFFFFF;
}

.link-arrow {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.link-card--featured .link-arrow {
  color: var(--gold);
}

.link-card:hover .link-arrow {
  transform: translateX(3px);
}

/* Mini-Vitrine Mais Pedidos */
.highlights-wrap {
  margin-bottom: 26px;
}

.highlights-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.highlights-head h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
}

.highlights-all-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--green-primary);
}

.highlights-all-link:hover {
  text-decoration: underline;
}

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

.mini-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 4px;
  min-width: 0;
  padding: 13px 14px;
  border-radius: var(--radius-md);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.mini-card:hover {
  transform: translateY(-2px);
  border-color: var(--green-leaf);
  box-shadow: var(--shadow-md);
}

.mini-card--alfabetizacao {
  border-top: 3px solid var(--green-primary);
}

.mini-card--infantil {
  border-top: 3px solid var(--gold);
}

.mini-card--jogos {
  border-top: 3px solid var(--teal-deep);
}

.mini-tag {
  grid-column: 1;
  justify-self: start;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background-color: var(--bg-tint);
  color: var(--green-primary);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.1;
  max-width: 100%;
  white-space: nowrap;
}

.mini-title {
  grid-column: 1;
  font-size: 0.88rem;
  line-height: 1.25;
  color: var(--navy);
  overflow-wrap: break-word;
}

.mini-meta {
  grid-column: 1;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.mini-price {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--green-primary);
  white-space: nowrap;
}

/* Barra Social e Rodapé */
.bio-footer {
  text-align: center;
  padding-top: 6px;
}

.social-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background-color: var(--bg-surface);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), background-color var(--transition), color var(--transition), border-color var(--transition);
}

.social-btn:hover {
  transform: translateY(-2px);
  background-color: var(--green-primary);
  border-color: var(--green-primary);
  color: #FFFFFF;
}

.footer-credit {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Modal / Bottom Sheet do WhatsApp */
.wa-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(28, 40, 64, 0.58);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
}

.wa-sheet-backdrop[hidden] {
  display: none;
}

.wa-sheet-dialog {
  width: 100%;
  max-width: 440px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 24px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-soft);
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.34);
  overflow: hidden;
  animation: sheet-rise 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wa-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, var(--green-primary) 0%, #128C4A 100%);
  color: #FFFFFF;
}

.wa-sheet-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.wa-sheet-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--bg-canvas);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-sheet-avatar img {
  width: 30px;
  height: auto;
}

.wa-sheet-title {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.wa-sheet-sub {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: #E2F5E8;
  margin-top: 2px;
}

.wa-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #7CE89E;
}

.wa-sheet-close {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background-color: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  font-size: 0;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wa-sheet-close::before,
.wa-sheet-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
}

.wa-sheet-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.wa-sheet-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.wa-sheet-close:hover {
  background-color: rgba(255, 255, 255, 0.26);
}

.wa-sheet-body {
  padding: 16px 18px 20px;
  background-color: var(--bg-canvas);
}

.wa-greeting {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px 14px 14px 4px;
  padding: 11px 13px;
  font-size: 0.86rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.wa-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.wa-quick-chip {
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background-color: var(--bg-tint);
  color: var(--green-primary);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
}

.wa-quick-chip:hover {
  background-color: var(--green-sage);
  border-color: var(--green-leaf);
}

.wa-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.wa-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wa-field label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
}

.wa-input {
  width: 100%;
  min-height: 44px;
  padding: 9px 13px;
  border-radius: 12px;
  border: 1.5px solid var(--border-soft);
  background-color: var(--bg-surface);
  font-size: 0.9rem;
  color: var(--navy);
}

.wa-input:focus {
  outline: none;
  border-color: #169C4E;
  box-shadow: 0 0 0 3px rgba(22, 156, 78, 0.14);
}

.wa-select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231C2840' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  appearance: none;
  -webkit-appearance: none;
}

.wa-textarea {
  resize: vertical;
  min-height: 78px;
}

.wa-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 10px 18px;
  border: none;
  border-radius: var(--radius-pill);
  background-color: #128C4A;
  color: #FFFFFF;
  font-size: 0.94rem;
  font-weight: 700;
  transition: background-color var(--transition);
}

.wa-submit-btn:hover {
  background-color: #0E703B;
}

/* Banner Discreto & Guia de Instalação PWA */
.pwa-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  padding: 10px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.pwa-banner[hidden] {
  display: none;
}

.pwa-banner-inner {
  pointer-events: auto;
  max-width: 472px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  box-shadow: 0 14px 36px rgba(28, 40, 64, 0.18);
  animation: sheet-rise 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pwa-banner-app {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.pwa-banner-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pwa-banner-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.pwa-banner-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.pwa-banner-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  line-height: 1.25;
}

.pwa-banner-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.pwa-banner-install {
  min-height: 36px;
  padding: 7px 14px;
  border: none;
  border-radius: var(--radius-pill);
  background-color: var(--green-primary);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color var(--transition);
}

.pwa-banner-install:hover {
  background-color: var(--green-primary-hover);
}

.pwa-banner-close {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-soft);
  background-color: var(--bg-tint);
  color: var(--text-muted);
  font-size: 0;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition), color var(--transition);
}

.pwa-banner-close::before,
.pwa-banner-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background-color: currentColor;
}

.pwa-banner-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.pwa-banner-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.pwa-banner-close:hover {
  background-color: var(--green-sage);
  color: var(--navy);
}

body.has-install-banner .bio-shell {
  padding-bottom: 104px;
}

body.has-install-banner .toast-region {
  bottom: 92px;
}

.pwa-guide-intro {
  font-size: 0.88rem;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 12px;
}

.pwa-steps {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pwa-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 11px 13px;
}

.pwa-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--green-sage);
  color: var(--green-primary);
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pwa-step-text {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.4;
  padding-top: 2px;
}

.pwa-step-text strong {
  color: var(--navy);
}

.pwa-guide-note {
  background-color: var(--bg-warm);
  border: 1px solid rgba(254, 207, 101, 0.7);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.8rem;
  color: var(--navy);
  line-height: 1.4;
}

.pwa-guide-note[hidden] {
  display: none;
}

.pwa-guide-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.pwa-guide-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-strong);
  background-color: var(--bg-surface);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background-color var(--transition), border-color var(--transition);
}

.pwa-guide-secondary-btn:hover {
  background-color: var(--bg-tint);
  border-color: var(--green-leaf);
}

.pwa-guide-secondary-btn[hidden] {
  display: none;
}

.pwa-guide-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 10px 18px;
  border: none;
  border-radius: var(--radius-pill);
  background-color: var(--green-primary);
  color: #FFFFFF;
  font-size: 0.94rem;
  font-weight: 700;
  transition: background-color var(--transition);
}

.pwa-guide-primary-btn:hover {
  background-color: var(--green-primary-hover);
}

/* Toast */
.toast-region {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
  pointer-events: none;
}

.toast {
  background-color: var(--navy);
  color: #FFFFFF;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
}

.toast[hidden] {
  display: none;
}

@media (min-width: 440px) {
  .highlights-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mini-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    height: 100%;
    padding: 12px;
  }

  .mini-tag {
    align-self: flex-start;
    font-size: 0.66rem;
  }

  .mini-title {
    font-size: 0.85rem;
  }

  .mini-meta {
    font-size: 0.72rem;
  }

  .mini-price {
    margin-top: auto;
    padding-top: 4px;
    align-self: flex-start;
    font-size: 0.96rem;
  }
}

@media (min-width: 640px) {
  body {
    padding-block: 24px;
  }

  .bio-shell {
    padding: 28px 24px 36px;
    background-color: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(221, 230, 213, 0.85);
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .wa-sheet-backdrop {
    align-items: center;
  }
}

@keyframes sheet-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
