:root {
  /* Brand Palette - Casa Bergan Reverse-Engineered */
  --color-brand: #18312d; /* Casa Bergan Deep Forest Moss */
  --color-brand-hover: #234640;
  --color-brand-light: #f3f2ee; /* Casa Bergan Warm Oat / Light Sand */
  --color-brand-surface: #efeae2; /* Warm taupe surface */
  --color-brand-border: #e0e0e0; /* Clean border */

  /* Earthy Browns & Accents */
  --color-brown-dark: #4a3525; /* Deep Mocha */
  --color-brown-medium: #876b56; /* Casa Bergan Hazelnut / Avelã */
  --color-brown-pastel: #b8977e; /* Warm caramel */
  --color-gold-accent: #d9d0a7; /* Casa Bergan Champagne / Sand */
  --color-pix-green: #77b6a8; /* Casa Bergan PIX Accent */

  /* Neutrals */
  --color-dark: #18312d;
  --color-dark-subtle: #3d3d3d;
  --color-text-main: #333333;
  --color-text-secondary: #4f4f4f;
  --color-muted: #8f8f8f;
  --color-bg: #faf8f5; /* Warm Linen */
  --color-card-bg: #ffffff;
  --color-card-border: #e0e0e0;

  /* Status Colors */
  --color-success-soft: #18312d;
  --color-success-bg: #f3f2ee;
  --color-success-border: #77b6a8;
  --color-success-text: #18312d;

  --color-danger-soft: #99101a; /* Casa Bergan Red Discount */
  --color-danger-bg: #fcf4f4;
  --color-danger-border: #f1c3c5;
  --color-danger-text: #99101a;

  /* Typography - Exact Casa Bergan Jost & Inter */
  --font-heading: "Jost", "Inter", Arial, Helvetica, sans-serif;
  --font-body: "Jost", "Inter", Arial, Helvetica, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
  --shadow-active: 0 8px 24px rgba(24, 49, 45, 0.12);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 17px;
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-user-select: none;
  user-select: none;
}

/* O conteúdo da oferta nunca deve criar uma segunda faixa horizontal no mobile. */
html,
body,
body > * {
  min-width: 0;
  max-width: 100%;
}

html.modal-open,
body.modal-open {
  overscroll-behavior: none;
}

body.modal-open {
  position: fixed;
  inset-inline: 0;
  width: 100%;
  overflow: hidden;
}

/* A abertura do quiz ocupa uma página totalmente branca, sem faixa de fundo. */
body:not(.landing-ready) {
  background-color: #ffffff;
}

/* A abertura do quiz não precisa de uma faixa vazia antes do conteúdo. */
body:not(.landing-ready) .quiz-header:not(.quiz-stage-active) {
  display: none;
}

/* ==========================================================================
   TOP HEADER & STEPPER PROGRESS BAR (Kegel Plan Inspired)
   ========================================================================== */
.quiz-header {
  --quiz-header-height: 70px;
  width: 100%;
  height: var(--quiz-header-height);
  min-width: 0;
  background-color: #ffffff;
  border-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: none;
  padding: 0 20px;
}

.quiz-header-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 24px;
  width: 100%;
  height: 100%;
  min-width: 0;
}

/* Marca principal no topo do site */
.brand-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: var(--color-brand);
  flex-shrink: 0;
  z-index: 2;
}

/* Nas perguntas, o cabeçalho fica reservado ao progresso do desafio. */
.quiz-header.quiz-stage-active .brand-badge {
  display: none;
}

/* Na oferta final, a área antes ocupada pela marca passa a exibir o progresso concluído. */
body.landing-ready .quiz-header {
  padding: 0 20px;
}

body.landing-ready .quiz-header .stepper-container {
  display: none;
}

.final-quiz-progress {
  display: none;
}

body.landing-ready .final-quiz-progress {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(304px, calc(100vw - 80px));
  height: 24px;
  transform: translate(-50%, -50%);
  z-index: 1;
}

/* Reserva uma área própria para o progresso, sem encostar na sacola à esquerda. */
@media (max-width: 640px) {
  .quiz-header {
    --quiz-header-height: 62px;
    padding: 0 16px;
  }

  body.landing-ready .quiz-header {
    padding: 0 16px;
  }

  body.landing-ready .final-quiz-progress {
    left: calc(50% + 34px);
    width: min(244px, calc(100% - 118px));
  }
}

body.landing-ready .final-quiz-progress::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 8px;
  left: 8px;
  height: 6px;
  border-radius: 999px;
  background: #111111;
  transform: translateY(-50%);
}

body.landing-ready .final-quiz-progress span {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #111111;
}

body.landing-ready .header-cart-count {
  transform-origin: center;
  animation: cart-count-breathe 2.4s ease-in-out infinite;
}

@keyframes cart-count-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}

.site-brand-name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 3px;
  white-space: nowrap;
}

.site-brand-tagline {
  color: var(--color-brown-medium);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 3.5px;
  line-height: 1.2;
  margin-top: 2px;
}

.header-cart-button {
  position: relative;
  display: none;
  align-items: center;
  color: var(--color-brand);
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px;
  transition: color 0.2s ease;
  z-index: 2;
}

body.landing-ready .header-cart-button {
  display: flex;
}

.header-cart-button:hover {
  color: var(--color-brown-medium);
}

.header-cart-count {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--color-brand);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
}

.header-cart-preview {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 80;
  width: min(360px, calc(100vw - 32px));
  padding: 20px;
  border: 1px solid var(--color-brand-border);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(24, 49, 45, 0.16);
  color: var(--color-brand);
}

.header-cart-kicker {
  margin-bottom: 4px;
  color: var(--color-brown-medium);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.header-cart-preview h2 {
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 1.2;
}

.header-cart-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.header-cart-image-wrap {
  aspect-ratio: 1.5;
  overflow: hidden;
  border: 1px solid #eaeaea;
  border-radius: 6px;
  background: #f3f2ee;
}

.header-cart-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.2s ease;
}

.header-cart-image-wrap.is-empty img {
  opacity: 0.3;
}

.header-cart-details {
  display: grid;
  gap: 9px;
  margin: 14px 0;
  padding: 13px 0;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
}

.header-cart-details div,
.header-cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.header-cart-details dt,
.header-cart-total span {
  color: #737373;
  font-size: 12px;
}

.header-cart-details dd {
  margin: 0;
  color: var(--color-brand);
  font-size: 12px;
  font-weight: 700;
  text-align: right;
}

.header-cart-total strong {
  font-family: var(--font-heading);
  font-size: 22px;
}

.header-cart-checkout {
  width: 100%;
  margin-top: 16px;
  padding: 13px 16px;
  border: 0;
  border-radius: 5px;
  background: var(--color-brand);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.8px;
  cursor: pointer;
}

.header-cart-checkout:disabled {
  cursor: not-allowed;
  background: #8f8f8f;
}

