* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 188, 212, 0.3), 0 0 20px rgba(0, 188, 212, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 188, 212, 0.6), 0 0 40px rgba(0, 188, 212, 0.4);
    }
}

@keyframes fluorescent {
    0% {
        text-shadow: 0 0 10px #00bcd4, 0 0 20px #00bcd4, 0 0 30px #8b5cf6;
    }
    50% {
        text-shadow: 0 0 20px #00bcd4, 0 0 40px #00bcd4, 0 0 60px #8b5cf6;
    }
    100% {
        text-shadow: 0 0 10px #00bcd4, 0 0 20px #00bcd4, 0 0 30px #8b5cf6;
    }
}

@keyframes gradientShift {
    0% {
        background: linear-gradient(135deg, rgba(0, 188, 212, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    }
    50% {
        background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(0, 188, 212, 0.15) 100%);
    }
    100% {
        background: linear-gradient(135deg, rgba(0, 188, 212, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    }
}

body {
    background-color: #0a0e27;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    display: flex;
}

/* Sidebar */
.sidebar {
    width: 280px;
    background-color: #0a0e27;
    border-right: 1px solid #1a1f3a;
    padding: 20px;
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #1a1f3a;
}

.sidebar-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00bcd4, #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    animation: glow 2s ease-in-out infinite;
}

.sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #00bcd4;
    animation: fluorescent 2s ease-in-out infinite;
}

.sidebar-subtitle {
    font-size: 12px;
    color: #64748b;
}

.sidebar-section {
    margin-bottom: 30px;
}

.sidebar-section-title {
    font-size: 12px;
    font-weight: 600;
    color: #00bcd4;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-left: 10px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: #a0aec0;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 8px;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background-color: rgba(0, 188, 212, 0.1);
    color: #00bcd4;
    border-left-color: #00bcd4;
    padding-left: 18px;
}

.sidebar-link.active {
    background-color: rgba(0, 188, 212, 0.2);
    color: #00bcd4;
    border-left-color: #00bcd4;
}

.sidebar-icon {
    width: 20px;
    text-align: center;
    font-size: 18px;
}

.sidebar-footer {
    padding-top: 20px;
    border-top: 1px solid #1a1f3a;
    text-align: center;
    color: #64748b;
    font-size: 12px;
}

/* Main wrapper */
.main-wrapper {
    margin-left: 280px;
    flex: 1;
    width: calc(100% - 280px);
}

/* Top Banner */
.top-banner {
    background-color: #1a1f3a;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.top-banner p {
    color: #a0aec0;
}

.whatsapp-link {
    color: #00bcd4;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.whatsapp-link:hover {
    color: #00e5ff;
}

/* Header */
.header {
    background-color: #0a0e27;
    border-bottom: 1px solid #1a1f3a;
    padding: 15px 20px;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

.logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.brand-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.brand-text p {
    font-size: 12px;
    color: #64748b;
}

.search-bar {
    flex: 1;
    display: flex;
    background-color: #1a1f3a;
    border-radius: 8px;
    overflow: hidden;
    max-width: 400px;
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 15px;
    color: #ffffff;
    outline: none;
}

.search-bar input::placeholder {
    color: #64748b;
}

.search-btn {
    background: transparent;
    border: none;
    color: #00bcd4;
    padding: 10px 15px;
    cursor: pointer;
    transition: color 0.3s;
}

.search-btn:hover {
    color: #00e5ff;
}

.admin-btn {
    background-color: #00bcd4;
    color: #0a0e27;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.4);
}

.admin-btn:hover {
    background-color: #00e5ff;
    box-shadow: 0 0 25px rgba(0, 188, 212, 0.7);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.nav-link {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s;
    border-bottom: 2px solid transparent;
    padding-bottom: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #00bcd4;
    border-bottom-color: #00bcd4;
}

/* Main Content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.hero {
    margin-bottom: 60px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 40px;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(0, 188, 212, 0.3);
    animation: gradientShift 4s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.2), inset 0 0 20px rgba(139, 92, 246, 0.05);
}

.hero-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-text p {
    color: #a0aec0;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.6;
}

.hero-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    object-fit: contain;
}

.explore-btn {
    background-color: #00bcd4;
    color: #0a0e27;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.5);
}

.explore-btn:hover {
    background-color: #00e5ff;
    box-shadow: 0 0 25px rgba(0, 188, 212, 0.8), 0 0 40px rgba(0, 188, 212, 0.4);
    transform: translateY(-2px);
}

.explore-btn:hover {
    background-color: #00e5ff;
}

.hero-image {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #1a1f3a;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Combos Card */
.combos-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(0, 188, 212, 0.3) 100%);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.2);
    margin-bottom: 60px;
}

.combos-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #00bcd4;
}

