﻿
:root {
    --BG_COLOR: #333;
    --TXT_COLOR: #ccc;
    --LIGHT_COLOR: #444;
    --LIGHT_TEXT: #fff;
    --GREEN: #009e00;
    --DARK_GREEN: #093c00;
    --RED: #ff0000;
    --DARK_RED: #5f0000
}

html {
    font-size: 14px;
}

h1, h2 {
    font-family: Copperplate, Papyrus, fantasy
}


@media (min-width: 768px) {
    .hideOnDesktop {
        display: none;
    }
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: var(--BG_COLOR);
    color: var(--LIGHT_TEXT) !important;
}

body {
    margin-top: 90px;
}

footer {
    background-color: var(--LIGHT_COLOR);
    padding: 1rem;
    position: absolute;
    width: 100%;
    left: 0;
}

header {
    top: 0;
    left: 0;
    right: 0;
    margin: 10px;
    z-index: 1000;
}

.customHeader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--LIGHT_COLOR) !important;
}

.logo {
    height: 50px;
    width: 120px;
    object-fit: cover;
    border-radius: 15px
}

.logo-main {
    height: 30rem;
    width: 100%;
    object-fit: cover;
}

h2, p {
    margin: 0;
    padding: 0;
}

.contenu-parallax-section {
    height: 100vh;
    background-color: var(--LIGHT_COLOR);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

#hero {
    background-color: var(--BG_COLOR);
}

    #hero h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    #hero h1 {
        font-weight: bold;
        margin-bottom: 50px;
        font-size: 3rem;
    }


.img-about {
    width: 30rem;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.img-index {
    max-width: 40rem;
    max-height: 30rem;
    border-radius: 10px;
}

.contactinfo-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

    .contactinfo-list li {
        margin-bottom: 1rem;
    }

section {
    padding: 2rem 0;
    text-align: center;
}

#services {
    background: radial-gradient( circle, var(--LIGHT_COLOR) 0%, var(--BG_COLOR) 95% );
    padding: 3rem 0;
    position: relative;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}


.services-list {
    list-style: none;
    padding: 0;
    padding-top: 10px;
    display: flex;
    margin-top: 2rem;
    margin: 0;
    gap: 2rem;
    scroll-behavior: smooth;
}

    .services-list li {
        background-color: var(--LIGHT_COLOR);
        border: 2px solid var(--LIGHT_TEXT);
        border-radius: 10px;
        padding: 20px;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
        flex: 0 0 auto;
        margin-right: 20px;
        width: 225px;
        z-index: 500;
    }

        .services-list li:hover {
            transform: scale(1.05);
        }

    .services-list img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        margin-bottom: 15px;
        border: 1px solid var(--BG_COLOR);
    }

    .services-list p {
        font-size: 1.2rem;
        font-weight: 350;
        color: var(--LIGHT_TEXT);
        white-space: normal;
    }

    .services-list h3 {
        font-size: 1.3rem;
        font-weight: 750;
        color: var(--LIGHT_TEXT);
    }

    .services-list h4 {
        font-size: 1.3rem;
        font-weight: 500;
    }

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    z-index: 999;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.arrow:hover {
    font-size: 3rem;
}

#confiance {
    background: radial-gradient( circle, var(--LIGHT_COLOR) 0%, var(--BG_COLOR) 95% );
    padding: 3rem 0;
    text-align: center;
}

#contact {
    padding: 3rem 0;
    text-align: center;
}


    #contact p {
        font-size: 1.1rem;
        font-weight: 300;
    }


.confiance-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

    .confiance-list li {
        flex: 1 1 300px;
        margin: 15px;
        text-align: center;
    }

    .confiance-list img {
        width: 120px;
        height: 120px;
        object-fit: contain;
        margin-bottom: 10px;
        filter: grayscale(100%)
    }

    .confiance-list p {
        font-size: 1.1rem;
        font-weight: 300;
        text-decoration: none;
    }

#contact a:hover {
    text-decoration: underline;
}


h1 {
    text-align: center;
    margin-bottom: 20px;
}

hr {
    border: 0;
    height: 1px;
    background: var(--LIGHT_TEXT);
    margin-bottom: 20px;
}