.color-selection-slots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.color-selection-slot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 11px;
  border: 1px dashed #8b8b8b;
  border-radius: 5px;
  background: #ffffff;
  color: #4f4f4f;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.color-selection-slot span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.color-selection-slot strong {
  color: #18312d;
  font-size: 13px;
}
.color-selection-slot strong::before {
  content: "";
  display: none;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border: 1px solid rgba(24, 49, 45, 0.2);
  border-radius: 50%;
  vertical-align: 1px;
}
.color-selection-slot[data-selected-color]:not([data-selected-color=""]) strong::before {
  display: inline-block;
}
.color-selection-slot[data-selected-color="Rosa"] strong::before { background: #c79399; }
.color-selection-slot[data-selected-color="Preto"] strong::before { background: #4c4c4a; }
.color-selection-slot[data-selected-color="Marrom"] strong::before { background: #b5997f; }
.color-selection-slot[data-selected-color="Branco"] strong::before { background: #f2eee3; }
.color-selection-slot[data-selected-color="Azul"] strong::before { background: #638ca5; }
.color-selection-slot[data-selected-color="Cinza"] strong::before { background: #b7b7b5; }
.color-selection-slot[data-selected-color="Verde"] strong::before { background: #829d83; }
.color-selection-slot[data-selected-color="Vermelho"] strong::before { background: #a31626; }

.color-selection-slot.active {
  border-color: #1677ff;
  background: #ffffff;
  box-shadow: none;
}

.color-selection-slot.is-awaiting-selection {
  border-color: #1677ff;
  transform-origin: center;
  will-change: transform;
  animation: color-slot-pulse 1.55s cubic-bezier(0.36, 0, 0.2, 1) infinite;
}

.color-selection-slot.is-locked {
  cursor: not-allowed;
}

.color-selection-slot[data-selected-color]:not([data-selected-color=""]) {
  border: 2px solid #1677ff;
  background: #ffffff;
}

@keyframes color-slot-pulse {
  0% {
    transform: scale(0.96);
    box-shadow: 0 0 0 0 rgba(22, 119, 255, 0.08);
  }
  58% {
    transform: scale(1.035);
    box-shadow: 0 0 0 5px rgba(22, 119, 255, 0.2);
  }
  100% {
    transform: scale(0.96);
    box-shadow: 0 0 0 0 rgba(22, 119, 255, 0.08);
  }
}

.color-selection-help {
  margin: 0 0 10px;
  color: #737373;
  font-size: 11px;
  line-height: 1.35;
}

.product-trust-card {
  background-color: #e3edfb !important;
  border-color: #d5e4f8 !important;
}

.product-trust-card > svg,
.product-trust-card > span.font-bold {
  color: #3483fa !important;
}

/* Product Image Carousel Styling */
.carousel-thumb {
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}
.carousel-thumb:hover {
  opacity: 1 !important;
  transform: translateY(-2px);
}
.carousel-thumb.active {
  opacity: 1 !important;
  border-color: var(--color-brand) !important;
  box-shadow: 0 0 0 2px rgba(24, 49, 45, 0.2);
}

/* Stepper Centered & Enhanced Visibility */
.stepper-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: min(304px, calc(100vw - 80px));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
  z-index: 1;
}

.stepper-container.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

@media (max-width: 580px) {
  .stepper-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: min(304px, calc(100vw - 56px));
    margin-left: 0;
  }
}

.stepper-track-wrapper {
  position: relative;
  width: 100%;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Background connecting line */
.stepper-bg-line {
  position: absolute;
  top: 50%;
  left: 8px;
  right: 8px;
  height: 6px;
  background-color: #eef1f7;
  transform: translateY(-50%);
  border-radius: var(--radius-full);
  z-index: 1;
}

/* Active progress connecting fill */
.stepper-fill-line {
  position: absolute;
  top: 50%;
  left: 8px;
  height: 6px;
  background-color: #111111;
  transform: translateY(-50%);
  border-radius: var(--radius-full);
  z-index: 2;
  transition: width var(--transition-smooth);
  width: 0%;
}

/* Stepper Step Nodes */
.stepper-step {
  position: relative;
  z-index: 3;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #eef1f7;
  border: 0;
  box-shadow: none;
  transition: all var(--transition-smooth);
}

.stepper-step.completed {
  background-color: #111111;
  border-color: transparent;
  box-shadow: none;
}

.stepper-step.active {
  background-color: #111111;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

/* ==========================================================================
   MAIN LAYOUT & CARD CONTAINER (QUIZ VIEW)
   ========================================================================== */
.main-wrapper {
  width: 100%;
  max-width: 640px;
  padding: 18px 16px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quiz-card {
  width: 100%;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0 24px;
  position: relative;
  overflow: visible;
}

#quiz-view {
  background: #ffffff;
}

@media (max-width: 480px) {
  .quiz-card {
    padding: 0 18px;
  }
  .main-wrapper {
    padding: 24px 12px 36px;
  }
  #start-screen {
    min-height: calc(100dvh - 60px);
    justify-content: center;
  }
}

/* ==========================================================================
   SCREENS & QUESTION VIEWS
   ========================================================================== */
.quiz-screen {
  display: flex;
  flex-direction: column;
  animation: screenFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.quiz-screen.hidden {
  display: none !important;
}

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

/* ==========================================================================
   START SCREEN
   ========================================================================== */
.start-social-proof {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto 18px;
  padding: 0 4px;
}
.start-trust-message {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #d69a28;
  text-align: center;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}
.start-trust-message > div {
  color: #111111;
  font-size: 11px;
  line-height: 1.05;
}
.start-trust-message strong {
  display: block;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 0.95;
}
.start-trust-message span {
  display: block;
  margin-top: 2px;
  color: #111111;
  font-size: 11px;
  font-weight: 700;
}
.start-laurel {
  width: 44px;
  height: 62px;
  flex: 0 0 auto;
  object-fit: contain;
}
.start-verified-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-left: 20px;
  border-left: 0;
  color: #20a76f;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}
.start-verified-badge::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 50px;
  background: #dfe5e2;
  transform: translateY(-50%);
}
.start-verified-badge > img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  object-fit: contain;
}
.start-verified-badge span {
  display: flex;
  flex-direction: column;
  color: #111111;
  line-height: 1.1;
  white-space: nowrap;
}
.start-verified-badge strong {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
}
.start-verified-badge small {
  margin-top: 3px;
  color: #6c7472;
  font-size: 10px;
  font-weight: 600;
}
.start-hero-image-wrap {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  background-color: var(--color-brand-surface);
}

.start-hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.start-hero-image-wrap:hover .start-hero-image {
  transform: scale(1.02);
}

.start-header-title {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #111111;
  text-align: center;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.start-subtitle {
  margin: 0 0 18px;
  color: var(--color-dark-subtle);
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}
.start-subtitle strong {
  color: #111111;
  font-weight: 800;
}
.start-mini-carousel {
  width: 100%;
  margin: 0 0 22px;
}
.start-carousel-viewport {
  position: relative;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  border: 1px solid #e1e3e0;
  border-radius: 12px;
  background: #f3f2ee;
}
.start-carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.45s ease, transform 0.6s ease;
}
.start-carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}
.start-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 9px;
}
.start-carousel-dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd1ce;
  cursor: pointer;
  transition: width 0.2s ease, background-color 0.2s ease;
}
.start-carousel-dots button.active {
  width: 20px;
  background: #18312d;
}
.start-product-mosaic {
  width: 100%;
  overflow: hidden;
  margin: 0 0 22px;
}
.start-mosaic-track {
  display: flex;
  align-items: stretch;
  gap: 9px;
  width: max-content;
  height: 230px;
  transform: translateX(-14px);
}
.mosaic-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 13px;
  border: 1px solid #eef0ee;
  box-shadow: 0 3px 9px rgba(24, 49, 45, 0.08);
}
.mosaic-tall {
  flex: 0 0 auto;
}
.mosaic-slim {
  width: 101px;
}
.mosaic-wide {
  width: 163px;
}
.mosaic-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 9px;
  width: 158px;
  flex: 0 0 auto;
}
@media (max-width: 480px) {
  .start-social-proof {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: normal;
    gap: 6px;
    padding: 0;
  }
  .start-trust-message {
    min-width: 0;
    gap: 2px;
  }
  .start-trust-message > div {
    min-width: 76px;
    font-size: 10px;
  }
  .start-trust-message span {
    font-size: 9px;
  }
  .start-laurel {
    width: 27px;
    height: 42px;
  }
  .start-trust-message strong {
    font-size: 21px;
  }
  .start-verified-badge {
    gap: 5px;
    padding-left: 13px;
  }
  .start-verified-badge::before {
    height: 38px;
  }
  .start-verified-badge > img {
    width: 22px;
    height: 22px;
  }
  .start-verified-badge strong {
    font-size: 10px;
  }
  .start-verified-badge small {
    font-size: 8px;
  }
  .start-product-mosaic {
    margin-bottom: 20px;
  }
  .start-mosaic-track {
    height: 190px;
    gap: 7px;
    transform: translateX(-11px);
  }
  .mosaic-slim {
    width: 83px;
  }
  .mosaic-wide {
    width: 135px;
  }
  .mosaic-stack {
    width: 130px;
    gap: 7px;
  }
  .mosaic-photo {
    border-radius: 11px;
  }
}

.start-description {
  font-size: 15px;
  color: var(--color-dark-subtle);
  line-height: 1.6;
  text-align: center;
  margin-bottom: 24px;
  background-color: var(--color-brand-light);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-brand-border);
}

