/* Ruta: /v2/assets/css/
 * Archivo: cotizador.css
 * Versión: 1.2.1 (Limpio y consolidado)
 */

/* =========================================================
   ESTRUCTURA GENERAL Y CONTENEDORES
   ========================================================= */

.pa-cotizador {
    width: 100%;
    max-width: var(--pa-container);
    margin: 0 auto;
    padding-top: 0; /* Desactivado: el padding principal lo gestiona .pa-main */
    background: var(--pa-black);
    color: var(--pa-white);
    box-sizing: border-box;
}

/* Espaciado base garantizado para todas las vistas */
.pa-cotizador-content{
    width:100%;
    max-width:900px;
    margin:0 auto;
    padding:66px 16px 40px;
    box-sizing:border-box;
}

.pa-cotizador-screen {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.pa-cotizador-seccion-titulo {
    margin: 30px 0 10px;
}

body:has(.pa-cotizador) .pa-header {
    border-bottom: 0;
}

/* =========================================================
   ELEMENTOS DE FORMULARIO
   ========================================================= */

.pap-seleccionar {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--pa-border);
    border-radius: 10px;
    background: var(--pa-bg);
    color: var(--pa-text);
    font-size: 20px;
    text-align: center;
    line-height: 1.8;
    font-weight: 500;
    cursor: pointer;
    box-sizing: border-box;
    transition: background .2s, border-color .2s, color .2s;
    appearance: none;
    -webkit-appearance: none;
}

.pap-seleccionar:hover,
.pap-seleccionar:focus {
    border-color: var(--pa-yellow);
    color: var(--pa-yellow);
    outline: none;
}

.pap-seleccionar.seleccionado {
    background: var(--pa-bg);
    border: 2px solid var(--pa-yellow);
    color: var(--pa-white);
}

.pap-seleccionar option {
    background: var(--pa-bg);
    color: var(--pa-white);
}

/* =========================================================
   BARRA DE PASOS Y PROGRESO
   ========================================================= */

.pa-cotizador-barra {
    position: fixed;
    top: var(--pa-header-height); /* Se adhiere justo debajo del header principal (85px) */
    left: 50%;
    width: 100%;
    max-width: var(--pa-container);
    height: 42px;
    min-height: 42px;
    display: flex;
    align-items: center;
    transform: translateX(-50%);
    background: var(--pa-black);
    border-bottom: 1px solid var(--pa-border-soft);
    z-index: 9998;
    box-sizing: border-box;
}

.pa-cotizador-progress {
    flex: 1 1 auto;
    min-width: 0;
    height: 42px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    background: var(--pa-black);
    border: 0;
}

.pa-cotizador-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #8f8f8f;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    user-select: none;
}

.pa-cotizador-progress-circle {
    width: 25px;
    height: 25px;
    margin-bottom: 3px;
    border: 1px solid #555;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1f232a;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.pa-cotizador-progress-line {
    flex: 1;
    height: 4px;
    margin: 0 8px 14px;
    background: #444;
}

.pa-cotizador-progress-step.active,
.pa-cotizador-progress-step.completed {
    color: var(--pa-yellow);
}

.pa-cotizador-progress-step.active .pa-cotizador-progress-circle,
.pa-cotizador-progress-step.completed .pa-cotizador-progress-circle {
    background: var(--pa-yellow);
    border-color: var(--pa-yellow);
    color: #000;
}

.pa-cotizador-progress-step.completed + .pa-cotizador-progress-line {
    background: var(--pa-yellow);
}

/* =========================================================
   RESUMEN EN BARRA SUPERIOR
   ========================================================= */

.pa-cotizador-carrito-resumen {
    flex: 0 0 auto;
    min-width: 0;
    min-height: 42px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: var(--pa--bg);
    margin-left: 8px;
}

