* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #111111;
    color: #f1f1f1;
}

/* ================================================== */

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

/* ================================================== */

.topbar {
    background: #0b0b0b;
    border-bottom: 1px solid #2a2a2a;
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

/* ================================================== */

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ================================================== */

.logo-area {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

/* ================================================== */

.logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 50%;
}

/* ================================================== */

.logo-textos {
    display: flex;
    flex-direction: column;
}

/* ================================================== */

.logo-titulo {
    color: white;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 2px;
}

/* ================================================== */

.logo-sub {
    color: #999;
    font-size: 13px;
    margin-top: 2px;
}

/* ================================================== */

nav a {
    color: #d7d7d7;
    text-decoration: none;
    margin-left: 24px;
    font-size: 15px;
    transition: 0.2s;
}

nav a:hover {
    color: white;
}

/* ================================================== */

.hero {
    background: linear-gradient(
        145deg,
        #1a1a1a,
        #111111
    );

    border: 1px solid #2a2a2a;

    margin-top: 35px;

    padding: 60px;

    border-radius: 24px;

    text-align: center;
}

/* ================================================== */

.hero h1 {
    font-size: 46px;
    margin-top: 0;
    margin-bottom: 18px;
}

/* ================================================== */

.hero p {
    color: #bdbdbd;
    max-width: 700px;
    margin: auto;
    line-height: 1.7;
}

/* ================================================== */

.filtros {
    margin-top: 30px;
    margin-bottom: 25px;

    background: #181818;

    border: 1px solid #2a2a2a;

    padding: 22px;

    border-radius: 18px;
}

/* ================================================== */

select,
input,
textarea {
    width: 100%;

    background: #0f0f0f;

    color: white;

    border: 1px solid #2c2c2c;

    padding: 14px;

    border-radius: 12px;

    margin-top: 8px;
    margin-bottom: 18px;
}

/* ================================================== */

button,
.btn {
    background: white;

    color: black;

    border: none;

    padding: 14px 22px;

    border-radius: 12px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;
}

button:hover,
.btn:hover {
    transform: translateY(-2px);
}

/* ================================================== */

.grid-produtos {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 24px;

    margin-top: 25px;
}

/* ================================================== */

.card-produto {
    background: #181818;

    border: 1px solid #2a2a2a;

    border-radius: 20px;

    overflow: hidden;

    transition: 0.25s;
}

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

/* ================================================== */

.card-produto img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

/* ================================================== */

.sem-foto {
    height: 320px;

    background: #202020;

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

    color: #777;
}

/* ================================================== */

.card-body {
    padding: 22px;
}

/* ================================================== */

.codigo {
    color: #888;
    font-size: 13px;
}

/* ================================================== */

.card-body h3 {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* ================================================== */

.categoria {
    color: #b5b5b5;
    font-size: 14px;
}

/* ================================================== */

.preco {
    display: block;

    margin-top: 18px;
    margin-bottom: 18px;

    font-size: 26px;

    font-weight: bold;
}

/* ================================================== */

.form-box {
    background: #181818;

    border: 1px solid #2a2a2a;

    max-width: 600px;

    margin: 50px auto;

    padding: 35px;

    border-radius: 22px;
}

/* ================================================== */

table {
    width: 100%;

    background: #181818;

    border: 1px solid #2a2a2a;

    border-collapse: collapse;

    border-radius: 18px;

    overflow: hidden;

    margin-top: 25px;
}

th,
td {
    padding: 16px;

    border-bottom: 1px solid #2a2a2a;

    text-align: left;
}

/* ================================================== */

.alerta {
    background: #222;

    border: 1px solid #3a3a3a;

    padding: 16px;

    border-radius: 14px;

    margin-top: 25px;
}

/* ================================================== */

.item-carrinho {
    background: #181818;

    border: 1px solid #2a2a2a;

    padding: 20px;

    border-radius: 16px;

    margin-bottom: 18px;
}

/* ================================================== */

.total-box {
    background: #181818;

    border: 1px solid #2a2a2a;

    padding: 22px;

    border-radius: 18px;

    margin-top: 25px;
}

/* ================================================== */

@media (max-width: 1000px) {

    .grid-produtos {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* ================================================== */

@media (max-width: 700px) {

    .topbar-content {
        flex-direction: column;
        gap: 18px;
    }

    .grid-produtos {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 35px;
    }

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

}