/* ==========================================================================
   Gisele Moraes Confeitaria — Campanha de Natal 2026
   Identidade Visual Fiel ao Cardápio PDF (Borgonha, Pergaminho, Dourado)
   ========================================================================== */

:root {
  --burgundy: #751220;
  --burgundy-dark: #550C17;
  --burgundy-light: #8F1B2C;
  --parchment: #F4ECE0;
  --parchment-alt: #EDE3D3;
  --cream: #FBF7F0;
  --gold: #C6A366;
  --gold-dark: #A58143;
  --gold-soft: rgba(198, 163, 102, 0.35);
  --cocoa: #341E15;
  --cocoa-soft: #6B5144;
  --white: #FFFFFF;
  --success: #1F7A4D;
  --danger: #B42318;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-editorial: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 12px 32px rgba(52, 30, 21, 0.08);
  --shadow-card: 0 16px 38px rgba(52, 30, 21, 0.12);
  --transition: 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--parchment);
  color: var(--cocoa);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Banner de Urgência ---------- */
.urgency-bar {
  position: sticky;
  top: 0;
  z-index: 90;
  background: linear-gradient(90deg, var(--burgundy-dark), var(--burgundy), var(--burgundy-dark));
  color: var(--cream);
  border-bottom: 1px solid var(--gold);
  padding: 8px 0;
}

.urgency-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
}

.urgency-text {
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.urgency-text strong {
  color: #F2D7A4;
}

.countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--gold-soft);
  padding: 4px 12px;
  border-radius: 999px;
}

.cd-unit {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.cd-unit span {
  font-weight: 700;
  font-size: 0.88rem;
  color: #F5DCA8;
  font-variant-numeric: tabular-nums;
}

.cd-unit small {
  font-size: 0.68rem;
  opacity: 0.8;
  text-transform: uppercase;
}

.cd-sep {
  opacity: 0.5;
  font-weight: 600;
}

/* ---------- Header ---------- */
.site-header {
  background: rgba(251, 247, 240, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(198, 163, 102, 0.35);
  position: sticky;
  top: 42px;
  z-index: 80;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-ornament {
  color: var(--gold-dark);
  font-size: 1.25rem;
}

.brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--burgundy);
  line-height: 1.1;
}

.brand-sub {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  color: var(--cocoa-soft);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--cocoa);
  transition: color var(--transition);
}

.main-nav a:hover {
  color: var(--burgundy);
}

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--burgundy);
  color: var(--cream);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  box-shadow: 0 6px 18px rgba(117, 18, 32, 0.22);
}

.cart-trigger:hover {
  background: var(--burgundy-light);
  transform: translateY(-1px);
}