.combos-card > p:first-of-type {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.combos-description {
    color: #a0aec0;
    margin-bottom: 20px;
}

.combos-btn {
    background-color: #ffffff;
    color: #0a0e27;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.combos-btn:hover {
    background-color: #f0f0f0;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Catalog Section */
.catalog {
    margin-top: 60px;
}

.catalog h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.catalog-subtitle {
    color: #00bcd4;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.catalog-description {
    color: #a0aec0;
    margin-bottom: 30px;
}

/* Filters */
.filters-container {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.filters-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filters-group label {
    font-size: 14px;
    font-weight: 600;
    color: #a0aec0;
}

.filters-group select {
    background-color: #1a1f3a;
    color: #ffffff;
    border: 1px solid #2d3748;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.filters-group select:hover {
    border-color: #00bcd4;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    background-color: #1a1f3a;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #2d3748;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 188, 212, 0.4), 0 0 20px rgba(0, 188, 212, 0.3);
    border-color: #00bcd4;
    animation: glow 1s ease-in-out infinite;
}

.product-image {
    width: 100%;
    height: 150px;
    background-color: #0a0e27;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.product-content {
    padding: 15px;
}

.product-category {
    font-size: 12px;
    color: #00bcd4;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-label {
    font-size: 12px;
    color: #a0aec0;
    margin-bottom: 8px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #00bcd4;
    margin-bottom: 8px;
}

.product-status {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 4px;
    margin-bottom: 12px;
    display: inline-block;
}

.status-available {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.status-low {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-unavailable {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.product-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.preview-btn,
.whatsapp-btn,
.share-btn {
    flex: 1;
    min-width: 60px;
    padding: 8px 12px;
    border: none;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: center;
}

.preview-btn {
    background-color: transparent;
    color: #00bcd4;
    border: 1px solid #00bcd4;
}

.preview-btn:hover {
    background-color: rgba(0, 188, 212, 0.1);
}

.whatsapp-btn {
    background-color: #25d366;
    color: #ffffff;
}

.whatsapp-btn:hover {
    background-color: #20c954;
}

.share-btn {
    background-color: transparent;
    color: #a0aec0;
    border: 1px solid #2d3748;
}

.share-btn:hover {
    border-color: #00bcd4;
    color: #00bcd4;
}

.product-count {
    text-align: center;
    color: #a0aec0;
    margin-top: 30px;
    font-size: 14px;
}

/* Footer */
.footer {
    background-color: #1a1f3a;
    padding: 30px 20px;
    text-align: center;
    margin-top: 60px;
    border-top: 1px solid #2d3748;
}

.footer-content p {
    color: #a0aec0;
    margin: 8px 0;
    font-size: 14px;
}

.footer-content a {
    color: #00bcd4;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 999;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .sidebar {
        width: 220px;
    }

    .main-wrapper {
        margin-left: 220px;
        width: calc(100% - 220px);
    }
}

@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -280px;
        transition: left 0.3s;
        width: 280px;
        z-index: 2000;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    }

    .sidebar.active {
        left: 0;
    }

    .main-wrapper {
        margin-left: 0;
        width: 100%;
    }

    .header-content {
        flex-direction: column;
        align-items: stretch;
    }

    .search-bar {
        max-width: 100%;
    }

    .navbar {
        gap: 15px;
        font-size: 12px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .hero-text h2 {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .combos-card {
        padding: 20px;
    }

    .main-content {
        padding: 20px 15px;
    }

    .hero-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .top-banner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .header-content {
        flex-direction: column;
    }

    .logo-section {
        width: 100%;
    }

    .navbar {
        font-size: 11px;
        gap: 10px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .filters-container {
        flex-direction: column;
    }

    .hero-text h2 {
        font-size: 20px;
    }

    .product-actions {
        flex-direction: column;
    }

    .preview-btn,
    .whatsapp-btn,
    .share-btn {
        width: 100%;
    }
}

/* Tarjetas estilo neon amarillo */
@keyframes neonYellow {
    0%, 100% { box-shadow: 0 0 6px #ffe600, 0 0 14px rgba(255, 230, 0, 0.5); }
    50% { box-shadow: 0 0 14px #ffe600, 0 0 32px rgba(255, 230, 0, 0.8); }
}

.product-card {
    background: #000;
    border: 2px solid #ffe600;
    border-radius: 14px;
    animation: neonYellow 2s ease-in-out infinite;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #fff04d;
    animation: neonYellow 1s ease-in-out infinite;
    box-shadow: none;
}

.product-image {
    height: 110px;
    background: #000;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-content { padding: 10px; }
.product-category { color: #8a8f9c; font-weight: 400; font-size: 11px; }
.product-name { color: #fff; font-size: 14px; }
.product-price { color: #fff; font-size: 15px; margin-top: 8px; }

.product-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 4px;
}
.label-renew { color: #22e65a; background: rgba(34, 230, 90, 0.12); border: 1px solid rgba(34, 230, 90, 0.4); }
.label-norenew { color: #ff5a3c; background: rgba(255, 90, 60, 0.12); border: 1px solid rgba(255, 90, 60, 0.4); }

.product-status { background: transparent; padding: 0; font-size: 10px; display: block; margin-bottom: 10px; }
.status-available { background: transparent; color: #3f8f66; }
.status-low { background: transparent; color: #e6891f; }

.product-actions { flex-direction: column; gap: 8px; }
.preview-btn, .whatsapp-btn, .share-btn {
    width: 100%;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: block;
}
.preview-btn { background: #000; color: #3aa0ff; border: 2px solid #3aa0ff; }
.preview-btn:hover { background: rgba(58, 160, 255, 0.12); }
.whatsapp-btn { background: #178a4a; color: #fff; border: 2px solid #178a4a; }
.whatsapp-btn:hover { background: #1ba558; }
.share-btn { background: #000; color: #fff; border: 2px solid #fff; }
.share-btn:hover { border-color: #ffe600; color: #ffe600; }

/* Modal vista previa */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.75); display: none; align-items: center; justify-content: center; z-index: 3000; padding: 20px; }
.modal.open { display: flex; }
.modal-box { position: relative; background: #000; border: 2px solid #ffe600; border-radius: 14px; max-width: 420px; width: 100%; padding: 20px; animation: neonYellow 2s ease-in-out infinite; }
.modal-close { position: absolute; top: 8px; right: 12px; background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; }
.modal-media { height: 160px; display: flex; align-items: center; justify-content: center; font-size: 64px; margin-bottom: 12px; overflow: hidden; border-radius: 10px; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-title { font-size: 20px; margin: 4px 0; }
.modal-desc { color: #a0aec0; margin: 10px 0 16px; font-size: 14px; }

/* Vista previa ampliada */
.modal-box { max-width: 520px; max-height: 90vh; overflow-y: auto; }
.modal-desc { white-space: pre-line; color: #cbd5e1; }
.modal-short { white-space: pre-line; color: #e6891f; font-size: 13px; margin: 8px 0; }
.modal-specs { list-style: none; margin: 0 0 16px; padding: 0; font-size: 13px; color: #cbd5e1; }
.modal-specs li { margin-bottom: 4px; }
.old-price { color: #64748b; font-size: 13px; margin-left: 6px; }
.modal-info .whatsapp-btn, .modal-info .share-btn { margin-bottom: 8px; text-align: center; }

/* Banners completos */
.product-image { height: auto; aspect-ratio: 8 / 5; }
.modal-media { height: auto; aspect-ratio: 8 / 5; background: #000; }

/* Hero con imagen completa */
.hero-image { height: auto; aspect-ratio: 3 / 2; }

/* Fondo del recuadro de combos */
.combos-card {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.1) 100%), url('combos-bg.jpg') center / cover no-repeat;
    min-height: 280px;
    border: 1px solid rgba(255, 23, 68, 0.5);
}
.combos-card h3, .combos-card > p, .combos-card .combos-btn { text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); }
.combos-card h3 { color: #ffffff; }
.combos-description { color: #e2e8f0; }

/* Hero: imagen como fondo completo */
.hero-container {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.1) 100%), url('hero-image.jpg') center / cover no-repeat;
    animation: none;
    min-height: 380px;
}
.hero-container .hero-image, .hero-container .hero-logo { display: none; }
.hero-text { max-width: 520px; }
.hero-container { background-position: 0 0, 100% center; background-size: auto, cover; }
.hero-text h2, .hero-text p { text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9); }
.hero-text p { color: #e2e8f0; }
@media (max-width: 900px) {
    .hero-container { background-position: 0 0, 80% center; }
    .hero-text { max-width: 60%; }
}

/* Hero: imagen a la derecha con degradado hacia el texto */
.hero-container {
    background-color: #060a1c;
    background-image: linear-gradient(90deg, #060a1c 0%, rgba(6, 10, 28, 0.92) 40%, rgba(6, 10, 28, 0) 70%), url('hero-image.jpg');
    background-size: 100% 100%, auto 100%;
    background-position: 0 0, right center;
    background-repeat: no-repeat;
}
@media (max-width: 900px) {
    .hero-container { background-position: 0 0, right center; }
    .hero-text { max-width: 55%; }
}

/* Hero: mismo fondo que el recuadro de combos */
.hero-container {
    background-color: #000;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.1) 100%), url('combos-bg.jpg');
    background-size: 100% 100%, cover;
    background-position: 0 0, center;
    border: 1px solid rgba(255, 23, 68, 0.5);
}

/* Hero: fondo azul WALOLO STORE */
.hero-container {
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.35) 55%, rgba(0, 0, 0, 0.1) 100%), url('hero-image.jpg');
    border: 1px solid rgba(0, 188, 212, 0.5);
}
