body.page-product #main{display:flex;flex-direction:column;}
.product-flag.discount, .product-flag.discount-percentage { background:#e30613 !important; color:#fff !important; font-size:18px !important; font-weight:800 !important; padding:4px 10px !important; border-radius:5px !important; }
#footer .gdpr-newsletter label.psgdpr_consent_message{display:flex!important;align-items:center;gap:6px;margin-top:10px;}
.an_wishlist-container { display: none !important; }
.pp-rating-badge { position:absolute; top:10px; right:10px; z-index:20; display:flex; align-items:center; gap:5px; background:#fff; padding:5px 10px; border-radius:20px; box-shadow:0 1px 5px rgba(0,0,0,0.18); font-size:13px; color:#333; text-decoration:none; cursor:pointer; }
.pp-rating-badge:hover { text-decoration:none; color:#333; }
.pp-rating-badge .grade-stars { transform: scale(0.85); transform-origin: left center; margin:0; }
.pp-rating-badge .pp-rating-count { white-space:nowrap; font-weight:600; }

.thumbnail-container .an_wishlist-mini { display: none !important; }
.thumbnail-container { position: relative; }
.pp-list-rating-badge { position:absolute; top:8px; right:7px; z-index:6; display:flex; align-items:center; gap:4px; background:#fff; padding:3px 7px; border-radius:14px; box-shadow:0 1px 4px rgba(0,0,0,0.18); font-size:11px; color:#333; }
.pp-list-rating-badge .grade-stars { transform: scale(0.7); transform-origin: left center; margin:0; }
.pp-list-rating-badge .pp-rating-count { white-space:nowrap; font-weight:600; }

.product-list-reviews { display: none !important; }

.block_newsletter p.alert-success, .block_newsletter p.alert-danger { display: block !important; }
/* Trust badges (Livrare/Suport/Banii inapoi) - attractive card redesign + reviews highlight */
.cbd-features.trustbadges {
  display: flex !important;
  flex-wrap: wrap;
  gap: 14px;
  padding: 8px 0 !important;
}
.cbd-features.trustbadges .cbd-feature {
  flex: 1 1 220px;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #f7fbf6;
  border: 1px solid #e3efe0;
  border-top: none !important;
  border-radius: 14px;
  padding: 20px 14px !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.cbd-features.trustbadges .cbd-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(90,158,82,0.15);
  border-color: #5a9e52;
}
.cbd-features.trustbadges .cbd-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(90,158,82,0.12);
  margin: 0 0 10px 0;
}
.cbd-features.trustbadges .cbd-feature__icon svg {
  width: 30px;
  height: 30px;
}
.cbd-features.trustbadges .cbd-feature__title {
  margin: 0 0 4px 0;
}
.cbd-features.trustbadges .cbd-feature__text {
  margin: 0;
}
.cbd-features.trustbadges .cbd-feature--reviews {
  cursor: pointer;
  background: #fff8ea;
  border-color: #f0dca0;
  color: inherit;
}
.cbd-features.trustbadges .cbd-feature--reviews:hover {
  border-color: #e0b640;
  box-shadow: 0 8px 20px rgba(224,182,64,0.22);
}
.cbd-features.trustbadges .cbd-feature--reviews .cbd-feature__icon {
  background: rgba(224,182,64,0.2);
  color: #c98f0a;
}

/* Fix: discount flag overlapping the quality-score/rating badge on narrow (mobile 2-col) product cards */
@media (max-width: 600px) {
  .product-miniature .product-flags {
    top: 36px !important;
  }
  .product-miniature .product-flags .product-flag {
    margin-top: 2px !important;
  }
}


/* Vezi optiunile: hide broken attribute-swatch row in product-miniature (catalog listing) cards */
.product-miniature .an_pa_product-variants { display: none !important; }
.product-miniature .an_productattributes-qty-container.vo-hide { display: none !important; }
.product-miniature a.btn.vo-see-options {
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: normal;
}
