/* SuperCesta · marketplace sóbrio (Inter, azul/preto; vermelho só em destaque) */
@import url("../../assets/design-tokens.css?v=20260714");

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

:root {
  --navy: #0d2d5e;
  --navy-mid: #1a4080;
  --navy-deep: #0a1f3d;
  --ink: #0f172a;
  --red: #c41e1e;
  --red-light: #fdf2f2;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f1f5f9;
  --bg-softer: #f8fafc;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font: var(--font-sans);
  --shadow-sm: 0 1px 4px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
  --space-section-y: clamp(3rem, 6vw, 5rem);
  --space-block: clamp(1.25rem, 3vw, 2rem);
  /* Fase 4 — grelhas e formulários no shell */
  --site-grid-gap: clamp(1rem, 2.5vw, 1.5rem);
  --site-grid-card-min: 260px;
  --site-form-max: 36rem;
  --site-cart-max: 52rem;
  /** Altura do cabeçalho fixo (atualizada em site-nav.js). */
  --header-h: 9rem;
}

html {
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Empurra o rodapé para baixo em páginas curtas, sem faixa branca extra abaixo dele */
body.site-body > main.site-main {
  flex: 1 1 auto;
}

/* Pesos de fonte: máximo 600 em todo o site */
strong,
b {
  font-weight: 600;
}

body.site-body :where(h1, h2, h3, h4, h5, h6) {
  font-weight: 600;
}

/* Lucide: SVGs recebem .lucide após createIcons() */
.lucide {
  flex-shrink: 0;
}

.cat-icon .lucide {
  width: 22px;
  height: 22px;
  stroke-width: 2;
  color: var(--navy-mid);
}

.step-num .lucide {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  color: var(--navy-mid);
}

.depo-stars {
  display: flex;
  gap: 3px;
  align-items: center;
  margin-bottom: 12px;
}

.depo-stars .lucide {
  width: 15px;
  height: 15px;
  stroke-width: 2;
  color: var(--navy-mid);
  fill: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: var(--navy);
  color: #fff;
  z-index: 300;
  font-weight: 600;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

.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;
}

/* ·· Header ·· */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.header-top {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.5vw, 28px);
  padding-block: 18px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.logo-img {
  display: block;
  height: clamp(34px, 4.2vw, 48px);
  width: auto;
  max-width: min(240px, 42vw);
  object-fit: contain;
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.logo-text em {
  color: var(--navy-mid);
  font-style: normal;
}

.logo-sub {
  display: inline-block;
  background: var(--navy);
  color: white;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  margin-left: 10px;
  align-self: flex-end;
  margin-bottom: 2px;
}

.search-bar {
  flex: 1;
  display: flex;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--bg-softer);
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}

.search-bar:focus-within {
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(26, 64, 128, 0.12);
}

.search-bar select {
  background: var(--bg-soft);
  border: none;
  border-right: 1.5px solid var(--border);
  color: var(--navy);
  padding: 10px 12px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  max-width: 42%;
}

.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  min-width: 0;
}

.search-bar input::placeholder {
  color: var(--text-muted);
}

.btn-search {
  background: var(--navy);
  border: none;
  padding: 10px 18px;
  color: white;
  font-family: var(--font);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-search:hover {
  background: var(--navy-mid);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.action-btn {
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 16px;
  color: var(--navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  transition: all 0.2s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.action-btn:hover {
  border-color: var(--navy);
  background: white;
}

.action-btn--user {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 8px 14px;
  line-height: 1.25;
  max-width: min(168px, 42vw);
}

.action-btn__greet {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.action-btn__sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.2;
}

.action-btn--user:hover .action-btn__sub {
  color: var(--navy-mid);
}

.btn-carrinho {
  position: relative;
  padding: 10px 12px;
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.btn-carrinho:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  color: white;
}

.btn-carrinho__ico {
  display: block;
  flex-shrink: 0;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--red);
  color: white;
  border-radius: 20px;
  min-width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.2);
}

.cart-count--empty {
  display: none;
}

@keyframes cart-count-pop {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.35);
  }
  70% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes btn-carrinho-shake {
  0%,
  100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-2px) rotate(-2deg);
  }
  40% {
    transform: translateX(2px) rotate(2deg);
  }
  60% {
    transform: translateX(-1px);
  }
  80% {
    transform: translateX(1px);
  }
}

.cart-count--pulse {
  animation: cart-count-pop 0.55s ease;
}

.btn-carrinho--pulse {
  animation: btn-carrinho-shake 0.45s ease;
}

/* Toast — item adicionado ao carrinho */
.loja-cart-toast-region {
  position: fixed;
  z-index: 1200;
  left: max(var(--gutter-x), env(safe-area-inset-left, 0px));
  right: max(var(--gutter-x), env(safe-area-inset-right, 0px));
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.loja-cart-toast-region.loja-cart-toast--visible {
  pointer-events: auto;
}

.loja-cart-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(100%, 26rem);
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--text);
  border: 1px solid rgba(13, 45, 94, 0.12);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
  transform: translateY(12px);
  opacity: 0;
  animation: loja-cart-toast-in 0.35s ease forwards;
}

@keyframes loja-cart-toast-in {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.loja-cart-toast--ok .loja-cart-toast__icon {
  background: #ecfdf5;
  color: #047857;
}

.loja-cart-toast--erro .loja-cart-toast__icon {
  background: var(--red-light);
  color: var(--red);
}

.loja-cart-toast__icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
}

.loja-cart-toast__text {
  flex: 1;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.loja-cart-toast__action {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
}

.loja-cart-toast__action:hover {
  text-decoration: underline;
}

.loja-cart-toast__close {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  margin: -4px -6px -4px 0;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius-sm);
}

.loja-cart-toast__close:hover {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text);
}

.loja-cart-toast__close:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 2px;
}

.loja-add-btn--loading {
  opacity: 0.75;
  cursor: wait;
}

.loja-add-btn--ok {
  background: #047857 !important;
  border-color: #047857 !important;
}

@media (max-width: 480px) {
  .loja-cart-toast {
    flex-wrap: wrap;
    padding: 12px 14px;
  }

  .loja-cart-toast__action {
    margin-left: calc(2rem + 12px);
  }
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  color: var(--navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle:hover {
  border-color: var(--navy-mid);
  background: var(--bg-softer);
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--navy-mid);
  outline-offset: 2px;
}

.nav-toggle__bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  box-shadow: none;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform: rotate(-90deg);
  margin-top: -2px;
}

.header-nav-block {
  border-top: 1px solid var(--border);
}

.header-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.header-nav > a:not(.nav-hotline) {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 14px 16px;
  transition: color 0.2s;
  position: relative;
  white-space: nowrap;
}

.header-nav > a:not(.nav-hotline):hover {
  color: var(--navy);
}

.header-nav > a.active {
  color: var(--navy);
}

.header-nav > a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--navy-mid);
  border-radius: 2px 2px 0 0;
}

/* Bloco à direita: Como funciona + Instituições + telefone */
.header-nav__aside {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 8px auto;
  align-self: center;
  padding: 6px 8px;
  background: rgba(13, 45, 94, 0.042);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 1px 6px rgba(15, 23, 42, 0.04);
}

