/* ================= RESET ================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Nunito Sans", sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
    font-family: Arial, sans-serif;

}

img {
    max-width: 100%;
    /* height: auto;
    display: block; */
}

/* ================= LINKS ================= */
a {
    text-decoration: none;
    color: inherit;
}



/* ================= WRAPPER ================= */
.wrapper {
    flex-direction: column;
     flex: 1;
    width: 100%;
    box-sizing: border-box;
      
    display: flex;
    
}

.content-wrapper {
    flex: 1;
}

/* ================= CONTAINER ================= */
/* .container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
} */

/* ================= GRID SYSTEM (MODERNE) ================= */
/* ================= PRODUCTS GRID ================= */

.roww {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    gap: 24px;
    margin-block: 37px;
    padding: 6px;
}

/* COLONNE PRODUIT */
.col-sm-44 {
 flex: 0 0 calc(33.333% - 103px);
    max-width: calc(33.333% - 24px);
    display: flex;
}


.col-sm-9 {
    flex: 1;
}





/* ================= CAROUSEL ================= */
.carousel-container {
    width: 100%;
    max-width: 1200px;
    /* margin: 25px auto 40px; */
    margin-bottom:20px;
}
.box {
       width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
    /* max-width: 231px; */
    height: 100%;
    font-size: small;
}
.box1 {
       width: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
    max-width: 231px;
    height: 100%;
    font-size: small;
}

.box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.box-body {
    padding: 15px;
    text-align: center;
    flex: 1;
    width: 100%;
}

/* ================= PRODUCT BOX ================= */

.box-footer {
    padding: 12px;
    border-top: 1px solid #eee;
    text-align: center;
    font-weight: 700;
    background: #fafafa;
}

.box-body img {
   /* width: 100%;
    max-width: 100%;
    aspect-ratio: 0;
    border-radius: 8px;
    height: 100%;
    max-height: fit-content; */
    width: 100%;
    height: 230px;
    object-fit: contain;
}
@media (max-width: 900px) {
    .col-sm-44 {
        flex: 0 0 calc(50% - 24px);
        max-width: calc(50% - 24px);
    }
}

@media (max-width: 550px) {
    .col-sm-44 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .box-body img {
        aspect-ratio: 1 / 1;
    }
}

.box-body h5 {
    margin: 12px 0 6px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.box-footer {
    padding: 12px;
    border-top: 1px solid #eee;
    text-align: center;
    font-weight: 700;
    background: #fafafa;
}

/* ================= ALERT ================= */
.alert {
    padding: 12px;
    border-radius: 5px;
    font-size: 14px;
}

.alert-danger {
    background: #ffe3e3;
    color: #a00000;
}
.alert-success {
    background: #e5ffe3;
    color: #08bf02;
}

/* ================= FOOTER ================= */
.footer {
    /* background-image: url(images/20406411.jpg);
    background-repeat: no-repeat; */
    background: #111;
    background-position: bottom;
    background-size: cover;
    /* margin-top: 60px; */
padding: 60px 30px;    color: #fff;
      margin-top: auto;
    flex-shrink: 0;
    width: 100%;
    
}


html, body {
    height: 100%;
    margin: 0;
}






/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {

    .col-sm-44 {
        flex: 1 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }

    .col-sm-3 {
        width: 100%;
        order: 2;
    }

    .col-sm-9 {
        order: 1;
    }
}

@media (max-width: 550px) {

    .col-sm-44 {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .box-body img {
        aspect-ratio: 1 / 1;
    }
}



/* Style commun pour tous les input et select */

select {
    font-size: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    width: 155px;
    padding: 6px;
    max-width: 100%;
}
input {
    font-size: 13px;
    border-radius: 6px;
    border: 1px solid #ddd;
    padding: 4px 6px;
    /* margin: 6px; */
}

/* Effet focus */
input:focus,
select:focus {
    outline: none;
    border-color: #e53637;
    box-shadow: 0 0 0 2px rgba(229,54,55,0.18);
}

/* Spécifique pour la quantité si tu veux garder la largeur fixe */
input[type="number"].cart-qty-input {
    width: 70px;
    text-align: center;
}
.btn {
  display: inline-block;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s ease;
  margin: 2px;
}

.btn-sm { font-size: 12px; padding: 5px 10px; }
.btn-xs { font-size: 11px; padding: 4px 8px; }

.btn-primary {
  background: #3c8dbc;
  color: #fff;
}

.btn-primary:hover { background: #367fa9; }

.btn-danger {
  background: #dd4b39;
  color: #fff;
}
.btn-success {
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
}
.btn-danger:hover { background: #c23321; }
.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}


