/* ═══════════════════════════════════════════════
   NEW PRODUCT CARD STYLES - OVERRIDE
   ═══════════════════════════════════════════════ */

/* Hide old elements */
.product-badge { display: none !important; }
.product-card-actions { display: none !important; }
.product-category-tag { display: none !important; }

/* Card base */
.product-card {
  background: white;
  border: 1px solid #e8e0d8;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.product-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

/* Image area */
.product-card-image {
  position: relative;
  overflow: hidden;
  background: #f5f0ea;
}
.carousel-container {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  background: #f5f0ea;
  overflow: hidden;
}
.carousel-images {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.carousel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s;
}
.carousel-img.active { opacity: 1; z-index: 2; }

/* Carousel arrows */
.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: #1a1a1a;
  font-size: 13px;
  transition: background 0.2s;
}
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
.carousel-prev:hover, .carousel-next:hover { background: #fff; }

/* BEST SELLER + % off badges */
.pc-badges {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  z-index: 5;
}
.pc-badge-bestseller {
  background: #1a1a2e;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 6px 10px;
  display: block;
  text-transform: uppercase;
  font-family: sans-serif;
}
.pc-badge-off {
  background: #B8962E;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  display: block;
  font-family: sans-serif;
}

/* Out of stock */
.oos-layer {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: #888;
  z-index: 6;
}

/* Info section */
.product-card-info {
  padding: 14px 14px 16px !important;
}

/* Product name */
.product-name {
  font-size: 15px !important;
  font-weight: 700 !important;
  margin-bottom: 4px !important;
  line-height: 1.3 !important;
}
.product-name a { color: #1a1a1a !important; text-decoration: none; }
.product-name a:hover { color: #c9a96e !important; }

/* Rating row */
.product-rating {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  margin: 5px 0 4px !important;
  flex-wrap: wrap;
}
.pc-star-icon { color: #f5a623; font-size: 14px; }
.pc-rating-num { font-size: 13px; font-weight: 700; color: #1a1a1a; }
.pc-rating-sep { color: #ccc; font-size: 12px; }
.pc-verified-icon { color: #B8962E; font-size: 13px; }
.pc-review-count { font-size: 12px; color: #888; }
.no-reviews { font-size: 12px; color: #aaa; font-style: italic; }

/* Price row */
.pc-price-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 6px 0 10px !important;
  flex-wrap: wrap;
}
.pc-sale-price {
  font-size: 17px;
  font-weight: 800;
  color: #1a1a1a;
}
.pc-orig-price {
  font-size: 13px;
  color: #999;
  text-decoration: line-through;
}
.pc-disc-pct {
  font-size: 13px;
  font-weight: 700;
  color: #2e7d32;
}

/* Variant thumbnails */
.pc-thumbnails {
  display: flex;
  gap: 6px;
  margin: 4px 0 12px;
}
.pc-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border: 2px solid #e0d8d0;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s;
}
.pc-thumb.active, .pc-thumb:hover { border-color: #B8962E; }

/* ADD TO CART button */
.pc-add-to-cart {
  display: block !important;
  width: 100% !important;
  background: #B8962E !important;
  color: #fff !important;
  border: none !important;
  padding: 13px 16px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  border-radius: 4px !important;
  transition: background 0.25s !important;
  margin-top: 4px !important;
  font-family: sans-serif !important;
  text-align: center !important;
}
.pc-add-to-cart:hover { background: #8A6E1A !important; }
.pc-add-to-cart.pc-oos {
  background: #ccc !important;
  cursor: not-allowed !important;
}

@media(max-width:640px) {
  .pc-sale-price { font-size: 15px; }
  .product-name { font-size: 13px !important; }
}