.cart-badge {
  background: var(--gold);
  color: var(--burgundy-dark);
  font-weight: 700;
  font-size: 0.76rem;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.cart-total-pill {
  font-size: 0.8rem;
  color: #F5DCA8;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
  padding-left: 8px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.94rem;
}

.btn-block {
  width: 100%;
}

.btn-gold {
  background: linear-gradient(135deg, #D8B77A, #B78F4D);
  color: var(--burgundy-dark);
  border-color: #E7CC98;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.btn-gold:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.btn-burgundy {
  background: var(--burgundy);
  color: var(--cream);
  border-color: var(--burgundy);
}

.btn-burgundy:hover {
  background: var(--burgundy-light);
  transform: translateY(-1px);
}

.btn-outline-cream {
  background: transparent;
  color: var(--cream);
  border-color: rgba(245, 220, 168, 0.65);
}

.btn-outline-cream:hover {
  background: rgba(245, 220, 168, 0.12);
}

.btn-outline-burgundy {
  background: transparent;
  color: var(--burgundy);
  border-color: rgba(117, 18, 32, 0.35);
}

.btn-outline-burgundy:hover {
  background: rgba(117, 18, 32, 0.06);
  border-color: var(--burgundy);
}

/* ---------- Hero Editorial (Capa do PDF) ---------- */
.hero-section {
  background: radial-gradient(circle at 25% 20%, #891829 0%, var(--burgundy) 55%, var(--burgundy-dark) 100%);
  color: var(--cream);
  padding: 22px;
}

.hero-frame {
  border: 1px solid var(--gold);
  outline: 1px solid rgba(198, 163, 102, 0.45);
  outline-offset: -8px;
  padding: 54px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.ornament-row {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}

.hero-eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #F2D7A4;
  margin-bottom: 10px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  font-weight: 700;
  line-height: 1.06;
  color: var(--cream);
  margin-bottom: 16px;
}

.hero-title em {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 500;
  color: #F2D7A4;
}

.ornament-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  margin-bottom: 20px;
  color: var(--gold);
}

.ornament-divider span {
  flex: 1;
  height: 1px;
  background: var(--gold-soft);
}

.ornament-divider i {
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
}

.hero-subtitle {
  font-family: var(--font-editorial);
  font-size: 1.28rem;
  line-height: 1.5;
  color: rgba(251, 247, 240, 0.92);
  max-width: 520px;
  margin-bottom: 12px;
}

.hero-tagline {
  font-size: 0.9rem;
  color: #F2D7A4;
  margin-bottom: 28px;
  letter-spacing: 0.08em;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  font-size: 0.8rem;
  color: rgba(251, 247, 240, 0.86);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-icon {
  color: var(--gold);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

/* Moldura em Arco Dourado (Assinatura Visual do PDF) */
.arch-frame {
  position: relative;
  border-radius: 260px 260px 10px 10px;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: #EFE7D8;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.35);
}

.hero-arch {
  width: 100%;
  max-width: 390px;
  aspect-ratio: 4 / 4.7;
}

.hero-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(85, 12, 23, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 10px 14px;
  text-align: center;
}

.hero-float-badge span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #F2D7A4;
}

.hero-float-badge strong {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--cream);
}

/* ---------- Catálogo (Pergaminho Artesanal) ---------- */
.catalog-section {
  padding: 72px 0 84px;
  background:
    radial-gradient(circle at 10% 10%, rgba(198, 163, 102, 0.08), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(117, 18, 32, 0.05), transparent 45%),
    var(--parchment);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.section-header.compact {
  margin-bottom: 32px;
}

.section-eyebrow {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--burgundy);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  color: var(--cocoa);
  font-weight: 700;
  line-height: 1.15;
}

.gold-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 240px;
  margin: 14px auto;
  color: var(--gold-dark);
}

.gold-rule span {
  flex: 1;
  height: 1px;
  background: var(--gold);
}

.gold-rule i {
  font-style: normal;
  font-size: 0.85rem;
}

.section-desc {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--cocoa-soft);
}

.category-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.filter-pill {
  background: var(--cream);
  color: var(--cocoa);
  border: 1px solid rgba(198, 163, 102, 0.55);
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-pill:hover {
  border-color: var(--burgundy);
  color: var(--burgundy);
}

.filter-pill.active {
  background: var(--burgundy);
  color: var(--cream);
  border-color: var(--burgundy);
}

.catalog-group {
  margin-bottom: 58px;
}

.catalog-group:last-child {
  margin-bottom: 0;
}

.group-heading {
  text-align: center;
  margin-bottom: 30px;
}

.group-ornament {
  color: var(--gold-dark);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  margin-bottom: 6px;
}

.group-heading h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
}

.group-heading p {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--cocoa-soft);
  margin-top: 4px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

/* Card de Produto */
.product-card {
  background: var(--cream);
  border: 1px solid rgba(198, 163, 102, 0.45);
  border-radius: var(--radius-lg);
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--gold);
}

.product-media {
  position: relative;
  border-radius: 180px 180px 10px 10px;
  overflow: hidden;
  border: 1.5px solid var(--gold);
  aspect-ratio: 4 / 3.8;
  margin-bottom: 18px;
  cursor: pointer;
  background: #EFE7D8;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-badge-line {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  color: var(--cocoa);
  line-height: 1.25;
  margin-bottom: 10px;
  cursor: pointer;
}

