* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
    color: #222;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    background: #111;
    border-bottom: 1px solid #e5e5e5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 64px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    color: #fff;
    text-decoration: none;
    font-size: 21px;
    font-weight: 700;
    font-family: 'Nunito', serif;
}

.back-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.back-link:hover {
    color: #111;
}


/* =========================================================
   PÁGINA
   ========================================================= */

.product-page {
    padding: 35px 20px 60px;
}

.product-container {
    width: min(1200px, 100%);
    margin: 0 auto;
}


/* =========================================================
   PRODUTO PRINCIPAL
   ========================================================= */

.product-main {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(400px, 1fr);
    gap: 45px;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}


/* =========================================================
   IMAGEM
   ========================================================= */

.product-image-area {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.product-image-box {
    width: 100%;
    max-width: 520px;
    height: 520px;

    background: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    border-radius: 10px;
}

.produto-image {

    width: 100%;

    height: 100%;

    object-fit: contain;

    transition: .4s;


    border-radius: 15px;

}



.product-image {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}

.image-unavailable {
    width: 100%;
    max-width: 520px;
    height: 520px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f2f2f2;
    color: #777;

    border-radius: 10px;
}


/* =========================================================
   INFORMAÇÕES
   ========================================================= */

.product-info {
    padding: 5px 0;
}

.recommended-badge {
    display: inline-block;

    padding: 7px 12px;
    margin-bottom: 15px;

    border-radius: 5px;

    background: #fff4d6;
    color: #8a5a00;

    font-size: 13px;
    font-weight: 600;
}

.product-info h1 {
    margin: 0 0 22px;

    font-size: 28px;
    line-height: 1.35;

    font-weight: 600;
    color: #222;
}

.product-price {
    margin-bottom: 18px;

    font-size: 34px;
    font-weight: 700;

    color: #111;
}

.product-status {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;

    margin-bottom: 25px;
}

.status {
    font-size: 14px;
}

.status.available {
    color: #188038;
}

.status.unavailable {
    color: #d93025;
}

.condition {
    padding-left: 12px;

    border-left: 1px solid #ddd;

    color: #555;
    font-size: 14px;
}


/* =========================================================
   BOTÃO
   ========================================================= */

.buy-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 54px;

    padding: 14px 20px;

    border-radius: 7px;

    background: #1565C0;
    color: #ffffff;

    text-decoration: none;

    font-size: 16px;
    font-weight: 700;
    font-family: 'Nunito', serif;

    transition:
        transform 0.15s ease,
        opacity 0.15s ease;
}

.buy-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.buy-button:active {
    transform: translateY(0);
}


/* =========================================================
   AVISO AFILIADO
   ========================================================= */

.affiliate-notice {
    margin: 14px 0 0;

    color: #777;

    font-size: 12px;
    line-height: 1.6;

    text-align: center;
}


/* =========================================================
   SEÇÕES
   ========================================================= */