/* ==========================================================================
   QUESTION SCREEN ELEMENTS
   ========================================================================== */
.question-eyebrow {
  display: none;
  align-items: center;
  align-self: center;
  gap: 6px;
  background-color: var(--color-brand-light);
  color: var(--color-brand);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid var(--color-brand-border);
}

.question-title {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #111111;
  text-align: center;
  line-height: 1.35;
  margin-bottom: 32px;
  letter-spacing: -0.2px;
}

@media (max-width: 480px) {
  .question-title {
    font-size: 19px;
    margin-bottom: 28px;
  }
}

/* ==========================================================================
   OPTIONS LIST & BUTTONS
   ========================================================================== */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-bottom: 22px;
}

.option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  padding: 12px 18px;
  background-color: #f1f3f9;
  border: 0;
  border-radius: 10px;
  color: #111111;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  cursor: pointer;
  outline: none;
  transition: all var(--transition-fast);
  user-select: none;
  position: relative;
}

.option-card:hover {
  background-color: #e8edf7;
  border-color: transparent;
  transform: none;
  box-shadow: none;
}

.option-text {
  flex: 1;
  padding-right: 12px;
  line-height: 1.35;
}

/* Custom Modern Radio / Checkmark Circle */
.option-indicator {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.option-indicator svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--transition-fast);
}

/* Correct Selected Highlight - Soft Light Green */
.option-card.correct-selected {
  background-color: #e1e7f4 !important;
  border-color: transparent !important;
  color: #111111 !important;
  box-shadow: none !important;
  transform: none;
}

.option-card.correct-selected .option-indicator {
  background-color: #00ff57 !important;
  border-color: #00ff57 !important;
}

