/*
Theme Name: Đồng Phục Công Sở
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.1.23
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
h1, h2, h3, h4, h5, h6, .heading-font{
    color: #fff;
}
textarea,input, .button {
    border-radius: 6px !important;
}
input::placeholder, textarea::placeholder{
    color: #c1c1c1 !important;
}
textarea:focus,input:focus:not([type="submit"]) {
    color: #fff !important;
    background-color: transparent !important;
}
.slider-wrapper .loading-spin{
    display: none !important;
}

.primary:hover, .wpcf7-submit:hover { 
    box-shadow: 2px 4px 20px rgba(243, 233, 30, 0.4) !important;
}
.primary.button, input[type=button].button, input[type=reset].button, input[type=submit], input[type=submit].button {
color: #000 !important;
}
.primary.button:hover, input[type=button].button, input[type=reset].button, input[type=submit], input[type=submit].button {
color: #000 !important;
}

.entry-content ul, .term-description ul{
    margin-left: 20px;
}
.entry-content ol, .term-description ol{
    margin-left: 20px;
}

.term-description table, .entry-content table {
    width: 100%;
    max-width: 100%;
    margin-bottom: 20px !important;
}
.term-description table > thead > tr > th, .entry-content table > thead > tr > th {
    border-bottom: 1px solid #ddd;
    vertical-align: bottom;
}
.term-description table td, .term-description table th, .entry-content table td, .entry-content table th{
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}
.term-description table tr:nth-of-type(2n+1), .entry-content table tr:nth-of-type(2n+1) {
    background-color: rgba(255, 255, 255, 0.1);
}

.blog-single .entry-content {	
    padding-top: 0px;
}
.wp-caption {
    margin: 0px auto 1em auto;
    display: block;
    text-align: center;
    max-width: 800px;
}
.wp-caption.aligncenter,
figure.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.wp-caption img,
figure.wp-caption img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
.entry-header-text {
    padding: 0px
}
.rank-math-breadcrumb {
    text-transform: uppercase;
}
.breadcrumbs {
    font-weight: normal;
}
p {margin-bottom: 1em}
.box-text p {
margin-bottom: 10px;
}
.blog-post-inner .is-divider {display: none}
.header-contact i, .header-contact span{color: #000 !important}
.slider-nav-dots-dashes-spaced .flickity-page-dots .dot {
border-radius: 99px;
width: 25px;
}
.flickity-page-dots{
  bottom: 15px;  
}
.flickity-page-dots .dot.is-selected {
    width: 75px;
}
.col, .columns, .gallery-item, .row-large>.col {padding-bottom: 15px}
select, input[type=number], input[type=tel], input[type=text],input[type=email], textarea {
    border-radius: 5px
}
.wpcf7-spinner {
    display: none
}


.price-wrapper {display: none}
.variations .label {
    font-size: 20px;
    padding-bottom: 10px
}
.variations label {
font-weight: normal;
}
.woo-selected-variation-item-name {display: none !important}
.product-small .box-text {
    background: rgba(67, 67, 67, 1);
}
.box-text .product-title {
  margin: 0px;
    font-size: 14px;
}
.woocommerce-variation-add-to-cart {display: none}
.nav-tabs+.tab-panels {
background-color: rgba(57, 57, 54, 1);
    border: none;
padding: 30px 40px 10px;
}
.nav-tabs>li a{
    border: 2px solid rgba(243, 233, 30, 1);
padding: 10px 40px;
font-size: 16px;
text-transform: none;
    background: transparent;
    margin-left: 5px;
    margin-bottom: 15px;
}
.nav-tabs>li.active>a {
    color: #000 !important;
    background:rgba(243, 233, 30, 1);
}
.product-section-title {
    display: none;
}

::-webkit-input-placeholder { /* WebKit browsers */
color: #fff !important;
opacity: 1;
}

