.proebo-tabprice-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    table-layout: fixed;
}

.proebo-tabprice-table th:last-child,
.proebo-tabprice-table td.proebo-actions-cell {
	width: 220px;
	/* min-width: 240px; */
}

.proebo-tabprice-table th,
.proebo-tabprice-table td {
    padding: 8px 10px;
    border: 1px solid #e5e5e5;
}

/* header */
.proebo-tabprice-table thead {
    background: #f5f5f5;
    font-weight: 600;
}

@media (min-width: 768px) {	
	.proebo-tabprice-table th,
	.proebo-tabprice-table td {
		text-align: center;
	}

	/* alternance */
	.proebo-tabprice-table tbody tr:nth-child(odd) {
		background-color: #ffffff;
	}

	.proebo-tabprice-table tbody tr:nth-child(even) {
		background-color: #f7f7f7;
	}
}

/* hover */
.proebo-tabprice-table tbody tr:hover {
    background-color: #eef4ff;
}

/* =========================
   PRIX
========================= */

.proebo-price-cell {
    transition: all 0.2s ease;
}

/* active */
.proebo-price-cell.active-tier {
    /* background: #e8f0ff; */
    font-weight: 700;
}

/* animation */
@keyframes blowPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(0.8); }
    100% { transform: scale(1); }
}

.proebo-price-cell.blow {
    animation: blowPulse 0.25s ease;
}

.proebo-price-cell.blow-down {
    animation: fadeDown 0.2s ease;
}

.proebo-tab-price-discount .material-icons {
	font-size: 14px;
}

.proebo-tab-price-discount {
    font-size: 11px;
    color: #2e7d32;
    font-weight: 600;
}

.proebo-tab-price-best-price {
    font-size: 11px;
    color: #2e7d32;
    font-weight: 600;
}

.proebo-saving {
    font-size: 11px;
    color: #2e7d32;
    font-weight: 600;
    margin-top: 4px;
    min-height: 16px;
    transition: all 0.2s ease;
}

.tier-qty {
	display: none;
}
  
.proebo-actions-row {
	display: flex;
	align-items: stretch;
	gap: 10px;
}

.proebo-actions-cell {
    vertical-align: middle;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 767.98px) {

	.proebo-tabprice .card-body {
		padding: 0;
	}

	.proebo-tabprice .table-responsive {
		overflow: visible;
	}

	.tier-qty {
		display: block;
	}

	/* cache header */
	.proebo-tabprice-table thead {
		display: none;
	}

	/* neutralise le comportement table desktop */
	.proebo-tabprice-table {
		display: block;
		width: 100%;
		border-collapse: separate;
		border-spacing: 0;
		table-layout: auto;
	}

	.proebo-tabprice-table tbody {
		display: block;
		width: 100%;
	}

	/* chaque ligne devient une carte */
	.proebo-tabprice-table tr {
		display: block;
		width: 100%;
		box-sizing: border-box;
		border: 1px solid #e5e5e5;
		border-radius: 10px;
		margin-bottom: 12px;
		padding: 10px;
		background: #fff;
	}

	/* cellules en block */
	.proebo-tabprice-table td {
		display: block;
		width: 100%;
		box-sizing: border-box;
		border: none;
		padding: 0;
	}

	/* REF */
	.proebo-tabprice-table td:nth-child(1) {
		margin-bottom: 6px;
		font-weight: 700;
		font-size: 14px;
		line-height: 1.2;
	}

	.proebo-tabprice-table td:nth-child(1)::before {
		content: "Réf : ";
		font-weight: 500;
		color: #777;
	}

	/* DIMENSIONS uniquement si la cellule existe */
	.proebo-tabprice-table td:nth-child(2):not(.proebo-price-cell) {
		margin-bottom: 8px;
		font-size: 13px;
		color: #000;
		font-weight: 700;
		line-height: 1.2;
	}

	.proebo-tabprice-table td:nth-child(2):not(.proebo-price-cell)::before {
		content: "Dimensions : ";
		font-weight: 500;
		color: #777;
	}

	/* =========================
	   PRIX HORIZONTAUX
	========================= */

	.proebo-tabprice-table td.proebo-price-cell {
		display: inline-block;
		width: calc(50% - 8px);
		min-width: 0;
		margin: 0 4px 8px 0;
		text-align: right;
		vertical-align: top;
	}

	.proebo-tabprice-table td.proebo-price-cell .tier-inner {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-height: 50px;
		background: #f7f7f7;
		border-radius: 7px;
		padding: 6px 8px;
		box-sizing: border-box;
	}

	.tier-qty {
		font-size: 11px;
		line-height: 1;
		color: #777;
	}

	.tier-price {
		font-weight: 700;
		font-size: 13px;
		line-height: 1.15;
		white-space: nowrap;
	}

	.tier-price small {
		font-size: 10px;
	}

	/* =========================
	   ACTIONS INLINE
	========================= */

	.proebo-tabprice-table th:last-child,
	.proebo-tabprice-table td.proebo-actions-cell,
	.proebo-actions-cell {
		width: 100%;
		margin-top: 4px;
	}

	.proebo-actions-row {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		width: 100%;
		gap: 10px;
	}

	.proebo-qty-selector {
		flex: 0 0 118px;
		width: 118px;
		max-width: 118px;
		display: inline-flex;
		flex-wrap: nowrap;
	}

	.proebo-qty-selector .btn-square-icon {
		flex: 0 0 34px;
		width: 34px;
		height: 34px;
		padding: 0;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.proebo-qty-selector .proebo-qty-input {
		flex: 0 0 50px;
		width: 50px;
		min-width: 50px;
		height: 34px;
		padding: 0 4px;
		text-align: center;
	}

	.proebo-add {
		flex: 0 0 44px;
		width: 44px;
		min-width: 44px;
		height: 44px;
		padding: 0;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border-radius: 6px;
	}

	.proebo-add .material-icons {
		font-size: 20px;
	}
}






/* =========================================================
   PROEBO TAB PRICE — MINIATURE / CATEGORIE
   version affinée proche de la maquette validée
   ========================================================= */

.proebo-tabprice--mini {
  width: calc(100% - 28px);     /* réduit légèrement la largeur */ 
  max-width: 100%;
  margin: 16px auto; 
  font-family: inherit;
}

.proebo-tabprice--mini .card-body {
  padding: 0;
}

.proebo-tabprice--mini .table-responsive {
  overflow: visible;
}

/* =========================
   CONTENEUR PRINCIPAL
========================= */

.proebo-tabprice--mini .proebo-tabprice-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #dfe4ea;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06); /* ombre homogène */
  font-size: 14px;
}

