.product-grid{
    font-family: 'Roboto', sans-serif;
    text-align: center;
    transition: all 0.5s;
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
}
.product-grid:hover{ box-shadow: 0 5px 18px rgba(0, 0, 0, 0.3); }
.product-grid .product-image{
    position: relative;
    overflow: hidden;
    border-radius: 25px;
}
.product-grid .product-image a.image{ display: block; }
.product-grid .product-image img{
    width: 100%;
    height: 250px;
}
.product-image .pic-1{
    opacity: 1;
    backface-visibility: hidden;
    transition: all 0.5s;
}
/* .product-grid:hover .product-image .pic-1{ opacity: 0; } */
.product-image .pic-2{
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.5s;
}
/* .product-grid:hover .product-image .pic-2{ opacity: 1; } */
.product-grid .product-sale-label{
    color: #fff;
    background: #14243c;
    font-size: 14px;
    font-style: italic;
    text-transform: uppercase;
    width: 55px;
    height: 55px;
    line-height: 55px;
    border-radius: 50px;
    position: absolute;
    top: 10px;
    left: 10px;
}
.product-grid .social{
    padding: 0;
    margin: 0;
    list-style: none;
    position: absolute;
    top: 15px;
    right: 7px;
}
.product-grid .social li{
    transform: translateX(60px);
    transition: all 0.3s ease 0.3s;
}
.product-grid .social li:nth-child(2){ transition: all 0.3s ease 0.4s; }
.product-grid:hover .social li{ transform: translateX(0); }
.product-grid .social li a{
    color: #707070;
    background: #fff;
    font-size: 16px;
    line-height: 40px;
    width: 40px;
    height: 40px;
    margin: 0 0 7px;
    border-radius: 50px;
    display: block;
    transition: all 0.3s ease 0s;
}
.product-grid .social li a:hover{ color: #14243c; }
.product-grid .product-rating{
    background: rgba(255,255,255,0.95);
    width: 100%;
    padding: 10px;
    opacity: 0;
    position: absolute;
    bottom: -60px;
    left: 0;
    transition: all .2s ease-in-out 0s;
}
.product-grid:hover .product-rating{
    opacity: 1;
    bottom: 0;
}
.product-grid .rating{
    padding: 0;
    margin: 0;
    list-style: none;
    float: left;
}
.product-grid .rating li{
    color: #14243c;
    font-size: 13px;
}
.product-grid .rating li.far{ color: #999; }
.product-grid .add-to-cart{
    color: #14243c;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-bottom: 1px solid #14243c;
    float:right;
    transition: all .2s ease-in-out 0s;
}
.product-grid .add-to-cart:hover{
    color: #000;
    border-color: #000;
}
.product-grid .product-content{
    color: #14243c;
    padding: 15px;
}
.product-grid .title{
    font-size: 24px;
    text-transform: capitalize;
    margin: 0 0 5px;
}
.product-grid .title a{
    color: #111;
    transition: all 500ms;
    text-decoration: none;
}
.product-grid .title a:hover{ color: #14243c; }
.product-grid .price{
    color: #707070;
    font-size: 17px;
}

.product-grid .price span{
    text-decoration: line-through;
    margin-right: 5px;
    display: inline-block;
    opacity: 0.6;
}

.product-rating .btn-primary {
    font-size: 14px;
}

.description {
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 70px;
}

@media only screen and (max-width:990px){
    .product-grid{ margin-bottom: 40px; }
}

.card {
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
  }
  .badge {
    position: absolute;
    top: 30px;
    left: 20px;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 10px;
    border: 1px solid black;
  }
  .price {
    font-size: 1.5rem;
    font-weight: bold;
  }
  .old-price {
    text-decoration: line-through;
    color: gray;
    font-size: 0.9rem;
    margin-top: -1.2rem;
    margin-bottom: 0;
  }
  .color-options{
      text-align: center;
      margin-top: -1.3rem;
  }
  .color-options span {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 3px;
    margin: 0 3px;
  }
  .divider {
    height: 1px;
    background-color: #000;
    margin: 10px 0;
  }
  .card-img-top{
      width: 100%;
  }
  .desc_heading{
    font-size: 18px;
    font-weight: bold;
  }
  .desc_heading a {
    color: #000;
    text-decoration: none;
  }

  .card-text:last-child {
    margin-bottom: 0;
    font-size: 14px;
  }
  .left-badge {
    height: 30px !important; /* Adjust size of the image if needed */
    width: auto !important;
  }

  .gradient-text {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 16px; /* Adjust size of the text (smaller than before) */
    background: linear-gradient(90deg, #8e44ad, #e74c3c, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 4px;
  }

  .personalize-text {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 16px; /* Adjust size of the text (smaller than before) */
    background: #8CA3C4;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-top: 4px;
  }
  
  .card-text {
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .heading {
    color: #6c757d; /* Gray color for the secondary text */
    margin: 0;
    font-family: 'Poppins', 'Roboto', Arial, sans-serif;
  }

  /* Highlighted text styling */
  .highlight {
    background: linear-gradient(to bottom, #7090AD, #14243D); /* Adjust colors */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 700; /* Bold for the highlighted text */
  }

  a .card-body .card-text {
    text-decoration: none; /* Removes underline */
    color: #14233b; /* Makes the link color the same as the surrounding text */
  }

.color-options .active {
    border: 1px #000 solid;
}
  

.owl-nav {
  position: absolute;
  top: 50%; /* Center vertically */
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none; /* Allow clicks on images underneath */
}

.owl-nav button {
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  color: #fff; /* White arrow color */
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  cursor: pointer;
  pointer-events: auto; /* Re-enable pointer events for arrows */
}

.owl-nav button:hover {
  background-color: rgba(0, 0, 0, 0.8); /* Darker background on hover */
}
.owl-prev:hover,
.owl-next:hover {
  background-color: #14233b !important;
}

.owl-nav button.owl-prev {
  left: 10px;
  position: relative;
}

.owl-nav button.owl-next {
  right: 10px;
  position: relative;
}

.owl-item img {
  display: block;
  width: 100%;
  height: auto;
}
.custom-btn1:hover {
  color: #fff;
}