.form-check-label {
    color: var(--LIGHT_TEXT);
}

/* nb d'items selon l'ecran */
@media (max-width: 768px) {
    .catalog-item {
        width: calc(50% - 1rem);
    }
}

@media (max-width: 576px) {
    .catalog-item {
        width: 100%;
    }
}

.search-container {
    position: fixed;
    top: 80px;
    right: 10px;
    z-index: 9999;
    background-color: #f7e8d5;
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 300px;
    width: 100%;
    text-align: center;
}

.search-bar {
    width: 100%;
    padding: 10px 15px;
    border-radius: 25px;
    border: 2px solid #d2a679;
    outline: none;
    font-size: 16px;
    color: #5a3e2b;
    background-color: #fff;
    box-shadow: inset 0px 2px 5px rgba(0, 0, 0, 0.1);
}

    .search-bar::placeholder {
        color: #d2a679;
        font-style: italic;
    }

.search-results {
    margin-top: 10px;
    background-color: #fff;
    border: 1px solid #d2a679;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 300px;
    overflow-y: auto;
    font-size: 14px;
    color: #5a3e2b;
}

    .search-results div {
        padding: 5px 10px;
        border-bottom: 1px solid #f0d4b1;
    }

        .search-results div:last-child {
            border-bottom: none;
        }

        .search-results div:hover {
            background-color: #f0d4b1;
            cursor: pointer;
        }

.search-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
}

.search-container:hover {
    width: 300px !important;
}

.search-link {
    text-decoration: none;
    color: #5a3e2b;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-image {
    width: 60px;
    height: 40px;
    border-radius: 15px;
    margin-right: 15px;
    border: 2px solid #d2a679;
}

