.card {
  border: 2px solid #cbcbcb !important;
}
hr{
  border-top: 2px solid #cbcbcb !important;
  /* padding: 0 !important;
  margin: 0 !important; */
}

.responsive {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; /* Ensures the content wraps properly on smaller screens */
}


.responsive .d-flex{
  justify-content: flex-end;
}

@media (max-width: 1200px) {
  .response{
    margin-top: 25px;
  }
}

/* Order Detail page responsive */
 @media (max-width: 768px), (min-width: 1200px) and (max-width: 1300px) {
  .order-detail-price {
    display: none;
  }
}

/* Adjust image size and text alignment for small screens */
@media (max-width: 576px) {
  .avatar-sm {
    width: 30px;
  }
  .order-header h4, .order-header p {
    text-align: left;
  }
  .order-header {
    align-items: flex-end;
  }
}


@media (max-width: 991px) {
  .search_input.active {
    display: block !important;
  }

  .navbar .lnr {
    display: none; 
  }

  .navbar .nav-link span {
    position: absolute;
    top: 0;
    right: -20px; 
  }

  .navbar .nav-link[data-text]:after {
    content: attr(data-text) !important;
    display: block !important;
    color: #000;
  }
}


.navbar-brand img {
  height: 65px;
}

.banner-img img {
  max-height: 500px;
  width: 100%;
  object-fit: cover;
}

.single-slide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 500px;
}

.banner-content {
  z-index: 2;
}

.nav-item.active a.nav-link {
  color: #F1CC32 !important;
}


/* Services Area css
============================================================================================ */

.features-inner {
  display: flex;
  flex-wrap: wrap;
}

.single-features {
  text-align: center;
  margin-bottom: 20px;
}

@media (max-width: 767px) {
  .single-features {
    margin-bottom: 20px;
  }
}

/* General styles to ensure responsiveness and minimal gaps */
/* .section_gap {
  padding: 60px 0;
} */

/* .banner-area {
  padding-bottom: 30px; 
} */

@media (max-width: 767px) {
  .banner-area {
    padding-bottom: 20px; 
  }

  .features-area {
    padding-top: 20px;
  }

  .single-slide {
    margin-bottom: 20px;
  }

  .single-features {
    margin-bottom: 20px;
  }
}



/* Start Gradient Area css
============================================================================================ */
.primary-btn,
.add-bag .add-btn,
.single-product .product-details .prd-bottom .social-info span:after,
.s_Product_carousel .owl-dots div.active,
.s_product_text .card_area .icon_btn:after,
.product_description_area .nav.nav-tabs li a.active,
.page-item.active .page-link,
.single-footer-widget .click-btn {
  background-color: #F1CC32;
}


#search_input_box {
  background-color: #F1CC32;
}

.s_product_text h2,
.s_product_text .list li a.active,
.product_description_area .tab-content .total_rate .box_total h4,
.single-footer-widget .bb-btn {
  background-color: #F1CC32;
  /* Changed from linear-gradient to solid color */
  -webkit-background-clip: initial;
  /* Reset background-clip property */
  -webkit-text-fill-color: initial;
  /* Reset text-fill-color property */
}


/* service_shop & product_shop css
============================================================================================ */

.input-group-append button{
  border: 1px solid rgb(194, 194, 194);
}

.input-group-append button:hover{
  background-color: #00459A;
  color: white;
}

.list-group-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.list-group-item i {
  margin-right: 0.5rem;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
}

.empty-prod-serv {
  text-align: center;
  padding: 2rem 0;
}


/* Filters CSS sliding */
.filters-section {
  display: block; /* Ensures the section is visible on larger screens */
  position: fixed;
  top: 4rem;
  right: -300px;
  width: 280px;
  height: 100%;
  /* background: #fff; */
  box-shadow: -2px 0 5px rgba(0,0,0,0.5);
  overflow-y: hidden;
  transition: right 1s ease;
  z-index: 3;
  padding: 20px;
}