.product-name:hover {
  color: var(--burgundy);
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 12px;
}

.product-weight {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cocoa-soft);
}

.price-dots {
  flex: 1;
  border-bottom: 1.5px dotted rgba(198, 163, 102, 0.7);
  transform: translateY(-4px);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 700;
  color: var(--burgundy);
}

.product-desc {
  font-size: 0.88rem;
  color: var(--cocoa-soft);
  margin-bottom: 14px;
  flex: 1;
}

.product-note {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1rem;
  color: var(--burgundy);
  margin-bottom: 14px;
}

/* Seletor de Recheio (Brigadeiro ou Doce de Leite) */
.filling-selector {
  margin-bottom: 16px;
}

.filling-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cocoa);
  margin-bottom: 6px;
}

.filling-pills {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.filling-btn {
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(198, 163, 102, 0.6);
  background: var(--parchment);
  color: var(--cocoa);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.filling-btn.active {
  background: var(--burgundy);
  color: var(--cream);
  border-color: var(--burgundy);
}

.card-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  margin-top: auto;
}

.btn-details {
  padding: 11px 14px;
  font-size: 0.8rem;
}

/* ---------- Seção Corporativa (Página 5 PDF) ---------- */
.corporate-section {
  background: radial-gradient(circle at center, #841626, var(--burgundy-dark));
  color: var(--cream);
  padding: 22px;
}

.corporate-frame {
  border: 1px solid var(--gold);
  outline: 1px solid rgba(198, 163, 102, 0.45);
  outline-offset: -8px;
  padding: 60px 0;
}

.corporate-inner {
  text-align: center;
}

.corporate-box {
  max-width: 780px;
  margin: 0 auto 38px;
  border: 1px solid var(--gold);
  padding: 32px 28px;
  background: rgba(0, 0, 0, 0.14);
}

.corp-top-star {
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

.corp-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  letter-spacing: 0.14em;
  color: #F2D7A4;
  margin-bottom: 14px;
}

.corp-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(251, 247, 240, 0.92);
  margin-bottom: 22px;
}

.corp-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.corp-circle {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: var(--parchment);
}

.corp-circle.featured {
  width: 116px;
  height: 116px;
}

.corp-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.corp-cta-footer h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  letter-spacing: 0.1em;
  color: var(--cream);
  margin-bottom: 8px;
}

.corp-cta-footer p {
  font-family: var(--font-editorial);
  font-size: 1.2rem;
  color: #F2D7A4;
}

/* ---------- Logística ---------- */
.logistics-section {
  padding: 72px 0;
  background: var(--parchment);
}

.logistics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.logistics-card {
  background: var(--cream);
  border: 1px solid rgba(198, 163, 102, 0.45);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-soft);
}

.logistics-card.highlight {
  border-color: var(--gold);
  background: linear-gradient(180deg, #FFFDF8, #FAF2E4);
}

.logistics-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--burgundy);
  background: rgba(117, 18, 32, 0.08);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.logistics-badge.free {
  color: var(--success);
  background: rgba(31, 122, 77, 0.12);
}

.logistics-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.logistics-price {
  font-size: 0.95rem;
  color: var(--burgundy);
  margin-bottom: 10px;
}

.logistics-text {
  font-size: 0.88rem;
  color: var(--cocoa-soft);
}

.maps-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--burgundy);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 2px;
}

.maps-link:hover {
  color: var(--burgundy-light);
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--cocoa);
  color: rgba(251, 247, 240, 0.85);
  padding: 36px 0;
  border-top: 2px solid var(--gold);
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #F2D7A4;
}

.footer-sub, .footer-info, .footer-copy {
  font-size: 0.82rem;
  line-height: 1.6;
}

.footer-info a {
  color: #F2D7A4;
  font-weight: 600;
}

