blockquote, dd, dl, figure, h1, h2, h3, h4, h5, h6, hr, p, pre {
    margin: 0 !important;
}

.button, button, input[type=button], input[type=reset], input[type=submit] {
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 0;
    box-sizing: border-box;
    color: currentColor;
    cursor: pointer;
    display: inline-block;
    font-size: .97em;
    font-weight: bolder;
    letter-spacing: .03em;
    line-height: 2.4em;
    margin-right: 1em;
    margin-top: 0;
    max-width: 100%;
    padding: 0 1.2em;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-rendering: optimizeLegibility;
    text-shadow: none;
    text-transform: uppercase;
    transition: transform .3s, border .3s, background .3s, box-shadow .3s, opacity .3s, color .3s;
    vertical-align: middle;
}

img, video {
    height: auto;
    max-width: 100%;
}

.single-product #main {
    background: #fff;
}

.show-for-mobile {
    display: none;
}

.show-for-mobile-medium {
    display: none;
}

.woocommerce-breadcrumb a, .woocommerce-breadcrumb span {
    font-size: 14px;
    font-weight: bold !important;
}

.woocommerce-breadcrumb a:not(:last-child){
    color: #ff8b27;
}

.product-detail-custom {
    max-width: 1170px;
    margin: auto;
}

.product-detail-custom ul{
    list-style-type: none;
}

.title-group-mobile .product-title-area{
    margin-top: 10px;
}

.product-detail-custom .product-title-area, .title-group-mobile .custom-price-box {
    padding-left: 15px;
    padding-right: 15px;
}

.product-detail-custom .product-title-area .product-title{
    font-size: 1.5rem;
    line-height: 150%;
    margin-bottom: 0px;
}

.product-detail-custom .product-content {
    display:flex;
    gap: 10px;
}

.product-detail-custom .product-content .product-left {
    width: calc(100% - 23rem - 16px);
}

.product-detail-custom .product-content .product-right {
    height: 100%;
    max-width: 23rem;
    background: #f5f5f5;
    padding: 15px;
    position: sticky;
    top: 0;
}

.product-detail-custom .product-content .product-left .category {
    display: flex;
    background-color: transparent;
    padding: 0;
    flex-direction: column;
    gap: calc(0.125rem * 6);
    width: 100%;
}

