/* =============================================
   CROWN GEM — WISHLIST PAGE
   "My wishlist" item list + remove + add-to-cart
   Depends on: global.css (variables, .container)
   ============================================= */

/* ---------- Section Wrapper ---------- */
.wishlist-section {
  background: var(--white);
  padding: 70px 0 100px;
}

/* ---------- Heading ---------- */
.wishlist-heading {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 50px;
}

/* ---------- Grid ---------- */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  margin-bottom: 56px;
}

/* ---------- Item Row ---------- */
.wishlist-item {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.wishlist-item__image {
  flex: 0 0 220px;
  width: 220px;
  height: 220px;
  overflow: hidden;
  background: var(--dark);
}
.wishlist-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wishlist-item__details {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 2px;
}

/* ---------- Category + Remove Row ---------- */
.wishlist-item__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.wishlist-item__category {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--gold);
}

.wishlist-item__remove-form {
  margin: 0;
}

.wishlist-item__remove {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #C0392B;
  background: var(--white);
  transition: background var(--transition);
  flex-shrink: 0;
}
.wishlist-item__remove:hover {
  background: #FBEAEA;
}

/* ---------- Title ---------- */
.wishlist-item__title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 18px;
}

/* ---------- Price ---------- */
.wishlist-item__price {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 22px;
}
.wishlist-item__price-symbol {
  font-size: 18px;
  font-weight: 500;
}

/* ---------- Add to Cart ---------- */
.wishlist-item__cart-form {
  margin-top: auto;
}

.wishlist-item__add-cart {
  width: 100%;
  display: block;
  text-align: center;
  background: var(--off-white);
  border: 1px solid var(--border);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 20px;
  transition: background var(--transition), border-color var(--transition);
}
.wishlist-item__add-cart:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* ---------- Keep Shopping ---------- */
.wishlist-keep-shopping {
  display: flex;
  justify-content: center;
}

.btn-gold-solid {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 18px 70px;
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}
.btn-gold-solid:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
}

/* ---------- Empty State ---------- */
.wishlist-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  padding: 60px 0;
  font-family: var(--sans);
  color: var(--text-light);
  font-size: 16px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .wishlist-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .wishlist-section {
    padding: 50px 0 70px;
  }
  .wishlist-heading {
    font-size: 34px;
    margin-bottom: 36px;
  }
  .wishlist-item {
    flex-direction: column;
  }
  .wishlist-item__image {
    flex: none;
    width: 100%;
    height: 220px;
  }
  .btn-gold-solid {
    width: 100%;
    padding: 16px 20px;
  }
}