body {
    margin: 0;
    padding: 0;
    font-family: 'Cormorant Garamond', serif;
    background: #fffaf0;
    color: #513d2e;
}

.collection-container {
    /* max-width: 1200px; */
    margin: auto;
    padding: 2rem 1rem;
}

.collection-header {
    text-align: center;
    margin-bottom: 2rem;
}

.collection-header h1 {
    font-size: 2rem;
    
}

.collection-meta {
    font-size: 1rem;
    color: #777;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

/* Product Card */
.product-card {
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
}

/* Image Hover Swap */
.product-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: #eee;
}

.product-image-wrapper img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
    border-radius: 12px;

}

.primary-img {
    z-index: 2;
}

.secondary-img {
    opacity: 0;
    z-index: 1;
}

.product-card:hover .secondary-img {
    opacity: 1;
}

.product-card:hover .primary-img {
    opacity: 0;
}

/* Blur overlay at bottom of image */
.image-overlay-button {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(38, 37, 37, 0.2); /* Translucent background */
    backdrop-filter: blur(6px); /* Blurring effect */
    opacity: 0;
    transition: opacity 0.3s ease 0.2s;
    z-index: 4;
    text-align: center;
    /* padding: 0.6rem 1rem; */
}

.product-image-wrapper:hover .image-overlay-button {
    opacity: 1;
}

/* Style for the Add to Cart button */
.image-overlay-button .btn-cart {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: transparent;
    color: #fff !important;
    font-size: 0.85rem;
    /* border: 1px solid #fff; */
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.image-overlay-button .btn-cart:hover {
    background-color: rgb(255 255 255 / 0%);
}

/* Product Info */
.product-info {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.5rem;
}

.product-info h3 {
    margin: 0;
    font-size: 1rem;
  
}

.product-info a {
    text-decoration: none;
    color: inherit;
}

.product-price {
    font-weight: bold;
    font-size: 22px;
    color: #000;
    text-align: center;
}

/* Buttons */
.product-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.btn-cart,
.btn-view {
    flex: 1;
    padding: 0.4rem;
    font-size: 0.8rem;
    border: none;
    border-radius: 5px;
    color: white;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-cart {
    background-color: #27ae60;
}

.btn-cart:hover {
    background-color: #219150;
}

.btn-view {
    background-color: #3498db;
}

.btn-view:hover {
    background-color: #2c80b4;
}

/* Responsive Tweaks */
@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .product-info h3 {
        font-size: 0.95rem;
    }

    .product-price {
        font-size: 0.95rem;
    }

    .image-overlay-button {
        position: static;
        opacity: 1;
        backdrop-filter: none;
        background: none;
        padding: 0.5rem 0 0 0;
        z-index: 0;
    }

    .product-image-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .product-image-wrapper img {
        position: static;
        width: 100%;
        height: auto;
    }

    .primary-img, .secondary-img {
        opacity: 1 !important;
        position: static;
    }
}

@media (max-width: 480px) {
    .product-buttons {
        flex-direction: column;
    }

    .btn-cart,
    .btn-view {
        font-size: 0.75rem;
        padding: 0.4rem;
    }
}

.premium-banner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.premium-banner img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: 16px;
}

.premium-banner:hover img {
  transform: scale(1.03);
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.3); /* Optional dark overlay */
  color: white;
  text-align: center;
  border-radius: 16px;
}

.banner-overlay h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 14px;
  font-family: 'Cormorant Garamond', serif;
}

.collection-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
}
@media (max-width: 768px) {
  .premium-banner img {
    height: 250px;
  }

  .banner-overlay h2 {
    font-size: 1.5rem;
  }
}
* {
  font-weight: bold !important;

  text-decoration: none !important;
}
