
.ratio > img{
  height: 100% !important;
  width: 100% !important;
  margin: auto;
  object-fit: cover;
  transition: 0.4s ease all !important;
 }
 .swiper-main-slider {
  position: relative;
  width: 100%;
  height: 650px;
}

.swiper-main-slider .swiper-slide {
  position: relative;
  overflow: hidden;
  height: 650px;
}
.banner-gift.swiper-main-slider .swiper-slide{
  height: 400px;
}

.slide-item {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  color: white;
  z-index: 2;
  
}

.slide-content {
  position: absolute !important;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4 !important;
}

.slide-image {
  height: 100%;
  text-align: right;
  z-index: -1;
  position: relative;
  position: absolute !important;
  top: 0;
  right: 0;
  width: 100%;
}

.slide-image img {
  height: 100% !important;
  object-fit: cover !important;
  object-position: center;
}

.slide-content h4 {
  font-size: 3.2rem;
  font-weight: bold;
  margin-bottom: 0.3rem;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease;
  color: var(--third);
  letter-spacing: 1px;
  font-family: var(--fontSub);
}

.slide-content h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease 0.1s;
  color: #333;
  letter-spacing: 2px;
  font-family: var(--fontSub);
}

.slide-content .subtitle {
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease 0.2s;
  color: #F5E6A3;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.slide-content .content {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 450px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease 0.3s;
  color: #333;
  text-align: justify;
}

.slide-content .link {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease 0.4s;
}

.slide-content .link a {
  display: inline-block;
  padding: 10px 25px;
  background: var(--second);
  color: #fff;
  text-decoration: none;
  font-weight: var(--fontSub);
  transition: all 0.3s ease;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(245, 230, 163, 0.3);
  border: 2px solid transparent;
  font-size: 0.9rem;
}

.slide-content .link a:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 230, 163, 0.4);
  border-color: var(--primary);
}

/* Animation classes */
.slide-item.animate .slide-content h3,
.slide-item.animate .slide-content h4,
.slide-item.animate .slide-content .subtitle,
.slide-item.animate .slide-content .content,
.slide-item.animate .slide-content .link {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Design */


/* Loading animation */
.slide-item.loading {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
      opacity: 0;
  }

  to {
      opacity: 1;
  }
}



