/* barra superior */
.top-bar {
    background: #c45757;
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
}
.logo img {
    width: 60px;
}
/* cabeçalho principal */
.main-header {
    background-color: #ffe0e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    border-bottom: 1px solid #aa281f;
}

/* logo */
.logo {
    font-size: 20px;
    font-weight: bold;
    color: #b72730;
}

/* busca */
.search-box {
    flex: 1;
    max-width: 400px;
    margin: 0 40px;
}

.search-box input {
    width: 100%;
    padding: 12px 30px;
    border-radius: 20px;
    border: 1px solid #ccc;
    font-size: 16px;
}

/* icones */
.icons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.icon-btn:hover {
    background-color: #c45757;
    border-color: #aa281f;
}

.icon-btn:hover .icon-emoji,
.icon-btn:hover .icon-label {
    color: white;
}

.icon-emoji {
    font-size: 20px;
    margin-bottom: 2px;
}

.icon-label {
    font-size: 11px;
    font-weight: 600;
    color: #aa281f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.icon {
    position: relative;
    cursor: pointer;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    border-bottom: 1px solid #eee;
    background-color: #ffe0e6;
    
}
.menu a {
    margin-right: 25px;
    color: #666;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

/* estilos Gerais */
body {
    font-family: sans-serif;
    background-color: #fffafa;
    margin: 0;
    padding: 0;
}

.category-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}



/* cabeçalho e título */

.category-header {
    padding: 20px 0;
}

.back-link {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}

.category-title {
    font-size: 32px;
    font-weight: 800;
    color: #aa281f;
    margin: 5px 0 20px 0;
}

/* subcategorias */


.subcategories-section {
    padding-bottom: 20px;
}

.subcategory-grid {
    display: flex;
    gap: 15px; 
    flex-wrap: nowrap; 
    overflow-x: auto; 
    padding-bottom: 10px;
}

.subcategory-grid::-webkit-scrollbar {
    display: none;
}

.subcategory-card {
    flex: 0 0 calc(16.666% - 13px); 
    text-align: center;
    min-width: 120px; 
}

.image-placeholder {
    background-color: #ffffff;
    padding-top: 100%; 
    border-radius: 8px;
    margin-bottom: 5px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.subcategory-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 5px;
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.image-placeholder::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    opacity: 0.3;
}

.subcategory-name {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin: 5px 0 0 0;
}

.separator {
    border: none;
    border-top: 1px solid #eee;
    margin: 20px 0 10px 0;
}

/* barra de filtros e tags ativas */

.filters-section {
    padding: 10px 0;
}

.filters-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.filter-dropdown,
.filter-button {
    background-color: #c45757;
    border: 1px solid #c45757;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    color: #ffffff;
    cursor: pointer;
    font-weight: 600;
}

.filter-button.active {
    background-color: #b72730;
    color: white;
    border-color: #b72730;
}

.filter-dropdown .arrow {
    font-size: 10px;
    margin-left: 5px;
    opacity: 0.6;
}


.filter-icon {
    margin-left: 5px;
    font-size: 16px;
}


.tag {
    display: inline-flex;
    align-items: center;
    background-color: #ffe0e6;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
}

.close-icon {
    margin-left: 8px;
    cursor: pointer;
    font-weight: bold;
    color: #b72730;
    line-height: 1;
}


/* produtos */

/* barra de produto */


/* contador de produtos */

.product-count {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* 10 produtos */

.product-display-selector {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.selector-label {
    font-size: 14px;
    color: #333;
    text-decoration: underline; 
    text-decoration-color: #333;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #333; 
}

/* cards */

body {
    font-family: sans-serif;
    margin: 0;
}

/* seção principal estilos */

.new-products-section {
    max-width: 1200px;
    margin: 0;
    padding: 20px;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 30px;
    font-weight: bold;
    color: #aa281f;
}

.header-container h2 {
    font-size: 24px;
    font-weight: normal;
    margin: 0;

}

/* container e layout dos produtos */

.products-list {
    display: flex;
    gap: 20px; 
    width: 100%;
    justify-content: center;
}

.product-card {
    width: 25%;
    min-width: 220px; 

}

/* imagem placeholder */

.product-image-placeholder {
    height: 250px;
    border: 1px solid #b72730;
    margin-bottom: 10px;
    position: relative;
    display: flex; 
    justify-content: center;
    align-items: center;
}

/* info do produto e preços */

.product-info {
    padding: 0 5px;
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 2px 0;
    color: #aa281f;
}

.product-details {
    font-size: 13px;
    color: #777;
    margin: 0 0 5px 0;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.current-price {
    font-size: 16px;
    font-weight: bold;
    color: #aa281f;
}
.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

body {
    font-family: sans-serif;
    margin: 0;
}

/* seção principal estilos */

.new-products-section {
    max-width: 1200px;
    margin: 0;
    padding: 20px;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 30px;
    font-weight: bold;
    color: #aa281f;
}

.header-container h2 {
    font-size: 24px;
    font-weight: normal;
    margin: 0;

}

/* container e layout dos produtos */

.products-list {
    display: flex;
    gap: 20px; 
    width: 100%;
    justify-content: center;
}

.product-card {
    width: 25%;
    min-width: 220px; 
    margin-top: 30px;
    margin-bottom: 30px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

/* imagem placeholder */

.product-image-placeholder {
    height: 250px;
    border: 1px solid #b72730;
    margin-bottom: 10px;
    position: relative;
    display: flex; 
    justify-content: center;
    align-items: center;
}

/* info do produto e preços */

.product-info {
    padding: 0 5px;
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 2px 0;
    color: #aa281f;
}

.product-details {
    font-size: 13px;
    color: #777;
    margin: 0 0 5px 0;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 5px;
}

.current-price {
    font-size: 16px;
    font-weight: bold;
    color: #aa281f;
}
.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* seção de avaliações */

.reviews-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.reviews-grid {
    display: flex; 
    gap: 30px;
    justify-content: space-between;
}

.rating-column {
    flex: 0 0 25%; 
}

.review-card {
    flex: 1; 
}

/* estilos de texto / estrelas */

.rating-column h3, .review-card h4 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0 0 5px 0;
}

.stars {
    font-size: 18px;
    color: #b72730; 
    margin-bottom: 10px;
}

.rating-base {
    font-size: 12px;
    color: #555;
    margin: 0;
}

.rating-base a {
    color: #555;
    text-decoration: underline;
}

.review-title {
    font-size: 15px;
    font-weight: bold;
    margin: 5px 0;
}

.review-body {
    font-size: 13px;
    color: #555;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.review-meta {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/*rodapé*/

/* --- estilização do rodapé --- */

.footer {
    background-color: #fffafa; 
    padding: 30px 20px; 
    border-top: 1px solid #999; 
    font-family: Arial, sans-serif;
}

/* estilização do conteúdo */

.footer .content {
    max-width: 960px; 
    margin: 0 auto;
}

.footer .has-text-centered {
    text-align: center;
}

.footer p {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

/* estilização dos links */

.footer a {
    color: #b72730;
    text-decoration: none; 
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #b72730;
    text-decoration: underline;
}

/* estilização do destaque */

.footer strong {
    color: #333333;
    font-weight: bold;
}