.pa-cotizador-carrito-boton {
    min-height: 34px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1F232A;
    border: 1px solid var(--pa-yellow);
    border-radius: 8px;
    color: var(--pa-white);
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.pa-cotizador-carrito-boton:hover {
    background: #1F232A;
}

.pa-cotizador-carrito-boton i {
    color: var(--pa-yellow);
    font-size: 18px;
}

.pa-cotizador-carrito-info {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.pa-cotizador-carrito-info i {
    color: var(--pa-yellow);
    font-size: 22px;
}

.pa-cotizador-carrito-cantidad {
    color: var(--pa-white);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.pa-cotizador-carrito-total {
    color: var(--pa-white);
    font-size: 15px;
    font-weight: 800;
    white-space: nowrap;
}

.pa-cotizador-carrito-total.destello {
    animation: paTotalDestello .8s ease;
}

@keyframes paTotalDestello {
    0% { text-shadow: 0 0 0 rgba(244,180,0,0); }
    25% { text-shadow: 0 0 6px rgba(244,180,0,.9), 0 0 14px rgba(244,180,0,.7); }
    55% { text-shadow: 0 0 4px rgba(244,180,0,.7), 0 0 10px rgba(244,180,0,.45); }
    100% { text-shadow: 0 0 0 rgba(244,180,0,0); }
}

/* =========================================================
   ENCABEZADOS DE SECCIÓN Y HOME
   ========================================================= */

.pa-cotizador-header,
.pa-cotizador-home-header {
    width: 100%;
    margin: 0;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 22px;
    background: var(--pa-card);
    border: 1px solid var(--pa-border);
    border-radius: var(--pa-radius);
    box-shadow: var(--pa-shadow);
    box-sizing: border-box;
}

.pa-cotizador-home-header {
    margin-bottom: 20px;
}

.pa-cotizador-header {
    justify-content: space-between;
    text-align: left;
    margin-bottom: 15px;
}

.pa-cotizador-header-info {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 22px;
}

.pa-cotizador-header-info > div:last-child {
    min-width: 0;
}

.pa-cotizador-header-icon,
.pa-cotizador-home-header-icon {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pa-yellow);
    font-size: 38px;
}

.pa-cotizador-header-icon {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
    font-size: 36px;
}

.pa-cotizador-header-back{
    width:36px;
    height:36px;
    flex:0 0 36px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    border:1px solid var(--pa-border);
    border-radius:50%;
    background:transparent;
    color:var(--pa-text);
    cursor:pointer;
}

.pa-cotizador-header-back i{
    font-size:16px;
}

.pa-cotizador-header-back:hover{
    border-color:var(--pa-yellow);
    color:var(--pa-yellow);
}


.pa-cotizador-title,
.pa-cotizador-home-header h1 {
    margin: 0 0 5px;
    color: var(--pa-white);
    font-size: 30px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -.3px;
}

.pa-cotizador-home-header h1 {
    margin-bottom: 4px;
    letter-spacing: normal;
}

.pa-cotizador-subtitle,
.pa-cotizador-home-header p {
    margin: 0;
    color: var(--pa-text);
    font-size: 15px;
    line-height: 1.35;
    font-weight: 500;
}

.pa-cotizador-home-header p {
    font-weight: normal;
}

.pa-cotizador-header-contador {
    flex: 0 0 auto;
    min-width: 145px;
    min-height: 54px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pa-yellow-soft);
    border: 1px solid var(--pa-yellow);
    color: var(--pa-yellow);
    border-radius: var(--pa-radius);
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
    box-sizing: border-box;
}

/* =========================================================
   TARJETAS DEL CARRITO
   ========================================================= */

#pa-cotizador-carro-items {
    width: 100%;
    margin: 0 0 24px;
}

.pa-cotizador-carro-item {
    position: relative;
    width: 100%;
    min-height: 122px;
    margin: 0 0 12px;
    padding: 14px;
    display: grid;
    grid-template-columns: 86px minmax(0,1fr) auto !important;
    grid-template-rows: auto 1fr auto;
    column-gap: 14px;
    row-gap: 6px;
    background: #252B34;
    border: 1px solid #414A57;
    border-radius: 10px;
    box-sizing: border-box;
    overflow: hidden;
}

.pa-cotizador-carro-categoria {
    grid-column: 1 !important;
    grid-row: 1 / 4 !important;
    width: 86px;
    min-height: 92px;
    padding: 8px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #34454D;
    border: 1px solid #52656E;
    border-radius: 9px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: inset 0 0 18px rgba(255,255,255,.025);
}

