:root {
      --zao-espresso: #4a2627;
      --zao-espresso-hover: #361a1b;
      --zao-warm-bg: #ece5dc;
      --zao-card-bg: #faf6f2;
      --zao-border: #e8ded4;
      --zao-text: #2f2523;
      --zao-muted: #736761;
      --zao-radius: 28px;
      --zao-pill: 50px;
      --zao-shadow: 0 25px 70px rgba(60, 40, 30, 0.16);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-font-smoothing: antialiased;
    }

    body {
      font-family: 'Plus Jakarta Sans', sans-serif;
      background-color: var(--zao-warm-bg);
      color: var(--zao-text);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 24px 12px;
      background-image: radial-gradient(#ded4c7 1.2px, transparent 1.2px);
      background-size: 24px 24px;
    }

    /* CONTENEDOR TIPO APP / WIDGET DE BELLEZA CONSCIENTE */
    .app-card {
      width: 440px;
      max-width: 96vw;
      height: 740px;
      max-height: 92vh;
      background: #211512;
      border-radius: 20px;
      box-shadow: 0 20px 50px rgba(45, 27, 20, 0.35);
      position: relative;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .screen {
      display: none !important;
      flex: 1;
      flex-direction: column;
      animation: fadeIn 0.3s ease;
      height: 100%;
      position: relative;
    }
    .screen.active {
      display: flex !important;
    }

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

    /* DECORACIÓN BOTÁNICA DE FONDO (SUAVIZADA) */
    .bamboo-watermark-decor {
      position: absolute;
      bottom: 60px;
      right: -10px;
      width: 175px;
      height: auto;
      opacity: 0.20;
      pointer-events: none;
      transform: rotate(-10deg);
      z-index: 0;
    }

    .advisor-tip-card {
      margin-top: 18px;
      background: #ded3c8;
      border: none;
      border-radius: 16px;
      padding: 14px 18px;
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 11.5px;
      line-height: 1.45;
      color: #3e2e26;
      box-shadow: 0 2px 8px rgba(60, 40, 30, 0.04);
      position: relative;
      z-index: 2;
    }

    /* PANTALLA 0: PORTADA NATIVA CON CLAUDIA DE ROSTRO COMPLETO (BARBILLA VISIBLE) */
    .screen-hero {
      position: relative;
      background-color: #211512;
      background-image: url('../images/hero_claudia_chin_100clean.jpg');
      background-position: top center;
      background-size: cover;
      background-repeat: no-repeat;
      height: 100%;
      justify-content: flex-end;
      padding: 20px 24px 28px;
      color: #ffffff;
      overflow: hidden;
    }

    .hero-bg-img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
      z-index: 1;
      pointer-events: none;
    }

    .hero-top-bar {
      position: absolute;
      top: 16px;
      left: 20px;
      z-index: 10;
      pointer-events: none;
    }

    .hero-brand-logo {
      height: 26px;
      width: auto;
      display: block;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    }

    .hero-content {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 5px;
      z-index: 2;
      width: 100%;
    }

    .hero-eyebrow {
      font-size: 10px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      font-weight: 700;
      color: #d8c4b7;
      margin-bottom: 2px;
    }

    .hero-title {
      font-family: 'Playfair Display', serif;
      font-size: 24px;
      line-height: 1.15;
      font-weight: 600;
      color: #ffffff;
      margin-bottom: 4px;
    }

    .hero-desc {
      font-size: 12px;
      line-height: 1.4;
      color: #e0d0c7;
      margin-bottom: 12px;
    }

    .hero-badges-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 8px;
      margin-bottom: 14px;
      padding: 0 4px;
    }

    .hero-badge-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      text-align: center;
      flex: 1;
    }

    .badge-icon-wrap {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      border: 1px solid rgba(255, 255, 255, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.08);
      backdrop-filter: blur(4px);
    }

    .badge-txt {
      font-size: 10px;
      color: #f0e3db;
      line-height: 1.2;
      font-weight: 500;
    }

    .btn-start-hero {
      background: #f4ede3;
      color: #271813;
      border: none;
      padding: 13px 24px;
      border-radius: var(--zao-pill);
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.2s;
      width: 100%;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.28);
    }
    .btn-start-hero:hover {
      background: #ffffff;
      transform: translateY(-1px);
    }

    /* CABECERA CON LOGO REAL Y HOJAS DE BAMBÚ */
    .quiz-header {
      padding: 10px 18px 2px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
      z-index: 2;
    }
    .zao-brand-logo {
      height: 25px;
      width: auto;
      object-fit: contain;
      display: block;
    }
    .bamboo-corner-img {
      position: absolute;
      top: 0;
      right: 0;
      width: 95px;
      height: auto;
      pointer-events: none;
      z-index: 1;
    }

    /* STEPPER DEL MOCKUP (4 PASOS) */
    .progress-dots {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 6px 24px 14px;
      position: relative;
      z-index: 2;
    }
    .pdot {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: #ece4db;
      color: var(--zao-muted);
      font-size: 11px;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.3s;
    }
    .pdot.active {
      background: var(--zao-espresso);
      color: #ffffff;
      box-shadow: 0 2px 8px rgba(74, 38, 39, 0.25);
    }
    .pdot.done {
      background: #dacbc0;
      color: var(--zao-espresso);
    }
    .pline {
      width: 20px;
      height: 1.5px;
      background: #dfd4c8;
    }

    /* CUERPO DEL CUESTIONARIO CON MEJOR ESPACIADO */
    .quiz-body {
      padding: 2px 18px 6px;
      flex: 1;
      display: flex;
      flex-direction: column;
      position: relative;
      z-index: 2;
      overflow-y: auto;
    }
    .q-title {
      font-family: 'Playfair Display', serif;
      font-size: 20px;
      line-height: 1.15;
      color: var(--zao-espresso);
      margin-bottom: 2px;
    }
    .q-sub {
      font-size: 11px;
      color: var(--zao-muted);
      margin-bottom: 8px;
    }

    /* TARJETAS DE OPCIONES EN CÁPSULA (EDAD / PIEL / COBERTURA) */
    .opt-list {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-top: 2px;
    }
    .capsule-row {
      background: #ffffff;
      border: 1.5px solid #eae1d7;
      border-radius: 12px;
      padding: 8px 14px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: all 0.2s;
      box-shadow: 0 2px 8px rgba(60, 40, 30, 0.03);
    }
    .capsule-row:hover {
      border-color: #bfaea0;
      transform: translateY(-2px);
      box-shadow: 0 6px 18px rgba(60, 40, 30, 0.08);
    }
    .capsule-row.selected {
      border-color: var(--zao-espresso);
      background: #fffcf9;
      box-shadow: 0 0 0 1.5px var(--zao-espresso), 0 6px 20px rgba(74, 38, 39, 0.12);
      transform: translateY(-1px);
    }
    .capsule-row.selected .radio-circle {
      border-color: var(--zao-espresso);
      background: var(--zao-espresso);
    }
    .capsule-row.selected .radio-circle::after {
      content: '';
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #ffffff;
    }
    .c-main {
      font-size: 14.5px;
      font-weight: 600;
      color: var(--zao-text);
    }
    .c-sub {
      font-size: 12px;
      color: var(--zao-muted);
      margin-top: 3px;
    }

    .radio-circle {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      border: 1.5px solid #d4c6b9;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      flex-shrink: 0;
    }

    /* SCREEN 4: TONOS DE PIEL DEL MOCKUP */
    .skin-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-bottom: 8px;
    }
    .skin-card {
      background: #ffffff;
      border: 1.5px solid #eae1d7;
      border-radius: 12px;
      padding: 6px;
      cursor: pointer;
      transition: all 0.2s;
      text-align: center;
      box-shadow: 0 2px 8px rgba(60, 40, 30, 0.04);
    }
    .skin-card:hover {
      border-color: #bfaea0;
      transform: translateY(-2px);
    }
    .skin-card.selected {
      border-color: var(--zao-espresso);
      box-shadow: 0 0 0 1.5px var(--zao-espresso);
      background: #fffcf9;
    }
    .skin-thumb {
      width: 100%;
      height: 88px;
      object-fit: cover;
      border-radius: 10px;
      margin-bottom: 8px;
    }
    .skin-card-footer {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 0 4px;
      justify-content: center;
    }
    .skin-card.selected .radio-circle {
      border-color: var(--zao-espresso);
      background: var(--zao-espresso);
    }
    .skin-card.selected .radio-circle::after {
      content: '';
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #ffffff;
    }
    .skin-label {
      font-size: 13px;
      font-weight: 600;
      color: var(--zao-text);
    }

    /* SUBTONO: 3 MUESTRAS DE VENAS */
    .vein-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 6px;
      margin-top: 4px;
    }
    .vein-card {
      background: #ffffff;
      border: 1.5px solid #eae1d7;
      border-radius: 12px;
      padding: 6px 4px;
      cursor: pointer;
      text-align: center;
      transition: all 0.2s;
      box-shadow: 0 2px 8px rgba(60, 40, 30, 0.04);
    }
    .vein-card:hover {
      border-color: #bfaea0;
    }
    .vein-card.selected {
      border-color: var(--zao-espresso);
      box-shadow: 0 0 0 1.5px var(--zao-espresso);
      background: #fffcf9;
    }
    .vein-thumb {
      width: 100%;
      height: 48px;
      object-fit: cover;
      border-radius: 6px;
      margin-bottom: 4px;
    }
    .vein-name {
      font-size: 11.5px;
      font-weight: 600;
      color: var(--zao-text);
    }
    .vein-sub {
      font-size: 9.5px;
      color: var(--zao-muted);
    }

    /* BOTONES INFERIORES DE NAVEGACIÓN */
    .quiz-footer {
      padding: 14px 26px 20px;
      display: flex;
      justify-content: space-between;
      gap: 12px;
      border-top: 1px solid #eee5dc;
      background: #faf6f2;
      position: relative;
      z-index: 2;
    }
    .btn-pill-back {
      background: #faf6f0;
      border: 1px solid #dcd1c6;
      color: var(--zao-text);
      padding: 11px 22px;
      border-radius: var(--zao-pill);
      font-size: 13.5px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;
    }
    .btn-pill-back:hover {
      background: #eee5d8;
    }
    .btn-pill-next {
      background: var(--zao-espresso);
      color: #ffffff;
      border: none;
      padding: 11px 26px;
      border-radius: var(--zao-pill);
      font-size: 13.5px;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.2s;
      flex: 1;
      justify-content: center;
    }
    .btn-pill-next:disabled {
      background: #dacfc4;
      cursor: not-allowed;
    }

    /* PANTALLA 5: RESULTADO PERSONALIZADO CON MEDALLÓN CLAUDIA Y PRODUCTO REAL ZAO */
    .result-view {
      padding: 16px 24px 18px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      flex: 1;
      justify-content: space-between;
    }
    .result-top-brand {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }
    .res-eco-tag {
      font-size: 11px;
      color: var(--zao-muted);
      letter-spacing: 1px;
      font-weight: 500;
    }
    .claudia-medallion-img {
      width: 148px;
      height: 148px;
      object-fit: contain;
      margin: 2px 0;
      filter: drop-shadow(0 6px 16px rgba(74, 46, 43, 0.12));
    }
    .res-intro-txt {
      font-size: 12.5px;
      color: var(--zao-muted);
      margin-bottom: 2px;
    }
    .res-shade-name {
      font-family: 'Playfair Display', serif;
      font-size: 20px;
      font-weight: 600;
      color: var(--zao-espresso);
      line-height: 1.2;
      margin: 2px 0 4px;
    }
    .res-advisor-box {
      font-size: 11px;
      line-height: 1.45;
      color: #3e2f2b;
      background: #ffffff;
      border: 1px solid #ebdcd0;
      border-radius: 14px;
      padding: 9px 13px;
      margin: 3px auto 6px;
      max-width: 384px;
      text-align: left;
      box-shadow: 0 4px 14px rgba(60, 40, 30, 0.05);
    }
    .res-advisor-badge {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 10px;
      font-weight: 700;
      color: var(--zao-espresso);
      text-transform: uppercase;
      letter-spacing: 0.6px;
      margin-bottom: 3px;
    }
    .res-advisor-text {
      color: #4f423d;
      font-size: 11px;
      line-height: 1.45;
    }

    /* BANNER DE PRODUCTO REAL OFICIAL ZAO */
    .real-prod-banner {
      width: 100%;
      max-width: 360px;
      border-radius: 14px;
      overflow: hidden;
      box-shadow: 0 6px 18px rgba(74, 46, 43, 0.09);
      background: #ffffff;
      border: 1px solid #ebdcd0;
      margin-bottom: 6px;
    }
    .bamboo-real-product-img {
      width: 100%;
      height: 125px;
      object-fit: cover;
      display: block;
    }
    .real-prod-caption {
      font-size: 10px;
      font-weight: 600;
      color: var(--zao-muted);
      padding: 5px 10px;
      background: #fffcf9;
      text-align: center;
      border-top: 1px solid #f0e6dd;
      letter-spacing: 0.3px;
    }

    .btn-view-recom {
      background: #f4ede3;
      border: 1px solid #dfd4c7;
      color: var(--zao-text);
      padding: 12px 22px;
      border-radius: var(--zao-pill);
      font-size: 13.5px;
      font-weight: 600;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.2s;
      width: 100%;
      justify-content: center;
    }
    .btn-view-recom:hover {
      background: #eae0d3;
    }

    /* PANTALLA 6: DESGLOSE DE PRODUCTOS REALES Y CESTA */
    .pack-view {
      padding: 12px 16px 10px;
      flex: 1;
      display: flex;
      flex-direction: column;
      height: 100%;
      box-sizing: border-box;
      overflow: hidden;
    }
    .pack-top-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
      padding-right: 38px;
    }
    .pack-top-actions {
      display: flex;
      gap: 8px;
      align-items: center;
    }
    .btn-pack-back {
      padding: 6px 12px;
      font-size: 11.5px;
    }
    .btn-pack-reset {
      padding: 6px 12px;
      font-size: 11.5px;
      background: #f0ebe4;
    }
    .pack-title {
      font-family: 'Playfair Display', serif;
      font-size: 21px;
      color: var(--zao-espresso);
      margin-bottom: 2px;
    }
    .pack-sub {
      font-size: 12px;
      color: var(--zao-muted);
      margin-bottom: 12px;
      line-height: 1.35;
    }
    .pack-scroll {
      flex: 1;
      overflow-y: auto;
      padding-right: 4px;
      margin-bottom: 8px;
      min-height: 0;
    }
    .prod-card-mini {
      background: #ffffff;
      border: 1.5px solid #eae1d7;
      border-radius: 14px;
      padding: 9px 12px;
      display: grid;
      grid-template-columns: 22px 52px 1fr auto;
      gap: 10px;
      align-items: center;
      margin-bottom: 8px;
      transition: all 0.2s;
    }
    .prod-card-mini.unchecked {
      opacity: 0.45;
      background: #fbf9f6;
    }
    .mini-chk {
      width: 18px;
      height: 18px;
      accent-color: var(--zao-espresso);
      cursor: pointer;
    }
    .mini-img {
      width: 52px;
      height: 52px;
      object-fit: cover;
      border-radius: 8px;
      background: #faf6f0;
    }
    .mini-role {
      font-size: 9.5px;
      font-weight: 700;
      color: var(--zao-espresso);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .mini-name {
      font-size: 12px;
      font-weight: 600;
      color: var(--zao-text);
      line-height: 1.25;
      margin: 1px 0;
    }
    .mini-sku {
      font-size: 10px;
      color: var(--zao-muted);
    }
    .mini-price {
      font-size: 13.5px;
      font-weight: 700;
      color: var(--zao-text);
      margin-bottom: 3px;
    }
    .mini-btn-buy {
      background: #f4ede3;
      border: 1px solid #ded3c6;
      border-radius: 20px;
      padding: 3px 10px;
      font-size: 10.5px;
      font-weight: 600;
      color: var(--zao-text);
      cursor: pointer;
    }

        /* CHECKOUT SUMMARY ORDENADO Y ELEGANTE */
    .sticky-checkout {
      background: #ffffff;
      border: 1.5px solid #eae1d7;
      border-radius: 20px;
      padding: 14px 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      box-shadow: 0 10px 30px rgba(60, 40, 30, 0.09);
      margin-top: 10px;
    }

    .checkout-summary-box {
      display: flex;
      flex-direction: column;
      gap: 5px;
      background: #faf6f1;
      padding: 11px 14px;
      border-radius: 14px;
      border: 1px solid #eee2d7;
    }

    .price-line-detail {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 11.5px;
      color: #6b5a52;
    }

    .price-line-detail .pld-value.crossed {
      text-decoration: line-through;
      color: #9c8c85;
      font-weight: 500;
    }

    .price-line-detail .pld-value.discount {
      color: #b84324;
      font-weight: 700;
    }

    .price-line-main {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      padding-top: 7px;
      margin-top: 5px;
      border-top: 1px dashed #e3d3c5;
    }

    .plm-total-label {
      display: flex;
      align-items: baseline;
      gap: 8px;
    }

    .price-line-detail .pld-value {
      font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-variant-numeric: tabular-nums;
    }

    .price-line-detail .pld-value.crossed {
      text-decoration: line-through;
      color: #9c8c85;
      font-weight: 500;
      font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-variant-numeric: tabular-nums;
    }

    .price-line-detail .pld-value.discount {
      color: #b84324;
      font-weight: 700;
      font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-variant-numeric: tabular-nums;
    }

    .plm-total-label .total-word {
      font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 15px;
      font-weight: 700;
      color: var(--zao-espresso);
      letter-spacing: 0.2px;
    }

    .plm-total-label .total-pts {
      font-size: 11px;
      color: #2e6b3e;
      font-weight: 600;
    }

    .plm-amount {
      font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 24px;
      font-weight: 700;
      color: var(--zao-espresso);
      letter-spacing: -0.5px;
      font-variant-numeric: tabular-nums;
    }

    .btn-main-checkout {
      width: 100%;
      background: var(--zao-espresso);
      color: #ffffff;
      border: none;
      padding: 13px 18px;
      border-radius: var(--zao-pill);
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow: 0 4px 14px rgba(45, 27, 20, 0.2);
      transition: all 0.2s ease;
      text-align: center;
    }

    .btn-main-checkout:hover {
      background: var(--zao-espresso-hover);
      transform: translateY(-1px);
      box-shadow: 0 6px 18px rgba(45, 27, 20, 0.28);
    }

    /* EMAIL CAPTURE */
    .email-capture-card {
      background: #fdfbf7;
      border: 1px solid #e3d7cb;
      border-radius: 14px;
      padding: 14px;
      margin-top: 14px;
      margin-bottom: 4px;
    }
    .btn-email-send {
      background: var(--zao-espresso);
      color: #ffffff;
      border: none;
      border-radius: 10px;
      padding: 9px 15px;
      font-size: 12px;
      font-weight: 600;
      cursor: pointer;
      white-space: nowrap;
      transition: background 0.2s;
    }
    .btn-email-send:hover {
      background: #4a3429;
    }

    

/* INTEGRACIÓN EN WORDPRESS / MODAL OVERLAY */
.zao-ba-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(33, 21, 18, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 10px;
  box-sizing: border-box;
  overflow-y: auto;
}

.zao-ba-modal-dialog {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zao-ba-modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 2px solid #2d1b14;
  border-radius: 50%;
  color: #2d1b14;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  z-index: 10000000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.zao-ba-modal-close:hover {
  background: #2d1b14;
  color: #ffffff;
  transform: scale(1.08);
}

/* TRIGGER EN FICHA DE ROSTRO */
.zao-ba-product-cta {
  background: #faf6f1;
  border: 1.5px solid #ebdcd0;
  border-radius: 14px;
  padding: 12px 16px;
  margin: 18px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(45, 27, 20, 0.04);
  transition: all 0.2s ease;
}

.zao-ba-product-cta:hover {
  background: #f4ece3;
  border-color: #d8c4b4;
  transform: translateY(-1px);
}

.zao-ba-cta-icon {
  font-size: 24px;
  color: #c94a29;
}

.zao-ba-cta-content {
  flex: 1;
}

.zao-ba-cta-title {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: #2d1b14;
}

.zao-ba-cta-desc {
  display: block;
  font-size: 12px;
  color: #6b5850;
  margin-top: 2px;
}

.zao-ba-cta-btn {
  background: #2d1b14;
  color: #ffffff;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

/* BANNER ARCHIVO / CATEGORÍA ROSTRO */
.zao-ba-archive-banner {
  background: #faf6f1;
  border: 1.5px solid #ebdcd0;
  border-radius: 14px;
  padding: 14px 20px;
  margin: 0 0 25px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  cursor: pointer;
}

.zao-ba-ab-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.zao-ba-ab-btn {
  background: #2d1b14;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

/* BURBUJA FLOTANTE */
.zao-ba-floating-bubble {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background: #2d1b14;
  color: #ffffff;
  padding: 11px 20px;
  border-radius: 30px;
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.28);
  z-index: 99998;
  transition: transform 0.2s ease;
}

.zao-ba-floating-bubble:hover {
  transform: translateY(-2px);
  background: #42291e;
}

/* BARRA INFERIOR ULTRACOMPACTA PARA SCREEN 6 (MÁXIMO ESPACIO PARA PRODUCTOS) */
.sticky-checkout-bar {
  background: #ffffff;
  border: 1.5px solid #eae1d7;
  border-radius: 14px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 4px 16px rgba(60, 40, 30, 0.08);
  flex-shrink: 0;
}
.scb-price-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 110px;
}
.scb-old-price {
  font-size: 10.5px;
  color: #8c7b73;
  text-decoration: line-through;
  line-height: 1;
  display: none;
}
.scb-total-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.scb-total-label {
  font-size: 10.5px;
  font-weight: 600;
  color: #6b5850;
  text-transform: uppercase;
}
.scb-total-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--zao-espresso);
  letter-spacing: -0.2px;
}
.scb-pts {
  font-size: 9px;
  color: #2e6b3e;
  font-weight: 600;
}
.btn-main-checkout {
  background: var(--zao-espresso);
  color: #ffffff;
  border: none;
  padding: 10px 16px;
  border-radius: var(--zao-pill);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 3px 10px rgba(45, 27, 20, 0.22);
  transition: all 0.2s ease;
  white-space: nowrap;
  flex: 1;
  max-width: 220px;
}
.btn-main-checkout:hover {
  background: #42291e;
  transform: translateY(-1px);
}
.email-capture-card {
  background: #faf6f1;
  border: 1px dashed #d9cbbe;
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 10px;
  margin-bottom: 6px;
}