.option-card.correct-selected .option-indicator svg {
  stroke: #ffffff !important;
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Incorrect Selected Highlight - Soft Light Red/Rose */
.option-card.incorrect-selected {
  background-color: var(--color-danger-bg) !important;
  border-color: var(--color-danger-border) !important;
  color: var(--color-danger-text) !important;
}

.option-card.incorrect-selected .option-indicator {
  background-color: var(--color-danger-soft) !important;
  border-color: var(--color-danger-soft) !important;
}

.option-card.incorrect-selected .option-indicator svg {
  stroke: #ffffff !important;
  opacity: 1 !important;
  transform: scale(1) !important;
}

/* Pausa de benefícios entre a segunda e a terceira pergunta. */
.quiz-benefits-break {
  width: 100%;
}

.quiz-benefits-intro {
  margin: -7px auto 20px;
  max-width: 620px;
  color: #4f4f4f;
  font-size: 15px;
  line-height: 1.55;
  text-align: center;
}

.quiz-benefits-video-heading {
  margin: 28px 0 10px;
  color: #111111;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.quiz-benefits-video,
.quiz-benefits-images img {
  display: block;
  width: 100%;
}

.quiz-benefits-video {
  aspect-ratio: 9 / 16;
  margin: 0 0 16px;
  border: 0;
  border-radius: 10px;
  background: #111111;
}

.quiz-benefits-images {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-benefits-images img {
  height: auto;
  border-radius: 10px;
}

.quiz-benefits-wait {
  margin: 20px 0 12px;
  color: #18312d;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

#benefits-continue-btn:disabled {
  cursor: wait;
  opacity: 0.65;
}

/* Provas sociais inseridas entre as perguntas do quiz. */
.quiz-social-proof-intro {
  max-width: 560px;
  margin: -8px auto 20px;
  color: #4f4f4f;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  text-align: center;
}

.quiz-social-proof-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.quiz-social-proof-stats > div,
.quiz-social-proof-quotes blockquote {
  margin: 0;
  border-radius: 10px;
  background: #f1f3f9;
  color: #111111;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

.quiz-social-proof-stats > div {
  min-height: 104px;
  padding: 14px 10px;
  text-align: center;
}

.quiz-social-proof-stats strong,
.quiz-social-proof-stats span,
.quiz-social-proof-stats small {
  display: block;
}

.quiz-social-proof-stats strong {
  font-size: 17px;
  font-weight: 800;
}

.quiz-social-proof-stats span {
  margin: 4px 0;
  color: #f4b400;
  font-size: 12px;
  letter-spacing: 1px;
}

.quiz-social-proof-stats small {
  color: #5c6270;
  font-size: 10px;
  line-height: 1.3;
}

.quiz-social-proof-quotes {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.quiz-social-proof-quotes blockquote {
  padding: 13px 16px;
  font-size: 13px;
  line-height: 1.45;
}

.quiz-social-proof-quotes cite {
  display: block;
  margin-top: 7px;
  color: #4f4f4f;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

/* Resumo e avaliações no mesmo padrão da seção de opiniões da página final. */
.quiz-social-proof-summary {
  display: grid;
  grid-template-columns: 0.8fr 0.9fr 1.35fr;
  gap: 8px;
  margin-bottom: 14px;
}

.quiz-social-rating-summary,
.quiz-social-sales-summary,
.quiz-social-secure {
  min-height: 78px;
  padding: 11px 10px;
  border: 1px solid #e4e7ed;
  border-radius: 10px;
  background: #ffffff;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

.quiz-social-rating-summary,
.quiz-social-sales-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.quiz-social-rating-summary strong,
.quiz-social-sales-summary strong,
.quiz-social-rating-summary small,
.quiz-social-sales-summary small,
.quiz-social-secure strong,
.quiz-social-secure small {
  display: block;
}

.quiz-social-rating-summary strong,
.quiz-social-sales-summary strong {
  color: #3483fa;
  font-size: 16px;
  font-weight: 800;
}

.quiz-social-rating-summary span {
  display: block;
  margin: 3px 0;
  color: #f2c94c;
  font-size: 11px;
  letter-spacing: 0.5px;
}

.quiz-social-proof-summary small {
  color: #747474;
  font-size: 10px;
  line-height: 1.2;
}

.quiz-social-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: left;
}

.quiz-social-secure img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.quiz-social-secure strong {
  color: #3483fa;
  font-size: 12px;
  font-weight: 800;
}

.quiz-social-reviews {
  display: grid;
  gap: 0;
  margin-bottom: 22px;
  border-top: 1px solid #eaeaea;
}

.quiz-social-review {
  padding: 16px 0;
  border-bottom: 1px solid #eaeaea;
  color: #333333;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  text-align: left;
}

.quiz-social-review-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.quiz-social-review-head > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.quiz-social-stars {
  color: #f2c94c;
  font-size: 12px;
  letter-spacing: 0.5px;
}

.quiz-social-review-head strong {
  color: #18312d;
  font-size: 13px;
  font-weight: 800;
}

.quiz-social-review time,
.quiz-social-review footer {
  color: #8f8f8f;
  font-size: 10px;
}

.quiz-social-verified {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 2px 7px;
  border: 1px solid #bcd8ff;
  border-radius: 999px;
  background: #edf5ff;
  color: #287eff;
  font-size: 9px;
  font-weight: 800;
}

.quiz-social-recommend {
  display: inline-block;
  margin: 7px 0 8px;
  color: #047857;
  font-size: 10px;
  font-weight: 700;
}

.quiz-social-review p {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.5;
}

.quiz-social-review-photos {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.quiz-social-review-photo {
  display: block;
  width: 70px;
  height: 70px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  object-fit: cover;
}

.quiz-social-review footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  line-height: 1.35;
}

.quiz-social-helpful {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.quiz-social-like {
  display: inline-grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid #111111;
  border-radius: 5px;
  background: #111111;
  color: #ffffff;
}

.quiz-social-like svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* Roleta de cupom: o setor vencedor fica no topo ao fim do giro. */
.end-screen {
  align-items: center;
}

.wheel-instruction {
  margin: -6px 0 16px;
  color: #4f4f4f;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.coupon-wheel-stage {
  position: relative;
  width: min(290px, 82vw);
  aspect-ratio: 1;
  margin: 0 auto 14px;
}

.coupon-wheel-pointer {
  position: absolute;
  z-index: 3;
  top: -7px;
  left: 50%;
  width: 0;
  height: 0;
  border-right: 14px solid transparent;
  border-left: 14px solid transparent;
  border-top: 28px solid #111111;
  transform: translateX(-50%);
}

.coupon-wheel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 9px solid #111111;
  border-radius: 50%;
  background: conic-gradient(
    from -22.5deg,
    #287eff 0deg 45deg,
    #0451c4 45deg 90deg,
    #287eff 90deg 135deg,
    #0451c4 135deg 180deg,
    #287eff 180deg 225deg,
    #0451c4 225deg 270deg,
    #287eff 270deg 315deg,
    #0451c4 315deg 360deg
  );
  box-shadow: 0 8px 0 #111111, 0 14px 25px rgba(0, 0, 0, 0.16);
}

.coupon-wheel::after {
  content: "CUPOM\A DESAFIO";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 5px solid #111111;
  border-radius: 50%;
  background: #ffffff;
  color: #287eff;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.35px;
  line-height: 1.15;
  white-space: pre-line;
  transform: translate(-50%, -50%);
}

.wheel-label {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 62px;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  transform: translate(-50%, -50%) rotate(var(--wheel-angle)) translateY(-102px) rotate(calc(0deg - var(--wheel-angle)));
}

.wheel-label-dark {
  color: #10284d;
}

.wheel-label-light {
  color: #f7fbff;
}

.coupon-wheel.is-spinning {
  will-change: transform;
}

.coupon-wheel.is-winner {
  box-shadow: 0 8px 0 #111111, 0 0 0 6px rgba(52, 131, 250, 0.24), 0 14px 25px rgba(0, 0, 0, 0.16);
}

.wheel-result {
  min-height: 22px;
  margin: 0 0 12px;
  color: #111111;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.btn-spin-wheel {
  width: 100%;
  background: #3483fa;
  color: #ffffff;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.btn-spin-wheel:hover {
  background: #2870d7;
  transform: translateY(-2px);
}

.btn-spin-wheel:disabled {
  cursor: wait;
  opacity: 0.72;
}

#end-screen .btn-resgate {
  margin-top: 0;
}

#end-screen .btn-resgate.hidden {
  display: none;
}

@media (max-width: 480px) {
  .quiz-social-proof-stats {
    grid-template-columns: 1fr;
  }

  .quiz-social-proof-stats > div {
    min-height: 0;
  }

  .quiz-social-proof-summary {
    grid-template-columns: 1fr 1fr;
  }

  .quiz-social-secure {
    grid-column: 1 / -1;
    min-height: 58px;
  }

  .quiz-social-review footer {
    flex-direction: column;
    gap: 3px;
  }
}

/* ==========================================================================
   DYNAMIC PRICE & DISCOUNT SUMMARY
   ========================================================================== */
.pricing-summary {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: #f1f3f9;
  border: 1px solid var(--color-brand-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 22px;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

.valor-desconto {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #111111;
  font-size: 14px;
  font-weight: 700;
}

.valor-desconto p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: #ef4444;
}

.valor-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #3ee979;
  font-size: 15px;
  font-weight: 800;
  border-top: 1px dashed var(--color-brand-border);
  padding-top: 8px;
}

.valor-total p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

/* ==========================================================================
   ACTION BUTTONS & NAVIGATION
   ========================================================================== */
.quiz-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.btn {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  padding: 15px 22px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all var(--transition-fast);
  outline: none;
}

/* Default "Selecionar Resposta" State - Casa Bergan Dark Green with White text */
.btn-select-mode {
  background-color: #111111 !important;
  color: #ffffff !important;
  border: 1.5px solid #111111 !important;
  flex: 1;
}

.btn-select-mode:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Green Soft State when Correctly Selected */
.btn-green-soft {
  background-color: #10b981 !important;
  color: #ffffff !important;
  border: 1.5px solid #059669 !important;
  flex: 1;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3) !important;
  animation: softButtonPulse 1.8s infinite ease-in-out;
}

.btn-green-soft:hover {
  background-color: #059669 !important;
  border-color: #059669 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.38) !important;
}

@keyframes softButtonPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}

.btn-secondary {
  background-color: #ffffff;
  color: #111111;
  border: 1px solid #e3e6ec;
  padding: 15px 18px;
}

.btn-secondary:hover {
  background-color: #f8f9fb;
  transform: translateY(-2px);
}

.btn-start {
  width: 100%;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 18px;
  padding: 18px 24px;
  background-color: #111111;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.btn-start:hover {
  background-color: #000000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-resgate {
  width: 100%;
  font-size: 18px;
  padding: 18px 24px;
  background-color: #10b981;
  color: #ffffff;
  border: 1.5px solid #059669;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
  animation: pulseGreenButton 2s infinite ease-in-out;
}

.btn-resgate:hover {
  background-color: #059669;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 30px rgba(16, 185, 129, 0.45);
}

@keyframes pulseGreenButton {
  0% {
    transform: scale(1);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 14px 30px rgba(16, 185, 129, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.35);
  }
}

/* ==========================================================================
   END SCREEN & CELEBRATION
   ========================================================================== */
.end-screen {
  text-align: center;
  padding: 10px 0;
}

.celebration-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #d97706;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(217, 119, 6, 0.2);
  animation: bounceTrophy 1s ease infinite alternate;
}

.celebration-icon svg {
  width: 38px;
  height: 38px;
}

@keyframes bounceTrophy {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-8px);
  }
}