.pa-cotizador-carro-categoria i {
    color: #E7E7E7;
    font-size: 32px;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

.pa-cotizador-carro-categoria span {
    color: #FFFFFF;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1px;
}

.pa-cotizador-carro-item-info {
    grid-column: 2 !important;
    grid-row: 1 / 4 !important;
    min-width: 0;
    padding-right: 42px;
}

.pa-cotizador-carro-item-info h3 {
    margin: 0 0 5px;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
}

.pa-cotizador-carro-item-info p {
    margin: 0;
    color: #D0D5D8;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 500;
}

.pa-cotizador-carro-item-info > p:first-of-type {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 7px;
    color: var(--pa-yellow) !important;
    font-size: 12px !important;
    font-weight: 700;
}

.pa-cotizador-carro-item-info > p:first-of-type::before {
    content: "\f02b";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--pa-yellow);
    font-size: 12px;
}

.pa-cotizador-fecha-entrega {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px !important;
    color: #D0D5D8 !important;
    font-size: 12px !important;
    font-weight: 500;
}

.pa-cotizador-fecha-entrega i {
    color: #DDE3E6;
    font-size: 13px;
    width: 14px;
    text-align: center;
}

.pa-cotizador-carro-controles {
    position: absolute;
    right: 118px;
    bottom: 12px;
    min-height: 34px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: #1B2026;
    border: 1px solid #48525D;
    border-radius: 9px;
    box-shadow: 0 2px 5px rgba(0,0,0,.25);
}

.pa-cotizador-menos,
.pa-cotizador-mas {
    width: 28px;
    height: 28px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #596574;
    border-radius: 7px;
    background: #3F4652;
    color: #FFFFFF;
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
}

.pa-cotizador-menos:hover,
.pa-cotizador-mas:hover {
    background: #4B5562;
    color: var(--pa-yellow);
}

.pa-cotizador-cantidad {
    min-width: 24px;
    text-align: center;
    color: var(--pa-yellow);
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
}

.pa-cotizador-carro-item-total {
    position: absolute;
    right: 14px;
    bottom: 20px;
    min-width: 0;
    text-align: right;
    color: var(--pa-yellow);
    font-size: 18px;
    line-height: 1.1;
    font-weight: 800;
    text-shadow: 0 1px 2px rgba(0,0,0,.35);
}

.pa-cotizador-carro-item-eliminar {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    background: #E53935;
    color: transparent;
    font-size: 0;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,.2);
}

.pa-cotizador-carro-item-eliminar::before {
    content: "\f2ed";
    font-family: "Font Awesome 6 Free";
    font-size: 14px;
    font-weight: 900;
    color: #fff;
}

.pa-cotizador-carro-item-eliminar:hover {
    background: #F04440;
}

.pa-vehiculo-carro-detalle {
    margin: 2px 0 7px;
    color: #D2D6D9;
    font-size: 12px;
    line-height: 1.5;
}

.pa-vehiculo-carro-detalle div {
    margin: 0 0 4px;
}

.pa-vehiculo-carro-detalle div:last-child {
    margin-bottom: 0;
}

.pa-vehiculo-carro-detalle strong {
    color: #FFFFFF;
    font-weight: 700;
}

.pap-etiqueta-orina {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: max-content;
    max-width: 100%;
    margin: 7px 0;
    padding: 4px 9px;
    background: #E55353;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 6px;
    color: #FFFFFF;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .1px;
}

.pap-etiqueta-orina i {
    font-size: 10px;
}

.pa-cotizador-vacio {
    margin: 0;
    padding: 25px 15px;
    text-align: center;
    color: var(--pa-muted);
    font-size: 16px;
    line-height: 1.5;
}

/* =========================================================
   RESUMEN ECONÓMICO DEL CARRITO
   ========================================================= */

.pa-cotizador-total {
    width: 100%;
    margin: 0 0 24px;
    overflow: hidden;
    background: #3F4652;
    border-radius: 14px;
    box-shadow: var(--pa-shadow);
}

.pa-cotizador-total-linea {
    width: 100%;
    min-height: 36px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-sizing: border-box;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,.12);
}

