 /* ===== LUXURY SELECT STYLING PARA FILTROS - DIOR DORADO ===== */
    .luxury-select-wrapper {
        position: relative;
        width: 100%;
        margin-bottom: 15px;
    }

    .luxury-select-wrapper::after {
        content: '';
        position: absolute;
        top: 50%;
        right: 20px;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 6px solid #d4af37;
        pointer-events: none;
        transition: transform 0.3s ease;
        z-index: 2;
    }

    .luxury-select-wrapper.active::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .luxury-select {
        display: none; /* Ocultamos el select nativo */
    }

    .luxury-select-trigger {
        font-family: "Cormorant Garamond", serif;
        font-weight: 500;
        letter-spacing: 0.5px;
        background: var(--bg-primary);
        border: 2px solid rgba(212, 175, 55, 0.3);
        color: var(--text-primary);
        padding: 14px 18px;
        border-radius: 12px;
        font-size: 1.05rem;
        transition: all 0.3s ease;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative;
        overflow: hidden;
        min-height: 52px;
        width: 100%;
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
    }

    .luxury-select-trigger::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 4px;
        background: #d4af37;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .luxury-select-trigger:hover::before {
        opacity: 0.5;
    }

    .luxury-select-trigger:hover {
        border-color: #d4af37;
        background: rgba(212, 175, 55, 0.03);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(212, 175, 55, 0.15);
    }

    .luxury-select-trigger .selected-value {
        flex: 1;
        font-family: "Cormorant Garamond", serif;
        color: #d4af37;
        font-weight: 600;
    }

    .luxury-select-trigger .arrow {
        color: #d4af37;
        transition: transform 0.3s ease;
        font-size: 0.9rem;
        margin-left: 12px;
    }

    .luxury-select-options {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border: 2px solid rgba(212, 175, 55, 0.3);
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        z-index: 1000;
        display: none;
        max-height: 350px;
        overflow-y: auto;
        margin-top: -2px;
        animation: fadeInUp 0.3s ease;
    }

    .luxury-select-options.show {
        display: block;
    }

    .luxury-option {
        padding: 14px 18px;
        font-family: "Inter", sans-serif;
        font-weight: 400;
        color: var(--text-primary);
        cursor: pointer;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
        display: flex;
        align-items: center;
        gap: 12px;
        position: relative;
    }

    .luxury-option:last-child {
        border-bottom: none;
    }

    .luxury-option:hover {
        background: rgba(212, 175, 55, 0.08);
        padding-left: 24px;
        color: #d4af37;
    }

    .luxury-option.selected {
        background: rgba(212, 175, 55, 0.12);
        color: #d4af37;
        font-weight: 500;
        padding-left: 24px;
    }

    .luxury-option::before {
        content: '';
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #d4af37;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .luxury-option.selected::before,
    .luxury-option:hover::before {
        opacity: 1;
    }

    /* Iconos en color dorado Dior para cada categoría */
    .luxury-option[data-value="footwear"] i { color: #d4af37; }
    .luxury-option[data-value="clothing"] i { color: #d4af37; }
    .luxury-option[data-value="lingerie"] i { color: #d4af37; }
    .luxury-option[data-value="jewelry"] i { color: #d4af37; }
    .luxury-option[data-value="perfumes"] i { color: #d4af37; }
    .luxury-option[data-value="bags_and_purses"] i { color: #d4af37; }
    .luxury-option[data-value="cosmetics"] i { color: #d4af37; }
    .luxury-option[data-value="skincare"] i { color: #d4af37; }
    .luxury-option[data-value="accessories"] i { color: #d4af37; }
    .luxury-option[data-value="sportswear"] i { color: #d4af37; }
    .luxury-option[data-value="others"] i { color: #d4af37; }

    /* Iconos para Condition en dorado Dior */
    .luxury-option[data-value="new"] i { color: #d4af37; }
    .luxury-option[data-value="used"] i { color: #d4af37; }
    .luxury-option[data-value="refurbished"] i { color: #d4af37; }
    .luxury-option[data-value="offer"] i { color: #d4af37; }
    .luxury-option[data-value="all"] i { color: #d4af37; }

    /* ===== ESTILOS PARA BOTONES DE CONDICIÓN ===== */
    .condition-buttons-container {
        width: 100%;
        margin-bottom: 15px;
    }

    .condition-title {
        font-family: "Cormorant Garamond", serif;
        font-weight: 600;
        color: var(--text-primary);
        margin-bottom: 10px;
        font-size: 1.1rem;
        letter-spacing: 0.5px;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .condition-title::before {
        content: '';
        width: 4px;
        height: 16px;
        background: #d4af37;
        border-radius: 2px;
    }

    .condition-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        background: var(--bg-primary);
        padding: 12px;
        border-radius: 12px;
        border: 2px solid rgba(212, 175, 55, 0.2);
        box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
    }

    .condition-btn {
        font-family: "Inter", sans-serif;
        font-weight: 500;
        font-size: 0.9rem;
        background: var(--bg-secondary);
        color: var(--text-primary);
        border: 2px solid rgba(212, 175, 55, 0.3);
        padding: 10px 16px;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 8px;
        white-space: nowrap;
        min-height: 42px;
        position: relative;
        overflow: hidden;
        outline: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .condition-btn:hover {
        background: rgba(212, 175, 55, 0.1);
        border-color: rgba(212, 175, 55, 0.5);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15);
    }

    .condition-btn.active {
        background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 100%);
        color: #000000;
        border-color: #d4af37;
        font-weight: 600;
        box-shadow: 
            0 4px 15px rgba(212, 175, 55, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    }

    .condition-btn.active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: #000000;
        opacity: 0.2;
        border-radius: 25px 25px 0 0;
    }

    .condition-btn i {
        font-size: 0.85rem;
        transition: all 0.3s ease;
    }

    .condition-btn.active i {
        color: #000000;
        transform: scale(1.1);
    }

    /* Efecto de brillo sutil en hover */
    .condition-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent
        );
        transition: left 0.5s ease;
    }

    .condition-btn:hover::after {
        left: 100%;
    }

/* -------------------------------------------------------------------*/

/* ============================================ */
/* BORDES REDONDEADOS PARA TODAS LAS IMÁGENES Y VIDEOS */
/* ============================================ */

/* Contenedor principal */
.main-media-container {
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Contenedor de archivos */
.archivos-container {
    border-radius: 18px;
    overflow: hidden;
}

/* Imágenes principales */
.main-image {
    border-radius: 18px;
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.main-image:hover {
    transform: scale(1.01);
}

/* Videos */
.video-container {
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.video-container video {
    border-radius: 18px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Miniaturas */
.miniatura {
    border-radius: 12px;
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.miniatura:hover {
    border-color: var(--accent-primary);
    transform: translateY(-3px);
}

.miniatura.active {
    border-color: var(--accent-primary);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}

.miniatura-video {
    border-radius: 12px;
    border: 3px solid transparent;
}

.miniatura-video.active {
    border-color: var(--accent-primary);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.4));
}

/* Video overlay (play button) también redondeado */
.video-overlay {
    border-radius: 18px;
}

/* Asegurar que los controles dentro del video respeten los bordes */
.media-controls-bottom {
    border-radius: 0 0 18px 18px;
    overflow: hidden;
}

/* Precio badge con bordes redondeados */
.image-price-badge {
    border-radius: 20px;
}

/* Botones de control redondeados */
.control-btn, .expand-btn {
    border-radius: 50%; /* Ya son circulares, pero por si acaso */
}


/* ------------------------------- lavalle -----------------------------------*/



    /* ===== ESTILOS PARA MODAL DE CONTACTO MEJORADO ===== */
    .contact-modal {
        position: fixed;
        z-index: 10000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-content {
        background-color: var(--bg-primary);
        margin: 5% auto;
        padding: 25px;
        border-radius: 12px;
        width: 90%;
        max-width: 500px;
        box-shadow: var(--shadow-large);
        border: 2px solid var(--border-color);
        position: relative;
        max-height: 90vh;
        overflow-y: auto;
    }

    .close {
        color: var(--text-secondary);
        float: right;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        position: absolute;
        top: 15px;
        right: 20px;
        transition: all 0.3s ease;
    }

    .close:hover {
        color: var(--accent-primary);
        transform: scale(1.1);
    }

    .modal-content h3 {
        margin-bottom: 20px;
        color: var(--text-primary);
        font-size: 1.5rem;
        border-bottom: 2px solid var(--accent-primary);
        padding-bottom: 10px;
    }

    .seller-info {
        display: flex;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid var(--border-color);
    }

    .seller-avatar {
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        border: 2px solid var(--accent-primary) !important;
        margin-right: 15px !important;
    }

    .seller-details h4 {
        margin: 0;
        color: var(--text-primary);
        font-size: 1.2rem;
    }

    .seller-details p {
        margin: 0;
        color: var(--text-secondary);
        font-size: 0.9rem;
    }

    .publication-info {
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 1px solid var(--border-color);
    }

    .publication-info h4 {
        margin-bottom: 10px;
        color: var(--text-primary);
        font-size: 1.1rem;
    }

    .publication-info p {
        margin-bottom: 8px;
        color: var(--text-secondary);
        line-height: 1.4;
    }

    .price {
        font-weight: bold;
        color: var(--accent-primary);
        font-size: 1.3em;
    }

    .contact-options {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }

    .contact-option {
        text-align: center;
        padding: 15px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .contact-option:hover {
        background: var(--accent-secondary);
        transform: translateY(-2px);
    }

    .btn-chat-internal, .btn-contact-form, .btn-email {
        width: 100%;
        padding: 12px 20px;
        border: none;
        border-radius: 8px;
        background: var(--accent-primary);
        color: white;
        font-size: 1em;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 600;
    }

    .btn-chat-internal:hover, .btn-contact-form:hover, .btn-email:hover {
        background: var(--accent-secondary);
        transform: translateY(-2px);
    }

    .option-description {
        font-size: 0.85em;
        color: var(--text-secondary);
        margin-top: 8px;
        line-height: 1.3;
    }

    .contact-form {
        margin-top: 20px;
        padding: 20px;
        background: var(--bg-secondary);
        border-radius: 8px;
        border: 1px solid var(--border-color);
    }

    .contact-form h4 {
        margin-bottom: 15px;
        color: var(--text-primary);
    }

    .contact-form textarea {
        width: 100%;
        height: 120px;
        padding: 12px;
        border: 2px solid var(--border-color);
        border-radius: 8px;
        resize: vertical;
        margin-bottom: 15px;
        font-family: inherit;
        font-size: 1em;
        background: var(--bg-primary);
        color: var(--text-primary);
        transition: all 0.3s ease;
        min-height: 120px;
    }

    .contact-form textarea:focus {
        border-color: var(--accent-primary);
        outline: none;
        box-shadow: 0 0 0 3px var(--accent-secondary);
    }

    .contact-form button {
        width: 100%;
        padding: 12px;
        background: var(--accent-primary);
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 1em;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .contact-form button:hover {
        background: var(--accent-secondary);
        transform: translateY(-2px);
    }

    /* Estados de seguimiento */
    .follow-status {
        margin-bottom: 15px;
        padding: 10px;
        border-radius: 6px;
        text-align: center;
        font-size: 0.9em;
    }

    .follow-status.mutual {
        background: var(--success-color);
        color: white;
    }

    .follow-status.not-mutual {
        background: var(--bg-secondary);
        color: var(--text-secondary);
        border: 1px solid var(--border-color);
    }

    /* Estilos para el botón de valoraciones************** */

.user-follow-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.followers-count {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 4px 8px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.followers-count i {
    color: var(--accent-primary);
    font-size: 0.8rem;
}

.followers-count .count {
    font-weight: 600;
    color: var(--text-primary);
}

/* Estilos para el botón de valoraciones con estrellas - REDUCIDO 50% Y SEMITRANSPARENTE */

/* Estilos para el botón de valoraciones con estrellas - BLANCO SEMITRANSPARENTE */
.seller-rating-container {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 10;
}
/* VERSIÓN CON MEJOR CONTRASTE */
.rating-btn {
    background: rgba(255, 255, 255, 0.9); /* CASI BLANCO PURO */
    color: #111111 !important;            /* NEGRO MUY OSCURO */
    border: 1px solid rgba(0, 0, 0, 0.1); /* BORDE SUTIL */
    border-radius: 14px;
    padding: 5px 8px;
    font-size: 0.6rem;
    font-weight: 800;                     /* EXTRANEGRITA */
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 2px;
    box-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.1),
        0 0 0 0.5px rgba(255, 255, 255, 0.8) inset;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transform: scale(0.7);
    transform-origin: left center;
}

.star-icon {
    color: #000000 !important;            /* ESTRELLAS NEGRAS */
    font-size: 0.6rem;
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.8);
}

.star-icon.empty {
    color: #666666 !important;            /* GRIS PARA VACÍAS */
    opacity: 0.8;
}

.rating-count {
    color: #000000 !important;
    font-weight: 800;
    background: rgba(0, 0, 0, 0.05);      /* FONDO NEGRO MUY TRANSPARENTE */
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.stars-display {
    display: flex;
    align-items: center;
    gap: 1px;
}

.star-icon {
    color: #d4af37 !important;             /* ORO DIOR EN LUGAR DE AMARILLO BRILLANTE */
    font-size: 0.65rem;
    text-shadow: 
        0 0 1px rgba(0, 0, 0, 0.1),        /* SOMBRA SUTIL */
        0 1px 1px rgba(255, 255, 255, 0.5); /* BRILLO PARA CONTRASTE */
}

.star-icon.empty {
    color: #aaaaaa !important;             /* GRIS CLARO PARA ESTRELLAS VACÍAS */
    opacity: 0.7;
}

.rating-count {
    font-size: 0.55rem;
    color: #333333 !important;             /* GRIS OSCURO PARA CONTRASTE */
    font-weight: 700;
    margin-left: 3px;
    background: rgba(212, 175, 55, 0.15);  /* FONDO DORADO MUY TRANSPARENTE */
    padding: 1px 4px;
    border-radius: 8px;
    transform: scale(0.85);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

    /* Modal de valoraciones */
    .rating-modal {
        position: fixed;
        z-index: 10000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .rating-modal-content {
        background: var(--bg-primary);
        padding: 30px;
        border-radius: 12px;
        width: 90%;
        max-width: 400px;
        border: 2px solid var(--accent-primary);
        box-shadow: var(--shadow-large);
    }

    .rating-modal-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
    }

    .rating-modal-header h3 {
        color: var(--text-primary);
        margin: 0;
    }

    .rating-stars-selector {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin: 25px 0;
    }

    .rating-star {
        font-size: 2.5rem;
        color: var(--border-color);
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .rating-star:hover,
    .rating-star.active {
        color: #ffd700;
        transform: scale(1.2);
    }

    .rating-comment {
        width: 100%;
        padding: 12px;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        background: var(--bg-secondary);
        color: var(--text-primary);
        resize: vertical;
        min-height: 80px;
        margin-bottom: 20px;
        font-family: inherit;
    }

    .rating-actions {
        display: flex;
        gap: 10px;
    }

    .rating-submit {
        flex: 1;
        padding: 12px;
        background: var(--accent-primary);
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-weight: 600;
        transition: all 0.3s ease;
    }

    .rating-submit:hover {
        background: var(--accent-secondary);
    }

    .rating-cancel {
        padding: 12px 20px;
        background: var(--bg-secondary);
        color: var(--text-primary);
        border: 1px solid var(--border-color);
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .rating-cancel:hover {
        background: var(--border-color);
    }

    /* ===== CONTENEDOR TEMA + EXPAND ===== */
.theme-expand-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-primary);
    padding: 10px 15px;
    border-radius: 50px;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(10px);
}

/* Botón de expandir global */
.global-expand-btn {
    background: var(--accent-primary);
    color: #000;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    box-shadow: var(--shadow-small);
}

.global-expand-btn:hover {
    background: var(--accent-secondary);
    transform: scale(1.1);
    box-shadow: var(--shadow-medium);
}

.global-expand-btn:active {
    transform: scale(0.95);
}



/* Asegurar que los botones estén alineados verticalmente */
.control-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Opcional: Ajuste fino para la alineación visual */
.sound-toggle, .view-details-btn {
    transform: translateY(2px); /* Ajuste sutil para perfeccionar la alineación */
}

/* BOTÓN DIOR PREMIUM - ESTILO ELEGANTE */
.control-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%);
    border: 2px solid #d4af37;
    border-radius: 50%;
    color: #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(15px);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

/* Efecto de shimmer dorado de Belinda & Carolina*/
.control-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.2),
        rgba(244, 228, 166, 0.4),
        rgba(212, 175, 55, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.control-btn:hover::before {
    left: 100%;
}

.control-btn:hover {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 100%);
    color: #000000;
    transform: scale(1.15) translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(212, 175, 55, 0.4),
        0 0 0 1px rgba(212, 175, 55, 0.3);
    border-color: #f4e4a6;
}

.control-btn:active {
    transform: scale(1.05) translateY(0);
    transition: all 0.1s ease;
}

/* Iconos con efecto de brillo */
.control-btn i {
    position: relative;
    z-index: 2;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: all 0.3s ease;
}

.control-btn:hover i {
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* BOTÓN EXPAND SUPERIOR DIOR */
.video-controls-top, .image-controls-top {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 30;
}

.expand-btn {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%);
    border: 2px solid #d4af37;
    border-radius: 50%;
    color: #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(15px);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.expand-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.2),
        rgba(244, 228, 166, 0.4),
        rgba(212, 175, 55, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.expand-btn:hover::before {
    left: 100%;
}

.expand-btn:hover {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 100%);
    color: #000000;
    transform: scale(1.15) translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(212, 175, 55, 0.4),
        0 0 0 1px rgba(212, 175, 55, 0.3);
    border-color: #f4e4a6;
}

/* BADGE DE PRECIO DIOR - ACTUALIZADO */
.image-price-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #d4af37;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 
        0 4px 20px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border: 2px solid #d4af37;
    min-width: 100px;
    text-align: center;
    white-space: nowrap;
    z-index: 30;
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    font-family: "Playfair Display", serif;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

.image-price-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.image-price-badge:hover::before {
    left: 100%;
}

.image-price-badge:hover {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 100%);
    color: #000000;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 10px 35px rgba(212, 175, 55, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border-color: #f4e4a6;
}

/* PLAY BUTTON DIOR ELEGANTE */
.play-button {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(248, 245, 245, 0.9) 0%, rgba(219, 210, 210, 0.9) 100%);
    border: 3px solid #d4af37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.play-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212, 175, 55, 0.2),
        rgba(244, 228, 166, 0.4),
        rgba(212, 175, 55, 0.2),
        transparent
    );
    transition: left 0.8s ease;
}

.play-button:hover::before {
    left: 100%;
}

.play-button:hover {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 100%);
    transform: scale(1.1);
    box-shadow: 
        0 12px 40px rgba(212, 175, 55, 0.6),
        0 0 0 2px rgba(212, 175, 55, 0.3);
    border-color: #f4e4a6;
}

.play-button i {
    color: #d4af37;
    font-size: 2rem;
    margin-left: 4px;
    transition: all 0.3s ease;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.7);
}

.play-button:hover i {
    color: #000000;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform: scale(1.1);
}

/* TEMA CLARO DIOR */
@media (prefers-color-scheme: light) {
    .control-btn, .expand-btn {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 248, 248, 0.95) 100%);
        border: 2px solid #d4af37;
        color: #d4af37;
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.15);
    }
    
    .control-btn:hover, .expand-btn:hover {
        background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 100%);
        color: #ffffff;
    }
    
    .image-price-badge {
        background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
        color: #d4af37;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .image-price-badge:hover {
        background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 100%);
        color: #ffffff;
    }
    
    .play-button {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 248, 248, 0.95) 100%);
    }
    
    .play-button:hover {
        background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 100%);
    }
}

/* RESPONSIVE DIOR ELEGANTE */
@media (max-width: 768px) {
    .media-controls-bottom {
        bottom: 10px;
        right: 15px;
        gap: 10px;
    }
    
    .video-controls-top, .image-controls-top {
        top: 15px;
        right: 15px;
    }
    
    .control-btn, .expand-btn {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
    
    .image-price-badge {
        bottom: 15px;
        left: 15px;
        padding: 10px 18px;
        font-size: 1.1rem;
        min-width: 90px;
    }
    
    .play-button {
        width: 70px;
        height: 70px;
    }
    
    .play-button i {
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .media-controls-bottom {
        bottom: 8px;
        right: 12px;
        gap: 8px;
    }
    
    .video-controls-top, .image-controls-top {
        top: 12px;
        right: 12px;
    }
    
    .control-btn, .expand-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .image-price-badge {
        bottom: 12px;
        left: 12px;
        padding: 8px 16px;
        font-size: 1rem;
        min-width: 85px;
        letter-spacing: 1px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 1.5rem;
    }
}

/* ANIMACIÓN DE PULSO SUTIL PARA BOTONES ACTIVOS */
@keyframes diorPulse {
    0% {
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    }
    50% {
        box-shadow: 0 4px 25px rgba(212, 175, 55, 0.5);
    }
    100% {
        box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
    }
}

.control-btn.active, .expand-btn.active {
    animation: diorPulse 2s ease-in-out infinite;
}

/* EFECTO DE BRILLO AL CARGAR */
@keyframes diorEntrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.control-btn, .expand-btn, .image-price-badge {
    animation: diorEntrance 0.6s ease-out;
}

/* ESTILOS ESPECÍFICOS PARA ICONOS */
.fa-volume-mute, .fa-volume-up, .fa-external-link-alt, .fa-expand {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.control-btn:hover .fa-volume-mute,
.control-btn:hover .fa-volume-up,
.control-btn:hover .fa-external-link-alt,
.expand-btn:hover .fa-expand {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

    /* Responsive */



    
   /* Responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
        max-height: 85vh;
    }
    
    .seller-info {
        flex-direction: column;
        text-align: center;
    }
    
    .seller-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .contact-option {
        padding: 12px;
    }

    .rating-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .seller-rating-container {
        bottom: 10px;
        left: 10px;
    }
    
    .contact-form textarea {
        height: 100px;
        min-height: 100px;
    }

    /* Responsive para theme-expand-container */
    .theme-expand-container {
        top: 15px;
        right: 15px;
        padding: 8px 12px;
    }
    
    .global-expand-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    /* Ajustar la duración del video para que no se solape */
    .video-duration {
        bottom: 10px;
        left: 10px;
    }
}

@media (max-width: 480px) {
    .rating-modal-content {
        padding: 20px;
        margin: 20px;
    }

    .rating-star {
        font-size: 2rem;
    }
    
    .seller-rating-container {
        bottom: 8px;
        left: 8px;
    }
    
    .modal-content {
        margin: 5% auto;
        max-height: 90vh;
    }

    /* Responsive para theme-expand-container */
    .theme-expand-container {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
    }
    
    .global-expand-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* Mejoras específicas para móviles en el modal de contacto */
@media (max-width: 768px) and (max-height: 800px) {
    .modal-content {
        margin: 2% auto;
        max-height: 96vh;
    }
    
    .contact-form textarea {
        height: 80px;
        min-height: 80px;
    }
}

/* Ajuste para temas oscuros */
@media (prefers-color-scheme: dark) {
    .premium-price-section {
        background: none;
    }
    
    .price-amount {
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }
}

/* Notificación de éxito */
.notification.success {
    background: var(--success-color);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001;
    box-shadow: var(--shadow-large);
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Estilos para vista expandida de galería */
.expanded-view .post-card {
    width: 100% !important;
    max-width: 500px !important;
    margin: 15px auto !important;
}

.expanded-container {
    max-width: 95% !important;
    padding: 0 10px !important;
}

.expanded-view {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 20px !important;
}

@media (min-width: 1200px) {
    .expanded-view .post-card {
        max-width: 600px !important;
    }
}

@media (max-width: 768px) {
    .expanded-view .post-card {
        max-width: 100% !important;
        margin: 10px 0 !important;
    }
}

/* ===== SECCIÓN DE PRECIO PREMIUM - ESTILO DIOR ===== */
.premium-price-section {
    margin: 15px 0 20px 0;
    padding: 0 15px;
    text-align: center;
    position: relative;
}

.premium-price-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    position: relative;
}

.price-currency {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-primary);
    letter-spacing: 1px;
    margin-top: -5px;
}

.price-amount {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 2px;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.price-decoration {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 5px;
}

.decoration-line {
    width: 20px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent-primary) 50%, 
        transparent 100%);
    position: relative;
}

.luxury-dot {
    width: 4px;
    height: 4px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: relative;
    animation: subtleGlow 2s ease-in-out infinite alternate;
}

@keyframes subtleGlow {
    0% {
        box-shadow: 0 0 5px rgba(201, 169, 110, 0.3);
    }
    100% {
        box-shadow: 0 0 8px rgba(201, 169, 110, 0.6);
    }
}

/* Opción de trueque */
.trade-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--accent-primary);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.trade-option:hover {
    background: rgba(201, 169, 110, 0.2);
    transform: translateY(-1px);
}

/* Efectos hover para toda la sección de precio */
.premium-price-section:hover .price-amount {
    color: var(--accent-primary);
    transition: color 0.3s ease;
}

.premium-price-section:hover .decoration-line {
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--accent-secondary) 50%, 
        transparent 100%);
}

/* ===== SOLO CAMBIO DE COLOR - BLANCO A DORADO DIOR ===== */
.contact-btn {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%) !important;
    border: 2px solid #d4af37 !important;
    color: #d4af37 !important;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2) !important;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 100%) !important;
    color: #000000 !important;
    border-color: #f4e4a6 !important;
}
/* ===== MOVER BOTONES MÁS A LA IZQUIERDA ===== */
.social-actions-column {
    margin-left: -10px !important;
    padding-left: 10px !important;
}

/* Para móviles pequeños, mover un poco más */
@media (max-width: 480px) {
    .social-actions-column {
        margin-left: -15px !important;
        padding-left: 15px !important;
    }
}

@media (max-width: 380px) {
    .social-actions-column {
        margin-left: -20px !important;
        padding-left: 20px !important;
    }
}

/* Estado activo para contacto */
.social-action .action-icon.active i.fa-envelope {
    color: #000000 !important;
}

/* ===== SOLUCIÓN AGRESIVA PARA MÓVIL ===== */
@media (max-width: 768px) {
    .social-actions-right {
        width: 100% !important;
        align-items: flex-start !important;
    }
    
    .social-actions-column {
        margin: 0 !important;
        padding: 0 !important;
        transform: translateX(-20px) !important;
        justify-content: flex-start !important;
    }
}

/* Fuerza la alineación a la izquierda */
.info-actions-container .social-actions-right {
    align-items: flex-start !important;
}

/* ===== NUEVOS ESTILOS PARA FILTROS ===== */
/* ===== NUEVOS ESTILOS PARA FILTROS ===== */
.filters-container {
    display: block;
    margin-bottom: 25px;
    padding: 0 10px;
}

.filter-group {
    width: 100%;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .filters-container {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== NUEVA ESTRUCTURA VERTICAL PARA FILTROS ===== */
.filters-main-container {
    margin-bottom: 25px;
    padding: 0 10px;
    width: 100%;
}

.filter-container-full {
    width: 100%;
    margin-bottom: 20px;
}

/* Ajustar para móviles */
@media (max-width: 768px) {
    .filters-main-container {
        margin-bottom: 20px;
        padding: 0 5px;
    }
    
    .filter-container-full {
        margin-bottom: 15px;
    }
}

/* Opcional: Asegurar que los botones de condición se ajusten bien */
.condition-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

@media (max-width: 480px) {
    .condition-buttons {
        justify-content: center;
    }
    
    .condition-btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }
}

/* ===== ESTILOS PARA FOTO DE PERFIL REDONDA Y PEQUEÑA ===== */

.avatar-container {
    position: relative;
    width: 45px;
    height: 45px;
    margin-right: 12px;
    flex-shrink: 0;
}

.avatar-img-small {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #d4af37 !important;
    display: block !important;
}

.avatar-placeholder-small {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.4)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px solid #d4af37 !important;
}

.avatar-placeholder-small i {
    color: #d4af37 !important;
    font-size: 1.2rem !important;
}

/* Para el avatar en el modal de contacto */
.seller-avatar {
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid #d4af37 !important;
    margin-right: 15px !important;
}

/* Regla CSS general para forzar redondeo si otras clases fallan */
img[class*="avatar"],
img[src*="avatar"],
img[src*="foto_perfil"] {
    border-radius: 50% !important;
    object-fit: cover !important;
}


    /* ESTILOS ESPECÍFICOS PARA ICONOS */
    .fa-volume-mute, .fa-volume-up, .fa-external-link-alt, .fa-expand {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }

    .control-btn:hover .fa-volume-mute,
    .control-btn:hover .fa-volume-up,
    .control-btn:hover .fa-external-link-alt,
    .expand-btn:hover .fa-expand {
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
    }




    /* ===== OCULTAR CONTADOR DE ARCHIVOS EN MÓVILES ===== */
    @media (max-width: 768px) {
        .contador-archivos {
            display: none !important;
        }
    }

    /* ===== OCULTAR BOTÓN EXPAND EN MÓVILES ===== */
    @media (max-width: 768px) {
        .theme-expand-container {
            display: none !important;
        }
    }
    /* ===== OCULTAR BOTÓN BUSCAR AMIGOS EN MÓVILES ===== */
@media (max-width: 768px) {
    .header-action-btn[href="buscar-usuarios.php"] {
        display: none !important;
    }
}
/* ============================================ */
/* SOLUCIÓN DEFINITIVA PARA BOTONES DE AUDIO Y VIEW DETAILS */
/* ============================================ */

/* CONTROLES INFERIORES - VERSIÓN CORREGIDA */
.media-controls-bottom {
    position: absolute;
    bottom: 15px !important;      /* Más espacio desde abajo */
    right: 20px !important;
    z-index: 100 !important;       /* Mayor z-index para estar encima */
    display: flex !important;
    gap: 12px !important;          /* Espacio adecuado entre botones */
    align-items: center !important;
    justify-content: flex-end !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: auto !important;
    overflow: visible !important;
}

/* BOTONES DE CONTROL - TAMAÑO RESTAURADO */
.control-btn {
    width: 48px !important;        /* Tamaño original */
    height: 48px !important;       /* Tamaño original */
    min-width: 48px !important;    /* Evita que se reduzca */
    min-height: 48px !important;   /* Evita que se reduzca */
    font-size: 1.1rem !important;  /* Tamaño de icono original */
    border-width: 2px !important;  /* Borde original */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
    z-index: 101 !important;       /* Por encima del contenedor */
}

/* ESPECÍFICAMENTE PARA EL BOTÓN DE AUDIO */
.sound-toggle {
    background: linear-gradient(135deg, rgba(246, 242, 242, 0.9), rgba(210, 205, 205, 0.9)) !important;
    border: 2px solid #d4af37 !important;
    color: #99780aff !important;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2) !important;
}

.sound-toggle:hover {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 100%) !important;
    color: #99780aff !important;
    border-color: #f4e4a6 !important;
}

/* BOTÓN VIEW DETAILS */
.view-details-btn {
    background: linear-gradient(135deg, rgba(245, 243, 243, 0.9), rgba(220, 213, 213, 0.9)) !important;
    border: 2px solid #d4af37 !important;
    color: #99780aff !important;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2) !important;
}

.view-details-btn:hover {
    background: linear-gradient(135deg, #d4af37 0%, #f4e4a6 100%) !important;
    color: #000000 !important;
    border-color: #f4e4a6 !important;
}

/* ============================================ */
/* BOTÓN EXPANDIR PARA IMÁGENES  */
/* ============================================ */

.image-controls-top {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 30;
}

/* Asegurar que los contenedores no oculten los botones */
.video-container, .archivos-container {
    position: relative !important;
    overflow: visible !important;
}

/* Responsive */
@media (max-width: 768px) {
    .media-controls-bottom {
        bottom: 12px !important;
        right: 15px !important;
        gap: 10px !important;
    }
    
    .control-btn {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        font-size: 1rem !important;
    }
    
    .image-controls-top, .video-controls-top {
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .media-controls-bottom {
        bottom: 10px !important;
        right: 12px !important;
        gap: 8px !important;
    }
    
    .control-btn {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        font-size: 0.9rem !important;
    }
    
    .image-controls-top, .video-controls-top {
        top: 12px;
        right: 12px;
    }
}

/* SOLUCIÓN RÁPIDA - Añadir al final del CSS */
.sound-toggle, .view-details-btn {
    vertical-align: middle !important;
    margin: 0 !important;
    position: relative !important;
    top: 0 !important;
    transform: none !important;
}

/* Si usas iconos, asegurar su alineación */
.sound-toggle i, .view-details-btn i {
    line-height: 1 !important;
    vertical-align: middle !important;
}

/* Contenedor común si no existe */
.media-controls-common {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}
/* TAMAÑO MÁS PEQUEÑO - RECOMENDADO */
.sound-toggle, .view-details-btn {
    /* Tamaño reducido */
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    
    /* Icono más pequeño */
    font-size: 1rem !important;
    
    /* Mantener alineación */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    
    /* Transición suave para hover */
    transition: all 0.2s ease !important;
}

/* Efecto hover proporcional */
.sound-toggle:hover, .view-details-btn:hover {
    transform: scale(1.05) !important;
}
/* ============================================ */
/* FORZAR TAMAÑO PEQUEÑO - AÑADIR AL FINAL      */
/* ============================================ */
/* ============================================ */
/* TAMAÑO 40px - AÑADIR AL FINAL DEL ARCHIVO    */
/* ============================================ */

/* Forzar tamaño 40px para ambos botones */
body .sound-toggle.control-btn,
body .view-details-btn.control-btn,
body .image-controls-top .sound-toggle,
body .image-controls-top .view-details-btn,
body .media-controls-bottom .sound-toggle,
body .media-controls-bottom .view-details-btn,
html body .sound-toggle,
html body .view-details-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    font-size: 0.95rem !important;
    border-width: 1.5px !important;
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.15) !important;
}

/* Asegurar que los iconos estén centrados */
body .sound-toggle.control-btn i,
body .view-details-btn.control-btn i,
body .sound-toggle.control-btn svg,
body .view-details-btn.control-btn svg {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
}

/* Para hover - efecto sutil de aumento */
body .sound-toggle.control-btn:hover,
body .view-details-btn.control-btn:hover {
    transform: scale(1.08) !important;
    transition: transform 0.2s ease !important;
}

/* Responsive - aún más pequeños en móviles */
@media (max-width: 768px) {
    body .sound-toggle.control-btn,
    body .view-details-btn.control-btn {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    body .sound-toggle.control-btn,
    body .view-details-btn.control-btn {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        font-size: 0.85rem !important;
    }
}

/* Si hay algún contenedor que esté forzando tamaño, sobreescribirlo */
div:has(> .sound-toggle),
div:has(> .view-details-btn),
[class*="control"]:has(.sound-toggle),
[class*="control"]:has(.view-details-btn) {
    min-height: 40px !important;
    height: 40px !important;
}

/* ELIMINAR PSEUDO-ELEMENTOS QUE CREAN CAPAS EXTRA */
.sound-toggle::before,
.sound-toggle::after,
.view-details-btn::before,
.view-details-btn::after,
.control-btn::before,
.control-btn::after {
    display: none !important;
    content: none !important;
    background: none !important;
    box-shadow: none !important;
}

/* Asegurar que no hay fondos en capas padres */
.image-controls-top,
.media-controls-bottom,
.video-container,
.archivos-container {
    background: none !important;
    box-shadow: none !important;
}
/* ============================================
   ELEGANT SERIF DESIGN - Líneas Finas con Azules Claros para Light Mode
   ============================================ */

/* Variables para consistencia */
.filter-container-full {
    --serif-font: 'Cormorant Garamond', 'Times New Roman', serif;
    --sans-font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Modo oscuro (default) */
.filter-container-full {
    --line-color: rgba(255, 255, 255, 0.1);
    --accent-line-color: rgba(218, 112, 214, 0.2);
    --hover-line-color: rgba(173, 216, 230, 0.3);
    --active-line-color: rgba(70, 130, 180, 0.4);
}

/* Modo claro - Paleta de azules claros elegantes */
[data-theme="light"] .filter-container-full,
.light-theme .filter-container-full,
.theme-light .filter-container-full {
    --line-color: rgba(70, 130, 180, 0.15); /* Steel blue muy sutil */
    --accent-line-color: rgba(135, 206, 235, 0.3); /* Sky blue */
    --hover-line-color: rgba(173, 216, 230, 0.4); /* Light blue */
    --active-line-color: rgba(100, 149, 237, 0.5); /* Cornflower blue */
}

/* CONTENEDOR PRINCIPAL - MARCO DELICADO */
.filter-container-full {
    background: transparent;
    border: none;
    padding: 25px 0;
    margin-bottom: 30px;
    position: relative;
}

/* Línea decorativa superior e inferior */
.filter-container-full::before,
.filter-container-full::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--line-color) 15%, 
        var(--accent-line-color) 50%, 
        var(--line-color) 85%, 
        transparent 100%);
}

.filter-container-full::before {
    top: 0;
}

.filter-container-full::after {
    bottom: 0;
}

/* TÍTULO ELEGANTE CON LÍNEA SUBRAYADA */
.filter-container-full .form-group {
    margin-bottom: 30px;
    position: relative;
}

.filter-container-full .form-group label {
    font-family: var(--serif-font);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: block;
    letter-spacing: 0.5px;
    text-transform: none;
    position: relative;
    padding-bottom: 12px;
}

/* Línea subrayada sutil */
.filter-container-full .form-group label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--accent-line-color);
    transition: width 0.4s ease;
}

.filter-container-full .form-group:hover label::after {
    width: 80px;
}

/* DROPDOWN - ESTILO ELEGANTE MINIMALISTA */
#categoria.form-control {
    width: 100%;
    padding: 12px 0;
    font-family: var(--serif-font);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line-color);
    cursor: pointer;
    appearance: none;
    transition: var(--transition);
    position: relative;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234685ED' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 14px;
    padding-right: 25px;
    letter-spacing: 0.3px;
}

