:root{
    --couleur_titre: #fbc9b9;
    --couleur_titre2: #333333;
    --icone_bandeau: #0d3857;
    --icone_bandeau_hover: #8bbadc;
    --fond_bandeau: #91c423;
    --accent-fond: #0d3857;
    --fond_recap_panier: rgba(139, 186, 220, 0.5); /* 50% transparent */
    --fond_page: #e0e7ec;
    --police_titre: "Gloock";
    --police_texte: "Merriweather";
    --transparent: rgba(230, 230, 230, 0.5);
    --accent: #ff8d5c;
    --btn-rouge: #f06b6b;
    --btn-rouge-hover: #d35c5c;
    --scroll-thumb: #ff9e60;        /* livelier teal with a fresh vibe */
    --scroll-thumb-hover: #ff7043;  /* bright, airy aqua */
    --scroll-thumb-active: #d84315; /* richer deep teal, more pronounced when active */
    --scroll-track: #d9e2e5;
    --btn-primary:#0f4e7d;
    --btn-primary-hover: #063658;
    --police-titre-principal: "AnandaBlack";
    --texte-bleu-pale: #9dd1f6;
    /* --gris-antracithe: #383E42; */
    --gris-antracithe: #27292b;
}

/* Fonts */

    /* Gloock */
    @font-face {
        font-family: "Gloock";
        src: url("../fonts/gloock-v6-latin-regular.woff2") format("woff2");
        font-weight: normal;
        font-style: normal;
    }

    /* Merriweather */
    @font-face {
    font-family: "Merriweather";
    src: url("../fonts/merriweather-v31-latin-regular.woff2") format("woff2");
    font-weight: normal;
    font-style: normal;
    }

    /* Ananda Black */
    @font-face {
        font-family: "AnandaBlack";
        src: url("../fonts/AnandaBlackPersonalUseRegular-rg9Rx.ttf") format("truetype");
        font-weight: normal;
        font-style: normal;
    }

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--gris-antracithe);
    background-image: url('../images/black-wooden-textured-background-design_53876-165359.png');
    background-repeat: repeat-y; /* Repeat only vertically */
    background-size: 100% auto; /* Stretch to fill width only, not height */
    background-position: top center;
    margin: 0;
    font-family: var(--police_texte);
    overflow-x: hidden;
}



main {
    flex: 1 0 auto;
    min-height: calc(100vh - 200px); /* Ajustez cette valeur selon la hauteur de votre footer */
}

/* html */

html {
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-thumb) var(--scroll-track); /* Firefox */
}

html::-webkit-scrollbar {
    width: 10px;
}

html::-webkit-scrollbar-track {
    background: var(--scroll-track);
}

html::-webkit-scrollbar-thumb {
    background-color: var(--scroll-thumb);
    border-radius: 10px;
    border: 2px solid var(--scroll-track); /* Creates a border gap effect */
}

html::-webkit-scrollbar-thumb:hover {
    background-color: var(--scroll-thumb-hover); /* Slight change on hover */
}

html::-webkit-scrollbar-thumb:active {
    background-color: var(--scroll-thumb-active);
}


    /* Nav bar */
nav {
    display: flex;
    justify-content: center;
}
.menu{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
    padding: 0 20px;
    background-color: var(--accent-fond);
    border-radius: 0 0 20px 20px;
    -webkit-border-radius: 0 0 20px 20px;
    -moz-border-radius: 0 0 20px 20px;
    -ms-border-radius: 0 0 20px 20px;
    -o-border-radius: 0 0 20px 20px;
    margin-bottom: 30px;
}

.item-menu {
    position: relative;
    /* color: #f7b7a3; */
    color: var(--texte-bleu-pale);
    text-decoration: none;
    padding: 10px 20px;
    margin-bottom: 5px;
    font-size: 1.2em;
}

.scroll-arrow {
    display: none;
  position: absolute;
  top: 29%;
  transform: translateY(-50%);
  font-size: 1.5em;
  background: var(--accent-fond);
  color: white;
  border-radius: 8px;
  padding: 0.25em 0.6em;
  cursor: pointer;
  z-index: 10;
  user-select: none;
  transition: background 0.2s ease;
}

.scroll-arrow:active {
    background: #10517c; /* slightly lighter on hover for visual feedback */
  }
.scroll-arrow.left {
    left: 5px;
  }
  
  .scroll-arrow.right {
    right: 5px;
  }