.pa-cotizador-total-linea strong {
    flex-shrink: 0;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.pa-cotizador-total-linea:first-child {
    background: #3F4652;
}

.pa-cotizador-total-linea:first-child span:first-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pa-cotizador-total-linea:first-child span:first-child::before {
    content: "\f1ec";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #E4E8EB;
    font-size: 15px;
}

.pa-cotizador-descuento {
    position: relative;
    justify-content: space-between;
}

.pa-cotizador-descuento::before {
    content: "\f02b";
    flex: 0 0 auto;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #E4E8EB;
    font-size: 15px;
}

.pa-cotizador-descuento span:first-child {
    margin-right: auto;
}

.pa-cotizador-descuento strong {
    color: #20D05A;
}

.pa-cotizador-retiro-entrega {
    width: 100%;
    background: #1F232A;
}

.pa-cotizador-retiro-opcion {
    width: 100%;
    min-height: 36px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
}

.pa-cotizador-retiro-opcion label::before {
    content: "\f0d1";
    margin-right: 10px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #DDE3E6;
    font-size: 13px;
}

.pa-cotizador-retiro-opcion label i {
    margin: 0 11px 0 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.pa-cotizador-retiro-opcion input {
    width: 17px;
    height: 17px;
    margin: 0;
    flex: 0 0 17px;
    accent-color: var(--pa-yellow);
}

.pa-cotizador-retiro-opcion strong {
    flex-shrink: 0;
    margin-left: auto;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.pa-cotizador-total-final {
    min-height: 48px;
    background: var(--pa-yellow-soft);
    border-bottom: 0;
}

.pa-cotizador-total-final span {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
}

.pa-cotizador-total-final span::before {
    content: "\f51e";
    margin-right: 11px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--pa-yellow);
    font-size: 20px;
}

.pa-cotizador-total-final strong {
    color: var(--pa-yellow);
    font-size: 21px;
    font-weight: 900;
}

/* =========================================================
   AVISOS INFORMATIVOS
   ========================================================= */

.pa-cotizador-aviso {
    width: 100%;
    margin: 0 0 24px;
    padding: 12px 18px;
    background: var(--pa-bg);
    border-left: 4px solid var(--pa-red);
    border-right: 4px solid var(--pa-red);
    border-radius: 8px;
    color: var(--pa-text);
    font-size: 14px;
    line-height: 1.4;
    box-sizing: border-box;
}

.pa-cotizador-aviso-linea {
    margin: 0;
    color: var(--pa-text);
    font-size: 14px;
    line-height: 1.4;
}

.pa-cotizador-aviso-final {
    position: relative;
    width: 100%;
    margin: 0 0 24px;
    padding: 14px 18px 15px 96px;
    background: var(--pa-bg);
    border-left: 4px solid var(--pa-red);
    border-right: 4px solid var(--pa-red);
    border-top: 1px solid var(--pa-border);
    border-bottom: 1px solid var(--pa-border);
    border-radius: 10px;
    color: var(--pa-text);
    font-size: 14px;
    line-height: 1.4;
    box-sizing: border-box;
}

.pa-cotizador-aviso-final::before {
    content: "\f129";
    position: absolute;
    left: 28px;
    top: 18px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pa-red);
    border-radius: 50%;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--pa-white);
    font-size: 23px;
}

.pa-cotizador-aviso-final .pa-cotizador-aviso-linea:first-child {
    margin-bottom: 4px;
    color: var(--pa-red);
    font-size: 17px;
    font-weight: 800;
}

.pa-cotizador-aviso-final .pa-cotizador-aviso-linea strong {
    color: var(--pa-yellow);
    font-weight: 800;
}

/* =========================================================
   LISTADO Y TARJETAS DE PRODUCTOS / SERVICIOS
   ========================================================= */

.pa-cotizador-categoria {
    width: 100%;
    margin: 30px 0 10px;
}

.pa-cotizador-categoria h2 {
    margin: 0 0 10px;
    padding: 0 0 8px;
    border-bottom: 0;
    color: var(--pa-yellow);
    font-size: 21px;
    line-height: 1.25;
    font-weight: 800;
}

.pa-cotizador-producto {
    width: 100%;
    margin: 0 0 10px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: #3F4652;
    border: 1px solid var(--pa-border);
    border-radius: 10px;
}

.pa-cotizador-producto-info {
    min-width: 0;
    flex: 1;
}

.pa-cotizador-producto-info h3 {
    margin: 0 0 4px;
    color: var(--pa-text);
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
}

.pa-cotizador-precio {
    margin: 0;
    color: var(--pa-yellow);
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
}