.product-detail-custom .product-content .product-left .category .category-content{
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.product-detail-custom .product-content .product-left .category .category-wrap{
    display: flex;
    flex-direction: column;
    gap: calc(0.125rem*4);
}

.product-detail-custom .product-content .product-left .category .category-label{
    font-size: 1rem;
    font-weight: bold;
    line-height: 150%;
}

.product-detail-custom .product-content .product-left .category .list-categories {
    display: flex;
    flex-wrap: wrap;
    gap: calc(0.125rem * 2);
}

.group-cart-mobile {
    margin-top: 15px;
}

.group-cart-mobile .custom-quantity-wrapper {
    gap: 10px;
    justify-content: start;
    margin-bottom: 20px;
}

.property-tag {
    align-items: center;
    background-color: #fff;
    border: 1px solid #f0f0f0;
    border-radius: .125rem;
    cursor: pointer;
    display: inline-flex;
    gap: .25rem;
    justify-content: center;
    padding: .25rem .5rem;
}

.property-tag:has(.img-property) {
    padding-left: .25rem;
}

.property-tag.active, .property-tag:hover:not(.disabled) {
    border: 1px solid #ff8b27;
}

.property-tag .img-property {
    border-radius: .125rem;
    display: inline-block;
    height: 2rem;
    width: 2rem;
}

.property-tag.active .title, .property-tag:hover:not(.disabled) .title {
    color: #ff8b27;
}

.property-tag .title {
    align-items: center;
    color: #1a191f;
    display: inline-flex;
    font-size: .875rem;
    font-weight: 400;
    line-height: 150%;
    min-height: 2rem;
}

.contact-us {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
}

.contact-us>p {
    color: #1a191f;
    font-size: .875rem;
    font-weight: 400;
    line-height: 150%;
    white-space: nowrap;
}

.btn-text-link {
    align-items: center;
    display: inline-flex;
    gap: .25rem;
    justify-content: center;
    margin: 0;
    padding: 0;
    line-height: 21px;
    min-height: initial;
}

.contact-us .text {
    white-space: nowrap;
}

.cursor-pointer {
    cursor: pointer;
}

.btn-text-link p {
    color: #ff8b27;
    font-size: 12px;
    font-weight: bold;
    line-height: 150%;
}

.custom-price-output{
    margin-top: 20px !important;
}

.woocommerce-Price-amount.amount {
    color: #ff8b27;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 150%;
}

.single_variation_wrap .woocommerce-variation-price {
    display: none !important;
}

.custom-variation-form .custom-variation-extra {
    margin-top: 10px;
    font-size: 14px;
}
.custom-price-box {
    font-size: 22px;
    font-weight: bold;
    margin-top: 15px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.custom-sale-price { color: #f57224; }
.custom-regular-price { color: #999; text-decoration: line-through; font-size: 18px; }
.custom-discount {
    background: #f57224;
    color: white;
    padding: 3px 7px;
    border-radius: 3px;
    font-size: 12px;
}
.single_add_to_cart_button.button.alt {
    background-color: #f57224;
    color: #fff;
    border: none;
    padding: 12px;
    width: 100%;
    font-size: 16px;
    border-radius: 4px;
    margin-top: 10px;
}

.custom-quantity-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.custom-quantity-wrapper .custom-quantity-label {
    margin-bottom: 0px;
}

.buttons_added .ux-quantity__button {
    align-items: center;
    bottom: 1px;
    cursor: pointer;
    display: flex;
    font-size: 13px;
    justify-content: center;
    position: absolute;
    top: 1px;
    -webkit-user-select: none;
    user-select: none;
    width: 32px;
    height: 32px;
    z-index: 1;
}

.input-text.qty.text {
    height: 32px;
    font-weight: bold;
    width: 50px;
}
.custom-quantity-wrapper {
    margin-top: 15px;
}

.custom-quantity {
    display: flex;
    align-items: center;
}

.custom-qty-btn {
    background: none;
    border: 1px solid #ddd;
    cursor: pointer;
    border-radius: 4px;
    margin: 0;
    width: 32px;
    height: 32px !important;
    min-height: initial;
    position: relative;
}

.custom-qty-btn svg {
    position: absolute;
    left: calc(50% - 8px);
    top: calc(50% - 8px);
}

.custom-qty-btn:hover {
    background-color: #f5f5f5;
}

input.qty {
    width: 20px;
    text-align: center;
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: 0;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

input.qty {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
}

.product-tabs {
    position: relative;
}

.tab-indicator {
    position: absolute;
    bottom: 0;
    height: 3px;
    width: 0;
    background-color: hsla(0, 0%, 7%, .85);
    transition: all 0.3s ease;
}

.product-tabs li.active a {
    color: #f57224;
    font-weight: bold;
}

.product-detail-custom .nav-outline>li.active>a {
    border: none;
    color: hsla(0, 0%, 7%, .85);
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.bg-\[linear-gradient\(transparent\2c \#FFF\)\] {
    background-image: linear-gradient(transparent, #fff);
}

.h-\[3rem\] {
    height: 3rem;
}

.pt-3 {
    padding-top: .75rem;
}

.bg-white {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / 1);
}

.justify-center {
    justify-content: center;
}

.w-full {
    width: 100%;
}

.flex {
    display: flex;
}

.cursor-pointer {
    cursor: pointer;
}

.w-\[1\.25rem\] {
    width: 1.25rem;
}

.h-\[1\.25rem\] {
    height: 1.25rem;
}
.w-\[1\.25rem\] {
    width: 1.25rem;
}
.h-\[1\.25rem\] {
    height: 1.25rem;
}
img, video {
    height: auto;
    max-width: 100%;
}
audio, canvas, embed, iframe, img, object, svg, video {
    display: block;
    vertical-align: middle;
}

p.stars {
    display: none !important;
}

.overflow-hidden {
    overflow: hidden;
}

.max-h-\[800px\] {
    max-height: 800px;
}

.bottom-0 {
    bottom: 0;
}

.expand-content {
    z-index: 9;
}

.tab-content {
    transition: max-height 0.5s ease;
    overflow: hidden;
}

.tab-content.expanded {
    max-height: 10000px; /* Giá tr? l?n d? d?m b?o n?i dung hi?n th? h?t */
}

#expandTabContent:hover .text {
    color: #000;
}

#expandTabContent .text {
    color: #727272;
    font-weight: bold;
    font-size: 14px;
}

.product-related .product-title {
    font-weight: bold;
}

.related-item-custom:hover {
    --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
    box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
}

.product-detail-custom .product-footer, .product-detail-custom .product-related, .product-detail-custom .list-categories, .product-detail-custom .list-recent  {
    padding-left: 15px;
    padding-right: 15px;
}

.product-related .woocommerce-Price-amount.amount {
    font-size: 20px;
}

.product-detail-custom .box-text-products .title-wrapper .product-title a{
    height: 2.8rem;
    max-height: 3rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1rem;
    line-height: 150%;
}

.product-detail-custom .list-categories .category-wrap {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.product-detail-custom .list-categories .category-item {
    width: calc(100%/4 - 20px);
    padding: calc(0.125rem*4);
    --tw-border-opacity: 1;
    border: 1px solid #e5e7eb;
    border-radius: 5px;
}

.product-detail-custom .list-categories .category-item:hover {
    border: 1px solid #9a9b9c;
}

.product-detail-custom .list-categories .category-item a{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-detail-custom .list-categories .category-item a .group-info {
    display: flex;
    gap: 5px;
    align-items: center;
}

.product-detail-custom .list-categories .category-item a .group-info p{
    color: #000;
    font-weight: bold;
}

.product-detail-custom .list-categories .category-item:hover a .group-info p{
    color: #000;
}

.product-detail-custom .list-categories .category-item a img{
    width: 45px;
    height: 45px;
    object-fit: cover;
}

.product-detail-custom .list-categories .category-item a .arrow-detail{
    width: 20px;
    height: 20px;
}

.list-recent {
    margin-top: 30px;
}

.recently-viewed-products{
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.recently-viewed-products .product-recent-item{
    border-radius: 10px;
    width: calc(100%/4 - 20px);
    cursor: pointer;
}

.recently-viewed-products .product-recent-item:hover {
    --tw-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
    box-shadow: 0 0 #0000, 0 0 #0000, 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -2px rgba(0, 0, 0, .1);
}

.recently-viewed-products .product-recent-item:hover .box-image .show-on-hover{
    opacity: 1;
}

.recently-viewed-products .product-recent-item .box-text .title-wrapper {
    color: #333333;
    font-weight: bold;
}

.recently-viewed-products  .woocommerce-Price-amount.amount {
    font-size: 20px;
}

.section-custom {
    border-top: 1px solid #ececec;
}

#popupMuaNgay {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;

    /** Thêm chi?u cao rõ ràng **/
    min-height: 300px;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

#popupMuaNgay.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.product-detail-custom .product-rate {
    align-items: center;
    display: flex;
    justify-content: flex-start;
}

.product-detail-custom .product-rate .rating-content {
    align-items: center;
    display: flex;
    gap: .25rem;
    justify-content: flex-start;
}

.w-\[1rem\] {
    width: 1rem;
}
.h-\[1rem\] {
    height: 1rem;
}

.gap-3xs {
    gap: 10px;
}

.cursor-pointer {
    cursor: pointer;
}

.bg-\[\#0068FF\] {
    --tw-bg-opacity: 1;
    background-color: #0068ff;
}

.rounded-\[0\.25rem\] {
    border-radius: .25rem;
}

.gap-5xs {
    gap: .125rem;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}
.flex-1 {
    flex: 1 1 0%;
}

.background-gradient-messenger {
    background: linear-gradient(92deg, #ff676b -7.52%, #bb3ddc 36%, #1d87ff 112.45%);
}


.product-detail-custom .product-rate .vertical-tiles {
    color: #e3e3e3;
    font-size: .875rem;
    font-weight: 400;
    line-height: 150%;
    margin-left: .75rem;
    margin-right: .75rem;
}

.product-detail-custom .product-rate .sold-product {
    color: #2b2b2b;
    font-size: .875rem;
    font-weight: 400;
    line-height: 150%;
}

.popup-giuseart-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    pointer-events: none;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    min-height: 200px;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.popup-giuseart-nav.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.giuseart-nav-contact .info-price {
    display: flex;
    gap: 20px;
    align-items: center;
}

.giuseart-nav-contact .header-popup {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.giuseart-nav-contact .info-price img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.giuseart-nav-contact .info-price p {
    font-weight: bold;
}

.giuseart-nav-contact .btn-contact {
    font-weight: bold;
    color: #fff;
    padding: 5px 0;
}

.giuseart-nav {
    display: none;
}


@media (max-width: 1200px) {
    #footer .section-title-main {
        font-size: 15px !important;
    }

    .product-related .woocommerce-Price-amount.amount {
        font-size: 13px !important;
    }

    .recently-viewed-products  .woocommerce-Price-amount.amount {
        font-size: 13px !important;
    }
}

@media (max-width: 975px) {
    #header .header-wrapper .cart-item.has-icon {
        padding: 0;
    }

    #header .header-wrapper .cart-item.has-icon .header-cart-title {
        display: none;
    }

    #header .header-wrapper .cart-item.has-icon .icon-shopping-bag {
        margin: 0;
        padding: 5px;
    }

    .product-detail-custom .product-content .product-left, .product-detail-custom .product-content .product-right {
        width: calc( 50% - 10px);
        flex-basis: calc( 50% - 10px);
    }

    .product-detail-custom .product-content .product-left .product-main {
        padding-bottom: 0;
    }

    .product-detail-custom .product-content .product-left .basic-info {
        flex-direction: column;
    }

    .product-detail-custom .product-content .product-left .basic-info .product-gallery {
        width: 100%;
        flex-basis: 100%;
        max-width: 100%;
    }

    .product-detail-custom .product-content .product-left .basic-info .product-info {
        width: 100%;
        flex-basis: 100%;
        max-width: 100%;
    }

    .product-related .product-title .woocommerce-LoopProduct-link {
        font-size: 14px !important;
    }

    .product-related .woocommerce-Price-amount.amount {
        font-size: 14px;
    }

    .recently-viewed-products .product-recent-item .box-text .title-wrapper {
        font-size: 14px;
    }

    .recently-viewed-products  .woocommerce-Price-amount.amount {
        font-size: 14px;
    }

    #footer .section-title-main {
        font-size: 13px !important;
    }
}

@media (max-width: 849px) {
    .product-page-title .page-title-inner {
        flex-direction: row;
    }

    .product-page-title .page-title-inner .medium-text-center{
        width: fit-content !important;
        flex-grow: unset;
    }

    .product-page-title .page-title-inner .flex-grow {
        flex-grow: 1;
        text-align: left !important;
    }

    .product-detail-custom .list-categories .category-wrap {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .product-detail-custom .list-categories .category-item {
        width: calc(100%/3 - 10px);
    }

    .recently-viewed-products{
        gap: 10px;
    }

    .recently-viewed-products .product-recent-item{
        width: calc(100%/3 - 10px);
    }
}

@media (max-width: 768px) {
    h1, h2, h3, h4 {
        font-size: 16px !important;
    }

    .show-for-mobile-medium {
        display: block;
    }

    .hide-for-mobile-medium {
        display: none !important;
    }

    .group-description .group-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }

    .group-description .tab-content {
        padding-left: 15px;
    }

    .group-description .group-title .woocommerce-tab-title {
        width: 50%;
    }

    .group-description .group-title .more {
        width: fit-content;
        font-weight: bold;
    }

    p, span {
        font-size: 14px !important;
    }

    .star-rating span:before {
        font-size: initial;
    }

    .custom-sale-price {
        font-size: 20px !important;
    }

    .product-related .product-title .woocommerce-LoopProduct-link {
        font-size: 12px !important;
    }

    .product-related .woocommerce-Price-amount.amount {
        font-size: 11px !important;
    }

    .recently-viewed-products .product-recent-item .box-text .title-wrapper .woocommerce-LoopProduct-link{
        font-size: 12px!important;
    }

    .recently-viewed-products  .woocommerce-Price-amount.amount {
        font-size: 11px !important;
    }

    .xem-them-button {
        font-size: 12px !important;
    }

    .product-detail-custom .box-text-products .title-wrapper .product-title a{
        height: 2.4rem;
    }
}

@media (max-width: 600px) {
    .giuseart-nav {
        display: none;
    }
}

@media (max-width: 576px) {
    .hide-for-mobile {
        display: none !important;
    }

    .show-for-mobile {
        display: block;
    }

    .product-detail-custom .product-content .product-left {
        width: 100%;
        flex-basis: 100%;
    }

    .product-detail-custom .product-content {
        gap: 0;
    }

    .product-related .product-title .woocommerce-LoopProduct-link {
        font-size: 12px !important;
    }

    .product-related .woocommerce-Price-amount.amount {
        font-size: 12px !important;
    }

    .recently-viewed-products .product-recent-item .box-text .title-wrapper .woocommerce-LoopProduct-link{
        font-size: 12px!important;
    }

    .recently-viewed-products  .woocommerce-Price-amount.amount {
        font-size: 12px !important;
    }

    .xem-them-button {
        font-size: 12px !important;
    }

    .product-detail-custom .list-categories .category-item {
        width: calc(100%/2 - 10px);
    }

    .recently-viewed-products .product-recent-item{
        width: calc(100%/2 - 10px);
    }
    /* ?n m?c d?nh */
    .popup-overlay.hidden {
        display: none;
    }

    /* Overlay che toàn b? trang */
    .popup-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9999;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* N?i dung popup */
    .popup-content {
        background: white;
        padding: 2rem;
        border-radius: 8px;
        width: 90%;
        max-width: 800px;
        max-height: 90vh;
        overflow-y: auto;
        position: relative;
    }

    /* Nút dóng */
    .close-button {
        position: absolute;
        top: 1rem;
        right: 1.5rem;
        font-size: 22px;
        color: #555;
        background: none;
        border: none;
        cursor: pointer;
    }

    .full-review-list {
        margin-top: 20px;
    }

    #fullReviewPopup #closeReviewPopup {
        padding: 0;
        margin: 0;
    }

    .group-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        z-index: 99;
        width: 100%;
    }

    .buy-mobile .single_add_to_cart_button {
        margin: 0;
    }

    #popupMuaNgay .popup-detail {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    #popupMuaNgay .info-price {
        display: flex;
        gap: 5px;
        align-items: center;
    }

    #popupMuaNgay .info-price img {
        width: 50px;
        height: 50px;
        object-fit: cover;
        border-radius: 5px;
    }

    #popupMuaNgay .header-popup {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    #popupMuaNgay .info-price .custom-price-box {
        margin: 0;
    }

    #popupMuaNgay .close-popup {
        font-size: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        line-height: 1;
        color: #333;
        margin: 0;
        padding: 0;
    }

    .popup-overlay-buy {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5); /* Màu den m? */
        z-index: 9998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .popup-overlay-buy.active {
        opacity: 1;
        pointer-events: auto;
    }

    .group-footer {
        display: flex !important;
        gap: 15px;
        align-items: center;
        padding: 5px 15px;
        background: #fff;
    }

    .group-footer .group-help {
        align-items: center;
        display: flex;
        flex-direction: column;
        gap: 0;
        justify-content: center;
        width: 3.5rem;
        text-align: center;
    }

    .group-footer img {
        height: auto;
        object-fit: cover;
    }

    .group-footer .group-help p {
        font-weight: bold;
    }

    .group-footer .buy-mobile {
        width: calc(100% - 15px - 3.5rem);
    }

}

@media (max-width: 419px) {
    .product-related .woocommerce-Price-amount.amount {
        font-size: 11px !important;
    }

    .recently-viewed-products  .woocommerce-Price-amount.amount {
        font-size: 11px !important;
    }
}