/*** Import *****/
@import url('loading-btn.css');
@import url('loading-group.css');
@import url('mona-alert.css');
@import url('mona-empty.css');

/*** End ****/

.blog-info-tag span:before {
    content: ',';
    position: absolute;
    bottom: 6px;
    right: 0;
    height: 100%;
    font-size: 16px;
    width: auto;
    padding-right: 5px;
}

.blog-info-tag span {
    position: relative;
    display: inline-block;
    padding-right: 10px;
}

.blog-info-tag span:last-child:before {
    display: none
}

.wpcf7 form .wpcf7-response-output {
    border: 0;
    margin: 15px 0;
    padding: 0;
    font-weight: bold;
    font-size: 12px;
}

.wpcf7 form.sent .wpcf7-response-output {
    color: #46b450;
}

.wpcf7 form.invalid .wpcf7-response-output {
    color: red;
}

span.price-from {
    display: none;
}

#wp-admin-bar-wp-logo a img {
    max-width: 32px;
}

.core-values-sect.deferred-render {
    display: none;
}

.wpcf7-not-valid-tip {
    font-size: 1rem;
}

.wpcf7-form input.hidden {
    display: none;
}

.ft-bank .i-list .i-bank img {
    width: auto;
    height: 100%;
}

.ft-fnews .b-form .form-inner .wpcf7-form-control-wrap {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    border: unset;
    outline: unset;

}

.wpcf7-spinner {
    position: absolute;
}

form .wpcf7-not-valid-tip::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 0.5rem solid transparent;
    border-right: 0.5rem solid transparent;
    border-bottom: 0.5rem solid #bb0000;
    bottom: 100%;
    right: 1.6rem;
}

form .wpcf7-not-valid-tip {
    font-size: 1rem !important;
    padding: 0.6rem;
    border-radius: 0.4rem;
    background-color: #bb0000;
    color: #FFF;
    width: fit-content;
    position: absolute;
    bottom: -35px;
    right: 1.6rem;
    z-index: 10;
    font-weight: 600;
}

.t-title.page {
    font-weight: 400;
    font-size: 2.4rem;
}

.mona-content #toc_container {
    display: none;
}



.bnh-prd .btn-link,
.bnh-prd .t-des,
.sec-abp .b-image,

.sec-abp .t-des,
.sec-abp .i-shopee {
    display: none !important;
}



.sec-abp .add_to_cart_button .t-old {
    position: unset !important;
    background: unset !important;
    color: unset !important;
    padding: 0 !important;
    -webkit-transform: unset !important;
    transform: unset !important;
    font-size: 1.3rem !important;
}

/* .woocommerce form .form-row-first {
    width: 100%;
} */

.sec-abp .btn-link .pro-btn-add-to-cart:hover .t-price .t-new,
.sec-abp .btn-link .pro-btn-add-to-cart:hover .t-price .t-old {
    color: #000;
}

.sec-abp .btn-link .pro-btn-add-to-cart:hover::after {
    width: 0;
}

.sec-abp .pro-btn-add-to-cart .t-price {
    flex-direction: row;
}

.sec-abp .add_to_cart_button .text,
.sec-abp .add_to_cart_button i {
    display: none !important;
}

.bnh-prd .prd-it .b-head,
.sec-abp .prd-it .b-head {
    order: 1;
    flex-direction: row-reverse !important;
    display: flex;
}

.bnh-prd .b-inner .b-image {
    order: 2;
}

.has-text-align-center {
    text-align: center;
}

a.added_to_cart {
    display: none !important;
}

.woocommerce-checkout #payment {
    background: unset !important;
}

/* .woocommerce-additional-fields {
    padding: 0 1rem 2rem;
} */

.woocommerce-checkout #payment div.payment_box {
    display: none !important;
}

.woocommerce-checkout #payment div.payment_box {
    background-color: #e4e7ec;
}

.woocommerce-checkout #payment div.payment_box::before {
    border: 1em solid #e4e7ec;
    border-right-color: transparent;
    border-left-color: transparent;
    border-top-color: transparent;
}



.checkout_coupon.woocommerce-form-coupon {
    max-width: 80rem !important;
    margin: 0 auto !important;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: none !important;
}

.checkout_coupon.woocommerce-form-coupon .form-row.form-row-first {
    margin-top: 1rem;
}

