/* Estilos Premium para Tarjetas de Reserva (Retrato y Estudio) */

:root {
    --cpbc-primary: #1a1a1a;
    --cpbc-primary-hover: #333333;
    --cpbc-border: #e2e8f0;
    --cpbc-bg: #ffffff;
    --cpbc-text-main: #1e293b;
    --cpbc-text-muted: #64748b;
    --cpbc-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --cpbc-radius: 16px;
    --cpbc-accent-green: #10b981;
}

/* Contenedor del Grid */
.cpbc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin: 40px 0;
    width: 100%;
    box-sizing: border-box;
}

/* Tarjeta individual */
.cpbc-card-item {
    background: var(--cpbc-bg);
    border: 1px solid var(--cpbc-border);
    border-radius: var(--cpbc-radius);
    overflow: hidden;
    box-shadow: var(--cpbc-shadow);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.cpbc-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1), 0 0 1px 1px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

/* Contenedor de Imagen */
.cpbc-card-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 Aspect Ratio */
    background: #f8fafc;
    overflow: hidden;
}

.cpbc-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cpbc-card-item:hover .cpbc-card-img {
    transform: scale(1.06);
}

/* Cuerpo de la tarjeta */
.cpbc-card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cpbc-card-title {
    margin: 0 0 16px 0;
    font-size: 22px;
    font-weight: 700;
    color: var(--cpbc-text-main);
    line-height: 1.3;
    font-family: inherit;
    letter-spacing: -0.02em;
}

.cpbc-card-desc {
    font-size: 14.5px;
    color: var(--cpbc-text-muted);
    line-height: 1.7;
    margin: 0 0 25px 0;
    flex-grow: 1;
}

/* Listas ordenadas/desordenadas dentro de la descripción */
.cpbc-card-desc ul {
    margin: 12px 0;
    padding-left: 20px;
    list-style-type: square;
}

.cpbc-card-desc li {
    margin-bottom: 8px;
}

.cpbc-card-desc li:last-child {
    margin-bottom: 0;
}

/* Pie de la tarjeta */
.cpbc-card-footer {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #f1f5f9;
    padding-top: 24px;
    margin-top: auto;
}

.cpbc-footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

/* Contenedor del precio */
.cpbc-price-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cpbc-price-original {
    font-size: 13px;
    text-decoration: line-through;
    color: #94a3b8;
    margin-bottom: 2px;
    font-weight: 500;
}

.cpbc-price-current {
    font-size: 22px;
    font-weight: 800;
    color: var(--cpbc-text-main);
    letter-spacing: -0.01em;
}

/* Selector de modalidad de pago */
.cpbc-payment-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    width: 100%;
}

.cpbc-selector-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--cpbc-text-main);
    font-weight: 600;
    cursor: pointer;
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--cpbc-border);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.cpbc-selector-label:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.cpbc-selector-label input[type="radio"] {
    margin: 0;
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: var(--cpbc-primary);
}

.cpbc-payment-info-text {
    font-size: 13px;
    color: var(--cpbc-text-muted);
    margin-bottom: 15px;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 6px;
    border-left: 3px solid #64748b;
    box-sizing: border-box;
}

/* Botón de Reserva */
.cpbc-btn {
    background: var(--cpbc-primary);
    color: #ffffff !important;
    border: 1px solid var(--cpbc-primary);
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 100%;
    box-sizing: border-box;
}

.cpbc-btn:hover {
    background: var(--cpbc-primary-hover);
    border-color: var(--cpbc-primary-hover);
    transform: translateY(-1px);
}

/* Responsividad para móviles */
@media screen and (max-width: 768px) {
    .cpbc-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .cpbc-card-body {
        padding: 24px;
    }
}