#categoria.form-control:hover {
    border-bottom-color: var(--hover-line-color);
    padding-left: 10px;
}

#categoria.form-control:focus {
    outline: none;
    border-bottom-color: var(--active-line-color);
    border-bottom-width: 1.5px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232D8CFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

/* Modo claro: ajustar color del ícono del dropdown */
[data-theme="light"] #categoria.form-control,
.light-theme #categoria.form-control,
.theme-light #categoria.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2375B0FF' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

[data-theme="light"] #categoria.form-control:focus,
.light-theme #categoria.form-control:focus,
.theme-light #categoria.form-control:focus {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234685ED' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

/* OPCIONES DEL DROPDOWN */
#categoria.form-control option {
    background: var(--bg-primary);
    color: var(--text-primary);
    padding: 10px 15px;
    font-family: var(--serif-font);
    font-size: 1rem;
    font-weight: 400;
}

#categoria.form-control option:hover {
    background: var(--bg-secondary);
}

#categoria.form-control option:checked {
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-style: italic;
}

/* CONTENEDOR DE BOTONES - DISEÑO DE LÍNEAS FINAS */
.condition-buttons-container {
    margin-top: 35px;
    padding: 25px 0;
    position: relative;
    background: transparent;
    border: none;
}

/* Líneas verticales decorativas */
.condition-buttons-container::before,
.condition-buttons-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        var(--line-color) 15%, 
        transparent 30%, 
        transparent 70%, 
        var(--line-color) 85%, 
        transparent 100%);
}