.checkout_coupon.woocommerce-form-coupon .form-row.form-row-last {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.woocommerce-info {
    border-top-color: var(--color-pri);
}

.checkout_coupon.woocommerce-form-coupon .form-row.form-row-first input {
    height: 4.8rem !important;
    font-size: 14px;
    border: solid 1px #e1e1e1 !important;
    border-radius: 0.8rem !important;
}

.checkout_coupon.woocommerce-form-coupon .form-row.form-row-last button {
    height: 4rem;
    min-width: 50%;
    background: #0F0F0F !important;
    color: #fff !important;
    -webkit-transition: .3s ease;
    transition: .3s ease;
    border-radius: 10rem !important;
}

.cg-image-default {
    object-fit: contain !important;
}

.payment-method,
#infoTabButton {
    cursor: pointer;
}

.woocommerce form .form-row textarea.input-text {
    width: 100% !important;
}

@media screen and (max-width:768px) {
    .prdrl .btn.trans {
        margin: 0 auto;
    }
}

.variations tr {
    display: flex;
    align-items: center;
}

.woo-selected-variation-item-name {
    display: none !important;
}

.mona-product-price .price {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    gap: 1rem;
    --f-sz: 1.6rem;
    font-size: var(--f-sz);
}


.count-input {
    pointer-events: none;
}

.btn-link {
    display: flex;
    gap: 1rem;
    align-items: center;
}


html:has(.admin-bar) {
    margin-top: 0 !important;
}

/* .t-center {
    text-align: center;
    font-size: 1.2rem;
    margin-top: 1rem;
} */

.ml-auto {
    margin-left: auto;
}

.ft-bot-gr {
    flex-direction: column;
    align-items: normal
}

.ft-sc {
    display: flex;
}

.t14 {
    font-size: 1.4rem;
}

.ft-bot-gr .icon-sign {
    max-width: 99rem;
    gap: 1rem;
}

.ft-logo {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.lb-ip .t-txt a {
    color: black;
    text-decoration: underline;
}

.woocommerce form .form-row {
    position: relative;
}

.hd-control .b-control .i-ctr.i-user img {
    width: 3rem;
    height: 3rem;
}

.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation {
    float: none !important;
    width: 100% !important;
}

p#billing_country_field {
    display: none;
}

.woocommerce form.form-checkout .col-6 {
    width: calc(6 / 12 * 100%) !important;
}

@media screen and (max-width: 768px) {
    .woocommerce form.form-checkout .col-6 {
        width: 100% !important;
    }
}

.woocommerce-address-fields__field-wrapper p#billing_first_name_field {
    order: 1;
}

.woocommerce-address-fields__field-wrapper p#billing_last_name_field {
    order: 2;
}

.woocommerce-address-fields__field-wrapper p#billing_phone_field {
    order: 3;
}

.woocommerce-address-fields__field-wrapper p#billing_email_field {
    order: 4;
}

.woocommerce-address-fields__field-wrapper p#billing_address_1_field {
    order: 5;
}

.woocommerce-address-fields__field-wrapper p#billing_address_2_field {
    order: 6;
}

.woocommerce-address-fields__field-wrapper p#billing_state_field {
    order: 7;
}

.woocommerce-address-fields__field-wrapper p#billing_city_field {
    order: 8;
}

.woocommerce-address-fields__field-wrapper p#billing_country_field {
    order: 9;
}

.woocommerce-address-fields__field-wrapper div#address_custom_field {
    order: 10;
}

/* Container chính */
.address-wrap {
    margin: 16px 0;
}

/* Phần loại địa chỉ */
.op-address {
    margin-bottom: 16px;
}

.op-address .label {
    font-size: 14px;
    margin-bottom: 8px;
    color: #333;
}

