/* ==========================================================================
   PadelDesdeCero - Hoja de Estilos Principal (style.css)
   ========================================================================== */

:root {
    --primary-color: #111111;
    --accent-color: #d4ff00; /* Amarillo neón deportivo tipo Vibor-A / 4on */
    --text-color: #333333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-color);
    overflow-x: hidden;
}

a { 
    text-decoration: none; 
    color: inherit; 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 20px; 
}

/* ========================================= */
/* 1. TOPBAR Y NAVBAR                        */
/* ========================================= */
.topbar {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 8px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.navbar {
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eaeaea;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 { font-size: 1.5rem; font-weight: 800; letter-spacing: -1px; }
.logo span { color: #888; font-weight: 300; }

.nav-links { display: flex; gap: 30px; }
.nav-links a {
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}
.nav-links a::after {
    content: ''; position: absolute; width: 0; height: 2px;
    bottom: 0; left: 0; background-color: var(--primary-color);
    transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.highlight-link { color: #0070f3; }

.nav-icons .icon-btn {
    background: none; border: none; font-size: 1.2rem; cursor: pointer; margin-left: 15px;
}

/* Menú Desplegable de Usuario */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none; position: absolute; right: 0; top: 100%;
    background-color: #ffffff; min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    border-radius: 8px; border: 1px solid #eaeaea;
    z-index: 1000; overflow: hidden;
}
.dropdown-content a {
    color: #333; padding: 12px 16px; display: block;
    font-size: 0.95rem; font-weight: 500; transition: background 0.2s;
}
.dropdown-content a:hover { background-color: #f4f6f9; color: #1a2b5e; }
.dropdown:hover .dropdown-content { display: block; }

/* ========================================= */
/* 2. OVERLAYS Y BUSCADOR DESPLEGABLE        */
/* ========================================= */
.ui-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); z-index: 1000;
    opacity: 0; visibility: hidden; transition: opacity 0.3s ease;
}
.ui-overlay.active { opacity: 1; visibility: visible; }

.search-dropdown-panel {
    position: fixed; top: 0; left: 0; width: 100%;
    background: #ffffff; z-index: 2000;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    transform: translateY(-100%); opacity: 0; pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.3s ease;
}
.search-dropdown-panel.active { transform: translateY(0); opacity: 1; pointer-events: auto; }
.search-panel-container { max-width: 1200px; margin: 0 auto; padding: 30px 20px 40px 20px; }
.search-bar-wrapper { display: flex; align-items: center; border-bottom: 2px solid var(--primary-color); padding-bottom: 15px; }
.search-panel-form { display: flex; align-items: center; width: 100%; gap: 15px; }
.search-icon-input { font-size: 1.4rem; }
.search-panel-form input { width: 100%; border: none; outline: none; font-size: 1.5rem; font-family: 'Inter', sans-serif; background: transparent; }
.close-search-panel { background: none; border: none; font-size: 2.5rem; cursor: pointer; padding: 0 10px; transition: var(--transition); }
.close-search-panel:hover { color: var(--accent-color); }
.search-panel-body { display: grid; grid-template-columns: 250px 1fr; gap: 40px; margin-top: 30px; }

/* ========================================= */
/* 3. HOME: BANNER SLIDER PRINCIPAL          */
/* ========================================= */
.slider-container {
    position: relative; width: 100%; height: 480px;
    overflow: hidden; background: #0b0f19;
}
.slider-wrapper { display: flex; width: 100%; height: 100%; transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1); }
.slide { min-width: 100%; height: 100%; display: flex; align-items: center; position: relative; }
.slide-split-container { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 0 40px; }
.slide-content { flex: 1; color: #fff; padding-right: 30px; }
.slide-content .badge {
    background: var(--primary-color); color: var(--white);
    padding: 5px 12px; border-radius: 20px; font-size: 0.75rem;
    font-weight: 600; text-transform: uppercase; border: 1px solid rgba(255,255,255,0.2);
}
.slide-content h2 { font-size: 3rem; font-weight: 800; margin: 15px 0; line-height: 1.1; letter-spacing: -1px; }
.slide-content p { font-size: 1.05rem; margin-bottom: 25px; color: #a0aec0; }
.slide-image { flex: 1; text-align: center; }
.slide-image img { max-width: 80%; max-height: 340px; object-fit: contain; filter: drop-shadow(0 15px 25px rgba(0,0,0,0.5)); }

.btn-primary {
    display: inline-block; background: var(--accent-color); color: var(--primary-color);
    padding: 12px 25px; font-weight: 700; font-size: 0.95rem; border-radius: 4px; transition: var(--transition);
}
.btn-primary:hover { background: #fff; transform: translateY(-3px); }

.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.2); color: white; border: none;
    padding: 12px 16px; font-size: 20px; cursor: pointer; border-radius: 50%; transition: var(--transition);
}
.slider-btn:hover { background: rgba(255,255,255,0.8); color: #000; }
.slider-btn.prev { left: 20px; }
.slider-btn.next { right: 20px; }

/* ========================================= */
/* 4. HOME: MARQUEE Y CARRUSEL 3D            */
/* ========================================= */
.brand-marquee { background: var(--primary-color); color: var(--white); padding: 18px 0; overflow: hidden; white-space: nowrap; }
.marquee-content { display: inline-block; font-size: 1.3rem; font-weight: 800; font-style: italic; letter-spacing: 3px; animation: marquee 15s linear infinite; }
.marquee-content span { margin: 0 40px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.category-3d-section { padding: 20px 0 60px 0; overflow: hidden; position: relative; }
.text-center { text-align: center; }
.carousel-3d-container { position: relative; height: 380px; max-width: 950px; margin: 0 auto; display: flex; align-items: center; justify-content: center; }
.carousel-3d-track { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.cat-3d-item {
    position: absolute; width: 240px; height: 320px; border-radius: 12px;
    background-size: cover; background-position: center; transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0; z-index: 1; transform: scale(0.5) translateX(0); box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    display: flex; align-items: flex-end; justify-content: center; padding-bottom: 25px; pointer-events: none;
}
.cat-3d-item::before { content: ''; position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%); pointer-events: none; }
.cat-3d-label { position: relative; z-index: 2; background: #fff; color: var(--primary-color); padding: 8px 20px; border-radius: 25px; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; box-shadow: 0 4px 10px rgba(0,0,0,0.2); transition: var(--transition); }
.cat-3d-label:hover { background: var(--primary-color); color: #fff; }
.cat-3d-item.active { opacity: 1; z-index: 10; transform: scale(1.05) translateX(0); box-shadow: 0 20px 40px rgba(0,0,0,0.3); pointer-events: auto; }
.cat-3d-item.prev { opacity: 0.8; z-index: 5; transform: scale(0.8) translateX(-80%); cursor: pointer; pointer-events: auto; }
.cat-3d-item.next { opacity: 0.8; z-index: 5; transform: scale(0.8) translateX(80%); cursor: pointer; pointer-events: auto; }
.cat-3d-item:not(.active):not(.prev):not(.next) { opacity: 0; pointer-events: none; }

.carousel-3d-btn {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
    background: var(--primary-color); color: #fff; border: none; width: 40px; height: 40px;
    border-radius: 50%; font-size: 1rem; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: var(--transition);
}
.carousel-3d-btn:hover { background: #333; }
.carousel-3d-btn.left { left: 5%; }
.carousel-3d-btn.right { right: 5%; }

/* ========================================= */
/* 5. PRODUCTOS: GRID GENERAL Y TARJETAS     */
/* ========================================= */
.section-spaced { margin-top: 80px; margin-bottom: 80px; }
.products-showcase { margin-bottom: 80px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 30px; }
.section-header h2 { font-size: 2rem; font-weight: 800; letter-spacing: -1px; }
.view-all { font-weight: 600; text-decoration: underline; font-size: 0.95rem; }

/* Grid de 4 columnas por defecto (Index) */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.product-card { transition: var(--transition); }
.product-img-wrapper {
    position: relative; background: var(--light-bg); border-radius: 8px; overflow: hidden;
    margin-bottom: 12px; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center;
    border: 1px solid #eaeaea;
}
.product-img-wrapper img { max-width: 80%; transition: var(--transition); }
.product-card:hover .product-img-wrapper img { transform: scale(1.08); }

.hover-cta { position: absolute; bottom: -50px; left: 0; width: 100%; padding: 12px; transition: var(--transition); display: flex; justify-content: center; }
.product-card:hover .hover-cta { bottom: 0; }
.btn-add-cart {
    background: var(--primary-color); color: var(--white); border: none;
    padding: 10px 15px; width: 100%; border-radius: 4px; font-weight: 600; cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: var(--transition);
}
.btn-add-cart:hover { background: var(--accent-color); color: var(--primary-color); }

.btn-view-detail {
    background: var(--primary-color); color: var(--white); border: none;
    padding: 10px 15px; width: 100%; border-radius: 4px; font-weight: 600; cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: var(--transition);
    align-items: center;
    text-align: center;
    font-size: 0.9rem;
}
.btn-view-detail:hover { background: var(--accent-color); color: var(--primary-color); }
        .btn-view-detail.outlet-btn {
            background-color: #1a2b5e;
        }
        .btn-view-detail.pack-btn {
            background-color: #8a2be2;
        }

.product-brand { font-size: 0.75rem; color: #888; text-transform: uppercase; font-weight: 800; letter-spacing: 1px; }
.product-title { font-size: 0.95rem; font-weight: 600; margin: 4px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { font-size: 1.05rem; font-weight: 800; }

/* ========================================= */
/* 6. CATÁLOGO / TIENDA (tienda.php)         */
/* ========================================= */
.shop-header { padding: 40px 20px 20px 20px; text-align: left; }
.shop-header h1 { font-size: 2.5rem; font-weight: 800; letter-spacing: -1px; }
.shop-header p { color: #666; margin-top: 5px; }

.shop-container { display: flex; gap: 40px; margin-bottom: 100px; align-items: flex-start; }

.shop-filters {
    width: 260px; background: #fdfdfd; border: 1px solid #eaeaea;
    padding: 25px; border-radius: 12px; flex-shrink: 0;
}
.shop-filters h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 20px; border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; }
.filter-group { margin-bottom: 25px; }
.filter-group h4 { font-size: 0.9rem; font-weight: 700; margin-bottom: 10px; color: #555; text-transform: uppercase; letter-spacing: 0.5px; }
.filter-group ul { list-style: none; }
.filter-group ul li { margin-bottom: 8px; }
.filter-group ul li a { font-size: 0.95rem; color: #444; transition: var(--transition); }
.filter-group ul li a:hover, .filter-group ul li a.active-filter { color: var(--accent-color); font-weight: 600; padding-left: 5px; }

.shop-content { flex: 1; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; background: #f9f9f9; padding: 15px 20px; border-radius: 8px; margin-bottom: 30px; border: 1px solid #eee; }
.results-count { font-size: 0.9rem; color: #666; }
.sort-box select { padding: 8px 12px; border-radius: 6px; border: 1px solid #ddd; background: #fff; font-family: 'Inter', sans-serif; font-size: 0.9rem; cursor: pointer; }

/* FIX IMPORTANTE: En la tienda, como hay barra lateral, el grid debe ser de 3 columnas para no aplastar las imágenes */
.shop-content .product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.no-products { grid-column: 1 / -1; text-align: center; padding: 60px 20px; background: #f9f9f9; border-radius: 12px; }

/* ========================================= */
/* 7. DETALLE DEL PRODUCTO (producto.php)    */
/* ========================================= */
.product-detail-container { padding: 40px 20px; }
.product-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: flex-start; margin-bottom: 60px; }
.main-image-box { background: #fcfcfc; border: 1px solid #eaeaea; border-radius: 16px; padding: 7px; display: flex; align-items: center; justify-content: center; aspect-ratio: 1/1; }
.main-image-box img { max-width: 100%; max-height: 450px; object-fit: contain; }
.thumbnail-strip { display: flex; gap: 12px; margin-top: 20px; overflow-x: auto; padding-bottom: 5px; }
.thumb-item { width: 75px; height: 75px; border: 2px solid #eaeaea; border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 5px; transition: var(--transition); flex-shrink: 0; }
.thumb-item img { max-width: 100%; max-height: 100%; object-fit: contain; }
.thumb-item:hover { border-color: #aaa; }
.thumb-item.active { border-color: var(--primary-color); box-shadow: 0 0 8px rgba(26, 43, 94, 0.2); }

.detail-brand { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; color: #888; letter-spacing: 1.5px; }
.detail-title { font-size: 2.2rem; font-weight: 800; color: var(--primary-color); margin: 10px 0 20px 0; line-height: 1.2; }
.detail-price-box { display: flex; align-items: center; gap: 20px; margin-bottom: 25px; }
.detail-price { font-size: 2rem; font-weight: 800; color: var(--primary-color); }
.stock-badge { background: #e6f4ea; color: #137333; padding: 6px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; }
.logistics-notice { background: #f4f6f9; border-left: 4px solid var(--primary-color); padding: 12px 16px; border-radius: 0 8px 8px 0; margin-bottom: 30px; font-size: 0.95rem; }

.purchase-actions { display: flex; gap: 15px; margin-bottom: 30px; }
.quantity-selector { display: flex; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; background: #fff; }
.quantity-selector button { background: #f9f9f9; border: none; padding: 0 15px; font-size: 1.2rem; cursor: pointer; font-weight: bold; transition: var(--transition); }
.quantity-selector button:hover { background: #eee; }
.quantity-selector input { width: 50px; border: none; text-align: center; font-size: 1rem; font-family: 'Inter', sans-serif; outline: none; }
.btn-lg { flex: 1; padding: 16px; font-size: 1rem; text-align: center; border-radius: 6px; border: none; cursor: pointer; background: var(--primary-color); color: #fff; font-weight: 700; transition: var(--transition); }
.btn-lg:hover { background: var(--accent-color); color: var(--primary-color); }

.product-meta-specs { border-top: 1px solid #eaeaea; padding-top: 20px; color: #666; font-size: 0.9rem; }
.product-description-section { background: #fcfcfc; border: 1px solid #eaeaea; padding: 40px; border-radius: 16px; margin-bottom: 60px; }
.product-description-section h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 20px; border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; display: inline-block; }
.rich-text-content { color: #444; line-height: 1.8; font-size: 1rem; }

/* ========================================= */
/* 8. MINI CARRITO LATERAL                   */
/* ========================================= */
.side-cart-panel {
    position: fixed; top: 0; right: -400px; width: 100%; max-width: 400px;
    height: 100vh; background: #fff; z-index: 1001; display: flex; flex-direction: column;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1); transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.side-cart-panel.open { right: 0; }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #eaeaea; }
.cart-header h3 { margin: 0; color: var(--primary-color); font-size: 1.2rem; }
.close-cart-btn { background: none; border: none; font-size: 1.8rem; cursor: pointer; color: #666; }
.cart-body { flex-grow: 1; overflow-y: auto; padding: 20px; }
.cart-item { display: flex; align-items: center; gap: 15px; padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px solid #f0f0f0; }
.cart-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 6px; border: 1px solid #ddd; }
.cart-item-details { flex-grow: 1; }
.cart-item-title { display: block; font-weight: 600; color: #333; font-size: 0.95rem; margin-bottom: 5px; }
.cart-item-price { font-weight: 700; color: var(--primary-color); }
.remove-item-btn { background: none; border: none; cursor: pointer; opacity: 0.6; transition: opacity 0.2s; }
.remove-item-btn:hover { opacity: 1; color: #e63946; }
.cart-footer { padding: 20px; background: #f9f9f9; border-top: 1px solid #eaeaea; }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 1.2rem; margin-bottom: 10px; }
.btn-block { display: block; width: 100%; text-align: center; padding: 15px; border-radius: 6px; text-decoration: none; }
.btn-secondary { background: transparent; border: 2px solid var(--primary-color); color: var(--primary-color); font-weight: 700; transition: all 0.3s ease; }
.btn-secondary:hover { background: var(--primary-color); color: #fff; }

/* ========================================= */
/* 9. PANEL DE MI CUENTA (CLIENTE)           */
/* ========================================= */
.account-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; margin: 40px auto; }
.account-sidebar { background: #fff; padding: 20px; border-radius: 12px; border: 1px solid #eaeaea; height: fit-content; }
.account-sidebar button { display: block; width: 100%; background: none; border: none; padding: 12px 15px; text-align: left; font-size: 1rem; font-weight: 600; color: #555; cursor: pointer; border-radius: 6px; margin-bottom: 5px; transition: all 0.2s; }
.account-sidebar button:hover { background: #f4f6f9; color: #1a2b5e; }
.account-sidebar button.active { background: #1a2b5e; color: #fff; }
.account-content { background: #fff; padding: 30px; border-radius: 12px; border: 1px solid #eaeaea; min-height: 400px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn 0.3s ease-in-out; }

/* ========================================= */
/* 10. INSTAGRAM Y FOOTER                    */
/* ========================================= */
.instagram-section { margin: 60px auto; padding: 0 20px; }
.instagram-header { margin-bottom: 30px; text-align: center; }
.ig-tag { background: #f0f4f8; color: var(--primary-color); padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; }
.instagram-header h2 { font-size: 1.8rem; font-weight: 800; margin: 8px 0; }
.instagram-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.ig-item { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1/1; display: block; background: #eaeaea; }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.ig-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.ig-overlay span { color: #fff; font-weight: 700; font-size: 0.85rem; background: rgba(255,255,255,0.2); padding: 6px 12px; border-radius: 20px; backdrop-filter: blur(5px); }
.ig-item:hover img { transform: scale(1.08); }
.ig-item:hover .ig-overlay { opacity: 1; }

.main-footer { background: var(--light-bg); padding: 60px 0; margin-top: 50px; border-top: 1px solid #eaeaea; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.footer-grid h3, .footer-grid h4 { margin-bottom: 20px; font-weight: 800; }

/* ========================================= */
/* 11. CLASES DE ANIMACIÓN JS                */
/* ========================================= */
.fade-in-up { opacity: 0; transform: translateY(30px); transition: 1s ease-out; }
.zoom-in { opacity: 0; transform: scale(0.9); transition: 1.2s ease-out; }
.reveal { opacity: 0; transform: translateY(50px); transition: 0.8s ease-out; }
.reveal.active, .fade-in-up.active, .zoom-in.active { opacity: 1; transform: translate(0) scale(1); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

/* ========================================= */
/* 12. RESPONSIVE DESIGN (Consolidado)       */
/* ========================================= */
@media(max-width: 900px) {
    /* Home Slider */
    .slider-container { height: auto; min-height: 350px; padding: 25px 0; }
    .slide-split-container { flex-direction: column; text-align: center; justify-content: center; padding: 0 15px; }
    .slide-content { padding-right: 0; margin-bottom: 15px; }
    .slide-content h2 { font-size: 2.2rem; margin: 8px 0; }
    .slide-image img { max-height: 180px; }
    
    /* Grids (Index y General) */
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    
    /* Tienda (tienda.php) */
    .shop-container { flex-direction: column; gap: 20px; }
    .shop-filters { width: 100%; padding: 15px; }
    .shop-toolbar { flex-direction: column; gap: 15px; align-items: flex-start; }
    .shop-content .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } /* Ajuste a 2 columnas en móviles */
    
    /* Detalle de Producto (producto.php) */
    .product-detail-grid { grid-template-columns: 1fr; gap: 30px; }
    .purchase-actions { flex-direction: column; }
    .quantity-selector { justify-content: center; padding: 8px; }
    
    /* Panel Usuario (cuenta.php) */
    .account-layout { grid-template-columns: 1fr; }
    
    /* Componentes Extra */
    .search-panel-body { grid-template-columns: 1fr; gap: 20px; }
    .cat-3d-item { width: 180px; height: 250px; }
    .instagram-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
}

/* --- NUEVOS ELEMENTOS VISUALES (Índice) --- */

/* Botón Flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 3000;
    transition: var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    color: #fff;
}

/* Banner de Logística y Pagos */
.trust-bar {
    background: #f4f6f9;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    padding: 20px 0;
    margin: 40px 0;
}
.trust-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    gap: 20px;
    flex-wrap: wrap;
}
.trust-item {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Grid de Marcas Destacadas */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}
.brand-card {
    background: var(--light-bg);
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 25px 15px;
    text-align: center;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-card:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Sección de Reseñas Estáticas (Prueba Social) */
.reviews-section {
    background: #0b0f19;
    color: #fff;
    padding: 60px 0;
    margin: 60px 0;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}
.review-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 12px;
}
.review-stars { color: #d4ff00; margin-bottom: 12px; font-size: 1rem; }
.review-card p { font-size: 0.95rem; color: #cbd5e1; line-height: 1.6; margin-bottom: 15px; font-style: italic; }
.review-author { font-size: 0.85rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; }

/* Responsive para Nuevos Elementos */
@media(max-width: 900px) {
    .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .reviews-grid { grid-template-columns: 1fr; }
    .trust-grid { flex-direction: column; gap: 15px; }
}