/* Como funciona + Instituições: pílulas; Instituições mais forte */
.header-nav__cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-nav__cta-group > a {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.header-nav__cta-group > a::after {
  display: none !important;
}

.header-nav__cta-group .header-nav__como {
  color: var(--navy-mid);
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(13, 45, 94, 0.14);
  border-radius: 999px;
  padding: 8px 16px;
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.header-nav__cta-group .header-nav__como:hover {
  color: var(--navy);
  background: #fff;
  border-color: rgba(13, 45, 94, 0.28);
}

.header-nav__cta-group .header-nav__como.active {
  color: var(--navy);
  background: #fff;
  border-color: var(--navy-mid);
  box-shadow:
    0 2px 8px rgba(13, 45, 94, 0.1),
    0 0 0 1px rgba(26, 64, 128, 0.08);
}

.header-nav__cta-group .header-nav__instituicoes {
  color: #085a67;
  background: rgba(23, 138, 156, 0.16);
  border: 1.5px solid rgba(23, 138, 156, 0.48);
  border-radius: 999px;
  padding: 9px 18px;
  margin: 0;
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
  box-shadow:
    0 1px 6px rgba(23, 138, 156, 0.14),
    0 0 0 1px rgba(23, 138, 156, 0.06);
}

.header-nav__cta-group .header-nav__instituicoes:hover {
  color: #043e47;
  background: rgba(23, 138, 156, 0.26);
  border-color: rgba(15, 115, 130, 0.72);
  box-shadow:
    0 2px 12px rgba(23, 138, 156, 0.22),
    0 0 0 1px rgba(23, 138, 156, 0.09);
}

.header-nav__cta-group .header-nav__instituicoes.active {
  color: #fff;
  background: linear-gradient(155deg, #1594a8 0%, #117a8a 100%);
  border-color: #0d6674;
  box-shadow:
    0 4px 16px rgba(17, 122, 138, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.header-nav__cta-group .header-nav__instituicoes.active:hover {
  color: #fff;
  background: linear-gradient(155deg, #13a5bb 0%, #128698 100%);
  border-color: #0e7482;
}

.nav-hotline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  white-space: nowrap;
  text-decoration: none;
}

.header-nav__aside .nav-hotline {
  flex-shrink: 0;
}

.nav-hotline .live {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--navy-mid);
  animation: blink 1.5s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

@media (max-width: 960px) {
  .search-bar {
    order: 3;
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
  }

  .search-bar select {
    flex: 0 1 auto;
    width: 5.5rem;
    max-width: 28%;
    min-width: 0;
    padding: 8px 1.4rem 8px 8px;
    font-size: 11px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    direction: rtl;
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--bg-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230d2d5e' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 11px;
  }

  .search-bar select option {
    direction: ltr;
  }

  .search-bar input {
    padding: 8px 10px;
    font-size: 13px;
  }

  .header-top {
    flex-wrap: wrap;
    align-items: center;
  }

  .header-actions {
    margin-left: auto;
    gap: 8px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-nav-block {
    display: none;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
  }

  .header-nav-block.is-open {
    display: block;
  }

  .header-nav {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 12px;
  }

  .header-nav > a:not(.nav-hotline) {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .header-nav > a:not(.nav-hotline).active::after {
    display: none;
  }

  .header-nav__aside {
    flex-direction: column;
    width: calc(100% - 24px);
    max-width: 360px;
    margin: 14px auto 12px;
    padding: 12px;
    gap: 12px;
    align-self: center;
    box-sizing: border-box;
    border-bottom: 1px solid var(--border);
    padding-bottom: 14px;
  }

  .header-nav__cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .header-nav__cta-group > a {
    text-align: center;
  }

  .header-nav__cta-group .header-nav__como,
  .header-nav__cta-group .header-nav__instituicoes {
    padding: 12px 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .header-nav__aside .nav-hotline {
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* Main */
.site-main--full {
  width: 100%;
}

.site-main--narrow,
.site-main--catalog {
  flex: 1;
  max-width: var(--site-max-width);
  margin: 0 auto;
  width: 100%;
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: clamp(2rem, 5vw, 3rem);
  padding-left: var(--gutter-safe-left);
  padding-right: var(--gutter-safe-right);
  box-sizing: border-box;
}

.site-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1.5px solid var(--border);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

/* Carrinho / checkout — largura legível dentro do shell */
.site-main--narrow > .site-card.loja-carrinho,
.site-main--narrow > .site-card.loja-carrinho.loja-checkout {
  width: 100%;
  margin-inline: auto;
}

.site-main--narrow > .site-card.loja-cesta-pdp {
  width: 100%;
  margin-inline: auto;
}

.api-health {
  font-family: ui-monospace, monospace;
  font-size: 0.875rem;
  white-space: pre-wrap;
  word-break: break-word;
}

.api-health--ok {
  color: #0d6b2d;
}
.api-health--err {
  color: #a30f0f;
}

/* Hero: na home menos respiro abaixo do menu */
.site-body--home .hero {
  margin-top: clamp(1rem, 2.2vw, 1.5rem);
}

.hero {
  max-width: var(--site-max-width);
  margin: var(--space-section-y) auto;
  padding-left: var(--gutter-safe-left);
  padding-right: var(--gutter-safe-right);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(20px, 3vw, 32px);
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 340px;
    align-items: stretch;
  }
}

@media (min-width: 1100px) {
  .hero {
    grid-template-columns: 1fr 380px;
  }
}

.hero-main {
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #0d2d5e 0%, #152d52 45%, #1a3a66 100%);
  padding: clamp(40px, 6vw, 64px) clamp(32px, 5vw, 56px);
  position: relative;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-main::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.hero-main::after {
  content: "";
  position: absolute;
  right: 60px;
  bottom: -80px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.hero-main.has-banner-bg {
  background-color: #0d2d5e;
}

.hero-main.has-banner-bg::before,
.hero-main.has-banner-bg::after {
  display: none;
}

.hero-main.banner-text--on-light {
  background-color: #e8edf5;
}

.hero-main.banner-text--on-light .hero-title {
  color: var(--navy);
}

.hero-main.banner-text--on-light .hero-title em {
  color: var(--navy-mid);
}

.hero-main.banner-text--on-light .hero-sub {
  color: rgba(15, 23, 42, 0.76);
}

.hero-main.banner-text--on-light .hero-sub strong {
  color: var(--navy);
}

.hero-main.banner-text--on-light .hero-badge {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.12);
  color: var(--navy);
}

.hero-main.banner-text--on-light .btn-hero-secondary {
  background: rgba(15, 23, 42, 0.07);
  color: var(--navy);
  border-color: rgba(15, 23, 42, 0.22);
}

.hero-main.banner-text--on-light .btn-hero-secondary:hover {
  background: rgba(15, 23, 42, 0.11);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
  width: fit-content;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-family: var(--font);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 600;
  color: white;
  line-height: 1.12;
  margin: 0 0 18px;
  position: relative;
  z-index: 1;
}

.hero-title em {
  color: #cbd5f5;
  font-style: italic;
  font-weight: 600;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 32px;
  max-width: 460px;
  position: relative;
  z-index: 1;
}

.hero-sub strong {
  color: #fff;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.btn-hero-primary {
  background: #ffffff;
  color: var(--navy);
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-hero-primary:hover {
  background: var(--bg-soft);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
  padding: 14px 24px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
  text-decoration: none;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

.hero-aside {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: clamp(18px, 2.5vw, 28px);
}

.aside-card {
  border-radius: var(--radius-xl);
  padding: clamp(22px, 3vw, 30px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 150px;
}

.aside-card-teal {
  background: linear-gradient(145deg, #1a4080 0%, #0d2d5e 100%);
  color: white;
}

.aside-card-navy {
  background: linear-gradient(145deg, #0f172a 0%, #1e3a5f 100%);
  color: white;
}

.aside-card::before {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.aside-card.has-banner-bg {
  background-color: #1a4080;
}

.aside-card.has-banner-bg::before {
  display: none;
}

.aside-card.has-banner-bg > div:first-of-type {
  position: relative;
  z-index: 1;
}

.aside-card.has-banner-bg.banner-text--on-dark {
  color: #fff;
}

.aside-card.has-banner-bg.banner-text--on-dark .aside-label {
  color: rgba(255, 255, 255, 0.72);
}

.aside-card.has-banner-bg.banner-text--on-dark .aside-sub {
  color: rgba(255, 255, 255, 0.85);
}

.aside-card.has-banner-bg.banner-text--on-light {
  background-color: #eef2f8;
  color: var(--navy);
}

.aside-card.has-banner-bg.banner-text--on-light .aside-label {
  color: rgba(15, 23, 42, 0.5);
}

.aside-card.has-banner-bg.banner-text--on-light .aside-sub {
  color: rgba(15, 23, 42, 0.72);
}

.aside-card.has-banner-bg.banner-text--on-light .btn-aside {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.18);
  color: var(--navy);
}

a.aside-card.has-banner-bg.banner-text--on-light:hover .btn-aside {
  background: rgba(15, 23, 42, 0.14);
}

.aside-label {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  position: relative;
}

.aside-title {
  font-family: var(--font);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  margin: 6px 0;
  line-height: 1.2;
  position: relative;
}

.aside-sub {
  font-size: 13px;
  opacity: 0.8;
  margin-bottom: 12px;
  position: relative;
}

.aside-card.has-banner-bg.banner-text--on-dark .aside-sub.aside-sub--navy,
.aside-card.has-banner-bg.banner-text--on-light .aside-sub.aside-sub--navy,
.aside-card.aside-card-teal .aside-sub.aside-sub--navy,
.aside-card.aside-card-navy .aside-sub.aside-sub--navy {
  color: var(--navy);
  opacity: 1;
}

.btn-aside {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 20px;
  font-family: var(--font);
  transition: background 0.2s;
  width: fit-content;
  position: relative;
}

a.aside-card:hover .btn-aside {
  background: rgba(255, 255, 255, 0.32);
}

/* Sections */
.section {
  max-width: var(--site-max-width);
  margin: 0 auto var(--space-section-y);
  padding-left: var(--gutter-safe-left);
  padding-right: var(--gutter-safe-right);
  box-sizing: border-box;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: clamp(20px, 3vw, 28px);
  gap: 16px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--navy);
  margin: 0;
}

.section-title span {
  color: var(--navy-mid);
  font-style: normal;
  font-weight: 600;
}

.see-all {
  color: var(--navy-mid);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.see-all:hover {
  gap: 8px;
}

/* Categories */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(14px, 2vw, 20px);
}

@media (max-width: 1100px) {
  .cats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .cats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cat-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 18px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: white;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
}

.cat-pill:hover {
  border-color: rgba(26, 64, 128, 0.35);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.cat-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cat-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.cat-qty {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Cestas grid (home e destaques) */
.cestas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--site-grid-card-min)), 1fr));
  gap: var(--site-grid-gap);
  align-items: stretch;
}

.cesta-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  background: white;
  overflow: hidden;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.cesta-card:hover {
  border-color: rgba(26, 64, 128, 0.4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.cesta-img {
  height: 160px;
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}

.cesta-img__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 0;
}

.badge-destaque {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.badge-mais-vendido {
  background: var(--navy);
  color: white;
}

.badge-oferta {
  background: var(--red);
  color: white;
}

.badge-novo {
  background: var(--navy-mid);
  color: white;
}

.badge-premium {
  background: var(--ink);
  color: white;
}

.cesta-body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cesta-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 12px;
}

.cesta-itens {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.cesta-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0.5rem 1rem;
  margin: 0;
  padding: 0.45rem 0.7rem;
  min-height: 2.125rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  box-shadow: 0 1px 4px color-mix(in srgb, var(--navy) 22%, transparent);
}

.cesta-stats--single {
  grid-template-columns: 1fr;
}

.cesta-stats--single .cesta-stats__part {
  text-align: center;
}

.cesta-stats__part {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

.cesta-stats:not(.cesta-stats--single) .cesta-stats__part:first-child {
  text-align: left;
}

.cesta-stats:not(.cesta-stats--single) .cesta-stats__part:last-child {
  text-align: right;
}

.cesta-itens__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.item-tag {
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--navy);
  padding: 2px 8px;
  border-radius: 6px;
  line-height: 1.35;
}

.cesta-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.cesta-price-group {
  display: flex;
  flex-direction: column;
}

.cesta-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
}

.cesta-price {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1;
}

.cesta-price--promo {
  color: var(--red);
}

.cesta-price-was {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.btn-pedir {
  background: var(--navy);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.btn-pedir:hover {
  background: var(--navy-mid);
  transform: scale(1.02);
}

/* Mid banner (assinatura) */
.mid-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(20px, 4vw, 32px);
  position: relative;
  z-index: 1;
}

.mid-banner-copy {
  position: relative;
  z-index: 1;
  min-width: min(100%, 240px);
  flex: 1 1 280px;
}

.mid-banner-trail {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .mid-banner-trail {
    align-items: stretch;
    width: 100%;
  }

  .mid-banner-trail .btn-mid {
    width: 100%;
  }
}

.mid-banner {
  border-radius: var(--radius-xl);
  background: var(--navy);
  padding: clamp(40px, 6vw, 56px) clamp(28px, 4vw, 56px);
  display: block;
  position: relative;
  box-shadow: 0 8px 32px rgba(13, 45, 94, 0.12);
}

.mid-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.mid-title {
  font-family: var(--font);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  color: white;
  line-height: 1.15;
  margin: 0 0 8px;
}

.mid-title em {
  font-style: italic;
  font-weight: 600;
  color: #cbd5f5;
}

.mid-sub {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  margin: 0;
  max-width: 420px;
  line-height: 1.6;
}

.btn-mid {
  background: white;
  color: var(--navy);
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 32px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.12);
}

.btn-mid:hover {
  background: var(--navy);
  color: white;
  transform: scale(1.02);
}

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 24px);
}

@media (max-width: 960px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  background: white;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.step-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 6px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Depoimentos */
.section--depos {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.depos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
}

@media (max-width: 900px) {
  .depos-grid {
    grid-template-columns: 1fr;
  }
}

.depo-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  background: white;
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin: 0;
}

.depo-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 20px;
  font-style: italic;
}

.depo-text::before,
.depo-text::after {
  color: var(--navy-mid);
  font-style: normal;
  font-weight: 600;
  line-height: 0;
}

.depo-text::before {
  content: "\201C";
  margin-right: 0.1em;
}

.depo-text::after {
  content: "\201D";
  margin-left: 0.05em;
}

.depo-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.depo-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.depo-avatar--navy {
  background: var(--navy);
}

.depo-avatar--mid {
  background: var(--navy-mid);
}

.depo-avatar--slate {
  background: #475569;
}

.depo-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.depo-location {
  font-size: 12px;
  color: var(--text-muted);
}

/* Instagram carrossel */
.section--social-home {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.home-social-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 96% 18%, rgba(196, 30, 30, 0.08), transparent 14rem),
    #fff;
  box-shadow: var(--shadow-sm);
}

.home-social-card__copy {
  max-width: 42rem;
}

.home-social-card__eyebrow {
  margin: 0 0 0.45rem;
  color: var(--navy-mid);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-social-card__title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.home-social-card__text {
  margin: 0.65rem 0 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.home-social-card__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-md);
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, transform 0.15s;
}

.home-social-card__btn:hover {
  background: var(--navy-mid);
  color: #fff;
  transform: translateY(-1px);
}

.home-social-card__btn .lucide {
  width: 1.15rem;
  height: 1.15rem;
  stroke-width: 2;
}

@media (max-width: 720px) {
  .home-social-card {
    align-items: stretch;
    flex-direction: column;
  }

  .home-social-card__btn {
    width: 100%;
  }
}

.section--instagram {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.instagram-carousel-wrap {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 12px);
  max-width: 100%;
}

.instagram-carousel {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding: 4px 0 12px;
  mask-image: linear-gradient(to right, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%);
}

.instagram-carousel__track {
  display: flex;
  gap: 16px;
  width: max-content;
}

.instagram-carousel__slide {
  flex: 0 0 min(280px, 76vw);
  scroll-snap-align: start;
}

.instagram-carousel__card {
  position: relative;
  display: block;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--bg-softer);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.instagram-carousel__card:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 64, 128, 0.35);
  box-shadow: var(--shadow-md);
}

.instagram-carousel__card:focus-visible {
  outline: 2px solid var(--navy-mid);
  outline-offset: 3px;
}

.instagram-carousel__img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  vertical-align: middle;
}

.instagram-carousel__cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.82), transparent);
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.instagram-carousel__card:hover .instagram-carousel__cta,
.instagram-carousel__card:focus-visible .instagram-carousel__cta {
  opacity: 1;
  transform: translateY(0);
}

@media (hover: none) {
  .instagram-carousel__cta {
    opacity: 1;
    transform: none;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.2));
    padding-top: 28px;
  }
}