.op-address-check {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* Style cho radio button labels */
.op-address-label {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.op-address-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.op-address-label .box {
    display: inline-block;
    padding: 6px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    background: #fff;
    transition: all 0.3s ease;
    min-width: 80px;
    text-align: center;
}

.op-address-label .box .txt {
    font-size: 13px;
    font-weight: 500;
    color: #666;
    transition: color 0.3s ease;
}

/* Active state khi radio được chọn */
.op-address-label input:checked~.box {
    border-color: #007cba;
    background: #007cba;
    box-shadow: 0 1px 4px rgba(0, 124, 186, 0.2);
}

.op-address-label input:checked~.box .txt {
    color: #fff;
}

/* Hover effect */
.op-address-label:hover .box {
    border-color: #007cba;
    transform: translateY(-1px);
}

/* Phần toggle switch */
.op-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
}

.op-toggle-label {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.op-toggle-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.op-toggle-label .op-btn {
    position: relative;
    width: 40px;
    height: 22px;
    background: #e0e0e0;
    border-radius: 11px;
    transition: all 0.3s ease;
    display: inline-block;
}

.op-toggle-label .op-btn::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Active state cho toggle */
.op-toggle-label input:checked~.op-btn {
    background: #007cba;
}

.op-toggle-label input:checked~.op-btn::before {
    transform: translateX(18px);
}

/* Text bên cạnh toggle */
.op-toggle .txt {
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .op-address-check {
        flex-direction: column;
        gap: 6px;
    }

    .op-address-label .box {
        width: 100%;
        min-width: auto;
    }
}

/* CSS cho thẻ phân loại địa chỉ */
.info-address-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

/* Thẻ địa chỉ nhà */
.info-address-tag.home {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.info-address-tag.home:hover {
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

/* Thẻ địa chỉ công ty */
.info-address-tag.work {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.info-address-tag.work:hover {
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

/* Responsive cho mobile */
@media (max-width: 768px) {
    .info-address-tag {
        padding: 3px 10px;
        font-size: 11px;
        margin-bottom: 6px;
    }
}

/* Animation khi load */
@keyframes tagFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-address-tag {
    animation: tagFadeIn 0.5s ease-out;
}

/* Style cho container chứa thẻ */
.info {
    position: relative;
}

/* Optional: Thêm icon cho từng loại */
.info-address-tag.home::before {
    content: "🏠";
    margin-right: 4px;
    font-size: 10px;
}

.info-address-tag.work::before {
    content: "🏢";
    margin-right: 4px;
    font-size: 10px;
}

.acc-mana .b-adress .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.acc-mana .b-adress .i-it .inner .action {
    display: flex;
    align-items: center;
    gap: 10px;
}

.acc-mana .b-adress .i-it .inner .op-toggle {
    margin-top: 0;
}

.acc-mana .b-adress .i-it .inner .op-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.acc-mana .b-adress .i-it .inner .btn-rmv {
    cursor: pointer;
}

.acc-mana .b-adress .i-it .inner .infor-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

@media screen and (max-width: 600px) {
    .acc-mana .b-adress .i-it .inner .t-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .acc-mana .b-adress .i-it .inner .t-head .action {
        justify-content: flex-start;

    }

    .acc-mana .b-adress .head {
        flex-direction: column;
        align-items: flex-start;
    }
}

.i-status-checked {
    cursor: pointer;
}

@media screen and (min-width: 1025px) {
    .acc-mana .b-order .t-head .i-list .i-status-checked input:checked~.t-link {
        background: var(--color-sec);
    }
}

@media screen and (max-width: 1200px) {
    .acc-mana .b-order .t-head .i-list .i-status-checked .t-link {
        padding: .5rem 1rem;
    }
}

.acc-mana .b-order .t-head .i-list .i-status-checked .t-link {
    display: inline-block;
    padding: .8rem 1.6rem;
    color: var(--color-pri);
    --f-sz: 1.6rem;
    font-size: var(--f-sz);
    border-radius: .4rem;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.acc-mana .b-order .t-head .i-list .i-status-checked input {
    display: none;
}

.authcheck-mona input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: auto !important;
}

.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

form.checkout.woocommerce-checkout .form-row.col {
    width: 100% !important;
}

form.checkout.woocommerce-checkout .form-row.col-6 {
    width: calc(6 / 12 * 100%) !important;
}

.woocommerce form.checkout.woocommerce-checkout .form-row-first.col-6,
.woocommerce form.checkout.woocommerce-checkout .form-row-last.col-6 {
    width: 50% !important;
}

@media screen and (max-width: 700px) {
    .woocommerce form.checkout.woocommerce-checkout .form-row.col-6 {
        width: 100% !important;
    }

    .woocommerce form.checkout.woocommerce-checkout .form-row-first,
    .woocommerce form.checkout.woocommerce-checkout .form-row-last {
        width: 100% !important;
    }
}

/* Container cho các phương thức thanh toán */
.wc_payment_methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Style cho từng phương thức thanh toán */
.wc_payment_method,
.woocommerce ul#shipping_method .b-check {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    background: white;
}

.wc_payment_method:hover,
.woocommerce ul#shipping_method .b-check:hover {
    border-color: #cbd5e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wc_payment_method:has(.input-radio:checked),
.woocommerce ul#shipping_method .b-check:has(input[type="radio"]:checked) {
    border-color: var(--color-pri);
}

/* Label cho radio button */
.lb-ip {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    padding: 0;
    width: 100%;
}

.woocommerce ul#shipping_method li .lb-ip {
    display: flex !important;
}

/* Ẩn radio button gốc */
.lb-ip .input-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom radio button */
.check-radio {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    background: white;
}

/* Text của phương thức thanh toán */
.lb-ip .t-txt {
    font-size: 16px;
    font-weight: 500;
    color: #2d3748;
    line-height: 1.4;
    flex: 1;
}

.btn-link .pro-btn-add-to-cart .price-group {
    display: flex;
    flex-direction: column;
}

.btn-link .pro-btn-add-to-cart .price-group:has(del) {
    align-items: flex-end;
}

.btn-link .pro-btn-add-to-cart .price-group {
    font-size: 1.8rem;
}

.btn-link .pro-btn-add-to-cart .price-group del {
    color: #757575;
    font-weight: 400;
    font-size: 12px;
}

.btn-link .pro-btn-add-to-cart .price-group ins {
    text-decoration: none;
}

.woocommerce div.product form.cart .variations label {
    font-weight: 400 !important;
}

.monaprds-skeleton-item {
    background: #fff;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.skeleton-img {
    width: 100%;
    height: 160px;
    background: #e0e0e0;
    border-radius: 8px;
    margin-bottom: 12px;
    animation: skeleton-loading 1.2s infinite linear;
}

.skeleton-title {
    width: 100%;
    height: 35px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 12px;
    animation: skeleton-loading 1.2s infinite linear;
}

.skeleton-line {
    width: 60%;
    height: 24px;
    background: #e0e0e0;
    border-radius: 4px;
    margin-bottom: 12px;
    animation: skeleton-loading 1.2s infinite linear;
}

@keyframes skeleton-loading {
    0% {
        background-color: #e0e0e0;
    }

    50% {
        background-color: #f5f5f5;
    }

    100% {
        background-color: #e0e0e0;
    }
}

.btn-link .pro-btn-add-to-cart {
    display: -moz-flex !important;
    display: -ms-flex !important;
    display: -o-flex !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-align-items: center !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -webkit-align-items: center !important;
    -webkit-box-pack: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
    -webkit-justify-content: center !important;
    position: relative !important;
    text-align: center !important;
    cursor: pointer !important;
    padding: 1rem !important;
    background: var(--color-sec) !important;
    color: var(--color-pri) !important;
    font-size: 1.6rem !important;
    font-weight: 500 !important;
    border-radius: 100rem !important;
    min-height: 5rem !important;
    -webkit-transition: all .3s ease-in-out !important;
    transition: all .3s ease-in-out !important;
    overflow: hidden !important;
    width: auto !important;
    -webkit-box-flex: 1 !important;
    -ms-flex: 1 !important;
    flex: 1 !important;
}

@media screen and (min-width: 1025px) {
    .btn-link .pro-btn-add-to-cart:hover .price-group {
        color: #FFF !important;
    }

    .btn-link .pro-btn-add-to-cart:hover .add-group .icon {
        color: #FFF !important;
    }
}

/* .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.added::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.added::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.added::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.added::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.added::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.added::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.added::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.added::after {
    display: none !important;
} */

/* .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.loading::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.loading::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.loading::after,
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.loading::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.loading::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.loading::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.loading::after,
:where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.loading::after {
    display: none !important;
} */

#monaprds-loadmore.t-center {
    margin: 2rem auto auto;
}

.cmini-delete {
    cursor: pointer;
    align-self: flex-start;
}

.mo-openid-app-icons > p {
    display: none !important;
}

.woo-variation-product-gallery {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    overflow: hidden;
}

form.checkout.woocommerce-checkout .select2-container--default.select2-container--open.select2-container--below .select2-selection--single {
    border-radius: 4px !important;
}

form.checkout.woocommerce-checkout .select2-container--default .select2-selection--single {
    border-radius: 4px !important;
}

/* ==========================================================================
   DevVN WooCommerce Reviews - Custom Styling for Mona Theme (Cafune)
   ========================================================================== */
.sec-pdv {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

#reviews.woocommerce-Reviews {
    font-family: var(--font-pri), sans-serif;
    color: var(--color-pri, #0b181d);
}

.woocommerce-Reviews-title {
    display: none !important;
}

.star_box {
    background: #fff;
    border: 1px solid #e5e5e5 !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    margin-bottom: 3rem !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

span.star_average {
    font-family: var(--font-pri), sans-serif !important;
    font-size: 4rem !important;
    font-weight: 800 !important;
    color: #f5a623 !important;
}

.star-average .woocommerce-product-rating strong {
    font-size: 1.5rem;
    color: #0b181d;
}

.devvn_review_row {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

span.devvn_stars_value {
    font-weight: 600;
    color: #444;
}

span.devvn_scala_rating {
    height: 10px !important;
    border-radius: 5px !important;
    background: #f0f0f0 !important;
}

span.devvn_perc_rating {
    height: 10px !important;
    border-radius: 5px !important;
    background: #f5a623 !important;
}

span.devvn_num_reviews {
    font-size: 1.3rem;
    color: #666 !important;
}

#comments a.btn-reviews-now {
    background-color: var(--color-pri, #0b181d) !important;
    color: #fff !important;
    font-family: var(--font-pri), sans-serif !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    padding: 1.2rem 2.4rem !important;
    border-radius: 30px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 10px rgba(11, 24, 29, 0.15);
}

#comments a.btn-reviews-now:hover {
    background-color: #2c3e50 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(11, 24, 29, 0.25);
}

/* Comment List */
.woocommerce #reviews #comments ol.commentlist {
    padding: 0;
    list-style: none;
}

.woocommerce #reviews #comments ol.commentlist li.comment {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.6rem;
    transition: all 0.2s ease;
}

.woocommerce #reviews #comments ol.commentlist li.comment:hover {
    border-color: #ddd;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.devvn_review_top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.devvn_author_name {
    font-family: var(--font-pri), sans-serif;
    font-weight: 700;
    font-size: 1.6rem;
    color: #0b181d;
}

.woocommerce #reviews .star-rating,
body.woocommerce #reviews .star-rating span:before {
    color: #f5a623 !important;
}