.condition-buttons-container::before {
    left: 15%;
}

.condition-buttons-container::after {
    right: 15%;
}

.condition-title {
    font-family: var(--serif-font);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 25px;
    display: block;
    text-align: center;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
}

/* Línea central decorativa */
.condition-title::before,
.condition-title::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--line-color);
    transform: translateY(-50%);
}

.condition-title::before {
    right: calc(50% + 70px);
}

.condition-title::after {
    left: calc(50% + 70px);
}

/* CONTENEDOR DE BOTONES - DISPOSICIÓN ELEGANTE */
.condition-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

/* BOTONES - ESTILO DE LÍNEAS FINAS CON AZULES CLAROS PARA LIGHT MODE */
.condition-btn {
    flex: 0 1 auto;
    min-width: 110px;
    padding: 10px 20px;
    font-family: var(--sans-font);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--line-color);
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

/* Efecto de línea inferior al hover */
.condition-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--hover-line-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.condition-btn:hover {
    color: var(--text-primary);
    border-color: var(--hover-line-color);
    padding-top: 9px;
    padding-bottom: 11px;
}

.condition-btn:hover::after {
    width: 80%;
}

/* BOTÓN ACTIVO - LÍNEA COMPLETA */
.condition-btn.active {
    color: var(--text-primary);
    border-color: var(--active-line-color);
    background: transparent;
    font-weight: 400;
}