.end-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.p-resgate {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-dark-subtle);
  margin-bottom: 24px;
  background-color: var(--color-brand-light);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-brand-border);
}

/* ==========================================================================
   SINGLE CLEAN MODAL (Fixed - No Duplicate Popups)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(18, 15, 13, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
}

.modal-overlay.hidden {
  display: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-box {
  background-color: #ffffff;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-brand-border);
  transform: scale(1);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-overlay.hidden .modal-box {
  transform: scale(0.94);
}

/* Mini pages for Institutional & Help footer links */
.mini-page-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(18, 15, 13, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.mini-page-overlay.hidden {
  display: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.mini-page-box {
  position: relative;
  width: min(100%, 590px);
  max-height: min(760px, calc(100vh - 40px));
  overflow: hidden;
  border: 1px solid #ddd5c9;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  transform: translateY(0) scale(1);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.mini-page-overlay.hidden .mini-page-box {
  transform: translateY(10px) scale(0.96);
}

.mini-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 30px 22px;
  border-bottom: 1px solid #eee9e3;
  background: linear-gradient(135deg, #faf8f5 0%, #fff 72%);
}

.mini-page-kicker {
  display: block;
  margin-bottom: 8px;
  color: #a77e5b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  line-height: 1.2;
  text-transform: uppercase;
}

.mini-page-header h2 {
  margin: 0;
  color: #18312d;
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.mini-page-close {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin: -7px -7px 0 0;
  border: 1px solid #e5ded5;
  border-radius: 999px;
  background: #fff;
  color: #18312d;
  cursor: pointer;
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mini-page-close:hover {
  border-color: #18312d;
  background: #f5f0ea;
  transform: rotate(90deg);
}

.mini-page-content {
  max-height: min(510px, calc(100vh - 240px));
  overflow-y: auto;
  padding: 26px 30px 28px;
}

.mini-page-intro {
  margin: 0 0 20px;
  color: #4f4f4f;
  font-size: 15px;
  line-height: 1.65;
}

.mini-page-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mini-page-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid #eee9e3;
  border-radius: 12px;
  background: #faf8f5;
  color: #4f4f4f;
  font-size: 13px;
  line-height: 1.5;
}

.mini-page-list li::before {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #e6f0ec;
  color: #18312d;
  content: "✓";
  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.mini-page-faq {
  display: grid;
  gap: 12px;
}

.mini-page-faq-item {
  padding: 15px 16px;
  border-left: 3px solid #a77e5b;
  border-radius: 0 10px 10px 0;
  background: #faf8f5;
}

.mini-page-faq-item strong,
.mini-page-faq-item span {
  display: block;
}

.mini-page-faq-item strong {
  margin-bottom: 5px;
  color: #18312d;
  font-size: 13px;
}

.mini-page-faq-item span {
  color: #5d5d5d;
  font-size: 12px;
  line-height: 1.55;
}

.mini-page-note {
  margin: 18px 0 0;
  padding: 13px 15px;
  border: 1px solid #e5ded5;
  border-radius: 10px;
  background: #fffaf3;
  color: #6f5a49;
  font-size: 12px;
  line-height: 1.55;
}

.mini-page-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 30px 20px;
  border-top: 1px solid #eee9e3;
  color: #8f8f8f;
  font-size: 11px;
}

.mini-page-footer button {
  border: 0;
  background: transparent;
  color: #18312d;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

[data-mini-page] {
  cursor: pointer;
}

@media (max-width: 640px) {
  .mini-page-overlay {
    align-items: flex-end;
    padding: 10px;
  }

  .mini-page-box {
    max-height: calc(100vh - 20px);
    border-radius: 18px;
  }

  .mini-page-header {
    padding: 23px 20px 19px;
  }

  .mini-page-content {
    max-height: calc(100vh - 230px);
    padding: 22px 20px 24px;
  }

  .mini-page-footer {
    padding: 15px 20px 18px;
  }
}

.modal-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.modal-icon.warning {
  background-color: var(--color-danger-bg);
  color: var(--color-danger-soft);
  border: 1px solid var(--color-danger-border);
}

.modal-icon.info {
  background-color: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
}

.modal-icon svg {
  width: 28px;
  height: 28px;
}

.dica-errado {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: #dc2626;
  margin-bottom: 12px;
  line-height: 1.3;
}

.dica-p {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark-subtle);
  line-height: 1.55;
  margin-bottom: 22px;
  background-color: var(--color-brand-light);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--color-brand-border);
  text-align: left;
  width: 100%;
}

.dica-p:empty {
  display: none;
}

.btn-modal {
  width: 100%;
  background-color: var(--color-dark);
  color: #ffffff;
}

.btn-modal:hover {
  background-color: var(--color-brand-hover);
}

/* ==========================================================================
   CONFETTI CANVAS (FOR CELEBRATION)
   ========================================================================== */
/* ==========================================================================
   LANDING PAGE DEDICATED STYLES & INTERACTIVITY (Casa Bergan Reverse Engineered)
   ========================================================================== */
.landing-page-wrapper {
  width: 100%;
  opacity: 1;
  font-family: var(--font-body);
  transition: opacity 0.5s ease;
}

.landing-page-wrapper.hidden {
  display: none !important;
}

/* Títulos editoriais com leitura direta, no mesmo estilo das seções de fotos e opiniões. */
.landing-simple-eyebrow,
.landing-simple-heading {
  color: #242424;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}

.landing-simple-eyebrow {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
}

.landing-simple-heading {
  margin: 0;
  font-size: 23px;
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1.22;
}

@media (min-width: 768px) {
  .landing-simple-heading {
    font-size: 25px;
  }
}

/* E-Commerce Header Navigation */
.ecom-header {
  background-color: #ffffff;
  border-bottom: 1px solid #eaeaea;
  padding: 0;
  position: static;
  z-index: 40;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.03);
}

/* Busca, conta e favoritos foram removidos do cabeçalho da loja. */
.ecom-header [data-legacy-header-tools] {
  display: none;
}

.ecom-nav-categories {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 10px 0 4px 0;
  border-top: 1px solid #f5f5f5;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.ecom-nav-categories a {
  color: #3d3d3d;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.ecom-nav-categories a:hover,
.ecom-nav-categories a.active {
  color: #18312d;
}

.ecom-nav-categories a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #18312d;
  border-radius: 2px;
}

/* Product Spot Tags */
.product-badge-stack {
  position: absolute;
  top: 57px;
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.spot-tag-promo {
  background-color: #18312d;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 7px 16px 7px 14px;
  border-radius: 0 5px 5px 0;
  text-transform: uppercase;
  letter-spacing: 0.65px;
}

.promotion-savings {
  padding: 3px 7px;
  border-radius: 4px;
  background: #11a94d;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15px;
  line-height: 1.1;
}

.product-price-display {
  display: inline-flex;
  align-items: flex-start;
  color: #222222;
  font-family: var(--font-heading);
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 0.98;
}

.product-title {
  margin: 0 0 12px;
  color: #242424;
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.product-verified-badge {
  display: inline-block;
  width: 19px;
  height: 19px;
  margin-left: 5px;
  vertical-align: -3px;
  object-fit: contain;
}

.pix-payment-box {
  font-family: var(--font-body);
}

.product-sales-count {
  color: #6b6b6b;
  font-size: 12px;
  white-space: nowrap;
}

.price-currency {
  align-self: flex-end;
  margin: 0 4px 2px 0;
  font-size: 0.72em;
  font-weight: 500;
  letter-spacing: -0.5px;
}

.price-whole {
  font-weight: 500;
}

.price-cents {
  margin: 2px 0 0 1px;
  font-size: 0.44em;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
}

@media (max-width: 640px) {
  .product-title {
    font-size: 19px;
  }
}

#lp-original-price {
  color: #777777 !important;
  font-size: 14px !important;
  text-decoration: line-through;
}

#lp-installments-display {
  color: #5f5f5f !important;
  font-size: 12px !important;
}

/* Color Swatches Grid */
.color-swatch-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid #e0e0e0;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.color-swatch-circle:hover {
  transform: scale(1.08);
  border-color: #876b56;
}

.color-swatch-circle.active {
  outline: 2px solid #1677ff;
  outline-offset: 2px;
  transform: scale(1.06);
  box-shadow: none;
}

.color-swatch-circle.is-preview {
  outline: 2px dashed #1677ff;
  outline-offset: 2px;
  transform: scale(1.04);
  box-shadow: none;
}

.color-selection-order {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transform: translate(-50%, -50%);
}

.color-selection-order i {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border: 1.5px solid #ffffff;
  border-radius: 50%;
  background: #1677ff;
  color: #ffffff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.color-swatch-circle.is-unavailable {
  cursor: not-allowed;
  opacity: 0.42;
  filter: saturate(0.65);
}
.color-swatch-circle.is-unavailable:hover {
  transform: none;
  border-color: #e0e0e0;
}

.color-swatch-circle.sold-out::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -22%;
  width: 144%;
  height: 2px;
  background: #9d0f1b;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8);
  transform: rotate(-45deg);
}

