/* ========================================
   AC HATS - BLING LUXURY DESIGN
   Basado en logo dorado 3D metálico
   ======================================== */

/* === VARIABLES CSS === */
:root {
    /* Colores principales basados en el logo - Negro uniforme */
    --primary-black: #000000;
    --secondary-black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --medium-gray: #2d2d2d;
    --light-gray: #f5f5f5;
    
    /* Paleta dorada del logo */
    --gold-shine: #ffd700;
    --gold-light: #d4af37;
    --gold-main: #b8860b;
    --gold-dark: #8b6914;
    
    /* Colores de texto */
    --text-white: #ffffff;
    --text-gray: #cccccc;
    
    /* Efectos y sombras */
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.3);
    --shadow-dark: 0 4px 15px rgba(0, 0, 0, 0.5);
    --glow-gold: 0 0 30px rgba(255, 215, 0, 0.4);
    
    /* Transiciones */
    --transition-smooth: all 0.3s ease;
}

/* === RESET Y BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background-color: #000000;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
}

/* === TOP BANNER === */
.top-banner {
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold-main) 100%);
    color: var(--primary-black);
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.top-banner i {
    color: var(--primary-black);
    margin: 0 8px;
}

/* === HEADER === */
.main-header {
    background-color: #000000;
    border-bottom: 2px solid var(--gold-main);
    box-shadow: var(--shadow-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.logo {
    height: 60px;
    width: auto;
    filter: drop-shadow(var(--shadow-gold));
    transition: var(--transition-smooth);
}

.logo:hover {
    filter: drop-shadow(var(--glow-gold));
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--text-white);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 10px 20px;
    position: relative;
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-main), var(--gold-light));
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold-light);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.highlight-nav {
    color: var(--gold-light) !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* Dropdown Menu */
.dropdown-menu {
    background-color: #1a1a1a;
    border: 1px solid var(--gold-dark);
    box-shadow: var(--shadow-dark);
}

.dropdown-item {
    color: var(--text-white);
    padding: 12px 20px;
    transition: var(--transition-smooth);
}

.dropdown-item:hover {
    background-color: var(--dark-gray);
    color: var(--gold-light);
    padding-left: 25px;
}

/* Header Icons */
.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon-link {
    color: var(--text-white);
    font-size: 20px;
    position: relative;
    transition: var(--transition-smooth);
}

.icon-link:hover {
    color: var(--gold-light);
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--gold-main), var(--gold-light));
    color: var(--primary-black);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 50%;
    box-shadow: var(--shadow-gold);
}

/* Mobile Menu */
.navbar-toggler {
    border-color: var(--gold-main);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(212, 175, 55, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* === SEARCH BAR === */
.search-bar {
    background-color: #0a0a0a;
    padding: 20px 0;
    display: none;
    animation: slideDown 0.3s ease;
}

.search-bar.active {
    display: block;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.search-input-wrapper {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    background-color: #1a1a1a;
    border: 2px solid var(--gold-dark);
    border-radius: 50px;
    color: var(--text-white);
    font-size: 16px;
    transition: var(--transition-smooth);
}

.search-input:focus {
    outline: none;
    border-color: var(--gold-main);
    box-shadow: var(--shadow-gold);
}

.search-input-wrapper i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold-light);
    font-size: 18px;
}

/* === HERO SLIDER === */
.hero-slider {
    margin-top: 0;
}

.carousel-item {
    height: 500px;
    background: linear-gradient(135deg, #0a0a0a 0%, #000000 100%);
    position: relative;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 40px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-shine));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--gold-light);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

/* Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--gold-main);
    border-radius: 50%;
    padding: 20px;
}

.carousel-indicators button {
    background-color: var(--gold-dark);
    border: 2px solid var(--gold-main);
}

.carousel-indicators button.active {
    background-color: var(--gold-main);
}

/* === BUTTONS === */
.btn-gold {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, var(--gold-main), var(--gold-light));
    color: var(--primary-black);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1.5px;
    border: none;
    border-radius: 50px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-gold:hover::before {
    width: 300px;
    height: 300px;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-gold);
}