.condition-btn.active::after {
    width: 100%;
    background: var(--active-line-color);
    height: 1.5px;
}

/* ICONOS MUY SUTILES */
.condition-btn i {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition);
}

.condition-btn:hover i {
    opacity: 1;
    transform: translateY(-1px);
}

.condition-btn.active i {
    opacity: 1;
}

/* COLORES AZULES CLAROS ESPECÍFICOS PARA CADA BOTÓN EN LIGHT MODE */
[data-theme="light"] .condition-btn,
.light-theme .condition-btn,
.theme-light .condition-btn {
    border-color: rgba(173, 216, 230, 0.3); /* Light blue */
    color: #555;
}

[data-theme="light"] .condition-btn:hover,
.light-theme .condition-btn:hover,
.theme-light .condition-btn:hover {
    border-color: rgba(135, 206, 250, 0.5); /* Light sky blue */
    color: #333;
}

[data-theme="light"] .condition-btn.active,
.light-theme .condition-btn.active,
.theme-light .condition-btn.active {
    border-color: rgba(100, 149, 237, 0.6); /* Cornflower blue */
    color: #222;
}

[data-theme="light"] .condition-btn.active::after,
.light-theme .condition-btn.active::after,
.theme-light .condition-btn.active::after {
    background: rgba(100, 149, 237, 0.6);
}

