/* --- ESTILO GLOBAL & FONDO --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: #050505; 
    font-family: 'Montserrat', sans-serif;
    color: white; 
    overflow-x: hidden; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column;
}

.luxury-bg {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: radial-gradient(circle at 50% 10%, #1a1505 0%, #000000 100%); 
    z-index: -2;
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* --- NAVEGACIÓN Y TÍTULOS --- */
.top-nav { 
    text-align: center; 
    padding: 25px 0; 
    position: relative;
    z-index: 10;
}

.nav-brand {
    font-family: 'Cinzel', serif; 
    font-size: 1.1rem; 
    color: #fff;
    text-decoration: none; 
    letter-spacing: 3px; 
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 30px;
    background: rgba(197, 160, 89, 0.1);
    backdrop-filter: blur(10px);
}

.nav-brand:hover { 
    color: #c5a059; 
    text-shadow: 0 0 15px #c5a059;
    background: rgba(197, 160, 89, 0.2);
    transform: translateY(-2px);
}

.nav-line {
    width: 100px; 
    height: 2px; 
    margin: 15px auto;
    background: linear-gradient(90deg, transparent, #c5a059, transparent);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
}

.header-section { 
    text-align: center; 
    margin: 30px 0 60px;
    position: relative;
}

.gold-title {
    font-family: 'Cinzel', serif; 
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(to bottom, #fdfbfb 0%, #c5a059 50%, #8a6e2f 100%);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 8px rgba(197, 160, 89, 0.4));
    margin-bottom: 15px;
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(197, 160, 89, 0.4)); }
    50% { filter: drop-shadow(0 0 20px rgba(197, 160, 89, 0.8)); }
}

.subtitle { 
    color: #b8891c; 
    font-size: 1rem; 
    letter-spacing: 4px; 
    text-transform: uppercase;
    font-weight: 300;
}

.header-decoration {
    margin-top: 20px;
    color: #c5a059;
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* --- CONTENEDOR Y SLIDER --- */
.catalogo-container { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 100%; 
    padding: 40px 20px 80px;
    gap: 30px;
    position: relative;
}

.slider-track {
    display: flex; 
    gap: 40px; 
    overflow-x: auto; 
    padding: 50px 40px;
    scroll-behavior: smooth; 
    max-width: 85%; 
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}

.slider-track::-webkit-scrollbar { display: none; }

/* --- TARJETAS (CARDS) --- */
.card {
    text-decoration: none; 
    min-width: 320px; 
    background: rgba(15, 15, 15, 0.7);
    border: 2px solid rgba(197, 160, 89, 0.2); 
    border-radius: 20px; 
    padding: 25px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative; 
    backdrop-filter: blur(10px);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.1), transparent);
    transition: left 0.5s;
}

.card:hover::before {
    left: 100%;
}

.card:hover { 
    transform: translateY(-15px) scale(1.02);
    border-color: #c5a059; 
    box-shadow: 0 20px 60px rgba(197, 160, 89, 0.4);
    background: rgba(20, 20, 20, 0.9);
}

.card-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.card:hover .card-shine {
    transform: translateX(100%);
}

/* --- BADGES --- */
.badge {
    position: absolute; 
    top: -15px; 
    left: 50%; 
    transform: translateX(-50%);
    color: #000; 
    padding: 8px 20px; 
    border-radius: 20px; 
    font-size: 0.7rem; 
    font-weight: 700;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
    animation: pulse 2s ease-in-out infinite;
}

.badge.bestseller {
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
}

.badge.new {
    background: linear-gradient(135deg, #fff, #f1f1f1);
}

.badge.limited {
    background: linear-gradient(135deg, #ffd700, #c5a059);
}

@keyframes pulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
}

/* --- CONTENEDOR DE IMAGEN --- */
.img-container { 
    height: 220px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.img-container img { 
    max-width: 100%; 
    max-height: 100%; 
    transition: transform 0.5s ease;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.6));
}

.card:hover .img-container img { 
    transform: scale(1.15) rotate(2deg);
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(197, 160, 89, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    font-size: 2.5rem;
    color: white;
}

.card:hover .img-overlay {
    opacity: 1;
}

.no-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #666;
    font-size: 0.9rem;
}

.no-img i {
    font-size: 3rem;
    color: #444;
}

/* --- DETALLES DE PRODUCTO --- */
.card-details { 
    position: relative;
    z-index: 2;
}

.card-details h3 { 
    color: #fff; 
    font-size: 1.3rem; 
    text-align: center; 
    font-weight: 600;
    margin-bottom: 8px;
    font-family: 'Cinzel', serif;
}

