:root {
    --color-pink: #ff2f92;
    --color-pink-hover: #d6006e;
}

/* ======== GENERAL ======== */
body {
    background-color: #323232;
    color: #fff;
}

/* ======== HERO (imagen completa, texto superpuesto) ======== */
.plx-hero {
    border: 1px solid #262626;
    background-color: #141414;
}

.plx-hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.plx-hero-title {
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 12px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.plx-hero-text {
    color: #e2e2e2;
    font-size: 1rem;
    margin-bottom: 18px;
}

.plx-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.plx-btn-hero-primary {
    background-color: var(--color-pink);
    color: #fff;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 16px rgba(255, 47, 146, 0.35);
    transition: all 0.2s ease;
}

.plx-btn-hero-primary:hover {
    background-color: var(--color-pink-hover);
    color: #fff;
    transform: translateY(-2px);
}

.plx-btn-hero-secondary {
    background-color: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 8px;
    border: 1px solid #666;
    transition: all 0.2s ease;
}

.plx-btn-hero-secondary:hover {
    border-color: var(--color-pink);
    color: var(--color-pink);
}

.plx-hero .carousel-indicators {
    justify-content: flex-start;
    padding-left: 5%;
    margin-bottom: 14px;
}

.plx-hero .carousel-indicators [data-bs-target] {
    background-color: #999;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    opacity: 1;
}

.plx-hero .carousel-indicators .active {
    background-color: var(--color-pink);
    width: 22px;
    border-radius: 4px;
}

/* Estado sin banners cargados */
.plx-hero-empty {
    background-color: #141414;
    border: 1px solid #262626;
    padding: 60px 40px;
    text-align: center;
}

.plx-hero-empty .plx-hero-actions {
    justify-content: center;
}

@media (max-width: 768px) {
    .plx-hero-img {
        height: 260px;
    }
}

/* ======== TÍTULO CATÁLOGO ======== */
.plx-catalogo-title {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
    border-bottom: 3px solid var(--color-pink);
    padding-bottom: 5px;
}

/* ======== PILLS DE CATEGORÍA ======== */
.plx-pills-wrap {
    flex: 1;
}

.plx-pill {
    background-color: #1c1c1c;
    color: #cfcfcf;
    border: 1px solid #2c2c2c;
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.plx-pill:hover {
    border-color: var(--color-pink);
    color: #fff;
}

.plx-pill.active {
    background-color: var(--color-pink);
    border-color: var(--color-pink);
    color: #fff;
}

.plx-orden-dropdown .btn {
    height: 38px;
    width: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
}

@media (min-width: 769px) {
    .plx-orden-dropdown {
        position: absolute;
        right: 0;
        top: 0;
    }
}

/* ======== TARJETAS DE PRODUCTO ======== */
.card {
    background-color: #161616;
    border: 1px solid #333;
    transition: transform 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}
.card:hover {
    transform: translateY(-5px);
    border-color: var(--color-pink);
    box-shadow: 0 10px 20px rgba(255, 47, 146, 0.2);
}

/* CONTENEDOR BLANCO ESTILO MERCADO LIBRE */
.card .carousel-item {
    background-color: #ffffff; /* Fondo blanco obligatorio */
}

.card-img-top {
    width: 100%;
    height: 250px;           /* Altura fija */
    object-fit: contain;     /* Centra sin deformar ni recortar */
    background-color: #ffffff;
    padding: 15px;           /* Espacio de respiración */
    display: block;
    margin: 0 auto;
}

/* Ajuste catálogo */
#catalogo-completo .card-img-top {
    height: 200px;
}

/* Iconos de carrusel en cards (negros para resaltar en blanco) */
.card .carousel-control-prev-icon,
.card .carousel-control-next-icon {
    filter: invert(1);
    background-color: rgba(0,0,0,0.2);
    border-radius: 50%;
}

/* ======== TEXTOS Y BOTONES ======== */
.card-title {
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.card-text.small.text-light {
    color: #ccc !important;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.plx-precio {
    color: var(--color-pink);
    font-weight: 800;
    font-size: 1.3rem;
}
.plx-cuotas-info {
    color: #9a9a9a;
    font-size: 0.8rem;
}

.plx-btn-card {
    background-color: var(--color-pink);
    color: #fff;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    width: 100%;
    padding: 8px 0;
    transition: all 0.2s ease;
}
.plx-btn-card:hover {
    background-color: var(--color-pink-hover);
    color: #fff;
}

.plx-category-label { letter-spacing: 1px; color: var(--color-pink); }
.plx-category-small { font-size: 0.75rem; color: #aaa; }

@media (max-width: 768px) {
    .card-img-top { height: 180px; }
}


/* =========================================
   FILTROS RESPONSIVE (Móvil)
   ========================================= */
@media (max-width: 768px) {
    .plx-pills-wrap {
        justify-content: center !important;
    }
    .plx-orden-dropdown {
        margin-top: 4px;
    }
}