.term-description {
padding: 20px;
background: rgba(40, 40, 36, 1);
    margin-top: 20px;
}
.product-title {
    color: #494949
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu ul.mega-sub-menu ul.mega-sub-menu {
margin-left: 20px;
}
.category-filtering  {
    display: none
}
.dark .button .primary {
    color: #000;
}

.accordion-title.active {
    color: #000;
    background: none;
    border: none;
}
.accordion-title {
    padding: 10px 0px 10px 40px;
    font-size: 100%;
    border: none;
}
.accordion-inner {
padding: 10px 20px 0px;
border: 1px solid #494949;
border-radius: 10px;
    margin: 0px 0px 0px 25px;
}
td {
    color: #000
}
.hidden-content {
overflow: hidden;
line-height: 1.5em;
height: 15em;
}
.show-more {
margin: 0 auto;
max-width: 150px;
text-align: center;
        display: block;
cursor: pointer;
color: #000;
background: rgb(229 229 229);
padding: 10px 20px;
text-transform: uppercase;
font-weight: bold;
}
.hidden-content {
margin-bottom: 10px;
}
.category-page-row {
    padding-top: 0;
}
@media (min-width: 1024px) {
    .category-page-row {
        padding-top: 15px;
    }
}
.abs-ft {
    padding: 0px;
    text-align: center;
    color: #000;
    margin: 0px;
}
.breadcrumbs a:first-of-type {color: #fff;}
.sidebar-inner {
    background: rgba(40, 40, 36, 1);
    padding: 20px 20px 5px;
}
span.widget-title {
    text-transform: none;
}
span.widget-title:before {
    content: "";
display: inline-block;
width: 2px;
height: 30px;
background: rgba(243, 233, 30, 1);
margin: 0px 10px -10px 0px;
}
.sidebar-inner .is-divider {
    display: none;
}
.sidebar-inner .menu-secondary-container {
    padding-top: 15px;
}
.shop-background .row-small:not(.row-collapse) {
margin-left: 0;
margin-right: 0;
background: rgba(40, 40, 36, 1);
padding: 20px 10px 10px;
}

.custom-product-banner {
    position: relative;
    width: 100%;
    height: 350px; /* tùy chỉnh chiều cao theo ý bạn */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.custom-product-banner .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Màu đen mờ */
    z-index: 1;
}

.custom-product-banner .content {
    position: relative;
    z-index: 2;
    color: #ffe100; /* màu vàng chanh nổi bật */
}

.custom-product-banner .product-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
}

.product-breadcrumb-container{
    font-size: 14px;
    color: #ffffff;
    width: max-content;
}
.breadcrumbs {
    line-height: 1.8;
}
.breadcrumbs>a{
    border-radius: 5px;
    padding: 3px 8px;
    background-color: #3d3d3d;
}
.breadcrumbs>a:hover{
    background-color: #4f4f4f;
}
.breadcrumbs>a>i{
    margin-right: 5px;
}
.bai-viet-lien-quan h3, .xem-them .tieu-de-xem-them {
    color: #f3e91e
}
.xem-them ul li a, .bai-viet-lien-quan h4 {
    color: #fff
}
.add-to-cart-button {
    display: none !important;
}
.header-main .nav>li>a {
    line-height: unset !important;
}
.wpcf7{
    color: #fff;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 20px 0;
}

.size-table th,
.size-table td {
    border: 1px solid #ddd;
    padding: 12px 8px;
}

.size-table thead {
    background-color: #f2f2f2e6;
    font-weight: bold;
}

.size-table th {
    background-color: #eeeeee80;
    color: #333;
}

.size-table tr:hover {
    background-color: #f1f1f129;
}

/*** mobile ***/
/* custom mobile CSS */
.col1-title {
    font-size: 24px !important;
}

.lhtv {
border-radius: 0px !important;
    padding: 15px 10px 0px !important
}
.lhtv input[type=submit] {
min-width: unset !important
}

.year-established {
width: 6rem !important;
height: 6rem !important;
}
.year-established .year {
font-size: 30px !important;
}
.category-page-row2 {
    padding-left: 30px !important
}
.woocommerce-tabs {
    display: !important
}
.home-title {
    font-size: 25px !important
}
.home-tit {
    font-size: 22px !important
}
.timhieuthem {
    padding: 0px 10px !important;
}
.category-banner {
    height: 170px !important;
}
.category-header .page-title {font-size: 28px !important;
    width: auto;
    margin-top: -30px !important;
}
.category-breadcrumb, .product-breadcrumb-container {
    width: 100%;
}
.custom-product-banner {
    height: 180px !important;
}
.custom-product-banner .product-title {
    font-size: 25px !important
}

.nav-tabs+.tab-panels {
    padding: 20px 15px 10px !important;
    border-radius: 7px;
}


/* logo vs nav menu */
@media (max-width: 549px) {
    #logo{
        width: 70px !important;
    }
}