.description .p-review-detail {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #333;
    margin-top: 1rem;
}

/* Q&A Section Styling */
.devvn-qa-container {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px dashed #eee;
}

.devvn-qa-title {
    font-family: var(--font-pri), sans-serif !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #0b181d !important;
    margin-bottom: 2rem !important;
}

.devvn-qa-form input[type="submit"],
.devvn-qa-form button {
    background-color: #0b181d !important;
    color: #fff !important;
    border-radius: 20px !important;
    padding: 0.8rem 2rem !important;
    font-weight: 600 !important;
}

/* Universal Fix for WooCommerce Product Rating & DevVN Reviews */
.single-product .woocommerce-product-rating,
.single-product .devvn_single_rating,
.woocommerce-product-rating {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px 12px !important;
    height: auto !important;
    min-height: 24px !important;
    max-height: none !important;
    overflow: visible !important;
    margin-top: 6px !important;
    margin-bottom: 1.2rem !important;
    padding: 2px 0 !important;
    line-height: 1.4 !important;
    clear: both !important;
}

/* Ensure Star Rating is visible and aligned */
.woocommerce-product-rating .star-rating,
.devvn_single_rating .star-rating {
    display: inline-block !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 1.2em !important;
    min-height: 16px !important;
    line-height: 1 !important;
    font-size: 1em !important;
    overflow: hidden !important;
    vertical-align: middle !important;
    position: relative !important;
}

