.div-fixed-produit-details {
    position: fixed;
    bottom: 0px;
    z-index: 9;
    background-color: white;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: 0px -5px 15px -3px rgba(0, 0, 0, 0.1);
}

.btn-add-fixed {
    background-color: #d90000;
    color: white;
    border: none;
    width: 100%;
    border-radius: 5px;
    font-size: 13px;
    padding: 5px 10px 5px 10px;
}
.cusor {
    cursor: pointer;
}
.bg-primary {
    background-color: #371b47 !important;
}
.btn-primary {
    background-color: #4c2c5f !important;
    border: solid 1px #4c2c5f !important;
}
.btn-primary:hover {
    background-color: #530d31 !important;
}
.btn-hover-bg-primary:hover {
    background-color: #4c2c5f !important;
    border: solid 1px #4c2c5f !important;
}
.text-white{
    color: white !important;
}
.head-table{
    background-color: #371b47 !important;
    color: white !important;
    border: solid 1px #4c2c5f !important;
}
.head-table th{
    border: solid 1px #4c2c5f !important;

}
.text-primary-color{
    color:#4c2c5f !important
}
.swal-wide{
    background-color: #e96dad !important;
    color: white !important;
    border:solid 2px white !important;
    font-size: 20px !important;
}



/* Préchargeur couvrant toute la page */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #371b47; /* Couleur de fond du préchargeur */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.preloader-content {
    position: relative;
    text-align: center;
}

.preloader-logo {
    width: 100px; /* Ajustez la taille du logo */
    animation: spin 2s linear infinite; /* Animation de rotation */
}

/* Animation de rotation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animation d'ouverture en rideau */
@keyframes slideUp {
    0% { height: 100%; }
    100% { height: 0; }
}

/* Rideau gauche */
#preloader::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: #000; /* Couleur du rideau */
    animation: slideLeft 1s ease-in-out forwards;
    z-index: 9998;
}

@keyframes slideLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Rideau droit */
#preloader::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: #000; /* Couleur du rideau */
    animation: slideRight 1s ease-in-out forwards;
    z-index: 9998;
}

@keyframes slideRight {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}
.sh-slider-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    background-color: #371b47;
}

.sh-slider-item {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: left 1s ease-in-out;
}

.sh-slider-item.active {
    left: 0;
}

.sh-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.sh-slider-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.sh-slider-title {
    font-size: 3em;
    margin-bottom: 10px;
    color: white !important;
}


.sh-slider-description {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.sh-slider-button {
    background-color: #ab26aa;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
}

.sh-slider-nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.sh-slider-nav-button {
    width: 15px;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.sh-slider-nav-button.active {
    background-color: #ab26aa;
}
.product-name {
    display: inline-block;
    max-width: 200px; /* Set the width as needed */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-name:hover {
    overflow: visible;
    white-space: normal;
    background-color: rgba(0, 0, 0, 0.1); /* Optional: highlight background */
    position: relative;
}

.product-name:hover::after {
    content: attr(title); /* Use the title attribute for the full name */
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 10;
}

