/* ==========================================================================
   Diseño de la tienda Productos 66 (LANDING PAGE.psd).
   Se carga después de style.css y responsive.css y todo cuelga de body.p66.
   ========================================================================== */

@font-face {
    font-family: 'Renogare';
    src: url('../fonts/renogare-regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Creato Display';
    src: url('../fonts/creato-light.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'Creato Display';
    src: url('../fonts/creato-regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Creato Display';
    src: url('../fonts/creato-bold.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

:root {
    --p66-fondo: #020b1a;
    --p66-tarjeta: #011128;
    --p66-franja: #1c2b40;
    --p66-azul: #0022aa;
    --p66-azul-hover: #0135bc;
    --p66-vivo: #006eeb;
    --p66-texto: #fff;
    --p66-suave: #b6c0d0;
    --p66-borde: rgba(255, 255, 255, .12);
    --p66-titulos: 'Renogare', 'Creato Display', sans-serif;
    --p66-cuerpo: 'Creato Display', 'Segoe UI', sans-serif;
    --p66-menu: 'Barlow', 'Creato Display', sans-serif;
    --p66-radio: 20px;
}

/* --------------------------------------------------------------- base */
body.p66 {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--p66-fondo);
    color: var(--p66-texto);
    font-family: var(--p66-cuerpo);
    font-size: 16px;
    line-height: 1.45;
    letter-spacing: -.015em;
}

.p66 h1,
.p66 h2,
.p66 h3,
.p66 h4,
.p66 h5,
.p66 h6 {
    color: var(--p66-texto);
    font-family: var(--p66-titulos);
    font-weight: 400;
    letter-spacing: -.045em;
}

.p66 a {
    color: inherit;
}

.p66 a:hover {
    color: var(--p66-vivo);
    text-decoration: none;
}

.p66 p,
.p66 label,
.p66 li,
.p66 td,
.p66 th,
.p66 small,
.p66 pre {
    font-family: var(--p66-cuerpo);
}

.p66-wrap {
    width: 100%;
    max-width: 1652px;
    margin-inline: auto;
    padding-inline: 32px;
}

.p66-acento {
    color: var(--p66-vivo);
    font-family: inherit !important;
}

.p66-linea {
    color: var(--linea);
    font-family: inherit !important;
}

#preloader {
    background-color: var(--p66-fondo);
}

#volver-arriba {
    position: fixed;
    right: 24px;
    bottom: 96px;
    z-index: 999;
    display: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--p66-azul);
    color: #fff;
    font-size: 24px;
    line-height: 52px;
    text-align: center;
}

#success-msg,
#error-msg {
    width: min(960px, calc(100% - 32px));
    margin: 12px auto;
}

/* ------------------------------------------------------------- botones */
.p66-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 22px;
    border: 0;
    border-radius: 14px;
    background-color: var(--p66-azul);
    color: #fff;
    font-family: var(--p66-titulos);
    font-size: 17px;
    line-height: 1.1;
    letter-spacing: -.04em;
    text-align: center;
    cursor: pointer;
    transition: background-color .2s;
}

.p66 .p66-btn:hover,
.p66 .p66-btn:focus {
    background-color: var(--p66-azul-hover);
    color: #fff;
}

.p66-btn.disabled {
    opacity: .5;
    cursor: not-allowed;
}

.p66-btn--vivo {
    background-color: var(--p66-vivo);
}

.p66 .p66-btn--vivo:hover,
.p66 .p66-btn--vivo:focus {
    background-color: #005fcc;
}

.p66-btn--lg {
    min-height: 56px;
    padding: 14px 28px;
    border-radius: 16px;
    font-size: 22px;
}

.p66-btn--sm {
    min-height: 36px;
    padding: 5px 16px;
    border-radius: 10px;
    font-family: var(--p66-cuerpo);
    font-size: 17px;
}

.p66-btn--bloque {
    width: 100%;
}

/* -------------------------------------------------------------- header */
.p66-header {
    padding: 24px 0 20px;
    background: none;
    box-shadow: none;
}

.p66-header__in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 30px;
}

.p66-logo {
    display: block;
    margin-right: auto;
}

.p66-logo img {
    display: block;
    width: 180px;
    height: auto;
}

.p66-nav {
    display: flex;
    align-items: center;
    gap: 38px;
}

