img{
    width: 160px;
    height: 170px;
    display: flex;
    border-radius: 10px;
}   
    
h1{
    text-align: center;
}

p{
    display: flex;
}

.bouton{
    font-family: inherit;
    color: whitr;
    background-color: white;
    border: 0;
    padding: .7rem 1.2rem;
    font-size: 24px;
    cursor: pointer;
    z-index: 1;
    overflow: hidden;
    border-radius: 20px;
}

.bouton::after{
    content: "";
    background-color: aquamarine;
    top: 0; left: 0; right: 0; bottom: 0;
    clip-path: circle(0% at 50% 50%);
    z-index: -1 ;
    transition: all 500ms ease;
}

.bouton:hover{
    transform: translate(-10px);
    box-shadow: 4px 4px 0 1px #333;
    border-radius: 15px;
    background-color: aquamarine;
}

.bouton:hover::after{
    clip-path: circle(100% at 50% 50%);
    background-color: aquamarine;
}

#container{
    display: flex;
    justify-content: center;
    align-items: center;
}

#container div{
    height: 370px;
    width: 335px;
    margin: 60px;
}

#container1{
    display: flex;
    justify-content: center;
    align-items: center;
}

#container1 div{
    height: 370px;
    width: 335px;
    margin: 60px;
}

.bordureSearch{
   width: 400px;
   border-radius: 10px; 
   display: flex;
}

.iconsiz{
    height: 50px;
    width: 50px;
    font-size: 20px;
    color: #333;
    text-align: right;
    display: block;
}

.recherche{
    height: 30px;
    width: 200px;
    font-size: 18px;
    color: black;
    font-weight: bold;
    border-radius: 5px;
    display: flex;
    text-align: right;
}

.recherche input{
    padding: 8px;
    border: 3px solid #333;
    border-radius: 5px;
}
.recherche button i{
    font-size: 20px;
    color: #ccc;
}

body{
    background-image: url("https://previews.123rf.com/images/marigold88/marigold881602/marigold88160200057/53437791-set-of-blend-abstract-wave-wavy-smoke-lines-green-and-orange.jpg");
    background-size: cover;
}

.signin-wrap{
    position: relative;
    margin-left: 1300px;
    float: right;
}

.signinButton{
    height: 35px;
    width: 100px;
    background-color: skyblue;
    display: flex;
    justify-content: center;
    border-radius: 5px;
}

.cart-link{
    position: absolute;
    top: 6px;
    left: -35px;
    display: inline-block;
    text-decoration: none;
}

.cart-link:hover{
    text-decoration: none;
}

.cart-link .fa-cart-shopping{
    font-size: 22px;
    color: #333;
}

.cart-count-badge{
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ff2d2d;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 18px;
    text-align: center;
    display: none;
}

.signin-link{
    text-decoration: none;
}

.signin-link:hover{
    text-decoration: none;
}

.fa-solid {
    border: 0px;
    background-color: transparent;
}

.pasdecompte{
    text-align: center;
}

.form-check{
    height: 32px;
    width: 32px;
    
}

.civoimg{
    display: flex;
    height: 1000px;
    width: 1000px;
    align-items: center;
    margin-right: 500px;
}

.choixtaille{
    display: flex;
}

.product-page {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

/* MINIATURES */
.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 500px;
}

.thumbnails img {
    width: 150px;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
}

.thumbnails img:hover {
    border-color: black;
}

/* IMAGE PRINCIPALE */
.main-image img {
    width: 900px;
    height: 800px;
    border-radius: 10px;
}

#displayed-image{
    width: 900px;
    height: 755px;
    border-radius: 10px;
}

/* DETAILS */
.details {
    max-width: 350px;
}

.details h2 {
    margin: 0;
    font-size: 24px;
}

.price {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0;
}

.sub {
    color: #777;
    margin-bottom: 20px;
}

.sizes p {
    margin-bottom: 8px;
}

.size-buttons button {
    padding: 10px 15px;
    margin: 5px;
    border: 1px solid #aaa;
    background: #fff;
    cursor: pointer;
    border-radius: 6px;
}

.size-buttons button:hover {
    border-color: black;
}

/* BOUTONS */
.custom-btn,
.add-btn {
    padding: 15px;
    border-radius: 30px;
    font-size: 16px;
    margin-top: 300px;
    cursor: pointer;
    border: none;
    height: 45px; 
    width: 500px;
}

.custom-btn {
    background: #e6e6e6;
    height: 45px;
    width: 150px;
    text-align: center;
    margin-left: -165px;
}

.add-btn {
    background: black;
    color: white;
    font-weight: bold;
}

.info {
    margin-top: 20px;
    color: #777;
    font-size: 14px;
}

.container {
    display: flex;
    gap: 70px;
}

