/* DJ NIKOLAS — Product Cards Ecommerce Fix v1.7.0.2
   Scop: fără scrollbar intern, copertă compactă, promo/preț/butoane mereu vizibile.
*/

.product-grid.product-grid-v169{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--product-card-width,320px)),var(--product-card-width,320px)))!important;
  justify-content:center!important;
  align-items:start!important;
  gap:24px!important;
  width:100%!important;
  overflow:visible!important;
}

.product-grid-v169 .product-card-v169{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:var(--product-card-width,320px)!important;
  height:auto!important;
  min-height:var(--product-card-min-height,560px)!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border-radius:24px!important;
}

/* Imagine tip magazin: mică, centrată, fără a pierde fișierul original. */
.product-grid-v169 .product-card-v169>.cover{
  position:relative!important;
  box-sizing:border-box!important;
  width:min(72%,190px)!important;
  max-width:190px!important;
  aspect-ratio:1/1!important;
  flex:0 0 auto!important;
  margin:18px auto 4px!important;
  border:1px solid rgba(255,255,255,.13)!important;
  border-radius:20px!important;
  overflow:hidden!important;
  background:#0a0d13!important;
  box-shadow:0 12px 28px rgba(0,0,0,.28)!important;
}

.product-grid-v169 .product-card-v169.is-album>.cover{
  width:min(var(--album-cover-percent,50%),190px)!important;
  border:2px solid #d8ad54!important;
  border-radius:22px!important;
  box-shadow:
    0 0 0 1px rgba(255,235,174,.12),
    0 12px 28px rgba(0,0,0,.32),
    0 0 20px rgba(216,173,84,.13)!important;
}

.product-grid-v169 .product-card-v169>.cover img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
  background:#0a0d13!important;
  image-rendering:auto!important;
}

.product-grid-v169 .product-card-v169>.cover span{
  top:8px!important;
  right:8px!important;
  padding:6px 9px!important;
  font-size:9px!important;
  letter-spacing:.13em!important;
  border-radius:999px!important;
}

/* Corpul cardului nu mai are NICIODATĂ scrollbar intern. */
.product-grid-v169 .product-card-v169 .product-body{
  box-sizing:border-box!important;
  flex:1 1 auto!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:visible!important;
  padding-top:14px!important;
}

.product-grid-v169 .product-card-v169 .product-body h3{
  margin-top:0!important;
  margin-bottom:8px!important;
  font-size:clamp(22px,2vw,30px)!important;
  line-height:1.15!important;
  display:-webkit-box!important;
  -webkit-line-clamp:2!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}

.product-grid-v169 .product-card-v169 .product-body>p{
  min-height:0!important;
  margin:0 0 10px!important;
  line-height:1.45!important;
  display:-webkit-box!important;
  -webkit-line-clamp:3!important;
  -webkit-box-orient:vertical!important;
  overflow:hidden!important;
}

/* Preț simplu */
.product-grid-v169 .product-card-v169 .price{
  margin:10px 0 12px!important;
  font-size:clamp(25px,3vw,33px)!important;
  line-height:1.05!important;
}

/* Promo compactă, vizibilă integral. */
.product-grid-v169 .promo-box{
  margin:10px 0 12px!important;
  padding:12px!important;
  border-radius:16px!important;
  overflow:visible!important;
}

.product-grid-v169 .promo-topline{
  margin-bottom:7px!important;
}

.product-grid-v169 .promo-price-stack{
  display:flex!important;
  align-items:flex-end!important;
  justify-content:space-between!important;
  gap:12px!important;
  margin-top:6px!important;
}

.product-grid-v169 .promo-regular,
.product-grid-v169 .promo-now{
  min-width:0!important;
}

.product-grid-v169 .promo-now{
  text-align:right!important;
}

.product-grid-v169 .promo-price-old{
  font-size:15px!important;
}

.product-grid-v169 .promo-price-now{
  font-size:30px!important;
  white-space:nowrap!important;
}

.product-grid-v169 .promo-countdown{
  margin-top:10px!important;
  padding-top:10px!important;
}

.product-grid-v169 .promo-countdown>small{
  margin-bottom:6px!important;
  font-size:10px!important;
}

.product-grid-v169 .promo-clock{
  gap:5px!important;
}

.product-grid-v169 .promo-time-unit{
  padding:6px 2px!important;
  border-radius:9px!important;
}

.product-grid-v169 .promo-time-unit b{
  font-size:15px!important;
}

.product-grid-v169 .promo-time-unit em{
  font-size:7px!important;
}

.product-grid-v169 .promo-order-limit{
  margin-top:9px!important;
  padding-top:9px!important;
}

.product-grid-v169 .promo-order-limit>span,
.product-grid-v169 .promo-countdown-text{
  font-size:10px!important;
}

/* Butoanele rămân jos, dar fără să ascundă conținutul. */
.product-grid-v169 .product-card-v169 .actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  margin-top:auto!important;
  padding-top:12px!important;
}

.product-grid-v169 .product-card-v169 .actions .btn{
  flex:1 1 120px!important;
  min-width:0!important;
  text-align:center!important;
  justify-content:center!important;
}

.product-payment-note{
  margin-top:9px;
  padding-top:9px;
  border-top:1px solid rgba(255,255,255,.07);
  color:#8996a8;
  font-size:10px;
  line-height:1.35;
  text-align:center;
}

/* Nicio bară de scroll în card. */
.product-grid-v169 .product-card-v169,
.product-grid-v169 .product-card-v169 .product-body,
.product-grid-v169 .promo-box{
  scrollbar-width:none!important;
}
.product-grid-v169 .product-card-v169::-webkit-scrollbar,
.product-grid-v169 .product-card-v169 .product-body::-webkit-scrollbar,
.product-grid-v169 .promo-box::-webkit-scrollbar{
  display:none!important;
}

/* Telefon: un singur card, imagine mică, butoane mari și conținut integral. */
@media(max-width:760px){
  .product-grid.product-grid-v169{
    grid-template-columns:1fr!important;
    gap:18px!important;
  }

  .product-grid-v169 .product-card-v169{
    width:100%!important;
    max-width:440px!important;
    min-height:0!important;
    margin-inline:auto!important;
  }

  .product-grid-v169 .product-card-v169>.cover{
    width:min(54%,175px)!important;
    max-width:175px!important;
    margin-top:16px!important;
  }

  .product-grid-v169 .product-card-v169.is-album>.cover{
    width:min(var(--album-cover-percent,50%),175px)!important;
  }

  .product-grid-v169 .promo-price-stack{
    align-items:center!important;
  }

  .product-grid-v169 .promo-price-now{
    font-size:27px!important;
  }

  .product-grid-v169 .product-card-v169 .actions{
    flex-direction:column!important;
  }

  .product-grid-v169 .product-card-v169 .actions .btn{
    width:100%!important;
    flex-basis:auto!important;
  }
}

/* Ecrane foarte mici */
@media(max-width:390px){
  .product-grid-v169 .product-card-v169>.cover{
    width:min(50%,155px)!important;
    max-width:155px!important;
  }
  .product-grid-v169 .promo-price-stack{
    display:grid!important;
    grid-template-columns:1fr 1fr!important;
  }
  .product-grid-v169 .promo-price-now{
    font-size:24px!important;
  }
}