.text-primary{color: var(--primary) !important;}
.hover-zoom-effect{
  overflow: hidden;
}
.hover-zoom-effect img{
    transition: all 0.4s ease-in-out !important;
    -webkit-transition: all 0.4s ease-in-out !important;
    -moz-transition: all 0.4s ease-in-out !important;
    -ms-transition: all 0.4s ease-in-out !important;
    -o-transition: all 0.4s ease-in-out !important;
}
.hover-zoom-effect:hover > img{
    transform: scale(1.1);
}
.btn-read-more:hover {background:#333;color:#fff}
.btn-read-more {
    border: 2px solid var(--primary);
    border-radius: 30px;
    font-weight: 600;
    color: #fff;
    background: var(--primary);
    padding: 5px 25px 7px 25px;
}
.image-with-hover-effect img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

.image-with-hover-effect img:nth-child(1) {
    opacity: 1;
    z-index: 1;
}

.image-with-hover-effect img:nth-child(2) {
    opacity: 0;
    z-index: 2;
}

.image-with-hover-effect:hover img:nth-child(1) {
    opacity: 0;
}

.image-with-hover-effect:hover img:nth-child(2) {
    opacity: 1;
}
.custom.swiper-button-next:after,.custom.swiper-button-prev:after{
    font-size: 17px;
    color: var(--primary);
}
.custom.swiper-button-next,.custom.swiper-button-prev{
    width: 36px;
    height: 36px;
    border: 1px solid var(--primary);
    border-radius: 5px;
}


/* line-clamp helpers */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .line-clamp-5 {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .lazy.lazy-loaded{
    background-size: cover !important;
  }

/* Custom grid class for 5 items per row (20% each) */
@media (min-width: 768px) {
  .col-md-2-4 {
    flex: 0 0 auto;
    width: 20%;
  }
}

/* Brand items styling */
.brand-item {
  background: #fff;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  border: 1px solid #cccccc7a;
}

.brand-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  -webkit-transform: translateY(-2px);
  -moz-transform: translateY(-2px);
  -ms-transform: translateY(-2px);
  -o-transform: translateY(-2px);
}
.swiper-grid-column>.swiper-wrapper{
  flex-direction: row !important;
}
.swiper-grid-column .swiper-wrapper .swiper-slide{margin-top:10px !important;margin-bottom:10px !important;}
.brand-item img {
  max-height: 90px;
  object-fit: contain;
  height: auto !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.fixed-map iframe{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.fixed-map{position: relative;height: 100%;}
.filter-white{
    filter: brightness(0) invert(1);
}
.w-32px{
    width: 22px;
    flex-shrink: 0;
    flex-grow: 0;
    margin-right: 9px;
    height: 22px;
    display: flex;
    align-items: center;
}
.breadCrumbs-page{
    background: #e5e5e5;
}



/* Custom pagination Bootstrap 5.3 */
.pagination .page-link {
  width: 40px;         
  height: 40px;   
     
  text-align: center;
  background-color: #f0f0f0 !important; 
  border-radius: 6px;   
  margin: 0 4px;
  line-height: 2;
  font-weight: bold;
  color: var(--primary);
}

.pagination .page-link:hover {
  background-color: #ddd;
}

.pagination .active .page-link {
  background-color: var(--primary) !important;
  color: #fff;
  border-color: var(--primary);
}



.news-page-header {
  position: relative;
  background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
  /* margin-bottom: 70px; */
  overflow: inherit;
}


.news-page-header .has-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #111;
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}
.news-page-header .has-banner  > .banner-inner{
position: absolute;
width: 100% !important;
margin: 0;
position: absolute;
top: 50%;
left: 50%;
z-index: 2;
transform: translate(-50%, -50%);
}
.news-page-header .has-banner {
  position: relative;
  z-index: 2;
  height: 0;
  padding-bottom: 20%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.news-header-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  /* text-shadow: 0 4px 8px rgba(0,0,0,0.1); */
  margin-bottom: 10px;
  letter-spacing: 2px;
  position: relative;
  text-transform: uppercase;
  margin: 0;
}
.x-box.box-news{
  border: 1px solid #ccc;
  border-radius: 5px;
}
.x-box .title{
    padding: 8px 10px;
    font-weight: 600;
    background: var(--primary);
    color: #fff;
    text-transform: uppercase;
    font-size: 1.2rem;
}
.x-box .content  {
    border: 1px solid #ccc;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-top: 0 !important;
}
.x-box .content h3:last-child{border:0}
.x-box .content h3:hover{
    background: #013e6114;
}
.x-box .content h3{
  transition:0.4s ease;
  margin-bottom: 0;
  border-bottom: 1px solid #cccccc9e;
  padding: 6px 10px;
  font-size: 0.9rem;
  min-height: 50px;
  display: flex;
  align-items: center;
}
.x-box .content  h3:hover a{
    color: #4a4a4a;
}
.x-box .content  h3 a{
    text-decoration: none;
    color: var(--primary);
    transition: 0.5s ease;
    line-height: 1.5;
}
.x-box.box-news ul li a:hover{
  color:red;
  
}
.x-box.box-news ul li a span{
    position: absolute;
    right: 0;
    height: 30px;
    width: 30px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
}
.x-box.box-news ul li li a{
  padding-left: 25px;
}
.x-box.box-news ul li a{
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: block;
    font-size: 1.1rem;
    padding: 12px 10px;
    border-bottom: 1px solid #ccc;
    position: relative;
    padding-right: 30px;
}
 
.x-box.box-news .list-menu-product ul li{}
.x-box.box-news .list-menu-product ul li:hover{}
.x-box.box-news .list-menu-product ul li:hover a{}
  
.x-box.box-news ul li{
  background: #fff;
  padding: 0;
  margin: 0;
}
.x-box.box-news ul li.active{}
.x-box.box-news ul ul{
  display:none;
}
.x-box.box-news ul{
  list-style: none !important;
  padding: 0;
  margin: 0;
}
.x-box .box-toc .title i{color:var(--primary)}
.x-box .box-toc .title span{
  width: 25px;
  height: 100%;
  display: inline-block;
  text-align: center;
}
.x-box .box-toc .title {
  background: #f5f5f5;
  -webkit-border-radius: 8px 8px 0 0;
  -moz-border-radius: 8px 8px 0 0;
  border-radius: 8px 8px 0 0;
  width: 100%;
  border-bottom: 1px solid #dbdada;
  text-transform: none;
  padding: 6px 15px;
  color: #333;
  padding-right: 7px;
}
.x-box .box-toc .content{
  margin: 0;
  box-shadow: none !important;
  border-bottom: 1px solid #dbdada;
  border-radius: 5px;
}
.box-toc.mini .title{
  background: transparent;
  border: 0;
}
.box-toc.mini{max-width: 300px;border-radius: 30px;overflow: hidden;border: 1px solid #dbdada !important;}

.box-toc{
  
  min-width: 250px;
border-radius: 5px;
overflow: hidden;
border: 1px solid #dbdada;
margin-bottom: 10px;
border-bottom: 0;
overflow: hidden;
}

.btn-primary-custom{background: var(--primary);border: 0;border-radius: 5px;}

.custom-lazy-bg:after{content:"";position: absolute;width: 100%;height: 100%;left: 0;right: 0;background: rgba(0,0,0,0.5);z-index: 1;top: 0;}
.breadCrumbs {
  background-color: #eee;
  width: 100%;
}
.cursor-pointer{cursor: pointer;}
.sGrid a:hover{
  color: #fff;
  background: var(--primary);
}
.sGrid a {
  padding: 7px 20px;
  border: 1px solid var(--primary);
  position: relative;
  border-radius: 3px;
  overflow: hidden;
  text-decoration: none;
  color: var(--primary);
  transition: 0.3s ease;
  text-transform: uppercase;
  font-weight: 500;
  padding-left: 10px;
}
.sGrid .Items::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-image: url(../images/vector-rando.png);
  background-size: 60px;
  background-position: right top;
  background-repeat: no-repeat;
}

.sGrid {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.slide-item {
  display: flex;
  align-items: center;
  min-height: 400px;
  position: relative;
  z-index: 2;
}

.slide-content {
  flex: 1;
  z-index: 3;
  position: relative;
}

.slide-image {
  /* flex: 0 0 45%; */
  position: relative;
  z-index: 1;
}

.slide-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media(max-width:768px){


    .why-item{/* display: flex; */}
    .why-item img{
    max-width: 70px;
}
    .why-item p{
    font-size: 1rem !important;
}
    .swiper-main-slider {
        height: 300px;
    }
    
    .swiper-main-slider .swiper-slide,.banner-gift.swiper-main-slider .swiper-slide{
        height: 300px;
    }
    
    .slide-item {
        flex-direction: column;
        min-height: 100% !important;
    }
    
    .slide-content {
        width: 100%;
        padding: 20px 30px;
        text-align: left;
        align-items: center;
    }
    
    .slide-image {
        position: relative;
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
    }
  
    .slide-content h4 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .slide-content h3 {
        font-size: 1.8rem;
        margin-bottom: 0.3rem;
    }
    
    .slide-content .subtitle {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
  
    .slide-content .content {
        font-size: 0.8rem;
        margin-bottom: 1.2rem;
        max-width: 100%;
    }
    
    .slide-content .link a {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
    
    .swiper-main-slider .swiper-pagination {
        bottom: 5px;
        zoom: 70%;
    }

  
  .news-page-header .has-banner{
    padding-bottom: 50%;
  }


  .sGrid {
    display: flex;
    flex-wrap: nowrap;      
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    overflow-x: auto;       
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
}

.sGrid::-webkit-scrollbar {
    display: none;          
}
.sGrid .Items::before{
    background-size: 38px;
}
.sGrid a {
    white-space: nowrap;    
    flex: 0 0 auto;         
    font-size: 0.7rem;
    padding: 5px 9px;
    padding-right: 14px;
}

}

.banner-gift.swiper-main-slider .swiper-slide{
    /* height: auto !important; */
}
.banner-gift.swiper-main-slider{
    height: auto !important;
}

.gift-content{max-width: 550px;}




.why-item p{
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 10px;
}
.why-item{
  text-align: center;
}
.why-item img{

  height: auto;
}
.hover-rorate{
  transition: 0.5s ease all !important;-webkit-transition: 0.5s ease all !important;-moz-transition: 0.5s ease all !important;-ms-transition: 0.5s ease all !important;-o-transition: 0.5s ease all !important;
}
.hover-rorate:hover{
  transform: rotate(20deg);
  -webkit-transform: rotate(20deg);
  -moz-transform: rotate(20deg);
  -ms-transform: rotate(20deg);
  -o-transform: rotate(20deg);
}












/* Thumbnail Columns */
.thumbnail-column {
  display: flex;
  flex-direction: column;
  /* gap: 15px; */
  height: 100%;
  justify-content: center;
}

.left-thumbnails {
  align-items: flex-end;
}

.right-thumbnails {
  align-items: flex-start;
}

/* Thumbnail Items */
.thumbnail-item {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  background: #FFFFFF;
}

.thumbnail-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.thumbnail-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  transition: all 0.3s ease;
  height: 100% !important;
}

.thumbnail-item:hover img {
  transform: scale(1.05);
}

.thumbnail-item.active {
  border: 3px solid #e91e63;
  transform: translateY(-5px);
}

.thumbnail-item.active img {
  transform: scale(1.05);
}


/* Success Stories crossfade */
#block-success-stories .thumbnail-item {
  position: relative;
  overflow: hidden;
  transform:translateZ(0);
}
#block-success-stories .thumbnail-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
 
  display: block;
}
#block-success-stories .thumbnail-item img.hidden {
  opacity: 0;
}
#block-success-stories img{transition: all 0.5s ease !important;}
#block-success-stories .main-image-container {
  position: relative;
  overflow: hidden;
}
#block-success-stories .main-image {
  display: block;
  transition: opacity .4s ease;
}
#block-success-stories .ratio.ratio-gallery {
  aspect-ratio: 388/298;
}
#block-success-stories .loader {
  background: #fff;
}
.thumbnail-item img,.main-image-container img{
  cursor: pointer;
}






