* {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

.hero {
    height: auto;
    background: url('assets/vectorlandingpag.svg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #313130;
    overflow-x: hidden;
}

.hero-content {
    padding: 2rem;
    border-radius: 10px;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero h2 {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.btn-catalogo {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    background-color: #6C1111;
    border-radius: 10px;
    border: none;
    padding: 0.7rem;
    transition: background-color 0.3s;
}

.btn-catalogo:hover {
    background-color: #501414;
    cursor: pointer;
}

.store-sections {
    padding: 2rem;
    text-align: center;
}

.section-names {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    align-items: center;
    padding: 0;
}

.section-names a {
    text-decoration: none;
    color: #333;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s;
}

.card-section {
    display: flex;
    justify-content: center;
    min-height: 60vh;
    max-width: 100%;
}

.product-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0 2rem;
}

.card {
    background: #f5f5f5;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.card h3 {
    margin: 0.5rem 0;
    font-size: 1.3rem;
}

.card p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
}

button.view-product {
    margin-top: auto;
    padding: 0.5rem 0.5rem;
    font-size: 1rem;
    color: #fff;
    background-color: #6C1111;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button.view-product:hover {
    background-color: #501414;
}

@media (min-width: 765px) {

    .hero {
        min-height: 50vh;
    }

    .hero-content {
        padding: 5rem;
    }

    .product-cards {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
        padding: 0 2rem;
    }
}

@media (min-width: 1025px) {
    .hero {
        min-height: 80vh;
    }

    .hero-content {
        padding: 10rem;
        margin: 0 10%;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.1rem;
    }

    .section-names {
        gap: 4rem;
    }

    .product-cards {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
        padding: 0 2rem;
    }
    
}

@media (min-width: 1540px) {
    .product-cards {
        grid-template-columns: repeat(6, 1fr);
    }
}