.maillot-container {
    position: relative;
}

.maillot {
    width: 350px;
}

.texte-maillot {
    position: absolute;
    width: 100%;
    text-align: center;
    font-weight: bold;
    color: yellow;
    font-size: 28px;
    top: 180px; /* position du nom */
    left: 0;
}

.numero {
    top: 230px; /* position du numéro */
    font-size: 50px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 250px;
}

.prix-box {
    margin-top: 20px;
    padding: 10px;
    background: #ddd;
    border-radius: 6px;
    font-size: 18px;
    font-weight: bold;
}

.containersign{
    margin: 0;
    margin-top: 0px;
}

.auth-page{
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.auth-card{
    width: 100%;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(10px);
}

.auth-card--wide{
    max-width: 700px;
}

.auth-back{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #111;
    font-weight: 600;
    opacity: 0.9;
}

.auth-back:hover{
    opacity: 1;
    text-decoration: none;
}

.auth-header{
    text-align: center;
    margin-top: 10px;
    margin-bottom: 16px;
}

.auth-badge{
    width: 56px;
    height: 56px;
    border-radius: 14px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,0,0,0.92), rgba(0,0,0,0.65));
    color: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.auth-title{
    margin: 0;
    font-size: 28px;
    font-weight: 800;
}

.auth-subtitle{
    margin: 6px 0 0;
    color: rgba(0, 0, 0, 0.65);
}

.auth-form .form-control{
    border-radius: 12px;
    padding: 10px 12px;
}

.auth-form .btn{
    border-radius: 12px;
}

.auth-primary-btn{
    margin-top: 14px;
    padding: 12px 14px;
    font-weight: 800;
}

.auth-footer{
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    color: rgba(0, 0, 0, 0.7);
}

.auth-link{
    font-weight: 800;
    text-decoration: none;
    color: #111;
}

.auth-link:hover{
    text-decoration: underline;
}

.auth-divider{
    height: 1px;
    background: rgba(0, 0, 0, 0.12);
    margin: 18px 0;
}

.auth-section-title{
    font-weight: 900;
    letter-spacing: 0.2px;
    margin-bottom: 10px;
    color: rgba(0, 0, 0, 0.78);
}

@media (max-width: 576px){
    .auth-card{
        padding: 18px 16px;
    }

    .auth-title{
        font-size: 24px;
    }
}

.profile-menu{
    position: relative;
    display: inline-flex;
    align-items: center;
}

.profile-button{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 35px;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.18);
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.profile-avatar{
    width: 26px;
    height: 26px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
}

.profile-dropdown{
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 240px;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 14px 30px rgba(0,0,0,0.18);
    z-index: 1000;
}

.profile-email{
    font-size: 12px;
    color: rgba(0,0,0,0.7);
    margin-bottom: 10px;
    overflow-wrap: anywhere;
}

.profile-item{
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 10px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
}

.profile-item:hover{
    background: rgba(0,0,0,0.06);
}

.profile-item--danger{
    color: #b00020;
}

.js-modal-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 999;
}

.js-modal{
    width: 100%;
    max-width: 720px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.30);
    overflow: hidden;
}