/* Variaciones sutiles por botón en light mode */
[data-theme="light"] .condition-btn[data-value="all"],
.light-theme .condition-btn[data-value="all"],
.theme-light .condition-btn[data-value="all"] {
    border-color: rgba(240, 248, 255, 0.4); /* Alice blue */
}

[data-theme="light"] .condition-btn[data-value="promo"],
.light-theme .condition-btn[data-value="promo"],
.theme-light .condition-btn[data-value="promo"] {
    border-color: rgba(176, 224, 230, 0.4); /* Powder blue */
}

[data-theme="light"] .condition-btn[data-value="bonus"],
.light-theme .condition-btn[data-value="bonus"],
.theme-light .condition-btn[data-value="bonus"] {
    border-color: rgba(175, 238, 238, 0.4); /* Pale turquoise */
}

[data-theme="light"] .condition-btn[data-value="offer"],
.light-theme .condition-btn[data-value="offer"],
.theme-light .condition-btn[data-value="offer"] {
    border-color: rgba(173, 216, 230, 0.4); /* Light blue */
}

[data-theme="light"] .condition-btn[data-value="discount"],
.light-theme .condition-btn[data-value="discount"],
.theme-light .condition-btn[data-value="discount"] {
    border-color: rgba(176, 196, 222, 0.4); /* Light steel blue */
}

