/* css/theme-light.css - TEMA BLANCO DIOR ELEGANTE PREMIUM */
:root {
    /* PALETA BLANCO DIOR EXCLUSIVA */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f8f8;
    --bg-glass: rgba(255, 255, 255, 0.95);
    --text-primary: #000000;
    --text-secondary: rgba(0, 0, 0, 0.7);
    --accent-primary: #d4af37;
    --accent-secondary: #b89b5f;
    --accent-light: #8b6b3d;
    --emerald-green: linear-gradient(135deg, #d4af37 0%, #f4e4a6 100%);
    --border-radius: 12px;
    --spacing-sm: 1.2rem;
    --spacing-md: 2rem;
    --shadow-light: 0 2px 20px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Playfair Display", "Cormorant Garamond", serif;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 50%, #ffffff 100%);
    color: var(--text-primary);
    line-height: 1.6;
    padding-bottom: env(safe-area-inset-bottom);
}

.container {
    max-width: 500px;
    margin: 50px auto;
    padding: 0;
    padding-bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    position: relative;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== FILTROS DIOR CLAROS ===== */
.filters-container {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
    flex-wrap: nowrap;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--accent-primary);
    overflow-x: auto;
    scrollbar-width: none;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.filters-container::-webkit-scrollbar {
    display: none;
}

.filter-group {
    flex: 1;
    min-width: 150px;
    position: relative;
}

.filter-select {
    width: 100%;
    padding: 12px 15px 12px 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--accent-primary);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%23d4af37' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
    box-shadow: var(--shadow-light);
    font-family: "Playfair Display", serif;
    letter-spacing: 0.5px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 1);
}

/* ===== GALERÍA DIOR CLARA ===== */
.gallery {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 auto;
    width: 100%;
}

.post-card {
    background: rgba(255, 255, 255, 0.95);
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    width: 100%;
    backdrop-filter: blur(10px);
}

/* HEADER DIOR CLARO */
.post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    position: relative;
}

.post-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.post-author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
    transition: var(--transition-smooth);
}

.post-author-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.author-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    flex-shrink: 0;
    font-size: 1.2rem;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.author-info {
    flex: 1;
    min-width: 0;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.author-location {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* BOTÓN DIOR PREMIUM CLARO */
.header-action-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.header-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.5s;
}

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

.header-action-btn:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

/* CONTENEDOR PRINCIPAL DIOR CLARO */
.main-media-container {
    position: relative;
    width: 100%;
    height: 70vh;
    background: #f8f8f8;
    overflow: hidden;
}

/* CONTADOR DIOR CLARO */
.contador-archivos {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-primary);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 40;
    border: 2px solid var(--accent-primary);
    box-shadow: var(--shadow-light);
}

/* MEDIA PRINCIPAL */
.main-image, .video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f8f8f8;
    border-radius: 0;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 25;
    border-radius: 0;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    backdrop-filter: blur(10px);
}

.play-button:hover {
    background: var(--accent-primary);
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.play-button i {
    color: var(--accent-primary);
    font-size: 1.8rem;
    margin-left: 5px;
    transition: var(--transition-smooth);
}

.play-button:hover i {
    color: #ffffff;
}

.video-duration {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-primary);
    padding: 6px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 25;
    border: 2px solid var(--accent-primary);
    backdrop-filter: blur(10px);
}

/* MINIATURAS DIOR CLARAS */
.miniaturas-container {
    display: flex;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    overflow-x: auto;
    scrollbar-width: none;
    backdrop-filter: blur(10px);
}

.miniaturas-container::-webkit-scrollbar {
    display: none;
}

