/* ===== JEWELRY PAGE ===== */
.page-jewelry { background: #fff; color: #111; min-height: 100vh; display: flex; flex-direction: column; }
.page-jewelry .site-footer { margin-top: auto; }
.page-jewelry .header.scrolled { position: fixed; top: 0; margin-top: 0; }

.jewelry-page { max-width: 1320px; margin: 0 auto; padding: 120px 48px 80px; }
.jewelry-header { text-align: center; margin-bottom: 48px; }

.jewelry-page-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400; font-style: italic;
  font-size: clamp(32px, 4vw, 52px);
  color: #111; margin-bottom: 8px; letter-spacing: 1px;
}

.jewelry-count { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 400; color: #888; letter-spacing: 0.5px; }

.jewelry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }

.product-card { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; gap: 10px; transition: transform 0.3s ease; }
.product-card:hover { transform: translateY(-4px); }

.product-img { width: 100%; aspect-ratio: 1 / 1; background: #f5f5f5; overflow: hidden; position: relative; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease, transform 0.4s ease; }
.product-img .img-hover { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .img-primary { opacity: 0; }
.product-card:hover .img-hover { opacity: 1; }
.product-card:hover .product-img img { transform: scale(1.05); }

.product-name { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 600; color: #111; letter-spacing: 0.3px; margin-top: 4px; }
.product-desc { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 400; color: #777; line-height: 1.4; }
.product-price { font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 500; color: #333; letter-spacing: 0.3px; }

.jewelry-load-wrap { text-align: center; margin-top: 56px; }
.jewelry-load-btn { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 2.5px; color: #111; background: transparent; border: 1.5px solid #111; padding: 16px 48px; cursor: pointer; transition: background 0.3s, color 0.3s; }
.jewelry-load-btn:hover { background: #111; color: #fff; }

.category-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 32px;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #999;
  cursor: pointer;
  padding: 8px 16px;
  transition: color 0.3s, border-bottom 0.3s;
  border-bottom: 1px solid transparent;
}

.filter-btn:hover, .filter-btn.active {
  color: #111;
  border-bottom: 1px solid #111;
}

.product-custom-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #fff;
  background: #111;
  padding: 8px 24px;
  margin-top: 4px;
  text-transform: uppercase;
}

/* Lookbook Card */
.lookbook-card {
  grid-column: span 1;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lookbook-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.lookbook-card:hover img {
  transform: scale(1.05);
}

.lookbook-card .lookbook-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 32px;
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.35));
}

.lookbook-card .lookbook-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #fff;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px);
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,0.3);
  transition: all 0.3s;
}

.lookbook-card:hover .lookbook-btn {
  background: #111;
  border-color: #111;
}

@media (max-width: 1024px) { .jewelry-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .jewelry-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; } .jewelry-page { padding: 100px 20px 60px; } .category-filters { gap: 8px; } .filter-btn { padding: 6px 10px; font-size: 9px; } }


/* ── Wishlist heart button on product cards ── */
.card-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.2s ease, background 0.2s;
  z-index: 3;
  backdrop-filter: blur(4px);
}
.product-card:hover .card-wishlist-btn { opacity: 1; }
.card-wishlist-btn.active { opacity: 1; background: #fff; }
.card-wishlist-btn:hover { background: #fff; transform: scale(1.1); }

/* ── Wishlist header icon ── */
.wishlist-nav-btn {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
}
#wishlist-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #c8a96e;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  padding: 0 3px;
}

/* ── Mobile auto-peek: mimics hover state on touch devices ── */
.product-card.mobile-peek .img-primary { opacity: 0; }
.product-card.mobile-peek .img-hover { opacity: 1; }
.product-card.mobile-peek .product-img img { transform: scale(1.05); }