/*-- chia cột Form --*/
#info-left {
    width: 49%;
    float: left;
    margin-right:2%;
}
#info-right {
    width: 49%;
    float: right;
}
.form-contact-twocol:after {
    content:"\0020";
    display:block;
    height:0;
    clear:both;
    visibility:hidden;
    overflow:hidden;
    margin-bottom:10px;
}
.form-contact-twocol {
    display:block;
}


.home-title {
	font-weight: bold;
	font-size: 28px;
	margin-bottom: 20px;
}
.sub-title {
	font-size: 12px;
	margin-bottom: 5px;
	color: #828282 !important;
}
.sub-title:before {
	  content: "";
    display: inline-block;
    width: 71px;
    height: 1px;
    background: #797979;
    margin: 4px 10px 4px 0px;
}
.sub-title:after {
	  content: "";
    display: inline-block;
    width: 71px;
    height: 1px;
    background: #797979;
    margin: 4px 0px 4px 10px;
}


.home-tit {
	font-weight: bold;
	font-size: 28px;
	margin-top: 0px !important;
	margin-bottom: 15px !important;
}
.sub-tit {
	font-size: 12px;
	margin-bottom: 10px !important;
	color: #828282 !important;
	text-transform: uppercase;
}
.home-gt {
	font-size: 18px;
	color: #D7D7D7 !important;
}
.home-banner .overlay{
	background: linear-gradient(200deg, rgba(21, 21, 19, 0.6) 0%, #151513 73.96%) !important
}
.banner-tit {
	color: #F3E91E !important;
	font-weight: bold;
	font-size: 24px;
}
.banner-sub {
	font-size: 16px;
}

.home-cate img {
	border-radius: 10px;

}
.home-cate .box-badge .box-text {
	bottom: 5%;
}
.home-sp .box-text {
    background: transparent
}

.ft-title {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 18px;
	margin-bottom: 15px;
}
.ft-title:after {
		content: "";
    display: block;
    width: 30px;
    height: 3px;
    background: #fff;
    margin: 5px 0px;
}
.vct-title {
	font-weight: bold;
	font-size: 25px;
	padding-bottom: 5px;	
	margin-bottom: 20px;
	border-bottom: 2px solid rgba(0,0,0,.1);
}
.sp-title {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 35px;
	margin-bottom: 10px;
}
.vct-post .col-inner {
		border-bottom: 2px solid rgba(0,0,0,.1);
	padding-bottom: 15px
}
.vct-menu {font-size: 15px}
.vct-btp {
	background: #333333;
	border-radius: 10px;
	padding: 25px 40px;
	color: #fff;
	font-weight: bold;
}
.ft-text{
	margin-left: 22px;
}
.fa-solid, .fas {
    padding-right: 5px;
    font-size: 16px;
}

.vct-year {
	font-weight: bold;
	font-size: 2.2rem;
    text-align: center;
    line-height: 1em;
}
.vct-text {
	font-weight: bold;
	margin-bottom:.5em;
}
.vct-scroll {
	max-height: 555px;
	overflow-y: scroll;
}
.vct-tit {
	font-weight: bold;
	color: #f3e91e;
		line-height: 0em;
}
.vct-sub {
	font-weight: bold;
	font-size: 20px;
}
.vct-image img{
	border-radius: 20px !important
}
.year-established {
	    display: flex;
	left: 20px;
    position: absolute;
	    flex-direction: column;
	align-items: center;
    border-radius: 999999px;
    background-color: #f3e91e;
    width: 8.5rem;
    height: 8.5rem;
    color: #000;
	    justify-content: center;
}
.body-2 {
	font-size: .9375rem;
      line-height: 0em;
}
.year-established .year {
    font-size: 45px;
    font-weight: 900;
	  line-height: 1.3em;
}


.kh-section img {
	border-radius: 10px;
}
.kh-title {
	font-weight:bold;
	font-style: italic;
	font-size: 36px;
	margin-bottom: 10px;
	text-transform: uppercase;
}
.kh-sub {
	color: #D7D7D7 !important;
}

.kh-image {
	z-index: -99;
}

.bao-chi img {
	border: 1px solid #494949;
	border-radius: 10px;
}
.bao-chi .flickity-button {
	top: 20%
}
.lhtv {
	background: #ECECEC;
	border-radius: 10px;
		padding: 25px 50px 10px;
}
.lhtv .form-flat input:not([type=submit]) {
    background-color: #fff;
    border-color: #000;
	border-width: 2px;
}
.lhtv input[type=submit] {
	border-radius: 99px;
	    min-width: 300px;
	background: #000;
	color: #fff !important;
	text-transform: none;
}
.bst-title {
	font-weight: bold;
	font-size: 35px;
	margin-bottom: 10px;
}
.bst-grid img {
	border-radius: 10px
}

.qttk-num {
	font-weight: 700;
	font-size: 120px;
	    margin-bottom: 0px;
    line-height: 150px;
	    color: transparent !important;
    -webkit-text-stroke: 2px #f3e91e;
    font-family: 'Barlow', sans-serif;
}
.qttk-tit {
	font-size: 16px; 
	line-height: 24px;
	font-weight: bold;
	font-style: italic;
	text-transform: uppercase;
	
}
.qttk img {
	border-radius: 10px
}
.qttk .col1 .col-inner{
	background: url(../image-51.html);
	  background-color: #282824;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: top;
    background-size: 30%;
	padding: 40px 20px;
}
.qttk .col2 .col-inner {
	background: url(../image-52.html);
	  background-color: #282824;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: top;
    background-size: 40%;
		padding: 40px 20px;
}
.qttk .col3 .col-inner {
		background: url(../image-53.html);
	  background-color: #282824;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: top;
    background-size: 55%;
		padding: 40px 20px;
}
.qttk .col4 .col-inner{
		background: url(../image-54.html);
	  background-color: #282824;
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: top;
    background-size: 35%;
		padding: 40px 20px;
}
.tu-van input[type=submit]{
	width: 100%;
	height: 45px;
}
.tu-van select, input[type=number], input[type=tel], input[type=text], input[type=email], textarea {
		height: 45px;
}

.kn {
	background: #333333;
	border-radius: 5px;
	padding: 10px 0px;
	color: #fff;
}
.kn-tit {
	font-weight: bold;
	font-size: 25px;
	margin-bottom: 0px;
}
.sub-kn {
	font-weight: bold;
	    font-size: 12px;
    text-transform: uppercase;
	margin-bottom: 0px;
		color: #fff;
}
.qttk-tile {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 18px;
	margin-top: 20px;
}

.tvtk .row-small>.col {
	padding: 0px;
}
.tvtk-col2 .button {
	margin-bottom: 0px;
}
.tvtk-breadcrumb .rank-math-breadcrumb {
    font-size: 14px;
	  background-color: rgba(66, 66, 64, 1) !important;
    padding: 20px 40px 5px;
    width: max-content;
	  margin: auto;
}
.tvtk-table td {
	  padding: 10px 0px;
}
.tvtk-gap {
	background: #151513;
}
.tvtk-title {
	 font-weight: bold;
    font-size: 25px;
    margin-bottom: 10px;
}
.tvtk-form input[type=submit]{    padding: 0px 50px;}
.tvtk-form select, input[type=number], input[type=tel], input[type=text], input[type=email], textarea {
		border-radius: 0px;
	border: 1px solid rgba(133, 133, 133, 0.5);
	margin: 0px 0px 10px;
	background: transparent;
	color: #fff;
}
.tvtk-visao p {
	color: rgba(215, 215, 215, 1);
	font-size: 14px;
}
.tvtk-table .dark a:hover {
	color: #000 !important;
}

.home-icon p{
	    margin-top: 20px;
}
.home-icon .col {
	padding-bottom: 0px
}
.col1-title {
			font-weight: bold;
	font-size: 25px;
	margin-bottom: 10px;
}

.page-cate .box-shade.dark .box-text {
    padding: 8px;
    background: #f3e91e;
	text-shadow: none;
}
.page-cate p {
		color: #000;
	font-weight: bold;
	margin-bottom: 0px;
}

.ttnb-title {
   font-weight: bold;
	 font-size: 25px;
   margin-bottom: 0px;
}
.product-category-image img {	
    height: 350px;
    object-fit: cover;
    width: 100%;
}


.category-banner {
    position: relative;
    width: 100%;
    height: 330px; /* chỉnh tuỳ ý */
    overflow: hidden;
}

.category-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lớp overlay */
.category-banner::after {
    content: "";
    position: absolute;
    inset: 0; /* top:0; left:0; bottom:0; right:0; */
    background-color: rgba(40, 40, 36, 0.67);
    z-index: 1;
}

/* Tiêu đề sản phẩm */
.category-header {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
}

.category-header .page-title {
    font-size: 36px;
    font-weight: 700;
    color: rgba(243, 233, 30, 1); /* Màu vàng tươi */
    text-transform: uppercase; /* Chữ in hoa */
    margin: 0;
}

/* Breadcrumb */
.category-breadcrumb {
   position: absolute;
	text-align: center;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(66, 66, 64, 1) !important;
    padding: 20px 50px;
    z-index: 2;
}

.category-breadcrumb nav.woocommerce-breadcrumb {
    color: rgba(243, 233, 30, 1);
    font-size: 14px;
}

.category-breadcrumb a:hover {
     color: rgba(243, 233, 30, 1);
}


.product-banner .product-thumbnails {
	display: none
}
.product-banner .product-images {
    position: relative;
    width: 100%;
    height: 330px; /* hoặc tùy chỉnh chiều cao */
    overflow: hidden;
}
.product-banner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-col .product-title {
	color: rgba(243, 233, 30, 1)
}
.product-text p {
	text-transform: uppercase;
}
.product-text .icon-box-img {
	border: 1px solid rgba(93, 93, 93, 1);
    margin-bottom: 20px;
    padding: 5px;
}
.product-text .icon-box-left .icon-box-img+.icon-box-text {
	margin: auto;
	padding-left: .7em;
}
@media only screen and (min-width: 600px) {
.vct-row {margin-left: 40px;}
.kh-col2 .col-inner{
	min-height: 396.66px;
}
.page-cate p {	
		font-size: 16px;
}
	.category-page-row2 {
		padding-left: 15px !important
	}
}

.product-small .col-inner {
  border-radius: 8px; /* Bo góc block sản phẩm */
  overflow: hidden;   /* Giúp bo góc hiệu quả, tránh nội dung tràn ra */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
/* Thêm viền và shadow cho hộp sản phẩm khi hover */
.product-small:hover .col-inner {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}


/* Bo góc ảnh luôn, cho đồng bộ */
.product-small .image-fade-out img {
  border-radius: 0; /* Bỏ bo góc riêng cho ảnh, để chung bo góc với block */
}
.image-fade-out::before,
.image-fade-out::after {
  display: none !important; /* Ẩn overlay */
}
.product-small:hover .box-image img {
  /* Hiệu ứng scale nhẹ */
  transform: scale(1.05);
  /* Không thay đổi opacity/filter để tránh repaint */
  opacity: 1 !important;
  transition: transform 0.3s ease;
}

.has-equal-box-heights .box-image{
    padding-top: 100% !important;
}


.xem-them .tieu-de-xem-them {
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    font-size: 19px;
	color: #fff;
}
.xem-them ul li {
    margin-bottom: 3px;
}
.xem-them ul li a {
    font-weight: 700;
    font-size: 16px;
}
.xem-them ul li a:hover {
    text-decoration: underline;
}
.blog-single .entry-meta {
    text-transform: none;
    font-size: 14px;
    letter-spacing: 0;
    border-top: 1px solid #e2e2e2;
    border-bottom: 1px solid #e2e2e2;
    padding: 10px;
    background: #f9f9f9;
}
.danh-muc {
    margin-bottom: 15px;
}
.danh-muc span.title, .the-tim-kiem span.title {
    border-radius: 4px;
    background: #126e32;
    padding: 4px 10px;
    color: white;
    margin-right: 5px;
}
.danh-muc a, .the-tim-kiem a {line-height:32px;
    border-radius: 4px;
    margin-bottom: 10px;
    padding: 4px 10px;
    background: #dedede;
    color: #464646;
}
.danh-muc a:hover, .the-tim-kiem a:hover {
    background: #6dca19;
    color: white;
}
.bai-viet-lien-quan {
    margin-top: 15px;
}
.bai-viet-lien-quan h3 {
    font-size: 19px;
    color: black;
}
.bai-viet-lien-quan ul {
    margin-bottom: 0;
    display: inline-block;
    width: 100%;
}
.bai-viet-lien-quan ul li {
    list-style: none;
    width: 25%;
    color: graytext;
    float: left;
    padding-left: 4px;
    padding-right: 5px;
}
.bai-viet-lien-quan ul li .box-image img {
    height: 120px;
    border-radius: 4px;
    object-fit: cover;
    object-position: center;
}
.bai-viet-lien-quan h4 {
    font-size: 15px;
    line-height: 19px;
    padding-top: 7px;
    height: 64px;
    overflow: hidden;
}


.phonering-alo-sms{
    display:none;
}
.echbay-sms-messenger {
    bottom: 65px !important;
}
.echbay-sms-messenger div.phonering-alo-zalo a{
    background-color: #f3e91e !important; background-image: url(../webp/zalo.webp) !important;
}
.echbay-sms-messenger div.phonering-alo-alo a {
    background-image: url(../webp/call.webp) !important;
}
.echbay-sms-messenger div.phonering-alo-messenger a{
    background-image: url(../webp/messenger.webp) !important;
}
.echbay-sms-messenger a{
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
}
.chu-ky {
    background-color: #f3e91e;
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
    color: #000;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}
.chu-ky p, .chu-ky td{
    color: #000;
}

/*****
.nav-dropdown>li.nav-dropdown-col{display:block}
.nav-dropdown{border:1px solid #ddd; padding:0}
.nav-dropdown .nav-dropdown-col>a, .nav-dropdown li a{font-weight:normal !important; text-transform:none !important;font-size:15px; font-weight:500; color: #000}
.nav-dropdown .nav-dropdown-col>ul li:hover{background:#000}
.nav-dropdown .nav-dropdown-col>ul li:hover>a{color:#fff}
.nav-dropdown-default>li:hover>a{color:#000}
.nav-dropdown-default>li:hover{background:#f3e91e}
.nav-dropdown-default>li>a{border-bottom:0 !important}
.nav-dropdown-has-arrow li.has-dropdown:before{border-width: 10px; margin-left: -10px;}
.nav-dropdown .nav-dropdown-col>ul{border: 1px solid #d2d2d2;margin-top:-41px;box-shadow: 2px 2px 5px #828282;display:none;position: absolute;
    left: 100%;z-index: 9;background: white;min-width: 240px;}
.nav-dropdown>li.nav-dropdown-col{width:100%;border-right:0}
.nav-dropdown .nav-dropdown-col>ul li a{padding:10px;  text-transform: none;color:black}
.header-nav li.nav-dropdown-col:hover >ul{display:block !important}

.nav-dropdown-has-arrow li.current-dropdown.has-dropdown:before, .nav-dropdown-has-arrow li.current-dropdown.has-dropdown:after {
		display: none !important;
}

*****/


.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 20px;
}

.product-groups-grid{
    padding-bottom: 20px;
}
.product-groups-grid[data-columns="2"] .categories-list {
    grid-template-columns: repeat(2, 1fr);
}

.product-groups-grid[data-columns="3"] .categories-list {
    grid-template-columns: repeat(3, 1fr);
}

.product-groups-grid[data-columns="4"] .categories-list {
    grid-template-columns: repeat(4, 1fr);
}
.product-groups-grid[data-columns="5"] .categories-list {
    grid-template-columns: repeat(5, 1fr);
}

.category-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    margin: 0px !important;
}

.category-link {
    display: block;
    text-decoration: none;
    color: #333;
    padding: 10px;
    transition: all 0.3s ease;
    height: 100%;
}
.sub_title{
    font-size: 14px;
    color: #888;
}
.category-link:hover {
    color: #007cba;
}

.category-image {
    text-align: center;
    margin-bottom: 8px;
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.category-image:hover img {
    transform: scale(1.05);
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
}

.placeholder-icon {
    font-size: 24px;
    opacity: 0.5;
}

.category-info {
    text-align: center;
}

.category-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #333;
    line-height: 1.3;
}

.category-count {
    font-size: 12px;
    color: #666;
}

/* Responsive */
@media (min-width: 1024px) {
    .category-item:hover {
        # transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }
}
@media (max-width: 768px) {
    .product-groups-grid[data-columns="5"] .categories-list,
    .product-groups-grid[data-columns="4"] .categories-list,
    .product-groups-grid[data-columns="3"] .categories-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .product-groups-grid[data-columns="5"] .categories-list,
    .product-groups-grid[data-columns="4"] .categories-list,
    .product-groups-grid[data-columns="3"] .categories-list,
    .product-groups-grid[data-columns="2"] .categories-list {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media only screen and (max-width: 48em) {
    .bai-viet-lien-quan ul li {
        width: 50%;
    }
    .bai-viet-lien-quan ul li .box-image img {
        height: 90px;
    }
}

/* Mobile - an vai thu trang doanh muc */
@media (max-width: 480px) {
	h1.shop-page-title{
		display: none;
	}
	.woocommerce-breadcrumb{
		text-align: left;
	}
	.woocommerce-ordering{
		display: none;
	}
}


/* popup contact */
.popup-contact-box, .popup-contact-box h3{
    color: white;
}
.popup-contact-box h3{
    color: white;
}
.popup-contact-box .button{
    min-width: 265px;
    margin-right: 0px;
}

/* cat product */
.shop-page-title{
    text-transform: uppercase;
    color: var(--primary-color) !important;
}

/* single product */
.text-primary{
	color: var(--primary-color) !important;
}
.btn-zalo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: #00AEEF;
    color: white;
    font-weight: bold;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 174, 239, 0.4);
    animation: zaloShakePulseSmall 1.2s infinite;
    transition: transform 0.25s cubic-bezier(.68,-0.55,.27,1.55);
    margin-bottom: 15px;
}
.btn-zalo svg {
    height: 30px;
    width: 30px;
}
.btn-zalo img {
    max-height: 40px;
    filter: brightness(0) invert(1);
}
.btn-zalo:hover {
    animation: none;
    transform: none;
}
@keyframes zaloShakePulseSmall {
    0% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0 0 rgba(0, 174, 239, 0.7);
    }
    10% {
        transform: scale(1.04) rotate(-2deg);
    }
    20% {
        transform: scale(1.07) rotate(2deg);
    }
    30% {
        transform: scale(1.04) rotate(-2deg);
    }
    40% {
        transform: scale(1.07) rotate(2deg);
    }
    50% {
        transform: scale(1.04) rotate(-2deg);
        box-shadow: 0 0 0 10px rgba(0, 174, 239, 0.2);
    }
    60% {
        transform: scale(1.07) rotate(2deg);
    }
    70% {
        transform: scale(1.04) rotate(-2deg);
    }
    80% {
        transform: scale(1.02) rotate(1deg);
    }
    90% {
        transform: scale(1.01) rotate(-1deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0 0 rgba(0, 174, 239, 0);
    }
}
@keyframes zaloShakePulseYellow {
    0% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0 0 rgba(255, 235, 59, 0.7);
    }
    10% {
        transform: scale(1.04) rotate(-2deg);
    }
    20% {
        transform: scale(1.07) rotate(2deg);
    }
    30% {
        transform: scale(1.04) rotate(-2deg);
    }
    40% {
        transform: scale(1.07) rotate(2deg);
    }
    50% {
        transform: scale(1.04) rotate(-2deg);
        box-shadow: 0 0 0 10px rgba(255, 235, 59, 0.2);
    }
    60% {
        transform: scale(1.07) rotate(2deg);
    }
    70% {
        transform: scale(1.04) rotate(-2deg);
    }
    80% {
        transform: scale(1.02) rotate(1deg);
    }
    90% {
        transform: scale(1.01) rotate(-1deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        box-shadow: 0 0 0 0 rgba(255, 235, 59, 0);
    }
}

@keyframes phoneringBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 16px rgba(0,0,0,0.18);
    }
    10% {
        transform: translateY(-4px) scale(1.05);
    }
    20% {
        transform: translateY(-8px) scale(1.1);
    }
    30% {
        transform: translateY(-4px) scale(1.05);
    }
    40% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(2px) scale(0.98);
    }
    60% {
        transform: translateY(0) scale(1);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

@keyframes phoneringBounceActive {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.12);
    }
}

@media (max-width: 767px) {
    .btn-zalo{
        display: flex;
        width: 100% !important;
        justify-content: center;
        align-items: center;
        padding: 16px 0;
        font-size: 18px;
        animation: zaloShakePulseSmall 1.2s infinite;
    }
}


/* Tablet (3 cột) */
@media (max-width: 1024px) {
  .customtheme-co-item {
    flex: 1 1 calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
  }
}

/* Mobile ngang (2 cột) */
@media (max-width: 480px) {
    .customtheme-co-item {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50%);
    }
}

@media (max-width: 767px) {
    .customtheme-co-item{
        max-width: 50% !important;
    }
    .medium-logo-center .flex-left{
        flex: none !important;
    }
    .echbay-sms-messenger {
        width: 52px !important;
    }
    .echbay-sms-messenger a{
        width: 50px;
        height: 50px;
        line-height: 45px;
    }
    .wp-caption {
        max-width: 100% !important;
    }
    .wp-caption img,
    figure.wp-caption img {
        max-width: 100% !important;
    }
}
@media (min-width: 1024px) {
    .customtheme-co-item{
        min-width: 23.655% !important;
    }
}