.tablecombz-table thead tr th {
	background: #E85C00 !important;
	color: #FFF !important;
}

#tablecombz-wrapper, #tablecombz-tab {
    display: block;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar
}
.tablecombz-table {
    border-width: 1px;
    margin-bottom: 1rem;
}

.tablecombz-table td, .tablecombz-table th {
    text-align: center;
    vertical-align: middle !important;
    padding: 5px !important;
}

.tablecombz-table tr th {
    text-align: center !important;
	background: #000;
	color: #fff;
}

td.tablecombz-price {
    white-space: nowrap;
}

td.tablecombz-price .price {
    font-weight: bold;
}

.tablecombz-quantity-wanted .qty {
    vertical-align: top;
}

div.avail_descr {
    padding-top: 10px;
}
.tablecombz-notice-block {
    margin: 0.5em 0;
    text-align: right;
}

.tablecombz-attention-msg {
    display: inherit;
    color: #DA0F00;
    font-weight: bold;
}

.tablecombz-ui-tooltip {
    border: solid #AAAAAA 1px !important;
    background: #FFFFCC !important;
    text-align: left !important;
    font-size: 14px !important;
    line-height: 16px !important;
    max-width: 180px !important;
    padding: 8px !important;
    position: absolute;
}
.batch_buy {
    display: block;
}

.batch_buy button {
    float: right;
}

.tablecombz-table .total {
    font-size: 20px;
    font-weight: bold;
    text-align: right;
}

.tablecombz-table .total .note {
    font-size: initial;
    font-weight: initial;
    font-style: italic;
    margin-top: 5px;
}

/* Colonne info (photo + couleur) étroite */
.tablecombz-pivot th.first_item,
.tablecombz-pivot td.first_item{
  width: 90px;           /* ajuste si besoin */
  min-width: 90px;
  max-width: 90px;
}

/* Supprimer l’espace vertical laissé par le conteneur qty */
.tablecombz-quantity-wanted .qty {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Forcer le prix à se rapprocher */
.tablecombz-quantity-wanted .tablecombz-price {
  line-height: 1.2 !important;
}

.tablecombz-quantity {
  font-size: 10px !important;   /* plus petit */
  color: #555;                  /* couleur un peu plus douce si tu veux */
  margin-top: 2px !important;   /* rapproche encore du prix */
}

.price {
	font-size: 14px !important;
}

/* Réduire la taille des inputs quantité (écrase le CSS 1.7) */
html body .tablecombz-table td.item.tablecombz-quantity-wanted .input-quantity-wanted {
  width: 40px !important;   /* largeur plus petite */
  height: 26px !important;  /* hauteur plus petite */
  font-size: 12px !important; /* chiffre plus petit */
  padding: 2px !important;
  text-align: center !important;
  line-height: 20px !important;
}

/* Empiler proprement DANS la cellule sans casser le tableau */
.tablecombz-quantity-wanted {
  text-align: center;          /* tout centré */
}

/* La zone quantité ne doit plus flotter à gauche */
.tablecombz-quantity-wanted .qty {
  float: none !important;
  display: inline-block !important;   /* garde la largeur de l’input */
  margin: 0 auto !important;
  text-align: center !important;
}

/* Prix sous la quantité */
.tablecombz-quantity-wanted .tablecombz-price {
  display: block !important;
  margin-top: 4px !important;
  line-height: 1.2;
  text-align: center !important;
}

/* Stock encore en dessous */
.tablecombz-quantity-wanted .tablecombz-quantity {
  display: block !important;
  margin-top: 2px !important;
  font-size: 14px !important;
  color: #444;
}

/* Au cas où un float trainerait : on purge */
.tablecombz-quantity-wanted::after {
  content: "";
  display: block;
  clear: both;
}

/* On centre aussi le bloc prix et le stock */
.tablecombz-quantity-wanted .tablecombz-price,
.tablecombz-quantity-wanted .tablecombz-quantity {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

/* Centrer la QUANTITÉ sans changer la taille de l’input */
.tablecombz-quantity-wanted .qty,
.tablecombz-quantity-wanted .quantity-input-group,
.tablecombz-quantity-wanted .input-quantity-wanted {
  float: none !important;       /* on neutralise les floats du thème */
}

/* Garde toutes les colonnes stables */
.tablecombz-table {
  table-layout: fixed;           /* largeur de colonne figée d'après l'en-tête */
}

/* Centrer le contenu de la cellule quantité */
.tablecombz-table td.item.tablecombz-quantity-wanted {
  text-align: center;
  vertical-align: middle;        /* évite les variations de hauteur */
}

/* Le wrapper de l'input ne doit pas réserver d'espace */
.tablecombz-quantity-wanted .quantity-input-group {
  display: inline-block !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle;
}

/* L’input quantité (taille + centrage) */
.tablecombz-table td.item.tablecombz-quantity-wanted .input-quantity-wanted {
  display: inline-block;         /* pas de flex */
  width: 40px !important;
  height: 26px !important;
  font-size: 12px !important;
  padding: 2px !important;
  text-align: center !important;
  line-height: 20px !important;
  box-sizing: border-box;        /* évite l’agrandissement surprise */
}

/* Empilement propre : prix puis stock sous l’input */
.tablecombz-quantity-wanted .tablecombz-price,
.tablecombz-quantity-wanted .tablecombz-quantity {
  display: block;
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}

/* Pas d’espace parasite sous le bloc quantité */
.tablecombz-quantity-wanted .qty {
  float: none !important;
  display: inline-block !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

/* Cacher les spinners des inputs nombre (Chrome, Edge, Safari) */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Pour Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/* Forcer ton input à se comporter comme texte centré */
.input-quantity-wanted {
  text-align: center;
}

/* Couper tous les boutons +/- du module, quelle que soit la variante */
.tablecombz-quantity-wanted .quantity-input-buttons,
.tablecombz-quantity-wanted .quantity-input-group .btn,
.tablecombz-quantity-wanted .qty-up,
.tablecombz-quantity-wanted .qty-down,
.tablecombz-quantity-wanted i.fa-qty-up-icon,
.tablecombz-quantity-wanted i.fa-qty-down-icon,
.tablecombz-quantity-wanted .material-qty-up-icon,
.tablecombz-quantity-wanted .material-qty-down-icon {
  display: none !important;
}

/* le wrapper ne doit pas réserver d’espace pour ces boutons */
.tablecombz-quantity-wanted .quantity-input-group {
  display: inline-block !important;
  width: auto !important;
  vertical-align: middle;
}

.tablecombz-quantity-wanted .qty .sum-label { 
	display: none !important; 
	height: 0 !important; 
	margin: 0 !important; 
	padding: 0 !important; 
	float: none !important; 
}

.tablecombz-supplier-stock {
  font-size: 12px !important;
}