/* ==========================================================================
   REGLAS DE DISEÑO RESPONSIVE Y ADAPTACIÓN MÓVIL PROFESIONAL (ZAO ADVISOR)
   ========================================================================== */

/* Badge de Modo Prueba (siempre discreto bajo el admin bar) */
.zao-ba-test-mode-badge {
  position: fixed;
  top: 48px;
  right: 12px;
  background: #2d1b14;
  color: #ffffff;
  padding: 5px 12px;
  font-size: 11px;
  z-index: 99990;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  font-family: sans-serif;
  pointer-events: none;
  opacity: 0.92;
}

/* TABLETS Y MÓVILES (<= 640px) */
@media (max-width: 640px) {
  /* Banner de Categoría Rostro: Distribución vertical limpia */
  .zao-ba-archive-banner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
    margin: 0 0 20px 0 !important;
  }
  .zao-ba-ab-left {
    gap: 12px !important;
    align-items: flex-start !important;
  }
  .zao-ba-ab-left strong {
    font-size: 13.5px !important;
    line-height: 1.3 !important;
    display: block !important;
  }
  .zao-ba-ab-left p {
    font-size: 11.5px !important;
    line-height: 1.35 !important;
    margin-top: 3px !important;
  }
  .zao-ba-ab-btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 11px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 24px !important;
    box-sizing: border-box !important;
    display: flex !important;
  }

  /* Trigger en Ficha de Producto */
  .zao-ba-product-cta {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 14px 16px !important;
    border-radius: 12px !important;
  }
  .zao-ba-cta-btn {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 10px 16px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 20px !important;
    box-sizing: border-box !important;
  }

  /* Burbuja Flotante */
  .zao-ba-floating-bubble {
    bottom: 16px !important;
    left: 16px !important;
    padding: 8px 14px !important;
    font-size: 11.5px !important;
  }

  /* Badge Modo Prueba en Móvil */
  .zao-ba-test-mode-badge {
    top: 48px !important;
    right: 8px !important;
    font-size: 9.5px !important;
    padding: 4px 9px !important;
  }
}

