/* PremiumCommerce v1.0.162 - Premium normal product cards
   Important: Daily Deals uses pc116-* classes and is intentionally untouched. */

.product-card.pc162-product-card{
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  height:100%;
  overflow:hidden;
  border:1px solid var(--line,#e6e9ee)!important;
  border-radius:18px;
  background:var(--theme-card-bg,#fff)!important;
  box-shadow:0 9px 26px rgba(15,23,42,.065);
  transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease;
}
.product-card.pc162-product-card:hover{
  transform:translateY(-5px);
  border-color:color-mix(in srgb,var(--primary) 24%,var(--line,#d8dee7))!important;
  box-shadow:0 20px 48px rgba(15,23,42,.13);
}
.product-card.pc162-product-card .pc162-product-media{
  position:relative;
  aspect-ratio:1/1;
  display:block;
  overflow:hidden;
  background:linear-gradient(145deg,color-mix(in srgb,var(--theme-card-bg,#fff) 88%,#f4f6f8 12%) 0%,color-mix(in srgb,var(--theme-card-bg,#fff) 78%,#e9edf2 22%) 100%);
}
.product-card.pc162-product-card .pc162-product-media::after{
  content:"";
  position:absolute;
  inset:auto 12% 0;
  height:1px;
  background:linear-gradient(90deg,transparent,#dfe4ea,transparent);
  opacity:.9;
}
.product-card.pc162-product-card .pc162-product-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:22px;
  filter:saturate(.99) contrast(1.01);
  transition:transform .34s cubic-bezier(.2,.7,.2,1),filter .3s ease;
}
.product-card.pc162-product-card:hover .pc162-product-media img{
  transform:scale(1.045);
  filter:saturate(1.04) contrast(1.015);
}

.pc162-product-badge{
  position:absolute;
  z-index:4;
  top:14px;
  left:14px;
  max-width:calc(100% - 88px);
  padding:7px 11px;
  border-radius:9px;
  background:linear-gradient(135deg,#22c55e,#16a34a);
  color:#fff;
  font-size:10px;
  font-weight:900;
  line-height:1;
  letter-spacing:.025em;
  text-transform:uppercase;
  box-shadow:0 7px 16px rgba(22,163,74,.24),inset 0 0 0 1px rgba(255,255,255,.26);
}
.pc162-sale-ribbon{
  position:absolute;
  z-index:4;
  top:0;
  right:0;
  width:76px;
  height:76px;
  overflow:hidden;
  pointer-events:none;
}
.pc162-sale-ribbon::before{
  content:"";
  position:absolute;
  width:108px;
  height:36px;
  top:9px;
  right:-34px;
  transform:rotate(45deg);
  background:linear-gradient(135deg,#ff4658,#e71f37);
  box-shadow:0 5px 14px rgba(231,31,55,.24);
}
.pc162-sale-ribbon b{
  position:absolute;
  top:14px;
  right:7px;
  width:36px;
  color:#fff;
  font-size:11px;
  font-weight:900;
  line-height:1;
  text-align:center;
  transform:rotate(45deg);
}

.pc162-media-tools{
  position:absolute;
  z-index:10;
  top:74px;
  right:11px;
  display:grid;
  gap:7px;
}
.product-card.pc162-product-card .pc162-media-tools .pc107-favorite-floating,
.product-card.pc162-product-card .pc162-media-tools .pc162-compare-floating{
  position:static;
  width:35px;
  height:35px;
  display:grid!important;
  place-items:center;
  margin:0;
  padding:0;
  border:1px solid rgba(220,225,231,.96);
  border-radius:11px;
  background:rgba(255,255,255,.96);
  color:#64748b;
  box-shadow:0 7px 18px rgba(15,23,42,.09);
  backdrop-filter:blur(8px);
  transition:opacity .2s ease,transform .2s ease,border-color .2s ease,color .2s ease,background .2s ease;
}
.product-card.pc162-product-card .pc162-media-tools .pc162-compare-floating{
  opacity:0;
  transform:translateY(-4px);
  pointer-events:none;
}
.product-card.pc162-product-card:hover .pc162-media-tools .pc162-compare-floating,
.product-card.pc162-product-card:focus-within .pc162-media-tools .pc162-compare-floating{
  opacity:1;
  transform:none;
  pointer-events:auto;
}
.product-card.pc162-product-card .pc162-media-tools button:hover{
  transform:translateY(-2px);
  border-color:#b9c7d5;
  background:#fff;
  color:var(--primary);
}
.product-card.pc162-product-card .pc162-media-tools .pc107-favorite-floating.active{
  border-color:#ffc5cd;
  background:#fff4f5;
  color:#e11d48;
}
.product-card.pc162-product-card .pc162-media-tools svg{width:16px;height:16px}

.product-card.pc162-product-card .pc162-product-body{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:15px 16px 16px;
  text-align:center;
}
.product-card.pc162-product-card .pc162-category{
  display:block;
  min-height:17px;
  margin:0 0 7px;
  overflow:hidden;
  color:#2563eb;
  font-size:10.5px;
  font-weight:700;
  line-height:1.45;
  letter-spacing:0;
  text-overflow:ellipsis;
  text-transform:none;
  white-space:nowrap;
}
.product-card.pc162-product-card .product-name{
  display:-webkit-box;
  min-height:42px;
  margin:0 auto 8px;
  overflow:hidden;
  color:#111827;
  font-size:13px;
  font-weight:800;
  line-height:1.45;
  text-align:center;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}
.product-card.pc162-product-card .pc162-rating-row{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:22px;
  margin:0 0 5px;
  gap:6px;
  color:#94a3b8;
  font-size:11px;
}
.pc162-stars{
  --pc162-rating:0%;
  position:relative;
  display:inline-block;
  color:#e5e7eb;
  font-size:14px;
  line-height:1;
  letter-spacing:1.1px;
}
.pc162-stars::before{
  content:"★★★★★";
  position:absolute;
  inset:0 auto 0 0;
  width:var(--pc162-rating);
  overflow:hidden;
  color:#f7b731;
  white-space:nowrap;
}
.pc162-review-count{color:#667085;font-size:10px}

.product-card.pc162-product-card .pc162-price-row{
  display:flex;
  align-items:flex-end;
  justify-content:center;
  min-height:57px;
  margin-top:auto;
  padding:8px 0 0;
}
.pc162-price-wrap{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:center;
  gap:4px 6px;
  width:100%;
}
.product-card.pc162-product-card .pc162-price-wrap del{
  color:#7d8590;
  font-size:12px;
  font-weight:500;
  line-height:1.2;
  text-decoration-thickness:1px;
}
.product-card.pc162-product-card .pc162-price-wrap strong{
  color:#0b0f17;
  font-size:19px;
  font-weight:900;
  line-height:1.1;
  letter-spacing:-.035em;
  white-space:nowrap;
}
.product-card.pc162-product-card .dealer-price-badge{
  flex-basis:100%;
  justify-self:center;
  width:max-content;
  margin:1px auto 0;
}
.product-card.pc162-product-card .price-visibility-lock{
  justify-content:center;
  text-align:left;
}

.product-card.pc162-product-card .pc162-card-actions{
  position:relative;
  z-index:9;
  display:block;
  width:100%;
  margin-top:12px;
}
.product-card.pc162-product-card .pc162-card-actions .pc102-cart-form{display:block;width:100%;margin:0}
.product-card.pc162-product-card .pc162-add-cart{
  display:inline-flex;
  width:100%;
  min-height:42px;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:0 13px;
  border:1px solid color-mix(in srgb,var(--primary) 90%,#000 10%);
  border-radius:999px;
  background:linear-gradient(135deg,color-mix(in srgb,var(--primary) 88%,#3180ff 12%),color-mix(in srgb,var(--primary) 82%,#1d4ed8 18%))!important;
  color:var(--theme-button-text,#fff)!important;
  font-size:11px;
  font-weight:800;
  box-shadow:0 9px 18px color-mix(in srgb,var(--primary) 22%,transparent);
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
.product-card.pc162-product-card .pc162-add-cart:hover{
  transform:translateY(-2px);
  filter:saturate(1.08) brightness(1.02);
  box-shadow:0 13px 24px color-mix(in srgb,var(--primary) 28%,transparent);
}
.product-card.pc162-product-card .pc162-add-cart svg{width:16px;height:16px}

/* Home 6-column blocks stay compact without sacrificing hierarchy. */
@media(min-width:1201px){
  .products-section.pc103-home-six-grid .product-card.pc162-product-card .pc162-product-media img{padding:16px}
  .products-section.pc103-home-six-grid .product-card.pc162-product-card .pc162-product-body{padding:12px 11px 13px}
  .products-section.pc103-home-six-grid .product-card.pc162-product-card .product-name{min-height:38px;font-size:11.5px}
  .products-section.pc103-home-six-grid .product-card.pc162-product-card .pc162-price-wrap strong{font-size:16.5px}
  .products-section.pc103-home-six-grid .product-card.pc162-product-card .pc162-price-wrap del{font-size:10px}
  .products-section.pc103-home-six-grid .product-card.pc162-product-card .pc162-add-cart{min-height:38px;font-size:9.5px}
  .products-section.pc103-home-six-grid .product-card.pc162-product-card .pc162-media-tools{top:64px;right:8px}
  .products-section.pc103-home-six-grid .product-card.pc162-product-card .pc162-media-tools .pc107-favorite-floating,
  .products-section.pc103-home-six-grid .product-card.pc162-product-card .pc162-media-tools .pc162-compare-floating{width:31px;height:31px;border-radius:9px}
  .products-section.pc103-home-six-grid .pc162-product-badge{top:9px;left:9px;padding:6px 8px;font-size:8.5px}
}

/* Catalog list view: keep the premium information hierarchy in horizontal cards. */
.pc100-product-grid.pc100-list-view .product-card.pc162-product-card{grid-template-columns:210px minmax(0,1fr);text-align:left}
.pc100-product-grid.pc100-list-view .product-card.pc162-product-card .pc162-product-media{height:100%;min-height:215px;aspect-ratio:auto}
.pc100-product-grid.pc100-list-view .product-card.pc162-product-card .pc162-product-body{align-items:flex-start;text-align:left}
.pc100-product-grid.pc100-list-view .product-card.pc162-product-card .pc162-category,
.pc100-product-grid.pc100-list-view .product-card.pc162-product-card .product-name{margin-left:0;text-align:left}
.pc100-product-grid.pc100-list-view .product-card.pc162-product-card .pc162-rating-row{justify-content:flex-start}
.pc100-product-grid.pc100-list-view .product-card.pc162-product-card .pc162-price-row{justify-content:flex-start;width:100%}
.pc100-product-grid.pc100-list-view .product-card.pc162-product-card .pc162-price-wrap{justify-content:flex-start}
.pc100-product-grid.pc100-list-view .product-card.pc162-product-card .pc162-card-actions{max-width:320px}

@media(max-width:900px){
  .product-card.pc162-product-card{border-radius:16px}
  .product-card.pc162-product-card .pc162-product-media img{padding:16px}
  .product-card.pc162-product-card .pc162-product-body{padding:13px}
  .product-card.pc162-product-card .pc162-price-wrap strong{font-size:17px}
  .product-card.pc162-product-card .pc162-media-tools .pc162-compare-floating{opacity:1;transform:none;pointer-events:auto}
}
@media(max-width:640px){
  .product-card.pc162-product-card{border-radius:14px;box-shadow:0 6px 18px rgba(15,23,42,.06)}
  .product-card.pc162-product-card:hover{transform:none}
  .product-card.pc162-product-card .pc162-product-media img{padding:11px}
  .product-card.pc162-product-card .pc162-product-body{padding:9px 9px 10px}
  .product-card.pc162-product-card .pc162-category{margin-bottom:5px;font-size:9px}
  .product-card.pc162-product-card .product-name{min-height:35px;margin-bottom:6px;font-size:11.5px;line-height:1.42}
  .product-card.pc162-product-card .pc162-rating-row{min-height:18px;gap:4px}
  .pc162-stars{font-size:11px;letter-spacing:.8px}
  .pc162-review-count{font-size:8.5px}
  .product-card.pc162-product-card .pc162-price-row{min-height:48px;padding-top:5px}
  .product-card.pc162-product-card .pc162-price-wrap{gap:2px 4px}
  .product-card.pc162-product-card .pc162-price-wrap del{font-size:9.5px}
  .product-card.pc162-product-card .pc162-price-wrap strong{font-size:14.5px}
  .product-card.pc162-product-card .pc162-card-actions{margin-top:8px}
  .product-card.pc162-product-card .pc162-add-cart{min-height:36px;padding:0 8px;font-size:9px;gap:5px}
  .product-card.pc162-product-card .pc162-add-cart svg{width:13px;height:13px}
  .pc162-product-badge{top:7px;left:7px;max-width:calc(100% - 60px);padding:5px 7px;border-radius:7px;font-size:8px}
  .pc162-sale-ribbon{width:58px;height:58px}.pc162-sale-ribbon::before{width:86px;height:29px;top:6px;right:-29px}.pc162-sale-ribbon b{top:10px;right:4px;font-size:9px}
  .pc162-media-tools{top:54px;right:6px;gap:5px}
  .product-card.pc162-product-card .pc162-media-tools .pc107-favorite-floating,
  .product-card.pc162-product-card .pc162-media-tools .pc162-compare-floating{width:29px;height:29px;border-radius:9px}
  .product-card.pc162-product-card .pc162-media-tools svg{width:13px;height:13px}
  .pc100-product-grid.pc100-list-view .product-card.pc162-product-card{display:block}
  .pc100-product-grid.pc100-list-view .product-card.pc162-product-card .pc162-product-media{height:185px;min-height:0}
  .pc100-product-grid.pc100-list-view .product-card.pc162-product-card .pc162-product-body{align-items:center;text-align:center}
  .pc100-product-grid.pc100-list-view .product-card.pc162-product-card .pc162-category,
  .pc100-product-grid.pc100-list-view .product-card.pc162-product-card .product-name{margin-left:auto;text-align:center}
  .pc100-product-grid.pc100-list-view .product-card.pc162-product-card .pc162-rating-row,
  .pc100-product-grid.pc100-list-view .product-card.pc162-product-card .pc162-price-row,
  .pc100-product-grid.pc100-list-view .product-card.pc162-product-card .pc162-price-wrap{justify-content:center}
}