@media (max-width: 992px) {
  nav {
    position: relative;
    justify-content: center;
    padding: 0 1em;
  }

  .menu {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding: 0.5em 2em;
    scroll-behavior: smooth;
    justify-content: left;
    max-width: 80%;
  }

  .scroll-arrow {
    display: block;
  }
}

/* Amélioration du menu pour les très petits écrans */
@media (max-width: 576px) {
    .menu {
        flex-direction: column;
        width: 90%;
        padding: 20px 0;
        gap: 1em;
    }
    
    .item-menu {
        font-size: 1.8em;
        padding: 15px 10px;
        width: 100%;
        text-align: center;
        margin: 5px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .item-menu:last-child {
        border-bottom: none;
    }
    
    .item-menu::after {
        height: 4px;
        bottom: 10px;
    }
    
    nav {
        margin-bottom: 20px;
    }
}

.item-menu::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 0%;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.item-menu:hover::after {
    width: 100%;
}

.menu-active::after {
    width: 100%
}

/* Bandeau */
.bandeau {
    /* background-color: var(--fond_bandeau); */
    background-image: url(../images/field-8172323.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 20px 20px;
    border-bottom: solid 3.9px var(--accent-fond);
    position: relative;
    padding: 10px 0;
    z-index: 1;
}

.bandeau::before {
    content: '';
    position: absolute;
    /*Use'absolute'topositiontheoverlayrelativetothe.bandeaudiv*/top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*Thiswillensuretheoverlaycoverstheentire.bandeau*/background: rgba(0, 0, 0, 0);
    /*Darkoverlay*/z-index: 2;
    /*Ensurestheoverlayisinfrontofthe.bandeaudiv*/border-radius: 0 0 20px 20px;
}

.bandeau h1{
    font-family: var(--police-titre-principal);
    color: var(--accent);
    /* color: var(--couleur_titre); */
    -webkit-text-stroke: 0.8px var(--couleur_titre2);
    font-size: 3em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    font-weight: 900;
    margin: 0 0 10px 0;
}

.logo_titre {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 2;
}

.logo_titre img{
    filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.5));
}

.home-btn {
    position: relative;
    color: var(--icone_bandeau);
    font-size: 1.6em;
    text-decoration: none;
    transition: transform 0.3s ease;
    z-index: 2;
    margin-left: 20px;
    background-color: var(--scroll-thumb-hover);
    padding: 10px;
    border-radius: 50%;
}
.home-btn:hover {
    transform: scale(1.1);
    color: var(--icone_bandeau_hover);
}

.home-btn i {
    text-shadow: 1px 1px currentColor, -1px -1px currentColor;
}

.panier-titre {
    display: flex;
    justify-content: center;
    position: relative;
    margin: -29px auto 10px auto;
    color: var(--couleur_titre2);
    font-size: 2em;
    font-family: var(--police_titre);
    border-radius: 5px;
    backdrop-filter: blur(2px);
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 5px;
    padding: 5px;
}

.cart-btn {
    position: relative;
    color: var(--icone_bandeau);
    font-size: 1.5em;
    text-decoration: none;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    margin-right: 20px;
}

.bi-cart{
    background-color: var(--scroll-thumb-hover);
    padding: 10px;
    border-radius: 50%;
}

.cart-count{
    margin-left: -10px;
}

.cart-btn:hover {
    transform: scale(1.1);
    color: var(--icone_bandeau_hover);
}


.cart-btn i {
    text-shadow: 1px 1px currentColor, -1px -1px currentColor;
}

.cart-count {
    background-color: var(--couleur_titre2);
    color: white;
    font-size: 0.6em;
    padding: 2px 6px;
    border-radius: 50%;
    position: relative;
    top: -8px;
    right: 5px;
}

/* Barre de recherche et filtres */
.filters{
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
    height: 150px;
    background-color: var(--transparent);
    border-radius: 10px;
    padding-top: 5px;
    backdrop-filter: blur(2px);
}

.search_filter_form {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin: 0 5px 10px 5px;
}

.selected-filters {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    background-color: var(--transparent);
    margin: 0 5px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.1) transparent;
    border-radius: 5px;
    overflow-y: auto;
    font-size: 13px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: rgba(0,0,0,0.1) solid 1px;
    border-top: none;
}

  .selected-filters::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .selected-filters::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.1); /* Very subtle thumb */
    border-radius: 4px;
    border: 2px solid transparent; /* Makes it look thinner and softer */
    background-clip: content-box;
  }
  

