/* Variables */
:root {
    --black: #000000;
    --white: #FFFFFF;
}

html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: black;
}

html {
    width: 100vw;
    height: 100vh;
}

body {
    min-height: 93vh;
    position: relative;
    overflow-x: hidden;
    background-color: var(--black);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    padding-bottom: 64px;
}

* Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--black)
}

*::-webkit-scrollbar {
    max-height: 8px;
    max-width: 8px;
    background-color: var(--black);
    
    cursor: none;
}

*::-webkit-scrollbar-track {
    max-height: 8px;
    border-radius: 8px;
}

*::-webkit-scrollbar-thumb {
    max-height: 8px;
    border-radius: 8px;
    background-clip: border-box;
    background-color: var(--black);
}

*::-webkit-scrollbar-thumb:hover {
    background-color: var(--black);
}

/* URLs */

a {
    height: auto;
    background-color: transparent;
    color: white;
    text-decoration: none;
    
    cursor: pointer !important;
    transition: color ease-in-out .25s, outline ease-in-out .25s;
}

a:-webkit-any-link {
    text-decoration: none;
}

a:focus-visible {
    color: white;
    outline: 2px solid var(--black) !important;
    text-decoration: underline;
    
    transition: color ease-in-out .25s, outline ease-in-out .25s;
}

a:hover, a:hover #language-active-text {
    color: white;
    
    cursor: pointer !important;
    transition: color ease-in-out .25s, outline ease-in-out .25s;
}

/* Selected (Highlighted) Text */

::-moz-selection { /* Code for Firefox */
    background: blue;
    color: white;
}

::selection {
    background: blue;
    color: white;
}

#texte {
    margin-top: 64px;
}

#len-tête {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;

    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    /* background-color: blue; */

    -webkit-animation: sestomperAvecÉchelle ease-in-out 1s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: sestomperAvecÉchelle ease-in-out 1s; /* Firefox < 16 */
    -ms-animation: sestomperAvecÉchelle ease-in-out 1s; /* Internet Explorer */
    -o-animation: sestomperAvecÉchelle ease-in-out 1s; /* Opera < 12.1 */
    animation: sestomperAvecÉchelle ease-in-out 1s;
}

h1#bienvenue {
    color: white;
    font-family: "Amarante", serif;
    font-size: 64px;
    font-weight: 400;
    font-style: normal;
    white-space: nowrap;

    margin: 0;
    padding: 0;
}

#marque {
    height: 72px;
    margin-top: -20px;
}

#moble-menu {
    height: 72px;
    margin-top: -20px;
}

#à-propos {
    margin-left: 64px;
    margin-right: 64px;

    -webkit-animation: sestomper ease-in-out 4s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: sestomper ease-in-out 4s; /* Firefox < 16 */
    -ms-animation: sestomper ease-in-out 4s; /* Internet Explorer */
    -o-animation: sestomper ease-in-out 4s; /* Opera < 12.1 */
    animation: sestomper ease-in-out 4s;
}

p {
    color: white;
    font-family: "Amarante", serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    text-align: center;

    margin: 0;
    padding: 0;
}

button, input[type="submit"], input[type="reset"] {
	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
}

button, input[type="number"] {
    font-family: 'Poppins';
    padding: 8px;

    border: 1px solid #F1F1F1;
    background-color: var(--black);
    color: var(--white);

    /* -webkit-animation: sestomperBouton ease-in-out 3s; /* Safari, Chrome and Opera > 12.1 */
    /* -moz-animation: sestomperBouton ease-in-out 3s; /* Firefox < 16 */
    /* -ms-animation: sestomperBouton ease-in-out 3s; /* Internet Explorer */
    /* -o-animation: sestomperBouton ease-in-out 3s; /* Opera < 12.1 */
    /* animation: sestomperBouton ease-in-out 3s; */

    /* opacity: 33%; */
    transition: ease-in-out .25s;
}

button.bouton-supprimer-du-carte {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 4px;
    padding-right: 4px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance:textfield; /* Firefox */
    width: 24px;
    text-align: center;
    padding: 10px;
    position: relative;
    top: -1px;
}

button a {
    text-decoration: none;
}

button:hover, button:focus-visible {
    opacity: 100%;
    transition: ease-in-out .25s;
}


