
/* ==========================================================
   GANA TU CAMPER — PACKS DE PAPELETAS
   Shortcode: [mtr_packs]

   1. Listado de packs
   2. Tarjetas
   3. Información y tipografía
   4. Precios
   5. Botones
   6. Pack destacado
   7. Adaptación a móviles
   ========================================================== */


/* ==========================================================
   1. LISTADO DE PACKS
   ========================================================== */

.mtr-packs-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}


/* ==========================================================
   2. TARJETAS
   ========================================================== */

.mtr-pack-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    padding: 15px 28px;

    background: #ffffff;
    border: 1px solid #e1d8c7;
    border-radius: 3px;
}


/* ==========================================================
   3. INFORMACIÓN Y TIPOGRAFÍA
   ========================================================== */

.mtr-pack-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Nombre del pack */
.mtr-pack-name {
    order: 1;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;

    color: #b58b39;
}

/* Contenedor del número y la unidad */
.mtr-pack-quantity {
    order: 2;

    display: flex;
    align-items: baseline;
    gap: 8px;

    font-family: 'Fraunces', serif;
    font-weight: 500;
    line-height: 1.2;

    color: var(--e-global-color-text, #10281c);
}

/* Número de papeletas */
.mtr-pack-number {
    font-size: 38px;
    font-weight: 500;
    line-height: 1.1;
}

/* Palabra "papeletas" */
.mtr-pack-unit {
    font-size: 17px;
    font-weight: 500;
}

/* Texto informativo opcional */
.mtr-pack-note {
    order: 3;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;

    color: #777777;
}

/* Zona derecha: precio y botón */
.mtr-pack-right {
    display: flex;
    align-items: center;
    gap: 20px;
}


/* ==========================================================
   4. PRECIOS
   ========================================================== */

.mtr-pack-prices {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

/* Precio anterior tachado */
.mtr-pack-old-price {
    font-size: 14px;
    color: #888888;
}

/* Precio actual */
.mtr-pack-price {
    font-size: 20px;
    font-weight: 700;
    color: #10281c;
    white-space: nowrap;
}


/* ==========================================================
   5. BOTÓN ELEGIR
   ========================================================== */

.mtr-pack-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 18px;

    background: var(--e-global-color-accent, #dfb257);
    color: var(--e-global-color-primary, #10281c) !important;

    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;

    border-radius: 999px;
    white-space: nowrap;
    text-decoration: none !important;

    transition: background-color 0.2s ease,
                color 0.2s ease;
}

/* Botón al pasar el ratón */
.mtr-pack-button:hover {
    background: #10281c;
    color: #ffffff !important;
}


/* ==========================================================
   6. PACK DESTACADO
   ========================================================== */

/* Tarjeta destacada */
.mtr-pack-card.mtr-pack-featured {
    background: #dfb257;
    border: 2px solid #dfb257;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.30);
}

/* Distintivo configurable */
.mtr-pack-badge {
    position: absolute;
    top: -13px;
    left: 24px;
    z-index: 2;

    display: inline-block;
    padding: 6px 15px;

    background: #000000;
    color: #dfb257;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;

    border-radius: 20px;
    white-space: nowrap;
}

/* Nombre del pack destacado */
.mtr-pack-featured .mtr-pack-name {
    color: #19211e;
}

/* Texto informativo del pack destacado */
.mtr-pack-featured .mtr-pack-note {
    color: #493916;
}

/* Botón del pack destacado */
.mtr-pack-featured .mtr-pack-button {
    background: #19211e;
    color: #ffffff !important;
}

/* Botón destacado al pasar el ratón */
.mtr-pack-featured .mtr-pack-button:hover {
    background: #d2b069;
    color: #19211e !important;
}


/* ==========================================================
   7. ADAPTACIÓN A MÓVILES
   ========================================================== */

@media (max-width: 600px) {

    .mtr-pack-card {
        padding: 18px 15px;
        gap: 10px;
    }

    .mtr-pack-number {
        font-size: 30px;
    }

    .mtr-pack-unit {
        font-size: 14px;
    }

    .mtr-pack-name {
        font-size: 11px;
    }

    .mtr-pack-note {
        font-size: 11px;
    }

    .mtr-pack-right {
        gap: 10px;
    }

    .mtr-pack-price {
        font-size: 17px;
    }

    .mtr-pack-button {
        padding: 10px 13px;
        font-size: 11px;
    }

}