.selected-filters::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}

.selected-filters:hover::-webkit-scrollbar {
    width: 8px;
    background-color: rgba(0, 0, 0, 0.15); /* Slightly darker on hover */
}
  

.filter-bar{
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    width: 100%;
    margin: 0 5px;
}

.badge {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2px 0 2px 0;
}


.row {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* exactly 3 columns */
    gap: 16px;
    padding: 16px;
    align-items: stretch;
}

.row-tisane-perso {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* exactly 3 columns */
    gap: 16px;
    padding: 16px;
    align-items: stretch;
}

/* Media queries pour les écrans de taille moyenne et petite */
@media (max-width: 992px) {
    .row {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on medium screens */
    }
    .row-tisane-perso {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        align-content: center;
        flex-wrap: wrap;
        justify-content: center;
    }
    body {
        font-size: 1.8em;
    }
    .bandeau h1 {
        font-size: 2.1em;
    }
    .form-tisane-perso, .form-tisane-quantique {
        font-size: 0.8em;
    }
    .nav-tabs .nav-link {
        font-size: 1.2em;
    }
    .legal p {
        font-size: 1.5em;
    }
    .a_propos_section1 {
        text-align: left;
        width: 100%;
    }
    
    
    
}
/* Media queries pour rendre le menu plus adapté aux appareils mobiles */
@media (max-width: 768px) {
    .menu {
        padding: 15px;
        flex-wrap: wrap;
        gap: 0.8em;
        justify-content: center;
        max-width: 75%;
    }
    
    .item-menu {
        font-size: 1.6em;
        padding: 15px 20px;
        margin: 5px;
        display: inline-block;
    }
}

@media (max-width: 576px) {
    .row {
        grid-template-columns: repeat(1, 1fr); /* 1 column on very small screens */
        padding: 10px;
    }
    .container.mt-4 .row {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
}

.col-12 {
    white-space: nowrap;
}

.card {
    background-color: var(--transparent);
    backdrop-filter: blur(2px);
    padding: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
    box-sizing: border-box;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.form-tisane-perso {
    grid-column: 1 / 3; /* Span from column 1 to 2 */
    margin-right: 10px; /* Small gap */
    width: 70%;
    justify-self: start;
}

.form-tisane-quantique {
    grid-column: 2 / 4; /* Span from column 2 to 3 */
    width: 70%;
    margin-left: 10px; /* Small gap */
    justify-self: end;
}

.form-tisane-perso,
.form-tisane-quantique {
    grid-row: 1;
}

.desc-tisane-perso p {
    margin-top: 0;
}

.desc-tisane-perso-p1 {
    text-align: center;
    margin-bottom: 0;
    font-weight: bold;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    max-height: 300px;
}

.card-body {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    height: 100%;
}

@media (max-width: 992px) {
    .card-bienfaits {
        width: 50%;
    }
    .card .card-img-top {
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
        display: block;
    }
    .row.table-plantes {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); /* 150 -> 135 */
        gap: 10px !important;
        width: 100%;
        margin-top: 15px;
        padding: 0;
        font-size: 0.9em;
        box-sizing: border-box;
        overflow: auto;
        margin-left: 0;
        /* supprime le scale ici */
    }


}
    .plante-card-wrapper {
    width: 100%;
    box-sizing: border-box;
}

.card-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 60%;
}

.card-bienfaits {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    padding-left: 10px;
    border-left: 2px solid rgba(0, 0, 0, 0.5);
}

.card-bienfaits ul {
    list-style: none;
    font-size: 0.9em;
}

.card-bienfaits li {
    margin-bottom: 5px;
    color: black;
}

.card-title {
    font-family: var(--police_titre);
    color: black;
    margin-bottom: 10px;
    font-size: 1.2em;
    margin-top: 0;
}

.card-bienfaits h4{
    margin-top: 0;
    margin-bottom: 5px;
    font-weight: 900;
    color: black;
}

.card-text {
    color: black;
    font-size: 1.1em;
}

.clickable-card {
    border: none;
    padding: 0;
}

.clickable-card .card {
    height: 100%;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    max-width: 800px;
    pointer-events: none;
}

.modal.fade {
    transition: opacity 0.5s ease-out;
}

.modal.fade:not(.show) {
    opacity: 0;
}