footer {
    margin-top: 32px;
    width: 100%;
    position: absolute;
    bottom: 0;
    border-top: 1px solid #ffffff84;
    padding-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;

    -webkit-animation: sestomper ease-in-out 3s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: sestomper ease-in-out 3s; /* Firefox < 16 */
    -ms-animation: sestomper ease-in-out 3s; /* Internet Explorer */
    -o-animation: sestomper ease-in-out 3s; /* Opera < 12.1 */
    animation: sestomper ease-in-out 3s;
}

ul, li {
    opacity: 1;
    transition: ease-in-out .25s;
}

ul:hover li {
    opacity: 0.5;
    transition: ease-in-out .25s;
}
ul li:hover {
    opacity: 1;
    transition: ease-in-out .25s;
}


#rentals-nav {
    width: 100%;
    /* background-color: blue; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--white);
    
    -webkit-animation: sestomper ease-in-out 1s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: sestomper ease-in-out 1s; /* Firefox < 16 */
    -ms-animation: sestomper ease-in-out 1s; /* Internet Explorer */
    -o-animation: sestomper ease-in-out 1s; /* Opera < 12.1 */
    animation: sestomper ease-in-out 1s;
}

#rentals-nav > ul {
    display: flex;
    justify-self: center;
    justify-content: center;
    align-items: center;
}

#rentals-nav > ul > li {
    text-decoration: none;
    list-style: none;
    padding-left: 8px;

    color: white;
    font-family: "Amarante", serif;
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    white-space: nowrap;
}

#rentals-nav #section-nav-logo, #rentals-nav #section-nav-quote {
    padding-left: 16px;
    padding-right: 16px;
    width: 15%;
    /* background-color: green; */
}

#rentals-nav #section-nav-logo > img, #rentals-nav #section-nav-quote img  {
    width: auto;
    height: auto;
    margin: 0;
}

#rentals-nav #section-nav-logo > img {
    max-height: 32px;
    margin-top: -4px;
}

#rentals-nav #section-nav-logo > a > p {
    max-height: 32px;
    margin-top: -4px;
    text-align: left;
    margin: 0;
    /* user-select: none; */
}

#rentals-nav #section-nav-quote, #rentals-nav #section-nav-quote a {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

#shoppe, #produit {
    width: 100%;
    /* background-color: blue; */

    -webkit-animation: sestomper ease-in-out 2s; /* Safari, Chrome and Opera > 12.1 */
    -moz-animation: sestomper ease-in-out 2s; /* Firefox < 16 */
    -ms-animation: sestomper ease-in-out 2s; /* Internet Explorer */
    -o-animation: sestomper ease-in-out 2s; /* Opera < 12.1 */
    animation: sestomper ease-in-out 2s;
}

#shoppe {
    margin-top: 128px;
}

#produit {
    margin-top: 64px;
}

#shoppe-flèches {
    display: flex;
    margin-bottom: 8px;
}

#shoppe-flèches > button {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: ease-in-out .25s;
}

#shoppe-flèches > button:hover, #shoppe-flèches > button:focus-visible {
    background-color: var(--white);
    transition: ease-in-out .25s;
}

#shoppe-flèches > button > img, #shoppe-flèches > button:focus-visible > img  {
    filter: invert(0%);
    transition: ease-in-out .25s;
}

#shoppe-flèches > button:hover > img, #shoppe-flèches > button:focus-visible > img {
    filter: invert(100%);
    transition: ease-in-out .25s;
}

#shoppe-len-tête, #produit-len-tête {
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: 12px;
    height: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

 .article-boite-texte {
    height: 40px !important;
    width: 100%;
    background-color: #ffffff56;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-top: 1px solid var(--white);
    transition: ease-in-out .25s;
 }

#shoppe-texte > h2, .article-boite-texte > h2, .produit-texte > h2 {
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    font-weight: 700;
    font-style: normal;
    white-space: wrap;
    line-height: 1;

    margin: 0;
    padding: 0;
    padding-left: 4px;
    padding-right: 4px;
    transition: ease-in-out .25s;
}

#shoppe-texte > p {
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    white-space: wrap;

    margin: 0;
    padding: 0;
    text-align: left;
    transition: ease-in-out .25s;
}

