
#message-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: hsl(334, 100%, 40%); /* Background color */
    padding: 2px;
    height: 35px;
    color: white;
    font-size: 11px;
    text-align: center;
    transition: opacity 0.5s ease, height 0.5s ease;
    border-bottom: white;
}

#message-container .alert {
    margin: 0; /* No extra margin */
    flex: 1; /* Ensure the alert takes full width inside the container */
}

#message-container.hide   {
    opacity: 0;
    height: 0;
    padding: 0;
    overflow: hidden;

}
.close{
    font-size: 12px;
    margin-top:3px;
}
.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 15px;
    z-index: 1000;
}

.cookie-banner p {
    margin: 0;
    padding-right: 15px;
}

.cookie-banner button {
    margin: 5px;
}




 /* Style de la bannière des cookies */
 #cookieBanner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #222;
    color: #fff;
    padding: 20px;
    text-align: center;
    display: none; /* Initialement caché */
}
#cookieBanner button {
    margin: 0 10px;
    padding: 10px 20px;
    background-color: transparent;
    color: black;
    border-color: black;
    cursor: pointer;
}
#cookieBanner button.decline {
    background-color: transparent;
    color: black;
    border-color: black;
}
/* Style de la bannière de newsletter */
#newsletterBanner {
    position: fixed;
    bottom: 60px; /* Juste au-dessus de la bannière des cookies */
    right: 20px;
    background-color: #fff;
    color: #000;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    display: none; /* Initialement caché */
}
#newsletterBanner button {
    margin: 5px;
    padding: 5px 10px;
    background-color: transparent;
    color: black;
    border-color: black;
    cursor: pointer;
}
#newsletterBanner button.close {
    background-color: transparent;
    color: black;
    border-color: black;
}




.image-container {
    top: 100px;
    position: relative;
    overflow: hidden;
    flex: 1;
    padding-right: 20px;
    cursor: zoom-in; /* Changer le curseur pour indiquer un zoom */
}

.image-container img {
    max-width: 100%;
    border-radius: 10px;
    display: block;
}

.image-container::before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: 200%; /* Ajustez cette valeur pour le niveau de zoom */
    background-position: center;
    display: none; /* Caché par défaut */
    z-index: 10; /* Superpose le zoom */
}

.image-container:hover::before {
    display: block; /* Affiche le zoom au survol */
}


.details-container {
    top: 150px;
    flex: 2;
    display: flex;
    flex-direction: column;
}
.details-container h1 {
    margin-top: 0;
}
.price {
    font-size: 1.5em;
    color: black;
    margin: 10px 0;
}
.quantity-selector {
    display: flex;
    align-items: center;
    margin: 10px 0;
}
.quantity-selector button {
    /* background-color: transparent; */
    color:black;
    border-color: black;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 1em;
}
.quantity-selector input {
    width: 50px;
    text-align: center;
    margin: 0 10px;
    font-size: 1em;
    padding: 5px;
}
.payment-info, .shipping-info, .certification-info {
    margin: 10px 0;
}
.description {
    margin-top: 20px;
}
.description h2 {
    margin-bottom: 10px;
}
.description p {
    margin-bottom: 10px;
}

.rounded{
    border-radius: 5px;
}

.cart-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
}
.cart-item img {
    max-width: 200px;
    border-radius: 8px;
}
.cart-item-details {
    display: flex;
    align-items: center;
}
.cart-item-details h4 {
    margin: 0;
    font-size: 1.25rem;
}
.cart-item-quantity {
    margin: 10px 0;
}
.cart-item-quantity button {
    background-color: transparent;
    color: black;
    border-color: black;
    border-radius: 1px;
    padding: 5px 10px;
    margin: 0 5px;
    cursor: pointer;
}
.btn{
    background-color: black;
    color: white;
    border-color: white;
}
.btn:hover{
    background-color: transparent;
    color: black;
    border-color: black;
}


.cart-item-quantity input {
    width: 60px;
    text-align: center;
    border: 1px solid #ced4da;
    border-radius: 4px;
}
#cart-count{
    background-color: transparent;
    color: black;


}
.text-right {
    margin-top: 20px;
}

.btn-checkout {
    background-color: transparent;
    color: black;
    border-color: black;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
}
.btn-checkout:hover {
    background-color:black;
    color:white;
    border-color: white;
}
.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 1px;
}
button {
    background-color: transparent;
    color: black;
    border-color: black;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 1px;
    cursor: pointer;
}
button:hover {
    background-color: black;
    color: white;
    border-color: white;
}

.form-group {
    margin-bottom: 15px;
}
label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
}
button {
    background-color: transparent;
    color: black;
    border-color: black;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
}
button:hover {
    background-color: black;
    color:white;
    border-color:white;
}
.btn-secondary {
    background-color: transparent;
    color:black;
    border-color:black;
}
.btn-secondary:hover {
    background-color: black;
    color: white;
    border-color: white;
}
.error-message {
    color: red;
    margin-top: 10px;
}