.search-item strong {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.search-item span {
    font-size: 12px;
    color: #a37656;
}

.search-divider {
    border: 0;
    height: 1px;
    background-color: #f0d4b1;
    margin: 10px 0;
}

.search-item:hover {
    background-color: #f7e8d5;
    cursor: pointer;
}


.filter-section {
    position: fixed;
    top: 70px;
    left: 0;
    width: 250px;
    height: calc(100% - 70px);
    background-color: #f8f9fa;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.content-section {
    margin-left: 270px;
    padding: 20px;
}

.slider-label {
    display: flex;
    justify-content: space-between;
}

.product-details-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

    .product-details-container h1 {
        text-align: center;
        margin-bottom: 20px;
    }

.product-image {
    text-align: center;
    margin-bottom: 20px;
}

    .product-image img {
        height: 300px;
        border-radius: 12px;
    }

.product-description {
    text-align: justify;
    padding: 1.5rem;
    background-color: var(--LIGHT_COLOR);
    border-radius: 8px;
    width: 100%;
    margin: 0 auto;
    line-height: 1.6;
    font-size: 1.1rem;
}


.product-info {
    padding: 1.5rem;
    background-color: var(--LIGHT_COLOR);
    border-radius: 15px;
}

    .product-info h4 {
        font-size: 18px;
        color: var(--LIGHT_TEXT);
        margin-top: 15px;
    }

    .product-info p {
        font-size: 16px;
        margin: 5px 0;
    }

.pagination-container {
    padding: 20px 0;
}

.pagination {
    background-color: #f7e8d5;
    padding: 10px 20px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

    .pagination .page-item {
        margin: 0 5px;
    }

.page-link {
    background-color: #fff;
    color: #5a3e2b;
    border: 1px solid #d2a679;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
}

    .page-link:hover {
        background-color: #d2a679;
        color: #fff;
    }

.pagination .active .page-link {
    background-color: #d2a679;
    color: #fff;
    border: none;
}

.pagination .disabled .page-link {
    background-color: #f0d4b1;
    color: #aaa;
    border: none;
    cursor: not-allowed;
}

.customHeader {
    background-color: #f7e8d5;
    padding: 10px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-bottom: var(--LIGHT_TEXT) 1px solid;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url('data:image/svg+xml;charset=UTF8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%2730%27 height=%2730%27 viewBox=%270 0 30 30%27%3E%3Cpath stroke=%27rgba%280, 0, 0, 0.5%29%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-miterlimit=%2710%27 d=%27M4 7h22M4 15h22M4 23h22%27/%3E%3C/svg%3E');
}

.user-controls {
    display: flex;
}

    .user-controls .btn-custom {
        background-color: var(--LIGHT_TEXT);
        color: var(--LIGHT_COLOR);
        border-radius: 20px;
        padding: 5px 15px;
        margin-right: 10px;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
        width: 150px;
    }

        .user-controls .btn-custom:hover {
            background-color: var(--LIGHT_COLOR);
            color: var(--LIGHT_TEXT);
            border: 1px solid var(--LIGHT_TEXT);
        }

    .user-controls a i.fa-cart-shopping {
        font-size: 2rem;
        color: var(--LIGHT_TEXT);
        transition: color 0.3s linear;
    }

        .user-controls a i.fa-cart-shopping:hover {
            transform: scale(1.2)
        }

.function-buttons {
    display: flex;
    margin-left: 10px
}

.cart-count {
    position: relative;
    background-color: darkred;
    color: white;
    font-size: 14px;
    font-weight: bold;
    border-radius: 50%;
    padding: 5px 10px;
    margin-right: 10px;
    display: none;
    min-width: 25px;
    text-align: center;
}

.cart-link {
    font-size: 24px;
    color: #333;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

    .cart-link:hover {
        transform: scale(1.1);
        color: #ff6f61;
    }

.cart-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .cart-card:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

.bg-light {
    background-color: #f8f9fa !important;
}

.btn-header {
    background-color: var(--LIGHT_COLOR);
    color: var(--LIGHT_TEXT);
    padding: 10px 20px;
    cursor: pointer;
    text-decoration: none;
    border-radius: 15px;
    font-size: 18px;
}

    .btn-header:hover {
        background-color: var(--LIGHT_TEXT);
        color: var(--LIGHT_COLOR);
    }

.saz-glow-btn {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 15px 30px;
    background-color: #444;
    border: 2px solid #ccc;
    border-radius: 15px;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.3s;
}

    .saz-glow-btn:hover {
        background-color: #ccc;
        color: #444;
    }

.saz-green-glow-btn {
    color: var(--GREEN);
    text-decoration: none;
    font-weight: bold;
    margin: 15px 0;
    padding: 15px 30px;
    background-color: var(--DARK_GREEN);
    border: 2px solid var(--GREEN);
    border-radius: 15px;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.3s;
}

    .saz-green-glow-btn:hover {
        color: var(--DARK_GREEN);
        background-color: var(--GREEN);
    }

.saz-red-glow-btn {
    color: var(--RED);
    text-decoration: none;
    font-weight: bold;
    margin: 15px 0;
    padding: 15px 30px;
    background-color: var(--DARK_RED);
    border: 2px solid var(--RED);
    border-radius: 15px;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.3s;
}

    .saz-red-glow-btn:hover {
        color: var(--DARK_RED);
        background-color: var(--RED);
    }


.headerListCustom {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

    .headerListCustom li {
        flex: 1;
        text-align: center;
    }

    .headerListCustom button {
        width: 100%;
        padding: 10px;
        border: none;
        border-radius: 5px;
        background-color: var(--LIGHT_COLOR);
        color: var(--LIGHT_TEXT);
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .headerListCustom button:hover {
            background-color: var(--LIGHT_TEXT);
            color: var(--LIGHT_COLOR);
        }

.saz-gradient {
    background: linear-gradient(135deg, var(--LIGHT_COLOR) 60%, var(--BG_COLOR) 100%);
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    margin: 2rem auto 2rem auto;
    padding: 3rem 2rem 2rem 2rem;
    max-width: 900px;
    position: relative;
    z-index: 2;
    text-align: center;
}

#contacts {
    background: linear-gradient(135deg, var(--LIGHT_COLOR) 60%, var(--BG_COLOR) 100%);
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    margin: 2rem auto 2rem auto;
    padding: 3rem 2rem 2rem 2rem;
    max-width: 900px;
    position: relative;
    z-index: 2;
}

    #contacts h1 {
        font-size: 2.3rem;
        margin-bottom: 1.5rem;
        letter-spacing: 1px;
        text-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }

    #contacts .lead {
        color: var(--TXT_COLOR);
        font-size: 1.25rem;
        font-weight: 400;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    #contacts a.btn-success {
        border: none;
        color: #fff;
        font-weight: 600;
        border-radius: 30px;
        box-shadow: 0 2px 8px rgba(79,47,29,0.12);
        transition: background 0.3s, transform 0.2s;
        margin-left: 0.5rem;
    }

        #contacts a.btn-success:hover {
            color: var(--LIGHT_TEXT);
            transform: scale(1.05);
        }

    #contacts .text-muted {
        font-size: 1rem;
        margin-top: 1.5rem;
        display: block;
        color: var(--TXT_COLOR) !important
    }