.tippy-popper {
    font-family: "Poppins", sans-serif;
    font-style: normal;
    white-space: wrap;

    margin: 0;
    padding: 0;
    text-align: left;
    transition: ease-in-out .25s;
}

.tippy-popper .tippy-content {
    color: greenyellow;
    background-color: var(--black);
    padding: 8px;
    border: 1px solid #ffffff20;
    font-weight: 600;
}


.produit-texte > p, .produit-texte > ul > li, .produit-bouton-ajouter > p {
    color: white;
    padding-left: 6px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    text-align: left;
}

.produit-bouton-ajouter > p {
    white-space: nowrap;
    transition: ease-in-out .25s;
}

/* #shoppe #articles {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
} */

#shoppe #articles .article {
    height: 256px;
    width: 256px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* background-color: var(--black); */
    border: 1px solid var(--white);
}

#produit .photo {
    background-color: blue;
    height: 256px;
    width: 256px;
    object-fit: contain;
}

.article:hover .article-boite-texte, .splide__slide:focus-visible .article .article-boite-texte {
    background-color: var(--white);
    transition: ease-in-out .25s;
}
.article:hover .article-boite-texte > h2, .splide__slide:focus-visible .article .article-boite-texte > h2 {
    color: var(--black);
    transition: ease-in-out .25s;
}

.article-boite {
    width: inherit;
    height: inherit;
    
    display: flex;
    justify-content: center;
    align-items: center;
}

.article-boite > img {
    max-width: 75%;
}

.article-boite > img.img-50 {
    max-width: 65%;
}


.produit-img-wrapper {
    width: 600px;
    /* background-color: yellow; */
    border: 1px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.produit-img-wrapper > img {
    width: 600px;
    height: 600px;
    object-fit: contain;
    width: 80%;
}

.diviseur {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 8px;
}

#produit-information-wrapper .diviseur {
    padding-left: 0px;
    padding-right: 0px;
}

.diviseur > hr {
    width: 100%;
}

.splide {
    padding-left: 16px;
    padding-right: 16px;
}

.catalogue {
    /* background-color: gray; */
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.catalogue #articles {
    /* background-color: blue; */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 32px; /* fixed gap */
    width: 97%;
}

#shoppe .catalogue #articles .article {
    /* background-color: green; */
    min-height: 100%;
    min-width: 100%;
    height: 400px;
    width: 400px;
    aspect-ratio: 1 / 1; /* keeps square shape */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* border: 1px solid var(--white); */
}

.catalogue .article-boite-texte {
    background-color: #ffffff56;
}

.catalogue #articles .article .article-boite-texte > h2 {
    font-size: 16px;
}

.catalogue #shoppe #articles .article {
    height: 100%;
    width: 100%;
}

.article-boite {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
}

.article-wrapper {
    height: fit-content;
    padding: 0;
}

.article-boite-information, #produit-prix-information {
    display: flex;
    width: 100%;
    /* background-color: blue; */
    height: auto;
    gap: 8px;
    margin-bottom: 24px;
}

#produit-prix-information {
    flex-direction: column;
}

.article-prix-wrapper, .produit-prix-wrapper, .produit-subtotal-wrapper {
    width: 100%;
    background-color: black;
    border: 1px solid white;
    margin-top: 8px;
    padding: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: auto;
}

.produit-prix-wrapper, .produit-subtotal-wrapper {
    padding-left: 0;
    padding-right: 0;
}

.article-prix, .produit-prix, .produit-desc {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
}

.page-quote .produit-prix-wrapper {
    display: flex;
    justify-content: space-between;
    width: auto;
    padding: 8px;
}

.page-quote .produit-prix {
    font-weight: 800;
}

.page-quote .produit-texte > p {
    margin-top: 8px;
}

.article-bouton-ajouter-wrapper, .produit-bouton-ajouter-wrapper {
    width: auto;
    margin-top: 8px;
    display: flex;
    gap: 16px;
    justify-content: flex-end;
}

.article-bouton-ajouter, .produit-bouton-ajouter {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: -2px;
    opacity: 1;

    animation: none;
    transition: ease-in-out .25s;
}

.produit-bouton-ajouter {
    background-color: var(--white);
    color: var(--black);
    transition: ease-in-out .25s;
}