.instagram-carousel__btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--navy);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.instagram-carousel__btn:hover {
  background: var(--bg-soft);
  border-color: var(--navy-mid);
}

@media (min-width: 720px) {
  .instagram-carousel__btn {
    display: flex;
  }
}

.instagram-carousel__chev {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: white;
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.footer-inner {
  padding-block: clamp(48px, 6vw, 72px) clamp(36px, 4vw, 48px);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(32px, 4vw, 48px);
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.footer-logo-img {
  display: block;
  height: clamp(36px, 4vw, 48px);
  width: auto;
  max-width: min(240px, 88vw);
  object-fit: contain;
  object-position: left center;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin: 18px 0 0;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(148, 184, 232, 0.95);
  margin: 0 0 14px;
}

.footer-col--links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.footer-col--links a {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  text-decoration: none;
  padding: 0.35rem 0;
  margin: 0;
  border-radius: 6px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
  font-weight: 600;
}

.footer-col--links a:hover {
  color: white;
  background-color: rgba(255, 255, 255, 0.06);
}

/* Rodapé: coluna Atendimento */
.footer-col--atendimento {
  display: flex;
  flex-direction: column;
}

.footer-atendimento {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-atendimento__channel {
  box-sizing: border-box;
  max-width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 10px;
  margin: 0 -10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
}

.footer-atendimento__channel:hover {
  background-color: rgba(255, 255, 255, 0.07);
}

.footer-atendimento__ico {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
}

.footer-atendimento__ico .lucide {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.footer-atendimento__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 2px;
}

.footer-atendimento__title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.25;
}

.footer-atendimento__meta {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.35;
  word-break: break-word;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 22px;
  /* Respiro para o botão fixo do WhatsApp (evita o padding extra no body) */
  padding-bottom: max(22px, calc(4.5rem + env(safe-area-inset-bottom, 0px)));
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
}

.footer-bottom strong {
  color: rgba(255, 255, 255, 0.65);
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  z-index: 150;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: var(--touch-target-min, 44px);
  padding: 0.7rem 1.05rem;
  background: #25d366;
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  border-radius: 999px;
  font-family: var(--font);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.whatsapp-fab:hover {
  filter: brightness(1.06);
}

.whatsapp-fab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .whatsapp-fab {
    padding: 0.75rem;
    border-radius: 50%;
  }

  .whatsapp-fab__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .nav-hotline .live {
    animation: none;
  }
  .login-portal__card {
    animation: none;
  }
}

/* ·· Login (entrar) ·· */
.site-body--auth {
  background: linear-gradient(180deg, var(--bg-softer) 0%, var(--bg) 42%);
}

.site-main--login {
  flex: 1;
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) var(--site-gutter-x) 3.5rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.login-portal {
  width: 100%;
  max-width: 26rem;
}

.login-portal__card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 1.75rem clamp(1.25rem, 4vw, 2rem) 1.5rem;
  animation: loginCardIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes loginCardIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-portal__head {
  margin-bottom: 1.25rem;
}

.login-portal__title {
  margin: 0;
  font-size: clamp(1.35rem, 3.5vw, 1.6rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.2;
}

.login-portal__lede {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.login-portal__cta {
  display: inline-block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  margin-top: 0.5rem;
}

.login-portal__flash {
  margin: 0 0 1.125rem;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  line-height: 1.45;
  border: 1px solid transparent;
}

.login-portal__flash--ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}

.login-portal__flash--err {
  background: var(--red-light);
  border-color: #fecaca;
  color: #991b1b;
}

.login-portal__form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.login-portal__field {
  margin-bottom: 1.125rem;
}

.login-portal__field:last-of-type {
  margin-bottom: 1.25rem;
}

.login-portal__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

.login-portal__input {
  width: 100%;
  padding: 0.8125rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.login-portal__input::placeholder {
  color: #94a3b8;
}

.login-portal__input:hover {
  border-color: #cbd5e1;
}

.login-portal__input:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(26, 64, 128, 0.18);
}

.login-portal__submit {
  width: 100%;
  padding: 0.875rem 1rem;
  border: none;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.12s ease;
}

.login-portal__submit:hover {
  background: var(--navy-mid);
}

.login-portal__submit:active {
  transform: translateY(1px);
}

.login-portal__submit:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 45, 94, 0.28);
}

.login-portal__foot {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.login-portal__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

.login-portal__links a {
  color: var(--navy-mid);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.login-portal__links a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.login-portal__links .sep {
  color: var(--border);
  user-select: none;
}

/* Cotação B2B - Wizard */
.site-body--cotacao {
  background: linear-gradient(180deg, var(--bg-softer) 0%, var(--bg) 50%);
}

.site-main--cotacao {
  flex: 1;
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 2.5rem) var(--site-gutter-x) 3rem;
}

.cotacao-page {
  width: 100%;
}

.cotacao-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

@media (min-width: 900px) {
  .cotacao-page__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
  }

  .cotacao-intro {
    position: sticky;
    top: calc(var(--header-h, 9rem) + 1rem);
  }
}

/* Apresentação — infodesign */
.cotacao-intro {
  min-width: 0;
}

.cotacao-intro__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-mid);
}