.p66 .p66-nav__link {
    color: #fff;
    font-family: var(--p66-menu);
    font-size: 21px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.p66 .p66-nav__link.active {
    color: var(--p66-vivo);
}

.p66 .p66-carrito {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: #fff;
    font-size: 24px;
}

.p66 .p66-carrito.active {
    color: var(--p66-vivo);
}

.p66 .p66-carrito__n {
    position: absolute;
    top: -2px;
    right: -6px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background-color: var(--p66-vivo);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.p66-header__cta {
    min-height: 54px;
    padding: 12px 28px;
    border-radius: 16px;
    font-size: 20px;
}

.p66-burger {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    color: #fff;
    font-size: 24px;
}

/* ---------------------------------------------------------------- hero */
.p66-hero {
    padding: 64px 0 56px;
}

.p66-hero__in {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 552px);
    gap: 48px;
    align-items: start;
}

.p66-titulo {
    margin: 0 0 18px;
    font-size: 62px;
    line-height: 1.1;
}

.p66-titulo--medio {
    max-width: 540px;
    font-size: 40px;
}

.p66-acento {
    display: block;
}

.p66-subtitulo .p66-acento {
    display: inline;
}

.p66-hero__texto {
    max-width: 800px;
    margin: 0 0 24px;
    font-size: 22px;
    line-height: 1.3;
}

.p66-cifras {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 70px;
    margin: 24px 0 0;
    padding: 20px 0 0 120px;
    border-top: 2px solid #fff;
}

.p66-cifras dt {
    font-family: var(--p66-titulos);
    letter-spacing: -.045em;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.1;
}

.p66-cifras dd {
    margin: 0;
    font-size: 17px;
}

.p66-destacado {
    padding: 42px 56px 38px;
    border-radius: var(--p66-radio);
    background-color: var(--p66-tarjeta);
    text-align: center;
}

.p66-destacado img {
    display: block;
    width: 200px;
    height: 200px;
    margin: 0 auto 12px;
    object-fit: contain;
}

.p66-destacado__nombre {
    margin: 0;
    font-family: var(--p66-titulos) !important;
    letter-spacing: -.045em;
    font-size: 32px;
    line-height: 1.2;
}

.p66-destacado__bajada {
    margin: 8px 0 22px;
    font-size: 20px;
    line-height: 1.1;
}

/* ------------------------------------------------------------ secciones */
.p66-seccion {
    padding: 56px 0;
}

.p66-seccion--inicio {
    padding-top: 36px;
}

.p66-seccion__cabeza {
    max-width: 1150px;
    margin: 0 auto 30px;
}

.p66-seccion__cabeza p {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
}

.p66-subtitulo {
    margin: 0 0 18px;
    font-size: 44px;
    line-height: 1.05;
}

.p66-seccion__accion {
    margin-top: 40px;
    text-align: center;
}

.p66-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 48px 64px;
    justify-content: center;
    max-width: 1150px;
    margin-inline: auto;
}

.p66-grid>.p66-card {
    flex: 0 1 340px;
}

/* -------------------------------------------------------------- tarjeta */
.p66-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--p66-radio);
    background-color: var(--p66-tarjeta);
}

.p66-card__cuerpo {
    flex: 1;
    padding: 28px 22px 10px;
    text-align: center;
}

.p66-card__media {
    display: block;
}

.p66-card__media img {
    display: block;
    width: 150px;
    height: 150px;
    margin: 0 auto 12px;
    object-fit: contain;
}

.p66 .p66-card__titulo {
    margin: 0 0 8px;
    font-size: 23px;
    line-height: 1.2;
}

.p66 .p66-card__titulo a:hover {
    color: inherit;
}

