/* ============================================================
   Yasmin & Otávio — Site de Casamento
   Paleta: tons de verde-sálvia, terracota suave e off-white
   ============================================================ */

:root {
  --sage: #8a9a7b;
  --sage-dark: #5f6f52;
  --terracotta: #c08457;
  --cream: #f7f4ee;
  --cream-dark: #efe9df;
  --ink: #3a3a36;
  --muted: #7a7a72;
  --white: #ffffff;

  --font-script: "Great Vibes", cursive;
  --font-serif: "Cormorant Garamond", serif;
  --font-sans: "Montserrat", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--cream);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===================== TYPOGRAPHY HELPERS ===================== */
.section { padding: 100px 0; }

/* Fundos alternados (zebra) aplicados dinamicamente conforme as seções visíveis */
.section--cream { background: var(--cream); }
.section--cream-dark { background: var(--cream-dark); }

.section-sub {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--terracotta);
  margin-bottom: 0;
  line-height: 1;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--sage-dark);
  margin-bottom: 0;
}

.amp { font-family: var(--font-script); color: var(--terracotta); }

/* ===================== NAVBAR ===================== */
.navbar {
  background-color: transparent;
  transition: all 0.4s ease;
  padding: 18px 0;
}
.navbar.scrolled {
  background-color: var(--cream);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}
.navbar-brand {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 2px;
}
.navbar-brand .bi { color: var(--terracotta); font-size: 1.2rem; }
.navbar.scrolled .navbar-brand { color: var(--sage-dark); }

.navbar .nav-link {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  font-weight: 400;
  margin: 0 4px;
  position: relative;
}
.navbar.scrolled .nav-link { color: var(--ink); }
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 2px;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { transform: scaleX(1); }

.navbar .btn-rsvp {
  background: var(--terracotta);
  color: var(--white) !important;
  border-radius: 30px;
  padding: 6px 18px !important;
}
.navbar .btn-rsvp::after { display: none; }
.navbar .btn-rsvp:hover { background: var(--sage-dark); }

.navbar-toggler { border: none; }
.navbar-toggler:focus { box-shadow: none; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("https://images.unsplash.com/photo-1469371670807-013ccf25f16a?auto=format&fit=crop&w=1920&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58, 58, 54, 0.45), rgba(95, 111, 82, 0.55));
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding: 0 20px;
  animation: fadeUp 1.4s ease;
}
.hero-pretitle {
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.hero-names {
  font-family: var(--font-script);
  font-size: clamp(3.5rem, 11vw, 7.5rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 10px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}
.hero-names .amp { color: #f0d8c4; }
.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 14px 0;
}
.hero-divider span {
  width: 60px; height: 1px;
  background: rgba(255, 255, 255, 0.7);
}
.hero-divider .bi { color: #f0d8c4; font-size: 1.3rem; }
.hero-date {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  letter-spacing: 4px;
  margin-bottom: 4px;
}
.hero-location {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
}

.btn-hero {
  background: var(--terracotta);
  color: var(--white);
  border: none;
  border-radius: 40px;
  padding: 12px 38px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.82rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.btn-hero:hover {
  background: var(--white);
  color: var(--sage-dark);
  transform: translateY(-2px);
}

.scroll-down {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  font-size: 1.6rem;
  z-index: 2;
  animation: bounce 2s infinite;
  text-decoration: none;
}

/* ===================== COUNTDOWN ===================== */
.section-countdown { background: var(--cream-dark); }
.countdown {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.cd-box {
  background: var(--white);
  border-radius: 14px;
  width: 130px;
  padding: 26px 10px;
  box-shadow: 0 10px 30px rgba(95, 111, 82, 0.1);
  border-bottom: 3px solid var(--terracotta);
}
.cd-box span {
  display: block;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  color: var(--sage-dark);
  line-height: 1;
}
.cd-box small {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.72rem;
  color: var(--muted);
}
.countdown-msg { color: var(--muted); max-width: 540px; margin-inline: auto; }

/* ===================== STORY / TIMELINE ===================== */
.section-story { background: var(--cream); }
.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--sage);
  opacity: 0.4;
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 20px 40px;
}
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; text-align: left; }
.timeline-item::after {
  content: "";
  position: absolute;
  top: 32px;
  width: 16px; height: 16px;
  background: var(--terracotta);
  border: 3px solid var(--cream);
  border-radius: 50%;
  z-index: 2;
}
.timeline-item:nth-child(odd)::after { right: -8px; }
.timeline-item:nth-child(even)::after { left: -8px; }
.timeline-content {
  background: var(--white);
  padding: 26px 28px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.timeline-date {
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--terracotta);
}
.timeline-content h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--sage-dark);
  margin: 4px 0 10px;
}
.timeline-content p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ===================== EVENT ===================== */
.section-event { background: var(--cream-dark); }
.event-card {
  background: var(--white);
  padding: 40px 26px;
  border-radius: 16px;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.event-card:hover { transform: translateY(-8px); }
.event-card .bi {
  font-size: 2.6rem;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.event-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--sage-dark);
  font-size: 1.5rem;
}
.event-card .event-strong { font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.event-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

/* ===================== GALLERY ===================== */
.section-gallery { background: var(--cream); }
.gallery-item {
  height: 260px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  filter: saturate(0.9);
  transition: transform 0.45s ease, filter 0.45s ease;
  cursor: pointer;
}
.gallery-item:hover { transform: scale(1.03); filter: saturate(1.2); }

/* ===================== GIFTS ===================== */
.section-gifts { background: var(--cream-dark); }
.gifts-intro {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
}
.gift-card {
  background: var(--white);
  border-radius: 16px;
  padding: 26px 18px;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}
.gift-card:hover { transform: translateY(-6px); }
.gift-img {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.gift-img .bi { font-size: 3rem; color: var(--sage); }
.gift-card h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--sage-dark);
}
.gift-price { color: var(--terracotta); font-weight: 600; margin-bottom: 14px; }
.btn-gift {
  background: var(--sage);
  color: var(--white);
  border-radius: 30px;
  padding: 6px 22px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
}
.btn-gift:hover { background: var(--sage-dark); color: var(--white); }

/* ===================== RSVP ===================== */
.section-rsvp { background: var(--cream); }
.rsvp-form {
  background: var(--white);
  padding: 44px;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}
.rsvp-form .form-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sage-dark);
  font-weight: 500;
}
.rsvp-form .form-control {
  border: 1px solid var(--cream-dark);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--cream);
}
.rsvp-form .form-control:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 0.18rem rgba(138, 154, 123, 0.2);
}
.rsvp-form .form-check-label { font-size: 0.88rem; color: var(--muted); }

