.theme-filter{
background:#fff;
border-radius:12px;
padding:20px;

position:sticky;
top:20px;
}

/* header */

.filter-header{
font-weight:600;
font-size:16px;
margin-bottom:20px;
display:flex;
justify-content:space-between;
}
.filter-content label input {
	margin-bottom: 12px;
    margin-top: 11px;
}
.close-filter{
cursor:pointer;
}
.box-text-products{
	text-align:center;
}
.theme-filter h4{
font-size:15px;
margin-bottom:10px;
cursor:pointer;
display:flex;
gap:10px;
	align-items:center;
}

.arrow{
font-size:14px;
transition:0.3s;
}

.filter-group.active .arrow{
transform:rotate(180deg);
}
/* group */

.filter-group{
margin-bottom:10px;
	    border-bottom: 1px solid;

}

.theme-filter h4{
font-size:15px;
margin-bottom:10px;
cursor:pointer;
}

.filter-content label{
display:flex;
align-items:center;
cursor:pointer;
	margin-bottom:0!important;
}

.filter-arrow{
transition:0.3s;
}
.filter-group.active .filter-arrow{
transform:rotate(180deg);
}

.innolabs-list-product-header{
	padding: 0 20px;
	margin-top:15px;
	display: flex;
    justify-content: space-between;
    align-items: center;
}
.theme-filter,
#theme-product-list {
  width: 100%;
  box-sizing: border-box;
}
.theme-filter .filter-content p{
margin:0;
}

.theme-filter .filter-content br{
display:none;
}
.mobile-filter-btn{
display:none;
}
#theme-product-list .woocommerce-pagination{
display:flex;
justify-content:center;
align-items:center;
gap:8px;
margin-top:30px;
flex-wrap:wrap;
}

#theme-product-list .woocommerce-pagination .page-numbers{
display:inline-flex;
align-items:center;
justify-content:center;
min-width:36px;
height:36px;
padding:0 12px;
border:1px solid #ddd;
border-radius:6px;
text-decoration:none;
font-size:14px;
color:#333;
background:#fff;
transition:all .2s;
}

/* hover */

#theme-product-list .woocommerce-pagination a.page-numbers:hover{
background:#1d72dc;
color:#fff;
border-color:#1d72dc;
}

/* current */

#theme-product-list .woocommerce-pagination .current{
background:#1d72dc;
color:#fff;
border-color:#1d72dc;
font-weight:600;
}

/* next */

#theme-product-list .woocommerce-pagination .next{
padding:0 14px;
}

/* mobile */

@media (max-width: 768px){
	.innolabs-list-product-header{
		display:flex;
		flex-direction: column;
		gap:10px;
	}
	.woocommerce-variation-add-to-cart, form.cart{
		flex-wrap:wrap;
	}
#theme-product-list .product{
width:50% !important;
max-width:50% !important;
flex:0 0 50% !important;
}
.related-products-wrapper .product .box-image:after,
.category-page-row .product .box-image:after,
.product-small .box-image:after{
content:"Xem";

}

	.mobile-filter-btn{
display:inline-block;
padding:8px 12px;
background:#000;
color:#fff;
border-radius:6px;
}

/* menu filter */

.theme-filter{
position:fixed;
top:0;
left:-280px;
width:260px;
height:100vh;
background:#fff;
z-index:9999;
transition:0.3s;
overflow:auto;
padding:20px;
}

/* mở menu */

.theme-filter.active{
left:0;
}

/* overlay */

.filter-overlay{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.4);
display:none;
z-index:9998;
}

.filter-overlay.active{
display:block;
}
	#theme-product-list .woocommerce-pagination{
gap:6px;
}

#theme-product-list .woocommerce-pagination .page-numbers{
min-width:32px;
height:32px;
font-size:13px;
}
}

/* NEXT */

#theme-product-list .woocommerce-pagination .next{
text-indent:-9999px;
position:relative;
width:36px;
height:36px;
display:inline-flex;
align-items:center;
justify-content:center;
}