.miniatura {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.miniatura:hover, .miniatura.active {
    border-color: var(--accent-primary);
    transform: scale(1.08);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

.miniatura-video {
    position: relative;
    border: 2px solid transparent;
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    transition: var(--transition-smooth);
}

.miniatura-video.active {
    border-color: var(--accent-primary);
    transform: scale(1.08);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.miniatura-duracion {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent-primary);
    padding: 3px 6px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 600;
    border: 1px solid var(--accent-primary);
}

/* CONTENEDOR DE INFORMACIÓN DIOR CLARO */
.info-actions-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    gap: 20px;
    backdrop-filter: blur(10px);
}

.product-info-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.status-category {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.conditions-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

/* BADGE DE PRECIO DIOR CLARO */
.price-badge {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: var(--shadow-medium);
    border: 2px solid rgba(255, 255, 255, 0.9);
    min-width: 100px;
    text-align: center;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: "Playfair Display", serif;
    letter-spacing: 1px;
}

.status-badge, .category-badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 2px solid var(--accent-primary);
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent-primary);
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    transition: var(--transition-smooth);
    font-family: "Playfair Display", serif;
}

.status-badge:hover, .category-badge:hover {
    background: var(--accent-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.condition-tag {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--accent-primary);
    border-radius: 20px;
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 700;
    transition: var(--transition-smooth);
    white-space: nowrap;
    flex-shrink: 0;
    font-family: "Playfair Display", serif;
}

.condition-tag:hover {
    background: var(--accent-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.condition-tag i {
    font-size: 0.7rem;
}

/* SECCIÓN SOCIAL DIOR CLARA */
.social-actions-right {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 20px;
}

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

/* BOTÓN FOLLOW DIOR CLARO */
.follow-btn {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.follow-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.5s;
}

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

.follow-btn.following {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #ffffff;
}

.follow-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.followers-count {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-align: center;
}

.social-actions-column {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

/* ACCIÓN SOCIAL DIOR CLARA */
.social-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 10px;
    border-radius: var(--border-radius);
    min-width: 60px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.social-action:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.15);
}

.action-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-primary);
    transition: var(--transition-smooth);
}