/* neutralisation héritages desktop */
.proebo-tabprice--mini .proebo-tabprice-table tbody tr:hover,
.proebo-tabprice--mini .proebo-tabprice-table tbody tr:nth-child(odd),
.proebo-tabprice--mini .proebo-tabprice-table tbody tr:nth-child(even) {
  background: transparent;
}

/* =========================
   HEADER
========================= */

.proebo-tabprice--mini .proebo-tabprice-table thead {
  background: #fff;
}

.proebo-tabprice--mini .proebo-tabprice-table thead tr {
  background: #fff;
}

.proebo-tabprice--mini .proebo-tabprice-table th {
  position: relative;
  padding: 14px 12px 18px;
  border: none;
  background: #fff;
  color: #0f1d2d;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

/* petit trait “interrompu” sous chaque titre */
.proebo-tabprice--mini .proebo-tabprice-table th::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0;
  height: 1px;
  background: #e6ebf0;
}

/* séparateurs verticaux doux, non collés aux bords */
.proebo-tabprice--mini .proebo-tabprice-table th + th::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: #e6ebf0;
}

/* =========================
   CORPS
========================= */

.proebo-tabprice--mini .proebo-tabprice-table td {
  position: relative;
  padding: 18px 12px;
  border: none;
  background: #fff;
  text-align: center;
  vertical-align: middle;
  color: #0f1d2d;
}

/* séparateurs verticaux “interrompus” dans le body */
.proebo-tabprice--mini .proebo-tabprice-table td + td::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: #e6ebf0;
}

/* =========================
   CELLULES PRIX
========================= */