.saz-description-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1rem;
    background: radial-gradient(circle, var(--LIGHT_COLOR) 0%, var(--BG_COLOR) 95%);
    border-radius: 15px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.saz-title {
    font-size: 3rem;
    text-align: center;
    font-family: Copperplate, Papyrus, fantasy;
    margin-bottom: 2rem;
}

.saz-text {
    font-size: 1.3rem;
    line-height: 1.9;
    color: var(--LIGHT_TEXT);
}

    .saz-text ul {
        margin: 1rem 0;
        padding-left: 1.5rem;
    }

    .saz-text li {
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

.saz-image {
    margin-top: 2rem;
    text-align: center;
}

    .saz-image img {
        max-width: 100%;
        height: auto;
        border-radius: 20px;
        border: 3px solid var(--LIGHT_TEXT);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }

.saz-description-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1rem;
    background: radial-gradient(circle, var(--LIGHT_COLOR) 0%, var(--BG_COLOR) 95%);
    border-radius: 15px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.saz-title {
    font-size: 2.8rem;
    text-align: center;
    font-family: Copperplate, Papyrus, fantasy;
    margin-bottom: 2rem;
}

.saz-text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--LIGHT_TEXT);
}

    .saz-text ul {
        margin: 1rem 0;
        padding-left: 1.5rem;
    }

    .saz-text li {
        margin-bottom: 0.6rem;
        font-weight: 500;
    }

    .saz-text h2 {
        font-size: 1.8rem;
        margin-top: 2rem;
        margin-bottom: 0.5rem;
        font-family: Copperplate, Papyrus, fantasy;
    }

    .saz-text h3 {
        font-size: 1.5rem;
        margin-top: 1.5rem;
        font-style: italic;
    }

.rule-section {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.rule-icon {
    height: 25rem;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
}

.rule-section > div {
    flex: 1;
}

.team-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 1rem;
    background: radial-gradient(circle, var(--LIGHT_COLOR) 0%, var(--BG_COLOR) 95%);
    border-radius: 15px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.saz-title {
    font-size: 2.8rem;
    text-align: center;
    font-family: Copperplate, Papyrus, fantasy;
    margin-bottom: 3rem;
}

.team-member-vertical {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
    background-color: var(--LIGHT_COLOR);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.team-photo-vertical {
    aspect-ratio: 1/1;
    width: 30rem;
    object-fit: cover;
    border-radius: 15px;
}

.team-info {
    flex: 1;
}

.member-name {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--LIGHT_TEXT);
    font-family: Copperplate, Papyrus, fantasy;
    margin-bottom: 0.3rem;
}

.member-role {
    font-size: 1.2rem;
    font-weight: 500;
    color: #ccc;
    margin-bottom: 1rem;
}

.member-description {
    font-size: 1.1rem;
    color: var(--LIGHT_TEXT);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.member-socials a {
    color: var(--LIGHT_TEXT);
    font-size: 1.4rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

    .member-socials a:hover {
        color: #ccc;
    }

.collab-card {
    width: 100%;
    margin: 0px 16px 0px 16px;
    text-decoration: none;
    color: var(--LIGHT_TEXT);
    transition: transform 0.3s ease;
}

    .collab-card:hover {
        transform: scale(1.1);
        color: var(--LIGHT_TEXT);
        text-decoration: underline;
    }

.collab-logo {
    width: 60px;
    aspect-ratio: 1/1;
}

.social-logo {
    font-size: 2rem;
}

.table-container {
    background-color: var(--LIGHT_TEXT);
    border-radius: 12px;
    padding: 20px;
}

.product-card {
    border: 2px solid var(--LIGHT_COLOR);
    height: 550px;
    border-radius: 12px;
    padding: 16px;
    background-color: var(--LIGHT_COLOR);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--LIGHT_TEXT)
}

    .product-card:hover {
        transform: scale(1.02);
        color: var(--LIGHT_TEXT)
    }

.product-card-body {
    flex: 1;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    padding: 10px 0 10px 0;
}

.product-card-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    aspect-ratio: 4/3;
    border-radius: 12px;
}

.product-card-text {
    max-height: 95px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    white-space: normal;
}

.product-card-footer {
    margin-top: auto;
}

.product-card-title {
    text-align: center;
    margin-bottom: 8px;
    color: var(--LIGHT_TEXT)
}

.panier-product-card {
    border: 2px solid var(--LIGHT_COLOR);
    border-radius: 12px;
    padding: 16px;
    background-color: var(--LIGHT_COLOR);
    display: flex;
    text-decoration: none;
    color: var(--LIGHT_TEXT);
    margin-bottom: 18px;
}

.panier-product-card-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    aspect-ratio: 4/3;
    border-radius: 12px;
}