.action-count {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.social-action.active .action-icon {
    color: var(--accent-secondary);
    transform: scale(1.1);
}

/* BOTÓN CONTACT DIOR CLARO */
.contact-action {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
    margin-left: -3px;
    font-family: "Playfair Display", serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    border: 2px solid var(--accent-primary);
}

.contact-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.contact-action:hover::before {
    left: 100%;
}

.contact-action:hover {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* DESCRIPCIÓN DIOR CLARA */
.product-description-container {
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

.product-description {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-family: "Playfair Display", serif;
}

.product-description.collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    color: var(--accent-primary);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition-smooth);
    font-family: "Playfair Display", serif;
    letter-spacing: 0.5px;
}

.read-more-btn:hover {
    background: var(--accent-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* INFORMACIÓN INFERIOR DIOR CLARA */
.product-bottom-info {
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 2px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

.bottom-info-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.unified-tags-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

/* ETIQUETAS UNIFICADAS DIOR CLARAS */
.unified-tag {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--accent-primary);
    border-radius: 20px;
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-weight: 700;
    transition: var(--transition-smooth);
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    font-family: "Playfair Display", serif;
}

.unified-tag:hover {
    background: var(--accent-primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.unified-tag.status-available {
    border-color: #10b981;
    color: #10b981;
}

.unified-tag.status-available:hover {
    background: #10b981;
    color: #ffffff;
}

.unified-tag.status-reserved {
    border-color: #f59e0b;
    color: #f59e0b;
}

.unified-tag.status-reserved:hover {
    background: #f59e0b;
    color: #ffffff;
}

.unified-tag.status-sold {
    border-color: #ef4444;
    color: #ef4444;
}

.unified-tag.status-sold:hover {
    background: #ef4444;
    color: #ffffff;
}

.unified-tag.condition-new {
    border-color: #ef4444;
    color: #ef4444;
}

.unified-tag.condition-new:hover {
    background: #ef4444;
    color: #ffffff;
}

/* BOTONES DE CONTROL DE VIDEO DIOR CLAROS */
.sound-toggle, .expand-btn {
    position: absolute;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    backdrop-filter: blur(10px);
    font-size: 1rem;
    transition: var(--transition-smooth);
    text-decoration: none;
}

.sound-toggle:hover, .expand-btn:hover {
    background: var(--accent-primary);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.sound-toggle {
    right: 20px;
}

.expand-btn {
    right: 70px;
}

/* BADGE DE PRECIO EN IMAGEN DIOR CLARO */
.image-price-badge {
    position: absolute;
    bottom: 20px;
    right: 130px;
    background: #ffffff;
    color: #000000;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 900;
    font-size: 1.3rem;
    box-shadow: var(--shadow-medium);
    border: 3px solid var(--accent-primary);
    min-width: 100px;
    text-align: center;
    white-space: nowrap;
    z-index: 30;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    font-family: "Playfair Display", serif;
    letter-spacing: 1px;
}

.image-price-badge:hover {
    transform: scale(1.05);
    background: #f8f9fa;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

/* ===== MODALES DIOR CLAROS ===== */
.fullview-modal, .tracking-modal, .comments-modal, .likes-modal, .contact-modal, .message-modal, .login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.fullview-content, .tracking-content, .comments-content, .likes-content, .contact-content, .message-content, .login-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 500px;
    max-height: 90vh;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
}

.tracking-header, .comments-header, .likes-header, .contact-header, .message-header, .login-header {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    padding: 25px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.tracking-header h3, .comments-header h3, .likes-header h3, .contact-header h3, .message-header h3, .login-header h3 {
    color: #ffffff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-family: "Playfair Display", serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.close-tracking, .close-comments, .close-likes, .close-contact, .close-message, .close-login {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid #ffffff;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.close-tracking:hover, .close-comments:hover, .close-likes:hover, .close-contact:hover, .close-message:hover, .close-login:hover {
    background: #ffffff;
    color: var(--accent-primary);
    transform: scale(1.1);
}

.tracking-body, .comments-body, .likes-body, .contact-body, .message-body, .login-body {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: rgba(255, 255, 255, 0.95);
}

.no-comments, .no-likes, .no-tracking {
    text-align: center;
    color: var(--text-secondary);
    padding: 30px;
    font-style: italic;
    font-size: 1.1rem;
}

.no-photos {
    text-align: center;
    padding: var(--spacing-md);
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    margin: 25px;
    border: 2px solid rgba(212, 175, 55, 0.2);
    font-family: "Playfair Display", serif;
}

/* FORMULARIOS DIOR CLAROS */
.comment-input, .message-textarea {
    width: 100%;
    padding: 18px;
    border: 2px solid var(--accent-primary);
    border-radius: var(--border-radius);
    font-family: 'Playfair Display', serif;
    font-size: 16px !important;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    resize: vertical;
    min-height: 140px;
    line-height: 1.5;
    transition: var(--transition-smooth);
    -webkit-appearance: none;
    -moz-appearance: none;
    box-sizing: border-box;
    letter-spacing: 0.5px;
}

.comment-input:focus, .message-textarea:focus {
    outline: none;
    border-color: var(--accent-secondary);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 1);
}

.send-comment-btn, .send-message-btn, .login-btn {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%) !important;
    color: #ffffff !important;
    border: none;
    padding: 18px 25px !important;
    border-radius: var(--border-radius);
    margin-top: 20px;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    width: 100%;
    font-size: 16px !important;
    min-height: 55px;
    transition: var(--transition-smooth);
    box-sizing: border-box;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.send-comment-btn::before, .send-message-btn::before, .login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.send-comment-btn:hover::before, .send-message-btn:hover::before, .login-btn:hover::before {
    left: 100%;
}

.send-comment-btn:hover, .send-message-btn:hover, .login-btn:hover {
    background: linear-gradient(135deg, var(--accent-secondary) 0%, var(--accent-primary) 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.comments-form, .message-form, .login-form {
    padding: 25px;
    border-top: 2px solid rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.98);
    flex-shrink: 0;
}

/* ===== PAGINACIÓN DIOR CLARA ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    border: 2px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
}

.pagination a {
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--border-radius);
    border: 2px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition-smooth);
    font-family: "Playfair Display", serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pagination a:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

/* ===== NOTIFICACIONES DIOR CLARAS ===== */
.notification {
    position: fixed;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 15px;
    z-index: 10000;
    font-weight: 700;
    box-shadow: var(--shadow-medium);
    transform: translateX(100%);
    transition: var(--transition-bounce);
    max-width: 350px;
    font-family: "Playfair Display", serif;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
}

.notification.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

/* ===== BOTONES DE TEMA DIOR CLAROS ===== */
.theme-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--accent-primary);
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    color: var(--accent-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.theme-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.5s;
}

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

.theme-btn.active {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #ffffff;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

.theme-btn:hover {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* ===== MEDIA QUERIES DIOR CLARAS RESPONSIVE ===== */
@media (max-width: 768px) {
    .container {
        margin: 30px auto;
        border-radius: 15px;
    }

    .main-media-container {
        height: 60vh;
    }

    .filters-container {
        padding: 12px;
        gap: 8px;
    }

    .filter-group {
        min-width: 140px;
    }

    .filter-select {
        padding: 10px 12px 10px 35px;
        font-size: 0.85rem;
    }

    .post-header {
        padding: 12px;
        gap: 10px;
    }

    .post-author-avatar, .author-placeholder {
        width: 45px;
        height: 45px;
    }

    .author-name {
        font-size: 0.95rem;
    }

    .author-location {
        font-size: 0.75rem;
    }

    .header-action-btn {
        width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    .contador-archivos {
        top: 12px;
        right: 12px;
        font-size: 0.7rem;
        padding: 6px 10px;
    }

    .miniaturas-container {
        padding: 12px;
        gap: 8px;
    }

    .miniatura, .miniatura-video {
        width: 60px;
        height: 60px;
    }

    .info-actions-container {
        padding: 15px;
        gap: 15px;
        flex-direction: column;
    }

    .product-info-left {
        width: 100%;
        gap: 12px;
    }
    
    .price-section {
        gap: 12px;
    }
    
    .status-category {
        gap: 8px;
    }
    
    .conditions-row {
        gap: 6px;
    }

    .price-badge {
        padding: 10px 16px;
        font-size: 1.1rem;
        min-width: 90px;
    }

    .status-badge, .category-badge {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .condition-tag {
        padding: 6px 10px;
        font-size: 0.7rem;
    }

    .social-actions-right {
        width: 100%;
        min-width: auto;
    }

    .user-follow-section {
        align-items: center;
    }

    .follow-btn {
        width: 42px;
        height: 42px;
    }

    .social-actions-column {
        gap: 15px;
    }

    .social-action {
        min-width: 55px;
        padding: 8px;
    }

    .action-icon {
        width: 24px;
        height: 24px;
        font-size: 1.1rem;
    }

    .action-count {
        font-size: 0.75rem;
    }

    .contact-action {
        padding: 10px 16px;
        font-size: 0.8rem;
        margin-left: -3px;
    }

    .product-description-container {
        padding: 15px;
    }

    .product-bottom-info {
        padding: 15px;
    }

    .bottom-info-row {
        gap: 8px;
    }

    .unified-tags-container {
        gap: 8px;
    }

    .unified-tag {
        padding: 6px 12px;
        font-size: 0.75rem;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button i {
        font-size: 1.5rem;
    }

    .sound-toggle, .expand-btn {
        width: 36px;
        height: 36px;
        bottom: 15px;
        font-size: 0.9rem;
    }

    .sound-toggle {
        right: 15px;
    }

    .expand-btn {
        right: 60px;
    }

    .image-price-badge {
        bottom: 15px;
        right: 110px;
        padding: 10px 16px;
        font-size: 1.1rem;
        min-width: 90px;
    }
}

@media (max-width: 480px) {
    .main-media-container {
        height: 55vh;
    }

    .miniatura, .miniatura-video {
        width: 55px;
        height: 55px;
    }

    .info-actions-container {
        gap: 12px;
    }

    .price-section {
        justify-content: flex-start;
    }
    
    .status-category {
        justify-content: flex-start;
    }
    
    .conditions-row {
        justify-content: flex-start;
    }

    .price-badge {
        font-size: 1rem;
        padding: 8px 14px;
        min-width: 80px;
    }

    .social-actions-column {
        gap: 12px;
    }

    .social-action {
        min-width: 50px;
    }

    .post-header {
        padding: 10px;
    }

    .bottom-info-row {
        gap: 6px;
    }

    .unified-tags-container {
        gap: 6px;
    }

    .unified-tag {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    .contact-action {
        margin-left: -3px;
    }

    .image-price-badge {
        right: 100px;
        font-size: 1rem;
        min-width: 85px;
        padding: 8px 14px;
    }
}

@media (max-width: 360px) {
    .main-media-container {
        height: 50vh;
    }

    .miniatura, .miniatura-video {
        width: 50px;
        height: 50px;
    }

    .post-header {
        padding: 8px;
    }

    .post-author-avatar, .author-placeholder {
        width: 40px;
        height: 40px;
    }

    .header-action-btn {
        width: 35px;
        height: 35px;
    }

    .social-actions-column {
        gap: 10px;
    }

    .social-action {
        min-width: 45px;
        padding: 6px;
    }

    .action-icon {
        font-size: 1rem;
    }

    .unified-tags-container {
        gap: 5px;
    }

    .unified-tag {
        padding: 4px 8px;
        font-size: 0.65rem;
    }

    .image-price-badge {
        right: 90px;
        font-size: 0.9rem;
        min-width: 80px;
        padding: 7px 12px;
    }
}

/* Soporte para dispositivos con notch */
@supports(padding: max(0px)) {
    .container {
        padding-bottom: max(0px, env(safe-area-inset-bottom));
    }
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== ESTILOS RESPONSIVE PARA MODALES DIOR CLAROS ===== */
.tracking-modal,
.comments-modal,
.contact-modal,
.message-modal,
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: none;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(15px);
}

.tracking-content,
.comments-content,
.contact-content,
.message-content,
.login-content {
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 2px solid var(--accent-primary);
}

/* Estilos responsive para móviles */
@media (max-width: 768px) {
    .tracking-item {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .tracking-item-image {
        width: 100% !important;
        height: 160px !important;
        margin-bottom: 12px;
    }
    
    .tracking-actions {
        flex-direction: row !important;
        justify-content: space-between !important;
        margin-top: 12px;
    }
    
    .tracking-action-btn {
        flex: 1 !important;
        margin: 0 6px !important;
    }
    
    /* Ajustes para todos los modales en móviles */
    .comments-content,
    .tracking-content,
    .contact-content,
    .message-content,
    .login-content {
        width: 95% !important;
        margin: 12px !important;
        max-height: 85vh !important;
    }
    
    /* Mejor scroll en móviles */
    .tracking-body,
    .comments-body {
        max-height: 50vh !important;
    }
}

@media (max-width: 480px) {
    .tracking-content,
    .comments-content,
    .contact-content,
    .message-content,
    .login-content {
        width: 100% !important;
        margin: 8px !important;
        border-radius: 15px !important;
    }
    
    .tracking-modal,
    .comments-modal,
    .contact-modal,
    .message-modal,
    .login-modal {
        padding: 12px !important;
    }
}

/* ===== SOLO MOBILE VIDEO FIX ===== */
@media (max-width: 768px) {
    .video-container video {
        object-fit: cover;
    }
}