.pa-producto-card {
    width: 100%;
    margin: 0 0 18px;
    padding: 18px;
    background: #3F4652;
    border: 0;
    border-radius: 12px;
    box-sizing: border-box;
}

.pa-producto-imagen {
    width: 100%;
    height: 250px;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--pa-black);
    border-radius: 10px;
}

.pa-producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.pa-producto-titulo {
    margin: 0 0 6px;
    color: var(--pa-white);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.pa-producto-descripcion {
    margin: 0 0 16px;
    color: var(--pa-muted);
    font-size: 14px;
    line-height: 1.45;
}

.pa-productos-variantes {
    width: 100%;
}

.pa-producto-tabla-header {
    width: 100%;
    margin: 0 0 6px;
    padding: 7px 4px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 10px;
    color: var(--pa-muted);
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid var(--pa-border);
    box-sizing: border-box;
}

.pa-producto-tabla-header span:nth-child(1) { grid-column: 1; text-align: center; }
.pa-producto-tabla-header span:nth-child(2) { grid-column: 2; text-align: center; }
.pa-producto-tabla-header span:nth-child(3) { grid-column: 4; text-align: center; }

.pa-producto-formato {
    width: 100%;
    min-height: 44px;
    margin: 0 0 6px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 0;
    box-sizing: border-box;
}

.pa-producto-formato-nombre {
    grid-column: 1;
    min-width: 0;
    padding: 9px 10px;
    background: #1F232A;
    border-radius: 8px;
    color: var(--pa-white);
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    justify-self: stretch;
}

.pa-producto-formato-precio {
    grid-column: 2;
    color: var(--pa-yellow);
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
    justify-self: center;
}

.pa-producto-contador {
    grid-column: 4;
    justify-self: center;
    min-height: 34px;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #1F232A;
    border: 1px solid #292929;
    border-radius: 8px;
}

.pa-producto-btn-menos,
.pa-producto-btn-mas {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 7px;
    background: #3F4652;
    color: var(--pa-white);
    font-size: 18px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
}

.pa-producto-btn-menos:hover,
.pa-producto-btn-mas:hover {
    background: #49515D;
    color: var(--pa-yellow);
}

.pa-producto-contador-valor {
    min-width: 30px;
    color: var(--pa-white);
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    text-align: center;
}

/* =========================================================
   MEDIDAS Y VISTA PREVIA
   ========================================================= */

.pa-cotizador-medidas {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0,1fr) 30px minmax(0,1fr);
    align-items: center;
    gap: 8px;
}

.pa-cotizador-medidas input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--pa-border);
    border-radius: 10px;
    background: var(--pa-bg);
    color: var(--pa-white);
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    outline: none;
    box-sizing: border-box;
    -moz-appearance: textfield;
}

.pa-cotizador-medidas input:focus {
    border-color: var(--pa-yellow);
}

.pa-cotizador-medidas input::placeholder {
    color: var(--pa-muted);
    font-weight: 500;
}

.pa-cotizador-medidas span {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pa-yellow);
    font-size: 20px;
    font-weight: 800;
}

.pa-cotizador-medidas input::-webkit-outer-spin-button,
.pa-cotizador-medidas input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#papPreview {
    width: 100%;
}

.pap-preview,
.pap-preview-vacio,
.pa-cotizador-preview {
    width: 100%;
    margin: 0 auto;
    padding: 24px;
    background: var(--pa-bg);
    border: 1px solid var(--pa-border);
    border-radius: var(--pa-radius);
    text-align: center;
    box-sizing: border-box;
}

.pap-preview-vacio,
.pa-cotizador-preview-vacio {
    color: var(--pa-muted);
    font-size: 14px;
    line-height: 1.4;
}

.pa-cotizador-preview-vacio p {
    margin: 0;
    color: var(--pa-muted);
    font-size: 14px;
    line-height: 1.5;
}

.pap-preview-titulo {
    color: var(--pa-white);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
}

.pap-preview-medidas,
.pap-preview-entrega,
.pap-preview-servicio {
    margin-top: 8px;
    color: var(--pa-text);
    font-size: 14px;
    line-height: 1.4;
}

.pap-preview-medidas strong,
.pap-preview-entrega strong,
.pap-preview-servicio strong {
    color: var(--pa-white);
    font-weight: 700;
}