.p66-card__bajada {
    margin: 0;
    font-size: 16px;
    line-height: 1.1;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.p66-card__franja {
    margin: 0;
    padding: 10px;
    background-color: var(--p66-franja);
    font-size: 15px;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.p66-card__variantes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 14px 16px;
}

/* El radio de la plantilla se conserva porque select_variation y AddtoCart lo leen. */
.p66 .custom-varient {
    position: relative;
    display: inline-flex;
    margin: 0;
    padding: 0;
}

.p66 .custom-varient .custom-control-input {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.p66 .custom-varient .custom-control-label {
    display: block;
    min-width: 74px;
    margin: 0;
    padding: 6px 14px;
    border: 0;
    border-radius: 10px;
    background-color: #020b1a;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
}

.p66 .custom-varient .custom-control-label::before,
.p66 .custom-varient .custom-control-label::after {
    display: none;
}

.p66 .custom-varient .custom-control-input:checked~.custom-control-label {
    border: 0;
    background-color: var(--p66-azul-hover);
    color: #fff;
}

.p66 .custom-varient .custom-control-input:focus-visible~.custom-control-label {
    outline: 2px solid #fff;
    outline-offset: 1px;
}

.p66-card__compra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding: 20px 18px 20px 24px;
    border-radius: var(--p66-radio);
    background-color: var(--p66-franja);
}

.p66-card__compra--solo {
    justify-content: center;
    padding-left: 20px;
}

.p66-card__precio-label {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
    line-height: 1;
}

.p66-card__precio {
    display: block;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

/* ---------------------------------------------------------- distribuidor */
#distribuidor {
    scroll-margin-top: 20px;
}

.p66-distribuidor {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 720px);
    gap: 60px;
}

.p66-beneficios {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.p66-beneficios li {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 1.15;
}

.p66-beneficios strong {
    display: block;
    letter-spacing: -.04em;
    margin-bottom: 2px;
    font-family: var(--p66-titulos);
    font-weight: 400;
}

.p66-beneficios__icono {
    display: flex;
    flex: 0 0 54px;
    align-items: center;
    justify-content: center;
    height: 54px;
    border-radius: 14px;
    font-size: 22px;
}

.p66-panel {
    padding: 36px 56px 32px;
    border-radius: var(--p66-radio);
    background-color: var(--p66-tarjeta);
}

.p66-campos {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.p66-campo {
    margin-bottom: 16px;
}

.p66-campo label {
    display: block;
    margin-bottom: 6px;
    font-size: 17px;
    font-weight: 300;
}

.p66-campo small {
    display: block;
    margin-top: 6px;
    color: var(--p66-suave);
    font-size: 15px;
}

.p66 .p66-campo input,
.p66 .p66-campo textarea {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    background-color: var(--p66-fondo);
    color: #fff;
    font-family: var(--p66-cuerpo);
    font-size: 16px;
}

.p66 .p66-campo input:focus,
.p66 .p66-campo textarea:focus {
    border-color: var(--p66-vivo);
    outline: 0;
    box-shadow: none;
}

.p66 .p66-campo input::placeholder,
.p66 .p66-campo textarea::placeholder {
    color: #7d8aa0;
}

.p66-form__enviar {
    display: flex;
    width: calc(100% - 112px);
    margin: -4px auto 0;
    font-family: var(--p66-cuerpo);
}

.g-recaptcha {
    max-width: 100%;
    margin-top: 8px;
}

.p66-aviso {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-radius: 10px;
    background-color: var(--p66-franja);
    font-size: 16px;
}

.p66-aviso--ok i {
    color: #36c47f;
}

.p66-aviso--error i,
.p66-panel .p66-aviso--error {
    color: #ff8a80;
}

/* ------------------------------------------------------------------ ficha */
.p66-ficha {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: start;
    max-width: 1330px;
    margin-inline: auto;
}

.p66-ficha__media {
    padding: 40px;
    border-radius: var(--p66-radio);
    background-color: var(--p66-tarjeta);
}

.p66-ficha__media img {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    margin-inline: auto;
}

.p66 .p66-ficha__titulo {
    margin: 0 0 6px;
    font-size: 42px;
    line-height: 1.1;
}

.p66-ficha__bajada {
    margin: 0 0 18px;
    font-size: 21px;
    line-height: 1.1;
}

.p66-ficha__info .pre {
    margin-bottom: 14px;
    color: var(--p66-suave);
    font-size: 16px;
    white-space: pre-line;
}

.p66-ficha__info .p66-card__franja {
    margin-top: 18px;
    border-radius: 10px 10px 0 0;
}

.p66-ficha__info .p66-card__variantes {
    justify-content: flex-start;
    padding-inline: 0;
}

.p66-ficha__info .woo_colors_list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.p66-ficha__compra {
    flex-wrap: wrap;
    margin-top: 8px;
}

.p66 .p66-cantidad .qty-input2 {
    flex-wrap: nowrap;
    width: 130px;
}

.p66 .p66-cantidad .qty-input2 input {
    width: 54px;
    height: 40px;
    border: 0 !important;
    background-color: var(--p66-fondo);
    color: #fff;
    font-size: 18px;
}

.p66 .p66-cantidad .qty-input2 .btn {
    width: 38px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background-color: var(--p66-azul);
    color: #fff;
    font-size: 14px;
    line-height: 40px;
}

.p66-ficha__pdf {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.25;
}

.p66-ficha__pdf i {
    color: var(--p66-vivo);
    font-size: 26px;
}

.p66-juntos {
    margin-top: 90px;
}

.p66-juntos .p66-subtitulo {
    margin-bottom: 36px;
    font-size: 32px;
    text-align: center;
}

.p66 .rating-products .caption-badge66,
.p66 .rating-products .caption {
    color: var(--p66-suave);
    font-size: 15px;
}

/* --------------------------------------------------------------- contacto */
.p66-contacto {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 640px);
    gap: 60px;
    align-items: start;
    max-width: 1400px;
}

.p66-contacto__video {
    display: block;
    width: 100%;
    margin-top: 24px;
    border-radius: var(--p66-radio);
}

.p66-contacto .p66-panel {
    padding: 36px 40px 30px;
}

.p66-contacto .p66-form__enviar {
    width: calc(100% - 80px);
    font-size: 22px;
}

/* ------------------------------------------------------------------- pie */
.p66-footer {
    margin-top: auto;
    padding: 56px 0 26px;
    border-top: 1px solid var(--p66-borde);
    background-color: var(--p66-fondo);
    font-size: 15px;
}

.p66-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 40px;
}