/* Size Buttons Grid (Exact Casa Bergan) */
.size-quad-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
@media (max-width: 640px) {
  .size-pill-btn {
    flex-basis: calc(33.333% - 6px);
  }
}

.size-pill-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex: 1 1 104px;
  padding: 10px 12px;
  min-height: 48px;
  background-color: #ffffff;
  border: 1px dashed #8b8b8b;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.size-pill-btn:hover {
  border-color: #1677ff;
  background-color: #ffffff;
  transform: none;
}

.size-pill-btn .size-name {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #333333;
  line-height: 1.2;
  margin-bottom: 0;
}

.size-pill-btn .size-dim {
  display: none;
}

.size-pill-btn.active {
  background-color: #ffffff !important;
  border: 2px solid #1677ff !important;
  color: #1677ff !important;
  box-shadow: none !important;
}

.size-pill-btn.active .size-name {
  color: #1677ff !important;
  font-weight: 800 !important;
}

.size-pill-btn.active .size-dim {
  color: #18312d !important;
  font-weight: 600 !important;
}

/* Buy CTA Button (Exact Casa Bergan) */
.btn-buy-pdp {
  width: 100%;
  background-color: #18312d;
  color: #ffffff;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  border-radius: 6px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(24, 49, 45, 0.2);
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-buy-pdp:hover {
  background-color: #234640;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(24, 49, 45, 0.28);
}

.btn-buy-pdp:active {
  transform: translateY(0);
}

.lp-buy-btn:disabled,
.lp-buy-btn.is-unavailable {
  cursor: not-allowed;
  background: #8f8f8f !important;
  box-shadow: none !important;
  opacity: 0.82;
}

.lp-buy-btn:disabled:hover,
.lp-buy-btn.is-unavailable:hover {
  transform: none;
}

/* Mantém o mesmo botão na barra fixa, mesmo quando as utilidades do layout são aplicadas. */
.lp-buy-btn:not(:disabled):not(.is-unavailable) {
  background-color: #18312d !important;
  font-family: "Inter", Arial, Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 0;
}

.lp-buy-btn:not(:disabled):not(.is-unavailable):hover {
  background-color: #234640 !important;
}

.lp-buy-btn.is-ready:not(:disabled):not(.is-unavailable) {
  background-color: #3483fa !important;
  box-shadow: 0 4px 14px rgba(52, 131, 250, 0.22);
}

.lp-buy-btn.is-ready:not(:disabled):not(.is-unavailable):hover {
  background-color: #2968c8 !important;
  box-shadow: 0 6px 20px rgba(52, 131, 250, 0.3);
}

/* Product Description Accordion (Casa Bergan UI) */
.accordion-item-bergan {
  border-bottom: 1px solid #eaeaea;
}
.accordion-header-bergan {
  padding: 16px 0;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: #18312d;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.accordion-header-bergan .acc-icon {
  transition: transform 0.3s ease;
}
.accordion-item-bergan.active .accordion-header-bergan .acc-icon {
  transform: rotate(180deg);
}
.accordion-content-bergan {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
  color: #4f4f4f;
  font-size: 14px;
  line-height: 1.6;
}
.accordion-item-bergan.active .accordion-content-bergan {
  max-height: 900px;
  padding-bottom: 20px;
}

/* Technical Specs Cards */
.spec-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.spec-card-item {
  background-color: #f3f2ee;
  border-radius: 8px;
  padding: 14px 10px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.spec-card-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.spec-card-icon-finish {
  color: #6b6b6b;
}
.spec-card-item strong {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #18312d;
}
.spec-card-item span {
  font-size: 12px;
  color: #4f4f4f;
}
#spec-dimensions {
  white-space: nowrap;
  font-size: 10.5px !important;
  letter-spacing: -0.15px;
}

/* Reviews Summary Widget (Casa Bergan / Konfidency Design) */
.reviews-score-badge {
  font-size: 42px;
  font-weight: 800;
  color: #18312d;
  font-family: var(--font-heading);
  line-height: 1;
}

/* Resumo de opiniões: leitura direta e inspirada no painel de marketplace. */
.reviews-rating-overview {
  display: block !important;
  margin-bottom: 30px !important;
  padding: 26px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
}
.reviews-rating-overview > div:first-child {
  display: grid !important;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  max-width: 360px;
  padding: 0 !important;
  border: 0 !important;
  text-align: left !important;
}
.reviews-rating-overview .reviews-score-badge {
  grid-row: 1 / span 2;
  color: #3d7eff;
  font-size: 52px;
  letter-spacing: -0.055em;
}
.reviews-rating-overview > div:first-child > div {
  justify-content: flex-start !important;
  margin: 0 !important;
}
.reviews-rating-overview > div:first-child > div svg {
  width: 21px;
  height: 21px;
  fill: #3d7eff;
}
.reviews-rating-overview > div:first-child > p {
  margin: 0 !important;
  color: #637083 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}
.reviews-rating-overview > div:first-child > p:last-child {
  grid-column: 1 / -1;
  margin-top: 15px !important;
  color: #7b8798 !important;
}
.reviews-rating-overview > div:first-child > p:last-child::before {
  content: "i";
  display: inline-flex;
  width: 15px;
  height: 15px;
  margin-right: 7px;
  align-items: center;
  justify-content: center;
  border: 1px solid #3d7eff;
  border-radius: 50%;
  color: #3d7eff;
  font-size: 10px;
  font-weight: 800;
  font-family: Arial, sans-serif;
  vertical-align: -1px;
}
.reviews-rating-overview > div:last-child {
  max-width: 380px;
  margin-top: 22px;
}
.reviews-rating-overview > div:last-child > div {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 76px;
  gap: 10px !important;
  align-items: center;
}
.reviews-rating-overview > div:last-child > div > span:first-child {
  grid-column: 2;
  grid-row: 1;
  width: auto !important;
  color: #8c96a5;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-align: left !important;
}
.reviews-rating-overview > div:last-child > div > span:first-child::after {
  content: " ★";
  color: #bcc4ce;
  font-size: 11px;
}
.reviews-rating-overview > div:last-child > div > div {
  grid-column: 1;
  grid-row: 1;
  height: 4px !important;
  border-radius: 999px;
  background: #e6e8eb !important;
}
.reviews-rating-overview > div:last-child > div > div > div {
  background: #707070 !important;
}
.reviews-rating-overview > div:last-child > div > span:last-child {
  display: none;
}
@media (max-width: 640px) {
  .reviews-rating-overview {
    padding: 20px 0 !important;
  }
  .reviews-rating-overview .reviews-score-badge {
    font-size: 48px;
  }
}

/* Customer Photos Gallery Strip */
.customer-photos-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px 2px;
  scrollbar-width: thin;
  scrollbar-color: #876b56 #faf8f5;
}
.customer-photos-strip::-webkit-scrollbar {
  height: 6px;
}
.customer-photos-strip::-webkit-scrollbar-thumb {
  background: #c4b5a5;
  border-radius: 4px;
}
.customer-photo-thumb {
  position: relative;
  flex: 0 0 110px;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.customer-photo-thumb:hover {
  transform: translateY(-2px);
  border-color: #18312d;
  box-shadow: 0 4px 12px rgba(24, 49, 45, 0.15);
}
.customer-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.customer-photo-overlay {
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background: rgba(24, 49, 45, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.2s ease;
  color: #ffffff;
}
.customer-photo-thumb:hover .customer-photo-overlay {
  opacity: 1;
}

/* Linear Review List Item (Casa Bergan Official Layout) */
.konfidency-review-item {
  padding: 24px 0;
  border-bottom: 1px solid #eaeaea;
  text-align: left;
}
.konfidency-review-item:last-child {
  border-bottom: none;
}
.konfidency-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #15803d;
  background-color: #ecfdf5;
  padding: 2px 8px;
  border-radius: 9999px;
  border: 1px solid #a7f3d0;
}
.konfidency-recommend-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #047857;
  margin-top: 4px;
  margin-bottom: 8px;
}
.review-score-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px 24px;
  margin: 14px 0;
}
.review-score-metric {
  min-width: 0;
}
.review-score-metric-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  color: #18312d;
  font-size: 12px;
  font-weight: 700;
}
.review-score-metric-head span:last-child {
  flex-shrink: 0;
  font-weight: 500;
}
.review-score-bar {
  display: block;
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #eceae6;
}
.review-score-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #222222;
}
.review-photo-attachment-item {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.review-photo-attachment-item::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  background-color: rgba(24, 49, 45, 0.9);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
}
.review-photo-attachment-item:hover {
  border-color: #18312d;
  transform: scale(1.04);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.review-helpful-action {
  font-size: 11px;
  color: #737373;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.review-helpful-action button {
  background: none;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #18312d;
  cursor: pointer;
  transition: all 0.15s ease;
}
.review-helpful-action button:hover {
  background-color: #f3f2ee;
  border-color: #18312d;
}

.reviews-load-more-wrap {
  display: flex;
  justify-content: center;
  padding-top: 24px;
}
.reviews-load-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #18312d;
  border-radius: 8px;
  background: #ffffff;
  color: #18312d;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.reviews-load-more-btn:hover {
  background: #18312d;
  color: #ffffff;
}
.reviews-load-more-btn svg {
  width: 16px;
  height: 16px;
}