/* Support Customer Styles */
.support-section {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e0e0e0;
}

.support-section:last-child {
  
  margin-bottom: 0;
  padding-bottom: 0;
}

.support-title {
  font-weight: bold;
  font-size: 20px;
  color: #333;
  margin: 10px 0;
  text-transform: uppercase;
}

.support-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 5px 0;
}

.support-item:last-child {
  margin-bottom: 0;
}

.support-icon {
  width: 45px;
  height: 45px;
  background: #28a745;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex-shrink: 0;
}

.support-icon i {
  color: white;
  font-size: 12px;
}

.support-info {
  flex: 1;
}

.support-name {
  font-weight: 500;
  font-size: 15px;
  color: #333;
  margin-bottom: 2px;
}
.support-phone a{
  text-decoration: none;
  font-size: 17px;
  font-weight: bold;
  color: var(--primary);
}
.support-phone {
  font-size: 12px;
  color: #666;
  font-weight: 400;
}

/* Swiper Styles */
.news-swiper {
  position: relative;
  padding: 20px 10px 50px 10px;
  overflow: hidden;
}

.news-swiper .swiper-slide {
  height: auto;
}

/* Navigation buttons */
.news-swiper .swiper-button-next,
.news-swiper .swiper-button-prev {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.9);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.news-swiper .swiper-button-next:hover,
.news-swiper .swiper-button-prev:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
}

