@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800&display=swap');

:root {
    --red: #bd453d;
    --red-dark: #96342f;

    --cream: #fff8ed;
    --cream-dark: #f7e7d0;

    --pink: #efaaa0;
    --brown: #623a2c;

    --green: #598d55;

    --white: #ffffff;

    --shadow: 0 5px 20px rgba(110, 70, 50, 0.10);
}

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

body {
    font-family: "Nunito", sans-serif;
    background: var(--cream);
    color: var(--brown);
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    height: 70px;
    background: rgba(255, 248, 237, 0.95);
    border-bottom: 1px solid #ead5bf;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--red);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a:hover {
    color: var(--red);
}

.cart-link {
    position: relative;
    font-size: 22px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;

    background: var(--red);
    color: white;

    width: 20px;
    height: 20px;

    border-radius: 50%;
    font-size: 11px;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* =========================
   BUTTON
========================= */

.btn {
    border: none;
    padding: 12px 22px;
    border-radius: 10px;

    background: var(--red);
    color: white;

    font-weight: 700;

    transition: .2s;
}

.btn:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--green);
}

.btn-whatsapp:hover {
    background: #467443;
}

/* =========================
   CONTAINER
========================= */

.container {
    width: min(1200px, 90%);
    margin: auto;
}

.section {
    padding: 70px 0;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 35px;
}

/* =========================
   PRODUCT CARD
========================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    background: #fffaf4;

    border: 1px solid #efd8c2;
    border-radius: 18px;

    padding: 12px;

    box-shadow: var(--shadow);

    transition: .25s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;

    object-fit: cover;

    border-radius: 13px;
    background: var(--cream-dark);
}

.product-card h3 {
    margin-top: 13px;
}

.price {
    color: var(--red);
    font-size: 18px;
    font-weight: 800;

    margin: 7px 0 13px;
}

.product-card .btn {
    width: 100%;
}

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

@media(max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        display: none;
    }
}

@media(max-width: 550px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 45px 0;
    }
}