.panier-product-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    height: 70%;
}

.panier-product-card-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    white-space: normal;
    font-size: 1.2rem;
}

.panier-product-card-footer{
    margin-left: 20px; 
}

.panier-product-card {
    position: relative;
    padding: 1rem;
}

.panier-remove-btn {
    position: absolute;
    top: 0px;
    right: 15px;
}

    .panier-remove-btn button {
        font-size: 0.9rem;
        padding: 5px 10px;

    }

.saz-small-glow-btn {
    padding: 5px 10px;
    font-size: 0.9rem;
}

.saz-qty-btn {
    color: #fff;
    background-color: #444;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 5px 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

    .saz-qty-btn:hover {
        background-color: #ccc;
        color: #444;
    }

.ajouter-adresse-btn{
    position: absolute;
    top: 8%;
    right: 0;
}

.modal-dialog {
    margin-top: 150px;
}

.modal-content{
    background-color: var(--LIGHT_COLOR);
}

.saz-input{
    background-color: var(--LIGHT_TEXT);
}

.commande-product-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    aspect-ratio: 4/3;
    border-radius: 12px;
}

.commande-product-card{
    width: 150px;
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    background-color: var(--LIGHT_COLOR);
}

.payment-details-container {
    display: flex;
    gap: 50px;
    border-radius: 12px;
    background-color: var(--LIGHT_COLOR);
    padding: 20px;
    align-items: flex-start;
}

.commande-form {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-actions {
    margin-top: auto;
    text-align: right;
}

.billing-summary > div {
    margin-bottom: 8px;
}

.terms-submit-btns{
    position: absolute;
    right: 2%;
    bottom: 0;
    width: 51%;
}

.saz-section-card {
    background-color: var(--LIGHT_COLOR);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.saz-section-title {
    font-family: Copperplate, Papyrus, fantasy;
    font-size: 1.8rem;
    color: var(--LIGHT_TEXT);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--LIGHT_TEXT);
    padding-bottom: 0.5rem;
    text-align: left;
}

.saz-section-body {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--LIGHT_TEXT);
}

.saz-etat-badge {
    background-color: var(--GREEN);
    color: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
}

.saz-photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.saz-photo-item {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 15px;
    background-color: transparent;
}

    .saz-photo-item:hover {
        transform: translateY(-5px);
    }

.saz-photo-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 400px;
}

.saz-photo-title {
    margin: 0.75rem 1rem 0 1rem;
    font-size: 1.2rem;
    color: var(--TXT_COLOR);
    text-align: center;
}

.saz-photo-description {
    margin: 0.5rem 1rem 1rem 1rem;
    font-size: 0.95rem;
    color: var(--TXT_COLOR);
    text-align: center;
}

.saz-photo-item.no-description {
    grid-row: span 1;
}

.saz-photo-item.with-description {
    grid-row: span 2;
}

.histoire-image {
    width: 300px;
    height: 300px; 
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}




@media (max-width: 768px) {
    .team-member-vertical {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .team-photo-vertical {
        width: 150px;
        height: 150px;
    }

    .team-info {
        margin-top: 1.5rem;
    }
}
