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

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

/* Header */

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

.nav-left .searchform-wrapper {
    border: 1px solid #129c47;
    padding: 5px 3px;
    border-radius: 50px;
}

.nav-left .form-flat input:not([type=submit]), .form-flat select, .form-flat textarea {
    background-color: #fff;
    border-color: rgb(255 252 252 / 0%);
}

.nav-left .form-flat .button.icon {
    background-color: #129c47 !important;
    border-color: transparent !important;
    box-shadow: none;
    color: hsla(0, 0%, 100%, .95) !important;
    width: 50px;
    height: 50px;
}

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


.nav-right .button.icon.circle {
	background-color: #129c47 !important;
    width: 50px;
    height: 50px;
    font-size: 20px;
}

.holine-top {
    margin-bottom: 0;
    margin-top: 0;
    color: #ffa510;
    /* overflow: hidden; */
    font-size: 19px;
    position: relative;
    border: 2px solid #b3b3b3;
    float: left;
    text-align: left;
    border-radius: 50px;
	width: 240px;
}

.holine-top span {
    display: block; /* overflow: hidden; */
    font-size: 15px;
	font-weight: 600;
    color: #129c47;
}

.holine-top strong {
    display: block;
    margin-top: -2px;
}

.holine-top a {
    text-decoration: none;
    padding-left: 0;
    padding-bottom: 0;
    color: inherit;
    font-family: inherit;
    display: inline-block;
    padding: 4px 17px 2px;
    padding-left: 63px;
    background-image: url(/wp-content/uploads/2025/05/icon-hotline-btgift-1.png);
    background-repeat: no-repeat;
    background-position: 18px 7px;
}

.holine-top a:nth-child(n+2) {
    margin-left: 15px;
}

.holine-top i {
    color: #7eff67;
    font-size: 17px;
    text-align: center;
    display: inline-block;
    transform: rotate(-45deg);
    margin-top: 0;
    margin-right: 3px;
}

.off-canvas-left .mfp-content {
    background-color: #129c47;
    color: #fff;
}

.off-canvas .nav-vertical>li>a {
    border: 1px solid;
    margin: 5px 15px;
    padding: 10px;
    border-radius: 10px;
}

.nav-vertical>li+li {
    border-top: none;
}
.nav>li>a {
	color: #fff;
}


.section-home .tab-panels {
    padding-top: 0;
}

.section-home .product-small .box {
    border-radius: 20px;
    padding: 10px;
    box-shadow: 3px 0 16px #0000000f;
	background: #fff;
}

.section-home .col {
    padding-bottom: 0;
}

.top-default {
    background: #129c47;
    border-bottom: 2px solid #ffa510;
}

.menu-product {
    margin-top: -74px;
    position: relative;
    z-index: 3;
}

.menu-product ul {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(8,minmax(0,1fr));
    column-gap: 5px;
    row-gap: 10px;
    padding: 0;
    margin: auto;
    margin-bottom: 20px;
}

.menu-product li {
    list-style: none;
    text-align: center;
}

.menu-product a {
    text-decoration: none;
}

.img-mn-pro {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    height: 140px;
    border: 4px solid #fff6;
    border-radius: 50%;
    overflow: hidden;
    box-sizing: border-box;
}

.img-mn-pro img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: url(/wp-content/uploads/2025/05/no-image-btgift-1.png);
    background-color: #fff;
    transition: 0.5s;
}

.menu-product li:hover img {
    transform: scale(1.1)
}

