.category-image{
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails{
    width: 100%;
    height: 150px;
}
.product-thumbnails img{
    width: 100%;
    height: 100%;
}

.pull-right-flex {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
/* flash msg css start */
.flash-message-container {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: absolute;
    top: 50px;
    width: 100%;
    z-index: 1000;
}

.notice, .alert {
  margin: 0 10px;
  padding: 10px 20px;
  border-radius: 4px;
  display: inline-block;
}

.notice {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.close {
  background: none;
  border: none;
  font-size: 20px;
  line-height: 20px;
  cursor: pointer;
  margin-left: 10px;
}
/* flash msg css end */


/*contact-us block start*/
.contact-us-block {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 0.25rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  padding: 20px;
  margin-top: 10px;
}
/*contact-us block end*/

/*chat block start*/
.chat-sidebar {
  height: 60vh;
  overflow-y: auto;
}
.chat-messages {
  height: calc(60vh - 60px);
  overflow-y: auto;
}
.chat-input {
  height: 60px;
}
.message-wrapper {
  padding: 10px;
  border-radius: 15px;
  margin-bottom: 10px;
  display: flex;
  background-color: #fff;
  border: 1px solid #ddd;
  align-self: flex-start;
}
.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}
/*chat block end*/

.fixed-dimension-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center;
}

.placeholder {
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.placeholder::before {
  content: "No Image Available";
  color: #999;
  font-size: 16px;
}

p {
    color: black;
    font-family: Poppins, sans-serif;
    font-size: 16px;
    font-weight: 400;
}
span{
    font-weight: 400;
}

.active-menu {
    color: #0aad0a;
}

/* Product image container for consistent card heights */
.product-img-container {
    height: 200px;
    overflow: hidden;
    margin-bottom: 15px;
}

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure consistent card heights regardless of content */
.card-product {
  height: 400px;
  display: flex;
  flex-direction: column;
}

.card-product .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-product .text-small {
  min-height: 24px;
}

.card-product h2.fs-6 {
  min-height: 48px;
  margin-bottom: 10px;
}

.card-product .text-warning {
  min-height: 24px;
}

.card-product .mt-3 {
  margin-top: auto !important;
}

.card.category-card {
    height: 250px;
    display: flex;
    flex-direction: column;
}

.card.category-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card.category-card .category-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  max-height: 70%;
}

.card.category-card .category-image img {
  max-width: 100%;
  max-height: 70%;
  object-fit: contain;
}

.parent-active {
    background-color: #4fbb4f !important;
    color: white !important;
}

.parent-active .nav-link-icon,
.parent-active .nav-link-text {
    color: white !important;
}

/* Multi-range price slider styles */
.multi-range {
  position: relative;
  height: 30px;
}

.multi-range input[type="range"] {
  position: absolute;
  width: 100%;
  pointer-events: none;
  background: none;
  outline: none;
}

.multi-range input[type="range"]::-webkit-slider-thumb {
  pointer-events: auto;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.multi-range input[type="range"]::-moz-range-thumb {
  pointer-events: auto;
  position: relative;
  z-index: 2;
  cursor: pointer;
}

.multi-range input[type="range"]:first-child {
  z-index: 2;
}

.price-range-container {
  padding: 15px 10px;
}

.price-value {
  font-weight: 500;
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #25D366;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 40px;
  height: 40px;
}

.blog-card {
  transition: transform 0.3s ease;
  width: 300px;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card .img-zoom {
  display: block;
  width: 100%;
  height: 200px;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.375rem;
}

.blog-card-title {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 230px; /* Leave space for the arrow icon */
}

.blog-card-overlay {
  background: rgba(0, 0, 0, 0.7);
  width: 100%;
  border-bottom-left-radius: 0.375rem;
  border-bottom-right-radius: 0.375rem;
}

/* Chat Details Styling */
.chat-detail {
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.chat-detail:hover {
  background: #f1f3f5;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.chat-detail label {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Messages Container */
.messages-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1rem;
  max-height: 600px;
  overflow-y: auto;
}

/* Message Bubbles */
.message {
  display: flex;
  margin-bottom: 0.5rem;
  animation: fadeIn 0.3s ease-in-out;
}

.message-seller {
  justify-content: flex-end;
}

.message-content {
  max-width: 70%;
  padding: 1rem 1.25rem;
  border-radius: 1rem;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.message-seller .message-content {
  background-color: #cce5ff;
  margin-left: 2rem;
  border-bottom-right-radius: 0.25rem;
}

.message-buyer .message-content {
  background-color: #f8f9fa;
  margin-right: 2rem;
  border-bottom-left-radius: 0.25rem;
}

.message-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.message-header .user-name {
  font-weight: 600;
  color: #2c3e50;
}

.message-header .timestamp {
  font-size: 0.75rem;
  color: #6c757d;
  margin-left: 0.75rem;
}

.message-text {
  color: #2c3e50;
  line-height: 1.5;
  word-break: break-word;
}

/* Chat Section Title */
.chat-section-title {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e9ecef;
}

.chat-section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100px;
  height: 2px;
  background: #0d6efd;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scrollbar Styling */
.messages-container::-webkit-scrollbar {
  width: 6px;
}

.messages-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.messages-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 3px;
}

.messages-container::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
.nav-link.dropdown-toggle::after,
a[data-bs-toggle="collapse"]::after {
  display: none !important;
}