/* ---------- Modal de Produto ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 12, 15, 0.68);
  backdrop-filter: blur(4px);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden], .drawer-backdrop[hidden] {
  display: none;
}

.modal-card {
  background: var(--cream);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  max-width: 760px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  position: relative;
  padding: 28px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(117, 18, 32, 0.2);
  background: var(--parchment);
  color: var(--cocoa);
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--burgundy);
  color: var(--cream);
}

.modal-product-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: center;
}

/* ---------- Drawer Lateral (Checkout) ---------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 12, 15, 0.62);
  backdrop-filter: blur(4px);
  z-index: 160;
  display: flex;
  justify-content: flex-end;
}

.drawer-panel {
  width: 100%;
  max-width: 520px;
  height: 100%;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.25);
  border-left: 2px solid var(--gold);
}

.drawer-header {
  position: relative;
  padding: 20px 24px;
  background: var(--burgundy);
  color: var(--cream);
  border-bottom: 1px solid var(--gold);
}

.drawer-header .modal-close {
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.25);
}

.drawer-eyebrow {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: #F2D7A4;
}

.drawer-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.drawer-content {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px 36px;
}

.cart-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--parchment);
  border: 1px solid rgba(198, 163, 102, 0.45);
  border-radius: 12px;
  padding: 10px;
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--gold);
}

.cart-item-info h4 {
  font-family: var(--font-display);
  font-size: 0.96rem;
  line-height: 1.25;
}

.cart-item-meta {
  font-size: 0.76rem;
  color: var(--cocoa-soft);
  margin: 2px 0 4px;
}

.cart-item-price {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--burgundy);
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(117, 18, 32, 0.35);
  background: var(--cream);
  color: var(--burgundy);
  font-weight: 700;
  cursor: pointer;
}

.qty-btn:hover {
  background: var(--burgundy);
  color: var(--cream);
}

.qty-val {
  min-width: 22px;
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
}

.empty-cart {
  text-align: center;
  padding: 40px 16px;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 10px;
}

.empty-cart h3 {
  font-family: var(--font-display);
  margin-bottom: 8px;
}

.empty-cart p {
  font-size: 0.88rem;
  color: var(--cocoa-soft);
  margin-bottom: 20px;
}

/* Formulário de Checkout */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-section {
  border: 1px solid rgba(198, 163, 102, 0.45);
  border-radius: 14px;
  padding: 16px;
  background: #FFFDF9;
}

.form-section legend {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--burgundy);
  padding: 0 6px;
}

.req {
  color: var(--danger);
}

.radio-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 6px;
}

.radio-card {
  position: relative;
  display: block;
  border: 1.5px solid rgba(198, 163, 102, 0.55);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  background: var(--parchment);
  transition: all var(--transition);
}

.radio-card input {
  position: absolute;
  opacity: 0;
}

.radio-card.active, .radio-card:has(input:checked) {
  border-color: var(--burgundy);
  background: #FFF8EE;
  box-shadow: 0 0 0 2px rgba(117, 18, 32, 0.14);
}

.radio-card-body strong {
  display: block;
  font-size: 0.84rem;
  color: var(--cocoa);
  line-height: 1.25;
}

.radio-card-body span {
  display: block;
  font-size: 0.72rem;
  color: var(--cocoa-soft);
  margin: 3px 0 6px;
}

.price-tag {
  display: inline-block;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--burgundy);
  background: rgba(117, 18, 32, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
}

.price-tag.free {
  color: var(--success);
  background: rgba(31, 122, 77, 0.14);
}

.sub-box {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(198, 163, 102, 0.6);
}

.pickup-box {
  background: #F6EFE2;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(198, 163, 102, 0.55);
  font-size: 0.84rem;
}

.field {
  margin-bottom: 12px;
}

.field:last-child {
  margin-bottom: 0;
}

.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cocoa);
  margin-bottom: 5px;
}

.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid rgba(117, 18, 32, 0.25);
  border-radius: 10px;
  background: var(--white);
  color: var(--cocoa);
  font-size: 0.88rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(117, 18, 32, 0.12);
}

