/*
Theme Name: Cộng đồng web Child
Description: Theme is rewritten from Congdongweb, serving the products of Cong Dong Web
Author: CDW - Rewrite by UX-Themes
Template: congdongweb
Version: 1.1.1
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.product-container .related.related-products-wrapper {
    background: white;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 15px;
}
.category-btn.active svg {
    fill: white;
}

.category-list {
    display: flex;
    gap: 10px;
	align-items: center;
    padding: 10px 0;
}
 .fix_height {
            max-height: 300px;
            overflow: hidden;
            position: relative;
            padding-bottom: 25px;
        }
		.product-footer .woocommerce-tabs .tab-panels{
			position:relative;
		}
        .cdw_readmore_congdongweb {
            text-align: center;
            cursor: pointer;
            position: absolute;
            z-index: 10;
            bottom: 0;
            width: 100%;
			left:0;
			right:0;
            background: #fff;
        }
        .cdw_readmore_congdongweb:before {
            height: 55px;
            margin-top: -45px;
            content: "";
            background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
            display: block;
        }
        .cdw_readmore_congdongweb a {
            color: #318A00;
            display: block;
        }
        .cdw_readmore_congdongweb a:after {
            content: '';
            width: 0;
            border-top: 6px solid #318A00;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            display: inline-block;
            vertical-align: middle;
            margin: -2px 0 0 5px;
        }
        .cdw_readmore_congdongweb_less a:after {
            border-top: 0;
            border-bottom: 6px solid #318A00;
        }
        .cdw_readmore_congdongweb_less:before {
            display: none;
        }

.category-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background-color: #fff;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none; 
    color: #000;
    transition: background-color 0.3s, color 0.3s;
	display: flex;
    gap: 10px;
	align-items: center;
}

.category-btn.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.category-btn:hover {
    background-color: #f0f0f0;
}

.category-btn.active:hover {
    background-color: #0056b3;
}
.icon-support {
    display: flex;
    align-items: center;
}
section.footer.cdw-contact {
    background: #fff;
}
section.section.cdw-footer {
    background: #fff;
}
.cdw-page-blog .box-image .image-cover {
    padding-top: 100% !important;
}
.cdw-blog-relate {
    padding: 8px 35px 8px 14px;
    margin: 20px 0px;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5);
    border: 1px solid #BCE8F1;
    border-radius: 4px;
    background-color: #D9EDF7;
}
ul.cdw-list-blog li {
    list-style: none;
    list-style-image: url(/wp-content/uploads/2025/04/green-star.gif);
    margin-left: 30px;
}
.unit-body {
    padding-left: 15px;
    padding-top: 10px;
}
form.searchform input, form.searchform select.search_categories, form.searchform button.ux-search-submit{
	height:40px;
	text-transform:capitalize;
}
form.searchform select.search_categories {
    border-radius: 5px 0 0 5px;
    box-shadow: none;
    border-right: none;
}
button.ux-search-submit {
    box-shadow: none;
    border-radius: 0 5px 5px 0;
}
form.searchform input{
    border-left: none;
    box-shadow: none;
}
.icon-header-right {
    border-left: 1px solid #b0b0b0;
    padding-left: 30px;
    margin-left: 10px;
}
div#masthead .flex-col.flex-left.flex-grow ul {
    justify-content: center;
}
div#top-bar {
    border-bottom: 1px solid #06aeef;
}
div#top-bar .social-icons i , .blog-share i{
    color: #06aeef;
    background: #eeeeee;
    padding: 10px;
    border-radius: 5px;
    font-size: 1em;
    margin-left: 15px;
}
.cdw-title-blog {
    margin: 0 15px 30px;
}
.aioseo-breadcrumbs span.divider {
    font-size: 1.2em;
    padding: 0 5px;
}
.aioseo-breadcrumbs {
    font-size: 1.2em;
    text-transform: uppercase;
}
.cdw-breadcrumb {
    text-transform: uppercase;
    color: #000;
	    color: #222;
	font-size:1.2em;
    letter-spacing: 0;
}
.cdw-breadcrumb span.divider {
    padding: 0 10px;
}
div#wide-nav {
    background: linear-gradient(#06aeef, #c9e9f5);
}
div#wide-nav, .absolute-footer.dark {
    background: linear-gradient(185deg, rgba(2, 0, 36, 1) 0%, rgba(8, 23, 131, 1) 21%, rgba(0, 212, 255, 1) 97%);
}
.cdw-banner .banner, .cdw-banner .banner-bg.fill{
	border-radius:10px;
}
.cdw-banner p{
	text-align:justify;
}
.cdw-banner .col {
    padding: 0;
}
.cdw-category .row.align-equal, .cdw-section .row.align-middle, .cdw-section .row{
    background: #ffffff;
    padding: 10px;
    border-radius: 10px;
}
.product-category.col .col-inner .box-text{
    padding: 5px;
}
.product-category.col .col-inner .box-text .box-text-inner {
    display: flex;
    justify-content: space-between;
    white-space: nowrap;
    align-items: center;
    text-transform: capitalize !important;
}
.product-category.col .col-inner .box-text .box-text-inner h5 {
    text-transform: capitalize;
    color: #000;
}
.box-image img , .video.video-fit.mb{
    border-radius: 15px;
    border: 10px solid #F5F6F8;
}
.cdw-product p.category {
    text-transform: capitalize;
}
.cdw-bottom {
    padding: 0 15px !important;
}
p.is-xsmall {
    color: #0a6567;
    text-transform: lowercase;
}
.cdw-category-child .box-text-inner {
    display: flex;
    flex-direction: column;
    font-size: 1.5em;
    padding-bottom: 20px;
}
.cdw-category-child h5, .cdw-category-child p {
    color: #ffffff !important;
}
span.woocommerce-Price-amount.amount {
    color: #06aeef;
}
span.woocommerce-Price-amount.amount:before {
    content: 'Chỉ từ: ';
}
.title-wrapper {
    padding-bottom: 5px;
}
.cdw-link ul {
    display: none;
    position: absolute;
    top: 40px;
}
.cdw-link {
	position:relative;
}
.cdw-link:hover ul{
    display:block;
}
.cdw-link h4{
	  background: #fff;
    margin: 5px;
    padding: 7px 20px;
    border-radius: 10px;
}
.cdw-link ul li a:hover{
	background: #fff;
	color: #0e399a;
}
.cdw-link ul li a {
    color: #fff;
    padding: 5px;
    font-weight: bold;
    display: block;
		border-radius: 5px;
}
.cdw-link ul {
    display: none;
    position: absolute;
    width: 160px;
    background: #0e399a;
    list-style: none;
}
.cdw-tab ul.nav.nav-right {
    flex: 1;
}
.cdw-tab {
    align-items: center;
}
.cdw-tab h4 {
    flex: 1;
    text-align: left;
    margin: 0;
    border-left: 5px solid yellow;
    padding-left: 15px;
}
.cdw-content-category {
    background: #fff;
    border-radius: 10px;
    padding: 15px 0px;
    margin-bottom: 20px;
}
.cdw-banner-category {
    background: #ffffff;
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.cdw-banner-category figure, .cdw-banner-category img {
	width:100% !important;
	margin:0;
}
.cdw-banner-category figcaption {
	display:none;
}
.woocommerce-product-gallery img {
    border-radius: 10px;
}
.product-info{
	padding-bottom:0;
}
.cdw-banner-category h1 {
    padding: 20px;
    margin: 0;
}
.term-description {
    border-top: 1px solid #ccc;
    padding: 20px;
    margin-top: 20px;
}
.shop-container .content-row {
    background: #fff;
    padding: 20px 0;
    border-radius: 15px;
}
.cdw-product-home .box-image {
    border-radius: 10px;
}
p.name.product-title.woocommerce-loop-product__title {
    color: #fff;
    font-weight: bold;
    padding-top: 10px;
    font-size: 1.2em;
}
.cdw-product-home-child p.name.product-title.woocommerce-loop-product__title {
    font-size: 1.9em;
}
.cdw-product-home a.cdw-item-loop-button-view-detail ,  .product-small.box .box-text a.cdw-item-loop-button-view-detail{
    font-weight: bold;
    color: yellow !important;
    text-shadow: none !important;
		display: none;
}
.cdw-product-home .box-text.text-center:hover a.cdw-item-loop-button-view-detail,  .product-small.box:hover .box-text a{
	display:block;
}
.cdw-product-home  .box-text.text-center {
	height: 100%;
}
.cdw-product-home  .title-wrapper {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
}
.cdw-product-home .overlay{
	background:none;
}
.cdw-reason p {
    font-size: 2.3em;
    padding: 30px;
    margin: 0;
    color: #fff;
    text-align: center;
    border-radius: 100px 0;
    background: linear-gradient(185deg, rgba(2, 0, 36, 1) 0%, rgba(8, 23, 131, 1) 21%, rgba(0, 212, 255, 1) 97%);
    text-shadow: 0 0 5px yellow;
    font-weight: bold;
}
.cdw-box-reason .box-image {
    margin: unset;
}
.cdw-box-reason .box-image img {
    height: 50px;
    padding: 0;
    border: none;
    width: fit-content;
}
a.button.cdw-link-rep {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}
.cdw-ul-contact ul li {
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 10px;
		margin-left:0;
}
.cdw-ul-contact ul li a {
    color: #06aeef;
}
.cdw-content-zalo {
    background: #fff;
    border-radius: 10px;
    margin: 20px;
}
.cdw-contact {
    background: #ededed;
    border-radius: 15px;
}
.cdw-qr {
    margin: auto;
}
.cdw-ul-contact ul {
    margin: 0;
}
.product-small.box {
    position: relative;
}
.product-small.box .box-text {
    position: absolute;
    bottom: 0;
    text-align: center;
    font-weight: bold;
	z-index:9;
	width:100%;
}

.product-small.box .box-text .title-wrapper p, .product-small.box .box-text a {
	   color: #3334d5;
   	text-shadow: none;
}
.product-small.box .box-image:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    border-radius: 10px;
	background: linear-gradient(0deg, #a4a4a4ab 5%, rgb(102 81 57 / 0%) 40%);
    top: 0;
}
.flex-control-thumbs li{
	width:auto;
}
.product-small.box .box-image{
	position:relative;
}
ul.category-menu li a {
    font-size: 1.5em;
    font-weight: bold;
}
.category-menu {
    columns: 3; 
    -webkit-columns: 3;
    -moz-columns: 3;
    column-gap: 2rem; 
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-menu li {
    break-inside: avoid; 
    padding: 5px 0;
}
.cdw-banner-content {
    display: flex;
    align-items: center;
    column-gap: 20px;
    position: absolute;
    top: 2%;
    left: 5%;
}
.cdw-banner-content h4 {
    font-size: 1.5em;
    font-weight: bold;
}
.cdw-banner-content p {
    margin: 0;
}
.cdw-banner-content h3 {
    border-top: 2px solid;
    border-bottom: 2px solid;
    font-weight: 500;
    display: inline;
    padding: 5px 0;
}
@media only screen and (max-width: 48em) {
	.product-footer ul.tabs.wc-tabs.product-tabs li {
    width: 50%;
}
	.category-list {
    display: block;
}
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.product-small.box .box-text .title-wrapper p, .product-small.box .box-text a {
        padding: 5px;
        text-shadow: 0 0 5px #fff;
        padding-top: 25px;
    }
	form.searchform select.search_categories{
		display:none;
	}
	.cdw-box-reason .box-text.text-left{
		text-align:center;
	}
	.cdw-reason p {
    font-size: 2em;
    padding: 0 10px;
    margin-bottom: 20px;
    border-radius: 30px 0;
}
	.cdw-box-reason .box-image {
    width: 100%;
    text-align: center;
    margin: auto;
}
	.cdw-banner-content{
		top:0;
	}
	.cdw-banner-content h3, .cdw-banner-content h4 {
   display:none;
}
	.cdw-banner-content img {
    width: 50px;
}
.cdw-product-home .title-wrapper p, .cdw-product-home .title-wrapper a {
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
	.product-small.box .box-text .title-wrapper {
    position: absolute;
    bottom: 0;
		left:0;
		right:0;
		margin:auto;
}
}

/*liên hệ di động */
.thong-tin-lien-he ul li a img {
    height: 6vw;
    width: auto;
}
.thong-tin-lien-he{
    background: #fff;
    display: none;
    width: 100%;
    padding: 1.8vw;
    bottom: 0;
    left: 0;
    position: fixed;
    z-index: 99999999;
    height: auto;
    border-top: 1px solid #cbcbcb;
}
.thong-tin-lien-he ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: table;
    border-collapse: collapse;
    table-layout: fixed;
    width: 100%;
}
.thong-tin-lien-he ul li {
    text-align: center;
    display: table-cell;
    vertical-align: top;
		font-size:11px;
}
.thong-tin-lien-he  ul li a {
    display: inline-block;
    width: 100%;
    outline: none;
    color: #000;
    text-decoration: none;
}
@media screen and (max-width:480px){
.thong-tin-lien-he{
    display:block;
}
	div#masthead i.icon-search {
    font-size: 2em;
    color: #000;
}

}
@keyframes ring-alo-circle-img-anim {
	0% {
		transform: rotate(0deg) 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(0deg) scale(1) skew(1deg);
	}
	100% {
		transform: rotate(0deg) scale(1) skew(1deg);
	}
}
img.skew {
	animation: 1s ease-in-out 0s normal none infinite running ring-alo-circle-img-anim;
}	
/*end*/