:root{--carm-blue:#6f3a8a;--carm-green:#6d9b63;--carm-light:#f4f7fb;--carm-border:#d4dce7;--carm-text:#1f2d3d}
.carm-app{max-width:1080px;margin:28px auto;padding:0 16px;color:var(--carm-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.carm-progress{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-bottom:28px}.carm-progress-step{position:relative;text-align:center;color:#7a8797;font-size:13px}.carm-progress-step:after{content:"";position:absolute;top:17px;left:58%;width:84%;height:3px;background:#dbe1e8;z-index:-1}.carm-progress-step:last-child:after{display:none}.carm-progress-icon{display:flex;width:36px;height:36px;border-radius:50%;background:#e8edf3;align-items:center;justify-content:center;margin:0 auto 7px;font-weight:800}.carm-progress-step.is-active{color:var(--carm-blue);font-weight:700}.carm-progress-step.is-active .carm-progress-icon{background:var(--carm-blue);color:#fff}.carm-progress-step.is-complete{color:var(--carm-green);font-weight:700}.carm-progress-step.is-complete .carm-progress-icon{background:var(--carm-green);color:#fff}.carm-progress-step.is-complete:after{background:var(--carm-green)}.carm-panel{display:none;background:#fff;border:1px solid var(--carm-border);border-radius:18px;padding:26px;box-shadow:0 12px 35px rgba(20,43,71,.08)}.carm-panel.is-active{display:block}.carm-panel h1,.carm-panel h2{color:var(--carm-blue);margin-top:0}.carm-product{display:grid;grid-template-columns:120px 1fr 230px;gap:20px;padding:18px 0;border-bottom:1px solid var(--carm-border)}.carm-product img{width:120px;height:100px;object-fit:contain;border-radius:10px;background:#f7f8fa}.carm-product h3{margin:0 0 4px}.carm-product p{margin:0 0 10px}.carm-tech{display:grid;grid-template-columns:1fr 1fr;gap:5px 14px;font-size:14px}.carm-quantity{background:var(--carm-light);padding:14px;border-radius:12px}.carm-quantity label{display:block;font-weight:700;font-size:13px;margin-bottom:9px}.carm-quantity select,.carm-quantity input,.carm-grid input,.carm-special textarea{width:100%;box-sizing:border-box;border:1px solid #bfc9d6;border-radius:8px;padding:10px;background:#fff}.carm-equivalence{font-size:13px;color:var(--carm-green);font-weight:700;min-height:34px}.carm-remove{border:0;background:transparent;color:#9f4f8f;padding:6px 0;cursor:pointer}.carm-special,.carm-policy,.carm-review-card{margin-top:22px;background:var(--carm-light);border-radius:12px;padding:18px}.carm-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.carm-grid label{font-weight:700}.carm-grid label span{color:#9f4f8f}.carm-grid small{font-weight:400}.carm-actions{display:flex;justify-content:space-between;gap:14px;margin-top:26px}.carm-actions button,.carm-btn{border:0;border-radius:10px;background:var(--carm-blue);color:#fff!important;padding:12px 20px;font-weight:800;text-decoration:none;cursor:pointer}.carm-actions .carm-prev{background:#e7ecf2;color:var(--carm-blue)}.carm-choice{border:0;padding:0;margin:20px 0}.carm-choice label{display:block;padding:13px;border:1px solid var(--carm-border);border-radius:10px;margin:8px 0}.is-hidden{display:none!important}.carm-honeypot{position:absolute!important;left:-9999px!important}.carm-empty{padding:24px;border:1px dashed #aeb9c7;border-radius:12px;text-align:center}.carm-success{text-align:center;padding:30px}.carm-success-icon{width:70px;height:70px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--carm-green);color:#fff;font-size:36px;margin:auto}.carm-confirm-actions{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:24px}.carm-whatsapp{background:#178b52}.carm-policy a{font-weight:800}.carm-review-card h3{color:var(--carm-blue);margin-bottom:4px}
.carm-qty-stepper{display:grid;grid-template-columns:48px minmax(72px,1fr) 48px;gap:8px;align-items:center}.carm-quantity .carm-qty-input{text-align:center;font-size:18px;font-weight:800;min-height:48px;padding:8px;-moz-appearance:textfield}.carm-quantity .carm-qty-input::-webkit-outer-spin-button,.carm-quantity .carm-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.carm-qty-btn{min-width:48px;height:48px;border:0;border-radius:10px;background:var(--carm-blue);color:#fff;font-size:28px;font-weight:800;line-height:1;cursor:pointer;touch-action:manipulation}.carm-qty-btn:active{transform:scale(.97)}.carm-qty-btn:focus-visible,.carm-qty-input:focus-visible{outline:3px solid rgba(111,58,138,.25);outline-offset:2px}
@media(max-width:760px){.carm-qty-stepper{grid-template-columns:56px minmax(80px,1fr) 56px}.carm-qty-btn{min-width:56px;height:52px;font-size:30px}.carm-quantity .carm-qty-input{min-height:52px;font-size:20px}.carm-progress{grid-template-columns:repeat(5,1fr)}.carm-progress-step span:last-child{display:none}.carm-progress-step:after{width:75%}.carm-panel{padding:18px}.carm-product{grid-template-columns:80px 1fr}.carm-product img{width:80px;height:75px}.carm-quantity{grid-column:1/-1}.carm-grid,.carm-tech{grid-template-columns:1fr}.carm-actions button{flex:1}}

/* V1.1: botón visible en ficha individual y archivo */
.carm-single-button-wrap{margin:18px 0 14px 0;display:block;clear:both}
.single-product .carm-single-button-wrap .carm-add-product,.woocommerce ul.products li.product .carm-add-product{background:#6f3a8a!important;color:#fff!important;border-radius:8px!important;padding:12px 18px!important;text-transform:none!important;font-weight:700!important;display:inline-block!important;line-height:1.1!important;text-decoration:none!important}
.single-product .carm-single-button-wrap .carm-add-product:hover,.woocommerce ul.products li.product .carm-add-product:hover{filter:brightness(.92);color:#fff!important}

.carm-fallback-note{margin:10px 0 0;color:#5d6b82;font-size:13px}
.carm-server-products{display:block}

/* Ajuste V1.5.1: botones con contraste al pasar el mouse */
.carm-actions button:hover,
.carm-btn:hover,
.carm-add-product:hover{
  background:#9f4f8f!important;
  color:#fff!important;
  border-color:#9f4f8f!important;
  opacity:1!important;
  filter:none!important;
  visibility:visible!important;
}
.carm-actions .carm-prev:hover{
  background:#6d9b63!important;
  color:#fff!important;
}
.carm-remove:hover{
  color:#7f1d1d!important;
  text-decoration:underline;
}
.carm-confirm-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}
.carm-pdf-note{
  margin-top:10px;
  font-size:13px;
  color:#5d6b82;
}

/* V1.5.2 - Hover robusto contra estilos del tema */
#carm-app .carm-actions button,
#carm-app .carm-btn,
.woocommerce .carm-add-product,
.carm-add-product{
  background:#6f3a8a!important;
  color:#ffffff!important;
  border:2px solid #6f3a8a!important;
  opacity:1!important;
  visibility:visible!important;
  text-shadow:none!important;
  box-shadow:none;
}
#carm-app .carm-actions button:hover,
#carm-app .carm-actions button:focus,
#carm-app .carm-btn:hover,
#carm-app .carm-btn:focus,
.woocommerce .carm-add-product:hover,
.woocommerce .carm-add-product:focus,
.carm-add-product:hover,
.carm-add-product:focus{
  background:#9f4f8f!important;
  color:#ffffff!important;
  border-color:#9f4f8f!important;
  opacity:1!important;
  visibility:visible!important;
  filter:none!important;
  text-decoration:none!important;
}
#carm-app .carm-actions .carm-prev,
#carm-app button.carm-prev{
  background:#e7ecf2!important;
  color:#6f3a8a!important;
  border:2px solid #d4dce7!important;
}
#carm-app .carm-actions .carm-prev:hover,
#carm-app .carm-actions .carm-prev:focus,
#carm-app button.carm-prev:hover,
#carm-app button.carm-prev:focus{
  background:#6d9b63!important;
  color:#ffffff!important;
  border-color:#6d9b63!important;
}
#carm-app .carm-confirm-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}
#carm-app .carm-pdf-note{
  display:block;
  margin-top:10px;
  font-size:13px;
  color:#5d6b82;
}


/* V1.0.2 QA - navegación para agregar más productos */
#carm-app .carm-actions-products{
  align-items:center;
}
#carm-app .carm-add-more{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#ffffff!important;
  color:#6f3a8a!important;
  border:2px solid #6f3a8a!important;
}
#carm-app .carm-add-more:hover,
#carm-app .carm-add-more:focus{
  background:#6f3a8a!important;
  color:#ffffff!important;
  text-decoration:none!important;
}
.carm-qty-stepper{display:grid;grid-template-columns:48px minmax(72px,1fr) 48px;gap:8px;align-items:center}.carm-quantity .carm-qty-input{text-align:center;font-size:18px;font-weight:800;min-height:48px;padding:8px;-moz-appearance:textfield}.carm-quantity .carm-qty-input::-webkit-outer-spin-button,.carm-quantity .carm-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.carm-qty-btn{min-width:48px;height:48px;border:0;border-radius:10px;background:var(--carm-blue);color:#fff;font-size:28px;font-weight:800;line-height:1;cursor:pointer;touch-action:manipulation}.carm-qty-btn:active{transform:scale(.97)}.carm-qty-btn:focus-visible,.carm-qty-input:focus-visible{outline:3px solid rgba(111,58,138,.25);outline-offset:2px}
@media(max-width:760px){.carm-qty-stepper{grid-template-columns:56px minmax(80px,1fr) 56px}.carm-qty-btn{min-width:56px;height:52px;font-size:30px}.carm-quantity .carm-qty-input{min-height:52px;font-size:20px}
  #carm-app .carm-actions-products{
    flex-direction:column;
  }
  #carm-app .carm-actions-products .carm-add-more,
  #carm-app .carm-actions-products .carm-next{
    width:100%;
    box-sizing:border-box;
  }
}