.proebo-tabprice--mini .proebo-price-cell {
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.proebo-tabprice--mini .proebo-price-cell.active-tier {
  background: #fafbfd;
}

.proebo-tabprice--mini .tier-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.proebo-tabprice--mini .tier-qty {
  display: none;
}

.proebo-tabprice--mini .tier-price {
  color: #0f1d2d;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}

.proebo-tabprice--mini .tier-price small {
  font-size: 10px;
  font-weight: 500;
  color: #0f1d2d;
  margin-left: 1px;
}

.proebo-tabprice--mini .tier-price sup {
  top: -1.35em;
}

.proebo-tabprice--mini .proebo-tab-price-discount {
  min-height: 14px;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  color: #238447;
}

.proebo-tabprice--mini .proebo-tab-price-discount .material-icons {
  font-size: 13px;
  line-height: 1;
  vertical-align: middle;
  margin-right: 1px;
}

/* =========================
   COLONNE ACTIONS
========================= */

.proebo-tabprice--mini .proebo-tabprice-table th:last-child,
.proebo-tabprice--mini .proebo-tabprice-table td.proebo-actions-cell {
  width: 210px; /* légèrement réduit */
}

.proebo-tabprice--mini .proebo-actions-cell {
  vertical-align: middle;
}

.proebo-tabprice--mini .proebo-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* =========================
   SELECTEUR QUANTITE
========================= */

.proebo-tabprice--mini .proebo-qty-selector {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 6px;
  width: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.proebo-tabprice--mini .proebo-qty-selector .btn-square-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  min-width: 38px;
  padding: 0 !important;
  border: 1px solid #dce2e8;
  border-radius: 999px;
  background: #fff;
  color: #0f1d2d;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1;
  transition: all 0.16s ease;
}

.proebo-tabprice--mini .proebo-qty-selector .btn-square-icon:hover {
  background: #f7f9fb;
  border-color: #cfd7df;
  transform: translateY(-1px);
}

/* centrage parfait des pictos - / + */
.proebo-tabprice--mini .proebo-qty-selector .btn-square-icon .material-icons {
  display: block;
  width: 18px;
  height: 18px;
  font-size: 19px;
  line-height: 18px;
  text-align: center;
  margin: 0;
}

/* champ quantité */
.proebo-tabprice--mini .proebo-qty-selector .proebo-qty-input {
  flex: 0 0 42px;
  width: 42px;
  min-width: 42px;
  height: 38px;
  margin: 0;
  padding: 0;
  border: 1px solid #dce2e8;
  border-radius: 12px;
  background: #fff;
  color: #0f1d2d;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  box-shadow: none;
}

/* =========================
   BOUTON PANIER
========================= */

.proebo-tabprice--mini .proebo-add {
  flex: 0 0 48px;
  width: 48px;
  min-width: 48px;
  height: 48px;
  padding: 0 !important;
  border: 0;
  border-radius: 15px;
  background: #0f1d2d;
  color: #fff;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 10px 20px rgba(15, 29, 45, 0.18);
  transition: all 0.16s ease;
}

.proebo-tabprice--mini .proebo-add:hover {
  background: #16283d;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 29, 45, 0.22);
}

.proebo-tabprice--mini .proebo-add .material-icons {
  display: block;
  width: 22px;
  height: 22px;
  font-size: 21px;
  line-height: 22px;
  text-align: center;
  margin: 0;
}

/* =========================
   SAVING
========================= */

.proebo-tabprice--mini .proebo-saving {
  min-height: 14px;
  margin-top: 6px;
  color: #238447;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

/* =========================
   ANIMATION
========================= */

.proebo-tabprice--mini .proebo-price-cell.blow {
  animation: proeboMiniPulse 0.22s ease;
}

@keyframes proeboMiniPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(0.96); }
  100% { transform: scale(1); }
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 575.98px) {
  .proebo-tabprice--mini {
    width: calc(100% - 16px);
    margin-top: 14px;
  }

  .proebo-tabprice--mini .proebo-tabprice-table {
    border-radius: 16px;
  }

  .proebo-tabprice--mini .proebo-tabprice-table th {
    padding: 12px 8px 16px;
    font-size: 13px;
  }

  .proebo-tabprice--mini .proebo-tabprice-table td {
    padding: 16px 8px;
  }

  .proebo-tabprice--mini .proebo-tabprice-table th:last-child,
  .proebo-tabprice--mini .proebo-tabprice-table td.proebo-actions-cell {
    width: 200px;
  }

  .proebo-tabprice--mini .tier-price {
    font-size: 15px;
  }

  .proebo-tabprice--mini .proebo-actions-row {
    gap: 8px;
  }

  .proebo-tabprice--mini .proebo-qty-selector {
    gap: 5px;
  }

  .proebo-tabprice--mini .proebo-qty-selector .btn-square-icon {
    width: 36px;
    min-width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .proebo-tabprice--mini .proebo-qty-selector .proebo-qty-input {
    width: 40px;
    min-width: 40px;
    height: 36px;
    flex-basis: 40px;
  }

  .proebo-tabprice--mini .proebo-add {
    width: 46px;
    min-width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
}