
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
    background: #fff;
}

button, input, select {
    font: inherit;
}

button, a {
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
}

/* CABEÇALHO */

.header {
    height: 78px;
    padding: 0 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo span {
    color: #b38b56;
}

.navigation {
    display: flex;
    gap: 30px;
}

.navigation a {
    font-size: 14px;
    color: #555;
    transition: color .2s;
}

.navigation a:hover {
    color: #b38b56;
}

.cart-button {
    border: none;
    background: #171717;
    color: white;
    padding: 12px 18px;
    border-radius: 4px;
    cursor: pointer;
}

#cart-count {
    background: #b38b56;
    padding: 3px 7px;
    border-radius: 50%;
    margin-left: 5px;
}

/* BANNER PRINCIPAL */

.hero {
    min-height: 470px;
    display: flex;
    align-items: center;
    padding: 70px 10%;
    background:
        linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.18)),
        url("https://images.unsplash.com/photo-1490312278390-ab64016e0aa9?w=1800")
        center/cover;
    color: white;
}

.hero-content {
    max-width: 590px;
}

.eyebrow {
    display: block;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 3px;
    color: #b38b56;
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    line-height: 1.7;
    color: #eee;
    margin-bottom: 30px;
}

.primary-button {
    display: inline-block;
    background: #b38b56;
    color: white;
    border: none;
    padding: 15px 24px;
    cursor: pointer;
    border-radius: 3px;
    font-weight: bold;
    transition: background .2s;
}

.primary-button:hover {
    background: #967044;
}

/* BENEFÍCIOS */

.benefits {
    padding: 25px 7%;
    background: #f7f5f1;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #555;
}

/* PRODUTOS */

.products-section {
    padding: 85px 7%;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 30px;
}

.section-heading h2,
.about-section h2 {
    font-size: 32px;
    margin-top: 5px;
}

.section-heading p {
    color: #777;
    font-size: 14px;
}

.filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.filters input,
.filters select {
    border: 1px solid #ddd;
    padding: 13px;
    border-radius: 4px;
    background: white;
    outline: none;
}

.filters input {
    flex: 1;
    min-width: 0;
}

.filters input:focus,
.filters select:focus {
    border-color: #b38b56;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

.product-card {
    border: 1px solid #eee;
    background: white;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.product-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #f2f0ec;
    display: block;
}

.product-info {
    padding: 17px;
}

.product-category {
    color: #999;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info h3 {
    font-size: 16px;
    margin: 9px 0;
}

.product-price {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
}

.add-button {
    width: 100%;
    background: #171717;
    color: white;
    padding: 12px;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    transition: background .2s;
}

.add-button:hover {
    background: #b38b56;
}

.no-results {
    grid-column: 1 / -1;
    padding: 40px;
    text-align: center;
    color: #777;
}

/* SOBRE */

.about-section {
    text-align: center;
    background: #f7f5f1;
    padding: 80px 10%;
}

.about-section p {
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.8;
    color: #666;
}

/* RODAPÉ */

.footer {
    background: #171717;
    color: white;
    text-align: center;
    padding: 40px 20px;
}

.footer p {
    margin-top: 15px;
    font-size: 12px;
    color: #aaa;
}

/* CARRINHO */

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 20;
    display: none;
    justify-content: flex-end;
}

.cart-overlay.active {
    display: flex;
}

.cart-panel {
    background: white;
    width: 100%;
    max-width: 430px;
    height: 100%;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.cart-header button {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.empty-cart {
    color: #888;
    text-align: center;
    margin-top: 40px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.cart-item h4 {
    font-size: 14px;
    margin-bottom: 8px;
}

.cart-item p {
    font-size: 13px;
    color: #777;
}

.cart-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

.cart-actions button {
    width: 26px;
    height: 26px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}

.remove-button {
    color: #b33;
    border: none !important;
    width: auto !important;
}

.cart-footer {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 18px;
}

.full-button {
    width: 100%;
    text-align: center;
}

.cart-footer small {
    display: block;
    text-align: center;
    color: #888;
    margin-top: 12px;
    font-size: 11px;
}

/* CELULAR E TABLET */

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .header {
        padding: 0 4%;
    }

    .navigation {
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .header {
        height: auto;
        min-height: 70px;
        flex-wrap: wrap;
        gap: 12px;
        padding: 15px 4%;
    }

    .logo {
        font-size: 21px;
    }

    .navigation {
        order: 3;
        width: 100%;
        justify-content: center;
        padding-top: 10px;
        border-top: 1px solid #eee;
    }

    .hero {
        min-height: 400px;
        padding: 50px 7%;
    }

    .benefits {
        flex-direction: column;
        padding: 25px 7%;
    }

    .products-section {
        padding: 55px 5%;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .filters {
        flex-direction: column;
    }

    .product-grid {
        gap: 12px;
    }

    .product-info {
        padding: 12px;
    }

    .product-info h3 {
        font-size: 14px;
    }

    .product-price {
        font-size: 16px;
    }

    .add-button {
        font-size: 12px;
        padding: 10px 5px;
    }
}
/* LINKS DO RODAPÉ */

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 25px;
    margin-top: 20px;
}

.footer-links a {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #d4af37;
}

@media (max-width: 600px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
}