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

body {
    background: #111;
    color: white;
    font-family: 'Inter', Arial, Helvetica, sans-serif;
}

/* ===== HEADER ===== */

header {
    background: #181818;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #282828;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
    object-fit: contain;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 17px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

nav a:hover,
nav a.nav-activo {
    color: #ff6b00;
}

nav a.nav-activo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff6b00;
    border-radius: 2px;
}

.acciones {
    display: flex;
    gap: 10px;
    align-items: center;
}

.acciones input {
    padding: 10px 15px;
    border: 1px solid #333;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background: #242424;
    color: white;
    outline: none;
    transition: all 0.3s;
}

.acciones input::placeholder {
    color: #888;
}

.acciones input:focus {
    background: #2d2d2d;
    border-color: #ff6b00;
}

/* ===== BUTTONS ===== */

button {
    background: #ff6b00;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
}

button:hover {
    background: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
}

button:active {
    transform: translateY(0);
}

/* ===== HERO ===== */

.hero {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background: radial-gradient(circle at center, #221810 0%, #111111 70%);
}

.hero h1 {
    font-size: 54px;
    margin-bottom: 18px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 40%, #ff9544 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 20px;
    color: #cfcfcf;
    max-width: 700px;
    width: 100%;
    line-height: 32px;
    margin-bottom: 28px;
}

.hero .hero-btn {
    text-decoration: none;
}

.hero button {
    font-size: 20px;
    padding: 16px 36px;
    border-radius: 8px;
}

/* ===== PRODUCTOS & CARDS ===== */

.productos {
    padding: 60px 40px;
}

.productos h2 {
    text-align: center;
    font-size: 38px;
    margin-bottom: 40px;
    font-weight: 700;
}

.contenedor-productos {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.producto {
    background: #181818;
    width: 260px;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    border: 1px solid #282828;
}

.producto:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.2);
    border-color: rgba(255, 107, 0, 0.4);
}

.producto img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s;
    background: #222;
}

.producto:hover img {
    transform: scale(1.05);
}

.producto h3 {
    margin-top: 15px;
    font-weight: 600;
    font-size: 18px;
}

.producto .producto-desc {
    font-size: 13px;
    color: #aaa;
    margin-top: 6px;
    line-height: 1.4;
}

.producto .precio {
    color: #ff7700;
    font-size: 22px;
    margin: 15px 0;
    font-weight: 700;
}

.producto .btn-carrito {
    width: 100%;
    margin-top: auto;
}

/* ===== CATÁLOGO PAGE ===== */

.catalogo {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.catalogo-header {
    text-align: center;
    margin-bottom: 40px;
}

.catalogo-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 10px;
}

.catalogo-subtitulo {
    color: #aaa;
    font-size: 18px;
}

.catalogo-controles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 35px;
    background: #181818;
    padding: 18px 24px;
    border-radius: 12px;
    border: 1px solid #282828;
}

.filtros {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filtro-btn {
    background: #252525;
    color: #ccc;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid transparent;
    transition: all 0.25s ease;
}

.filtro-btn:hover {
    background: #333;
    color: white;
    transform: none;
}

.filtro-btn.activo {
    background: #ff6b00;
    color: white;
    border-color: #ff6b00;
}

.catalogo-opciones {
    display: flex;
    align-items: center;
    gap: 15px;
}

.catalogo-opciones select {
    background: #252525;
    color: white;
    border: 1px solid #333;
    padding: 8px 14px;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

.producto-count {
    color: #888;
    font-size: 14px;
    font-weight: 500;
}

.catalogo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    justify-items: center;
}

.catalogo-vacio {
    text-align: center;
    padding: 60px 20px;
    color: #888;
    font-size: 18px;
}

/* ===== NOTIFICACIONES ===== */

.notificacion {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #181818;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    border-left: 4px solid #ff6b00;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    z-index: 1000;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    transition: opacity 0.3s ease;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ===== FOOTER ===== */

footer {
    background: #161616;
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid #282828;
}

.footer-contenido {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    padding: 0 50px 40px;
}

.footer-col {
    max-width: 300px;
}

.footer-col h4 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #ff6b00;
}

.footer-col p {
    color: #aaa;
    line-height: 1.8;
    font-size: 14px;
}

.footer-col a {
    display: block;
    color: #aaa;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #ff6b00;
}

.footer-bottom {
    border-top: 1px solid #282828;
    text-align: center;
    padding: 20px;
}

.footer-bottom p {
    color: #666;
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 20px;
        gap: 15px;
    }

    .logo img {
        height: 45px;
    }

    nav {
        gap: 20px;
    }

    nav a {
        font-size: 15px;
    }

    .hero {
        min-height: auto;
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
        line-height: 26px;
    }

    .hero button {
        font-size: 16px;
        padding: 14px 30px;
    }

    .productos {
        padding: 30px 15px;
    }

    .productos h2 {
        font-size: 28px;
    }

    .contenedor-productos {
        gap: 15px;
    }

    .producto {
        width: 100%;
        max-width: 340px;
    }

    .catalogo-controles {
        flex-direction: column;
        align-items: stretch;
    }

    .catalogo-opciones {
        justify-content: space-between;
    }

    .footer-contenido {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px 30px;
    }
}

@media (max-width: 480px) {
    .acciones {
        flex-direction: column;
        width: 100%;
    }

    .acciones input {
        width: 100%;
    }
}