/* ==========================================
   COLLECTION HERO
========================================== */

/* Custom Wool Ball Cursor (32x32 Embedded) */
body {
  cursor: url("Assets/geminisvg1.svg") 16 16, pointer !important;
}
 a, button, .card-btn, .order-btn, .product-card{
    cursor: pointer;
 }
.collection-hero {
  height: 300px;
  background-image: url("./Assets/banner.png");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.collection-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  padding: 20px;
}

.back-link {
  display: inline-block;
  color: white;
  text-decoration: none;
  margin-bottom: 18px;
  font-size: 0.95rem;
  opacity: 0.9;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50px;
}

.back-link:hover {
  opacity: 1;
}

#collectionTag {
  display: block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  margin-bottom: 15px;
}

#collectionTitle {
  font-size: 4rem;
  font-family: "Cormorant Garamond", serif;
  margin-bottom: 18px;
}

#collectionDescription {
  max-width: 600px;
  margin: auto;
  line-height: 1.8;
}

/* ==========================================
   PRODUCTS SECTION CONTAINER
========================================== */

.collection-products {
  padding: 60px 5%;
  background: #faf8f6;
  position: relative;
}

.product-count {
  text-align: center;
  margin-bottom: 40px;
  color: #777;
  font-size: 1rem;
}

#productGrid {
  width: 100%;
  position: relative;
}

/* ==========================================
   SWIPER SLIDER (MOBILE DEFAULT)
========================================== */

.myProductSwiper {
  width: 100%;
  padding: 10px 0 25px 0 !important;
  overflow: hidden;
}

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: 0.35s;
  width: 100%;
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.product-info {
  padding: 18px;
  text-align: center;
}

.product-info h3 {
  color: #333;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.price {
  color: #8AA583;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.card-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 50px;
  background: #8AA583;
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.card-btn:hover {
  background: #76926e;
}

/* Custom Floating Arrow */
.swiper-button-next-custom {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 54px;
  background: #ffffff;
  border-radius: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  z-index: 20;
  cursor: pointer;
  border: none;
}

/* ==========================================
   CUSTOM ORDER & EMPTY STATE
========================================== */

.custom-order {
  padding: 90px 6%;
  background: #f5f0eb;
  text-align: center;
}

.custom-order h2 {
  font-size: 2.4rem;
  margin-bottom: 18px;
  color: #3a3a3a;
  font-family: "Cormorant Garamond", serif;
}

.custom-order p {
  max-width: 600px;
  margin: auto auto 30px;
  color: #666;
  line-height: 1.8;
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
}

.empty-state h2 {
  margin-bottom: 10px;
  color: #444;
}

.empty-state p {
  color: #777;
}

.order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: #8aa583;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: 0.3s ease;
  box-shadow: 0 8px 20px rgba(138, 165, 131, 0.25);
}

.order-btn:hover {
  background: #76926e;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(138, 165, 131, 0.35);
}

/* ==========================================
   DESKTOP VIEW FIX (min-width: 769px)
========================================== */

@media (min-width: 769px) {
  /* Turn Swiper into 4-Column Grid on Desktop */
  .myProductSwiper .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 280px)) !important;
    justify-content: center !important;
    gap: 30px !important;
    transform: none !important;
  }

  .myProductSwiper .swiper-slide {
    width: 100% !important;
    margin-right: 0 !important;
  }

  .swiper-button-next-custom {
    display: none !important;
  }
}

/* ==========================================
   MOBILE VIEW FIX (max-width: 768px)
========================================== */

@media (max-width: 768px) {
  .collection-hero {
    height: 250px;
  }

  #collectionTitle {
    font-size: 2.4rem;
  }

  .collection-products {
    padding: 30px 0;
  }
}