.btn-link-gold {
    color: var(--gold-light);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.btn-link-gold:hover {
    color: var(--gold-shine);
    text-shadow: var(--shadow-gold);
}

/* === MYSTERY BOX FEATURED === */
.mystery-box-featured {
    padding: 80px 0;
    background: #000000;
}

.mystery-box-card {
    background-color: #0a0a0a;
    border: 2px solid var(--gold-main);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-dark), var(--shadow-gold);
    position: relative;
    overflow: hidden;
}

.mystery-box-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
    animation: shimmer 8s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.mystery-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--gold-main), var(--gold-light));
    color: var(--primary-black);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 2px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.mystery-description {
    font-size: 18px;
    color: var(--text-gray);
    margin: 20px 0;
}

.mystery-prices {
    display: flex;
    gap: 30px;
    margin: 30px 0;
}

.price-option {
    display: flex;
    flex-direction: column;
}

.price-option .price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold-light);
    text-shadow: var(--shadow-gold);
}

.price-option .value {
    font-size: 14px;
    color: var(--text-gray);
}

.mystery-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-dark);
}

/* === SECTIONS === */
.products-section {
    padding: 80px 0;
}

.section-dark {
    background-color: #000000;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-left: 20px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 80%;
    background: linear-gradient(180deg, var(--gold-main), var(--gold-light));
    border-radius: 10px;
}

.section-description {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-top: 10px;
}

/* === PRODUCTS GRID === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    padding: 50px;
    color: var(--gold-light);
    font-size: 1.2rem;
}

/* Product Card */
.product-card {
    background-color: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-main);
    box-shadow: var(--shadow-dark), var(--shadow-gold);
}

.product-image-container {
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a;
    aspect-ratio: 1 / 1;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 15px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 20px;
    text-transform: uppercase;
}

.badge-new {
    background: linear-gradient(135deg, #00c851, #007e33);
    color: white;
}

.badge-preventa {
    background: linear-gradient(135deg, #ff6b35, #ff3d00);
    color: white;
}

.badge-agotado {
    background: linear-gradient(135deg, #666, #333);
    color: white;
}

.product-content {
    padding: 25px;
}

.product-brand {
    font-size: 12px;
    color: var(--gold-light);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 15px;
    line-height: 1.4;
}

.product-price {
    font-size: 24px;
    font-weight: 900;
    color: var(--gold-light);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

/* === TRUST BAR === */
.trust-bar {
    padding: 60px 0;
    background: #000000;
    border-top: 2px solid var(--gold-main);
    border-bottom: 2px solid var(--gold-main);
}

.trust-item {
    padding: 20px;
}

.trust-icon {
    font-size: 3rem;
    color: var(--gold-light);
    margin-bottom: 15px;
    text-shadow: var(--shadow-gold);
}

.trust-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.trust-item p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

/* === FOOTER === */
.main-footer {
    background-color: #000000;
    padding: 60px 0 30px;
    border-top: 2px solid var(--gold-main);
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.footer-text {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.8;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 14px;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--gold-light);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #1a1a1a;
    border: 1px solid var(--gold-dark);
    border-radius: 50%;
    color: var(--gold-light);
    font-size: 18px;
    transition: var(--transition-smooth);
}

.social-link:hover {
    background: linear-gradient(135deg, var(--gold-main), var(--gold-light));
    color: var(--primary-black);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input {
    padding: 12px 20px;
    background-color: #1a1a1a;
    border: 1px solid var(--gold-dark);
    border-radius: 25px;
    color: var(--text-white);
    font-size: 14px;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--gold-main);
    box-shadow: var(--shadow-gold);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #1a1a1a;
    color: var(--text-gray);
    font-size: 14px;
}

.payment-methods {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    font-size: 28px;
}

.payment-methods i {
    color: var(--gold-light);
}

.footer-link-small {
    color: var(--text-gray);
    font-size: 13px;
    transition: var(--transition-smooth);
}

.footer-link-small:hover {
    color: var(--gold-light);
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition-smooth);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7); }
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .mystery-box-card {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .trust-item {
        margin-bottom: 30px;
    }
    
    .payment-methods {
        justify-content: center;
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .logo {
        height: 45px;
    }
    
    .carousel-item {
        height: 400px;
    }
}
