/* Featured Products Section - Scoped Styles */
/* Scope all rules under #featuredProductsSection to avoid conflicts */

/* Remove heavy animations for a clean, professional look */

/* Base card alignment within the featured products horizontal scroller */
#featuredProductsSection .products-scroll-container {
  position: relative;
}

#featuredProductsSection .product-card-wrapper { flex: 0 0 auto; }

/* Special Offer Card - Clean Luxury Styling */
#featuredProductsSection .special-offer-card {
  position: relative;
  border: 1px solid #e6d3b0; /* subtle gold edge */
  border-radius: 14px;
  background-color: #ffffff; /* remove dark background */
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: none !important; /* disable animated transitions */
  transform: none !important; /* neutralize inline transforms */
  animation: none !important; /* neutralize any applied animations */
  overflow: hidden;
}

/* Remove inner gradients */
#featuredProductsSection .special-offer-card .card-body {
  background: transparent;
}

/* Disable shimmer overlay */
#featuredProductsSection .special-offer-card::before {
  content: none;
}

/* Subtle hover only */
#featuredProductsSection .special-offer-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Simplify image styling */
#featuredProductsSection .special-offer-card .card-img-top {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  filter: none;
  transition: none !important;
  transform: none !important;
  animation: none !important;
}

/* Special badge - elegant and static */
#featuredProductsSection .product-badge.special-offer {
  position: absolute;
  top: 12px; left: 12px;
  color: #3a2f21;
  background: #f5e6c9;
  padding: 6px 12px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  animation: none !important;
}

/* Pricing hierarchy */
#featuredProductsSection .special-offer-card .product-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

#featuredProductsSection .special-offer-card .special-price {
  color: #b88a4a; /* refined gold */
  font-weight: 700;
  font-size: 1.05rem;
}

#featuredProductsSection .special-offer-card .original-price {
  color: rgba(255,255,255,0.55);
  text-decoration: line-through;
}

/* Optional savings badge (rendered via PHP if added) */
#featuredProductsSection .special-offer-card .savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212,165,116,0.12);
  color: #E9C48E;
  border: 1px solid rgba(212,165,116,0.35);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
}

/* Card footer and buttons */
#featuredProductsSection .special-offer-card .card-footer {
  background: transparent;
}

/* Use default Bootstrap buttons; minimal overrides */
#featuredProductsSection .special-offer-card .btn-primary,
#featuredProductsSection .special-offer-card .btn-outline-secondary {
  box-shadow: none;
}

/* Product text polish */
#featuredProductsSection .special-offer-card .product-title {
  font-weight: 800;
}

#featuredProductsSection .special-offer-card .product-shop,
#featuredProductsSection .special-offer-card .product-location {
  font-size: 0.9rem;
}

#featuredProductsSection .special-offer-card .product-description {
  font-size: 0.92rem;
}

/* Subtle divider line at the header image bottom */
#featuredProductsSection .special-offer-card .card-img-top + .card-body {
  border-top: 1px solid rgba(212,165,116,0.18);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  #featuredProductsSection .product-badge.special-offer {
    font-size: 11px;
    padding: 5px 14px;
    top: 10px;
  }
  #featuredProductsSection .special-offer-card {
    border-radius: 14px;
  }
}

@media (max-width: 576px) {
  #featuredProductsSection .product-badge.special-offer {
    font-size: 10px;
    padding: 4px 12px;
    top: 8px;
  }
  #featuredProductsSection .special-offer-card {
    border-radius: 12px;
  }
}

/* Unified Luxury Styling for Regular Product Cards in Featured Section */
#featuredProductsSection .card.product-card {
  position: relative;
  border: 1px solid #e6d3b0;
  border-radius: 14px;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

#featuredProductsSection .card.product-card:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

#featuredProductsSection .card.product-card .card-img-top {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  transition: none;
  transform: none;
}

#featuredProductsSection .card.product-card .card-footer {
  background: transparent;
  border: 0;
}

#featuredProductsSection .card.product-card .product-title {
  font-weight: 700;
}

#featuredProductsSection .card.product-card .original-price {
  color: #888;
}

#featuredProductsSection .card.product-card .price,
#featuredProductsSection .card.product-card .special-price {
  color: #b88a4a;
}