.p66-footer__marca p {
    max-width: 340px;
    margin: 16px 0;
}

.p66 .p66-footer__titulo {
    margin: 0 0 16px;
    font-size: 18px;
}

.p66 .p66-footer__dato {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    word-break: break-word;
}

.p66 .footer-social {
    display: flex;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 24px;
}

.p66 .footer-social a {
    color: #fff;
}

.p66 .footer-social a:hover {
    color: var(--p66-vivo);
}

.footer-direcciones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 40px;
    color: var(--p66-suave);
    font-size: 15px;
    line-height: 1.6;
}

.footer-google-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.p66 .footer-google-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 7px 16px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #fff;
    font-size: 15px;
    line-height: 1.2;
    transition: background-color .2s, color .2s, border-color .2s;
}

.p66 .footer-google-link:hover,
.p66 .footer-google-link:focus {
    border-color: #fff;
    background-color: #fff;
    color: #202124;
}

.footer-google-star {
    color: #fbbc04;
}

.p66-footer__enlaces {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid var(--p66-borde);
    color: var(--p66-suave);
    font-size: 15px;
}

.p66-footer__legal {
    margin-top: 14px;
    color: var(--p66-suave);
}

/* ---------------------------------------------- pantallas de la plantilla
   Carrito, cuenta, login, seguimiento, políticas: conservan su Blade. */
.p66 h1 strong,
.p66 h2 strong,
.p66 h3 strong,
.p66 h4 strong {
    font-weight: 400 !important;
}

.p66 main.col-lg-8 {
    margin-top: 24px;
}

.p66 .container {
    max-width: 1240px;
}

.p66 .card,
.p66 .item-box,
.p66 .order-details-box,
.p66 .list-group-item,
.p66 .modal-content {
    border-color: var(--p66-borde);
    background-color: var(--p66-tarjeta);
    color: #fff;
}

.p66 .card-header,
.p66 .card-footer,
.p66 .modal-header,
.p66 .modal-footer {
    border-color: var(--p66-borde);
    background-color: transparent;
    color: #fff;
}

.p66 .card-shadow {
    box-shadow: none;
}

.p66 .form-control,
.p66 .form-select,
.p66 select,
.p66 input[type="password"],
.p66 input[type="date"] {
    border: 1px solid var(--p66-borde) !important;
    background-color: var(--p66-fondo) !important;
    color: #fff !important;
    font-family: var(--p66-cuerpo);
    color-scheme: dark;
}

.p66 .form-control:focus,
.p66 .form-select:focus {
    border-color: var(--p66-vivo) !important;
    box-shadow: none;
}

.p66 .form-control::placeholder {
    color: #7d8aa0;
}

.p66 .form-control:disabled,
.p66 .form-control[readonly],
.p66 .form-select:disabled {
    background-color: #0b1729 !important;
    color: var(--p66-suave) !important;
    opacity: 1;
}