.woocommerce-product-rating .star-rating span,
.devvn_single_rating .star-rating span {
    height: 100% !important;
    display: block !important;
    overflow: hidden !important;
    float: left !important;
}

/* Ensure Review Link & Average Rate stay on the same line */
.woocommerce-product-rating .woocommerce-review-link,
.devvn_single_rating .woocommerce-review-link,
.devvn_single_rating span.devvn_average_rate {
    display: inline-flex !important;
    align-items: center !important;
    float: none !important;
    margin: 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
    vertical-align: middle !important;
    font-size: 1.4rem !important;
    white-space: nowrap !important;
}

/* Thẻ Đã bán & Dấu gạch đứng phân cách | */
.single-product .devvn_single_rating span.devvn_sold {
    position: relative !important;
    padding-left: 14px !important;
    margin-left: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    float: none !important;
    height: auto !important;
    line-height: 1.4 !important;
    vertical-align: middle !important;
    font-size: 1.4rem !important;
    white-space: nowrap !important;
    color: #666 !important;
}

.single-product .devvn_single_rating span.devvn_sold::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 1px !important;
    height: 14px !important;
    background-color: #ccc !important;
}

/* ==========================================================================
   Checkout Customer Info Form Layout Fixes (THÔNG TIN KHÁCH HÀNG)
   ========================================================================== */