.news-swiper .swiper-button-next:after,
.news-swiper .swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

/* Pagination */
.news-swiper .swiper-pagination {
  bottom: 10px;
}

.news-swiper .swiper-pagination-bullet {
  background: var(--primary);
  opacity: 0.3;
  width: 12px;
  height: 12px;
}

.news-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .news-swiper .swiper-button-next,
  .news-swiper .swiper-button-prev {
      width: 40px;
      height: 40px;
  }
  
  .news-swiper .swiper-button-next:after,
  .news-swiper .swiper-button-prev:after {
      font-size: 14px;
  }
}

/* ===== SEARCH WIDGET STYLES ===== */
.search-widget {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.search-widget-header {
    background: var(--primary);
    padding: 12px 15px;
}

.search-widget-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-widget-content {
    padding: 20px 15px;
}

.search-form {
    margin: 0;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 12px 15px;
    font-size: 0.95rem;
    color: #333333;
    outline: none;
}

.search-input::placeholder {
    color: #999999;
    font-size: 0.9rem;
}

.search-btn {
    background: var(--primary);
    border: none;
    color: #ffffff;
    padding: 12px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.search-btn:hover {
    background: #218838;
    transform: scale(1.05);
}

.search-btn i {
    font-size: 1rem;
}

/* Animation cho search button */
.search-btn:active {
    transform: scale(0.95);
}

/* Responsive Design */
@media (max-width: 767.98px) {
    .search-widget-content {
        padding: 15px 12px;
    }
    
    .search-input {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .search-btn {
        padding: 10px 15px;
    }
    
    .search-btn i {
        font-size: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .search-widget-header {
        padding: 10px 12px;
    }
    
    .search-widget-title {
        font-size: 1rem;
    }
    
    .search-widget-content {
        padding: 12px 10px;
    }
    
    .search-input {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .search-btn {
        padding: 8px 12px;
    }
} 


/* ===== BLOCK PRODUCT SECTION ===== */
.block-product {
  background-color: #fff;
}

.block-product-subtitle {
  font-size: 1.1rem;
  color: #666666;
  margin-bottom: 0;
}

.block-product-item {
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
}

.block-product-item:hover {
  transform: translateY(-5px);
}

.block-product-image {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.block-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.block-product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #111111bd;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: start;
  justify-content: center;
  padding: 30px 20px;
}

.block-product-item:hover .block-product-overlay {
  opacity: 1;
  visibility: visible;
  z-index: 3;
}

.block-product-item:hover .block-product-image img {
  transform: scale(1.1);
}

.block-product-overlay-content {
  text-align: left;
  color: white;
  width: 100%;
}
.block-product-icon img{
  filter:brightness(0) invert(1);
  -webkit-filter:brightness(0) invert(1);
  transform: none !important;
  width: 70px;
  margin: auto;
}
.block-product-icon {
  margin-bottom: 25px;
  text-align: center;
}

.block-product-triangle {
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
}

.block-product-triangle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 20px solid white;
}

.block-product-triangle-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: 700;
  font-size: 1.2rem;
  color: white;
  z-index: 1;
}


.block-product-details p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.block-product-title {
  text-align: center;
  position: absolute;
  bottom: 15px;
  width: calc(100% - 30px);
  left: 15px;
  text-align: center;
  background: #ffffffd4;
  padding: 12px 0;
  border-radius: 8px;
}

.block-product-title h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333333;
  margin: 0;
  line-height: 1.3;
  font-family: var(--fontSub);
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .block-product-details h4 {
      font-size: 1.1rem;
  }
  
  .block-product-details p {
      font-size: 0.85rem;
  }
  
  .block-product-triangle {
      width: 50px;
      height: 50px;
  }
  
  .block-product-triangle::before {
      border-left: 10px solid transparent;
      border-right: 10px solid transparent;
      border-bottom: 16px solid white;
  }
}

@media (max-width: 767.98px) {
  .block-product-overlay {
      padding: 15px;
  }
  
  .block-product-details h4 {
      font-size: 1rem;
  }
  
  .block-product-details p {
      font-size: 0.8rem;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
  }
  
  .block-product-triangle {
      width: 45px;
      height: 45px;
  }
  
  .block-product-triangle-text {
      font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .block-product .row.g-4 {
      --bs-gutter-x: 1rem;
      --bs-gutter-y: 1rem;
  }
  
  .block-product-overlay {
      padding: 12px;
  }
  
  .block-product-details p {
      -webkit-line-clamp: 2;
  }
}
.container{
  overflow: hidden;
}