.produit-bouton-ajouter:hover {
    background-color: var(--black);
    color: var(--white);
    transition: ease-in-out .25s;
}

.produit-bouton-ajouter > img {
    filter: invert(100%);
    transition: ease-in-out .25s;
}

.produit-bouton-ajouter:hover > img {
    filter: invert(0%);
    transition: ease-in-out .25s;
}

.produit-bouton-ajouter > p {
    color: var(--black);
    transition: ease-in-out .25s;
}

.produit-bouton-ajouter:hover > p {
    color: var(--white);
    transition: ease-in-out .25s;
}

.article-bouton-ajouter:hover, .article-bouton-ajouter:focus-visible {
    background-color: var(--white);
    transition: ease-in-out .25s;
}

.article-bouton-ajouter > img{
    /* margin-bottom: -6px; */
    filter: invert(0%);
    transition: ease-in-out .25s;
}

.bouton-supprimer-du-carte {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--black);
    transition: ease-in-out .25s;
}

.bouton-supprimer-du-carte:hover {
    background-color: var(--white);
    transition: ease-in-out .25s;
}

.bouton-supprimer-du-carte > img {
    filter: invert(0%);
    transition: ease-in-out .25s;
}

.produit-bouton-ajouter > img {
    margin-bottom: 0px;
}

.bouton-supprimer-du-carte:hover > img, .bouton-supprimer-du-carte:focus-visible > img {
    /* margin-bottom: -6px; */
    filter: invert(100%);
    transition: ease-in-out .25s;
}

.bouton-supprimer-du-carte:hover > p, .bouton-supprimer-du-carte:focus-visible > p {
    color: var(--black);
    transition: ease-in-out .25s;
}

.article-bouton-ajouter:hover > img, .article-bouton-ajouter:focus-visible > img {
    filter: invert(100%);
    transition: ease-in-out .25s;
}

#produit-information-wrapper {
    margin: 16px;
    /* background-color: blue; */
}

#produit-details {
    display: flex;
    /* background-color: green; */
    margin-bottom: 32px;
    gap: 16px;
}

#produit-details > #produit-gauche {
    width: 620px;
}

#produit-details > #produit-droite {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-quote #produit-gauche, .page-quote #produit-droite {
    background-color: var(--black);
    border: 1px solid var(--white);
    padding: 8px;
}

.page-quote #produit-details > #produit-gauche {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-quote #produit-prix-information {
    gap: 0;
}

.page-quote .produit-prix-wrapper, .page-quote .produit-subtotal-wrapper {
    margin: 0;
}

.page-quote #produit-details > #produit-droite {
    width: 50%;
}

/* .page-quote .article-prix {
    font-size: 16px;
} */

.page-quote table {
    color: white;
    border-spacing: 0;
     width: 100%;
  border-collapse: collapse; /* collapse borders for cleaner look */
  table-layout: auto; /* columns size dynamically based on content */
  min-width: 0; /* help flexbox children shrink */
}

.page-quote table th {
    color: white;
    font-family: "Amarante", serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    white-space: nowrap;
    
    margin: 0;
    padding: 8px;
    border: 1px solid white;
}

.page-quote table .qty-wrapper {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}

.page-quote table input[type="number"] {
    padding: 7px;
    margin-bottom: -3px;
}

.page-quote .remove-item-btn {
    border: none;
}

td {
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    white-space: nowrap;
    
    margin: 0;
    padding: 8px;
    border: 1px solid white;
}

.page-quote table tbody tr td { 
    text-align: center;
    vertical-align: center;
}

.page-quote table th:first-child,
.page-quote table td:first-child {
  width: 5%;
  white-space: nowrap;
  text-align: center;
}

.page-quote table th,
.page-quote table td {
  white-space: normal; /* allow line breaks */
  word-wrap: break-word; /* break long words */
}




.page-quote #produit-details > #produit-gauche,
.page-quote #produit-details > #produit-droite {
  flex: 1 1 50%; /* grow and shrink as needed, base 50% */
  min-width: 300px; /* optional minimum width */
  box-sizing: border-box;
  overflow-x: auto; /* allow horizontal scroll if content too wide */

}