.product-guarantee-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px 48px;
}
.product-guarantee-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}
.product-guarantee-card img {
  width: 94px;
  height: 94px;
  object-fit: contain;
  flex: 0 0 auto;
}
.product-guarantee-card span {
  display: block;
  margin-bottom: 5px;
  color: #876b56;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
}
.product-guarantee-card h2 {
  margin: 0 0 5px;
  color: #18312d;
  font-family: "Jost", sans-serif;
  font-size: 22px;
  font-weight: 700;
}
.product-guarantee-card p {
  max-width: 540px;
  margin: 0;
  color: #4f4f4f;
  font-size: 14px;
  line-height: 1.55;
}

.payment-brand-image {
  display: block;
  width: auto;
  max-width: 58px;
  object-fit: contain;
}
#payment-methods-info > .flex > div {
  min-height: 42px;
  padding: 6px 10px !important;
}
.payment-brand-pix {
  width: 17px;
  height: 17px;
}
.payment-brand-visa {
  width: 42px;
  height: 17px;
}
.payment-brand-elo {
  width: 32px;
  height: 17px;
}
.payment-brand-hipercard {
  width: 70px;
  height: 30px;
}
.payment-brand-amex {
  width: 46px;
  height: 30px;
}
.payment-card-hipercard,
.payment-card-amex {
  min-height: 42px;
  padding: 6px 10px !important;
}
@media (max-width: 640px) {
  .product-guarantee-section {
    padding-bottom: 34px;
  }
  .product-guarantee-card {
    gap: 14px;
    padding: 8px 0;
    align-items: flex-start;
  }
  .product-guarantee-card img {
    width: 72px;
    height: 72px;
  }
  .product-guarantee-card h2 {
    font-size: 19px;
  }
  .product-guarantee-card p {
    font-size: 13px;
  }
}

