
.tablecombz-table thead tr th {
    width: 33%;
    padding: .625rem 1.25rem;
    background: #fff;
    border: .3125rem solid #ebebeb;
    text-align: center;
}

.tablecombz-table tbody tr {
    background: #f6f6f6;
}

.tablecombz-table tbody tr:nth-of-type(2n) {
    background: #fff;
}
.tablecombz-quantity-wanted .product-quantity .add {
    padding: 0;
    margin: 2px 2px 2px 2px;
    display: block;
    float: left;
}
.tablecombz-quantity-wanted .product-quantity .add .add-to-cart {
    margin: 0;
    padding: 9px;
    height: 46px;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
}

.tablecombz-quantity-wanted .product-quantity .add .add-to-cart i {
    padding: 0;
    margin: 0;
    font-size: 24px;
    font-weight: 400;
    font-style: normal;
}
.tablecombz-quantity-wanted .product-quantity {
    width: inherit;
    padding: 0;
    margin: 0;
}

.tablecombz-quantity-wanted .product-quantity .qty {
    width: 100px;
    height: 90px;
    padding: 0;
    margin: 0;
    display: block;
    float: left;
}

.tablecombz-quantity-wanted .product-quantity .qty .quantity-input-group {
    border-collapse: separate;
    box-shadow: none;
    box-sizing: border-box;
    color: rgb(65, 65, 65);
    display: table;
    float: left;
    font-family: Noto Sans, sans-serif;
    font-size: 16px;
    line-height: 20px;
    position: relative;
    text-align: center;
    width: 100px;
}

.tablecombz-quantity-wanted .qty .quantity-input-group {
    width: 98px; 
}
.tablecombz-quantity-wanted .quantity-input-buttons {
    border-collapse: separate;
    box-sizing: border-box;
    color: rgb(65, 65, 65);
    display: block;
    float: left;
    font-size: 16px;
    line-height: 20px;
    position: relative;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    width: 24px;
    height: 46px;
}
.tablecombz-quantity-wanted .qty-down, .tablecombz-quantity-wanted .qty-up {
    background-color: rgb(255, 255, 255);
    border-collapse: separate;
    border-image-outset: 0;
    border-image-repeat: stretch stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    color: rgb(0, 0, 0);
    cursor: pointer;
    display: block;
    float: none;
    font-family: Noto Sans, sans-serif;
    font-feature-settings: normal;
    font-kerning: auto;
    font-language-override: normal;
    font-size: 16px;
    font-weight: 400;
    height: 23px;
    line-height: 20px;
    max-width: 100%;
    overflow: visible;
    margin-left: -1px;
    padding: 8px 11px;
    position: relative;
    text-align: center;
    text-transform: none;
    touch-action: manipulation;
    vertical-align: middle;
    white-space: nowrap;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
}
.tablecombz-quantity-wanted .fa-qty-up-icon, .tablecombz-quantity-wanted .fa-qty-down-icon {
    font-size: 16px;
    top: .15rem;
    left: .45rem;
    position: absolute;
    font-weight: 400;
}

.tablecombz-quantity-wanted .material-qty-up-icon, .tablecombz-quantity-wanted .material-qty-down-icon {
    font-size: 1rem;
    top: .125rem;
    left: .1875rem;
    position: absolute;
    font-weight: 400;
}

.tablecombz-quantity-wanted .material-qty-up-icon:after, .tablecombz-quantity-wanted .material-qty-down-icon:after {
    font-size: 1rem;
    font-weight: 400;
}

.tablecombz-quantity-wanted .material-qty-down-icon:after {
    content: "\E5CF";
}

.tablecombz-quantity-wanted .material-qty-up-icon:after {
    content: "\E5CE";
}
.tablecombz-quantity-wanted .input-quantity-wanted {
    background-clip: border-box;
    background-origin: padding-box;
    background-position-x: 0;
    background-position-y: 0;
    background: rgb(255, 255, 255) none repeat scroll 0 0;
    background-size: auto auto;
    border-collapse: separate;
    border-image-outset: 0;
    border-image-repeat: stretch stretch;
    border-image-slice: 100%;
    border-image-source: none;
    border-image-width: 1;
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    color: rgb(65, 65, 65);
    display: block;
    float: left;
    font-size: 16px;
    font-weight: 400;
    height: 46px!important;
    line-height: 20px;
    margin: 0;
    padding: 3px 8px;
    overflow: visible;
    position: relative;
    text-align: start;
    touch-action: manipulation;
    width: 72px!important; 
    z-index: 2;
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
}
.tablecombz-image-modal .modal-content {
    background: transparent;
    border: none;
    padding: 0
}

.tablecombz-image-modal .modal-content .modal-body {
    display: -webkit-box;
    display: -moz-box;
    display: box;
    display: -moz-flex;
    display: -ms-flexbox;
    -js-display: flex;
    display: flex;
    margin-left: -30%
}