/* Colores para dark mode (más sutiles) */
[data-theme="dark"] .condition-btn[data-value="all"],
.dark-theme .condition-btn[data-value="all"] {
    border-color: rgba(128, 128, 128, 0.3);
}

[data-theme="dark"] .condition-btn[data-value="all"]:hover,
.dark-theme .condition-btn[data-value="all"]:hover {
    border-color: rgba(128, 128, 128, 0.5);
}

[data-theme="dark"] .condition-btn[data-value="all"].active,
.dark-theme .condition-btn[data-value="all"].active {
    border-color: rgba(128, 128, 128, 0.7);
}

[data-theme="dark"] .condition-btn[data-value="all"].active::after,
.dark-theme .condition-btn[data-value="all"].active::after {
    background: rgba(128, 128, 128, 0.7);
}

/* RESPONSIVE ELEGANTE */
@media (max-width: 1024px) {
    .filter-container-full {
        padding: 20px 0;
        margin-bottom: 25px;
    }
    
    .filter-container-full .form-group label {
        font-size: 1.2rem;
    }
    
    .condition-buttons-container::before,
    .condition-buttons-container::after {
        display: none;
    }
    
    .condition-title::before,
    .condition-title::after {
        width: 20px;
    }
    
    .condition-title::before {
        right: calc(50% + 50px);
    }
    
    .condition-title::after {
        left: calc(50% + 50px);
    }
}

@media (max-width: 768px) {
    .filter-container-full {
        padding: 15px 0;
    }
    
    .filter-container-full .form-group label {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .filter-container-full .form-group label::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    #categoria.form-control {
        text-align: center;
        background-position: center right 10px;
    }
    
    .condition-buttons-container {
        padding: 20px 0;
        margin-top: 25px;
    }
    
    .condition-title {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .condition-title::before,
    .condition-title::after {
        display: none;
    }
    
    .condition-buttons {
        gap: 6px;
    }
    
    .condition-btn {
        min-width: calc(50% - 12px);
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .condition-btn {
        min-width: 100%;
        margin-bottom: 4px;
    }
}

/* ANIMACIÓN DE APARICIÓN SUAVE */
@keyframes delicateAppear {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-container-full {
    animation: delicateAppear 0.6s ease-out;
}

/* ESTILO PARA ESTADOS DE FOCO CON LÍNEAS FINAS */
#categoria.form-control:focus,
.condition-btn:focus {
    outline: none;
}

#categoria.form-control:focus-visible,
.condition-btn:focus-visible {
    box-shadow: 0 0 0 1px var(--accent-line-color);
}