.rsvp-success {
  background: var(--white);
  padding: 60px 40px;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}
.rsvp-success .bi { font-size: 3.5rem; color: var(--sage); }
.rsvp-success h3 {
  font-family: var(--font-serif);
  color: var(--sage-dark);
  font-weight: 600;
  margin-top: 12px;
}
.rsvp-success p { color: var(--muted); }

/* ===================== FOOTER ===================== */
.footer {
  background: var(--sage-dark);
  color: var(--cream);
  padding: 70px 0 40px;
}
.footer-names {
  font-family: var(--font-script);
  font-size: 3.4rem;
  margin-bottom: 4px;
}
.footer-names .amp { color: #f0d8c4; }
.footer-date {
  font-family: var(--font-serif);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.footer-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 20px 0;
}
.footer-divider span { width: 50px; height: 1px; background: rgba(247, 244, 238, 0.4); }
.footer-divider .bi { color: #f0d8c4; }
.footer-thanks { font-style: italic; font-family: var(--font-serif); font-size: 1.1rem; }
.footer-copy { font-size: 0.78rem; opacity: 0.6; margin-top: 18px; margin-bottom: 0; }

/* ===================== ANIMATIONS ===================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--cream);
    margin-top: 12px;
    border-radius: 12px;
    padding: 14px;
  }
  .navbar .nav-link { color: var(--ink) !important; }
  .hero { background-attachment: scroll; }
}

@media (max-width: 767px) {
  .section { padding: 70px 0; }
  .section-title { font-size: 2rem; }
  .timeline::before { left: 20px; }
  .timeline-item { width: 100%; left: 0 !important; text-align: left !important; padding-left: 50px; padding-right: 0; }
  .timeline-item::after { left: 12px !important; right: auto !important; }
  .cd-box { width: 45%; }
  .rsvp-form { padding: 26px; }
}

/* ============================================================
   NAVBAR — toggler, carrinho, conta e estado sólido
   ============================================================ */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar.scrolled .navbar-toggler-icon,
.navbar--solid .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2858, 58, 54, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Estado sólido permanente (páginas internas, sem hero) */
.navbar--solid {
  background-color: var(--cream);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}
.navbar--solid .navbar-brand { color: var(--sage-dark); }
.navbar--solid .nav-link { color: var(--ink); }
body.inner-page { padding-top: 74px; }

/* Carrinho no menu */
.nav-cart { position: relative; }
.nav-cart .bi { font-size: 1.05rem; }
.nav-cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--terracotta);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 600;
  line-height: 1;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-cart-badge[data-empty="1"] { display: none; }

/* Conta / dropdown */
.navbar .dropdown-menu {
  border: none;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 8px;
}
.navbar .dropdown-item {
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--ink);
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus { background: var(--cream); color: var(--sage-dark); }

/* ============================================================
   PÁGINAS INTERNAS (presentes, carrinho, checkout, conta, auth)
   ============================================================ */
.page { padding: 70px 0 90px; background: var(--cream); min-height: 60vh; }
.page--alt { background: var(--cream-dark); }
.page-head { text-align: center; margin-bottom: 44px; }

.app-card {
  background: var(--white);
  padding: 36px;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}
.app-card + .app-card { margin-top: 24px; }
.app-card h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--sage-dark);
  font-size: 1.4rem;
}