.cotacao-intro__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--ink);
}

.cotacao-intro__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 1rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--navy) 10%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--navy) 22%, var(--border));
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy);
}

.cotacao-intro__badge svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.cotacao-intro__lead {
  margin: 0 0 1.5rem;
  max-width: 38ch;
  font-size: 0.975rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.cotacao-intro__benefits {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.cotacao-intro__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink);
}

.cotacao-intro__benefits svg {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--navy-mid);
  stroke-width: 2;
}

.cotacao-intro__scope {
  margin: 0 0 1.5rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.cotacao-intro__contact {
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
}

@media (min-width: 900px) {
  .cotacao-intro {
    padding-right: clamp(0.5rem, 2vw, 1.5rem);
  }
}

.cotacao-intro__contact-lead {
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.cotacao-intro__contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cotacao-intro__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-mid);
  text-decoration: none;
  transition: color 0.15s ease;
}

.cotacao-intro__link:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cotacao-intro__link svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Coluna do formulário */
.cotacao-form-col {
  min-width: 0;
}

.cotacao-wizard-wrap {
  width: 100%;
}

.cotacao-form-col__head {
  margin-bottom: 1rem;
}

.cotacao-form-col__title {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.cotacao-form-col__meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cotacao-wizard {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 1.5rem clamp(1.25rem, 4vw, 2rem) 1.75rem;
  animation: wizardIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes wizardIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cotacao-steps-indicator {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.cotacao-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.25s ease;
}

.cotacao-step-dot--active {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.cotacao-step-dot--active[data-step="3"] {
  border-color: #16a34a;
  background: #16a34a;
}

.cotacao-step-dot--done {
  border-color: var(--navy);
  background: var(--navy);
  color: white;
}

.cotacao-form {
  display: block;
}

.cotacao-step {
  display: none;
  animation: stepIn 0.35s ease both;
}

.cotacao-step--active {
  display: block;
}

@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateX(16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.cotacao-step__title {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}

.cotacao-flash {
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  font-size: 0.875rem;
  line-height: 1.45;
}

.cotacao-flash--hidden {
  display: none;
}

.cotacao-flash--ok {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.cotacao-flash--err {
  background: var(--red-light);
  border: 1px solid #fecaca;
  color: #991b1b;
}

.cotacao-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 1rem;
}

.cotacao-fieldset--checks {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.cotacao-fieldset--invalid {
  border-color: #dc2626;
  background: rgba(220, 38, 38, 0.04);
}

.cotacao-legend {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.cotacao-radio-group {
  display: flex;
  gap: 1.25rem;
}

.cotacao-radio,
.cotacao-check {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.cotacao-radio input,
.cotacao-check input {
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--navy);
}

.cotacao-check + .cotacao-check {
  margin-top: 0.4rem;
}

.cotacao-check--lgpd {
  margin-top: 1rem;
  padding: 0.6rem 0;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease;
}

.cotacao-check--lgpd a {
  color: var(--navy-mid);
  font-weight: 500;
}

.cotacao-check--invalid {
  background: rgba(220, 38, 38, 0.06);
}

.cotacao-field {
  margin-bottom: 1rem;
}

.cotacao-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 480px) {
  .cotacao-row {
    grid-template-columns: 1fr 1fr;
  }
  .cotacao-row .cotacao-field {
    margin-bottom: 0;
  }
}

.cotacao-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.375rem;
}

.cotacao-input {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cotacao-input::placeholder {
  color: #94a3b8;
}

.cotacao-input:hover {
  border-color: #cbd5e1;
}

.cotacao-input:focus {
  outline: none;
  border-color: var(--navy-mid);
  box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.12);
}

.cotacao-input--invalid {
  border-color: #dc2626 !important;
}

.cotacao-textarea {
  resize: vertical;
  min-height: 80px;
}

.cotacao-fielderr {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: #dc2626;
}

.cotacao-nav {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-end;
}

.cotacao-nav--dual {
  justify-content: space-between;
}

.cotacao-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.cotacao-btn--next {
  background: var(--navy);
  color: white;
}

.cotacao-btn--next:hover {
  background: var(--navy-mid);
}

.cotacao-btn--next:active {
  transform: scale(0.98);
}

.cotacao-btn--next:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cotacao-btn--back {
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
}

.cotacao-btn--back:hover {
  background: var(--bg-soft);
  color: var(--text);
}

/* Etapa 3: Sucesso */
.cotacao-step--success {
  padding: 1.5rem 0;
}

.cotacao-success {
  text-align: center;
}

.cotacao-success__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.cotacao-success__icon svg {
  stroke: white;
  animation: successCheck 0.4s ease 0.2s both;
}

@keyframes successPop {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes successCheck {
  from {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    opacity: 0;
  }
  to {
    stroke-dasharray: 30;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

.cotacao-success__title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.cotacao-success__text {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cotacao-success .cotacao-btn--back {
  display: inline-flex;
  text-decoration: none;
}

/* Loja: catálogo, carrinho, checkout */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.btn-cta:hover {
  background: var(--navy-mid);
  color: white;
  transform: scale(1.02);
}

.btn-cta:focus-visible,
.btn-cta-secondary:focus-visible,
.action-btn:focus-visible,
.btn-search:focus-visible {
  outline: 2px solid var(--navy-mid);
  outline-offset: 2px;
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  background: var(--bg-soft);
  color: var(--navy);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-cta-secondary:hover {
  border-color: var(--navy);
  background: white;
  color: var(--navy);
}

.loja-catalogo__back {
  margin: var(--space-6) 0 0;
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.loja-catalogo__intro {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 560px;
}

.loja-catalogo-layout {
  display: grid;
  grid-template-columns: minmax(220px, 260px) 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

@media (max-width: 768px) {
  .loja-catalogo-layout {
    grid-template-columns: 1fr;
  }
}

.loja-catalogo-filters {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.15rem;
  background: var(--bg-soft);
}

.loja-catalogo-filters__title {
  font-size: 1rem;
  margin: 0 0 1rem;
  color: var(--ink);
}

.loja-catalogo-filters__list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.loja-catalogo-filters__list li + li {
  margin-top: 0.35rem;
}

.loja-catalogo-filters__link {
  display: block;
  padding: 0.45rem 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.loja-catalogo-filters__link:hover {
  background: rgba(9, 46, 122, 0.06);
}

.loja-catalogo-filters__link--active {
  background: var(--navy);
  color: #fff;
}

.loja-catalogo-filters__link--active:hover {
  background: var(--navy);
  color: #fff;
}

.loja-catalogo-filters__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.loja-catalogo-filters__input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  margin-bottom: 0.65rem;
}

.loja-catalogo-filters__submit {
  width: 100%;
  justify-content: center;
}

.loja-catalogo-main {
  min-width: 0;
}

.loja-catalogo-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.loja-catalogo-toolbar__count {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.loja-catalogo-view-toggle {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.loja-catalogo-view-btn {
  padding: 8px 14px;
  border: none;
  background: var(--bg-soft);
  color: var(--navy);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.loja-catalogo-view-btn + .loja-catalogo-view-btn {
  border-left: 1px solid var(--border);
}

.loja-catalogo-view-btn:hover {
  background: white;
}

.loja-catalogo-view-btn--active,
.loja-catalogo-view-btn[aria-pressed='true'] {
  background: var(--navy);
  color: #fff;
}

.loja-catalogo-view-btn--active:hover,
.loja-catalogo-view-btn[aria-pressed='true']:hover {
  background: var(--navy);
  color: #fff;
}

.loja-catalogo-root[data-view='grid'] .loja-catalogo-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--site-grid-card-min)), 1fr));
  gap: var(--site-grid-gap);
  align-items: stretch;
}

.loja-catalogo-root[data-view='list'] .loja-catalogo-items {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 18px);
}

.loja-catalogo-root[data-view='list'] .loja-card {
  display: grid;
  grid-template-columns: minmax(108px, 140px) minmax(0, 1fr) minmax(168px, 220px);
  gap: 0 1.15rem;
  align-items: center;
  overflow: hidden;
}

.loja-catalogo-root[data-view='list'] .loja-card__img {
  align-self: stretch;
}

.loja-catalogo-root[data-view='list'] .loja-card__img img {
  height: 100%;
  min-height: 112px;
  max-height: 168px;
  width: 100%;
  object-fit: cover;
}

.loja-catalogo-root[data-view='list'] .loja-card__text {
  padding: 1rem 0;
  min-width: 0;
}

.loja-catalogo-root[data-view='list'] .loja-card__desc:last-child {
  margin-bottom: 0;
}

.loja-catalogo-root[data-view='list'] .loja-card__buy {
  padding: 1rem 1rem 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.65rem;
}

.loja-catalogo-root[data-view='list'] .loja-card__price {
  margin: 0;
  text-align: right;
}

.loja-catalogo-root[data-view='list'] .loja-card__form {
  margin-top: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
  width: 100%;
}

.loja-catalogo-root[data-view='list'] .loja-card__btn {
  flex: 0 1 auto;
  min-width: 108px;
}

@media (max-width: 640px) {
  .loja-catalogo-root[data-view='list'] .loja-card {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
  }

  .loja-catalogo-root[data-view='list'] .loja-card__img img {
    max-height: 200px;
    min-height: 140px;
  }

  .loja-catalogo-root[data-view='list'] .loja-card__text {
    padding: 1rem 1.1rem 0.35rem;
  }

  .loja-catalogo-root[data-view='list'] .loja-card__buy {
    align-items: stretch;
    padding: 0 1.1rem 1.15rem;
  }

  .loja-catalogo-root[data-view='list'] .loja-card__price {
    text-align: left;
  }

  .loja-catalogo-root[data-view='list'] .loja-card__form {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .loja-catalogo-root[data-view='list'] .loja-card__btn {
    flex: 1;
    min-width: 120px;
  }
}

.loja-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.loja-catalogo-root[data-view='grid'] .loja-card {
  height: 100%;
}

.loja-catalogo-root[data-view='grid'] .loja-catalogo-items > .loja-card {
  display: flex;
  flex-direction: column;
}

.loja-card__img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.loja-card__text {
  padding: 1rem 1.1rem 0.35rem;
  flex: 1;
  min-width: 0;
}

.loja-card__buy {
  padding: 0 1.1rem 1.25rem;
}

.loja-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--ink);
}

.loja-card .cesta-itens {
  margin-bottom: 0.65rem;
}

.loja-cesta-pdp .cesta-itens {
  margin-bottom: 1rem;
}

.loja-card__desc {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 0.75rem;
  line-height: 1.45;
}

.loja-card__price {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 1rem;
}

.loja-card__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.loja-card__qty {
  width: 56px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
}

.loja-card__btn {
  flex: 1;
  min-width: 120px;
}

.loja-catalogo-vazio {
  color: var(--text-muted);
}

.loja-flash {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin: 0 0 1rem;
}

.loja-flash--erro {
  background: var(--red-light);
  color: var(--red);
  border: 1px solid rgba(196, 30, 30, 0.2);
}

.loja-flash--ok {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid rgba(4, 120, 87, 0.2);
}

.loja-erros {
  margin: 0 0 1rem 1.2rem;
}

.loja-remove-form {
  display: none;
}

/* Fluxo loja: carrinho, checkout, confirmação */
.loja-flow__head {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.loja-flow__title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.loja-flow__meta {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.loja-flow__meta strong {
  color: var(--navy);
  font-weight: 600;
}

.loja-flow__empty {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--text-muted);
}

.loja-flow__empty .btn-cta {
  margin-top: 1rem;
}

/* Carrinho — sugestões */
.loja-carrinho-sugeridas {
  margin-top: 0;
}

.loja-carrinho-sugeridas__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.loja-carrinho-sugeridas__title {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.loja-carrinho-sugeridas__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-mid);
  text-decoration: none;
  white-space: nowrap;
}

.loja-carrinho-sugeridas__link:hover {
  text-decoration: underline;
}

.loja-carrinho-sugeridas__grid.loja-catalogo-root[data-view='grid'] .loja-catalogo-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: var(--site-grid-gap);
  align-items: stretch;
}

@media (min-width: 900px) {
  .loja-carrinho-sugeridas__grid.loja-catalogo-root[data-view='grid'] .loja-catalogo-items {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Carrinho */
.site-card.loja-carrinho {
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.loja-carrinho__page-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.loja-carrinho__page-title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.6rem);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.loja-carrinho__page-meta {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.loja-carrinho__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2rem);
  align-items: start;
}

@media (min-width: 900px) {
  .loja-carrinho__layout {
    grid-template-columns: minmax(0, 1fr) min(20rem, 32%);
  }
}

.loja-carrinho__items {
  min-width: 0;
}

.loja-carrinho__aside {
  min-width: 0;
}

@media (min-width: 900px) {
  .loja-carrinho__aside {
    position: sticky;
    top: calc(var(--header-h, 9rem) + 1rem);
  }
}

.loja-cart-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  overflow: hidden;
}

.loja-cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.loja-cart-item {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0.75rem 1rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--border);
  align-items: start;
}

.loja-cart-item:last-child {
  border-bottom: none;
}

.loja-cart-item__thumb {
  grid-row: 1 / -1;
  display: block;
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-soft);
}

.loja-cart-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.loja-cart-item__main {
  grid-column: 2;
  min-width: 0;
}

.loja-cart-item__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.loja-cart-item__title-block {
  min-width: 0;
}

.loja-cart-item__name {
  display: block;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.35;
}

.loja-cart-item__name:hover {
  text-decoration: underline;
}

.loja-cart-item__unit {
  margin: 0.2rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.loja-cart-item__badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #0d5c36;
  background: #e8f4ec;
  border-radius: 999px;
  vertical-align: middle;
}

.loja-cart-item__remove {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.loja-cart-item__remove:hover {
  color: var(--red);
}

.loja-cart-item__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.loja-cart-item__field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin: 0;
  min-width: 0;
}

.loja-cart-item__field--qty {
  width: 4.25rem;
  flex-shrink: 0;
}

.loja-cart-item__field-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.loja-cart-item__field select,
.loja-qty-input {
  min-height: 2.25rem;
  padding: 0.35rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.875rem;
  background: var(--bg-softer);
  color: var(--text);
}

.loja-cart-item__field select {
  min-width: 9.5rem;
  max-width: 100%;
}

.loja-qty-input {
  width: 100%;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.loja-cart-item__field select:focus-visible,
.loja-qty-input:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--navy) 40%, transparent);
  outline-offset: 1px;
  border-color: var(--navy-mid);
  background: var(--bg);
}

.loja-cart-item__price {
  grid-column: 2;
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.loja-cart-item__price-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.1rem;
}

.loja-cart-item__price strong {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}

.loja-carrinho__form--saving {
  opacity: 0.65;
  pointer-events: none;
}

.loja-cart-summary__title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
}

.loja-cart-summary {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.loja-cart-summary__lines {
  margin: 0 0 1rem;
  padding: 0;
}

.loja-cart-summary__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  font-size: 0.875rem;
}

.loja-cart-summary__line + .loja-cart-summary__line {
  border-top: 1px solid var(--border);
}

.loja-cart-summary__line dt {
  margin: 0;
  font-weight: 500;
  color: var(--text-muted);
}

.loja-cart-summary__line dd {
  margin: 0;
  font-weight: 600;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.loja-cart-summary__line--desconto dd {
  color: #047857;
}

.loja-cart-summary__line--muted dd {
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 11rem;
}

.loja-cart-summary__line--total {
  margin-top: 0.5rem;
  padding-top: 0.85rem;
  border-top: 1.5px solid var(--border);
}

.loja-cart-summary__line--total dt {
  font-weight: 600;
  color: var(--navy);
}

.loja-cart-summary__line--total dd {
  font-size: 1.25rem;
  font-weight: 700;
}

.loja-cart-cupom {
  margin-bottom: 1rem;
  padding: 0.85rem;
  border-radius: var(--radius-md);
  background: var(--bg-softer);
  border: 1px solid var(--border);
}

.loja-cart-cupom__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.loja-cart-cupom__row {
  display: flex;
  gap: 0.5rem;
}

.loja-cart-cupom__input {
  flex: 1;
  min-width: 0;
  min-height: 2.5rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.875rem;
  background: var(--bg);
}

.loja-cart-cupom__input:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--navy) 40%, transparent);
  outline-offset: 1px;
  border-color: var(--navy-mid);
}