.filters-section.show-filters {
  right: 0;
}

.close-filters-button {
  display: none; 
  background: none;
  border: none;
  font-size: 30px;
  font-weight: bold;
  position: absolute;
  top: 20px;
  left: 10px;
  cursor: pointer;
}

@media (max-width: 991px) {
  .filters-section {
    display: none; /* Hide the section by default on smaller screens */
    width:250px;
    overflow: none;
  }
  .filters-section.show-filters {
    display: block; /* Show the section when it has the show-filters class */
    padding: 20px !important;
    background-color: #fff;
  }
  .close-filters-button {
    display: block; /* Show the close button on smaller screens */
  }
  #filters-button {
    /* display: block; */
  }
}

@media (min-width: 991px) {
  .filters-section {
    position: static; 
    width: auto;
    box-shadow: none;
    right: auto;
    height: auto;
  }
  .filters-section.show-filters {
    display: block;
  }
  #filters-button {
    display: none;
  }
  .close-filters-button {
    display: none; 
  }
}
@media (min-width: 768px) {
  .filters-section.col-md-2 {
      -ms-flex: 0 0 16.666667%;
      flex: 0 0 16.66667%;
      max-width: 30%;
  }
}
#categories-content, #filters-content {
  display: block;
  opacity: 1;
  max-height: initial;
  transition: opacity 0.3s ease, max-height 0.3s ease;
}


@media (max-width: 768px){
  .single-product-main {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .single-product {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgb(166, 166, 166);
  }
  .prd-bottom{
    padding-bottom: 20px;
  }
} 

/* @media (min-width: 768px) and (max-width: 991px) {
  .single-product-main {
      flex: 0 0 50%; /* Display two products per column 
      max-width: 50%;
  }
} */

.card-img-top {
  width: 100%;
  position: relative;
  height: 270px;
  object-fit: cover;
}

.card-text {
  color: #909090;
}

.card-body button {
  background-color: #00459A;
  color: white;
}

.categories-head {
  background: #00459A;
  display: flex;
  justify-content: center;
  padding: 15px 7px;
  color: #fff;
  margin-top: 30px;
  cursor: pointer;
  overflow: hidden;
}

.categories-head i {
  padding-left: 10px;
}

.btn-custom {
  width: 100%;
  background-color: #00459A;
  color: white;
  border: 1px solid #00459A;
  padding: 15px 0px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-custom:hover {
  background-color: #003b91;
}

.btn-custom.active {
  color: #ffcc00;
}

#products-btn {
  color: #ffcc00;
}

#services-btn {
  color: #ffcc00;
}


/* @media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767.98px) {
  .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}  */
.btn-custom-link {
  display: block; /* Ensures the link takes up the full width of the column */
  text-align: center; /* Centers the text within the link */
  text-decoration: none; /* Removes the underline from the link */
}

/* Shop filters CSS */
.radio-container {
  display: flex;
  align-items: center;
  margin-bottom: 0.3rem;
}

.radio-container input[type="radio"] {
  margin-right: 0.5rem;
}


/* Civil hero css */
/* .civil-hero img{
  border-radius: 50%;
} */