/* Botões auxiliares */
.btn-outline-sage {
  border: 1px solid var(--sage);
  color: var(--sage-dark);
  background: transparent;
  border-radius: 40px;
  padding: 10px 28px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}
.btn-outline-sage:hover { background: var(--sage); color: #fff; }

/* Formulários do app */
.app-form .form-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sage-dark);
  font-weight: 500;
}
.app-form .form-control,
.app-form .form-select,
.app-form .form-textarea {
  border: 1px solid var(--cream-dark);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--cream);
}
.app-form .form-control:focus,
.app-form .form-select:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 0.18rem rgba(138, 154, 123, 0.2);
}
.app-form .form-hint { font-size: 0.78rem; color: var(--muted); }

/* Card de presente com foto real */
.gift-card { text-align: center; }
.gift-photo {
  height: 160px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  background-color: var(--cream-dark);
  margin-bottom: 14px;
}
.gift-desc { color: var(--muted); font-size: 0.85rem; min-height: 2.4em; }

/* Carrinho / lista de itens */
.cart-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.cart-item:last-of-type { border-bottom: none; }
.cart-item__img {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--cream-dark);
  flex: none;
}
.cart-item__nome { font-family: var(--font-serif); font-size: 1.15rem; color: var(--sage-dark); margin: 0; }
.cart-item__preco { color: var(--muted); font-size: 0.85rem; margin: 4px 0 0; }
.cart-item__sub { margin-left: auto; font-weight: 600; color: var(--ink); white-space: nowrap; }
.cart-total { text-align: right; font-size: 1.2rem; margin: 20px 0; color: var(--sage-dark); }
.cart-total strong { font-family: var(--font-serif); }

/* Selo de status do pedido */
.status-badge {
  display: inline-block;
  padding: 4px 18px;
  border-radius: 30px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}