.modal.fade .modal-dialog {
    transition: transform 0.5s ease-out;
}

.modal.fade:not(.show) .modal-dialog {
    transform: translateY(-20px);
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: var(--fond_page);
    border-radius: 15px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    background-color: var(--accent-fond);
    color: var(--couleur_titre);
    border-bottom: none;
}

.modal-header .btn-close {
    margin-right: 15px;
}

.btn-close{
    font-size: 0.8rem;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0.25rem;
    margin-left: 1rem;
    align-self: center;
    background-color: var(--btn-rouge);
    border-color: var(--btn-rouge);
    color: white;
    border-radius: 5px;
    border-style: outset;
    text-align: center;
    transition: ease-in 200ms;
}

.btn-close::before {
    content: '×';
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.btn-close:hover {
    background-color: var(--btn-rouge-hover);
    border-color: var(--btn-rouge-hover);

}

.modal-title {
    font-family: var(--police_titre);
    text-align: center;
    margin-left: 15px;
    color: var(--texte-bleu-pale);
}


.modal-body {
    padding: 20px;
}

.modal.fade.show {
    overflow-y: auto;
}

.modal-body img {
    border-radius: 10px;
    margin-bottom: 15px;
}

.modal-body h3 {
    color: black;
    font-family: var(--police_titre);
}

.modal-body p {
    margin-bottom: 10px;
}

#quantite.form-control {
    margin-bottom: 3px;
}