.single-product {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.overlays {
  position: absolute;
  top: 11px;
  left: 15px;
  width: 200px;
  height: 200px;
  background-color: #fffdea;
  opacity: 0;
  padding-top: 30px;
  font-size: 1.1rem;
  transition: opacity 0.5s ease;
  transition-timing-function: linear;
  
  display: flex;
  align-items: center;
  justify-content: center;
  /* border-radius: 50%; */
}

.overlay-content {
  color: rgb(0, 0, 0);
  text-align: center;
}

.single-product:hover .overlays {
  opacity: 0.7;
}

.single-product:hover .hover-text {
  display: block; /* Display additional text on hover */
}



/* Review and Ratings CSS */
/* .product_description_area{
  border-top: 1px solid black;
} */

.single-prd-thumb img{
  height: 60px;
  object-fit: contain;
}

.ratings-head{
  display: flex;
  margin-top: 25px;
}

.ratings-head-sec{
  margin-left: 390px;
}

.rate-ratelines{
  display: flex;
}

@media (max-width: 991px) {
  .ratings-head-sec{
    display: none;
  }

  .review_box{
    margin-top: 50px
  }

  .review_box h5{
    font-size: 1.4rem;
  }

  .rate-ratelines{
    flex-direction: column;
  }

  .ratings-head{
    justify-content: center;
  }
} 


/* .nav-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.nav-tabs .nav-item {
  margin: 0 10px;
}
.nav-tabs .nav-link {
  color: #000;
  font-size: 1.2rem;
} */

.box_total {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}
.box_total h4 {
  font-size: 4rem;
  margin: 0;
}
.box_total h5 {
  font-size: 1.2rem;
}
.box_total .stars {
  color: #FFD700;
}
.stars {
  display: flex;
  align-items: center;
}
.stars i {
  color: gold;
  margin-right: 5px;
}
.rating-ladders p{
  border: 2px solid #a0a0a0;
  border-radius: 5px;
  padding: 2px 8px;
}
/* .rating-ladders i{
  color: #F1CC32;
} */
.rating_list {
  flex-grow: 1;
  margin: 0px 40px;
}
.rating_list h3 {
  margin-bottom: 10px;
}
.rating_list ul {
  list-style: none;
  padding: 0;
}
.rating_list .list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rating_list .list li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}
.rating_list .list li span:first-child {
  width: 20px;
  margin-right: 10px;
}
.rating_bar {
  flex-grow: 1;
  height: 12px;
  background-color: #f3f3f3;
  border-radius: 5px;
  overflow: hidden;
  margin-right: 0px;
}
.rating_bar span {
  display: block;
  height: 100%;
  background-color: #00459A;
}
.rating_list .list li span:last-child {
  width: 30px;
  text-align: right;
}
.review_list {
  margin-top: 20px;
}
.review_item {
  margin-bottom: 20px;
}
.review_item .media {
  display: flex;
}
.review_item .media img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
  margin-right: 10px;
  object-fit: cover; /* Ensure the image covers the container */
  display: block;
}
.review_item .media-body h4 {
  margin: 0 10px 0 0;
}
.review_item .media-body .stars {
  color: #FFD700;
}
.user-rate{
  display: flex;
  align-items: center;
}

.user-rate .stars{
  margin-top: -4px;
  margin-left: 10px;
}
@media(max-width: 420px){
  .user-rate{
    flex-direction: column;
    align-items: flex-start;
  }
  .user-rate .stars{
    margin-left: 0px;
  }
}
.user-rate
.review_box {

}
.review_box h5 {
  margin-bottom: 10px;
}
.review_box .stars {
  display: flex;
}
.review_box .stars i {
  color: #FFD700;
  margin-right: 5px;
  cursor: pointer;
}
.form-group {
  margin-bottom: 15px;
}

.form-control {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
}

.primary-btn-prod,
.primary-btn-prod2 {
  border: 2px solid #00459A;
  background-color: #00459A;
  padding: 8px 14px;
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}
.primary-btn-prod2{
  background-color: #F6F6F6;
  border: 2px solid #00459A;
  color: #00459A;
  padding: 8px 14px;
}

.stock-in-out{
  margin-top: 15px;
}
.stock-in-out span{
  width: 100%;
  height: 25px;
  padding-top: 4px;
  font-size: 0.9rem;
}
.stock-in-out span:hover{
  color: #ebebeb !important;
}

.description-container-overflow{
  margin: 20px 0;
  /* height: 9rem; */
  overflow: auto;
}


/* Product Quantity CSS */