/* Lightbox Modal for Full-Size Review Photos */
.photo-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.photo-lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.photo-lightbox-box {
  background: #ffffff;
  border-radius: 14px;
  max-width: 640px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}
.photo-lightbox-overlay.active .photo-lightbox-box {
  transform: scale(1);
}
.lightbox-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-top: -19px;
  border: 0;
  border-radius: 999px;
  background: rgba(24, 49, 45, 0.9);
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.lightbox-gallery-nav:hover {
  background: #18312d;
  transform: scale(1.08);
}
.lightbox-gallery-nav:disabled {
  display: none;
}
.lightbox-gallery-nav svg {
  width: 20px;
  height: 20px;
}
.lightbox-gallery-prev {
  left: 18px;
}
.lightbox-gallery-next {
  right: 18px;
}

/* Security Badges in E-commerce Footer */
.security-badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}
.security-badge-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}
.security-badge-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  border-color: #18312d;
}

.top-urgency-bar {
  position: sticky;
  top: var(--quiz-header-height, 70px);
  z-index: 40;
  width: 100%;
  padding: 10px 16px;
  background: #1e1b18;
  color: #faf8f5;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

body.landing-ready .top-urgency-bar {
  top: var(--quiz-header-height, 70px);
  margin-top: 0;
  box-shadow: none;
}

.top-urgency-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 960px;
  margin: 0 auto;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.top-urgency-content svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.top-urgency-content time {
  padding: 5px 10px;
  border-radius: 7px;
  background: #b91c1c;
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
}

/* Floating Sticky Buy Bar */
.sticky-buy-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #e0e0e0;
  padding: 12px 20px;
  z-index: 40;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-buy-bar.visible {
  transform: translateY(0);
}

/* Measurement Modal */
.modal-medidas-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.modal-medidas-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-medidas-box {
  background: #ffffff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
  transition: transform 0.25s ease;
}
.modal-medidas-overlay.active .modal-medidas-box {
  transform: scale(1);
}

.modal-measurement-value {
  color: #287eff;
  font-weight: 600;
}

.carousel-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.carousel-thumb {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #faf8f5;
}

.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.color-swatch-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.swatch-chumbo {
  background: #4c4c4a;
}
.swatch-kaki {
  background: #b5997f;
}
.swatch-marfim {
  background: #f2eee3;
}
.swatch-petroleo {
  background: #638ca5;
}
.swatch-prata {
  background: #b7b7b5;
}
.swatch-rosa {
  background: #c79399;
}
.swatch-verde {
  background: #829d83;
}
.swatch-vermelho {
  background: #a31626;
}

/* ========================================================================== 
   FINISHING LAYER: ACCESSIBILITY, MOTION & RESPONSIVE REFINEMENTS
   ========================================================================== */

button,
input,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(135, 107, 86, 0.72);
  outline-offset: 3px;
}

.accordion-header-bergan {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
}

.accordion-header-bergan:hover {
  color: var(--color-brown-medium);
}

.photo-lightbox-box,
.modal-medidas-box {
  max-height: calc(100dvh - 32px);
  overflow: auto;
}

.landing-page-wrapper {
  padding-bottom: 88px;
}

.sticky-buy-bar .lp-buy-btn {
  flex-shrink: 0;
}

.customer-photos-strip {
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
}

.customer-photo-thumb {
  scroll-snap-align: start;
}

.shipping-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 96px;
  }

  .ecom-header {
    padding: 0;
  }

  .quiz-header {
    padding: 0 16px;
  }

  .site-brand-name {
    font-size: 16px;
    letter-spacing: 1.6px;
  }

  .site-brand-tagline {
    font-size: 6px;
    letter-spacing: 2.1px;
  }

  .color-selection-slots {
    gap: 6px;
  }

  .spot-tag-promo {
    font-size: 10px;
    padding: 6px 12px 6px 10px;
  }

  .product-badge-stack {
    top: 50px;
  }

  .sticky-buy-bar {
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  }

  .sticky-buy-bar .lp-buy-btn {
    padding: 12px 14px;
    letter-spacing: 0.7px;
  }

  .top-urgency-bar {
    top: var(--quiz-header-height, 62px);
    padding: 9px 12px;
  }

  .top-urgency-content {
    gap: 7px;
    font-size: 12px;
  }

  .top-urgency-content svg {
    width: 16px;
    height: 16px;
  }

  .top-urgency-content time {
    padding: 5px 8px;
    font-size: 15px;
  }
}

/* Evita que uma seção interna ou uma transformação force o viewport para a direita. */
#quiz-view,
#landing-page-view,
#landing-page-view > * {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

#landing-page-view {
  overflow-x: clip;
}

@supports not (overflow: clip) {
  #landing-page-view {
    overflow-x: hidden;
  }
}

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

/* Esta indicação é uma ação explícita da compra: mantém o convite visual ativo. */
.color-selection-slot.is-awaiting-selection {
  animation-name: color-slot-pulse !important;
  animation-duration: 1.55s !important;
  animation-timing-function: cubic-bezier(0.36, 0, 0.2, 1) !important;
  animation-iteration-count: infinite !important;
}
