/* barra superior */
.top-bar {
    background: #c45757;
    color: white;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
}

/* 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;
    text-decoration: none;
}

.logo img {
    width: 60px;
}

/* 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;
}

/* pagina do produto*/

/* estilos gerais da página */
body {
    font-family: Arial, sans-serif;
    background-color: #fffafa;
    margin: 0;
}

.product-detail-page {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
}


/* breadcrumb (caminho de navegação) */


.breadcrumb {
    font-size: 13px;
    color: #777;
    margin-bottom: 25px;
}

.breadcrumb a {
    color: #555;
    text-decoration: none;
}

.breadcrumb .separator {
    margin: 0 5px;
    color: #ccc;
}

/* layout principal (mídia e detalhes) */

.product-layout-container {
    display: flex;
    gap: 40px;
}

.product-media-column {
    flex: 1; 
    max-width: 50%;
}

.product-details-column {
    flex: 1;
}

/* imagem principal e coração */

.main-image-container {
    position: relative;
    border-radius: 4px;
    margin-bottom: 10px;
    overflow: hidden;
}

.main-product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 4px;
}

.heart-icon {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 10;
}

/* galeria de miniaturas */

.thumbnail-gallery {
    display: flex;
    gap: 10px;
}

.thumbnail-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.thumbnail-image:hover,
.thumbnail-image.active {
    border-color: #b72730;
}

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

/* detalhes do produto */

.product-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.short-description {
    font-size: 14px;
    color: #555;
    margin: 0 0 20px 0;
}

/* preço e desconto */
.price-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.current-price {
    font-size: 22px;
    font-weight: 800;
    color: #333;
}

/* avaliações */
.review-rating {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.stars {
    font-size: 16px;
    color: #333; 
}

.review-count {
    font-size: 14px;
    color: #777;
}

/* botão add to cart */
.add-to-cart-button {
    width: 100%;
    padding: 12px;
    background-color: #b72730;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.add-to-cart-button .cart-icon {
    margin-right: 10px;
    font-size: 18px;
}

/* disponibilidade e envio */
.shipping-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    margin-bottom: 25px;
}

.availability {
    display: flex;
    align-items: center;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 5px;
}

.status-dot.available {
    background-color: green;
}

/* features e descrição longa */

.long-description-text p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 20px;
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-features li {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.product-features .check-icon {
    color: green;
    margin-right: 8px;
    font-weight: bold;
}



/* estilos do contêiner e itens */

.accordion-container {
    max-width: 600px;
    margin: 40px auto;
    background-color: #fffafa;
}

.accordion-item {
    border-bottom: 1px solid #eee;
}

/* estilo do cabeçalho */

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 700;
    color: #b72730;
    cursor: pointer;
    user-select: none;
}

/* avaliações dentro do cabeçalho */

.review-summary {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: auto; 
    padding-left: 10px;
    font-weight: normal;
    font-size: 14px;
}

.review-summary .stars {
    color: #333;
    font-size: 16px;
}

.review-summary .count {
    color: #c45757;
}

/* estilo da seta */

.accordion-header .arrow {
    font-size: 18px;
    color: #333;
    transition: transform 0.3s ease;
}

/* lógica da sanfona */

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.accordion-content p {
    padding: 10px 0 15px 0;
    font-size: 14px;
    color: #555;
    margin: 0;
}

.accordion-toggle:checked ~ .accordion-content {
    max-height: 500px;
}

.accordion-toggle:checked ~ .accordion-header .arrow {
    transform: rotate(90deg);
}

.accordion-item:first-child {
    border-top: 1px solid #eee;
}

/* cards */

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

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
    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; 
    background-color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

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

/* imagem placeholder */

.product-image-placeholder {
    height: 250px;
    background-color: #f7f7f7;
    border: 1px solid #eee;
    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;
}

    /*caixa de promoção*/

.promo-box-section {
    max-width: 900px;
    margin: 50px auto; 
    padding: 30px;
    background-color: #ffe0e6;
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); 
    
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* texto e imagem) */

.promo-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
    width: 100%;
    margin-bottom: 20px;
}

/* lado esquerdo */

.promo-text-side {
    display: flex;
    flex-direction: column;
}

.promo-title {
    font-size: 28px;
    font-weight: bold;
    color: #b72730;
    margin: 0 0 15px 0;
}

.promo-up-to {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.promo-discount {
    font-size: 80px; 
    font-weight: 900; 
    color: #b72730;
    line-height: 0.9;
    margin: 10px 0 15px 0;
}

.promo-description {
    font-size: 16px;
    color: #333;
    margin: 0;
}

/* lado direito */

.promo-image-side {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%; 
    padding-top: 20px;
}

.image-placeholder {
    width: 180px;
    height: 140px;
    background-color: #fffafa;
    position: relative;
}

/* círculo e imagem */
.image-placeholder::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 50px;
    height: 50px;
    background-color: #e0e0e0;
    border-radius: 50%;
}
.image-placeholder::after {
    position: absolute;
    top: 50%;
    left: 45%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    opacity: 0.4;
}

/* botão */

.shop-now-button {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    border-bottom: 2px solid #333;
    padding-bottom: 2px;
    cursor: pointer;
    align-self: flex-end;
    margin-right: 20px;
}


/*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;
}