.product-desc {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 15px;
    font-style: italic;
}

.divider-small { 
    width: 50px; 
    height: 2px; 
    background: linear-gradient(90deg, transparent, #c5a059, transparent);
    margin: 15px auto;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
}

.price-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-top: 15px;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.currency {
    font-family: 'Cinzel', serif;
    color: #c5a059;
    font-size: 1.2rem;
    font-weight: bold;
}

.price { 
    font-family: 'Cinzel', serif; 
    color: #f9e1a1; 
    font-size: 1.8rem; 
    font-weight: bold;
    text-shadow: 0 0 10px rgba(249, 225, 161, 0.3);
}

.cta-text { 
    font-size: 0.85rem; 
    background: linear-gradient(135deg, #c5a059, #8a6e2f);
    padding: 10px 18px; 
    border-radius: 25px; 
    color: #000; 
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.card:hover .cta-text {
    background: linear-gradient(135deg, #ffd700, #c5a059);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.6);
}

/* --- TARJETA ESPECIAL PERSONALIZADA --- */
.special-card { 
    border: 2px solid #c5a059; 
    background: linear-gradient(135deg, rgba(26, 21, 5, 0.95), rgba(0, 0, 0, 0.95));
    min-width: 320px;
}

.special-card:hover {
    border-color: #ffd700;
    box-shadow: 0 20px 60px rgba(197, 160, 89, 0.6);
}

.special-content { 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 15px;
    padding: 20px 0;
}

.special-icon-container {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gold-icon { 
    font-size: 4rem; 
    color: #c5a059; 
    filter: drop-shadow(0 0 20px #c5a059);
    animation: rotate 10s linear infinite;
    position: relative;
    z-index: 2;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.icon-glow {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.3), transparent);
    border-radius: 50%;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.special-content h3 {
    font-size: 1.4rem;
    color: #fff;
    font-family: 'Cinzel', serif;
    letter-spacing: 2px;
}

.special-content p {
    color: #b8891c;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 280px;
}

.btn-consultar { 
    background: linear-gradient(135deg, #c5a059, #8a6e2f);
    color: #000; 
    padding: 14px 30px; 
    border-radius: 30px; 
    font-weight: bold; 
    font-size: 0.9rem; 
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 25px rgba(197, 160, 89, 0.4);
}

.special-card:hover .btn-consultar { 
    background: linear-gradient(135deg, #ffd700, #c5a059);
    transform: scale(1.05);
    box-shadow: 0 10px 35px rgba(255, 215, 0, 0.6);
}

/* --- FLECHAS DE NAVEGACIÓN --- */
.nav-arrow {
    background: rgba(197, 160, 89, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid #c5a059; 
    color: #c5a059;
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    cursor: pointer; 
    transition: all 0.3s ease;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.nav-arrow:hover { 
    background: linear-gradient(135deg, #c5a059, #8a6e2f);
    color: #000; 
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(197, 160, 89, 0.6);
}

.nav-arrow:active {
    transform: scale(0.95);
}

/* --- SECCIÓN DE CARACTERÍSTICAS --- */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 40px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: rgba(15, 15, 15, 0.6);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-item:hover {
    border-color: #c5a059;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.2);
}

.feature-item i {
    font-size: 2.5rem;
    color: #c5a059;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 10px rgba(197, 160, 89, 0.5));
}

.feature-item h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-family: 'Cinzel', serif;
}

.feature-item p {
    color: #999;
    font-size: 0.9rem;
}

/* --- FOOTER --- */
.footer { 
    margin-top: auto; 
    text-align: center; 
    padding: 40px 20px;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 20px;
}

.social-icons a { 
    color: #c5a059; 
    font-size: 2rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(197, 160, 89, 0.1);
    border: 2px solid transparent;
}

.social-icons a:hover { 
    color: #fff; 
    text-shadow: 0 0 15px #c5a059;
    transform: translateY(-5px) rotate(5deg);
    background: rgba(197, 160, 89, 0.2);
    border-color: #c5a059;
}

.footer p { 
    color: #666; 
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* ================= RESPONSIVE (MÓVILES) ================= */
@media (max-width: 768px) {
    .catalogo-container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-arrow {
        position: static;
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }

    .nav-arrow.left {
        order: 2;
    }

    .slider-track {
        order: 1;
        max-width: 100%;
        padding: 30px 20px;
        gap: 20px;
    }

    .nav-arrow.right {
        order: 3;
    }

    .card {
        min-width: 280px;
    }

    .gold-title {
        font-size: 2.5rem;
    }

    .features-section {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 20px;
    }

    .header-section {
        margin: 20px 0 40px;
    }
}