/* Shared presentation for secondary public pages and their AJAX partials. */
.public-page, .public-modal, .public-status, .public-comparison { --public-accent: var(--main-bg-color, #303741); --public-border: #e3e6eb; --public-muted: #68717e; color: #303741; }
.public-page { min-width: 0; padding-bottom: 48px; }
.public-page .row > [class*="col-"] { min-width: 0; }
.public-heading { margin: 0 0 28px; padding-top: 20px; }
.public-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; color: #68717e; font-size: 12px; }
.public-breadcrumb li + li::before { content: "/"; margin-right: 8px; color: #a1a8b2; }
.public-breadcrumb a { color: inherit; }
.public-eyebrow { display: block; margin-bottom: 8px; color: #68717e; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.public-heading h1, .public-page .page-header h1 { margin: 0; color: #282f38; font-size: clamp(28px, 3vw, 36px); font-weight: 750; line-height: 1.25; letter-spacing: -.035em; overflow-wrap: anywhere; }
.public-heading > p { max-width: 65ch; margin: 12px 0 0; color: #68717e; font-size: 14px; line-height: 1.8; }
.public-card, .public-status { padding: 28px; border: 1px solid #e3e6eb; border-radius: 18px; background: #fff; box-shadow: 0 3px 12px rgba(25,30,40,.025); }
.public-page .btn, .public-modal .btn, .public-status .btn, .public-comparison .btn { min-height: 44px; padding: 11px 18px; border-radius: 10px; font-size: 14px; font-weight: 650; white-space: normal; }
.public-page :is(a, button, summary):focus-visible, .public-modal :is(a, button):focus-visible, .public-status a:focus-visible, .public-table-scroll:focus-visible { outline: 2px solid var(--main-bg-color, #303741); outline-offset: 3px; }
.public-page .form-control, .public-modal .form-control { min-height: 48px; border: 1px solid #dce1e7; border-radius: 10px; background: #f8f9fb; color: #303741; font-size: 14px; }
.public-page .form-control:focus, .public-modal .form-control:focus { border-color: var(--main-bg-color, #303741); box-shadow: 0 0 0 3px color-mix(in srgb, var(--main-bg-color, #303741) 12%, transparent); }
.public-status { max-width: 700px; margin: 32px auto; padding: 44px 32px; text-align: center; overflow-wrap: anywhere; }
.public-status__icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 18px; background: #f2f4f7; color: #68717e; font-size: 25px; font-weight: 650; }
.public-status--success .public-status__icon { background: #edf7ef; color: #2c7d43; }
.public-status :is(h1, h2, h3) { margin: 0 0 12px; color: #303741; font-size: clamp(22px, 3vw, 30px); font-weight: 700; line-height: 1.35; letter-spacing: -.025em; }
.public-status p { margin: 0 0 24px; color: #68717e; font-size: 14px; line-height: 1.8; }
.public-status[hidden], .public-table-scroll[hidden], .blog-page [hidden] { display: none !important; }
.public-table-scroll { max-width: 100%; overflow: auto; border: 1px solid #e3e6eb; border-radius: 18px; background: #fff; }
.public-comparison .compare-table { width: 100%; margin: 0; border: 0; border-collapse: separate; border-spacing: 0; color: #303741; font-size: 14px; }
.public-comparison .compare-table :is(th, td) { padding: 18px 20px; border: 0; border-bottom: 1px solid #edf0f3; border-right: 1px solid #edf0f3; vertical-align: middle; text-align: left; }
.public-comparison .compare-table th { position: sticky; left: 0; z-index: 1; min-width: 150px; width: 180px; background: #f8f9fb; color: #68717e; font-weight: 600; }
.public-comparison .compare-table td { min-width: 235px; width: 280px; }
.public-comparison .compare-table tr:last-child > * { border-bottom: 0; }
.public-comparison .compare-table tr > :last-child { border-right: 0; }
.public-comparison .compare-table__product-image { width: 160px; height: 160px; margin: 0 auto 18px; }
.public-comparison .compare-table .product-image__img { height: 100% !important; object-fit: contain; }
.public-comparison .compare-table__product-name { color: #303741; font-size: 15px; font-weight: 600; line-height: 1.6; }
.public-comparison .compare-table__price { font-size: 21px; font-weight: 700; }
.public-comparison__hint { margin: 0 0 12px; color: #68717e; font-size: 12px; }
.public-faq { max-width: 920px; }
.public-faq__list { display: grid; gap: 12px; }
.public-faq details { border: 1px solid #e3e6eb; border-radius: 16px; background: #fff; }
.public-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 24px; color: #303741; font-size: 17px; font-weight: 650; line-height: 1.5; cursor: pointer; list-style: none; }
.public-faq summary::-webkit-details-marker { display: none; }
.public-faq summary::after { content: "+"; flex-shrink: 0; color: #68717e; font-size: 24px; font-weight: 400; }
.public-faq details[open] > summary::after { content: "−"; }
.public-faq__answer { margin: 0 24px; padding: 0 0 24px; }
.public-faq__answer > h2 { font-size: 17px; font-weight: 650; }
.public-contact-card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 24px; }
.public-contact-card h2 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.public-contact-card p { margin: 0; color: #68717e; font-size: 14px; }
.public-rich { min-width: 0; color: #596371; font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.public-rich :where(p,div,section,article,ul,ol) { max-width: 100%; }
.public-rich :is(h1,h2,h3,h4,h5,h6) { margin: 26px 0 12px; color: #303741; font-size: 21px; font-weight: 700; line-height: 1.5; }
.public-rich h3 { font-size: 19px; }
.public-rich :is(h4,h5,h6) { font-size: 17px; }
.public-rich p { margin: 0 0 16px; }
.public-rich :is(ul,ol) { padding-inline-start: 24px; }
.public-rich li { margin-bottom: 8px; }
.public-rich img { max-width: 100% !important; height: auto !important; border-radius: 10px; }
.public-rich :is(iframe,video,object,embed) { max-width: 100% !important; border: 0; border-radius: 12px; }
.public-rich :is(iframe[src*="youtube"],iframe[src*="vimeo"]) { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.public-rich figure { max-width: 100%; margin: 24px 0; }
.public-rich figcaption { margin-top: 8px; color: #68717e; font-size: 12px; }
.public-rich a { color: var(--main-bg-color, #303741); text-decoration: underline; text-underline-offset: 3px; }
.public-rich blockquote { margin: 22px 0; padding: 18px 22px; border: 0; border-left: 3px solid var(--main-bg-color, #303741); border-radius: 0 12px 12px 0; background: #f6f7f9; font-size: inherit; }
.public-rich :is(pre,.public-rich__table) { max-width: 100%; overflow: auto; }
.public-rich__table { margin: 20px 0; border: 1px solid #e3e6eb; border-radius: 12px; }
.public-rich table { width: 100%; margin: 0; border-collapse: collapse; font-size: 13px; }
.public-rich :is(th,td) { min-width: 120px; padding: 12px; border: 1px solid #e3e6eb; vertical-align: top; }
.public-rich th { background: #f6f7f9; color: #303741; }
.public-rich p:empty { display: none; }
.public-rich > :first-child { margin-top: 0; }
.public-rich > :last-child { margin-bottom: 0; }
.public-modal .modal-content { max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; border: 1px solid #e3e6eb; border-radius: 20px; background: #fff; box-shadow: 0 18px 65px rgba(20,25,35,.16); }
.public-modal .modal-dialog { max-width: 600px; }
.public-modal .quickview { flex-shrink: 0; width: 100%; height: auto; max-width: none; max-height: none; padding: 28px; overflow: visible; }
.public-modal .quickview__close { position: absolute; z-index: 3; top: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #e3e6eb; border-radius: 12px; background: #fff; color: #68717e; }
.public-modal .quickview__close:hover { background: #f1f3f6; color: #303741; }
.public-modal__heading { margin-bottom: 24px; padding-right: 30px; }
.public-modal__heading h2 { margin: 0 0 8px; color: #303741; font-size: 23px; font-weight: 700; line-height: 1.4; letter-spacing: -.025em; overflow-wrap: anywhere; }
.public-modal__heading p { margin: 0; color: #68717e; font-size: 14px; line-height: 1.75; }
.public-modal__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.public-modal__option { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-width: 0; padding: 16px; border: 1px solid #e3e6eb; border-radius: 12px; background: #f8f9fb; overflow-wrap: anywhere; }
.public-modal__option > div { min-width: 0; }
.public-modal__option h3 { margin: 0 0 6px; font-size: 15px; font-weight: 650; line-height: 1.5; }
.public-modal__option p { margin: 0; color: #68717e; font-size: 13px; line-height: 1.75; }
.public-modal__option > strong { flex-shrink: 0; font-size: 16px; }
.public-modal__option .btn { flex-shrink: 0; }
.public-modal__media { display: block; flex-shrink: 0; }
.public-modal__media img { display: block; width: 100%; height: auto; max-height: 65vh; object-fit: contain; }
.public-modal__media iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
#modal-empresa.public-modal .public-modal__media img { object-fit: contain; }
#modal-empresa.public-modal .public-modal__media iframe { height: auto; }
.public-modal label { color: #505967; font-size: 13px; font-weight: 600; }
.public-modal .public-modal__title { margin: 0 30px 12px 0; color: #303741; font-size: 23px; font-weight: 700; line-height: 1.4; letter-spacing: -.025em; }
.public-modal #formModal > p { color: #68717e; font-size: 14px; line-height: 1.8; }
.public-modal .public-status { margin: 0; padding: 24px 16px; box-shadow: none; }
.public-access { max-width: 560px; }
.public-access .public-card > p { color: #68717e; font-size: 14px; line-height: 1.8; }
.public-document { max-width: 1000px; }
.public-legacy-payment #content > section { padding: 0; }
.public-legacy-payment #formResumen { padding: 24px; border: 1px solid #e3e6eb; border-radius: 18px; background: #fff; }
.public-legacy-payment #formResumen ul { padding: 0; list-style: none; }
.public-legacy-payment #formResumen li { margin-bottom: 16px; }
.public-legacy-payment #formResumen label { display: block; width: 100%; color: #68717e; font-size: 13px; }
.public-legacy-payment #formResumen :is(input,select) { display: block; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #dce1e7; border-radius: 10px; background: #f8f9fb; color: #303741; font-size: 16px; }
.public-legacy-payment .order-detail { margin-bottom: 24px; padding: 20px; border-radius: 12px; background: #f6f7f9; }
.public-legacy-payment .order-detail p { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 12px; color: #68717e; font-size: 14px; }
.public-legacy-payment .order-detail .all-total { margin: 0; padding-top: 14px; border-top: 1px solid #e3e6eb; color: #303741; font-size: 20px; font-weight: 700; }
.public-payment-modal .modal-content { height: min(750px, calc(100vh - 32px)); height: min(750px, calc(100dvh - 32px)); overflow: auto; border-radius: 18px; }
.public-payment-modal iframe { width: 100%; max-width: 100%; min-height: 100%; border: 0; }
.public-orders { display: grid; gap: 20px; }
.public-order__heading { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid #edf0f3; }
.public-order__heading h2 { margin: 0 0 8px; font-size: 21px; font-weight: 700; }
.public-order__date { margin: 0; color: #68717e; font-size: 13px; }
.public-order__status { padding: 7px 12px; border-radius: 8px; background: #f1f4f7; color: #505967; font-size: 12px; font-weight: 650; }
.public-order__product { display: flex; gap: 24px; padding: 24px 0; }
.public-order__product > img { flex-shrink: 0; width: 120px; height: 120px; object-fit: contain; border: 1px solid #edf0f3; border-radius: 12px; }
.public-order__product > div { flex: 1; min-width: 0; }
.public-order__product h3 { margin: 0 0 16px; font-size: 17px; font-weight: 650; overflow-wrap: anywhere; }
.public-order__variants, .public-order__totals { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 0; }
.public-order__variants :is(dt,dd), .public-order__totals :is(dt,dd) { margin: 0; overflow-wrap: anywhere; }
.public-order__variants dt, .public-order__totals dt { margin-bottom: 6px; color: #68717e; font-size: 12px; font-weight: 500; }
.public-order__variants dd { font-size: 14px; }
.public-order__totals { grid-template-columns: repeat(3,minmax(0,1fr)); padding: 20px; border-radius: 12px; background: #f6f7f9; }
.public-order__totals dd { font-size: 20px; font-weight: 700; }
.blog-page .page-header { margin-bottom: 28px; }
.blog-page .page-header__breadcrumb { padding-top: 20px; }
.blog-page .widget { padding: 24px; border: 1px solid #e3e6eb; border-radius: 16px; background: #fff; }
.blog-page .block-sidebar__item { margin-bottom: 20px; }
.blog-page :is(.widget__title,.widget-newsletter__title) { margin: 0 0 18px; color: #303741; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.blog-page .widget-aboutus__text { color: #68717e; font-size: 14px; line-height: 1.8; }
.blog-page .widget-search__body { display: flex; overflow: hidden; border: 1px solid #dce1e7; border-radius: 12px; background: #fff; }
.blog-page .widget-search__body:focus-within { border-color: var(--main-bg-color, #303741); box-shadow: 0 0 0 3px color-mix(in srgb, var(--main-bg-color, #303741) 12%, transparent); }
.blog-page .widget-search__input { position: static; flex: 1; width: 0; min-width: 0; height: 48px; padding: 0 16px; border: 0; outline: none; background: transparent; color: #303741; font-size: 14px; }
.blog-page .widget-search__input:focus { box-shadow: none; }
.blog-page .widget-search__button { position: static; flex-shrink: 0; width: 48px; border: 0; background: transparent; color: #68717e; }
.blog-page .widget-categories__row > a { padding: 10px 0; color: #505967; font-size: 14px; }
.blog-page .widget-posts__image { width: 70px; border-radius: 10px; overflow: hidden; }
.blog-page .widget-posts__image img { width: 70px; height: 70px; object-fit: cover; }
.blog-page .widget-posts__name { font-size: 14px; line-height: 1.6; }
.blog-page .widget-posts__date { color: #68717e; font-size: 12px; }
.blog-page .widget-newsletter { color: #303741; background: #fff; }
.blog-page .tags__list { display: flex; flex-wrap: wrap; gap: 8px; }
.blog-page .tags__list > span { display: inline-block; padding: 6px 10px; border: 1px solid #e3e6eb; border-radius: 8px; background: #f6f7f9; color: #68717e; font-size: 12px; line-height: 1.5; }
.blog-page .blog-search__status { margin: 0 0 20px; color: #68717e; font-size: 13px; }
.public-popup { overflow: visible; }
.public-popup .fancyImagen { border: 1px solid #e3e6eb; border-radius: 16px; box-shadow: 0 10px 30px rgba(20,25,35,.14); }
.public-popup .cookie-policy-btn { position: absolute; top: -12px; right: -8px; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #e3e6eb; border-radius: 50%; background: #fff; color: #505967; cursor: pointer; }
@media (max-width: 575px) {
    .public-page { padding-bottom: 32px; }
    .public-heading { margin-bottom: 22px; padding-top: 16px; }
    .public-breadcrumb { margin-bottom: 20px; }
    .public-card { padding: 20px; border-radius: 16px; }
    .public-status { margin: 20px auto; padding: 30px 20px; }
    .public-comparison .compare-table :is(th,td) { padding: 14px 12px; }
    .public-comparison .compare-table th { min-width: 100px; width: 100px; font-size: 12px; }
    .public-comparison .compare-table td { min-width: 190px; }
    .public-comparison .compare-table__product-image { width: 130px; height: 130px; }
    .public-faq summary { padding: 18px; font-size: 16px; }
    .public-faq__answer { margin: 0 18px; padding-bottom: 18px; }
    .public-rich { font-size: 14px; }
    .public-modal .modal-dialog { margin: 12px; }
    .public-modal .modal-dialog-centered { min-height: calc(100% - 24px); }
    .public-modal .modal-content { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 16px; }
    .public-modal .quickview { padding: 22px 18px; }
    .public-modal__heading h2 { font-size: 21px; }
    .public-modal__option { flex-wrap: wrap; padding: 14px; }
    .public-page .form-control, .public-modal .form-control, .blog-page .widget-search__input { font-size: 16px; }
    .public-order__product { flex-direction: column; gap: 18px; }
    .public-order__product > img { width: 100px; height: 100px; }
    .public-order__variants { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .public-order__totals { gap: 10px; padding: 14px; }
    .public-order__totals dd { font-size: 17px; }
    .blog-page .widget { padding: 20px; }
}