#section-nav-mobile-items-wrapper {
    display: none;
}

ul#section-nav-mobile-items {
    display: none;
    padding: 0;
}

ul#section-nav-mobile-items > li {
    display: flex;
    align-items: center;
    padding: 0;
}

ul#section-nav-mobile-items > li a {
    font-size: 12px;
}




#page-quotation-gauche, #page-quotation-droite {
    display: flex;
    width: 100%;
    flex-direction: column;
}


.page-quote .item-addon {
    background-color: #ffffff20;
}

.page-quote #info-subtotal {
    margin-top: 64px;
    height: auto;
    width: 100%;
    /* background-color: blue; */
}

#gallery {
    padding: 0;
}

.qty-wrapper {
    width: auto;
}

.produit-bouton-ajouter {
    width: 50%
}

.definition {
    text-decoration: underline;
    text-decoration-style: dashed;
}

#produit-a-propos {
    margin-bottom: 16px;
}

.shoppe-rentals .article {
    border: 1px solid white;
}

#shoppe.addons-shoppe #articles .article {
    height: 256px;
    width: 400px;
    border: 1px solid white;
}

#shoppe.addons-shoppe #articles .article  .article-boite > img {
    max-width: 40%;
}

#shoppe.addons-shoppe #articles .article .article-boite-texte > h2 {
    font-size: 16px;
}

#addons-splide {
    padding-bottom: 32px;
}

#shoppe.addons-shoppe {
    margin-top: 64px;
}

#shoppe.addons-shoppe > #shoppe-len-tête {
    padding-left: 0px;
    padding-right: 0px;
}

.prix-précédent {
    opacity: 50%;
    text-decoration: line-through;
}

.prix-nouveau {
    color: greenyellow;
    font-weight: 600;
}

#shoppe-texte {
    display: flex;
    width: 100%;
    align-items: center;
}

#shoppe-texte #heading-note {
    font-style: italic;
    margin-bottom: -2px;
    margin-left: 2px;
    opacity: 64%;
}

.bouton-supprimer-du-carte {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: -8px;
    opacity: 66%;
}

.max-reached {
    cursor: not-allowed !important;
    opacity: 66% !important;
}

.produit-inclus-diviseur {
    display: none;
}

    #à-propos p {
        font-size: 20px;
    }

@media screen and (max-width: 1000px) {
    .produit-inclus-diviseur {
        display: block;
    }
    #produit-details {
        flex-direction: column;
    }

    #produit-details > #produit-gauche {
        width: 100%;
    }

    #produit-details > #produit-droite {
        width: 100%;
        flex-direction: column-reverse;
    }

    #produit-prix-information {
        /* margin-top: 32px; */
        margin-bottom: 12px;
    }
    
    .produit-texte > p {
        margin-top: 16px;
    }

    .produit-img-wrapper > img {
        height: 300px;
    }

    .produit-img-wrapper {
        width: 400px;
    }

    #gallery {
        padding-bottom: 64px;
    }

    #produit-kit-inclus {
        margin-top: 64px;
    }

    #rentals-nav {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    #rentals-nav > ul#section-nav-items {
        display: none;
    }

    #rentals-nav > section > ul#section-nav-mobile-items {
        display: flex;
        margin: 0;
    }

    
    #rentals-nav #section-nav-mobile-items-wrapper {
        display: flex;
    }

    #rentals-nav #section-nav-logo > a > p {
        white-space: nowrap;
        width: fit-content;
        /* background-color: blue; */
    }

    #rentals-nav #section-nav-quote {
        white-space: nowrap;
        flex-wrap: nowrap;
    }

    #rentals-nav #section-nav-quote > a > p {
        width: fit-content;
        /* background-color: blue; */
    }

    #len-tête {
        gap: 8px;
    }

    h1#bienvenue {
        font-size: 48px;
    }

    #marque {
        height: 52px;
        margin-bottom: -6px;
    }

    #à-propos {
        margin-left: 8px;
        margin-right: 8px;
    }

    #à-propos p {
        font-size: 16px;
    }

    body {
        min-height: 91.5vh;
    }


    .page-quote #produit-details > #produit-gauche,
    .page-quote #produit-details > #produit-droite {
        width: 100%;
        display: flex;
    }

    #rental-form {
        max-width: 100%;
        width: 100%;
    }

    #len-tête {
        transform: scale(50%);
    }
}