.status-badge--processando { background: #fdf0e4; color: var(--terracotta); }
.status-badge--quitado { background: #e7efe1; color: var(--sage-dark); }
.status-badge--cancelado { background: #f1e2e2; color: #9a5a5a; }

/* Caixa de PIX */
.pix-box { max-width: 540px; margin: 0 auto; text-align: center; }
.pix-box .pix-valor { font-family: var(--font-serif); font-size: 2rem; color: var(--sage-dark); font-weight: 600; }
.pix-box .pix-qr { display: inline-block; padding: 16px; background: #fff; border-radius: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); margin: 12px 0; }
.pix-box .pix-qr svg, .pix-box .pix-qr img { width: 220px; height: 220px; }
.pix-copia {
  width: 100%;
  border: 1px solid var(--cream-dark);
  border-radius: 10px;
  background: var(--cream);
  padding: 12px;
  font-family: monospace;
  font-size: 0.8rem;
  resize: none;
}

/* Itens de pedido (lista) */
.order-items { max-width: 640px; margin: 16px auto; list-style: none; padding: 0; }
.order-items li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--cream-dark);
}

/* Caixa de RSVP na home (CTA para o fluxo real) */
.rsvp-cta { text-align: center; max-width: 640px; margin: 0 auto; }
.rsvp-cta p { color: var(--muted); }

/* ============================================================
   Status + PIX (presentear)
   ============================================================ */
.status-badge--aberto { background: #eef2f6; color: #4a5d70; }

/* Card de presente: badge "no carrinho" + foto */
.gift-card { position: relative; }
.gift-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--sage-dark);
  color: #fff;
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: 30px;
  font-weight: 500;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.gift-card__badge .bi { font-size: 0.78rem; vertical-align: -1px; }
.gift-card--no-carrinho { box-shadow: 0 8px 24px rgba(138, 154, 123, 0.18); }
.gift-card--no-carrinho .gift-photo { outline: 2px solid var(--sage); outline-offset: -2px; }
.btn-gift { width: 100%; padding: 10px 14px; font-size: 0.82rem; }
.btn-gift .bi { font-size: 0.95rem; margin-right: 4px; }

/* Mini-CTA flutuante "X itens no carrinho" na lista de presentes */
.cart-floating {
  position: sticky;
  bottom: 14px;
  margin: 32px auto 0;
  max-width: 520px;
  z-index: 20;
}
.cart-floating__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--sage-dark);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  font-weight: 500;
  font-size: 0.92rem;
  transition: transform 0.2s;
}
.cart-floating__link:hover { color: #fff; transform: translateY(-2px); }
.cart-floating__link .bi-bag-heart-fill { font-size: 1.25rem; }
.cart-floating__cta { margin-left: auto; font-size: 0.85rem; opacity: 0.95; }

/* Carrinho: estado vazio + stepper */
.cart-empty { padding: 24px 0; }
.cart-empty .bi { font-size: 3rem; color: var(--sage); display: block; margin-bottom: 12px; }
.cart-empty__msg { color: var(--muted); margin-bottom: 18px; font-size: 1.05rem; }

.cart-item__body { flex: 1; min-width: 0; }
.cart-stepper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}
.cart-stepper form { margin: 0; }
.cart-stepper__btn,
.cart-stepper__remover {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--cream-dark);
  background: var(--cream);
  color: var(--sage-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cart-stepper__btn:hover { background: var(--sage); color: #fff; border-color: var(--sage); }
.cart-stepper__btn:disabled { opacity: 0.4; cursor: not-allowed; }
.cart-stepper__qtd {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.05rem;
}
.cart-stepper__remover { color: #9a5a5a; }
.cart-stepper__remover:hover { background: #f1e2e2; border-color: #f1e2e2; color: #7a3a3a; }

.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  margin-top: 8px;
  border-top: 2px dashed var(--cream-dark);
}
.cart-summary__continuar { color: var(--sage-dark); padding: 0; font-weight: 500; }
.cart-summary__continuar:hover { color: var(--sage); }
.cart-summary__total { text-align: right; }
.cart-summary__valor {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--sage-dark);
  display: block;
  line-height: 1.1;
}

/* PIX: rótulo de valor, divisor "ou copie", passos numerados, botões */
.pix-box .pix-rotulo {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.72rem;
  color: var(--muted);
  margin: 0 0 4px;
}
.pix-box .pix-valor { margin: 0; }
.pix-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0 12px;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.pix-divider::before,
.pix-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--cream-dark);
}
.pix-passos {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  text-align: left;
}
.pix-passos li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  color: var(--ink);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--cream-dark);
}
.pix-passos li:last-child { border-bottom: none; }
.pix-passos__num {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.82rem;
}

/* Botão "Já paguei" (verde sage cheio, espaçoso) */
.btn-pagar {
  background: var(--sage-dark);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.1s;
}
.btn-pagar:hover { background: #4a5d3d; color: #fff; transform: translateY(-1px); }
.btn-pagar .bi { font-size: 1.15rem; margin-right: 6px; }

/* Estado "copiou" do botão de PIX */
.btn-copy { transition: background 0.25s, color 0.25s; }
.btn-copy.is-copied {
  background: var(--sage-dark) !important;
  color: #fff !important;
  border-color: var(--sage-dark) !important;
}
.btn-copy .bi { margin-right: 6px; }

/* Pedido confirmado (sucesso) */
.pix-confirmado { padding: 18px 0; }
.pix-confirmado__icon { font-size: 3.5rem; color: var(--sage-dark); line-height: 1; }
.pix-confirmado__titulo { font-family: var(--font-serif); color: var(--sage-dark); margin-top: 10px; }
.pix-confirmado__texto { color: var(--muted); }

/* Pedido aguardando confirmação */
.pix-aguardando { padding: 18px 0; }
.pix-aguardando__icon { font-size: 2.8rem; color: var(--terracotta); }
.pix-aguardando__titulo { font-family: var(--font-serif); color: var(--terracotta); margin-top: 10px; }
.pix-aguardando__texto { color: var(--muted); max-width: 440px; margin: 0 auto 12px; }

/* Animação do badge do carrinho (pulse) ao mudar de quantidade */
@keyframes cartPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.35); }
  100% { transform: scale(1); }
}
.nav-cart-badge.is-pulsing { animation: cartPulse 0.45s ease; }