.p66 .btn:not(.change-qty),
.p66 .btn-primary,
.p66 .btn-gray,
.p66 .btn-hover-gray {
    border: 0;
    border-radius: 12px;
    background-color: var(--p66-azul);
    color: #fff;
}

.p66 .btn:not(.change-qty):hover,
.p66 .btn-primary:hover,
.p66 .btn-hover-gray:hover {
    background-color: var(--p66-azul-hover);
    color: #fff;
}

.p66 .text-muted,
.p66 .text-gray {
    color: var(--p66-suave) !important;
}

.p66 .text-black,
.p66 .text-dark {
    color: #fff !important;
}

.p66 .alert-warning {
    border-color: var(--p66-borde) !important;
    background-color: var(--p66-tarjeta);
    color: #fff;
}

.p66 .hyper-link {
    color: var(--p66-vivo);
}

.p66 .table {
    color: #fff;
}

.p66 .product-prev-sec,
.p66 .cart-sec,
.p66 .order-details,
.p66 .order-success-sec,
.p66 .feature-sec {
    background-color: transparent;
    color: #fff;
}

.p66 .qty-input2 input {
    background-color: var(--p66-fondo);
    color: #fff;
}

.p66 .qty-input2 .btn,
.p66 .qty-input2 .btn i {
    color: #fff;
}

.p66 .cart-total-price,
.p66 .list-font,
.p66 .list-font p,
.p66 .cart-card-title {
    color: #fff;
}

.p66 .list-group-item.active {
    border-color: var(--p66-azul);
    background-color: var(--p66-azul);
}

/* Opción elegida en el carrito: style.css la marca con borde negro, invisible sobre fondo oscuro. */
.p66 .delivery-option .pro-order {
    border: 2px solid var(--p66-borde);
    background-color: var(--p66-fondo);
}

.p66 .delivery-option input[type=radio]:checked~.pro-order {
    border: 2px solid var(--p66-vivo);
    background-color: #0b2150;
    box-shadow: 0 0 0 1px var(--p66-vivo);
}

.p66 .delivery-option label h5 {
    color: var(--p66-suave);
}

.p66 .delivery-option input[type=radio]:checked~h5 {
    color: #fff;
}

.p66 .customer-info .payment-check {
    border: 2px solid var(--p66-borde);
    background-color: var(--p66-fondo);
}

.p66 .customer-info input[type=radio]:checked~.payment-check {
    border: 2px solid var(--p66-vivo);
    background-color: #0b2150;
    box-shadow: 0 0 0 1px var(--p66-vivo);
}

/* Resumen mientras se actualiza una cantidad */
.p66 .p66-actualizando {
    opacity: .6;
    pointer-events: none;
    transition: opacity .15s;
}

/* Seguimiento: style.css usa aquí el color de marca de la tienda, oscuro sobre este fondo */
.p66 .sec-head,
.p66 .order-details-box .pro-total-price {
    color: #fff;
}

.p66 .order-details .container>p {
    color: var(--p66-suave);
}

.p66 .text-danger {
    color: #ff8a80 !important;
}

.p66 .alert-danger {
    border: 1px solid #ff6b6b;
    border-radius: 10px;
    background-color: #2c1330;
    color: #ffe3e6;
}

/* ---------------------------------------------------------------- avisos */
/* style.css pinta #success-msg y #error-msg por id y a todo el ancho: hace falta !important. */
.p66-alertas {
    position: fixed;
    top: 92px;
    left: 50%;
    z-index: 2500;
    width: min(560px, calc(100% - 32px));
    transform: translateX(-50%);
    pointer-events: none;
}

.p66-alertas #success-msg,
.p66-alertas #error-msg {
    position: static !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    padding: 14px 18px !important;
    border: 1px solid var(--p66-vivo) !important;
    border-left-width: 5px !important;
    border-radius: 14px !important;
    background: #0b2150 !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .55);
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.4;
    text-align: left !important;
    pointer-events: auto;
}

.p66-alertas #error-msg {
    border-color: #ff6b6b !important;
    background: #2c1330 !important;
    color: #ffe3e6 !important;
}

.p66-alertas #msg,
.p66-alertas #ermsg {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    align-items: center;
}

.p66-aviso__icono {
    flex: none;
    color: #36c47f;
    font-size: 20px;
}

.p66-aviso__texto {
    flex: 1 1 auto;
}

.p66 .p66-aviso__enlace {
    color: #8fc2ff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.p66 .p66-aviso__enlace:hover {
    color: #fff;
}