.pap-preview-medidas span,
.pap-preview-servicio span {
    color: var(--pa-text);
}

.pap-preview-total {
    margin-top: 16px;
    color: var(--pa-yellow);
    font-size: 30px;
    line-height: 1.2;
    font-weight: 900;
}

/* =========================================================
   OPCIONES Y EXTRAS ESTÁNDAR
   ========================================================= */

.pa-cotizador-opciones {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.pa-cotizador-opcion {
    width: 100%;
    min-height: 110px;
    margin: 0;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #1F232A;
    border: 2px solid var(--pa-border);
    border-radius: 12px;
    color: var(--pa-white);
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    transition: background .2s, border-color .2s, color .2s;
}

.pa-cotizador-opcion:hover,
.pa-cotizador-opcion.seleccionado {
    background: #3F4652;
    border-color: var(--pa-yellow);
}

.pa-cotizador-opcion strong {
    color: var(--pa-white);
    font-size: 18px;
    line-height: 1.2;
    font-weight: 800;
}

.pa-cotizador-opcion span,
.pa-cotizador-opcion small {
    color: var(--pa-muted);
    font-size: 14px;
    line-height: 1.4;
}

.pa-cotizador-opcion small {
    font-size: 12px;
    line-height: 1.3;
}

.pa-cotizador-extras {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.pa-cotizador-extra {
    width: 100%;
    min-height: 75px;
    margin: 0;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #1F232A;
    border: 2px solid var(--pa-border);
    border-radius: 12px;
    color: var(--pa-white);
    text-align: left;
    cursor: pointer;
    box-sizing: border-box;
    transition: background .2s, border-color .2s, color .2s;
}

.pa-cotizador-extra:hover,
.pa-cotizador-extra.seleccionado {
    background: #3F4652;
    border-color: var(--pa-yellow);
}

.pa-cotizador-extra strong {
    color: var(--pa-white);
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
}

.pa-cotizador-extra .pa-cotizador-precio {
    flex-shrink: 0;
    margin: 0;
    color: var(--pa-yellow);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 800;
}

/* =========================================================
   SECCIÓN VEHÍCULOS
   ========================================================= */

.pa-cotizador-vehiculos .pa-cotizador-titulo-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 10px;
}

.pa-cotizador-vehiculos .pa-cotizador-titulo-toggle .pa-cotizador-seccion-titulo {
    margin: 0;
    padding: 0;
    line-height: 26px;
}

.pa-cotizador-vehiculos .pa-cotizador-opcion .pa-cotizador-precio {
    display: block;
    width: 100%;
    margin-top: auto;
    color: #F4B400;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
}

.pa-cotizador-vehiculos .pa-cotizador-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.pa-cotizador-vehiculos .pa-cotizador-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.pa-cotizador-vehiculos .pa-cotizador-slider {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #555;
    border: 2px solid #777;
    border-radius: 26px;
    transition: .2s;
}

.pa-cotizador-vehiculos .pa-cotizador-slider:before {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    left: 2px;
    top: 2px;
    background: #fff;
    border-radius: 50%;
    transition: .2s;
}

.pa-cotizador-vehiculos .pa-cotizador-switch input:checked + .pa-cotizador-slider {
    background: #F4B400;
    border-color: #F4B400;
}

.pa-cotizador-vehiculos .pa-cotizador-switch input:checked + .pa-cotizador-slider:before {
    transform: translateX(22px);
}

.pa-cotizador-vehiculos .pa-vehiculo-preview-contenido {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.pa-cotizador-vehiculos .pa-vehiculo-preview-vehiculo {
    margin-bottom: 14px;
    color: var(--pa-white);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.pa-cotizador-vehiculos .pa-vehiculo-preview-linea {
    margin-top: 8px;
    color: var(--pa-white);
    font-size: 16px;
    line-height: 1.35;
}

.pa-cotizador-vehiculos .pa-vehiculo-preview-linea strong {
    font-weight: 700;
}

.pa-cotizador-vehiculos .pa-vehiculo-preview-total {
    margin-top: 16px;
    color: #F4B400;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.pa-cotizador-vehiculos .pa-vehiculo-preview-contenido .pa-cotizador-agregar {
    margin-top: 14px;
}

/* =========================================================
   CARDS DE HOME COTIZADOR
   ========================================================= */

.pa-cotizador-home-servicios {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pa-cotizador-home-card {
    position: relative;
    width: 100%;
    min-height: 108px;
    padding: 12px 58px 12px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--pa-card);
    border: 1px solid var(--pa-border);
    border-radius: var(--pa-radius);
    box-shadow: var(--pa-shadow);
    box-sizing: border-box;
    text-decoration: none;
    transition: border-color .2s ease, transform .2s ease;
}

.pa-cotizador-home-card::after{
    content:"\f061";
    margin-left:18px;
    padding:0 4px;
    flex-shrink:0;
    font-family:"Font Awesome 6 Free";
    font-weight:900;
    font-size:16px;
    color:var(--pa-yellow);
}

.pa-cotizador-home-card:hover {
    border-color: var(--pa-yellow);
    transform: translateY(-1px);
}

.pa-cotizador-home-card-icon {
    width: 82px;
    height: 82px;
    flex: 0 0 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pa-bg);
    border-radius: 10px;
    box-sizing: border-box;
}

.pa-cotizador-home-card-icon i {
    color: var(--pa-yellow);
    font-size: 42px;
}

.pa-cotizador-home-card-content {
    min-width: 0;
    flex: 1;
}

.pa-cotizador-home-card-content h3 {
    margin: 0 0 5px;
    color: var(--pa-white);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.pa-cotizador-home-card-content p {
    margin: 0;
    color: var(--pa-muted);
    font-size: 13px;
    line-height: 1.4;
}

.pa-cotizador-home-card > i {
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pa-yellow);
    font-size: 17px;
}

.pa-cotizador-servicios .pa-card {
    position: relative;
    padding-right: 55px;
}

.pa-cotizador-servicios .pa-card::after {
    content: "\f054";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pa-yellow);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 17px;
}

.pa-cotizador-servicios .pa-card:last-child {
    grid-column: 1 / -1;
}

/* =========================================================
   BOTONES Y PIE DE PÁGINA
   ========================================================= */

.pa-cotizador-agregar{
    min-height:40px;
    padding:0 18px;
    border:1px solid var(--pa-yellow);
    border-radius:10px;
    background:var(--pa-bg);
    color:var(--pa-yellow);
    font-size:13px;
    font-weight:700;
    cursor:pointer;
    transition:background .2s,border-color .2s,color .2s;
}
.pa-cotizador-agregar:hover{
    background:var(--pa-yellow-soft);
    color:var(--pa-yellow);
    border-color:var(--pa-yellow);
}

.pa-cotizador-footer {
    width: 100%;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    box-sizing: border-box;
}

.pa-cotizador-footer > button,
.pa-cotizador-footer > a,
.pa-cotizador-back {
    flex: 1 1 0;
    width: 0;
    min-width: 0;
    max-width: none;
    min-height: 50px;
    margin: 0;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 9px;
    background: var(--pa-card);
    border: 1px solid var(--pa-border);
    color: var(--pa-white);
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.pa-cotizador-back:hover {
    background: var(--pa-bg);
    border-color: var(--pa-yellow);
    color: var(--pa-yellow);
}

.pa-cotizador-footer .pa-cotizador-next {
    border: 1px solid var(--pa-yellow);
    background: var(--pa-yellow);
    color: #000;
}

.pa-cotizador-footer .pa-cotizador-next:hover {
    background: var(--pa-yellow-hover);
}

.pa-cotizador-home-footer {
    width: 100%;
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.pa-cotizador-home-salir{
    min-height:46px;
    padding:0 24px;
    display:flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--pa-border);
    border-radius:10px;
    background:var(--pa-card);
    color:var(--pa-text);
    font-size:14px;
    font-weight:700;
    cursor:pointer;
}
.pa-cotizador-home-salir::before{
    content:"\f060";
    margin-right:12px;
    font-family:"Font Awesome 6 Free";
    font-weight:900;
    font-size:16px;
}
.pa-cotizador-home-salir:hover{
    border-color:var(--pa-yellow);
    color:var(--pa-yellow);
}

/* Iconos para botones principales */

.pa-cotizador-footer .pa-cotizador-back[data-screen="home"]::before {
    content: "\f067";
    margin-right: 14px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 24px;
}

.pa-cotizador-footer .pa-cotizador-back[data-page="servicios"]::before {
    content: "\f2f5";
    margin-right: 12px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 20px;
}

#pa-cotizador-vaciar::before {
    content: "\f2ed";
    margin-right: 14px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 22px;
}

#pa-cotizador-continuar::before {
    content: "\f02b";
    margin-right: 14px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 22px;
}