/* Force container flex */
html body.woocommerce-checkout .woocommerce form.checkout .woocommerce-billing-fields .paym-form .form-list,
html body.woocommerce-checkout .woocommerce form.checkout .woocommerce-billing-fields .form-list,
html body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -6px !important;
    margin-right: -6px !important;
}

/* 1. Straight vertical alignment for Phone, Province/City, and Ward fields (50% width each) */
html body.woocommerce-checkout .woocommerce form.checkout .woocommerce-billing-fields .form-row.form-row-first,
html body.woocommerce-checkout .woocommerce form.checkout .woocommerce-billing-fields .form-row.form-row-last,
html body.woocommerce-checkout .woocommerce form.checkout .woocommerce-billing-fields .form-row.col-6,
html body.woocommerce-checkout .woocommerce-billing-fields p#billing_first_name_field,
html body.woocommerce-checkout .woocommerce-billing-fields p#billing_phone_field,
html body.woocommerce-checkout .woocommerce-billing-fields p#billing_email_field,
html body.woocommerce-checkout .woocommerce-billing-fields p#billing_state_field,
html body.woocommerce-checkout .woocommerce-billing-fields p#billing_city_field,
html body.woocommerce-checkout .woocommerce-billing-fields p#billing_address_2_field {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    float: left !important;
    clear: none !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    box-sizing: border-box !important;
}

/* Full-width field (Địa chỉ - Address 1) */
html body.woocommerce-checkout .woocommerce form.checkout .woocommerce-billing-fields p#billing_address_1_field,
html body.woocommerce-checkout .woocommerce form.checkout .woocommerce-billing-fields .form-row.form-row-wide {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    clear: both !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* Make inner input/select elements fill 100% width of their 50% column */
html body.woocommerce-checkout .woocommerce-billing-fields .form-row input.input-text,
html body.woocommerce-checkout .woocommerce-billing-fields .form-row select,
html body.woocommerce-checkout .woocommerce-billing-fields .form-row .select2-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* 2. Equalize HEIGHT of Email, Phone, Name inputs & Select2 dropdowns (Tỉnh/Thành, Quận/Huyện, Xã/Phường) */
html body.woocommerce-checkout .woocommerce-billing-fields .form-row input.input-text,
html body.woocommerce-checkout .woocommerce-billing-fields .form-row select,
html body.woocommerce-checkout .woocommerce-billing-fields .form-row .select2-container--default .select2-selection--single {
    height: 48px !important;
    min-height: 48px !important;
    max-height: 48px !important;
    line-height: 46px !important;
    padding: 0 14px !important;
    border: 1px solid #8ac53e !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    background-color: #fff !important;
}

html body.woocommerce-checkout .woocommerce-billing-fields .form-row .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 46px !important;
    padding-left: 0 !important;
    padding-right: 20px !important;
    color: #333 !important;
}

html body.woocommerce-checkout .woocommerce-billing-fields .form-row .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    top: 0 !important;
    right: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

html body.woocommerce-checkout .woocommerce-billing-fields p#billing_email_field input.input-text {
    border: 1px solid #8ac53e !important;
}