/* =========================
   PAGE PRODUIT
========================= */
.proebo-best-price {
  position: relative;
  padding: 0 18px 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e5e5e5;
  margin-top: 10px;
  transition: all 0.2s ease;
  color: #000;
}

.proebo-best-price:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* BADGE */
.proebo-best-badge {
  position: absolute;
  top: -10px;
  left: 10px;
  background: #549747;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

/* RIBBON */
.proebo-best-price .proebo-mini-ribbon {
    margin-top: -2px;
	margin-left: -22px;
}

.proebo-best-price .proebo-mini-ribbon::after {
  border-bottom: 18px solid transparent;
}

.proebo-best-badge.pulse {
  animation: pulse 1.8s infinite;
}

/* MAIN */
.proebo-best-main {
  font-size: 20px;
}

.proebo-best-main .price {
  font-size: 34px;
  font-weight: 800;
  color: #549747;
}

.proebo-best-main .per {
  font-size: 18px;
}

/* CONDITION */
.proebo-best-condition,
.proebo-best-hook {
  margin-top: 5px;
  font-size: 16px;
  color: #549747;
  font-weight: 600;
}

/* VOLUME */
.proebo-mini-box .proebo-best-volume {
  margin-top: 4px;
  font-size: 16px;
  font-weight: 600;
}

.proebo-best-volume {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 600;
}

.proebo-mini-box .top-part-line {
	display: flex;
    align-items: center;
    gap: 8px;
}

.proebo-best-volume .total {
  color: #549747;
  font-size: 20px;
}

/* ECONOMIE */
.proebo-best-economy {
  margin-top: 6px;
  font-size: 15px;
  color: #f5a623;
  font-weight: 600;
}

/* CTA */
.proebo-best-cta {
  margin-top: 6px;
  font-size: 15px;
  color: #6c757d;
  font-style: italic;
}

/* ANIMATION */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* HIDE PRICES */
.product-miniature .product-miniature__prices, .page-product .product__current-price,
.page-product .product__unit-price {
  display: none;
}

.proebo-mini-badge {
  background: linear-gradient(135deg, #6da81d, #7AB51D);
  color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.2;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  margin: 8px 0 6px;
  display: inline-block;
}

/* ligne principale */
.proebo-mini-main {
  display: flex;
  align-items: center;
  gap: 6px;
}

.proebo-mini-main .check {
  background: #fff;
  color: #7AB51D;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
}

.proebo-mini-main .price {
  font-size: 17px;
  font-weight: 700;
}

.proebo-mini-main .per {
  font-size: 12px;
  opacity: 0.9;
}

/* ligne secondaire */
.proebo-mini-sub {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}

.proebo-mini-sub .discount {
  background: rgba(255,255,255,0.2);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.proebo-mini-sub .qty {
  opacity: 0.95;
}

.proebo-mini-badge:hover {
  transform: translateY(-1px);
  transition: 0.2s;
}
/* =========================
   MINIATURE PRODUIT — VERSION PREMIUM
========================= */

.proebo-mini-wrapper {
	background-color: #fff;
}

.proebo-mini-content {
    margin: 12px 10px 14px;
    border-radius: 8px;
    border-top: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
}

/* RIBBON */
.proebo-mini-ribbon {
	display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #549747, #60a753);
    color: #fff;
    padding: 10px 80px 10px 12px;
    border-radius: 6px 0 0 6px;
    font-weight: 600;
    position: relative;
    height: 38px;
    margin-top: -2px;
}

/* angle parfaitement aligné */
.proebo-mini-ribbon::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 14px solid #60a753;
}

/* CHECK */
.proebo-mini-ribbon .check {
  background: #ffffff;
  color: #60a753;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  transform: translateY(1px); /* 🔥 FIX ALIGNEMENT */
}

/* PRIX */
.proebo-mini-ribbon .price {
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.proebo-mini-ribbon .per {
  font-size: 13px;
  opacity: 0.95;
  line-height: 1;
}

/* =========================
   BOX (fusion visuelle)
========================= */

.proebo-mini-box {
    /* display: flex; */
    align-items: center;
    gap: 8px;
    background: #fff;
    padding: 10px 14px;
    font-size: 13px;
    margin-top: -2px;
    border-radius: 6px;
    border-left: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin-left: 2px;
    position: relative;
    z-index: 10;
}

/* coche ligne 2 */
.proebo-mini-box .check-line {
  color: #549747;
  font-weight: bold;
  font-size: 14px;
  transform: translateY(1px);
}

/* badge remise */
.proebo-mini-box .discount {
  background: #e9f5d8;
  color: #549747;
  padding: 3px 7px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 12px;
}

/* texte */
.proebo-mini-box .qty {
  color: #333;
  font-weight: 500;
}

/* =========================
   HOVER subtil
========================= */

.proebo-mini-wrapper:hover .proebo-mini-box {
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}