/* =========================================================
   SWEETALERT2 MODALES
   ========================================================= */

.swal2-popup {
    background: #3F4652 !important;
    color: var(--pa-white) !important;
}

.swal2-title,
.swal2-html-container {
    color: var(--pa-white) !important;
}

.swal2-actions {
    gap: 10px;
}

.swal2-confirm {
    min-height: 40px;
    padding: 0 18px;
    border: 0 !important;
    border-radius: 9px !important;
    background: var(--pa-yellow) !important;
    color: #000 !important;
    font-size: 14px !important;
    font-weight: 800 !important;
}

.swal2-confirm:hover {
    background: var(--pa-yellow-hover) !important;
}

.swal2-cancel {
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid var(--pa-border) !important;
    border-radius: 9px !important;
    background: #1F232A !important;
    color: var(--pa-white) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.swal2-cancel:hover {
    border-color: var(--pa-yellow) !important;
    color: var(--pa-yellow) !important;
}

.swal2-icon.swal2-warning,
.swal2-icon.swal2-info {
    color: var(--pa-yellow) !important;
    border-color: var(--pa-yellow) !important;
}

/* ==========================================
   COTIZADOR: TAMAÑOS Y ALTURAS FIJAS
   ========================================== */

/* Contenedor principal */
.pa-cotizador {
    width: 100%;
    box-sizing: border-box;
}

.pa-cotizador-home-header-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px; /* Tamaño de ícono fijo */
}