.loja-cart-cupom__btn {
  flex-shrink: 0;
  min-height: 2.5rem;
  padding: 0 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
}

.loja-cart-cupom__btn:hover {
  border-color: var(--navy-mid);
  background: var(--bg-soft);
}

.loja-cart-cupom__applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.loja-cart-cupom__applied-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

.loja-cart-cupom__applied-text strong {
  display: block;
  color: #047857;
  font-weight: 700;
}

.loja-cart-cupom__applied-text span {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.loja-cart-cupom__remove {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: underline;
  white-space: nowrap;
}

.loja-cart-cupom__remove:hover {
  color: var(--red);
}

.loja-cart-summary__note {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.loja-cart-summary__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.loja-cart-summary__actions .btn-cta,
.loja-cart-summary__actions .btn-cta-secondary {
  width: 100%;
  min-height: 2.75rem;
  justify-content: center;
  text-align: center;
  font-size: 0.9375rem;
}

.loja-cart-summary__checkout {
  font-weight: 600;
}

.loja-carrinho__aviso-assinatura {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--ink);
  background: #f0f6fc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

@media (min-width: 640px) {
  .loja-cart-item {
    grid-template-columns: 5rem minmax(0, 1fr) auto;
    grid-template-rows: auto;
    align-items: center;
  }

  .loja-cart-item__thumb {
    grid-row: auto;
  }

  .loja-cart-item__price {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    padding-top: 0.15rem;
  }

  .loja-cart-item__main {
    grid-column: 2;
  }
}

@media (max-width: 639px) {
  .loja-cart-item {
    grid-template-columns: 4.5rem minmax(0, 1fr);
  }

  .loja-cart-item__thumb {
    width: 4.5rem;
    height: 4.5rem;
  }

  .loja-cart-item__price {
    grid-column: 1 / -1;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.25rem;
    border-top: 1px dashed var(--border);
  }

  .loja-cart-item__price-label {
    margin: 0;
  }
}

.loja-checkout__resumo {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.loja-checkout__aviso {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin: 0 0 1.25rem;
}

.loja-card__title-link {
  color: inherit;
  text-decoration: none;
}

.loja-card__title-link:hover {
  text-decoration: underline;
}

/* PDP cesta — dentro de .site-card + .site-main--narrow (shell alinhado ao catálogo) */
.loja-cesta-pdp__back {
  margin: 0 0 var(--space-5);
  font-size: 0.9rem;
}

.loja-cesta-pdp__back a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
}

.loja-cesta-pdp__back a:hover {
  text-decoration: underline;
}

.loja-cesta-pdp__grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 1024px) {
  .loja-cesta-pdp__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: start;
    gap: var(--space-8);
  }
}