.p66 .p66-btn.agregado,
.p66 .p66-btn.agregado:hover {
    background-color: #0f7a4d;
}

.p66 .p66-btn:disabled {
    cursor: default;
    opacity: .85;
}

@keyframes p66-rebote {
    50% {
        transform: scale(1.25);
    }
}

.p66 .p66-carrito.rebote {
    animation: p66-rebote .3s ease;
}

.p66 .store-close {
    border-top: 2px solid #ff6b6b;
    background: #2c1330 !important;
    color: #ffe3e6 !important;
}

/* ------------------------------------------------------- modales y plugins */
.p66 .modal-content {
    border-radius: var(--p66-radio);
}

.p66 .modal-title,
.p66 .modal-body,
.p66 .modal-body p,
.p66 .modal-body li {
    color: #fff;
}

.p66 .modal .close {
    color: #fff;
    opacity: .85;
    text-shadow: none;
}

.p66 .modal .list-group-item {
    border-color: var(--p66-borde);
    background: transparent;
    color: #fff;
}

/* SweetAlert 1.x: sin esto sale la caja blanca con el título blanco y el <input> interno a la
   vista. Los botones traen el color inline, por eso el !important. */
.sweet-overlay {
    background-color: rgba(2, 11, 26, .78) !important;
}

.sweet-alert {
    padding: 28px 24px 24px !important;
    border: 1px solid var(--p66-borde);
    border-radius: var(--p66-radio) !important;
    background: var(--p66-tarjeta) !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
    font-family: var(--p66-cuerpo) !important;
}

.p66 .sweet-alert h2 {
    margin: 18px 0 8px !important;
    color: #fff !important;
    font-family: var(--p66-titulos) !important;
    font-size: 22px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

.p66 .sweet-alert p {
    color: var(--p66-suave) !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}

.sweet-alert:not(.show-input) fieldset,
.sweet-alert:not(.show-input) fieldset input,
.sweet-alert .sa-error-container:not(.show),
.sweet-alert .sa-input-error {
    display: none !important;
}

.sweet-alert .sa-button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 22px;
}

.sweet-alert button {
    min-width: 130px;
    min-height: 46px;
    margin: 0 !important;
    padding: 11px 22px !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 700 !important;
}

.sweet-alert button.confirm {
    border: 0 !important;
    background: var(--p66-azul) !important;
    color: #fff !important;
}

/* Confirmación de una acción que borra: el "Sí" va en rojo */
.sweet-alert:has(.sa-warning[style*='block']) button.confirm,
.sweet-alert:has(.sa-error[style*='block']) button.confirm {
    background: #c9302c !important;
}

.sweet-alert button.cancel {
    border: 1.5px solid rgba(255, 255, 255, .35) !important;
    background: transparent !important;
    color: #fff !important;
}

.sweet-alert button.cancel:hover {
    background: rgba(255, 255, 255, .08) !important;
}

.sweet-alert .sa-icon.sa-warning {
    border-color: #f5b971 !important;
}

.sweet-alert .sa-icon.sa-warning .sa-body,
.sweet-alert .sa-icon.sa-warning .sa-dot {
    background-color: #f5b971 !important;
}

/* El ícono de éxito se arma con piezas que tapan el círculo: van del color de la caja */
.sweet-alert .sa-icon.sa-success::before,
.sweet-alert .sa-icon.sa-success::after,
.sweet-alert .sa-icon.sa-success .sa-fix {
    background: var(--p66-tarjeta) !important;
}

/* toastr: avisos de login, registro, recuperar clave y perfil */
#toast-container>.toast {
    width: min(380px, calc(100vw - 32px));
    padding: 15px 18px 15px 50px !important;
    border: 1px solid var(--p66-vivo);
    border-left-width: 5px;
    border-radius: 14px !important;
    background-position: 16px center !important;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .55) !important;
    color: #fff !important;
    font-family: var(--p66-cuerpo);
    font-size: 15px;
    line-height: 1.4;
    opacity: 1 !important;
}

#toast-container>.toast-success {
    background-color: #0b2150 !important;
}

#toast-container>.toast-error {
    border-color: #ff6b6b;
    background-color: #2c1330 !important;
    color: #ffe3e6 !important;
}

#toast-container>.toast-info,
#toast-container>.toast-warning {
    border-color: #f5b971;
    background-color: var(--p66-franja) !important;
}

