/* =============================== PRODUCT CARD =============================== */
.barcode-wrap strong {
  max-width: 90px;
  overflow: hidden;
  display: block;
  text-overflow: ellipsis;
}

.pe_product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  height: 100%;
  transition: 0.3s ease;
  position: relative;
}

.pe_product-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Image */
.pe_product-image {
  background: #f6f6f6;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
}

.pe_product-image img {
  max-height: 180px;
  object-fit: contain;
  margin: auto;
  mix-blend-mode: darken;
}

/* Title */
.pe_product-title {
  font-size: 14px;
  font-weight: 600;
  margin: 12px 0;
  min-height: 42px;

-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
display: -webkit-box;
overflow: hidden;
}

/* Meta info */
.pe_product-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.pe_product-meta div {
  background: #f7f7fb;
  border-radius: 6px;
  padding: 8px;
  text-align: center;
  font-size: 12px;
}

.pe_product-meta span {
  display: block;
  color: #6c757d;
}

.pe_product-meta strong {
  font-weight: 600;
}

/* Actions */
.pe_product-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pe_product-actions.fwidth {
    grid-template-columns: 1fr;
}


/* Wrapper */
.cart-qty {
  display: flex;
  align-items: center;
  gap: 2px;
}

.pe_product-card .price-txt{
    font-size: calc(var(--spacing) * 3.2);
    line-height: calc(var(--spacing) * 4);
    margin-bottom: calc(var(--spacing) * 2);;
}

/* Remove Bootstrap default borders */
.cart-qty .input-group-text,
.cart-qty .form-control {
  border: none;
  box-shadow: none;
}

/* Minus & Plus Buttons */
.cart-qty .btn-minus,
.cart-qty .btn-plus {
    background: #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 2px;
    height: 28px;
    border-radius: 5px;
    width: calc(var(--spacing) * 5);
    height: calc(var(--spacing) * 5);
}

/* Hover effect */
.cart-qty .btn-minus:hover,
.cart-qty .btn-plus:hover {
  background: #e4e4e4;
  transform: translateY(-1px);
}

.product-card-select .spantxt {
    font-size: calc(var(--spacing) * 2.5);
    line-height: 14px;
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Center Input */
.cart-qty .qty-input {
  width: calc(var(--spacing) * 10);
  height: calc(var(--spacing) * 5);
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 5px !important;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  color: #111;
  transition: 0.3s ease;
  padding:0;
}

/* Focus state */
.cart-qty .qty-input:focus {
  outline: none;
  border-color: #2f2f6f;
  box-shadow: 0 0 0 3px rgba(47,47,111,0.1);
}

/* Remove arrows in number input (if changed later) */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-input[type=number] {
  -moz-appearance: textfield;
}

.prmo-bar {
  position: absolute;
  top: 10px;
  left: 10px;

  background: #bd212e; /* premium red */
  color: #fff;

  font-size: 11px;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;

  padding: 6px 8px;
  border-radius: 6px;

  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  z-index: 2;

  transition: 0.25s ease;
}

/* Slight hover lift */
.prmo-bar:hover {
  transform: translateY(-2px);
}