.row-modal {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-image-container {
    width: 50%;
}

.img-fluid {
    width: 100%;
    height: auto;
    max-height: 375px;
    object-fit: cover;
}

.img-fluid-magasin {
    width: 100%;
    height: auto;
}
/* form */

.form-select, .form-control {
    background-color: var(--transparent);
    border: 1px solid var(--accent-fond);
    height: 30px;
    border-radius: 5px;
    font-family: var(--police_texte);
    font-size: 14px;
}

.form-select {
    min-height: 30px;
}

.form-select:focus, .form-control:focus {
    background-color: var(--transparent);
    border-color: var(--couleur_titre);
    box-shadow: 0 0 0 0.25rem rgba(80, 140, 136, 0.25);
}

.btn-primary {
    background-color: var(--btn-primary);
    border-color: var(--btn-primary);
    border-radius: 5px;
    margin-bottom: 10px;
    width: 100%;
    padding: 5px;
    font-size: 14px;
    font-family: var(--police_texte);
    transition: ease-in 200ms;
    color: var(--texte-bleu-pale);
    text-decoration: none;
    border-style: outset;
}

.btn-primary:hover {
    background-color: var(--btn-primary-hover);
    border-color: var(--btn-primary-hover);
    cursor: pointer;
}

.btn-secondary {
    padding: 5px;
    margin-top: 5px ;
    background-color: var(--btn-rouge);
    border-color: var(--btn-rouge);
    border-radius: 5px;
    color: black;
    text-decoration: none;
    font-size: 14px;
    border-style: outset;
    transition: ease-in 200ms;
}

.btn-secondary:hover {
    background-color: var(--btn-rouge-hover);
    border-color: var(--btn-rouge-hover);
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

.container.mt-4 {
    max-width: 1800px;
    width: 95%;
}

.container.mt-4 .row {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Media queries pour les écrans de taille moyenne et petite */
@media (max-width: 992px) {
    .container.mt-4 .row {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .container-panier {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
}

@media (max-width: 576px) {
    .container.mt-4 .row {
        grid-template-columns: repeat(1, 1fr);
        padding: 10px;
        gap: 10px;
    }
}

.container-panier {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.row-panier {
    display: flex;
    justify-content: space-between;
}

.recap-panier {
    width: 70%;
}

.info-commande {
    display: flex;
    flex-direction: column;
    width: 25%;
    max-width: 25%;
}

#adresse.form-control {
    resize: none;
    width: 97.7%;
    margin-right: 5px;
}

.mb-3 {
    display: flex;
    flex-direction: column;
}

.cart-items {
    width: 70%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-height: 470px;
    overflow-y: scroll;
}

.cart-items.items-recap {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-height: 420px;
    overflow-y: scroll;
}

.container-panier-recap {
    background-color: var(--transparent);
    border-radius: 15px;
    margin: 0 5px 10px 5px;
    padding: 5px;
    backdrop-filter: blur(2px);
}

input[type="checkbox"], input[type="radio"] {
    appearance: none;    /* Remove the default browser styling */
    border: 2px solid #333;  /* Custom border */    /* Rounded for radio buttons */
    background-color: #fff; /* Background color */
    position: relative;      /* Position for custom checkmark */
    margin-right: 10px;
    vertical-align: middle;
  }

  input[type="radio"] {
    width: 25px;
    height: 25px;
  }

  input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-left: 7.5px;
  }
  
  input[type="checkbox"]:checked {
    background-color: #28a745;  /* Green background for checkbox */
    border-color: #218838;      /* Darker green border when checked */
  }

  input[type="checkbox"]:checked::before {
    content: "✔";              /* Checkmark character */
    position: absolute;
    top: 50%;                   /* Vertically center the checkmark */
    left: 50%;                  /* Horizontally center the checkmark */
    transform: translate(-50%, -50%); /* Center it */
    font-size: 18px;            /* Font size of the checkmark */
    color: white;               /* Checkmark color */
  }
  
  input[type="radio"] {
    border-radius: 50%;         /* Round border for radio button */
  }
  
  /* Custom styles for the radio button when checked */
  input[type="radio"]:checked {
    background-color: #007bff;  /* Blue background for radio button */
    border-color: #0056b3;      /* Darker blue border when checked */
  }
  
  input[type="radio"]:checked::before {
    content: "";              /* No checkmark needed for radio, just a dot */
    position: absolute;
    top: 50%;                  /* Vertically center the dot */
    left: 50%;                 /* Horizontally center the dot */
    transform: translate(-50%, -50%); /* Center the dot */
    width: 12px;               /* Size of the dot */
    height: 12px;              /* Size of the dot */
    border-radius: 50%;        /* Make it round */
    background-color: white;   /* Dot color */
  }

.cart-item {
    display: flex;
    flex-direction: column;
    background-color: var(--transparent);
    border-radius: 10px;
    padding: 15px;
    gap: 20px;
    align-items: center;
    margin: 3px 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(2px);
   
}

.cart-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);

}

.item-image {
    width: 150px;
    height: 150px;
    overflow: hidden;
    border-radius: 8px;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-details {
    flex: 1;
}

.item-details h3 {
    color: black;
    margin-bottom: 10px;
}

.quantity-form {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.quantity-form input[type="number"] {
    width: 60px;
    padding: 5px;
    border: 1px solid var(--accent-fond);
    border-radius: 5px;
}

.btn-update {
    background-color: var(--btn-primary);
    border-color: var(--btn-primary);
    border-style: outset;
    color: var(--texte-bleu-pale);
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: ease-in 250ms;
    font-family: var(--police_texte);
}

.btn-update:hover {
    background-color: var(--btn-primary-hover);
    border-color: var(--btn-primary-hover);
}

.cart-summary .btn-primary{
    text-decoration: none;
    border-style: outset;
    width: 97%;
}

.cart-summary .btn-remove {
    border: 3px;
}

.container-panier h2{
    font-family: var(--police_titre);
    margin-left: 5px;
}

.btn-remove {
    background-color: var(--btn-rouge);
    border-color: var(--btn-rouge);
    color: black;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    border-style: outset;
    transition: ease-in 250ms;
    font-family: var(--police_texte);
}

.btn-remove:hover {
    background-color: var(--btn-rouge-hover);
    border-color: var(--btn-rouge-hover);
}

.item-total {
    font-weight: bold;
    color: var(--couleur_titre2);
}

.cart-summary {
    background-color: var(--transparent);
    border-top: solid 2px var(--accent-fond);
    border-bottom: solid 2px var(--accent-fond);
    padding: 20px;
    border-radius: 10px;
    text-align: right;
    max-height: 250px;
    margin: 0 auto; 
    backdrop-filter: blur(2px);
    width: 80%;
}

.cart-summary h3 {
    color: var(--couleur_titre2);
    font-family: var(--police_titre);
    font-size: 24px;
}

.empty-cart {
    text-align: center;
    padding: 40px;
    background-color: var(--transparent);
    border-radius: 10px;
    margin: 0 auto;
    backdrop-filter: blur(2px);
}

.empty-cart p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

/* footer */
.footer {
    flex-shrink: 0;
    width: 100%;
    margin-top: auto;
}

.footer-container {
    display: flex;
    flex-direction: column-reverse;
    background-color: var(--accent-fond);
    width: 100%;
    padding: 20px 0;
}

.legal {
    text-align: right;
    color: #f8fcff;
    font-size: small;
    padding: 0 20px;
}

.footer-links {
    display: flex;
    justify-content: space-evenly;
    list-style-type: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.foot_item {
    position: relative;
    color: var(--texte-bleu-pale);
    text-decoration: none;
    padding: 10px 20px;
    margin-bottom: 5px;
}

.foot_item::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 0%;
    height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.foot_item:hover::after{
    width: 100%;
}

/* Animation de succès */
.success-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    z-index: 1060;
    display: none;
    text-align: center;
    animation: fadeIn 0.3s ease-in-out;
}

.success-modal.show {
    display: block;
}

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    position: relative;
}

.success-checkmark svg {
    width: 80px;
    height: 80px;
    stroke: #4CAF50;
    stroke-width: 4;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: draw 1s ease-in-out forwards;
}

.success-modal p {
    color: #333;
    font-size: 18px;
    margin-top: 20px;
    font-family: var(--police_texte);
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Styles pour la page d'accueil */
.section-title {
    text-align: center;
    margin: 40px 0 30px;
    color: var(--gris-antracithe);
    font-family: var(--police_titre);
    background-color: var(--transparent);
    backdrop-filter: blur(2px);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.section-title h2 {
    font-size: 2em;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background-color: var(--accent);
}

.nav-tabs-container {
    margin-bottom: 30px;
    background-color: var(--transparent);
    backdrop-filter: blur(2px);
    border-radius: 10px;
    border-bottom: 2px solid var(--scroll-thumb-active);
}

.nav-tabs {
    
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-item {
    margin: 0 5px;
}

.nav-link {
    background: none;
}

.nav-tabs .nav-link {
    color: black;
    border: none;
    padding: 10px 20px;
    font-family: var(--police_texte);
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    display: block;
}

.nav-tabs .nav-link:hover {
    color: var(--scroll-thumb-active);
    border: none;
    transform: translateY(-2px);
}

.nav-tabs .nav-link.active {
    color: var(--scroll-thumb-active);
    background-color: transparent;
    border: none;
    border-bottom: 3px solid var(--scroll-thumb-active);
    font-weight: bold;
}

.saison-tisane-empty {
    background-color: var(--transparent);
    backdrop-filter: blur(2px);
    padding: 10px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.tab-content {
    padding: 20px 0;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-pane.active {
    display: block;
}

.tab-pane.fade {
    opacity: 0;
    transition: opacity 0.15s linear;
}

.tab-pane.fade.show {
    opacity: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.location-section {
    padding: 40px 0;
    /* background-color: var(--fond_page); */
    background-color: #e5dfd9;
    border-top: solid 5px var(--accent);
}

.emplacement-title {
    background: none;
}

.map-container {
    height: 450px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-info {
    padding: 20px;
    background-color: rgb(255, 249, 246);
    border-radius: 10px;
    backdrop-filter: blur(2px);
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    min-width: 90%;
}

.location-info h3 {
    color: var(--accent);
    font-family: var(--police_titre);
    margin-bottom: 20px;
}

.location-info p {
    margin-bottom: 10px;
    color: var(--couleur_titre2);
}

.location-info i {
    color: var(--accent);
    margin-right: 10px;
}

.opening-hours {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--accent-fond);
}

.opening-hours h4 {
    color: var(--accent);
    font-family: var(--police_titre);
    margin-bottom: 15px;
}

.patronne-photo {
    display: flex;
    margin-bottom: 2rem;
    justify-content: center;
}

.patronne-photo img {
    width: 100%;
    max-width: 400px;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-radius: 15px;
}

.patronne-photo img:hover {
    transform: scale(1.02);
}

.patronne-message {
    padding: 1rem;
    background-color: var(--transparent);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    max-height: 100px;
    overflow-y: auto;
}

.patronne-message h3 {
    color: var(--color-primary);
    font-family: var(--font-title);
}

.message-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text);
    word-wrap: break-word;
}

@media (max-width: 992px) {
    .patronne-photo {
        text-align: center;
        width: auto;
        max-height: 500px;
    }
    .form-tisane-quantique {
        grid-column: 2 / 4; /* Span from column 2 to 3 */
        width: 95%;
        margin-left: 0;
        justify-self: end;
        font-size: 1.4em;
    }
    .form-tisane-perso {
        grid-column: 1 / 3; /* Span from column 1 to 2 */
        margin-right: 10px; /* Small gap */
        width: 95%;
        justify-self: start;
        font-size: 1.4em;
    }
    .patronne-photo img {
        max-height: 70%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }    
    
    .patronne-message {
        width: 100%;
        max-width: 600px;
        max-height: 200px;
    }
    .form-select, .form-control, .btn-primary {
        height: 2.2em;
        font-size: 0.8em;
    }
    .btn-secondary {
        font-size: 0.8em;
        height: 1.5em;
    }
    .form-tisane-perso h1, .form-tisane-quantique h1{
        font-size: 1.1em;
    }
}

.modal.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.modal.fade-out .modal-dialog {
    transform: translateY(-20px);
    transition: transform 0.5s ease-out;
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.cart-actions .btn-primary,
.cart-actions .btn-remove {
    text-align: center;
    justify-content: center;
}

.cart-actions .btn-remove {
    background-color: var(--btn-rouge);
    border-color: var(--btn-rouge);
    color: black;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    border-style: outset;
    transition: ease-in 250ms;
    font-family: var(--police_texte);
    display: flex;
    align-items: center;
    gap: 5px;
}

.cart-actions .btn-remove:hover {
    background-color: var(--btn-rouge-hover);
    border-color: var(--btn-rouge-hover);
}

.text-confirmation {
    background-color: var(--transparent);
    border-radius: 10px;
    backdrop-filter: blur(2px);
    margin-bottom: 10px;
}

.alert-info {
    background-color: var(--transparent);
    border-radius: 5px;
    backdrop-filter: blur(2px);
    padding: 5px;
}

.filters-accessoires {
    width: 50%;
    margin: 0 auto;
    padding: 5 15px;
    align-items: center;
}

.filter-buttons_accessoires {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 50%;
    gap: 1em;
}

.filter-buttons_accessoires .btn-primary, .filter-buttons_accessoires .btn-secondary {
    margin: 0;
}

.filter_form_accessoires {
    margin: 0;
}

.search-bar_accessoires{
    width: 95%;
    margin-right: 1em;
}

.form-control-accessoires {
    width: 100%;
}

#description {
    min-height: 200px; /* Approximate height for 10 lines */
    resize: none;
}

.activity-section {
    padding: 40px 0;
    background-color: #e5dfd9;
    border-bottom: solid 5px var(--accent);
    margin-top: -100px;
    z-index: -1;
}
.activity-container {
    z-index: 1;
}
.activity-title {
    background: none;
    margin-bottom: 0px;
    z-index: 1;
}
.activity-section .map-container {
    height: 450px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden;
    z-index: 1;
}

.activity-section .map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.activity-section .location-info {
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    backdrop-filter: blur(2px);
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    z-index: 1;
}

.activity-section .location-info h3 {
    color: var(--accent);
    font-family: var(--police_titre);
    margin-bottom: 20px;
    z-index: 1;
}

.activity-section .location-info p {
    margin-bottom: 10px;
    color: var(--couleur_titre2);
    z-index: 1;
}

.activity-section .opening-hours {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--accent-fond);
    z-index: 1;
}

.activity-section .opening-hours h4 {
    color: var(--accent);
    font-family: var(--police_titre);
    margin-bottom: 15px;
    z-index: 1;
}

.activity-section .patronne-photo {
    margin-bottom: 2rem;
    z-index: 1;
}

.activity-section .patronne-photo img {
    width: 100%;
    max-width: 400px;
    height: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    z-index: 1;
}

.activity-section .patronne-photo img:hover {
    transform: scale(1.02);
    z-index: 1;
}

.activity-section .patronne-message {
    padding: 2rem;
    background-color: var(--color-background);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.activity-section .patronne-message h3 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-title);
    z-index: 1;
}

.activity-section .message-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text);
    white-space: pre-line;
    z-index: 1;
}

@media (max-width: 992px) {
    .activity-section .patronne-photo {
        text-align: center;
    }
    
    .activity-section .patronne-message {
        margin-top: 2rem;
    }
}

.a_propos_container {
    grid-column: span 2 ;
    background-color: var(--transparent);
    border-radius: 10px;
    backdrop-filter: blur(2px);
    padding: 20px;
    text-align: justify;
    display: flex;
    align-content: center;
    flex-wrap: wrap;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.a_propos h2{
    text-align: center;
    border-bottom: solid 2px rgb(188, 195, 207);
    width: 80%;
    margin: 4px auto;
}

.a_propos {
    display: flex;
    flex-direction: column;
    gap: 2em;
    width: 90%;
    margin: 0 auto;
}

.infos-magasin {
    align-items: center;
}

.image-magasin {
    display: flex;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.image-magasin-container {
    align-content: center;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}
.filters-plantes {
    width: 50%;
    margin: 0 auto;
    padding: 5 15px;    
}
.bandeau-warning {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ff3c3c, #ff4747);
    color: #2e1c0f;
    padding: 20px 30px;
    width: 85%;
    margin: 20px auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    font-family: var(--police_texte);
}

.bandeau-warning h2{
    margin: 0;
}
.bandeau-reduc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #ff6f3c, #ffb347);
    color: #2e1c0f;
    padding: 20px 30px;
    width: 85%;
    margin: 20px auto;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    font-family: var(--police_texte);
    animation: pulse 3s infinite;
}

.bandeau-reduc h2 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    text-align: center;
}
/* Media query pour adapter l'image du magasin sur mobile */
@media (max-width: 992px) {
    .image-magasin-container {
        grid-column: span 2 ;
        width: 100%;
        background-color: transparent;
    }
    .img-fluid-magasin {
        width: auto;
        object-fit: cover;
        max-height: 240px;
    }
    .infos-magasin {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .map-container {   
        width: 200%;
        border-radius: 10px;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
        overflow: hidden;
        margin: 0 auto;
        margin-left: -50%;
    }
    .image-magasin {
        width: 100%;
        background-color: transparent;
        border-radius: 50px 50px 0 0;
}
    .cart-items {
        width: 80%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        max-height: 55svh;
        overflow-y: scroll;
    }
    .image-magasin img {
        width: 100%;
        border-radius: 50px 50px 0 0;
}
    .a_propos_container {
        grid-column: span 2 ;
        background-color: var(--transparent);
        border-radius: 10px;
        backdrop-filter: blur(2px);
        padding: 20px;
        text-align: justify;
        display: flex;
        align-content: center;
        width: 96%;
        flex-wrap: wrap;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    }
    .filters-plantes, .filters-accessoires {
        width: 100%;
    }
    .cart-summary {
        max-height: none;
    }
    .bandeau-warning {
        font-size: 0.5em;
    }
    .btn-update, .btn-remove {
        font-size: 1em;
    }
    .btn-commande {
        font-size: 1.2em;
        align-content: center;
        height: fit-content;
        
    }
    .quantity-form input[type="number"] {
        font-size: 1em;
    }
    .bandeau-reduc h2{
        font-size: 1.5em;
    }
    .container-panier-recap {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .row-panier {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .info-commande {
        width: 100%;
        max-width: 100%;
    }
    input[type="radio"] {
        width: 40px;
        height: 40px;
    }
    
    input[type="checkbox"] {
        width: 40px;
        height: 40px;
        margin-left: 7.5px;
    }
    .filters {
        height: 200px;
    }
    .badge {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 2px 0 2px 0;
    }
    .selected-filters {
        font-size: 0.7em;
    }
    .bandeau h1 {
        -webkit-text-stroke: 0.05px var(--couleur_titre2);
    }
    .bandeau-warning h2{
        width: 100%;   
        text-align: center;
    }
}

/* Ajustement spécifique pour les très petits écrans */
@media (max-width: 576px) {
    .image-magasin-container {
        margin-left: -15px;
        margin-right: -15px;
    }
    
    .a_propos_container {
        padding: 15px;
        width: 100vw;
    }
}


.bandeau-reduc p {
    font-size: 1.2rem;
    font-style: italic;
    margin: 0;
    text-align: center;
}

/* Subtle attention-grabbing animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

#description_quantique {
    min-height: 200px;
}



.filters-buttons-plantes {
    display: flex;
    justify-content: space-evenly;
    width: 50%;
    gap: 0.3em;
    align-items: flex-start;
}

.filters-buttons-plantes .btn-primary, .filters-buttons-plantes .btn-secondary, .filter-form-plantes {
    margin: 0;
}

.filter-bar-plantes {
    width: 60%
}

.search-bar-plantes, .search-bar-tisane {
    width: 140%;
}

.form-control-plantes, .form-control-tisane {
    width: 100%;
}

.mail-warning {
    color: black;
}