.product-section {
    margin-top: 20px;

    background: #ffffff;

    padding: 30px;

    border-radius: 12px;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.product-section h2 {
    margin: 0 0 22px;

    font-size: 21px;
    font-weight: 600;

    color: #222;

    padding-bottom: 15px;

    border-bottom: 1px solid #eeeeee;
}



/* =========================================================
   DETALHES
========================================================= */

.product-details {
    display: flex;
    flex-direction: column;
}

.detail-row {
    display: grid;
    grid-template-columns: 180px 1fr;

    padding: 15px 0;

    border-bottom: 1px solid #eeeeee;
}

.detail-row:last-child {
    border-bottom: 0;
}

.detail-label {
    color: #777;
    font-size: 14px;
}

.detail-value {
    color: #222;
    font-size: 14px;
    font-weight: 500;
}


/* =========================================================
   DESCRIÇÃO
   ========================================================= */

.description {
    color: #444;
    font-size: 15px;
    line-height: 1.7;
}

.description-subtitle {
    margin: 28px 0 14px;

    font-size: 18px;
    line-height: 1.4;

    font-weight: 700;

    color: #222;
}

.description-subtitle:first-child {
    margin-top: 0;
}

.description-paragraph {
    margin: 0 0 15px;

    line-height: 1.75;
}

.description-list {
    margin: 8px 0 22px;
    padding-left: 24px;
}

.description-list li {
    margin-bottom: 9px;
    padding-left: 5px;

    line-height: 1.65;
}

.description-divider {
    width: 100%;
    height: 1px;

    margin: 25px 0;

    background: #e5e5e5;
}

/* =========================================================
   INFORMAÇÃO SOBRE A RECOMENDAÇÃO
   ========================================================= */

.recommendation-info {
    margin-top: 20px;

    display: flex;
    gap: 15px;

    padding: 20px;

    border-radius: 10px;

    background: #ffffff;

    border: 1px solid #e6e6e6;
}

.recommendation-icon {
    width: 30px;
    height: 30px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eeeeee;

    font-weight: 700;
}

.recommendation-info strong {
    display: block;

    margin-bottom: 5px;

    font-size: 14px;
}

.recommendation-info p {
    margin: 0;

    color: #666;

    font-size: 13px;
    line-height: 1.6;
}





/* ==========================================================
   NOVO LAYOUT DO BOTÃO DE COMPRA
========================================================== */



/* ==========================================================
   CAIXA DE COMPRA
========================================================== */

.purchase-box {

    margin-top: 22px;

    padding: 20px;

    border: 1px solid #e5e7eb;

    border-radius: 14px;

    background: #ffffff;

    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);

}


/* ==========================================================
   CABEÇALHO DA COMPRA
========================================================== */

.purchase-box-header {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 18px;

}


.purchase-store-icon {

    width: 42px;

    height: 42px;

    display: flex;

    border-radius: 50%;

    justify-content: center;

    align-items: center;

    background: #fff3e8;

    font-size: 21px;

    flex-shrink: 0;

    line-height: 1;



}


.purchase-box-header strong {

    display: block;

    font-size: 16px;

    line-height: 1.3;

}


.purchase-box-header div>span {

    display: block;

    margin-top: 3px;

    font-size: 13px;

    color: #6b7280;

}


/* ==========================================================
   PREÇO
========================================================== */

.purchase-price-info {

    display: flex;

    align-items: baseline;

    justify-content: space-between;

    gap: 10px;

    padding: 13px 0;

    margin-bottom: 14px;

    border-top: 1px solid #eeeeee;

    border-bottom: 1px solid #eeeeee;

}


.purchase-price-label {

    font-size: 13px;

    color: #6b7280;

}


.purchase-price-info strong {

    font-size: 22px;

    font-weight: 800;

}


/* ==========================================================
   BOTÃO DE COMPRA
========================================================== */

.purchase-box .buy-button {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    width: 100%;

    min-height: 54px;

    box-sizing: border-box;

    border-radius: 10px;

    text-decoration: none;

    font-size: 17px;

    font-weight: 800;

    transition:

        transform 0.2s ease,

        box-shadow 0.2s ease,

        opacity 0.2s ease;

}


.purchase-box .buy-button:hover {

    transform: translateY(-2px);

    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.14);

}


.purchase-box .buy-button:active {

    transform: translateY(0);

}


.buy-button-arrow {

    font-size: 21px;

    line-height: 1;

}


/* ==========================================================
   AVISO DE REDIRECIONAMENTO
========================================================== */

.purchase-box .affiliate-notice {

    margin: 10px 0 0;

    text-align: center;

    font-size: 12px;

    line-height: 1.5;

    color: #6b7280;

}


/* ==========================================================
   TRANSPARÊNCIA
========================================================== */

.purchase-trust {
    display: flex;
    flex-direction: column;
    /* Coloca uma frase abaixo da outra */
    gap: 8px;
    /* Espaçamento vertical entre as frases */
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eeeeee;
    font-size: 12px;
    line-height: 1.4;
    color: #4b5563;
}

