/***************************************************************
HEAD SHOP
***************************************************************/

.header-navi-lien-shop {
    display: inline-block;
    padding: .5rem 1rem;
    font-size: larger;
    color: var(--primary-color);
}

#header-nav-shop {
    float: right;
    display: flex;
}

/***************************************************
BOUTON LOUPE ( https://codepen.io/ahmadbassamemran/pen/rNjMXqg )
***************************************************/

* {
    box-sizing: border-box;
}

.search-box {
    width: fit-content;
    height: fit-content;
    position: relative;
}

.input-search {
    height: 50px;
    width: 50px;
    border-style: none;
    padding: 10px;
    font-size: 18px;
    letter-spacing: 2px;
    outline: none;
    border-radius: 25px;
    transition: all .5s ease-in-out;
    background-color: #22a7b300;
    padding-right: 40px;
    color: #fff;
}

.input-search::placeholder {
    color: rgba(255, 255, 255, .5);
    font-size: 18px;
    letter-spacing: 2px;
    font-weight: 100;
}

.btn-search {
    width: 50px;
    height: 50px;
    border-style: none;
    font-size: 20px;
    font-weight: bold;
    outline: none;
    cursor: pointer;
    border-radius: 50%;
    position: absolute;
    right: 0px;
    color: #ffffff;
    background-color: transparent;
    pointer-events: painted;
}

.btn-search:focus~.input-search {
    width: 300px;
    border-radius: 0px;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
}

.input-search:focus {
    width: 300px;
    border-radius: 0px;
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, .5);
    transition: all 500ms cubic-bezier(0, 0.110, 0.35, 2);
}

/*************************************************************
PUB
***********************************************************/

.pub-pic {
    width: 100%;
}

.pub-link {
    display: flex;
}

/***************************************************************
HIGHLIGHT
**************************************************************/

.highlight-shop {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-color);
    padding: 3em;
}

.highlight-title h2 {
    font-family: 'Fraunces', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: var(--yellow-color);
    padding-bottom: 1em;
    text-align: center;
}

.highlighters {
    display: flex;
    justify-content: space-between;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;

}

.highlight-card {
    width: 30%;
    cursor: pointer;
}

.highlight-pic {
    width: 100%;
}

.highlight-txt {
    padding: 1em;
    background-color: var(--tertiary-color);
}

.highlight-txt h3 {
    font-family: 'Fraunces', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--white-color);
    text-align: left;
}

.highlight-txt p {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--white-color);
    text-align: left;
    padding-bottom: 0.5em;
}

.button-shop {
    width: 90%;
    height: 2.5em;
    margin: 1em 0em 1em 0em;
}

.button-s {
    background-color: var(--tertiary-color);
    display: flex;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.highlight-card:hover {
    scale: 1.05;
}

.highlight-card:hover .button-s {
    visibility: visible;
    opacity: 1;
}

.button-shop:hover {
    background-color: var(--tertiary-color);
    color: var(--white-color);
    cursor: pointer;
    border: 3px solid var(--white-color);
}

/*****************************************************************
NEWSLETTEr
****************************************************************/

.newsletter {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    background: url(../images/bannn.png);
    background-attachment: fixed;
    background-position: left;
    background-size: contain;
    text-align: center;
    background-repeat: no-repeat;
    background-color: var(--tertiary-color);
    padding: 3em;
}

.newsletter h1 {
    font-family: 'Fraunces', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: var(--white-color);
    padding-bottom: 3px;
    text-align: center;
}

.newsletter p {
    font-family: 'Fraunces', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--secondary-color);
    padding-bottom: 1.5em;
}

#newsletter {
    height: 4em;
    padding: 2em;
    border: 4px solid var(--yellow-color);
    border-radius: 50em 0 0 50em;
    border-right: 0px;
    margin: 0;
}

#newsletter-button {
    width: 5em;
    border: 4px solid var(--yellow-color);
    border-radius: 0 50em 50em 0;
    border-left: 0px;
}

.newsletter-form {
    display: flex;
}

/**********************************************************
Produit
***********************************************************/

.product-container {
    display: flex;
    background-color: var(--tertiary-color);
}

.product-img {
    width: 48%;
}

.product-text {
    padding: 5em;
    width: 750px;
    color: var(--white-color);
}

.product-text h3 {
    font-family: 'Fraunces', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--secondary-color);
    text-align: left !important;
}

.product-text h1 {
    font-family: 'Fraunces', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: var(--white-color);
    padding-bottom: 0.5em;
}

.product-text strong {
    font-family: 'Fraunces', sans-serif;
    font-weight: 700;
    font-size: 25px;
    color: var(--white-color);
    padding-bottom: 0.5em;
}

#taille-select {
    width: 90%;
    height: 2.5em;
    margin-bottom: 1em;
    margin-top: 1em;
}

.desc {
    font-family: 'Fraunces', sans-serif;
    font-weight: 400;
    font-size: 15px;
    padding-bottom: 1.5em;
}

.value {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--white-color);
    text-align: left;
    padding-bottom: 0.5em;
}

/**********************************************************
PANIER 
***********************************************************/

.panier {
    background: #080725;
    color: white;
    padding: 30px;
}

.panier h3 {
    font-family: 'Fraunces', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--secondary-color);
    padding-bottom: 3rem;
    text-align: center;
}

.panier-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.produit-panier {
    display: flex;
    align-items: center;
    background: var(--white-color);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 700px;
    border: 1px solid #e0e0e0;
    color: black;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.produit-panier:hover {
    border-color: #333;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.panier-pic {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.produit-panier:hover .panier-pic {
    transform: scale(1.05);
}

.details-produit {
    flex-grow: 1;
    padding: 0 15px;
}

.nom-produit {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
}

.prix-produit,
.taille-produit {
    font-size: 14px;
    color: #555;
}

.form-supprimer {
    display: flex;
    align-items: center;
}

.btn-supprimer {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #dc3545;
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.btn-supprimer:hover {
    color: #b02a37;
    transform: scale(1.1);
}

.total-panier {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

.panier-vide {
    text-align: center;
    font-size: 18px;
    color: white;
}

.success-message {
    color: #50bc50;
    font-weight: bold;
    background-color: var(--tertiary-color);
    text-align: center;
    padding: 1rem;
}

.error-message {
    color: red;
    font-weight: bold;
    background-color: var(--tertiary-color);
    text-align: center;
    padding: 1rem;
}




.search-results {
    background-color: var(--tertiary-color);
    padding: 4rem;
}

.search-results h2 {
    font-family: 'Fraunces', sans-serif;
    font-weight: 700;
    font-size: 40px;
    color: var(--white-color);
    padding: 0px 0px 5px 0px !important;
    margin: 0px !important;
}

.search-results h3 {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
}

.search-results-container {
    width: 100%;
    max-width: 1200px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.product-card {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.15);
}

.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

.product-card p {
    font-size: 16px;
    color: #444;
}

.btn {
    display: inline-block;
    padding: 8px 12px;
    background: var(--yellow-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}

.btn:hover {
    background: var(--white-color);
    border: 1px solid var(--yellow-color);
    color: var(--yellow-color);
}