/* Forma de entrega: linha azul do campo CEP completa até o botão Calcular */
.shipping-quotation-wrapper #shipping-quotation .postcode-input .control {
    flex: 1 1 0%;
    min-width: 0;
}
.shipping-quotation-wrapper #shipping-quotation .postcode-input input {
    width: 100%;
    min-width: 0;
    flex: 1 1 0%;
}

/* Galeria produto Havan: uma única imagem – esconder setas e paginação */
#havan-gallery.havan-gallery-single .main-swiper .swiper-button-prev,
#havan-gallery.havan-gallery-single .main-swiper .swiper-button-next,
#havan-gallery.havan-gallery-single .main-swiper .swiper-pagination {
    display: none !important;
}
#havan-gallery.havan-gallery-single .thumbs-swiper {
    display: none !important;
}

/* Fonte de ícones Havan servida localmente para evitar bloqueio CORS ao abrir por file:// ou outro domínio */
@font-face {
    font-family: 'hvn-icons';
    src: url('../fonts/HvnIconFont/HvnIconFont.woff2') format('woff2'),
         url('../fonts/HvnIconFont/HvnIconFont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

/* Sobre o produto: Detalhes e Ficha técnica – alinhamento e layout */
#accordion-product-details .product-accordion-content,
#accordion-technical-sheet .product-accordion-content {
    padding: 16px;
    font-size: 1.4rem;
    color: #334156;
    line-height: 1.5;
    box-sizing: border-box;
    width: 100%;
    overflow-wrap: break-word;
}
#accordion-product-details .product-accordion-content {
    padding-top: 0;
    padding-bottom: 20px;
}
#accordion-technical-sheet .product-accordion-content {
    padding-top: 0;
    padding-bottom: 20px;
}
#accordion-product-details .product-accordion-content p,
#accordion-technical-sheet .product-accordion-content p {
    margin: 0 0 1rem;
}
#accordion-product-details .product-accordion-content p:last-child,
#accordion-technical-sheet .product-accordion-content p:last-child {
    margin-bottom: 0;
}
/* Conteúdo rico (editor): alinhar e limitar largura */
#accordion-product-details .product-accordion-content > *,
#accordion-product-details .product-accordion-content .prose,
#accordion-product-details .product-accordion-content [class*="tiptap"] {
    max-width: 100%;
    text-align: left;
}
/* Ficha técnica: tabela 100% alinhada */
.product-accordion-content .table-technical-sheet {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 1.3rem;
    margin: 0;
}
.product-accordion-content .table-technical-sheet tbody {
    display: table;
    width: 100%;
}
.product-accordion-content .table-technical-sheet tr:nth-child(odd) {
    background-color: #f0f4f8;
}
.product-accordion-content .table-technical-sheet tr:nth-child(even) {
    background-color: #f8fafc;
}
.product-accordion-content .table-technical-sheet td {
    padding: 10px 12px;
    vertical-align: middle;
    border: none;
}
.product-accordion-content .table-technical-sheet td:first-child {
    width: 42%;
    max-width: 220px;
    font-weight: 500;
    color: #334156;
}
.product-accordion-content .table-technical-sheet td:last-child {
    text-align: right;
    color: #1e293b;
    font-size: 1.3rem;
    font-weight: 400;
}

/* Botão Adicionar ao carrinho: igual print 1 (azul sólido, texto branco, cantos arredondados) */
.catalog-product-view .product-info-main .product-add-form .actions .action.primary.tocart,
#product-addtocart-button {
    background-color: var(--bg-primary-dark);
    color: #fff;
    border: 1px solid var(--border-primary-dark);
    border-radius: var(--radius-group);
    font-weight: 600;
    width: 100%;
    min-height: 48px;
    padding: 14px 17px;
    font-size: 1.8rem;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.catalog-product-view .product-info-main .product-add-form .actions .action.primary.tocart .text,
#product-addtocart-button .text {
    color: #fff;
}
.catalog-product-view .product-info-main .product-add-form .actions .action.primary.tocart:hover,
#product-addtocart-button:hover {
    background-color: var(--bg-primary-medium);
    border-color: var(--border-primary-medium);
    color: #fff;
}

/* Botão Comprar agora: fundo branco, texto e borda azul (igual print 1) */
.havan-buynow-button .action.secondary.redirect-to-cart {
    background-color: #fff;
    color: var(--content-primary-dark);
    border: 1.5px solid var(--border-primary-dark);
    width: 100%;
}
.havan-buynow-button .action.secondary.redirect-to-cart:hover {
    background-color: var(--bg-primary-lightest);
    color: var(--content-primary-medium);
    border-color: var(--border-primary-medium);
}

/* Avaliações: data e link */
.container-review .content-review .review-card .header-content .title-card .date {
    color: var(--content-neutral-medium);
    font-size: var(--body-sm);
    font-weight: var(--fw-regular);
    margin-left: 4px;
}
.container-review .content-review .review-card .review-text {
    color: var(--content-neutral-darkest);
    font-size: var(--body-md);
    margin: 8px 0 0;
}
.container-review .content-review .link.view-all-reviews {
    color: var(--content-primary-dark);
    font-size: var(--body-md);
    font-weight: var(--fw-semibold);
    margin-top: 16px;
    display: inline-block;
    text-decoration: underline;
}

/* Preview de imagens nas avaliações (Havan) */
.container-review .content-review .review-card .images {
    margin: 12px 0 0;
}
.container-review .content-review .review-card .images div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.container-review .content-review .review-card .images div img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
}

/* Layout avaliações estilo print: nota + estrelas em linha, contador abaixo discreto */
.review-section.havan-reviews-design .header-review .rating-summary {
    display: flex;
    align-items: flex-start;
}
.review-section.havan-reviews-design .header-review .rating-summary .rating-summary-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.review-section.havan-reviews-design .header-review .rating-summary .rating-details {
    display: flex;
    align-items: center;
    gap: 8px;
}
.review-section.havan-reviews-design .header-review .rating-summary .qtd-reviews {
    font-size: 1.2rem;
    color: var(--content-neutral-medium);
    font-weight: var(--fw-regular);
    margin: 0;
    line-height: 1.3;
}

/* Estrelas no header de avaliações (4.9 e 5 estrelas azuis) */
.review-section.havan-reviews-design .header-review .rating-summary .rating-result,
.container-review .header-review .rating-summary .rating-result {
    width: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.review-section.havan-reviews-design .header-review .rating-summary .rating-result:before,
.container-review .header-review .rating-summary .rating-result:before {
    color: var(--border-primary-light);
    content: '\e625' '\e625' '\e625' '\e625' '\e625';
    font-family: hvn-icons;
}
.review-section.havan-reviews-design .header-review .rating-summary .rating-result span:before,
.container-review .header-review .rating-summary .rating-result span:before {
    color: var(--content-primary-medium);
    content: '\e605' '\e605' '\e605' '\e605' '\e605';
    font-family: hvn-icons;
    letter-spacing: 2px;
}
/* Estrelas azuis nos cards de avaliação */
.container-review .content-review .review-card .header-content .rating-summary.review-card-stars .rating-result:before,
.container-review .content-review .review-card .header-content .rating-summary .rating-result:before {
    color: var(--border-primary-light);
    content: '\e625' '\e625' '\e625' '\e625' '\e625';
    font-family: hvn-icons;
}
.container-review .content-review .review-card .header-content .rating-summary.review-card-stars .rating-result span:before,
.container-review .content-review .review-card .header-content .rating-summary .rating-result span:before {
    color: var(--content-primary-medium);
    font-family: hvn-icons;
}