/* V1.0.3 QA - instrucciones visuales PDF + WhatsApp */
#carm-app .carm-success-guided{
  max-width:860px;
  margin:0 auto;
  padding:28px 12px 14px;
}
#carm-app .carm-success-guided h2{
  margin:16px 0 8px;
  color:#55206f;
  font-size:clamp(28px,4vw,44px);
  line-height:1.12;
}
#carm-app .carm-folio{
  margin:0 0 22px;
  font-size:18px;
}
#carm-app .carm-folio strong{color:#55206f}
#carm-app .carm-guide{
  margin:26px auto 0;
  padding:22px 28px;
  max-width:760px;
  border:2px solid #dccce7;
  border-radius:18px;
  background:linear-gradient(135deg,#fff 0%,#fcf7ff 100%);
  text-align:left;
  box-shadow:0 8px 24px rgba(91,31,113,.06);
}
#carm-app .carm-guide-title{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:14px;
}
#carm-app .carm-guide-title h3{
  margin:0;
  color:#55206f;
  font-size:19px;
  text-transform:uppercase;
  letter-spacing:.01em;
}
#carm-app .carm-guide-title-icon{
  display:inline-flex;
  width:42px;
  height:42px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#6f238d;
  flex:0 0 42px;
}
#carm-app .carm-guide-title-icon svg{width:23px;height:23px;fill:#fff}
#carm-app .carm-guide-step{
  display:grid;
  grid-template-columns:52px 78px 1fr;
  gap:18px;
  align-items:center;
  padding:18px 4px;
}
#carm-app .carm-step-number{
  display:flex;
  width:48px;
  height:48px;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#6f238d;
  color:#fff;
  font-size:24px;
  font-weight:900;
}
#carm-app .carm-step-icon{
  display:flex;
  width:72px;
  height:72px;
  align-items:center;
  justify-content:center;
}
#carm-app .carm-step-icon svg{width:68px;height:68px}
#carm-app .carm-step-icon-pdf svg{fill:#fff;stroke:#6f238d;stroke-width:3;stroke-linejoin:round}
#carm-app .carm-step-icon-pdf rect{fill:#ef3340;stroke:none}
#carm-app .carm-step-icon-pdf text{fill:#fff;stroke:none;font-size:9px;font-weight:900;font-family:Arial,sans-serif}
#carm-app .carm-step-icon-pdf .carm-svg-light{fill:#f3eaf7}
#carm-app .carm-step-icon-wa svg{fill:#24d366;stroke:#fff;stroke-width:2}
#carm-app .carm-step-icon-wa .carm-svg-light{fill:#fff;stroke:none}
#carm-app .carm-step-copy h4{
  margin:0 0 5px;
  color:#55206f;
  font-size:21px;
  line-height:1.25;
}
#carm-app .carm-step-copy p{
  margin:0;
  color:#30303a;
  font-size:16px;
  line-height:1.5;
}
#carm-app .carm-guide-divider{height:1px;background:#e4d9ea;margin:0 4px}
#carm-app .carm-security-note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  max-width:660px;
  margin:24px auto 0;
  color:#30303a;
  font-size:15px;
  line-height:1.45;
}
#carm-app .carm-security-note span{display:inline-flex;flex:0 0 28px}
#carm-app .carm-security-note svg{width:28px;height:28px;fill:#6f238d}
#carm-app .carm-success-guided .carm-confirm-actions{
  max-width:760px;
  margin:26px auto 0;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
