/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

.header-wrapper .icon-shopping-cart{
    color: #eb1c24;
}
.header-search-form-wrapper .search-field{
    border: 1px solid #eb1c24!important;
}
.searchform .button.icon i{
    color: #eb1c24;
}
#footer .absolute-footer{
    display: none;
}

.hotline-phone-ring-wrap {
    position: fixed;
    bottom: 100px;
    left: 0;
    z-index: 999999;
}
.hotline-phone-ring {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 110px;
    height: 110px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}
.hotline-phone-ring-circle {
    width: 95px;
    height: 95px;
    top: 10px;
    left: 10px;
    position: absolute;
    background-color: transparent;
    border-radius: 100%;
    border: 2px solid #e60808;
    -webkit-animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
    animation: phonering-alo-circle-anim 1.2s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    opacity: 0.5;
}
.hotline-phone-ring-circle-fill {
    width: 65px;
    height: 65px;
    top: 25px;
    left: 25px;
    position: absolute;
    background-color: rgba(230, 8, 8, 0.7);
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
    animation: phonering-alo-circle-fill-anim 2.3s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}
.hotline-phone-ring-img-circle {
    background-color: #e60808;
    width: 43px;
    height: 43px;
    top: 36px;
    left: 36px;
    position: absolute;
    background-size: 20px;
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hotline-phone-ring-img-circle .pps-btn-img {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}
.hotline-phone-ring-img-circle .pps-btn-img img {
    width: 26px;
    height: 26px;
}

@-webkit-keyframes phonering-alo-circle-anim {
    0% {
        -webkit-transform: rotate(0) scale(0.5) skew(1deg);
        -webkit-opacity: 0.1;
    }
    30% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        -webkit-opacity: 0.5;
    }
    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
        -webkit-opacity: 0.1;
    }
}
@-webkit-keyframes phonering-alo-circle-fill-anim {
    0% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        opacity: 0.6;
    }
    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
        opacity: 0.6;
    }
    100% {
        -webkit-transform: rotate(0) scale(0.7) skew(1deg);
        opacity: 0.6;
    }
}
@-webkit-keyframes phonering-alo-circle-img-anim {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }
    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }
    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }
    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }
    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
}
.custom-title .section-title span{
    padding-left: 0;
}
.menu-ft .menu-item a{
    color: #fff;
}
.menu-ft .menu-item a:hover{
    color: #fff;
    font-weight: bold;
}
.padding0{
    padding: 0!important;
}
.home .page-wrapper{
    padding-top: 0;
}
.product-small .box-image{
    overflow: hidden;
}
.product-small .box-image .image-fade_in_back {
    transition: transform 0.3s ease;
}

.product-small.box .box-image:hover .image-fade_in_back {
    transform: scale(1.5);
}

.product-small.box{
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 8px; /* Tuỳ chọn: bo góc cho đẹp */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-title .section-title-normal{
    border-bottom: 0;
}
.custom-title .section-title-normal .section-title-main{
    border-bottom: 0;
    position: relative;
}
.custom-title .section-title-normal .section-title-main:after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: #eb1c24;
}
.custom-title .section-title-normal a{
    color: #eb1c24;
}
.product-small .quick-view {
    display: none !important;
}

.woocommerce div.product form.cart .quantity {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 10px;
}

.woocommerce div.product form.cart .quantity input[type="number"] {
    width: 50px;
    height: 42px;
    border: none;
    text-align: center;
    font-size: 16px;
    appearance: textfield;
}

.woocommerce div.product form.cart .quantity input::-webkit-outer-spin-button,
.woocommerce div.product form.cart .quantity input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Style nút thêm vào giỏ */
.woocommerce div.product form.cart button.single_add_to_cart_button {
    background-color: #eb1c24; /* màu cam */
    color: #fff;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.woocommerce div.product form.cart button.single_add_to_cart_button:hover {
    background-color: #eb1c24;
}

/* Căn chỉnh hàng ngang */
.woocommerce div.product form.cart {
    display: flex;
    align-items: baseline;
    flex-direction: column;
}
.quantity .button.minus, .quantity .button.plus{
    border:none;
}
.price-contact{
    color:red;
    font-size: 20px;
}
.out-of-stock{
    display:none;
}
.included-vat{
        font-size: 18px;
    color: #000;
}
.footer-zalo{
    position: fixed;
    bottom: 20px;
    left: 30px;
    z-index: 999999;
}
.product-small .price-wrapper{
    margin-top: 5px;
}
.product-small .price-wrapper .price-contact{
    font-size: 16px;
}