/* Cada linha individual alinha o ícone com o texto */
.trust-item {
    display: flex;
    align-items: center;
    /* Alinha o ícone verticalmente ao centro da frase */
    gap: 6px;
    /* Espaçamento entre o ícone de check e o texto */
}

/* Estilo opcional para destacar a cor do ícone check da Bootstrap */
.trust-item span i {
    color: #10b981;
    /* Deixa o check verde (opcional) */
    font-weight: bold;
}


.purchase-trust span {

    font-weight: 800;

}















/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #ffffff;
    border-top: 1px solid #e5e5e5;

    padding: 25px 20px;
}

.footer-container {
    width: min(1200px, 100%);
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;

    color: #777;
    font-size: 13px;
}

.footer-container a {
    color: #555;
    text-decoration: none;
}


/* =========================================================
   LAYOUT PRODUTO + SUGESTÕES
   ========================================================= */

.product-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) 310px;

    gap: 20px;

    align-items: start;
}

.product-content {
    min-width: 0;
}


/* =========================================================
   CARD DE SUGESTÕES
   ========================================================= */

.suggestions-card {
    background: #ffffff;

    border-radius: 12px;

    padding: 20px;

    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.05);

    position: sticky;

    top: 84px;
}

.suggestions-card h2 {
    margin: 0 0 18px;

    padding-bottom: 15px;

    border-bottom: 1px solid #eeeeee;

    font-size: 19px;

    line-height: 1.35;

    font-weight: 600;

    color: #222;
}


/* =========================================================
   LISTA
   ========================================================= */

.suggestions-list {
    display: flex;

    flex-direction: column;

    gap: 18px;
}


/* =========================================================
   PRODUTO SUGERIDO
   ========================================================= */

.suggestion-product {
    display: grid;

    grid-template-columns: 92px 1fr;

    gap: 12px;

    text-decoration: none;

    color: inherit;

    padding-bottom: 18px;

    border-bottom: 1px solid #eeeeee;

    transition:
        transform 0.15s ease,
        opacity 0.15s ease;
}

.suggestion-product:last-child {
    border-bottom: 0;

    padding-bottom: 0;
}

.suggestion-product:hover {
    transform: translateY(-1px);

    opacity: 0.9;
}


/* =========================================================
   IMAGEM
   ========================================================= */

.suggestion-image {
    width: 92px;
    height: 92px;

    border-radius: 8px;

    background: #f7f7f7;

    overflow: hidden;

    display: flex;

    align-items: center;

    justify-content: center;
}

.suggestion-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    display: block;
}


/* =========================================================
   INFORMAÇÕES
   ========================================================= */

.suggestion-info {
    min-width: 0;
}

.suggestion-info h3 {
    margin: 0 0 8px;

    font-size: 13px;

    line-height: 1.4;

    font-weight: 500;

    color: #333;

    display: -webkit-box;

    -webkit-line-clamp: 3;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================================
   AVALIAÇÃO
   ========================================================= */

.suggestion-rating {
    display: flex;

    align-items: center;

    gap: 5px;

    margin-bottom: 6px;
}

.stars {
    font-size: 12px;

    letter-spacing: 0;

    color: #f5a623;
}

.rating-number {
    font-size: 11px;

    color: #777;
}


/* =========================================================
   PREÇO
   ========================================================= */

.suggestion-price {
    font-size: 16px;

    line-height: 1.3;

    font-weight: 700;

    color: #111;
}



/* =========================================================
   PÁGINAS INSTITUCIONAIS
   FRETE / DEVOLUÇÕES
   ========================================================= */

.policy-page {
    background: #ffffff;

    border-radius: 12px;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);

    overflow: hidden;
}


/* =========================================================
   CABEÇALHO DA POLÍTICA
   ========================================================= */

.policy-header {
    padding: 40px 45px 32px;

    border-bottom: 1px solid #eeeeee;
}

