.single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #reviews {
    margin-top: 10px;
    padding: 24px;
    border: 1px solid #ead8c0;
    border-radius: 14px;
    background: linear-gradient(180deg, #fffdf9 0%, #fff8f0 100%);
    box-shadow: 0 10px 24px rgba(84, 56, 29, 0.08);
}

.single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #reviews .woocommerce-Reviews-title {
    margin: 0 0 18px;
    color: #2f241a;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
}

.single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #reviews ol.commentlist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #reviews ol.commentlist li.review {
    margin: 0 0 14px;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #f0e1cd;
    background: #fff;
}

.single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #reviews ol.commentlist li.review .star-rating {
    color: #e2a247;
}

.single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #review_form_wrapper {
    margin-top: 20px;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #ecdcc6;
    background: #fff;
}

.single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #review_form .comment-reply-title {
    color: #2f241a;
    font-size: 20px;
    font-weight: 700;
}

.single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #review_form .comment-form label {
    color: #4a3a2b;
    font-weight: 600;
}

.single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #review_form input[type="text"],
.single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #review_form input[type="email"],
.single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #review_form textarea,
.single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #review_form select {
    border: 1px solid #dcc6a8;
    border-radius: 8px;
    background: #fffdfa;
}

.single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #review_form textarea {
    min-height: 140px;
}

.single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #review_form input:focus,
.single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #review_form textarea:focus,
.single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #review_form select:focus {
    border-color: #d1913f;
    box-shadow: 0 0 0 3px rgba(209, 145, 63, 0.18);
    outline: none;
}

.single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #review_form .form-submit .submit {
    border: 0;
    border-radius: 8px;
    padding: 12px 24px;
    color: #fff;
    font-weight: 700;
    background: linear-gradient(135deg, #d1913f 0%, #b2742e 100%);
}

.single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #review_form .form-submit .submit:hover {
    filter: brightness(1.05);
}

@media (max-width: 768px) {
    .single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #reviews {
        padding: 16px;
    }

    .single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #reviews .woocommerce-Reviews-title {
        font-size: 22px;
    }

    .single-product .woocommerce .woocommerce-tabs.wc-tabs-wrapper #review_form_wrapper {
        padding: 14px;
    }
}

@keyframes plugin-casadecants-shipping-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.single-product #wc-shipping-simulator .shipping-simulator-wrapper .calculate.loading {
    position: relative;
    overflow: hidden;
    color: transparent !important;
    text-shadow: none !important;
    background-image: none !important;
    padding-right: 0 !important;
}

.single-product #wc-shipping-simulator .shipping-simulator-wrapper .calculate.loading::before {
    content: "" !important;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 17px;
    height: 17px;
    margin: 0;
    border-radius: 50%;
    border: 2px solid rgba(31, 31, 31, 0.28);
    border-top-color: #1f1f1f;
    transform: translate(-50%, -50%);
    animation: plugin-casadecants-shipping-spin 0.7s linear infinite;
    display: block !important;
}

.single-product #wc-shipping-simulator .shipping-simulator-wrapper .calculate.loading::after {
    content: none !important;
    display: none !important;
}

.single-product #wc-shipping-simulator .loading-icon,
.single-product #wc-shipping-simulator .loading-icon .spinner {
    display: none !important;
}

/* Shipping simulator: keep CEP readable and results stable on mobile. */
.single-product #wc-shipping-simulator #fshipping-results {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.single-product #wc-shipping-simulator #fshipping-results .table-freight {
    width: 100%;
    margin-top: 10px;
    border-collapse: collapse;
    table-layout: fixed;
}

.single-product #wc-shipping-simulator #fshipping-results .table-freight th,
.single-product #wc-shipping-simulator #fshipping-results .table-freight td {
    padding: 10px 9px;
    vertical-align: top;
    line-height: 1.35;
    font-size: 14px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.single-product #wc-shipping-simulator #fshipping-results .table-freight th:last-child,
.single-product #wc-shipping-simulator #fshipping-results .table-freight td:last-child {
    width: 102px;
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .single-product #wc-shipping-simulator .shipping-simulator-wrapper {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 88px;
        align-items: stretch;
        gap: 8px;
    }

    .single-product #wc-shipping-simulator .shipping-simulator-wrapper label {
        width: auto !important;
        min-width: 0;
        padding: 0 10px !important;
        border-radius: 12px;
    }

    .single-product #wc-shipping-simulator .shipping-simulator-wrapper label .icon {
        width: 23px;
        height: 23px;
        margin-right: 8px;
    }

    .single-product #wc-shipping-simulator .shipping-simulator-wrapper label .text {
        font-size: 0 !important;
        flex: 0 0 auto;
        margin-right: 0;
    }

    .single-product #wc-shipping-simulator .shipping-simulator-wrapper label .text::before {
        content: "Simulador de frete:";
        font-size: 11px;
        font-weight: 700;
        color: #5b6470;
        letter-spacing: 0.02em;
    }

    .single-product #wc-shipping-simulator .shipping-simulator-wrapper label input {
        min-width: 0;
        width: auto !important;
        padding-left: 8px;
        font-size: 17px;
        font-weight: 700;
        letter-spacing: 0.01em;
    }

    .single-product #wc-shipping-simulator .shipping-simulator-wrapper .calculate {
        width: 88px !important;
        min-width: 88px;
        border-radius: 12px;
    }

    .single-product #wc-shipping-simulator #fshipping-results .table-freight {
        table-layout: auto;
    }

    .single-product #wc-shipping-simulator #fshipping-results .table-freight th,
    .single-product #wc-shipping-simulator #fshipping-results .table-freight td {
        padding: 8px 7px;
        font-size: 13px;
    }

    .single-product #wc-shipping-simulator #fshipping-results .table-freight th:last-child,
    .single-product #wc-shipping-simulator #fshipping-results .table-freight td:last-child {
        width: 92px;
    }

    .single-product .shop-single-v1-section .summary .wrap-title-price .product_title.entry-title {
        margin-bottom: 6px !important;
        line-height: 1.15;
    }

    .single-product .shop-single-v1-section .summary .wrap-title-price .tipo_de_perfume {
        margin-top: 0 !important;
        margin-bottom: 4px !important;
        padding-bottom: 0 !important;
        line-height: 1.2;
    }
}
