/* Bắt đầu các kiểu CSS riêng cho child theme */
.ct-container-fluid marquee p {
    display: inline-block;
    white-space: nowrap;
    margin: 0 7%;
    font-weight: 500;
}

.sub-slide h3.elementor-icon-box-title {
    line-height: 1.8;
    font-size: 14px;
    font-weight: 600;
}

.sub-slide p.elementor-icon-box-description {
    font-style: italic;
    font-size: 14px;
    text-align: left;
}

.swiper-wrapper[data-products] {
    grid-template-columns: unset;
    grid-column-gap: unset;
    grid-row-gap: unset;
    --grid-columns-gap: unset;
    --grid-rows-gap: unset;
}

.flash-sale-home .e-con-inner {
    gap: 0 !important;
}

.flash-sale-home .e-con-inner .flash-sale-title {
    background: #fee7ef;
    padding: 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.flash-sale-home .e-con-inner .flash-sale-title .elementor-shortcode {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 700;
}

.flash-sale-home .e-con-inner .flash-sale-title .elementor-shortcode .scp-countdown.style05 span {
    font-size: 16px;
    font-weight: 700;
    padding: 5px 10px;
    background: #000;
}

.flash-sale-home .e-con-inner .flash-sale-products {
    border: 1px solid #fee7ef;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 2px 2px 12px #fee7ef;
}

.flash-sale-home .e-con-inner .flash-sale-btn a {
    background-color: transparent;
    color: #ee4d2d;
    font-weight: 700;
    font-size: 16px;
    padding: 0;
    width: 170px;
    text-align: right;
}

.flash-sale-home .e-con-inner .flash-sale-btn a span {
    justify-content: end;
}

.flash-sale-home .e-con-inner .flash-sale-title img {
    width: 170px;
    height: auto;
    object-fit: contain:;
}

.product-category {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.product-category .product-category-block .category-title {
    text-align: left;
}

.related.products .ct-module-title,
.product-category .product-category-block .category-title a {
    color: #e9121c !important;
}

.related.products .ct-module-title {
    font-size: 35px;
}

.whychose-list {
    counter-reset: item;
}

.whychose-item {
    padding: 20px 15px;
    box-shadow: 2px 2px 12px #fee7ef;
    border: 1px solid #fee7ef;
    border-radius: 10px !important;
}

.whychose-item h3 {
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whychose-item h3::before {
    line-height: 1;
    display: flex;
    width: 50px;
    height: 50px;
    counter-increment: item;
    content: counter(item);
    background: linear-gradient(to top, rgba(204, 204, 204, 0.5), rgba(204, 204, 204, 1));
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-list {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-list a {
    width: 45px;
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.social-list a:hover {
    transform: translateY(-3px);
}

.social-list img {
    width: 60%;
    height: auto;
    object-fit: contain;
}

.variable-item {
    text-align: center;
}

.woo-variation-swatches .variable-item:has(img.variable-item-image) {
    min-width: 100px !important;
    width: fit-content !important;
    margin: 10px !important;
    margin-left: 0 !important;
    height: 40px !important;
    justify-content: left !important;
}

.woo-variation-swatches .variable-item:has(img.variable-item-image) .variable-item-contents {
    width: 30px !important;
    height: 40px;
}

.woo-variation-swatches .variable-item:has(img.variable-item-image) .variable-item-contents img {
    object-fit: contain;
}

.woo-variation-swatches .variable-item:has(img.variable-item-image)::after {
    content: attr(data-title);
    margin-left: 10px;
    font-weight: 600;
}

.woo-variation-swatches .variable-item:has(img.variable-item-image):not(.radio-variable-item) {
    padding: 0 5px !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover,
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item):hover {
    -webkit-box-shadow: 0 0 0 1px #ee4d2d, 0 0 0 1px #ee4d2d;
    box-shadow: 0 0 0 1px #ee4d2d, 0 0 0 1px #ee4d2d;
}

.variations:is(.reset_variations, .ct-swatches-more),
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).image-variable-item.selected:not(.no-stock) .variable-item-contents:before {
    display: none !important;
}

.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected::before {
    content: "✓";
    position: absolute;
    right: -1px;
    bottom: 0;
    width: 14px;
    height: 14px;
    background: #ee4d2d;
    color: #fff;
    font-size: 7px;
    font-weight: 700;
    line-height: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding-right: 1px;
    padding-bottom: 1px;
    clip-path: polygon(100% 100%, 0 100%, 100% 0);
    z-index: 2;
}

.menu-chinh-sach-container ul li {
    /* height: 40px; */
    margin-top: 10px;
}

.menu-chinh-sach-container ul li a
{
    line-height: 20px;

}


.text-multi-line {

}
.price .woocommerce-Price-amount {
    color: #f00;
    font-size: 20px;
    opacity: 1;
}

.sale-price del {
    text-decoration: none;
    opacity: 1 !important;
}

.price .price del .woocommerce-Price-amount bdi {
    color: #000;
    text-decoration: line-through;
    opacity: 1;
}

.ct-woo-card-extra[data-type=type-1] .ct-button:is(:hover, [data-button-state=active], [data-button-state=loading]) {
    background: var(--theme-palette-color-2) !important;
}

.woo-variation-swatches .wvs-archive-variations-wrapper,
.added_to_cart.wc-forward {
    display: none !important;
}

.products.columns-4 .woo-variation-item-label,
.products.columns-4 .wvs_archive_reset_variations_link,
.products.columns-4 .variable-item:has(img.variable-item-image)::after,
.product-slider .variable-item:has(img.variable-item-image)::after,.product-slider .woo-variation-item-label,.product-slider .wvs_archive_reset_variations_link {
    display: none !important;
}

.products.columns-4 .variable-item:has(img.variable-item-image),
.product-slider .variable-item:has(img.variable-item-image) {
    min-width: fit-content !important;
    margin-left: 1px !important;
}

.products.columns-4 .archive-variable-items,
.product-slider .archive-variable-items {
    display: flex;
    flex-wrap: nowrap;
    overflow-y: unset;
    overflow-x: auto;
    width: 100%;
}

.products.columns-4 .archive-variable-items::-webkit-scrollbar,
.product-slider .archive-variable-items::-webkit-scrollbar {
    height: 3px;
}

.products.columns-4 .archive-variable-items::-webkit-scrollbar-track,
.product-slider .archive-variable-items::-webkit-scrollbar-track {
    background: transparent;
}

.products.columns-4 .archive-variable-items::-webkit-scrollbar-thumb,
.product-slider .archive-variable-items::-webkit-scrollbar-thumb {
    background: var(--theme-palette-color-2);
    border-radius: 999px;
}

.products.columns-4 .variable-item:has(img.variable-item-image),
.product-slider .variable-item:has(img.variable-item-image) {
    min-width: fit-content !important;
}

.products.columns-4 .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item .variable-item-span,
.product-slider .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item).button-variable-item .variable-item-span {
    white-space: nowrap;
}

.single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 250px !important;
}

.single_add_to_cart_button .custom-svg-cart {
    display: flex;
}

.custom-svg-cart svg {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    vertical-align: middle;
}

.hero-section.is-width-constrained header.entry-header {
    padding: 10px 0;
}

.woocommerce-notices-wrapper {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9) !important;
    z-index: 999999;
    width: 420px !important;
    height: 200px;
    max-width: 90%;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border-radius: 12px;
    display: none;
    animation: popupIn 0.2s ease forwards;
}

.woocommerce-notices-wrapper .woocommerce-message {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    padding: 10px 20px;
    flex-direction: column;
    justify-content: space-evenly;
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

@keyframes popupIn {
    from {
        opacity: 0;
        transform: translate(-50%, -45%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

}

:is(.woocommerce-message-cus):before {
    top: 0 !important;
    opacity: 1 !important;
    color: var(--theme-palette-color-1);
    font-size: 50px !important;
    width: 50px !important;
    height: 50px !important;
    line-height: 50px !important;
    inset-inline-start: auto !important;
    position: relative !important;
}

.ct-product-gallery-container .onsale,
.value.woo-variation-items-wrapper .reset_variations,
.product_meta .posted_in {
    display: none !important;
}

.woocommerce-product-gallery {
    --header-sticky-height-animated: 40px !important;
}

.woocommerce-loop-product__title .woocommerce-LoopProduct-link {
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 25px;
    -webkit-line-clamp: 3;
    height: 75px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.summary.entry-summary.entry-summary-items:has(.variation-sale-label) > p.price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.summary.entry-summary.entry-summary-items:has(.variation-sale-label) > p.price .sale-price {
    flex-direction: column;
}

.summary.entry-summary.entry-summary-items .variation-sale-label {
    margin-bottom: 0;
    border-radius: 6px;
    background-color: #e9121c;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    display: inline-block;
    text-transform: uppercase;
}

.cart-popup {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 999999;
}

.cart-popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}

.cart-popup-box {
    position: relative;
    width: 600px;
    max-width: 90%;
    margin: 10% auto;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    animation: pop .2s ease;
    font-family: Arial;
}

@keyframes pop {
    from {
        transform: scale(.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }

}

.cart-popup-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

.cart-popup-header .cart-popup-close {
    background: transparent;
}

.cart-popup-body {
    padding: 12px;
}

.cart-popup-product {
    display: flex;
    gap: 10px;
}

.cpp-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}

.cpp-name {
    font-weight: 700;
    line-height: 1.4;
}

.cart-popup-summary {
    margin-top: 12px;
    display: flex;
    justify-content: space-between;
}

.cpp-total {
    color: var(--theme-palette-color-2);
    font-weight: 700;
    margin-left: 5px;
}

.cart-popup-footer {
    display: flex;
    justify-content: end;
    padding: 12px;
    border-top: 1px solid #eee;
}

.cpp-cart {
    background: var(--theme-palette-color-2);
    color: #fff;
    padding: 5px 12px;
    border-radius: 6px;
    text-decoration: none;
}

.cpp-cart:hover {
    background: var(--theme-palette-color-1);
    color: #fff;
}

.wvs-archive-product-wrapper span.onsale {
    background: var(--theme-palette-color-2);
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 5%;
    height: 40px;
    border-top-left-radius: 45%;
    border-top-right-radius: 45%;
    height: 48px;
    width: 40px;
    font-size: 13px;
    line-height: 40px;
    color: #fff;
    text-align: center;
}

.wvs-archive-product-wrapper span.onsale:before {
    content: "";
    display: inline-block;
    position: absolute;
    z-index: 1;
    left: .5px;
    top: -1px;
    width: 34px;
    height: 40px;
    border: 1px solid #fff;
    border-bottom-left-radius: 45%;
    border-bottom-right-radius: 45%;
    height: 48px;
    width: 38px;
}

/* Ẩn icon + / - hiện tại */
.ct-accordion-heading svg {
    display: none;
}

/* Căn nút */
.ct-accordion-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Tạo mũi tên xuống */
.ct-accordion-heading::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform .3s ease;
    flex-shrink: 0;
}

/* Khi accordion mở -> mũi tên lên */
.ct-accordion-heading[aria-expanded="true"]::after {
    transform: rotate(-135deg);
}

.button-contact-fixed {
    position: fixed;
    bottom: 80px;
    right: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.box-ring {
    width: clamp(4rem, 3.8rem + 1vw, 5rem);
    height: clamp(4rem, 3.8rem + 1vw, 5rem);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: visibility .5s;
    position: relative;
}

.box-ring-outline {
    position: absolute;
    width: clamp(4rem, 3.8rem + 1vw, 5rem);
    height: clamp(4rem, 3.8rem + 1vw, 5rem);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    transform-origin: 0 0;
    border: 2px solid rgba(30, 30, 30, 0.5);
    background-color: transparent;
    border-radius: 50%;
    opacity: .5;
    transition: all .5s;
    animation: coccoc-alo-circle-anim 1.2s infinite ease-in-out;
}

.box-ring-inline {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(3rem, 2.8rem + 1vw, 4rem);
    height: clamp(3rem, 2.8rem + 1vw, 4rem);
    transform: translate(-50%, -50%);
    transform-origin: 0 0;
    border: 2px solid transparent;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: all .5s;
    animation: coccoc-alo-circle-fill-anim 2.3s infinite ease-in-out;
}

.box-ring-image {
    width: clamp(2.5rem, 2.4rem + 0.5vw, 3rem);
    height: clamp(2.5rem, 2.4rem + 0.5vw, 3rem);
    padding: 6px;
    border: 2px solid transparent;
    border-radius: 50%;
    background-color: #000;
    opacity: 1;
    animation: coccoc-alo-circle-img-anim 1s infinite ease-in-out;
}

.box-ring-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.box-ring-label {
    position: absolute;
    right: 2rem;
    height: 2.25rem;
    z-index: -1;
    padding: 0.25rem 3rem 0.25rem 1rem;
    border-radius: 50rem;
    white-space: nowrap;
    color: #fff;
    display: flex;
    align-items: center;
}

@keyframes coccoc-alo-circle-anim {
    0% {
        transform: rotate(0) scale(.5) skew(1deg) translate(-50%, -50%);
        opacity: .1
    }

    30% {
        transform: rotate(0) scale(.7) skew(1deg) translate(-50%, -50%);
        opacity: .5
    }

    100% {
        transform: rotate(0) scale(1) skew(1deg) translate(-50%, -50%);
        opacity: .1
    }

}

@keyframes coccoc-alo-circle-fill-anim {
    0% {
        transform: rotate(0) scale(.7) skew(1deg) translate(-50%, -50%);
    }

    50% {
        transform: rotate(0) scale(1) skew(1deg) translate(-50%, -50%);
    }

    100% {
        transform: rotate(0) scale(.7) skew(1deg) translate(-50%, -50%);
    }

}

@keyframes coccoc-alo-circle-img-anim {
    0% {
        transform: rotate(0) scale(1) skew(1deg)
    }

    10% {
        transform: rotate(-25deg) scale(1) skew(1deg)
    }

    20% {
        transform: rotate(25deg) scale(1) skew(1deg)
    }

    30% {
        transform: rotate(-25deg) scale(1) skew(1deg)
    }

    40% {
        transform: rotate(25deg) scale(1) skew(1deg)
    }

    50% {
        transform: rotate(0) scale(1) skew(1deg)
    }

    100% {
        transform: rotate(0) scale(1) skew(1deg)
    }

}

.number {
    position: relative;
}

.number .elementor-widget-image {
    width: 80px;
}

.number .elementor-counter .elementor-counter-title,
.number .elementor-counter .elementor-counter-title span {
    display: block;
    line-height: 1.5;
}

.number .elementor-counter  .elementor-counter-number-wrapper {
    text-align: left;
    display: block;
    margin-bottom: 5px;
}

.number + .number:before {
    content: "";
    position: absolute;
    left: -2rem;
    top: 0;
    width: 2rem;
    height: 100%;
    background-color: #124e94;
    clip-path: polygon(69% 0, 0% 100%, 100% 0);
}


@media screen and (max-width:767.98px) {
    .flash-sale-home .e-con-inner .flash-sale-title {
        flex-wrap: wrap;
    }

    .flash-sale-home .e-con-inner .flash-sale-title .flash-sale-time {
        margin-top: 10px;
        order: 1;
        width: 100%;
    }

    .number + .number:before {
        content: unset;
    }

    .number .elementor-widget-image {
        width: 60px;
    }
    
    .number .elementor-counter .elementor-counter-title
    {
        text-align: center;
    }

    .number .elementor-counter .elementor-counter-number-wrapper
    {
        text-align: center;
    }

    /* .number .elementor-widget-counter
    {
        width: calc(100% - 100px);
    } */
}