@media screen and (max-width: 700px) {
    #shoppe-texte > h2, .article-boite-texte > h2, .produit-texte > h2 {
        font-size: 20px;
    }
        #len-tête {
        gap: 6px;
    }

    h1#bienvenue {
        font-size: 32px;
    }

    #marque {
        height: 40px;
        margin-bottom: -6px;
    }

    #à-propos {
        margin-left: 8px;
        margin-right: 8px;
    }

    #à-propos p {
        font-size: 14px;
    }

    body {
        min-height: 91.5vh;
    }

    #shoppe.addons-shoppe #articles .article {
    width: 80vw;
    }
}

@media screen and (max-width: 480px) {
    
    .produit-bouton-ajouter-wrapper {
        justify-content: center;
    }

    #produit-prix-information {
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .produit-img-wrapper > img {
        width: 100%;
        object-fit: cover;
    }

    .produit-img-wrapper {
        width: 80vw;
    }

    .produit-texte > ul > li {
        font-size: 12px;
    }

    .produit-texte > p {
        font-size: 12px;
    }

    #gallery {
        padding-bottom: 32px;
    }

    #produit-details {
        gap: 0px;
        margin-bottom: 32px;
    }

        #len-tête {
        gap: 6px;
    }

    h1#bienvenue {
        font-size: 24px;
    }

    #marque {
        height: 30px;
        margin-bottom: -10px;
    }

    #à-propos {
        margin-left: 8px;
        margin-right: 8px;
    }

    #à-propos p {
        font-size: 12px;
    }

    body {
        min-height: 91.5vh;
    }
}

.rental-form {
    width: 100%;
    max-width: 720px;
    padding: 16px;
    box-sizing: border-box;
    margin-top: 32px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-top: 8px;
}

.rental-form label {
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    margin-bottom: 4px;
    font-size: 14px;
}

.rental-form input,
.rental-form textarea {
    background-color: var(--black);
    color: var(--white);
    border: 1px solid var(--white);
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    padding: 8px;
    transition: background-color 0.25s ease-in-out, border-color 0.25s ease-in-out;
    width: 100%;
    box-sizing: border-box;
}

.rental-form input:focus,
.rental-form textarea:focus {
    outline: none;
    border-color: var(--white);
    background-color: #111;
}

/* Textarea style */
.rental-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox alignment */
.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: white;
    margin: 0;
    padding: 0;
}

.checkbox-wrapper label {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
    user-select: none;
}

.checkbox-wrapper a {
    color: white;
    text-decoration: underline;
}

/* Duration display */
.rental-duration {
    font-family: 'Poppins', sans-serif;
    color: var(--white);
    font-size: 14px;
    margin-bottom: 16px;
}

/* Submit button reuse */
.rental-form button[type="submit"] {
    margin-top: 16px;
    align-self: flex-end;
}

/* Responsive stacking on small devices */
@media screen and (max-width: 600px) {
    .form-row {
        flex-direction: column;
    }

    .checkbox-wrapper {
        flex-direction: row;
        align-items: flex-start;
    }
}

.form-group.checkbox-wrapper {
    display: flex;
    flex-direction: row;
}

.subtotal-price {
    font-weight: 800;
}

#apply-discount-btn {
    font-size: 12px;
    margin-top: 8px;
    padding: 8px;
    width: fit-content;
    background-color: var(--black);
    color: var(--white);
}

#apply-discount-btn:hover {
    background-color: var(--white);
    color: var(--black);
}

#buttons-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-catalogue #articles .splide__list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.page-catalogue .splide__list {
  display: flex !important;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  padding: 0;
  margin: 0;
}

.page-catalogue .splide__slide {
  flex: 1 1 180px; /* grow and shrink, min width 180px */
  max-width: 100%;
  box-sizing: border-box;
  display: flex;  /* allow .article to fill */
  justify-content: center;
}

.page-catalogue .article {
  flex-grow: 1;
  flex-shrink: 1;
  max-width: 100%;
  width: 100%;
  /* Optional: maintain aspect ratio or set min-height */
  /* min-height: 200px; */
  box-sizing: border-box;
}