/* Cotizaciones: CSS encapsulado, sin modificar el checkout ni los estilos de email. */
.rec-quote-entry { margin: .65rem 0 .95rem; }
/* Reduce the default WooCommerce form bottom gap so the quote CTA follows purchase. */
.single-product div.product form.cart + .rec-quote-entry { margin-top: -.55rem; }
.rec-quote-entry__button { display: flex; justify-content: center; align-items: center; gap: .6rem; width: 100%; min-height: 48px; padding: .72rem 1rem; border: 1.5px solid var(--ret-accent, #256b4a); border-radius: .55rem; background: #fff; color: var(--ret-accent-strong, #184d36); text-align: center; text-decoration: none; font-weight: 800; line-height: 1.3; }
.rec-quote-entry__button:hover, .rec-quote-entry__button:focus-visible { background: var(--ret-surface-soft, #eef1ec); color: var(--ret-accent-strong, #184d36); }
.rec-quote-entry > p { margin: .45rem 0 0; color: var(--ret-muted, #5d675f); font-size: .79rem; line-height: 1.5; }
.rec-quote-dialog { position: fixed; inset: 0; z-index: 10020; display: none; place-items: center; padding: 1rem; }
.rec-quote-dialog.is-open, .rec-quote-dialog:target:not(.is-closed) { display: grid; }
.rec-quote-dialog__backdrop { position: absolute; inset: 0; background: rgba(13, 28, 21, .66); cursor: default; }
.rec-quote-dialog__panel { position: relative; width: min(100%, 720px); max-height: min(92dvh, 920px); overflow-y: auto; overscroll-behavior: contain; border: 1px solid #dfe4df; border-radius: 1.1rem; background: #fff; color: #17201b; box-shadow: 0 30px 100px rgba(0,0,0,.25); }
.rec-quote-dialog__top { display: flex; justify-content: space-between; gap: 1rem; padding: 1.55rem 1.65rem 1rem; border-bottom: 1px solid #e3e9e5; }
.rec-quote-dialog__eyebrow { margin: 0 0 .3rem; color: #256b4a; font-size: .72rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.rec-quote-dialog__top h2 { margin: 0 0 .3rem; font-size: clamp(1.5rem, 3vw, 1.95rem); line-height: 1.2; letter-spacing: -.035em; }
.rec-quote-dialog__top p:not(.rec-quote-dialog__eyebrow) { margin: 0; color: #5d675f; font-size: .88rem; line-height: 1.5; }
.rec-quote-dialog__close { display: grid; flex: 0 0 auto; place-items: center; width: 42px; height: 42px; border: 1px solid #dfe4df; border-radius: 50%; color: #17201b; font-size: 1.75rem; line-height: 1; text-decoration: none; }
.rec-quote-dialog__close:hover { background: #eef1ec; color: #184d36; }
.rec-quote-form { padding: 1.2rem 1.65rem 1.6rem; }
.rec-quote-form__product { display: grid; gap: .2rem; margin-bottom: 1.1rem; padding: .85rem 1rem; border-radius: .7rem; background: #f0f4ef; }
.rec-quote-form__product span { color: #5d675f; font-size: .73rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; }
.rec-quote-form__product strong { font-size: .96rem; line-height: 1.35; }
.rec-quote-form__product small { color: #586459; font-size: .78rem; }
.rec-quote-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1rem; }
.rec-quote-form__grid > label { display: block; color: #233328; font-size: .82rem; font-weight: 750; }
.rec-quote-form__grid > label > input, .rec-quote-form__grid > label > select, .rec-quote-form__grid > label > textarea { display: block; margin-top: .35rem; }
.rec-quote-form__grid > label > span[aria-hidden] { display: inline; color: #a32929; }
.rec-quote-optional { color: #718078; font-size: .72rem; font-weight: 500; }
.rec-quote-form input[type="text"], .rec-quote-form input[type="email"], .rec-quote-form input[type="tel"], .rec-quote-form input[type="number"], .rec-quote-form select, .rec-quote-form textarea { min-width: 0; width: 100%; min-height: 44px; padding: .6rem .75rem; border: 1px solid #cbd4cd; border-radius: .5rem; background: #fff; color: #17201b; font-size: .9rem; font-weight: 400; }
.rec-quote-form textarea { resize: vertical; min-height: 90px; }
.rec-quote-form input:focus-visible, .rec-quote-form select:focus-visible, .rec-quote-form textarea:focus-visible { border-color: #256b4a; outline: 2px solid #256b4a; outline-offset: 1px; }
.rec-quote-form input::placeholder, .rec-quote-form textarea::placeholder { color: #7a867e; }
.rec-quote-form__more { margin: 1.1rem 0 1rem; padding: .8rem .9rem; border: 1px solid #dfe4df; border-radius: .65rem; }
.rec-quote-form__more summary { cursor: pointer; color: #184d36; font-size: .85rem; font-weight: 800; }
.rec-quote-form__more[open] summary { margin-bottom: .9rem; }
.rec-quote-form__full { grid-column: 1 / -1; }
.rec-quote-form__consent { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .9rem; color: #5d675f; font-size: .77rem; line-height: 1.6; }
.rec-quote-form__consent input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: .22rem; accent-color: #256b4a; }
.rec-quote-form__submit { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: .75rem 1rem; border: 1px solid #256b4a; border-radius: .55rem; background: #256b4a; color: #fff; font-size: .95rem; font-weight: 850; cursor: pointer; }
.rec-quote-form__submit:hover, .rec-quote-form__submit:focus-visible { background: #184d36; color: #fff; }
.rec-quote-form__submit:disabled { opacity: .65; cursor: wait; }
.rec-quote-form__foot { margin: .7rem 0 0; color: #69766c; font-size: .72rem; line-height: 1.45; text-align: center; }
.rec-quote-dialog__message { margin: 1rem 1.65rem 1.2rem; padding: 1rem; border: 1px solid #e6c6c3; border-radius: .65rem; background: #fff6f5; color: #893129; font-size: .92rem; line-height: 1.6; }
.rec-quote-dialog__message.is-success { border-color: #b8d9c4; background: #f0f8f2; color: #184d36; }
.rec-quote-dialog [hidden] { display: none !important; }
.rec-quote-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
html.rec-quote-open { overflow: hidden; }
@media (max-width: 650px) {
  .rec-quote-dialog { padding: 0; }
  .rec-quote-dialog__panel { width: 100%; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .rec-quote-dialog__top { padding: 1.25rem 1rem .9rem; }
  .rec-quote-form { padding: 1rem 1rem 2rem; }
  .rec-quote-form__grid { grid-template-columns: 1fr; gap: .85rem; }
  .rec-quote-dialog__message { margin-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .rec-quote-dialog * { scroll-behavior: auto !important; } }