.js-modal-header{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.js-modal-title{
    font-weight: 900;
}

.js-modal-close{
    border: 0;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.js-modal-body{
    padding: 16px;
}

.js-modal-footer{
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 16px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.js-pre{
    margin: 0;
    padding: 12px;
    border-radius: 12px;
    background: rgba(0,0,0,0.04);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.js-form-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.js-form-field{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.js-form-field label{
    font-weight: 800;
    font-size: 13px;
}

.js-form-field input,
.js-form-field textarea{
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.18);
    padding: 10px 12px;
}

.js-form-field--full{
    grid-column: 1 / -1;
}

@media (max-width: 640px){
    .js-form-grid{
        grid-template-columns: 1fr;
    }
}

body.home{
    min-height: 100vh;
    background-attachment: fixed;
}

body.home .home-shell{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px 36px 6px;
}

body.home .home-topbar{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.70);
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    backdrop-filter: blur(10px);
    transform: translateX(-10px);
    position: relative;
    z-index: 100;
}

body.home .home-header-inner{
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 12px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.70);
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    backdrop-filter: blur(10px);
    transform: translateX(-10px);
}

body.home .home-header{
    padding: 22px 16px 10px;
}

body.home .home-header-inner{
    max-width: 1200px;
    margin: 0 auto;
}

body.home .home-title{
    margin: 0;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -0.3px;
    color: rgba(0,0,0,0.92);
    text-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

body.home .recherche input{
    width: 100%;
    border: 1px solid rgba(0,0,0,0.18);
    border-radius: 12px;
    padding: 10px 12px;
    outline: none;
    background: rgba(255,255,255,0.85);
}

body.home .recherche input:focus{
    border-color: rgba(0,0,0,0.35);
    box-shadow: 0 0 0 4px rgba(0,0,0,0.10);
}

body.home .iconsiz{
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.home .signin-wrap{
    margin-left: 0;
    float: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

body.home .cart-link{
    position: relative;
    top: auto;
    left: auto;
}

body.home .flexright{
    display: flex;
    justify-content: flex-end;
    flex: 1;
}

body.home .home-filters{
    width: 400px;
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 10px 0 6px 0;
}

body.home #filtersBar{
    width: 100%;
    max-width: 1200px;
    margin: 10px auto 0;
    padding: 12px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.65);
    box-shadow: 0 12px 30px rgba(0,0,0,0.14);
    backdrop-filter: blur(10px);
    transform: translateX(-10px);
}

body.home .home-filters .form-select{
    border-radius: 10px;
    border: 2px solid rgba(51,51,51,0.6);
    background: rgba(255,255,255,0.85);
    font-weight: 600;
}

body.home .home-filters .btn{
    border-radius: 12px;
    white-space: nowrap;
}

body.home .team-section{
    margin-top: 18px;
}

body.home .team-head{
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin: 0 2px 10px;
    padding: 8px 4px;
}

body.home .team-title{
    margin: 0;
    font-size: 18px;
    font-weight: 900;
    color: rgba(0,0,0,0.88);
}

body.home .team-row{
    display: flex;
    gap: 16px;
    align-items: stretch;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
}

body.home .team-row > div{
    flex: 0 0 260px;
    width: 260px;
    height: auto;
    margin: 0;
    padding: 14px 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.82);
    box-shadow: 0 16px 40px rgba(0,0,0,0.16);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 160ms ease, box-shadow 160ms ease;
    scroll-snap-align: start;
}

body.home .team-row > div:hover{
    transform: translateY(-3px);
    box-shadow: 0 22px 55px rgba(0,0,0,0.22);
}

body.home .team-row img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
}

body.home .team-row p{
    margin: 0;
}

body.home #results{
    margin-top: 10px;
}

body.home .bouton{
    width: 100%;
    font-size: 16px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(0,0,0,0.92);
    color: #fff;
    box-shadow: 0 12px 25px rgba(0,0,0,0.18);
    transform: none;
}

body.home .bouton:hover{
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.22);
    background: rgba(0,0,0,0.86);
}

body.home .bouton::after{
    display: none;
}

body.home .bouton a{
    color: inherit;
    text-decoration: none;
}

@media (max-width: 1100px){
    /*body.home #container,
    body.home #container1{
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }*/
}

@media (max-width: 840px){
    /*body.home #container,
    body.home #container1{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }*/

    .home-title{
        font-size: 28px;
    }
}

@media (max-width: 520px){
    /*body.home #container,
    body.home #container1{
        grid-template-columns: 1fr;
    }*/
}

body.recap{
    min-height: 100vh;
    background-attachment: fixed;
}

.recap-header{
    position: sticky;
    top: 0;
    z-index: 220;
    padding: 14px 16px;
    backdrop-filter: blur(10px);
}

.recap-header-inner{
    max-width: 980px;
    margin: 0 auto;
    padding: 12px 12px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.70);
    box-shadow: 0 18px 45px rgba(0,0,0,0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.recap-back{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: rgba(0,0,0,0.85);
    font-weight: 800;
    padding: 8px 10px;
    border-radius: 12px;
}

.recap-back:hover{
    text-decoration: none;
    background: rgba(0,0,0,0.06);
}

.recap-title{
    margin: 0;
    font-size: 20px;
    font-weight: 900;
    color: rgba(0,0,0,0.9);
}

.recap-main{
    padding: 18px 16px 44px;
}

.recap-shell{
    max-width: 980px;
    margin: 0 auto;
}

.recap-card{
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.82);
    box-shadow: 0 16px 40px rgba(0,0,0,0.16);
    backdrop-filter: blur(10px);
    padding: 16px;
}

.recap-card-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.recap-card-title{
    margin: 0;
    font-size: 18px;
    font-weight: 900;
}

.recap-card-subtitle{
    margin: 6px 0 0;
    color: rgba(0,0,0,0.62);
}

.recap-total{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.10);
    font-weight: 800;
}

.recap-actions{
    margin-top: 14px;
}

body.recap .cart-row{
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    padding: 10px 12px;
    margin: 0 0 10px;
    background: rgba(255,255,255,0.75);
}

body.recap .cart-delete{
    width: 32px;
    height: 32px;
    border-radius: 10px;
}

body.recap .cart-delete:hover{
    background: rgba(0,0,0,0.06);
}

@media (max-width: 520px){
    .recap-title{
        font-size: 18px;
    }
}