.title-mn-pro {
    font-size: 15px;
    color: #ffffff;
    padding: 0 0;
    display: block;
    margin-top: 10px;
    transition: 0.5s;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.menu-product li:hover .title-mn-pro {
    color: #ffe956;
    font-family: nb;
}


@media only screen and (max-width: 1023px) {
    .menu-product {
        margin-top: 0;
    }
}


@media only screen and (max-width: 1279px) {
    .container {
        width: 1140px;
    }
}

@media only screen and (max-width: 1150px) {
    .container {
        width: 1010px;
    }
}

@media only screen and (max-width: 1023px) {
    .container {
        width: 880px;
    }
}


@media only screen and (max-width: 900px) {
    .container {
        width: 750px;
    }
}

@media only screen and (max-width: 767px) {
    .container {
        width: 620px;
    }
}

@media only screen and (max-width: 1023px) {
    .menu-product ul {
        grid-template-columns: repeat(8, minmax(0, 1fr));
        padding-top: 20px;
    }
}

@media only screen and (max-width: 1150px) {
    .img-mn-pro {
        height: 122px;
    }
}

@media only screen and (max-width: 1023px) {
    .img-mn-pro {
        width: 75px;
        height: 75px;
        margin: auto;
    }
}


@media only screen and (max-width: 1150px) {
    .title-mn-pro {
        -webkit-line-clamp: 2;
    }
}




.title-category {
    text-align: left;
    position: relative;
    background: #fff;
    border-radius: 24px 0 0 24px;
	margin-bottom: 10px;
    border-bottom: 3px solid #ff8500;
}

.title-category h3 {
    color: #fff;
    font-size: 20px;
    display: inline-block;
    background: #129c47;
    text-transform: uppercase;
    background-image: url(/wp-content/uploads/2025/05/before-tit-h3-v2-btgift-1.png);
    background-repeat: no-repeat;
    background-position: 2px 2px;
    padding: 14px 60px 9px;
    padding-right: 30px;
    position: relative;
    z-index: 2;
    border-radius: 24px 47px 0 24px;
	margin-bottom: 0;
}


/* Loop */
.box-image {
    position: relative;
}

/* Khối chứa 2 nút */
.box-image .a-link-product {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -44px;
    height: 44px;
    padding: 9px 0 5px;
    background: #129c47d9;
    display: flex;
    justify-content: center; /* căn giữa theo chiều ngang */
    align-items: center;     /* căn giữa theo chiều dọc */
    gap: 10px;               /* khoảng cách giữa 2 nút */
    box-sizing: border-box;
    transition: bottom 0.5s ease;
    z-index: 9;
}

/* Khi hover vào sản phẩm, khối hiện lên */
.product-small:hover .box-image .a-link-product {
    bottom: 0;
}

/* Style cho từng nút */
.a-link-product a {
    width: 32px;
    height: 32px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 18px 18px;
    position: relative;
}

/* Xem chi tiết */
.a-link-product a.a-detail-p {
    background-image: url(/wp-content/uploads/2025/05/search-p-btgift-1.png);
}

/* Thêm vào giỏ hàng */
.a-link-product a.addcart {
    background-image: url(/wp-content/uploads/2025/05/cart-p-btgift-1.png);
}

/* Đường kẻ trắng giữa 2 icon (nếu muốn) */
.a-link-product a.addcart:before {
    content: "";
    position: absolute;
    left: -6px;
    top: 3px;
    width: 2px;
    height: 26px;
    background: #ffffff;
}

.section-home .product-small .title-wrapper {
    font-size: 16px;
    font-weight: 600;
}
.section-home .product-small .price-wrapper .price {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
}

/* Single-Product */

.ux-buy-now-button {
    background-color: #ffa510 !important;
}
.lhbgs-button {
    background-color: #ffa510 !important;
}

form.cart {
    justify-content: space-around;
}

span.widget-title {
    font-size: 1em;
    font-weight: 600;
    /* font-family: nb; */
    color: #fff;
    font-size: 16px;
    display: inline-block;
    background: #129c47;
    text-transform: uppercase;
    background-image: url(/wp-content/uploads/2025/05/before-tit-h3-v2-btgift-1.png);
    background-size: 30px !important;
    background-repeat: no-repeat;
    background-position: left;
    background-position: 5px;
    padding: 5px 45px;
    background-size: 40px auto;
    position: relative;
    z-index: 2;
    height: 40px;
    border-radius: 0 30px 0 0;
}

.widget .is-divider {
    display: none;
}

.title-aside {
    border-bottom: 2px solid #ffa510;
    /* margin-top: 0; */
    position: relative;
    background: #129c47;
    border-radius: 0 30px 0 0;
    color: #fff;
    background-image: url(/wp-content/uploads/2025/05/before-tit-h3-v2-btgift-1.png);
    background-repeat: no-repeat;
    background-size: 55px;
    background-position: left center;
    background-position-x: -10px;
}

    .title-aside a {
        position: absolute;
        right: 19px;
        color: #fff;
        top: 10px;
        font-size: 12px;
        text-decoration: none;
    }

    .title-aside i {
        font-size: 11px;
        font-weight: normal;
    }

    .title-aside h1 { /* line-height:0; */
        font-size: 25px;
    }

    .title-aside span {
        font-size: 25px; /* position:relative; */
        display: inline-block;
        padding-bottom: 10px;
    }
.title-aside span {
    font-size: 16px;
    display: inline-block;
    text-transform: uppercase;
   /* background-image: url(/wp-content/uploads/2025/05/before-tit-h3-v2-btgift-1.png);
    background-repeat: no-repeat;
    background-size: 35px;
	background-position: left center;*/
    position: relative;
    z-index: 2;
    font-weight: bold;
    
    padding: 8px 0px 5px 50px;
}

.menu-side {
    display: block;
}

.menu-side > ul {
    padding: 0;
    margin: auto;
    margin-top: 0;
    background: #fff;
    padding: 10px;
}

.menu-side > ul > li {
    list-style: none;
    border-top: 1px solid #dadde1;
	margin: 5px;
}

.menu-side > ul > li:first-child {
    border: none
}

.menu-side > ul > li > a {
    font-weight: bold;
    text-transform: uppercase;
    display: block;
    padding: 5px 0 5px;
    padding-left: 0;
    transition: 0.5s;
}

.menu-side a:hover {
    color: #129c47;
    padding-left: 30px;
}

.menu-side > ul > li > a:hover {
    padding-left: 15px;
}

ul.menu_sub {
	margin: 0;
}

.menu_sub li {
    border-top: 1px dashed #dadde1;
    list-style: none;
}
}

.menu_sub li:first-child {
    border: none
}

.menu_sub a {
    padding: 5px 0;
    padding-left: 15px;
    display: block;
    transition: 0.5s;
}

.menu_sub a i {
    font-size: 13px;
    margin-right: 5px;
}
.isures-option .price {
    margin-top: 5px;
    display: flex
;
}

/* Footer */
.footer ul {
    list-style: none;
}
.footer .menu-footer li {
    transition: transform .5s;
}
.footer .menu-footer li:before {
    content: "\f105 ";
    font-family: fontawesome;
    font-weight: 900;
    font-size: 13px;
    top: -1px;
    position: relative;
}

.footer .menu-footer li:hover {
    transform: translateX(10px);
}

.footer .text-footer li {
    color: #fff;
}
.footer .text-footer a {
    margin: 0;
    padding: 0;
    border: none;
    text-decoration: none;
    list-style: none;
    color: inherit;
    /* line-height: 1.4;*/
 }


/* Post */
.post-item img {
    border-radius: 35px;
    padding: 20px;
}



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


}