.loja-cesta-pdp__col--visual {
  min-width: 0;
}

.loja-cesta-pdp__gallery {
  margin-bottom: var(--space-6);
}

.loja-cesta-pdp__hero-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.loja-cesta-pdp__hero-img {
  width: 100%;
  max-height: min(520px, 70vh);
  min-height: 280px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.loja-cesta-pdp__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.loja-cesta-pdp__thumb {
  padding: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-soft);
}

.loja-cesta-pdp__thumb.is-active {
  border-color: var(--navy);
}

.loja-cesta-pdp__thumb img {
  width: 72px;
  height: 48px;
  object-fit: cover;
  display: block;
}

.loja-cesta-pdp__title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 var(--space-3);
  color: var(--ink);
  line-height: 1.25;
  scroll-margin-top: calc(var(--header-h) + var(--space-4));
}

.loja-cesta-pdp__meta {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 var(--space-3);
}

.loja-cesta-pdp__desc {
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 var(--space-4);
  font-size: 15px;
}

.loja-cesta-pdp__price {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.loja-cesta-pdp__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: 0 0 var(--space-5);
}

.loja-cesta-pdp__hint {
  font-size: 13px;
  color: var(--text-muted);
  margin: var(--space-4) 0 0;
  line-height: 1.5;
}