.policy-badge {
    display: inline-block;

    padding: 7px 12px;

    margin-bottom: 15px;

    border-radius: 5px;

    background: #fff4d6;

    color: #8a5a00;

    font-size: 13px;

    font-weight: 600;
}

.policy-header h1 {
    margin: 0 0 14px;

    color: #222;

    font-size: 32px;

    line-height: 1.3;

    font-weight: 600;
}

.policy-intro {
    max-width: 800px;

    margin: 0;

    color: #666;

    font-size: 16px;

    line-height: 1.7;
}


/* =========================================================
   CONTEÚDO
   ========================================================= */

.policy-content {
    padding: 35px 45px 45px;

    color: #444;

    font-size: 15px;

    line-height: 1.8;
}

.policy-content h2 {
    margin: 32px 0 12px;

    color: #222;

    font-size: 19px;

    line-height: 1.4;

    font-weight: 600;
}

.policy-content h2:first-child {
    margin-top: 0;
}

.policy-content p {
    margin: 0 0 14px;
}

.policy-content strong {
    color: #222;
}


/* =========================================================
   DESTAQUE
   ========================================================= */

.policy-highlight {
    margin-top: 35px;

    padding: 20px 22px;

    background: #f8f8f8;

    border-left: 4px solid #222;

    border-radius: 6px;
}

.policy-highlight strong {
    display: block;

    margin-bottom: 6px;

    font-size: 15px;
}

.policy-highlight p {
    margin: 0;

    color: #555;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================================
   DATA DE ATUALIZAÇÃO
   ========================================================= */

.policy-updated {
    margin-top: 35px !important;

    padding-top: 20px;

    border-top: 1px solid #eeeeee;

    color: #888;

    font-size: 12px;
}


/* =========================================================
   AVALIAÇÃO DO PRODUTO
   ========================================================= */

.produto-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    margin: -8px 0 20px;
}

.produto-rating-stars {
    display: inline-flex;
    align-items: center;

    color: #f5a623;

    font-size: 18px;
    letter-spacing: 1px;

    line-height: 1;
}

.produto-rating-value {
    color: #222;

    font-size: 14px;
    font-weight: 700;
}

.produto-rating-count {
    color: #777;

    font-size: 13px;
}

.produto-rating-count::before {
    content: "(";
}

.produto-rating-count::after {
    content: ")";
}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 600px) {

    .policy-page {
        border-radius: 8px;
    }

    .policy-header {
        padding: 28px 20px 24px;
    }

    .policy-header h1 {
        font-size: 25px;
    }

    .policy-intro {
        font-size: 14px;
        line-height: 1.7;
    }

    .policy-content {
        padding: 25px 20px 30px;

        font-size: 14px;

        line-height: 1.75;
    }

    .policy-content h2 {
        margin-top: 28px;

        font-size: 18px;
    }

    .policy-highlight {
        padding: 17px;
    }


    .produto-rating {
        margin: -5px 0 18px;
    }

    .produto-rating-stars {
        font-size: 17px;
    }

    .produto-rating-value {
        font-size: 13px;
    }

    .produto-rating-count {
        font-size: 12px;
    }


}




/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .product-main {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-image-box {
        max-width: 600px;
        height: 500px;
    }

    .product-info h1 {
        font-size: 25px;
    }

    .product-layout {
        grid-template-columns: 1fr;
    }

    .suggestions-card {
        position: static;
    }

}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 600px) {

    .header-container {
        width: calc(100% - 30px);
        min-height: 58px;
    }

    .logo {
        font-size: 18px;

    }

    .product-page {
        padding: 15px 10px 40px;
    }

    .product-main {
        padding: 18px;
        border-radius: 8px;
    }

    .product-image-box {
        height: 330px;
    }

    .product-info h1 {
        font-size: 21px;
        line-height: 1.4;
    }

    .product-price {
        font-size: 29px;
    }

    .product-section {
        padding: 20px;
        border-radius: 8px;
    }

    .product-section h2 {
        font-size: 19px;
    }

    .detail-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .recommendation-info {
        padding: 16px;
    }

    .footer-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

}