/* Variáveis da nova paleta de cores */
:root {
    --bg-principal: #f0ece4;      /* fundo principal */
    --bg-secundario: #c7bca9;     /* fundo secundário */
    --cta-botoes: #ed3237;        /* botões e call-to-action */
    --fontes: #1e1d1c;           /* cor das fontes */
}

/* ==========================
   BANNER PRINCIPAL - HOME
   ========================== */

   .home-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* ==========================
   OWL CAROUSEL - NAV BUTTONS
   ========================== */
   .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* Garante que não interfira nos cliques */
}

.owl-nav button {
    background: rgba(0, 0, 0, 0.5) !important;
    color: white !important;
    border: none;
    width: 40px;
    font-size: 40px !important;
    line-height: 40px;
    cursor: pointer;
    pointer-events: auto; /* Permite clique */
    transition: 0.3s ease-in-out;
}

.owl-nav button:hover {
    background-color: rgba(0, 0, 0, 0.8) !important;
}

/* Ícones padrão do Owl Carousel */
.owl-prev, .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.owl-prev {
    left: 10px;
}

.owl-next {
    right: 10px;
}

/* ==========================
   OWL CAROUSEL - DOTS
   ========================== */
   .owl-dots {
    text-align: center;
    margin-top: 10px;
    position: absolute;
    width: 100%;
    bottom: 0;
}

.owl-dot span{
    width: 10px;
    height: 10px;
    margin: 5px;
    background: #ccc !important;
    border-radius: 50%;
    display: inline-block;
    transition: background 0.3s ease-in-out;
}

.owl-dot.active span{
    background: #333 !important;
    width: 12px;
    height: 12px;
}

@media(max-width: 767px){
    .slideshow-home .owl-item img {
        display: block;
        width: fit-content;
        aspect-ratio: 16 / 8;
        object-fit: cover;
    }
}

/* ==========================
   DIFERENCIAIS DA LOJA - ESTILO DA IMAGEM
   ========================== */
   .store-differentials {
    background-color: var(--clean-white);
    padding: 40px 0;
    text-align: center;
}

.differentials-wrapper {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
    margin: 0 auto;
}

.differential {
    flex: 1;
    max-width: 250px;
    text-align: center;
}

.differential-icon {
    width: 90px;
    height: 90px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 10px;
    padding: 10px;
    border: solid 3px #000;
}

.differential-icon img {
    width: 85px;
    height: auto;
}

.differential h3 {
    font-size: 16px;
    font-weight: bold;
    color: var(--bg-menu-header);
    margin-bottom: 5px;
}

.differential p {
    font-size: 14px;
    color: var(--fontes);
    line-height: 1.4;
}

/* ==========================
   RESPONSIVIDADE - DIFERENCIAIS
   ========================== */
   @media (max-width: 767px) {
    .differentials-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* 2 colunas por linha */
        gap: 15px; /* Espaçamento entre os itens */
        justify-content: center;
        align-items: flex-start;
    }

    .differential {
        max-width: 100%;
        text-align: center;
    }

    .differential-icon {
        width: 80px; /* Ajuste de tamanho */
        height: 80px;
    }

    .differential h3{
        font-size: 14px;
    }

    .differential p{
        font-size: 12px;
    }
    
}

@media (max-width: 575px) {
    .store-differentials{
        padding: 20px 0;
    }
    .differential-icon {
        width: 50px; /* Ajuste de tamanho */
        height: 50px;
        padding: 5px;
        border: #000 solid 2px;
    }

    .differential h3{
        font-size: 12px;
    }

    .differential p{
        font-size: 10px;
        display: none;
    }
    
}

/* Seção Categorias */
.sectionCategoryBox{
    display: block;
    margin: 50px 0;
}
.custom-categories-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}

.category-box {
    text-align: center;
    max-width: 170px;
}

.category-box a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--fontes);
}

.category-box img {
    width: 150px;
    height: 150px;
    object-fit: container;
    border: 4px solid var(--bg-menu-header);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    padding: 15px;
    border-radius: 50%;
}

.category-box img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.category-box p {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

.category-box h3 {
    display: none;
}

.category-sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Define três colunas */
    gap: 20px; /* Espaço entre os itens */
    justify-content: center;
    align-items: stretch;
}

.category-section-box {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.category-section-link {
    display: block;
    text-decoration: none;
    color: white;
    font-weight: bold;
}

.category-section-bg {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease-in-out;
}

.category-section-bg img{
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.category-section-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Sobreposição escura */
}

.category-section-bg h2 {
    position: absolute;
    font-size: 28px;
    text-transform: uppercase;
    z-index: 2;
    margin-bottom: 10px;
    color: #fff;
    font-weight: bold;
	text-shadow: 0 0 5px black;
}

.category-section-button {
    position: absolute;
    bottom: 15px;
    display: inline-block;
    padding: 8px 15px;
    background: var(--bg-secundario);
    color: var(--fontes);
    border-radius: 5px;
    font-size: 14px;
    z-index: 2;
    transition: 0.3s;
}

.category-section-button:hover {
    background: var(--cta-botoes);
}

.category-section-bg:hover {
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .category-sections {
        grid-template-columns: repeat(2, 1fr); /* Duas colunas em telas médias */
    }
}

@media (max-width: 575px) {
    .category-sections {
        grid-template-columns: repeat(1, 1fr); /* Uma coluna em telas pequenas */
    }

    .category-box {
        max-width: 115px;
    }
    
    .category-box img {
        width: 115px;
        height: 115px;
    }
}

.brands-section {
    text-align: center;
    padding: 30px 0;
}

.brands-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.brand-item img {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.categories-boxes{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}