.loja-cesta-pdp__comp-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 var(--space-3);
  color: var(--ink);
}

.loja-cesta-pdp__purchase-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 var(--space-3);
  color: var(--ink);
}

.loja-cesta-pdp__col--buy {
  position: sticky;
  top: calc(var(--header-h) + var(--space-4));
  align-self: start;
  max-height: calc(100dvh - var(--header-h) - var(--space-4) * 2);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}

.loja-cesta-pdp__itens-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 0.75rem;
  font-size: 14px;
  color: var(--text-muted);
}

.loja-cesta-pdp__itens-count {
  font-weight: 500;
  color: var(--ink);
}

.loja-cesta-pdp__itens-unidades {
  font-weight: 400;
  color: var(--text-muted);
}

.loja-cesta-pdp__ver-lista {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  background: var(--bg-soft);
}

.loja-cesta-pdp__ver-lista:hover {
  text-decoration: underline;
}

.loja-cesta-pdp__price-block {
  margin-bottom: 1.25rem;
}

.loja-cesta-pdp__price-note {
  font-size: 13px;
  color: var(--green, #0d7a4a);
  margin: 0.35rem 0 0;
  line-height: 1.4;
}

.loja-cesta-pdp__field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--ink);
}

.loja-pdp-modalidade {
  border: none;
  margin: 0 0 var(--space-5);
  padding: 0;
  min-width: 0;
}

.loja-pdp-modalidade legend {
  padding: 0;
}

.loja-pdp-purchase-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.loja-pdp-purchase-card {
  position: relative;
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-softer);
  cursor: pointer;
  transition:
    border-color 0.15s ease,
    background-color 0.15s ease,
    box-shadow 0.15s ease;
}

.loja-pdp-purchase-card:hover {
  border-color: #cbd5e1;
  background: #fff;
}

.loja-pdp-purchase-card.is-selected {
  border-color: var(--navy);
  background: #f0f5fc;
  box-shadow: var(--shadow-sm);
}

.loja-pdp-purchase-card:focus-within {
  outline: 2px solid var(--navy-mid);
  outline-offset: 2px;
}

.loja-pdp-purchase-card.is-selected:focus-within {
  outline: none;
}

.loja-pdp-purchase-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.loja-pdp-purchase-card__ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--navy);
}

.loja-pdp-purchase-card.is-selected .loja-pdp-purchase-card__ico {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.loja-pdp-purchase-card__ico .lucide {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.loja-pdp-purchase-card__body {
  flex: 1;
  min-width: 0;
}

.loja-pdp-purchase-card__title {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 var(--space-1);
  line-height: 1.3;
}

.loja-pdp-purchase-card__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .loja-pdp-purchase-options {
    grid-template-columns: 1fr;
  }
}

.loja-cesta-pdp__buy-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.loja-cesta-pdp__counter {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
}

.loja-cesta-pdp__counter-btn {
  width: 40px;
  height: 44px;
  border: none;
  background: var(--bg-soft);
  font-size: 18px;
  cursor: pointer;
  color: var(--navy);
}

.loja-cesta-pdp__counter-btn:hover {
  background: var(--border);
}

.loja-cesta-pdp__counter-input {
  width: 48px;
  height: 44px;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  -moz-appearance: textfield;
}

.loja-cesta-pdp__counter-input::-webkit-outer-spin-button,
.loja-cesta-pdp__counter-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.loja-cesta-pdp__btn {
  flex: 1;
  min-width: 140px;
  min-height: 44px;
}

.loja-cesta-pdp__frete {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-soft);
  margin-bottom: 1rem;
}

.loja-cesta-pdp__frete-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 0.65rem;
}

.loja-cesta-pdp__frete-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.5rem;
}

.loja-cesta-pdp__frete-label {
  flex: 1;
  min-width: 140px;
  margin: 0;
}

.loja-cesta-pdp__frete-cep {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
}

.loja-cesta-pdp__frete-btn {
  align-self: flex-end;
  white-space: nowrap;
}

.loja-cesta-pdp__frete-result {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.45;
}

.loja-cesta-pdp__comp {
  margin: 0;
  padding-top: 0;
  border-top: none;
}

.loja-cesta-pdp__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.loja-cesta-pdp__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.loja-cesta-pdp__table th,
.loja-cesta-pdp__table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.loja-cesta-pdp__table thead th {
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  background: var(--bg-soft);
  white-space: nowrap;
}

.loja-cesta-pdp__table tbody tr:last-child td {
  border-bottom: none;
}

.loja-cesta-pdp__th-num,
.loja-cesta-pdp__td-num {
  width: 4rem;
  text-align: center;
  white-space: nowrap;
}

.loja-cesta-pdp__th-peso,
.loja-cesta-pdp__td-peso {
  width: 6.5rem;
  text-align: right;
  white-space: nowrap;
  color: var(--text-muted);
}

.loja-cesta-pdp__td-desc {
  min-width: 8rem;
}

.loja-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loja-lightbox[hidden] {
  display: none !important;
}

body.loja-lightbox-open {
  overflow: hidden;
}

.loja-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
}

.loja-lightbox__panel {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 960px);
  max-height: 90vh;
  margin: 1rem;
}

.loja-lightbox__img {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-md);
}

.loja-lightbox__close {
  position: absolute;
  top: -40px;
  right: 0;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.loja-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}

.loja-lightbox__nav--prev {
  left: -56px;
}

.loja-lightbox__nav--next {
  right: -56px;
}

/* Mobile / tablet: galeria → compra + frete → composição */
@media (max-width: 1023px) {
  .loja-cesta-pdp__grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
  }

  .loja-cesta-pdp__col--visual {
    display: contents;
  }

  .loja-cesta-pdp__gallery {
    order: 1;
    margin-bottom: 0;
  }

  .loja-cesta-pdp__col--buy {
    order: 2;
    position: static;
    max-height: none;
    overflow: visible;
  }

  .loja-cesta-pdp__comp {
    order: 3;
  }
}

@media (max-width: 768px) {
  .loja-lightbox__nav--prev {
    left: 8px;
  }

  .loja-lightbox__nav--next {
    right: 8px;
  }
}

.loja-cesta-pdp--404 p {
  color: var(--text-muted);
}

.loja-checkout__panel .loja-checkout__form {
  padding: 1.15rem;
}

.loja-checkout-order {
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg);
  overflow: hidden;
}

.loja-checkout-order__title {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
}

.loja-cart-list--checkout .loja-cart-item--checkout {
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  grid-template-rows: auto;
  gap: 0.65rem 0.75rem;
  padding: 0.75rem 1rem;
  align-items: center;
}

.loja-cart-list--checkout .loja-cart-item__thumb {
  grid-row: 1;
  width: 3.5rem;
  height: 3.5rem;
}

.loja-cart-list--checkout .loja-cart-item__main--checkout {
  grid-column: 2;
}

.loja-cart-list--checkout .loja-cart-item__price--checkout {
  grid-column: 3;
  grid-row: 1;
  margin: 0;
  text-align: right;
  align-self: center;
}

.loja-cart-list--checkout .loja-cart-item__price--checkout strong {
  font-size: 0.95rem;
}

.loja-carrinho__aside .loja-cart-summary {
  margin-top: 0;
}

.loja-checkout__aviso--assinatura {
  background: #e8f4ec;
  border: 1px solid #b8dfc8;
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 1rem;
}