.pa-cotizador-home-header h1 {
    font-size: 26px; /* Título fijo */
    line-height: 1.2;
    margin: 0 0 5px 0;
}

.pa-cotizador-home-header p {
    font-size: 14px; /* Bajada fija */
    line-height: 1.4;
    margin: 0;
}

/* Grilla adaptable en columnas sin alterar tamaños */
.pa-cotizador-home-servicios {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas en pantallas grandes */
    gap: 16px;
}

/* Tarjeta con altura y textos fijos */
.pa-cotizador-home-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px;
    min-height: 100px; /* Altura mínima uniforme */
    text-decoration: none;
    box-sizing: border-box;
}

/* Contenedor del ícono */
.pa-cotizador-home-card-icon {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
}

.pa-cotizador-home-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Contenido del texto de la tarjeta */
.pa-cotizador-home-card-content {
    flex: 1;
}

.pa-cotizador-home-card-content h3 {
    font-size: 18px; /* Título tarjeta fijo */
    margin: 0 0 6px 0;
    line-height: 1.2;
}

.pa-cotizador-home-card-content p {
    font-size: 13px; /* Descripción tarjeta fija */
    margin: 0;
    line-height: 1.3;
}

/* Flecha decorativa */
.pa-cotizador-home-card > i {
    font-size: 16px; /* Ícono flecha fijo */
    flex: 0 0 auto;
}

/* Botón inferior */
.pa-cotizador-home-footer {
    margin-top: 25px;
    text-align: center;
}

.pa-cotizador-home-salir {
    font-size: 15px; /* Texto botón fijo */
    padding: 12px 24px;
    height: 48px; /* Altura fija de botón */
    box-sizing: border-box;
}

/* ==========================================
   DISEÑO RESPONSIVO
   - solo reorganiza la disposición
   ========================================== */

@media (max-width:768px){

    /* - servicios Home: 2 → 1 columna */
    .pa-cotizador-home-servicios{
        grid-template-columns:1fr;
    }

    /* - opciones: 2 → 1 columna */
    .pa-cotizador-opciones{
        grid-template-columns:1fr;
    }

    /* - extras: 2 → 1 columna */
    .pa-cotizador-extras{
        grid-template-columns:1fr;
    }

    /* - pie: fila → columna */
    .pa-cotizador-footer{
        flex-direction:column;
    }
    .pa-cotizador-footer > button,
    .pa-cotizador-footer > a{
        width:100%;
    }
}