/* -------------------------------------------------------------- seguimiento */
.p66-pedido {
    max-width: 1150px;
}

.p66-pedido__cabeza {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 26px;
}

.p66-pedido__cabeza .p66-titulo {
    max-width: none;
    margin: 0;
    overflow-wrap: anywhere;
}

.p66-pedido__fecha {
    color: var(--p66-suave);
}

.p66-pasos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 28px;
    padding: 28px 12px 24px;
    border-radius: var(--p66-radio);
    background-color: var(--p66-tarjeta);
    list-style: none;
}

.p66-paso {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
    padding-inline: 8px;
    color: var(--p66-suave);
    font-size: 15px;
    text-align: center;
}

/* La línea une cada paso con el anterior */
.p66-paso:not(:first-child)::before {
    position: absolute;
    top: 17px;
    right: 50%;
    left: -50%;
    height: 3px;
    background-color: var(--p66-franja);
    content: '';
}

.p66-paso.hecho:not(:first-child)::before {
    background-color: var(--p66-vivo);
}

.p66-paso__punto {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    border: 3px solid var(--p66-franja);
    border-radius: 50%;
    background-color: var(--p66-tarjeta);
    color: #fff;
    font-size: 15px;
}

.p66-paso.hecho .p66-paso__punto {
    border-color: var(--p66-vivo);
    background-color: var(--p66-vivo);
}

.p66-paso strong {
    font-family: var(--p66-titulos);
    font-size: 17px;
    font-weight: 400;
    letter-spacing: -.04em;
    line-height: 1.15;
}

.p66-paso.hecho strong {
    color: #fff;
}

.p66-paso__detalle {
    font-size: 14px;
    line-height: 1.2;
}

/* El paso actual se distingue del resto */
.p66-paso[aria-current='step'] .p66-paso__punto {
    box-shadow: 0 0 0 5px rgba(0, 110, 235, .28);
}

.p66-pedido__cuerpo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
    gap: 20px;
    align-items: start;
}

.p66-pedido__lado {
    display: grid;
    gap: 20px;
}

.p66-panel.p66-pedido__panel {
    padding: 24px 26px;
}

.p66-pedido__panel p {
    margin: 0;
    color: var(--p66-suave);
}

.p66 .p66-pedido__titulo {
    margin: 0 0 14px;
    font-size: 20px;
}

.p66-pedido__linea {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid var(--p66-borde);
}