.tablecombz-image-modal .modal-content .modal-body .product-cover-modal {
    background: #fff
}

.tablecombz-image-modal .modal-content .modal-body .image-caption {
    background: #fff;
    width: 800px;
    padding: .625rem 1.25rem;
    border-top: 1px solid #ebebeb
}

.tablecombz-image-modal .modal-content .modal-body .image-caption p {
    margin-bottom: 0
}

.tablecombz-image-modal .modal-content .modal-body .thumbnails {
    position: relative
}

.tablecombz-image-modal .modal-content .modal-body .mask {
    position: relative;
    overflow: hidden;
    max-height: 49.375rem;
    margin-top: 2.1875rem;
    z-index: 1
}

.tablecombz-image-modal .modal-content .modal-body .mask.nomargin {
    margin-top: 0
}

.tablecombz-image-modal .modal-content .modal-body .product-images {
    margin-left: 2.5rem
}

.tablecombz-image-modal .modal-content .modal-body .product-images img {
    width: 9.25rem;
    cursor: pointer;
    background: #fff
}

.tablecombz-image-modal .modal-content .modal-body .product-images img:hover {
    border: 3px solid #2fb5d2
}

.tablecombz-image-modal .modal-content .modal-body .arrows {
    height: 100%;
    width: 100%;
    text-align: center;
    position: absolute;
    top: 0;
    color: #fff;
    right: 1.875rem;
    z-index: 0;
    cursor: pointer
}

.tablecombz-image-modal .modal-content .modal-body .arrows .arrow-up {
    position: absolute;
    top: -2rem;
    opacity: .2
}

.tablecombz-image-modal .modal-content .modal-body .arrows .arrow-down {
    position: absolute;
    bottom: -2rem
}

.tablecombz-image-modal .modal-content .modal-body .arrows i {
    font-size: 6.25rem;
    display: inline
}

@media (max-width: 991px) {
    .product-cover img {
        width: 100%
    }

    .tablecombz-image-modal .modal-content .modal-body {
        -webkit-box-orient: vertical;
        box-orient: vertical;
        -webkit-box-direction: normal;
        box-direction: normal;
        -moz-flex-direction: column;
        flex-direction: column;
        -ms-flex-direction: column;
        margin-left: 0
    }

    .tablecombz-image-modal .modal-content .modal-body img.product-cover-modal {
        width: 100%
    }

    .tablecombz-image-modal .modal-content .modal-body .arrows {
        display: none
    }

    .tablecombz-image-modal .modal-content .modal-body .image-caption {
        width: 100%
    }
}

/* --- Harmonisation TableCombz v1.7 --- */

/* Structure générale du tableau */
.tablecombz-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* 🔧 force les colonnes à taille constante */
}

/* En-têtes bien espacées */
.tablecombz-table thead th {
  background: #f9f9f9;
  font-weight: 600;
  text-align: center;
  border: 1px solid #ddd;
  padding: 10px;
}

/* Colonnes uniformes */
.tablecombz-table td {
  border: 1px solid #eee;
  padding: 10px;
  vertical-align: middle;
  text-align: center;
}

/* Largeurs spécifiques par colonne */
.tablecombz-table th:first-child,
.tablecombz-table td:first-child {
  width: 160px; /* colonne Couleur + image */
}

.tablecombz-table th:last-child,
.tablecombz-table td:last-child {
  width: 90px; /* colonne Action */
}

/* Colonnes taille (XS → 5XL) */
.tablecombz-table th:not(:first-child):not(:last-child),
.tablecombz-table td:not(:first-child):not(:last-child) {
  width: 80px;
}

/* Image + pastille couleur */
.tablecombz-table td img {
  display: block;
  margin: 0 auto 6px;
}

.tablecombz-table .color-sample {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  border: 1px solid #bbb;
}

/* Inputs quantité */
.tablecombz-table input[type="number"] {
  width: 60px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 4px;
  height: 32px;
}

/* Bouton panier */
.tablecombz-table .btn.add-to-cart {
  background: #00a7d0;
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.tablecombz-table .btn.add-to-cart:hover {
  background: #008cb1;
}

/* Total en bas */
.tablecombz-table .total-row td.total {
  font-size: 18px;
  font-weight: 600;
  text-align: right;
  background: #f5f5f5;
  border-top: 2px solid #ccc;
  padding: 12px;
}

/* --- Ajustement largeur colonne Couleur --- */
.tablecombz-table th:first-child,
.tablecombz-table td:first-child {
  width: 120px !important;  /* ⬅️ largeur réduite */
  max-width: 120px !important;
}

/* Ajuste un peu le texte et les images pour que tout reste aligné */
.tablecombz-table td:first-child img {
  max-width: 65px;
  margin-bottom: 4px;
}

.tablecombz-table td:first-child div {
  font-size: 12px;
  white-space: nowrap;
}