.field-hint {
  display: block;
  font-size: 0.72rem;
  color: var(--cocoa-soft);
  margin-top: 4px;
}

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.order-summary-box {
  background: var(--parchment);
  border: 1.5px solid var(--gold);
  border-radius: 14px;
  padding: 16px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.summary-line.total {
  border-top: 1px solid rgba(198, 163, 102, 0.65);
  padding-top: 10px;
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 1.08rem;
  color: var(--burgundy);
}

.form-error {
  background: #FEF3F2;
  color: var(--danger);
  border: 1px solid #FECDCA;
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 0.84rem;
  font-weight: 600;
}

/* Telas de Pagamento Pendente e Confirmação */
.status-view {
  text-align: center;
  padding: 12px 4px;
}

.status-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  background: rgba(117, 18, 32, 0.1);
}

.status-icon.success {
  background: rgba(31, 122, 77, 0.15);
  color: var(--success);
}

.status-view h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--burgundy);
  margin-bottom: 6px;
}

.order-code-pill {
  display: inline-block;
  background: var(--parchment);
  border: 1px solid var(--gold);
  color: var(--cocoa);
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  margin: 8px 0 16px;
}

.status-box {
  text-align: left;
  background: var(--parchment);
  border: 1px solid rgba(198, 163, 102, 0.55);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.dev-sim-box {
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  border: 1.5px dashed #D97706;
  background: #FFFBEB;
  text-align: center;
}

.dev-sim-box small {
  display: block;
  color: #92400E;
  font-weight: 600;
  margin-bottom: 10px;
}

.btn-dev-sim {
  background: #1F7A4D;
  color: #FFFFFF;
  width: 100%;
}

.btn-dev-sim:hover {
  background: #17623D;
}

/* ---------- Container de Pagamento Embutido (Pix QR Code + Checkout) ---------- */
.polling-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(117, 18, 32, 0.08);
  border: 1px solid rgba(198, 163, 102, 0.7);
  color: var(--burgundy);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--burgundy);
  animation: gmPulse 1.4s infinite ease-in-out;
}

@keyframes gmPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

.embedded-pay-box {
  background: var(--parchment);
  border: 1.5px solid var(--gold);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.embedded-pay-brand {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 12px;
}

.pix-qr-wrap {
  display: inline-block;
  padding: 10px;
  background: #FFFFFF;
  border: 1px solid var(--gold);
  border-radius: 12px;
  margin-bottom: 12px;
}

.embedded-pay-hint {
  font-size: 0.8rem;
  color: var(--cocoa-soft);
  margin-bottom: 10px;
}

.pix-copy-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pix-copy-row input {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid rgba(117, 18, 32, 0.28);
  border-radius: 9px;
  font-size: 0.78rem;
  background: #FFFFFF;
  color: var(--cocoa);
  text-align: center;
}

.iframe-pay-wrap {
  width: 100%;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gold);
  background: #FFFFFF;
  margin-bottom: 12px;
}

.iframe-pay-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ---------- Botão Flutuante WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #FFFFFF;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.38);
  font-weight: 600;
  font-size: 0.84rem;
  transition: transform var(--transition), background var(--transition);
}

.whatsapp-float:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-3px);
}

.wa-icon {
  display: inline-flex;
}

/* ---------- Toast ---------- */
.toast-container {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--cocoa);
  color: var(--cream);
  border: 1px solid var(--gold);
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 500;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  animation: toastIn 0.25s ease;
}

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

/* ---------- Responsivo Mobile-First ---------- */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .ornament-divider {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions, .hero-trust {
    justify-content: center;
  }
  .logistics-grid {
    grid-template-columns: 1fr;
  }
  .main-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    top: 62px;
  }
  .hero-section, .corporate-section {
    padding: 12px;
  }
  .hero-frame {
    padding: 36px 0;
  }
  .cart-label, .cart-total-pill {
    display: none;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .modal-product-grid {
    grid-template-columns: 1fr;
  }
  .radio-cards, .form-row.two-col {
    grid-template-columns: 1fr;
  }
  .wa-label {
    display: none;
  }
  .whatsapp-float {
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
  }
}
