body {
    margin: 0;
    padding: 20px;
    font-family: Georgia, 'Times New Roman', serif;
    background-color: #fcfcfc;
    color: #222;
}

h1 {
    color: white;
    background-color: #4a0404;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    letter-spacing: 1px;
}

h2 {
    color: #4a0404;
    border-bottom: 2px solid #4a0404;
    padding-bottom: 5px;
}

::selection {
    background-color: #4a0404;
    color: white;
}

/* ── Navegação ── */
nav {
    text-align: center;
    margin-bottom: 30px;
    padding: 10px;
    background-color: #f2f2f2;
}

nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #4a0404;
    font-weight: bold;
    transition: color 0.2s, border-bottom 0.2s;
}

nav a:not(:last-child) {
    border-right: 1px solid #c0a08a;
    padding-right: 20px;
}

.container-flex {
    text-align: left;
}

.item-produto,
article {
    display: inline-block;
    vertical-align: top;
    width: 230px;
    margin: 10px;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: white;
    text-align: center;
    min-height: 380px;
    transition: box-shadow 0.25s;
}

article:not(.destaque) {
    border: 1px solid #ddd;
}


.container-flex .item-produto:nth-child(2),
.container-flex .item-produto:nth-child(4) {
    background-color: #fdf6f0;
    border-color: #c0a08a;
}

article img {
    width: 100%;
    max-width: 200px;
    height: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table,
th,
td {
    border: 1px solid #4a0404;
}

th {
    background-color: #4a0404;
    color: white;
    padding: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    padding: 10px;
    text-align: center;
}

tbody tr:nth-child(odd) {
    background-color: #fff8f4;
}

tbody tr:nth-child(even) {
    background-color: #f5ebe4;
}

td:last-child {
    font-style: italic;
    color: #5a1010;
}

ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    padding: 8px 12px;
    border-left: 5px solid #4a0404;
    margin-bottom: 5px;
    background-color: #f9f9f9;
    transition: background-color 0.2s;
}

ul li:first-child {
    background-color: #4a0404;
    color: white;
    border-left-color: #c0a08a;
    font-weight: bold;
}

ul li:nth-child(even) {
    background-color: #f0e6df;
}

ul li:not(:first-child) {
    font-weight: normal;
}

input,
textarea,
select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s, background-color 0.2s;
}

input:not([type="submit"]):not([type="reset"]):not([type="checkbox"]):not([type="radio"]):focus,
textarea:focus,
select:focus {
    border-color: #4a0404;
    outline: none;
    background-color: #fff8f4;
}

button {
    margin-top: 10px;
    padding: 10px 18px;
    background-color: #4a0404;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.2s;
}

button[type="reset"]:not([type="submit"]) {
    background-color: #888;
    margin-left: 8px;
}

.filtros-categoria {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding: 14px;
    background: #f9f4f0;
    border: 1px solid #c0a08a;
    border-radius: 6px;
}

.filtros-categoria label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 0.95em;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid #c0a08a;
    background-color: white;
    transition: background-color 0.2s, color 0.2s;
    user-select: none;
}

.filtros-categoria input[type="checkbox"],
.filtros-categoria input[type="radio"] {
    width: auto;
    accent-color: #4a0404;
}

.filtros-categoria input[type="checkbox"]:checked,
.filtros-categoria input[type="radio"]:checked {
    outline: 2px solid #4a0404;
}

.filtros-categoria label:has(input:checked) {
    background-color: #4a0404;
    color: white;
    border-color: #4a0404;
}

main {
    margin-top: 20px;
}

section img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 10px 0;
}

section {
    margin-bottom: 30px;
}

img {
    margin-top: 10px;
}

footer {
    text-align: center;
    margin-top: 40px;
    color: #666;
    font-size: 0.8em;
    border-top: 1px solid #e0d0c8;
    padding-top: 12px;
}