/* ================// header style \\===================  */
/* -----------------------nav---------------------------  */
.nav-link {
  position: relative;
  transition: color 0.3s ease;
  display: inline-block; 
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  background-color: #BDDA46;
  width: 100%;
  transform: scaleX(0); /* Ẩn ban đầu */
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-link:hover {
  color: #BDDA46;
}

.group:hover .nav-link::after {
  transform: scaleX(1);
}




/* ---------------cart dropdown product--------------- */
.cart-dropdown {
  position: absolute;
  right: -16px;
  top: 40px;
  background-color: white;
  color: black;
  border-radius: 8px; 
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: scale(0);
  transform-origin: calc(100% - 20px) 10px;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  display: flex;
  flex-direction: column;
  z-index: 50;
}

.cart-dropdown.show {
  opacity: 1;
  transform: scale(1);
  display: flex;
}


/* ---------------search box--------------- */
.search-box {
  display: flex;
  border-radius: 8px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: scale(0.95);
  transform-origin: top right;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.search-box.show {
  opacity: 1;
  transform: scale(1);
  display: flex;
}


/* ---------------menu mobile/tablet--------------- */
.mobileMenu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;            
  background: white;      
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 1000;
}

.mobileMenu.show {
  transform: translateX(0);
  opacity: 1;
}


/* ==============// categories style \\==============*/
/* .category-container{
  box-shadow: 0px 4px 9.3px rgba(0, 0, 0, 0.25);
  background-image: url('../imgs/backgrounds/category-bg.png');
  background-size: cover;
  background-color: #d7ff379e;
  background-blend-mode:luminosity;
  filter:brightness(110%) contrast(130%);
} */

.title-category{
  background-image: url('../imgs/backgrounds/title-category.png');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}


/* product css */
.product-best_sell{
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background-color: white;
}

.product-best_sell::before {
  content: "";
  position: absolute;
  inset: 0; 
  z-index: 20;
  pointer-events: none;
  box-shadow: inset 0 0 6px rgba(0,0,0,0.25);
  transition: box-shadow 0.3s ease;
}



.product-best_sell:hover {
   box-shadow:
    0 1px 12px -4px rgba(0, 0, 0, 0.25),   
    1px 0 12px -4px rgba(0, 0, 0, 0.15),   
    -1px 0 12px -4px rgba(0, 0, 0, 0.15);  
}

/* .product-best_sell:hover::before {
  box-shadow: 0 0 12px rgba(0,0,0,0.25);
} */




/* ==============// Products list style \\============= */
.btn-pagination-active{
  border: 2px solid #D9FF00 !important;
  background-image: linear-gradient(to bottom, #FDFFE9, #CBE270) !important;
  transition: all 0.3s ease;
}


.btn-pagination-active:hover{
  filter: brightness(1.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: scale(1.05);
}

.btn-pagination-active i{
  font-size: 18px;
}



/* ================// Banner style \\===================  */
.banner {
  position: relative;
  z-index: 1;
  background-color: black;
  color:white;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../imgs/backgrounds/baner-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;                          
  background-position: right 0% top 21%; 
  opacity: 0.2; 
  z-index: -1; 
}




/* ================// Page responsive \\===================  */

@media (min-width: 640px) {
   .btn-pagination-active{
  padding: 4px !important;
 }
}

@media (min-width: 768px) {
  .btn-pagination-active{
  padding: 6px !important;
 }
}

@media (min-width: 1024px) {
   .btn-pagination-active{
  padding: 8px !important;
 }
}

@media (min-width: 1280px) {

}

@media (min-width: 1536px) {
}
