
 /* ===== Pro Product Card (Upgraded) ===== */
.product_slider .ag-card{ padding: 0px; height: 100%; }

.ag-card-inner{
  position: relative;
  background: #fff;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.ag-card-inner:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(16, 24, 40, 0.10);
  border-color: rgba(17,24,39,.14);
}

/* Image area */
.ag-img-wrap{
  display: block;
  padding: 14px;
  background: linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
}
.ag-img{
  width: 100%;
  height: 200px;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  background: #f6f7fb;
}

/* Body */
.ag-body{
  padding: 12px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

/* Title */
.ag-title{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;

  font-weight: 800;
  font-size: 15px;
  line-height: 1.35;
  color: #0f172a;
  text-decoration: none;
  min-height: 42px;
}
.ag-title:hover{ color: #ff6a00; }

/* Price row */
.ag-price-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.ag-price{
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.ag-old{
  color: #94a3b8;
  text-decoration: line-through;
  font-size: 12px;
  font-weight: 700;
}
.ag-new{
  color: #0f172a;
  font-size: 18px;
  font-weight: 900;
}

/* OFF pill */
.ag-off-pill{
  background: #ecfdf3;
  color: #0f8a3b;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
  border: 1px solid rgba(15,138,59,.15);
}

/* Action button */
.ag-actions{ margin-top: auto; }
.ag-btn{
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
  transition: 0.500s ease;
  background: transparent;
  color: black;
  border: 0.3px solid;
  border-radius: 30px;
  padding: 8px;
  background: #bc8d56;
    color: white;
}

.ag-btn:hover{ 
    opacity: .95; transform: translateY(-1px); 
    background: #c28a07;;
    color: white;

}
.ag-cart-form{ margin: 0; }

/* Corner discount badge (percent) */
.ag-badge{
  position: absolute;
  top: 12px;
  left: 12px;
  background: #ff3b30;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
  padding: 7px 10px;
  border-radius: 12px;
  box-shadow: 0 12px 22px rgba(255, 59, 48, 0.22);
}

/* Owl equal height fix */
.product_slider .owl-stage{ display: flex; }
.product_slider .owl-item{ display: flex; }
.product_slider .owl-item > .ag-card{ width: 100%; }

/* Responsive */
@media (max-width: 576px){
  .ag-img{ height: 160px; }
  .ag-new{ font-size: 16px; }
  .ag-title{ font-size: 14px; min-height: 38px; }
  .ag-btn{ padding: 10px 12px; font-size: 13px; }
}

