/* ========================================
WRAPPER GENERAL
======================================== */
.pdl-carrusel-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
HEADER CON DIAMANTES
======================================== */
.pdl-header-container {
    margin-bottom: 40px;
}

.pdl-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
}

.pdl-diamond img {
    width: 40px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.pdl-title {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 25px;
    font-weight: 500;
    color: #CC2266;
    text-align: center;
    line-height: 1.2;
}

.pdl-title a {
    color: inherit;
    text-decoration: none;
    display: block;
    transition: opacity 0.3s ease;
}

.pdl-title a:hover {
    opacity: 0.8;
}

/* ========================================
CONTENEDOR DEL CARRUSEL
======================================== */
.pdl-swiper-container {
    position: relative;
    padding: 20px 0;
    margin: 0 30px;
    overflow: visible !important;
}

/* ========================================
CARRUSEL SWIPER
======================================== */
.pdl-swiper {
    position: relative;
    padding: 0;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

/* ========================================
TARJETAS DE MODELOS
======================================== */
.pdl-slide {
    padding: 10px;
}

.pdl-model-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.pdl-model-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pdl-model-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.pdl-model-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.pdl-model-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.pdl-model-card:hover .pdl-model-image img {
    transform: scale(1.05);
}

.pdl-placeholder {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
}

.pdl-placeholder-text {
    color: #999;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pdl-model-info {
    padding: 5px 15px; /* Reducido de 15px a 8px */
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 60px; /* Asegura un mínimo de altura */
}

.pdl-model-name {
    margin: 0;
    font-size: 16px;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
    line-height: 1.2; /* Reducido para acercar el texto */
    padding: 5px 0; /* Añadido para controlar el espacio */
}

/* ========================================
FLECHAS DEL CARRUSEL (FUERA DEL CARRUSEL)
======================================== */
.pdl-swiper-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 20px;
    height: 20px;
    border: none;
    background: transparent;
    color: #CB2465;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdl-swiper-button svg {
    width: 20px;
    height: 20px;
    color: #CB2465;
}

.pdl-swiper-button:hover svg {
    transform: scale(1.1);
}

.pdl-swiper-button-prev {
    left: -30px;
}

.pdl-swiper-button-next {
    right: -30px;
}

/* ========================================
RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .pdl-title {
        font-size: 22px;
    }
    
    .pdl-model-name {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .pdl-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .pdl-diamond img {
        width: 30px;
    }
    
    .pdl-title {
        font-size: 20px;
    }
    
    .pdl-swiper-button-prev {
        left: -25px;
    }
    
    .pdl-swiper-button-next {
        right: -25px;
    }
    
    .pdl-swiper-container {
        margin: 0 20px;
    }
}

@media (max-width: 480px) {
    .pdl-header {
        gap: 8px;
    }
    
    .pdl-diamond img {
        width: 25px;
    }
    
    .pdl-title {
        font-size: 18px;
    }
    
    .pdl-model-name {
        font-size: 14px;
    }
    
    .pdl-swiper-button {
        width: 18px;
        height: 18px;
    }
    
    .pdl-swiper-button svg {
        width: 18px;
        height: 18px;
    }
    
    .pdl-swiper-button-prev {
        left: -20px;
    }
    
    .pdl-swiper-button-next {
        right: -20px;
    }
}