/* =======================================================
   LUXE PRODUCT CARD (thẻ sản phẩm)
======================================================== */
.luxe-card-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  font-family: 'Mulish', sans-serif;
  justify-content: flex-start !important;
}

/* ----- Khung ảnh ----- */
.luxe-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 2.7/4.05;
  overflow: hidden;
  background: #f8f0f0;
  border-radius: 7px;
}
.luxe-img-link {
  display: block;
  width: 100%;
  height: 100%;
}
.luxe-img-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.luxe-card-wrapper:hover .luxe-img-link img {
  transform: scale(1.05);
}

/* ----- Nút trái tim ----- */
.sobie-wishlist-btn {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 15;
  background: transparent !important;
  border: none;
  padding: 0;
  width: 28px; height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: none !important;
  color: #000 !important;
}
.sobie-wishlist-btn:hover { transform: scale(1.15); }

/* ----- Tag (NEW, SALE, HOT, Sold out) ----- */
.luxe-tags {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 0;
  background: #fff !important;
  color: #000 !important;
  border: 1px solid #000 !important;
  display: inline-block;
  line-height: 1;
}
.tag-sold-out, .tag-sale, .tag-new, .tag-hot {
  background: #fff;
  color: #000;
}

/* ----- Quick Add hover ----- */
.cool-quick-add {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  padding: 12px 10px;
  box-sizing: border-box;
  border-top: 1px solid rgba(0,0,0,0.05);
  z-index: 10;
}
.luxe-img-container:hover .cool-quick-add { transform: translateY(0); }
.cool-quick-add.is-visible { transform: translateY(0) !important; }

.cool-quick-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  color: #111;
  margin-bottom: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.cool-variants {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.cool-var-btn {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  min-width: 40px;
  transition: 0.2s;
}
.cool-var-btn:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}
.cool-var-btn.disabled {
  background: #f5f5f5;
  color: #ccc;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* ----- Khu vực thông tin ----- */
.luxe-info-container {
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 0 !important;
  text-align: left;
  justify-content: flex-start !important;
}
.luxe-info-container > div:last-child {
  margin-top: 8px !important;
}

.luxe-vendor {
  font-size: 10px;
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 4px;
  letter-spacing: 0.5px;
}

.luxe-product-title {
  font-size: 13px;
  font-weight: 600;
  color: #111;
  margin: 0 0 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 36px;
}
.luxe-product-title a { color: inherit; text-decoration: none; }
.luxe-product-title a:hover { text-decoration: underline; }

.luxe-info-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
}

.price-box {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
}
.old-price {
  font-size: 11px;
  color: #999;
  text-decoration: line-through;
}

.luxe-add-cart {
  background: #fff;
  border: 1px solid #111;
  border-radius: 8px !important;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  cursor: pointer;
  transition: 0.3s;
  padding: 0;
  flex-shrink: 0;
}
.luxe-add-cart:hover { background: #111; color: #fff; }

/* ----- Mobile ----- */
@media (max-width: 767px) {
  .cool-quick-add { transform: translateY(100%); padding: 8px 5px; }
  .cool-quick-title {
    font-size: 9px;
    margin-bottom: 6px;
    white-space: nowrap;
  }
  .cool-variants { gap: 4px; }
  .cool-var-btn {
    padding: 5px 6px;
    font-size: 10px;
    min-width: 32px;
  }
}