#carm-app .carm-success-guided .carm-confirm-actions .carm-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:58px;
  box-sizing:border-box;
  border-radius:12px;
  font-size:17px;
}
#carm-app .carm-success-guided .carm-confirm-actions .carm-btn span{font-size:24px;line-height:1}
#carm-app .carm-thanks{
  margin:24px 0 0;
  color:#55206f;
  font-weight:800;
  font-size:17px;
}
.carm-qty-stepper{display:grid;grid-template-columns:48px minmax(72px,1fr) 48px;gap:8px;align-items:center}.carm-quantity .carm-qty-input{text-align:center;font-size:18px;font-weight:800;min-height:48px;padding:8px;-moz-appearance:textfield}.carm-quantity .carm-qty-input::-webkit-outer-spin-button,.carm-quantity .carm-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.carm-qty-btn{min-width:48px;height:48px;border:0;border-radius:10px;background:var(--carm-blue);color:#fff;font-size:28px;font-weight:800;line-height:1;cursor:pointer;touch-action:manipulation}.carm-qty-btn:active{transform:scale(.97)}.carm-qty-btn:focus-visible,.carm-qty-input:focus-visible{outline:3px solid rgba(111,58,138,.25);outline-offset:2px}
@media(max-width:760px){.carm-qty-stepper{grid-template-columns:56px minmax(80px,1fr) 56px}.carm-qty-btn{min-width:56px;height:52px;font-size:30px}.carm-quantity .carm-qty-input{min-height:52px;font-size:20px}
  #carm-app .carm-success-guided{padding:16px 0 8px}
  #carm-app .carm-success-guided h2{font-size:30px}
  #carm-app .carm-guide{padding:18px 14px;border-radius:14px}
  #carm-app .carm-guide-title{align-items:flex-start}
  #carm-app .carm-guide-title h3{font-size:15px;line-height:1.35}
  #carm-app .carm-guide-title-icon{width:36px;height:36px;flex-basis:36px}
  #carm-app .carm-guide-step{grid-template-columns:42px 58px 1fr;gap:10px;padding:16px 0}
  #carm-app .carm-step-number{width:38px;height:38px;font-size:20px}
  #carm-app .carm-step-icon{width:56px;height:56px}
  #carm-app .carm-step-icon svg{width:54px;height:54px}
  #carm-app .carm-step-copy h4{font-size:17px}
  #carm-app .carm-step-copy p{font-size:14px}
  #carm-app .carm-security-note{font-size:14px;text-align:left}
  #carm-app .carm-success-guided .carm-confirm-actions{grid-template-columns:1fr;gap:10px}
  #carm-app .carm-success-guided .carm-confirm-actions .carm-btn{width:100%;font-size:16px}
}
@media(max-width:430px){
  #carm-app .carm-guide-step{grid-template-columns:38px 1fr}
  #carm-app .carm-step-icon{grid-column:2;width:52px;height:52px;margin-bottom:-4px}
  #carm-app .carm-step-copy{grid-column:2}
}


/* V1.0.5 QA - WhatsApp internacional */
.carm-phone-block{grid-column:1/-1;display:grid;grid-template-columns:minmax(210px,.9fr) minmax(180px,.7fr) minmax(260px,1.4fr);gap:18px;align-items:start}
.carm-phone-block label{display:flex;flex-direction:column;gap:7px}
.carm-phone-block select,.carm-phone-block input{width:100%;box-sizing:border-box;border:1px solid #bfc9d6;border-radius:8px;padding:10px;background:#fff;min-height:44px}
.carm-phone-block small{color:#667386;line-height:1.35}
.carm-qty-stepper{display:grid;grid-template-columns:48px minmax(72px,1fr) 48px;gap:8px;align-items:center}.carm-quantity .carm-qty-input{text-align:center;font-size:18px;font-weight:800;min-height:48px;padding:8px;-moz-appearance:textfield}.carm-quantity .carm-qty-input::-webkit-outer-spin-button,.carm-quantity .carm-qty-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.carm-qty-btn{min-width:48px;height:48px;border:0;border-radius:10px;background:var(--carm-blue);color:#fff;font-size:28px;font-weight:800;line-height:1;cursor:pointer;touch-action:manipulation}.carm-qty-btn:active{transform:scale(.97)}.carm-qty-btn:focus-visible,.carm-qty-input:focus-visible{outline:3px solid rgba(111,58,138,.25);outline-offset:2px}
@media(max-width:760px){.carm-qty-stepper{grid-template-columns:56px minmax(80px,1fr) 56px}.carm-qty-btn{min-width:56px;height:52px;font-size:30px}.carm-quantity .carm-qty-input{min-height:52px;font-size:20px}.carm-phone-block{grid-template-columns:1fr}.carm-phone-block label{width:100%}}