/* SMARTPHONES EN PANTALLA COMPLETA (<= 480px) */
@media (max-width: 480px) {
  .zao-ba-modal-overlay {
    padding: 0 !important;
    align-items: stretch !important;
    justify-content: stretch !important;
  }
  .zao-ba-modal-dialog {
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
  }
  .app-card {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .zao-ba-modal-close {
    top: 10px !important;
    right: 10px !important;
    width: 32px !important;
    height: 32px !important;
    font-size: 16px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  }

  /* Pantalla 0: Portada */
  .hero-top-bar {
    top: 14px !important;
    left: 14px !important;
  }
  .hero-brand-logo {
    height: 22px !important;
  }
  .hero-content {
    padding: 16px 18px 24px !important;
  }
  .hero-title {
    font-size: 22px !important;
  }

  /* Pantallas de Preguntas */
  .quiz-header {
    padding: 12px 16px 4px !important;
    padding-right: 40px !important;
  }
  .quiz-body {
    padding: 2px 16px 6px !important;
  }
  .q-title {
    font-size: 19px !important;
  }
  .capsule-row {
    padding: 8px 12px !important;
  }

  /* Pantalla 5: Resultado */
  .result-top-brand {
    padding-right: 36px !important;
  }

  /* Pantalla 6: Prescripción de Rutina */
  .pack-view {
    padding: 10px 14px 8px !important;
  }
  .pack-top-bar {
    padding-right: 36px !important;
    margin-bottom: 8px !important;
  }
  .pack-top-actions {
    gap: 6px !important;
  }
  .btn-pack-back,
  .btn-pack-reset {
    padding: 5px 8px !important;
    font-size: 10.5px !important;
  }
  .pack-title {
    font-size: 18px !important;
  }
  .prod-card-mini {
    grid-template-columns: 20px 48px 1fr auto !important;
    gap: 8px !important;
    padding: 8px 10px !important;
    margin-bottom: 6px !important;
  }
  .mini-img {
    width: 48px !important;
    height: 48px !important;
  }
  .sticky-checkout-bar {
    padding: 8px 10px !important;
    gap: 8px !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
  }
  .scb-price-col {
    min-width: 90px !important;
    flex: 0 0 auto !important;
  }
  .scb-old-price {
    font-size: 10px !important;
  }
  .scb-total-label {
    font-size: 9.5px !important;
  }
  .scb-total-val {
    font-size: 14.5px !important;
    white-space: nowrap !important;
  }
  .scb-pts {
    font-size: 8.5px !important;
    white-space: nowrap !important;
  }
  .btn-main-checkout {
    padding: 9px 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1px !important;
    max-width: none !important;
    width: auto !important;
    flex: 1 1 auto !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    box-sizing: border-box !important;
  }
  .btn-main-checkout .material-symbols-outlined {
    font-size: 15px !important;
  }
}

.screen:not(.screen-hero) { background: var(--zao-card-bg); }