#theme-product-list .woocommerce-pagination .next::before{
content:"";
position:absolute;
width:16px;
height:16px;
background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center;
background-size:contain;
text-indent:0;
}

/* PREV */

#theme-product-list .woocommerce-pagination .prev{
text-indent:-9999px;
position:relative;
width:36px;
height:36px;
display:inline-flex;
align-items:center;
justify-content:center;
}

#theme-product-list .woocommerce-pagination .prev::before{
content:"";
position:absolute;
width:16px;
height:16px;
background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23000' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15 6l-6 6 6 6'/%3E%3C/svg%3E") no-repeat center;
background-size:contain;
}


/*  */
.sub-menu{
		  overflow: hidden;
	border-radius:10px;
}
.innolabs-menu-bottom{
	margin-top:10px;
}
.innolabs-mega-menu{
	width:1000px!important;

	
}
.innolabs-mega-menu .img-inner{
	border-radius:10px;
	margin-bottom: 9px;
}
.innolabs-menu-bottom .col-inner{
	height: 90px!important
}

.innolabs-menu-bottom h4{
	padding-top:1rem!important;
	padding-bottom:0px!important;
	margin-bottom:0!important;
}
.innolabs-sub-menu-right > .col-inner > .text h4 {
    padding-top: 10px;
}
.innolabs-mega-menu a {
	gap:3px;
	color:black;
	font-weight:300;
	margin-bottom:5px;
}
.innolabs-mega-menu a:hover{
	font-weight:400;
}
@media (min-width: 850px) {
  .sub-menu {
    margin-left: -330px !important;
  }
	.floating-contact{
		right:3%!important;
	}
}
@media (max-width: 850px) {
  .sub-menu {
    padding-bottom: 0px !important;
  }
}

/* button */
.innolabs-sub-menu-right>.col-inner{
	height:100%!important;
}
.floating-contact {
  position: fixed;
  right: 5%;
  bottom: 0%;
  transform: translateY(-50%);
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
}

.floating-contact .fc-item {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: transparent;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  position: relative;
  overflow: visible;

  opacity: 0;
  transform: translateY(-40px) scale(0.8);

  animation:
    floatDrop 0.6s ease forwards,
    btnShake 2s infinite 0.6s,
    btnPulse 2s infinite 0.6s;
}

/* delay từng nút */
.floating-contact .fc-item:nth-child(1) {
  animation-delay: 0.1s, 0.7s, 0.7s;
}
.floating-contact .fc-item:nth-child(2) {
  animation-delay: 0.25s, 0.85s, 0.85s;
}
.floating-contact .fc-item:nth-child(3) {
  animation-delay: 0.4s, 1s, 1s;
}
.floating-contact .fc-item:nth-child(4) {
  animation-delay: 0.55s, 1.15s, 1.15s;
}

.floating-contact .fc-item::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(0,0,0,0.15);
  animation: btnWave 2s infinite;
  z-index: -1;
}

.floating-contact .fc-item:nth-child(1)::after { animation-delay: 0.7s; }
.floating-contact .fc-item:nth-child(2)::after { animation-delay: 0.85s; }
.floating-contact .fc-item:nth-child(3)::after { animation-delay: 1s; }
.floating-contact .fc-item:nth-child(4)::after { animation-delay: 1.15s; }

.floating-contact .fc-item:hover {
  animation-play-state: paused;
  transform: scale(1.08);
}

.floating-contact img {
  width: 100%;
  height: 100%;
}

.floating-contact .fc-phone {
  font-size: 24px;
  color: #fff;
  background: #ef2b2d;
}

.floating-contact .fc-facebook {
  font-size: 30px;
  font-weight: bold;
  color: #1877f2;
}

.floating-contact .fc-calendar {
  font-size: 22px;
}