.p66-pedido__linea img {
    flex: none;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.p66-pedido__nombre {
    flex: 1;
    min-width: 0;
    line-height: 1.25;
}

.p66-pedido__nombre strong {
    display: block;
    font-family: var(--p66-titulos);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -.04em;
}

.p66-pedido__nombre>span {
    color: var(--p66-suave);
    font-size: 15px;
}

.p66-pedido__importe {
    white-space: nowrap;
}

.p66-pedido__totales {
    padding-top: 14px;
    border-top: 1px solid var(--p66-borde);
}

.p66-pedido__totales>div {
    display: flex;
    justify-content: space-between;
    padding: 3px 0;
    color: var(--p66-suave);
}

.p66-pedido__totales .p66-pedido__total {
    align-items: baseline;
    margin-top: 4px;
    color: #fff;
}

.p66-pedido__total strong {
    font-size: 30px;
    line-height: 1.1;
}

.p66-pedido__datos {
    margin: 0;
}

.p66-pedido__datos dt {
    color: var(--p66-suave);
    font-size: 14px;
    font-weight: 400;
}

.p66-pedido__datos dd {
    margin: 0 0 10px;
    overflow-wrap: anywhere;
}

.p66-pedido__datos dd:last-child {
    margin-bottom: 0;
}

/* ------------------------------------------------------- rastrear pedido */
.p66-rastreo {
    max-width: 640px;
}

.p66-rastreo .p66-form__enviar {
    width: 100%;
    margin-top: 16px;
}

.p66-rastreo__nota {
    margin-top: 18px;
    color: var(--p66-suave);
}

.p66 .p66-rastreo__nota a {
    color: #8fc2ff;
    text-decoration: underline;
}

/* ------------------------------------------------------------- responsive */
@media (max-width: 1599px) {
    .p66-nav {
        gap: 26px;
    }

    .p66 .p66-nav__link {
        font-size: 19px;
    }

    .p66-header__cta {
        min-height: 48px;
        padding: 10px 22px;
        font-size: 18px;
    }

    .p66-logo img {
        width: 160px;
    }

    .p66-hero {
        padding: 48px 0;
    }

    .p66-titulo {
        font-size: 52px;
    }

    .p66-titulo--medio {
        font-size: 36px;
    }

    .p66-hero__texto {
        font-size: 20px;
    }

    .p66-destacado {
        padding: 34px 44px 32px;
    }

    .p66-subtitulo {
        font-size: 38px;
    }

    .p66-grid {
        gap: 40px 36px;
    }
}

@media (max-width: 1199px) {
    .p66-header {
        padding: 20px 0;
    }

    .p66-burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .p66-nav {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        order: 5;
        gap: 4px;
    }

    .p66-nav.abierto {
        display: flex;
    }

    .p66 .p66-nav__link {
        display: block;
        width: 100%;
        padding: 12px 0;
        font-size: 22px;
        text-align: center;
    }

    .p66-header__cta {
        min-height: 48px;
        padding: 10px 18px;
        border-radius: 14px;
        font-size: 18px;
    }

    .p66-hero__in,
    .p66-distribuidor,
    .p66-contacto,
    .p66-ficha {
        grid-template-columns: minmax(0, 1fr);
    }

    .p66-destacado {
        width: 100%;
        max-width: 552px;
        margin-inline: auto;
    }

    .p66-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .p66-footer__sedes {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    body.p66 {
        font-size: 15px;
    }

    .p66-wrap {
        padding-inline: 16px;
    }

    .p66-logo img {
        width: 150px;
    }

    .p66-header__in {
        gap: 8px;
    }

    .p66-header__cta {
        display: none;
    }

    .p66-hero {
        padding: 30px 0 50px;
    }

    .p66-titulo {
        font-size: 34px;
    }

    .p66-titulo--medio {
        font-size: 28px;
    }

    .p66-hero__texto,
    .p66-seccion__cabeza p {
        font-size: 17px;
        line-height: 1.3;
    }

    .p66-btn--lg {
        width: 100%;
        min-height: 52px;
        padding: 12px 18px;
        font-size: 19px;
    }

    .p66-cifras {
        justify-content: space-between;
        gap: 12px;
        padding-left: 0;
    }

    .p66-cifras dt {
        font-size: 26px;
    }

    .p66-cifras dd {
        font-size: 15px;
    }

    .p66-destacado {
        padding: 28px 22px;
    }

    .p66-destacado__nombre {
        font-size: 27px;
    }

    .p66-destacado__bajada {
        font-size: 17px;
        line-height: 1.15;
    }

    .p66-seccion {
        padding: 44px 0;
    }

    .p66-subtitulo {
        font-size: 28px;
    }

    .p66-grid {
        gap: 28px;
    }

    .p66-grid>.p66-card {
        flex-basis: 100%;
        max-width: 400px;
    }

    .p66-beneficios li {
        align-items: flex-start;
        font-size: 18px;
        line-height: 1.15;
    }

    .p66-panel,
    .p66-contacto .p66-panel {
        padding: 24px 18px;
    }

    .p66-campos {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .p66-form__enviar,
    .p66-contacto .p66-form__enviar {
        width: 100%;
        margin-top: 12px;
    }

    .g-recaptcha {
        overflow: hidden;
    }

    .p66-ficha {
        gap: 24px;
    }

    .p66-ficha__media {
        padding: 20px;
    }

    .p66 .p66-ficha__titulo {
        font-size: 32px;
    }

    .p66-ficha__bajada {
        font-size: 18px;
    }

    .p66-juntos .p66-subtitulo {
        font-size: 25px;
    }

    .p66-footer__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .p66-alertas {
        top: 76px;
    }

    .p66-pedido__cuerpo {
        grid-template-columns: minmax(0, 1fr);
    }

    /* En el celular los pasos van en vertical y la línea baja por los puntos */
    .p66-pasos {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
        padding: 20px 18px;
    }

    .p66-paso {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 0 14px;
        align-items: start;
        padding: 0;
        text-align: left;
    }

    .p66-paso__punto {
        grid-row: span 2;
        margin: 0;
    }

    .p66-paso:not(:first-child)::before {
        top: -14px;
        right: auto;
        bottom: auto;
        left: 16px;
        width: 3px;
        height: 16px;
    }

    #volver-arriba {
        right: 14px;
        bottom: 84px;
    }
}
