
        .masterpieces-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.masterpieces-section .container {
    max-width: 1400px;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header .featured-badge {
    background: #f3e8ff;
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    position: static;
}

.curated-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.curated-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.masterpieces-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}

.masterpiece-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.masterpiece-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
    background: white;
    border: 1px solid #000;
}

.product-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* ✨ Overlay Gradient */
.product-image-container::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(164, 28, 117, 0.3), rgba(192, 132, 252, 0));
    z-index: 2;
    transition: opacity 0.1s ease;
}

/* Hide overlay on hover */
.masterpiece-card:hover .product-image-container::before {
    opacity: 0;
}

/* ✨ View CTA Button */
.masterpiece-card .view-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.masterpiece-card:hover .view-btn {
    opacity: 1;
}

.product-badges {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
}

.product-badge.featured {
    background: #000;
}

.product-badge.discount {
    background: #ef4444;
}

.product-badge.fabric {
    background: rgba(164, 28, 117, 0.9);
    color: white;
}

.discount-badge {
    background: #dc3545;
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 600;
}

.fabric-tag {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: auto;
}

.card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.masterpiece-card .card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
}

.masterpiece-card .card-description {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 0.25rem !important;
    margin-top: 0.25rem !important;
}

.masterpiece-card .price-section {
    margin-bottom: 0.25rem !important;
    margin-top: 0.25rem !important;
}

.masterpiece-card .current-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111827;
    margin-right: 0.75rem;
}

.masterpiece-card .original-price {
    font-size: 0.8rem;
    color: #9ca3af;
    text-decoration: line-through;
}

.masterpiece-card .shipping-info {
    color: #6b7280;
    font-size: 0.8rem;
    margin-bottom: 0.25rem !important;
    margin-top: 0.25rem !important;
}

.masterpiece-card .buy-now-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.masterpiece-card .buy-now-btn:hover {
    background: #8b1560;
    transform: translateY(-2px);
}

/* Responsive Grid & Image Fix */
@media (max-width: 1200px) {
    .masterpieces-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .masterpieces-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
  .product-image-container {
    height: 70vh !important; /* Force image height relative to screen */
    width: 100% !important;
    overflow: hidden;
    position: relative;
    border-radius: 24px 24px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .product-image {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block;
  }

  .masterpiece-card {
    height: auto !important;
    display: flex;
    flex-direction: column;
  }

  .card-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
}
.original-price {
  font-weight: 500;
  color: #a0a3ab;
  text-decoration: line-through;
}

 .arrivals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.arrival-card {
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  transition: 0.3s;
}

.arrival-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.arrival-card-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.arrival-card-content {
  padding: 15px;
  text-align: left;
}

.arrival-card-price {
  font-weight: 600;
  color: #aa1474;
}

.new-badge {
  position: absolute;
  background: #aa1474;
  color: #fff;
  padding: 5px 10px;
  border-radius: 0 0 5px 0;
  font-size: 12px;
}

/* Prevent product carousel from overlapping other sections */
.product-view-section {
  position: relative;
  z-index: 1;
}

/* Ensure You May Also Like is always above */
.you-may-like-section {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 40px 0;
}

/* Product Listing Custom */
.card-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.card-body .text-danger {
  font-size: 1rem;
}

.badge.bg-danger {
  font-size: 0.75rem;
  padding: 5px 8px;
  border-radius: 6px;
}

.btn-light.rounded-circle {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrival-card-img-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.arrival-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
}

.arrival-card-img-wrapper .hover-img {
  opacity: 0;
  z-index: 2;
}

.arrival-card:hover .hover-img {
  opacity: 1;
}

.arrival-card:hover .main-img {
  opacity: 0;
}

/* Buy Now hover effect */
.btn-buy {
  background: #aa1474;
  color: #fff;
  border-radius: 20px;
  transition: all 0.3s ease;
}
.btn-buy:hover {
  background: #fff;
  color: #aa1474;
  border: 1px solid #aa1474;
  transform: translateY(-3px);
}

.offer-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #aa1474;
  color: #fff;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  animation: blink 1.2s infinite;
  z-index: 2;
}

/* Sidebar Box */
.filter-box {
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  background: #fff;
  position: sticky;
  top: 100px;
  z-index: 10;
  
}

/* Section Heading */
.filter-box h6 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: #444;
  border-bottom: 1px solid #f2f2f2;
  padding-bottom: 5px;
}

/* Filter Links */
.filter-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-box ul li a {
  display: block;
  font-size: 14px;
  color: #555;
  text-decoration: none;
  padding: 4px 0;
  transition: all 0.2s;
}

.filter-box ul li a:hover {
  color: #aa1474;
  font-weight: 600;
}

/* Price Inputs */
.filter-box .price-inputs {
  display: flex;
  align-items: center;
  gap: 5px;
}

.filter-box .price-inputs input {
  width: 80px;
  font-size: 13px;
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.filter-box .btn-go {
  background: #f36f6f;
  border: none;
  color: #fff;
  padding: 5px 12px;
  border-radius: 5px;
  font-size: 13px;
  cursor: pointer;
}

/* Sidebar filter headings */
.filter-heading {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  color: #6b5e5e;
}

/* Category / Discount Lists */
.filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.filter-list li {
  border-bottom: 1px solid #f0eaea;
}

.filter-list li:last-child {
  border-bottom: none;
}

.filter-list a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: #444;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.filter-list a:hover {
  color: #aa1474;
  font-weight: 600;
}

.filter-list a.active {
  font-weight: 700;
  color: #aa1474;
}