@keyframes floatDrop {
  0% {
    opacity: 0;
    transform: translateY(-60px) scale(0.6);
  }
  60% {
    opacity: 1;
    transform: translateY(8px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes btnShake {
  0% { transform: translateY(0) scale(1); }
  10% { transform: translateY(-3px) scale(1); }
  20% { transform: translateY(3px) scale(1); }
  30% { transform: translateY(-3px) scale(1); }
  40% { transform: translateY(3px) scale(1); }
  50% { transform: translateY(0) scale(1); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes btnPulse {
  0% { box-shadow: 0 0 0 0 rgba(0,0,0,0.4); }
  70% { box-shadow: 0 0 0 15px rgba(0,0,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); }
}

@keyframes btnWave {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}
@media (min-width:1500px){
	#custom-product-drawer{
		height:100vh;
	}
}
@media (max-width: 849px) {
  .floating-contact {
    right: 10px;
  }
/* 
  .floating-contact .fc-item {
    width: 48px;
    height: 48px;
  } */
}
.fc-top {
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.fc-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* detail */
#custom-product-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    z-index: 9998;
}

#custom-product-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(720px, 100%);
    background: #fff;
    box-shadow: -8px 0 30px rgba(0,0,0,.12);
    transform: translateX(100%);
    transition: transform .35s ease;
    z-index: 9999;
    overflow-y: auto;
    
}

#custom-product-overlay.active {
    opacity: 1;
    visibility: visible;
}

#custom-product-drawer.active {
    transform: translateX(0);
}

.custom-drawer-close {
    position: absolute;
    top: 14px;
    right: 18px;
    border: 0;
    background: none;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
}

#custom-product-drawer h3 {
    margin-bottom: 20px;
    font-size: 32px;
}

body.custom-drawer-open {
    overflow: hidden;
}
.related-products-wrapper  .product-small .col-inner {
	height:360px!important;
}
.product-info form.cart{
	display:flex;
	flex-wrap:nowrap !important;
	gap:1rem;
}
.custom-drawer-close{
	margin-right:0px!important;
	display:flex;
	justify-items:end;
	align-items:center;
	padding:0rem 5px!important;
	
}
.custom-drawer-head{
	background:#1d72dc;
	color:white;
	display:flex;
	align-items:center;
	padding: 32px 28px;
	 border-radius:0 24px;
	border:1px solid #1d72dc;
}
.custom-drawer-head h3{
	color:white;
	margin:0px!important;
}
.custom-form-detail-theme{
	padding: 32px 28px;
}
.custom-open-popup-btn{
	background:red!important;
}
.custom-form-detail-theme .wpcf7-submit{
	background:#1d72dc !important;
	color:white !important;
}

/* 1. Độ rộng của thanh cuộn */
::-webkit-scrollbar {
    width: 10px; /* Độ rộng cho thanh dọc */
    height: 10px; /* Độ cao cho thanh ngang (nếu có) */
}

/* 2. Màu nền của đường dẫn thanh cuộn (phần máng trượt) */
::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 10px;
}

/* 3. Màu của thanh trượt (phần cục chạy) */
::-webkit-scrollbar-thumb {
    background: #1d72dc; /* Màu xanh bạn muốn */
    border-radius: 10px;  /* Bo tròn đầu thanh trượt */
    border: 2px solid #f1f1f1; /* Tạo khoảng trống nhỏ giữa thanh và nền cho đẹp */
}

/* 4. Hiệu ứng khi di chuột vào thanh trượt */
::-webkit-scrollbar-thumb:hover {
    background: #2980b9; /* Màu xanh đậm hơn khi hover */
}
.fc-top-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1d72dc;
  font-size: 20px;
  line-height: 1;
  pointer-events: none;
}

.progress-bg,
.progress-bar {
  fill: none;
  stroke-width: 4;
}

.progress-bg {
  stroke: rgba(255,255,255,0.2);
}

.progress-bar {
  stroke: #1d72dc;
  stroke-linecap: round;
  stroke-dasharray: 150.8;
  stroke-dashoffset: 150.8;
  transition: stroke-dashoffset 0.1s linear;
}
.section-collection-theme .row-collection-theme.row{
  max-width:100%!important;
}
.fb-custom-btn {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fff;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.fb-custom-btn:hover {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}