.loja-checkout__frete-hint {
  font-size: 13px;
  color: var(--text-muted);
  margin: -0.5rem 0 1rem;
}

.loja-checkout__cupom-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #047857;
}

.loja-checkout__form label {
  display: block;
  margin-bottom: 1rem;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.loja-checkout__form {
  max-width: 100%;
}

.loja-checkout__form input,
.loja-checkout__form textarea,
.loja-checkout__form select {
  display: block;
  width: 100%;
  max-width: none;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  box-sizing: border-box;
}

.loja-checkout__form input:focus-visible,
.loja-checkout__form textarea:focus-visible,
.loja-checkout__form select:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--navy) 50%, transparent);
  outline-offset: 1px;
  border-color: var(--navy-mid);
}

.loja-checkout__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
  align-items: center;
}

.loja-confirmado__hint {
  color: var(--text-muted);
  max-width: 520px;
}

/* Doação — catálogo */
.loja-catalogo--doacao .loja-doacao-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 1.25rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-md);
  background: var(--surface-2, #f4f6fa);
  border: 1px solid var(--border);
}

.loja-doacao-bar__msg {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.loja-doacao-bar__msg strong {
  color: var(--text, inherit);
}

.loja-doacao-bar__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.loja-doacao-bar__form--select select {
  min-width: min(100%, 14rem);
  max-width: 22rem;
}

.loja-doacao-bar__link {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.loja-doacao-bar__link:hover {
  color: var(--primary-dark, var(--primary));
}

.loja-doacao-banner {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--primary) 7%, var(--bg));
  border: 1px solid color-mix(in srgb, var(--primary) 20%, var(--border));
}

.loja-doacao-banner--checkout {
  margin-bottom: 1rem;
}

.loja-doacao-banner__label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.loja-doacao-banner__nome {
  margin: 0.2rem 0 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.loja-doacao-banner__hint {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.loja-doacao-banner__link {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
}

.loja-checkout__fieldset {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.loja-checkout__fieldset legend {
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding: 0;
}

.loja-checkout__aviso--doacao {
  margin-bottom: 1rem;
}

/* Instituições parceiras */
.instituicoes-page__head {
  margin-bottom: 2rem;
}

.instituicoes-page__head h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  letter-spacing: -0.03em;
}

.instituicoes-page__lead {
  margin: 0;
  max-width: 42rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.instituicoes-grid {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--site-grid-card-min)), 1fr));
  gap: var(--site-grid-gap);
  align-items: stretch;
}

.instituicao-card {
  height: 100%;
}

.instituicao-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.instituicao-card__link:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.instituicao-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--surface-2, #f4f6fa);
  overflow: hidden;
}

.instituicao-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.instituicao-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1.15rem 1.25rem;
  flex: 1;
}

.instituicao-card__tipo {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
}

.instituicao-card__nome {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.instituicao-card__loc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.instituicao-card__resumo {
  margin: 0.25rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
  flex: 1;
}

.instituicao-card__cta {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
}

.instituicoes-page__back {
  margin: 0;
  font-size: 0.9rem;
}

.instituicao-detalhe__back {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

.instituicao-detalhe__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 1.5rem;
}

.instituicao-detalhe__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  background: var(--surface-2, #f4f6fa);
}

.instituicao-detalhe__media img {
  display: block;
  width: 100%;
  height: auto;
}

.instituicao-detalhe__tipo {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.instituicao-detalhe__head h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
}

.instituicao-detalhe__loc,
.instituicao-detalhe__lead {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.instituicao-detalhe__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-top: 1rem;
}

.instituicao-detalhe__wa {
  font-size: 0.875rem;
}

@media (max-width: 720px) {
  .instituicao-detalhe__head {
    grid-template-columns: 1fr;
  }
}

/* ——— Área do comprador (site/conta) ——— */
.conta-area {
  max-width: 42rem;
  margin-inline: auto;
}

.conta-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.conta-nav__link {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  background: var(--bg-softer);
  border: 1px solid transparent;
}

.conta-nav__link:hover {
  border-color: var(--border);
}

.conta-nav__link.is-active {
  background: var(--navy);
  color: #fff;
}

.conta-area__head {
  margin-bottom: 1rem;
}

.conta-area__hint {
  margin: -0.5rem 0 1rem;
}

.conta-resumo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--site-grid-gap, 1rem);
  margin-bottom: 1.5rem;
}

@media (max-width: 560px) {
  .conta-resumo-grid {
    grid-template-columns: 1fr;
  }
}

.conta-resumo-card {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-softer);
}

.conta-resumo-card__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.conta-resumo-card__value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.conta-resumo-card__link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.conta-resumo-card__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.conta-section {
  margin-bottom: 1.5rem;
}

.conta-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.conta-section__title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy);
}

.conta-section__link {
  font-size: 0.875rem;
  font-weight: 600;
}

.conta-empty {
  padding: 1.25rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--bg-softer);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border);
}

.conta-pedidos-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.conta-pedidos-list__link {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.conta-pedidos-list__link:hover {
  border-color: rgba(9, 46, 122, 0.25);
  box-shadow: var(--shadow-sm);
}

.conta-pedidos-list__id {
  font-weight: 700;
  color: var(--navy);
}

.conta-pedidos-list__meta {
  font-size: 0.8125rem;
  color: var(--text-muted);
  flex: 1 1 100%;
}

.conta-pedido-status {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.conta-pedido-status--novo {
  background: #e8eef8;
  color: #092e7a;
}

.conta-pedido-status--em_separacao {
  background: #fff8e6;
  color: #8a5a00;
}

.conta-pedido-status--entregue {
  background: #e6f4ea;
  color: #1e6b3a;
}

.conta-pedido-status--cancelado {
  background: #fde8e6;
  color: #9b1c1c;
}

.conta-table-wrap {
  overflow-x: auto;
  margin-bottom: 0.5rem;
}

.conta-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.conta-table th,
.conta-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}

.conta-table th {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.conta-table__num {
  text-align: right;
  white-space: nowrap;
}

.conta-dl {
  display: grid;
  grid-template-columns: minmax(6rem, 8rem) 1fr;
  gap: 0.5rem 1rem;
  margin: 0;
}

.conta-dl dt {
  margin: 0;
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.conta-dl dd {
  margin: 0;
}

.conta-pedido-obs {
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  background: var(--bg-softer);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
}

.conta-pedido-aviso {
  padding: 1rem 1.1rem;
  background: var(--bg-softer);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.conta-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.875rem;
}

.conta-form label input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font: inherit;
  box-sizing: border-box;
}

.conta-form label input:disabled {
  background: var(--bg-softer);
  color: var(--text-muted);
}

.conta-area__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.loja-confirmado__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.conta-link-muted {
  font-size: 0.875rem;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .conta-table thead {
    display: none;
  }

  .conta-table tr {
    display: block;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
  }

  .conta-table td {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border: none;
    padding: 0.35rem 0;
  }

  .conta-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
  }

  .conta-table__num {
    text-align: right;
  }
}

/* Fase 4 — motion reduzido (HIG) */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .cesta-card:hover,
  .cat-pill:hover,
  .loja-card:hover,
  .instituicao-card__link:hover,
  .btn-cta:hover {
    transform: none;
  }
}

/* Diagnóstico SMTP (teste-email.php) */
.email-diag__card {
  max-width: 36rem;
}

.email-diag__panel {
  margin-top: 1.25rem;
}

.email-diag__subtitle {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.email-diag__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.email-diag__table th,
.email-diag__table td {
  padding: 0.5rem 0.65rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.email-diag__table th {
  width: 42%;
  font-weight: 600;
  color: var(--text-muted);
}

.email-diag__status--ok {
  color: #166534;
  font-weight: 600;
}

.email-diag__status--err {
  color: #b91c1c;
  font-weight: 600;
}

.email-diag__avisos {
  margin-top: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  font-size: 0.8125rem;
}

.email-diag__avisos ul {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
}

.email-diag__actions {
  margin-top: 1rem;
}

.email-diag__btn {
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

.email-diag__passos {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.email-diag__hint {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.email-diag__hint code {
  font-size: 0.75rem;
}