.section-gap-fix {
  padding-bottom: 0; 
  position: relative;
  z-index: 2; 
}

.section-title {
  padding-top: 2rem;
}


/* vendor detail CSS */
.unique-profile-container{
  border-bottom: 1px solid #bfbfbf;
  padding-bottom: 12px;
}

.unique-card-title{
  padding: 10px 0;
}

.unique-card-text{
  color: #333;
}

.vendor-container{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  padding-bottom: 12px;
  border-bottom: 1px solid #bfbfbf;
  margin-bottom: 20px;
  margin-top: 10px;
  max-width: 100%;
  box-sizing: border-box;
}

.request-quotation-btn{
  background-color: #00459A;
  color: #fff;
  font-weight: 600;
}
.request-quotation-btn:hover{
  color: #fff;
}

@media(max-width: 768px){
  .vendor-sidebar{
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) and (max-width: 991.67px){
  .vendor-container{
    flex-direction: column;
  }
  .sservices-info{
    padding-top: 10px;
  }
  .unique-card-title{
    font-size: 1.2rem;
  }
}


/* product CSS */
.product-name, .vendor-name {
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Number of lines to show */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2em; /* Adjust line height for your text */
  white-space: normal;
  font-size: 1.2rem;
}

.product-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Zoomed Image CSS */
#zoomed-image-container {
  position: absolute;
  display: none;
  background-color: #fff;
  border: 1px solid #ccc;
  overflow: hidden;
  width: 550px;
  height: 500px;
  z-index: 10;
  top: 2rem;
  left: 24rem;
}

#zoomed-image {
  position: absolute;
  width: 250%; /* Adjust based on the zoom level you want */
  padding: 100px 0 0 100px;
}

#main-image {
  cursor: zoom-in;
  position: relative;
}

/* Slider of Thumbnail images CSS */
.thumbnail-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.thumbnail-carousel {
  display: flex;
  justify-content: left;
  align-items: center;
  transition: transform 0.3s ease;
  flex-grow: 1;
  margin: 0 5px;
}

.thumbnail-carousel-edit{
  width: 16rem;
  overflow: auto;
}

.single-prd-thumb {
  flex: 0 0 auto;
  width: 60px;
  margin: 0 5px;
}

.nav-button {
  background-color: #ddd;
  border: none;
  padding: 0 5px;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  z-index: 1;
}

#prev {
  position: absolute;
  left: 0;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

#next {
  position: absolute;
  right: 0;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.nav-button i {
  color: #333;
}

.product-vendor-container{
  display: flex;
  justify-content: space-between;
}
@media(max-width: 768px){
  .product-vendor-container{
    flex-direction: column;
  }
  .vendor-container{
    margin-top: 20px;
  }
}

/* Empty Products / Services / Packages */
.empty-prod-serv{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
}


/* Width of the Pages & Layout Fixed*/
.banner-area-main{
  background: url(../../assets/img/home-banner.jpg) center no-repeat;
  background-size: cover;
  position: relative;
  padding-top: 50px;
  overflow-x: hidden;
}

.container-custom{
  width: 78%;
  margin: auto;
  line-height: 15px;
}
.card-line-height{
  line-height: 1.5;
}

.container-main{
  width: 100%;
  height: fit-content;
  position: relative;
  background-color: #fff;
  margin-top: 120px;
}

#categories-content, 
#filters-content {
  overflow: auto;
  height: 12.7rem;
}

.products-shop-section {
  position: relative;
  top: 4vh;
  margin-bottom: 120px;
}

#contain-er{
  margin-top: 6rem;
  padding-top: 40px;
}

@media (min-width: 768px) and (max-width: 991.67px){
  .container-main, .container-custom {
    /* margin-right: 1.7rem; */
  }
}
@media (max-width:870){
  .row-reviews{
    display:block
  }
}
@media (max-width:1000){
  .review-second{
    display: block;  }
}
