
.product-card {
  position: relative;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* -----------------------------
  Wishlist Button (Top Right)
-------------------------------- */
.top-actions {
  position: absolute !important;
  top: 10px !important;
  right: 0 !important;
  z-index: 10 !important;
}

.top-actions button {
  border: none !important;
  background: transparent !important;
  font-size: 1rem !important;
  padding: 5px 8px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  transition: transform 0.2s ease !important;
}

.top-actions button:hover {
  transform: scale(1.2) !important;
}

/* -----------------------------
  Product Image & Hover
-------------------------------- */
.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 90%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-image .image-secondary {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.product-card:hover .product-image .image-secondary {
  opacity: 1;
}

.product-image .badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.75rem;
  padding: 3px 6px;
  border-radius: 5px;
  color: #fff;
  text-transform: uppercase;
}


.product-details {
  padding: 12px 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-size: 1rem;
  margin-bottom: 8px;
  font-weight: 500;
  
}

.product-name a {
  color: #147FD1 !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.product-name a:hover {
  color: #147FD1; /* Carrefour blue hover */
}

.price-box {
  margin-bottom: 10px;
}

.price-box .fs-sm {
  font-size: 0.85rem;
}

.price-box .text-decoration-line-through {
  opacity: 0.7;
}

.price-box .fw-semibold {
  font-weight: 600;
}


.actions button {
  background-color: #AA8304 !important; /* Custom gold color */
  color: #fff;
  border: none;
  padding: 8px 0;
  border-radius: 5px;
  font-size: 0.855rem;
  transition: background 0.3s ease;
}

.actions1 button {
  background-color: #AA8304 !important; /* Custom gold color */
  color: #fff;
  border: none;
  padding: 8px 0;
  border-radius: 5px;
  font-size: 0.675rem;
  transition: background 0.3s ease;
}

.actions button:hover {
  background-color: #147FD1 !important;
  color: #fff !important;
}

@media (max-width: 767px) {
  .product-image img {
    height: 180px;
  }
}

@media (max-width: 575px) {
  .product-image img {
    height: 160px;
  }
}


.recent-search-item {
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.recent-search-item:hover {
  background-color: #f8f9fa;
  border-color: #147FD1;
  transform: translateX(3px);
}

.recent-search-item:hover .fw-semibold {
  color: #147FD1;
}

.recent-search-item:hover .fa-chevron-right {
  color: #AA8304;
}


.banner-card img:hover {
  transform: scale(1.05);
}
.banner-card {
  transition: transform 0.3s ease;
}
.banner-card:hover {
  transform: translateY(-5px);
}


  .image-banner-section {
    background: linear-gradient(to right, #AA8304, #147FD1);
    background-size: cover;
    background-position: center;
  }

  .effect {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .effect:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 127, 209, 0.45);
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .effect:hover .overlay {
    opacity: 1;
  }

  .overlay h4 {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 6px;
  }

  .promotion-banner:hover img {
    transform: scale(1.05);
  }
  .banner-overlay a.btn:hover {
    background-color: #147FD1;
    color: #fff !important;
  }