.preparadores-hero {
    padding: 3rem 0 1rem;
    text-align: center;
}

.page-title {
    font-size: 2rem;
    margin: 0 auto 2rem auto;
    padding: 1rem 1.5rem;
    font-weight: var(--fw-regular);
    width: fit-content;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 999px;
    text-transform: uppercase;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin-top: 1rem;
    color: var(--primary-color);
    border-right: 1px solid var(--primary-color);
}

/* --- INTRODUÇÃO --- */
.preparadores-intro {
    text-align: center;
    padding: 2rem 0 0 0;
}

.preparadores-intro h1 {
    font-size: 3rem;
    letter-spacing: 0.2rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.intro-text {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    font-size: 1.25rem;
    color: #555;
    line-height: 1.7;
}

.intro-products {
    display: flex;
    justify-content: center;
    gap: 4rem;
    align-items: center;
}

.intro-products img {
    max-width: 250px;
    height: auto;
    object-fit: contain;
}

/* --- DETALHES DOS PRODUTOS (DESIDRAT & PRIMER) --- */
.preparadores-details {
    padding: 2rem 0;
}

.primer-section {
    background-color: var(--bg-light);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    border: 1px solid #555;
    border-radius: 2.5rem;
    padding: 2rem;
    overflow: hidden;
}

.details-info__title {
    font-size: 3rem;
    font-weight: var(--fw-bold);
    color: #555;
    letter-spacing: 0.2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.details-top-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.details-info__tags {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tag {
    margin-bottom: 1rem;
    color: #555;
    padding: 0.5rem 1.5rem;
    border-radius: 999px;
    font-size: 1rem;
    text-align: center;
    width: 240px;
    font-weight: var(--fw-regular);
    border: 1px solid #555;
}

.primer-section .tag {
    background-color: transparent;
}

.details-formats {
    border: 1px solid #555;
    padding: 1rem 1.5rem 1rem 0.5rem;
    border-radius: 5rem;
    display: flex;
    align-items: center;
    width: fit-content;
}

.details-info__desc {
    color: #555;
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.details-photo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.details-photo img {
    max-width: 340px;
    height: auto;
    object-fit: contain;
}

/* Formatos de Venda */
.formats-title {
    font-size: 0.875rem;
    font-weight: var(--fw-regular);
    color: #555;
}

.formatos-grid {
    display: flex;
}

.formato-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    padding-left: 1.5rem;
}

.formato-item img {
    max-height: 40px;
    object-fit: contain;
}

.formato-item span {
    display: block;
    font-size: 0.75rem;
    color: #555;
}

.formato-item strong {
    color: var(--text-dark);
    font-size: 0.75rem;
}

.details-colors {
    grid-column: 1 / -1;
    background-color: #d8d2d2;
    padding: 2rem 4rem;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
}

.details-colors h3 {
    font-size: 2.25rem;
    color: #555;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.colors-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 6rem;
}

.color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.color-item img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.color-item span {
    font-size: 1.5rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 0.5rem;
}

.color-item p {
    font-size: 1.1rem;
    color: #666;
    max-width: 160px;
    line-height: 1.3;
}

/* --- CARROSSEL DINÂMICO (INSERIDO CONFORME SOLICITADO) --- */
.geis-products-carousel {
    padding: 4rem 0 6rem;
}

.carousel-section-title {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 3rem;
    color: #555;
    letter-spacing: 0.4rem;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.carousel-track-container {
    flex: 1;
    margin: 0 1rem;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 4rem;
    transition: transform 0.4s ease-in-out;
}

.carousel-card {
    flex: 0 0 calc((100% - 8rem) / 3); 
    border: 1px solid #9e98d8;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 320px;
    min-height: 340px;
}

.carousel-card img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    padding: 1.5rem 1.5rem 0;
    margin-bottom: 0;
}

.card-text-content {
    background: var(--primary-color);
    padding: 0.8rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel-card h3 {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 0.3rem;
    min-height: auto;
}

.carousel-card .price {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.carousel-btn {
    background: var(--white);
    border: 1px solid #EAEAEA;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: var(--text-dark);
    font-size: 1.2rem;
    z-index: 2;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: #F0F0F0;
}

/* --- ESTILOS DOS PONTINHOS (PAGINAÇÃO) --- */
.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot:hover {
    transform: scale(1.2);
}

.dot.active {
    background-color: var(--primary-color);
}

@media (max-width: 900px) {
    /* Menu Links */
    .breadcrumb {
        flex-wrap: wrap; /* Permite que os links quebrem de linha se não couberem */
    }

    /* Detalhes */
    .details-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .reverse-grid {
        /* No mobile, imagem em cima, texto embaixo */
        display: flex;
        flex-direction: column-reverse;
    }

    .details-info {
        text-align: center;
    }

    /* O PULO DO GATO: Transforma a linha de (Tags + Formatos) em coluna no mobile */
    .details-top-content {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .details-info__tags {
        align-items: center; /* Centraliza as tags em formato de coluna */
    }

    /* Centraliza o bloco de formatos de venda */
    .details-formats {
        margin: 0 auto; 
    }

    .formatos-grid {
        justify-content: center;
    }

    /* Seção de Cores */
    .colors-grid {
        gap: 2rem;
        flex-wrap: wrap; /* Evita que as cores estourem a tela */
    }

    .details-colors {
        padding: 2rem; /* Reduz os 4rem laterais do desktop */
    }

    /* --- CARROSSEL (MANTIDO) --- */
    .carousel-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 600px) {
    .page-title {
        font-size: 1.25rem;
        padding: 0.5rem 1rem;
    }

    .preparadores-intro h1 {
        font-size: 2.25rem; /* Evita título gigante no mobile */
    }

    .intro-text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .intro-products {
        flex-direction: column;
        gap: 2rem;
    }

    /* Reduz as bordas e paddings do card principal */
    .details-grid {
        padding: 1.5rem 1rem;
        border-radius: 1.5rem;
        grid-template-columns: 1fr;
    }

    .details-info__title {
        font-size: 2rem; /* Reduzido de 3rem */
        letter-spacing: 0.1rem;
    }

    .details-info__desc {
        font-size: 1rem;
    }

    /* Proteção para a tag não vazar em telas muito finas */
    .tag {
        width: 100%;
        max-width: 240px;
    }

    /* Reorganiza os formatos de venda */
    .details-formats {
        flex-direction: column; /* Coloca o título "Formatos de venda" em cima dos itens */
        padding: 1.5rem 1rem;
        border-radius: 2rem;
    }

    .formatos-grid {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        margin-top: 1rem;
    }

    .formato-item {
        width: 100%;
        max-width: 100%;
        padding-left: 0; /* Remove o padding lateral do desktop para centralizar perfeitamente */
        justify-content: center;
    }

    /* Cores no celular */
    .details-colors {
        padding: 1.5rem 1rem;
    }

    .details-colors h3 {
        font-size: 1.75rem;
    }

    .colors-grid {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    /* --- CARROSSEL (MANTIDO) --- */
    .carousel-card {
        flex: 0 0 100%;
    }

    .carousel-dots {
        display: none;
    }

    .carousel-card .price {
        font-size: 1rem;
    }
}