/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #f8f8f8;
    color: #333;
}

/* ================= HEADER ================= */
.main-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo {
    font-size: 1.6rem;
    font-weight: bold;
    color: #000;
}

/* NAV */
.nav-menu ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #000;
}

/* CARRITO */
.cart {
    position: relative;
    font-size: 1.2rem;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #000;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* ================= HERO ================= */
.hero {
    background: linear-gradient(to right, #000, #333);
    color: #fff;
    padding: 80px 20px;
}

.hero-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero h1 {
    font-size: 2.5rem;
    max-width: 600px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 500px;
    line-height: 1.6;
}

/* BOTÓN HERO */
.hero-btn {
    width: fit-content;
    padding: 12px 25px;
    border: none;
    background-color: #fff;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.hero-btn:hover {
    background-color: #ddd;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    .nav-menu ul {
        gap: 12px;
        font-size: 0.85rem;
    }

    .hero h1 {
        font-size: 2rem;
    }
}
