:root {
    --primary-black-color: 7, 4, 2;
    --secondary-black-color: 20, 20, 20, 0.176;
    --primary-yellow-color: 221, 146, 26;
    --secondary-yellow-color: 156, 110, 33;
    --marroon-color: 126, 69, 9;
    --green-color: 108, 98, 51;
}

.btn-primary-yellow {
    background-color: rgba(var(--primary-yellow-color), 0.9) !important;
    color: white !important;
    border: none !important;
}


html,body {
    font-family: "Montserrat", sans-serif;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    background-image: url("../img/home-back.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    width: 100%;
    padding-top: 30px;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 2px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgb(var(--primary-yellow-color));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgb(var(--primary-yellow-color));
}

::-webkit-scrollbar-track {
    background: rgb(var(--primary-black-color));
}

#scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: rgb(var(--primary-yellow-color));
    color: white;
    border: none;
    border-radius: 0%;
    padding: 10px 15px;
    font-size: 18px;
    cursor: pointer;
    display: none;
    z-index: 1000;
}

button #StoreButtom {
    padding: O;
    display: flex;
    justify-content: center;
    align-items: center;
}

#StoreButtom {
    position: fixed;
    top: 25%;
    right: 25px;
    background-color: rgb(var(--primary-yellow-color));
    z-index: 1000;
    padding: 8px;
    border-radius: 20px;
    border: none;
}
#StoreButtom:hover {
    transform: scaleX(1.07);
    transition: 0.4s;
}

#StoreButtom p {
    margin: 0;
    padding: 0;
    color: white;
    font-size: 12px;
}

#scrollToTop:hover {
    background-color: rgb(var(--primary-yellow-color));
    transform: scaleX(1.11);
    transition: 2s;
}

#toast-container .toast-success {
    background-color: rgb(var(--primary-black-color));
    color: #ffffff;
}

.custom-toast-success {
    background-color: rgb(var(--primary-black-color));
    color: white;
    border: 1px solid rgb(var(--secondary-yellow-color));
}

.navbar-custom {
    background-color: rgb(var(--primary-black-color));
    padding-top: 1rem;
    padding-left: 5rem;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
}

.navbar-brand {
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    margin-right: auto;
}

.navbar-collapse {
    display: flex;
    justify-content: flex-end;
}

.navbar-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-right: 5rem;
}

.navbar-nav.end-right {
    margin-left: auto;
    display: flex;
    justify-content: flex-end;
}

.nav-item {
    margin-left: 10px;
}

.navbar-nav .nav-link {
    font-size: 16px;
    color: #ddd;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: rgb(var(--primary-yellow-color));
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
    color: #fff;
}

.navbar-nav .nav-link:hover::after {
    width: 70%;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28155, 155, 155, 1%29' stroke-width='2' linecap='round' linejoin='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-collapse .profile-icon {
    color: white;
    border-radius: 50%;
    margin-right: 1.7rem;
}

.navbar-collapse .profile-icon .nav-icon {
    color: #ffffff;
}

.navbar-collapse .profile-icon .nav-icon:hover {
    color: rgb(var(--secondary-yellow-color));
}

/*responsivité du header*/
@media (max-width: 992px) {
    .navbar-custom {
        padding-top: 0.5rem;
        padding-left: 2rem;
        height: auto;
    }

    .navbar-brand {
        font-size: 20px;
    }

    .navbar-nav {
        flex-direction: column;
        margin-right: 0;
        margin-left: 0;
    }

    .navbar-nav.end-right {
        justify-content: center;
    }

    .nav-item {
        margin-left: 0;
        margin-bottom: 0.5rem;
    }

    .profile-icon {
        margin-right: 0;
        margin-top: 0.5rem;
    }
}

@media (max-width: 576px) {
    .navbar-custom {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .navbar-logo {
        max-height: 40px; /* Adjust logo size for smaller screens */
    }

    .navbar-nav .nav-link {
        font-size: 14px;
    }
}

.dropdown-menu {
    background-color: rgb(var(--primary-black-color));
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    max-width: 400px;
    white-space: nowrap;
}

.dropdown-item {
    color: #ddd;
    font-size: 14px;
}

.dropdown-item:hover {
    background-color: #333;
    color: rgb(var(--secondary-yellow-color));
}

.user-email {
    font-weight: bold;
    color: #ffffff;
    font-size: 14px;
    margin-left: 5px;
}

.user-email:hover {
    text-decoration: none;
}

.nav-icon .fas.fa-user {
    margin-right: 5px;
}

.nav-icon:hover {
    color: white;
    text-decoration: none;
}

.home {
    height: 100vh;
}

#hero {
    margin-top: 2.5rem;
    width: 100%;
    height: 82vh;
    /* transform: translate3d(26px); */
    transform-origin: center;
    mask-image: url("../svg/cursive.png");
    mask-repeat: no-repeat;
    mask-size: 100% 100%;
    mask-position: center;
}

.hero-div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.video {
    width: 250vw;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
}
@media (min-width: 1920px) {
    .video {
        width: 120vw;
        height: 100vh;
        left: -10vw;
    }
}



.home-second-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.home-title h4 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 800px;
}

.home-second-section a {
    font-size: 16px;
    color: white;
    background-color: transparent;
    border: 1px solid rgb(var(--primary-yellow-color));
    padding: 8px 30px;
    cursor: pointer;
}

.home-second-section a:hover {
    color: white;

    background-color: rgb(var(--primary-yellow-color));
    cursor: pointer;
    border: none;
    transform: scale(1.05);
    transition: 2s;
}

.home-second-section a:focus {
    outline: none;
}

.frequently-asked {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;

    padding: 3.5em;

    border-top: 0.5px solid rgb(var(--green-color), 0.45);
}

.frequently-asked .accordion {
    width: 100%;
    max-width: 70%;
}

.frequently-asked .accordion-title {
    color: white;
    font-size: 2em;

    margin-bottom: 2rem;
    text-align: center;
    font-weight: bold;
}

.frequently-asked .accordion-item {
    border: none;
    background-color: rgb(0, 0, 0, 0.2);
    border-radius: 5px;
}

.frequently-asked .accordion-header {
    color: white;
    background-color: rgb(var(--primary-black-color));
    border: none;
    width: 100%;
    text-align: left;
    padding: 0.6rem;
    outline: none;
    cursor: pointer;
    font-size: 1.15rem;

    transition: background-color 0.3s, color 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.frequently-asked .accordion-header i {
    transition: transform 3s;
    color: rgb(var(--secondary-yellow-color));
}

.frequently-asked .accordion-header:hover {
    background-color: #242323;
}

.frequently-asked .accordion-header.active {
    background-color: rgb(var(--primary-black-color), 0.4);
    color: rgb(var(--secondary-yellow-color));
}

.frequently-asked .accordion-content {
    padding: 15px;
    max-height: 0;
    display: none;
    overflow: hidden;
    background-color: rgb(var(--green-color), 0.3);
    color: white;
    font-size: 0.95em;

    transition: max-height 5s ease-out, display 5s ease-out;
}

.frequently-asked .accordion-content.show {
    max-height: 500px;
    display: block;
}

@media (max-width: 768px) {
    .frequently-asked .accordion {
        width: 80%;
    }
}

.what-offer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5rem;
    background: linear-gradient(
        to right,
        rgb(var(--primary-black-color)),
        transparent
    );

    height: auto;
    gap: 2rem;
    flex-wrap: wrap;
}

.preview {
    flex: 1;
    max-width: 33%;
    width: 500px;
    height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
    background: rgba(var(--primary-black-color) 0.6);
    border: 2px solid rgb(var(--green-color));
}

.preview img,
.preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}
.preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* .title {
    flex: 1;
    padding-right: 20px;
    text-align: left;
    width: 100%;
}

.title h2 {
    display: flex;
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 30px;
    border-bottom: 1px solid white;
} */

.qualities {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    width: 50%;
    height: 100%;
}

.quality {
    position: relative;
    color: white;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 1px;
    padding: 10px;
    max-width: calc(50% - 20px);
    box-sizing: border-box;
    overflow: hidden;
    cursor: pointer;
}

.quality::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgb(var(--secondary-yellow-color));
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

.quality:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.quality h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.quality p {
    font-size: 0.88rem;
    color: #ffffff;
    line-height: 1.5;
    font-weight: 200;
}

@media (max-width: 1180px) {
    .what-offer {
        flex-direction: column;
        padding: 2rem;
    }

    .preview {
        display: none;
    }

    .qualities {
        width: 100%;
    }

    .quality {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .quality h3 {
        font-size: 1.2rem;
    }

    .quality p {
        font-size: 0.9rem;
    }
}

.contact-back {
    background-image: url("../img/HighresScreenshot00006.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.contact-back::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--primary-black-color) 0.8);
}

.contact-content {
    max-width: 80%;
    padding: 20px;
}

.contact-back h4 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.contact-back button,
.contact-send {
    width: 30%;
    height: 100%;
    background-color: transparent;
    color: white;
    font-size: 16px;
    border: 1px solid rgb(var(--primary-yellow-color));
    padding: 0.3em;
    margin-top: 1rem;
}

.contact-back button:hover {
    color: white;
    background-color: rgb(var(--secondary-yellow-color));
    cursor: pointer;
    border: none;
    transform: scale(1.05);
    transition: 2s;
}

/* Footer */
.footer {
    color: #fff;
    padding: 40px 20px;
    position: relative;
    background-color: rgb(var(--primary-black-color));
    border-top: 1px solid white;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    margin: 10px;
    min-width: 200px;
}

.footer-section h4 {
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-section p {
    font-size: 0.9em;
    line-height: 1.6;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: rgb(var(--primary-yellow-color));
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #fff;
    font-size: 1.5em;
    transition: color 0.3s;
}

.social-icon:hover {
    color: rgb(var(--primary-yellow-color));
}

.footer-bottom {
    background-color: rgba(var(--green-color), 0.1);
    text-align: center;
    padding: 10px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9em;
}

/* For store pages */

.banner {
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;

    padding: 40px 10px;
    margin: 0;
    height: 45vh;

    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--primary-black-color), 0.5);
    z-index: 0;
}

.banner-content {
    position: relative;

    max-width: 100%;

    margin: 0 auto;
}

.banner-content h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 1rem;
    line-height: 1.4;
    max-width: 90%;
    margin: 0 auto;
}

@media screen and (min-width: 768px) {
    .banner {
        height: 50vh;
        padding: 50px 20px;
    }

    .banner-content h1 {
        font-size: 4rem;
        margin-bottom: 15px;
    }

    .banner-content p {
        font-size: 1.2rem;
        line-height: 1.6;
        max-width: 80%;
    }
}

@media screen and (min-width: 1024px) {
    .banner {
        height: 55vh;
        padding: 60px 40px;
    }

    .banner-content h1 {
        font-size: 5rem;
        font-weight: 100;
        margin-bottom: 20px;
    }

    .banner-content p {
        font-size: 1.2rem;
        line-height: 1.8;
        max-width: 800px;
    }
}

/*filters*/

.typesearchbar input {
    border-radius: 30px;
}

.tag-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.tag-filter a {
    color: white;
    text-decoration: none;
    padding: 5px 7px;
    background-color: rgba(var(--green-color), 0.5);
    transition: background-color 1s ease;
}

.tag-filter a:hover {
    background-color: rgb(var(--secondary-yellow-color));
}

.type-filter {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    border: none;
}
.type-filter select .typefilteroption {
    background-color: rgba(var(--secondary-black-color), 0.7);
}
.type-filter a {
    padding: 5px;
}
.type-filter select {
    padding: 10px;
    color: white;
    text-decoration: none;
    background-color: rgba(var(--green-color), 0.5);
    transition: background-color 1s ease;
}
.type-filter select:focus {
    border: none;
}
.type-filter button {
    padding: 10px;
    color: white;
    text-decoration: none;
    background-color: rgba(var(--green-color), 0.5);
    transition: background-color 1s ease;
}

.random {
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.promotion-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(102, 60, 16, 0.705);
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 1em;
}

.dynamic-box {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    max-width: 30%;
    max-height: 70%;
    padding: 40px;
    background-color: rgba(var(--primary-black-color), 0.55);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.dynamic-box a {
    background-color: rgba(var(--primary-black-color), 0.55);
    border-radius: 25px;
    border: 1px solid rgb(var(--marroon-color));
    text-decoration: none;
    color: white;
}

.dynamic-box a:hover {
    text-decoration: none;
    color: white;
    transition: background-color 2s ease;
}

.position-left {
    left: 0;
    margin-left: 40px;
}

.position-right {
    right: 0;
    margin-right: 40px;
}

.product-title {
    color: rgb(var(--primary-yellow-color));
    font-size: 1.8em;
    margin-bottom: 10px;
    font-weight: bold;
}

.product-description {
    font-size: 1.1em;
}

.product-show-details {
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 1s;
    background-color: transparent;
    color: white;
    font-size: 0.9em;

    border: 1px solid rgb(var(--primary-yellow-color));
    margin-top: 1rem;
}

.product-show-details:hover {
    background-color: rgba(var(--secondary-yellow-color), 0.65);
}

.kit-category {
    top: 10%;
    display: flex;
    color: white;

    font-size: 1.1em;
    font-weight: 400;
    position: absolute;
    align-items: center;
    padding: 10px;
    justify-content: center;

    transform: translateY(-50%);
    border: 1px solid rgb(var(--primary-yellow-color));
    background-color: rgba(var(--primary-black-color), 0.55);
}

.kit-category p {
    margin: 0;
}

@media screen and (max-width: 1124px) {
    .random {
        height: 80vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .promotion-banner {
        font-size: 0.9em;
        padding: 8px;
    }

    .dynamic-box {
        max-width: 90%;
        padding: 15px;
        font-size: 0.8em;
        transform: translateY(-20%);
    }

    .product-title {
        font-size: 1.5em;
    }

    .product-show-details {
        font-size: 14px;
        padding: 8px 16px;
    }

    .kit-category {
        top: 10%;
        right: 0%;
        font-size: 0.45em;
        padding: 5px;
        margin: 0.5rem;
        width: auto;
        height: auto;
        overflow: hidden;
    }

    .tag-filter {
        flex-wrap: wrap;
        flex-direction: row;
    }

    .pagination-links {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
}

@media screen and (max-width: 480px) {
    .dynamic-box {
        padding: 10px;
        font-size: 0.75em;
        transform: translateX(-5%);
    }

    .promotion-banner {
        font-size: 0.8em;
    }

    .product-title {
        font-size: 1.2em;
    }

    .product-show-details {
        font-size: 12px;
        padding: 6px 12px;
    }

    .kit-category {
        top: 15%;
        right: 0%;
        width: 3rem;
        height: auto;
        overflow: hidden;
        font-size: 0.6rem;
    }

    .pagination-links a,
    .pagination-links span {
        font-size: 0.75em;
    }
}

.aucun-kit {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
}

.pagination-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

.pagination-links a,
.pagination-links span {
    color: white;
    text-decoration: none;
    padding: 5px 7px;
    background-color: rgba(var(--marroon-color), 0.3);
    transition: background-color 0.68s ease;
}

.pagination-links a:hover {
    background-color: rgba(var(--secondary-yellow-color), 0.7);
}

.pagination-links .active span {
    background-color: rgba(var(--secondary-yellow-color), 0.7);
    font-weight: bold;
}

/*End store page*/

/*Detail page*/

.kit-detail {
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.product-detail-title {
    color: rgb(var(--primary-yellow-color));
    margin-bottom: 10px;
    font-weight: 900;
}

.product-detail-media {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.product-media {
    position: relative;
    flex: 1;
    width: 60%;
    overflow: hidden;
}

.carousel {
    display: flex;
    transition: transform 1.75s ease-in-out;
}

.carousel-item {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-video {
    width: 100%;
    height: 450px;
    border-radius: 0px;
}

.detail-title {
    color: rgb(var(--primary-yellow-color));
    font-size: 1.8em;
    font-weight: bold;
    padding: 0;
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(var(--primary-black-color), 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover,
.next:hover {
    background-color: rgba(var(--primary-black-color), 0.8);
}

.description {
    gap: 0px;
    width: 40%;
    display: flex;
    padding: 25px;
    color: white;
    flex-direction: column;
    background-color: rgba(var(--primary-black-color), 0.4);
}

.description h3 {
    font-size: 1.5rem;
}

.description p {
    margin: 0;
    padding: 0;
    font-size: 1em;
}

.description .buyer-container {
    margin: 25px 25px 10px;
    border: 2px solid wheat;
    background-color: rgba(var(--green-color), 0.25);
    border-radius: 18px;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    width: 80%;
    position: relative;
}

.description .reach-us-link {
    display: block;
    text-align: center;
    color: #1e90ff; /* Blue color */
    text-decoration: none;
    padding: 10px 0;
    border-top: 1px solid #444;
    bottom: 10px;
    left: 10px;
    right: 10px;
}

#messageField {
    width: 100%;
    height: 100px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: none;
    box-sizing: border-box;
}

.description .reach-us-link:hover {
    text-decoration: underline;
}

.description .buyer-container .buyer {
    padding: 20px;
    font-weight: bold;
    color: grey;
    display: flex;
    justify-content: start;
    flex-direction: column;
    width: 100%;
}

.description .buyer-container .buyer p {
    font-size: 1.2rem;
}

.category-value {
    margin-left: 30px;
    font-size: 18px;
    font-weight: bold;
    color: white;
}

/* .format-options {
    display: flex;
    flex-wrap: wrap;
}

.format-item {
    margin-right: 15px;
    margin-bottom: 10px;
}

.format-item label {
    margin-left: 5px;
} */
.format-item {
    position: relative;
    display: inline-block;
    margin: 5px;
}

.format-image {
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s ease-in-out;
}

.format-image:hover {
    transform: scale(1.1);
}

.format-item label {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.format-item:hover label {
    opacity: 1;
    visibility: visible;
}


.button-container {
    display: flex;
    justify-content: center;
    margin-bottom: 7px;
}

.pricing-button {
    width: 100%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-top: 1rem;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 1.3s;
    background-color: rgba(var(--primary-black-color), 0.15);
    border: 1px solid rgb(var(--secondary-yellow-color));
}

.pricing-button:hover {
    text-decoration: none;
    background-color: rgba(var(--primary-yellow-color), 0.9);
    color: white;
    border: 1px solid rgb(var(--secondary-yellow-color));
}

.pricing-button:focus {
    text-decoration: none;
    width: 100%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-top: 1rem;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 1.3s;
    background-color: rgba(var(--primary-black-color), 0.15);
    border: 1px solid rgb(var(--secondary-yellow-color));
    box-shadow: none;
}

@media (max-width: 1024px) {
    .kit-detail {
        flex-direction: column;
        align-items: center;
    }

    .product-detail-media {
        flex-direction: column;
        width: 100%;
    }

    .product-media {
        width: 100%;
    }

    .carousel-video {
        height: 300px;
    }

    .description {
        width: 100%;
        margin-top: 20px;
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .carousel-video {
        height: 200px;
    }

    .description {
        font-size: 14px;
        padding: 15px;
    }

    .description .buyer-container {
        width: 90%;
    }

    .pricing-button {
        font-size: 14px;
        padding: 8px 15px;
    }
}

.image-container {
    display: flex;
    flex-wrap: wrap;
}

.image-item {
    flex: 1 1 calc(15%);
    width: calc(15%);
}

.img-thumbnail {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border: 0.5px solid rgb(var(--primary-black-color));
    padding: 0;
    margin: 0;
    border-radius: 0;
    cursor: zoom-in;
}

.description-section {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 85vh;
    overflow: hidden;
    padding: 30px;
    top: 0;
    left: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--primary-black-color), 0.7);
    z-index: 1;
}

/* Styles pour le modal */
.modal {
    border: 2px solid rgb(var(--primary-black-color));
    border-radius: 25px;
}

.modal-content {
    background-color: rgb(var(--primary-black-color));
    color: white;
    border: 2px solid rgb(var(--primary-black-color));
}

.modal-header,
.modal-footer {
    background-color: rgb(var(--primary-black-color));
    border-bottom: 2px solid rgb(var(--primary-yellow-color));
}

.modal-title {
    color: white;
}

.modal-body {
    color: white;
}

.modal-body ul {
    padding-left: 1rem;
}

.modal-footer .btn-primary {
    background-color: rgb(var(--primary-yellow-color));
    border-color: rgb(var(--primary-black-color));
    color: rgb(var(--primary-black-color));
}

.modal-footer .btn-secondary {
    background-color: rgb(var(--primary-black-color));
    border-color: rgb(var(--primary-yellow-color));
    color: white;
}

.modal-header .close span {
    color: white;
}

.modal-footer .btn-primary:hover,
.modal-footer .btn-secondary:hover {
    opacity: 0.9;
}

#selectedFormatsList {
    list-style-type: none;
}

#selectedFormatsList li::before {
    content: "\f00c";
    font-family: "FontAwesome";
    color: rgb(var(--primary-yellow-color));
    margin-right: 10px;
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.blink {
    animation: blink 3s infinite;
}

.description-section {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 85vh;
    overflow: hidden;
    padding: 30px;
    top: 0;
    left: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--primary-black-color), 0.7);
    z-index: 1;
}

.description-div {
    position: relative;
    background-color: rgba(var(--primary-black-color), 0.78);
    z-index: 2;
    padding: 30px;
    max-width: 48%;
    color: white;
    border-radius: 10px;
    word-wrap: break-word;
    word-break: break-word;
    line-height: 1.6;
}

.detail-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.MonModal {
    background-color: transparent;
    border: none;
    padding: 0;
}

.carousel-item img {
    height: 105vh;
    object-fit: cover;
}

input[type="checkbox"] {
    appearance: none;
    width: 15px;
    height: 15px;
    border: 1px solid #ffffff;
    background-color: white;
    cursor: pointer;
}

input[type="checkbox"]:checked {
    background-color: rgb(var(--primary-yellow-color));
    border-color: rgb(var(--primary-black-color));
    position: relative;
}

input[type="checkbox"]:checked::before {
    content: "\2713";
    color: rgb(var(--primary-black-color));
    font-size: 12px;
    position: absolute;
    top: 0;
    left: 2px;
}

/* Style spécifique pour la liste des caractéristiques */
.characteristics-list {
    list-style-type: square;
    padding-left: 20px;
    margin-bottom: 15px;
}

.characteristics-item {
    font-size: 1.1em;

    color: white;
    margin-bottom: 10px;
}

.characteristics-item::marker {
    color: rgb(var(--primary-yellow-color));

    font-size: 1.1em;
}

@media screen and (max-width: 1200px) {
    .description-div {
        max-width: 60%;
        padding: 20px;
    }
}

@media screen and (max-width: 768px) {
    .description-div {
        max-width: 90%;
        padding: 15px;
    }

    .characteristics-list {
        padding-left: 10px;
    }
}

@media screen and (max-width: 480px) {
    .description-section {
        height: auto;
        padding: 20px 10px;
    }

    .description-div {
        max-width: 100%;
        padding: 10px;
        border-radius: 5px;
    }

    .detail-title {
        margin-bottom: 5px;
    }

    .characteristics-item {
        font-size: 0.8em;
    }
}

.pricing-card {
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    background-color: #10101000;
    box-shadow: 0 5px 15px rgba(var(--primary-black-color), 0.1);
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: scale(1.05);
}

.pricing-card .title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffffff;
}

.pricing-card ul {
    margin-bottom: 20px;
}

.pricing-card ul li {
    padding: 5px 0;
}

.purchase-button {
    background-color: rgb(var(--primary-yellow-color));
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    margin-top: 10px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: background-color 1.3s;
}

.purchase-button:hover {
    background-color: rgb(var(--primary-yellow-color));
}

.modal-lg {
    max-width: 70%;
    border: 1px solid white;
}

@media (max-width: 576px) {
    .modal-lg {
        max-width: 90%; /* Réduire la largeur pour les petits écrans */
    }

    .pricing-card {
        padding: 15px; /* Réduire les espaces intérieurs */
        box-shadow: none; /* Supprimer les ombres pour simplifier */
    }

    .pricing-card .title {
        font-size: 1.2rem; /* Réduire la taille des titres */
    }

    .purchase-button {
        font-size: 0.9rem; /* Ajuster la taille des boutons */
        padding: 8px 15px;
    }

    .modal-body ul {
        padding-left: 0.5rem; /* Réduire les marges internes */
    }

    .modal-content {
        border-radius: 15px; /* Réduire légèrement les coins arrondis */
    }
}

@media (max-width: 576px) {
    .pricing-section .row {
        flex-direction: column; /* Les colonnes deviennent des blocs empilés */
    }

    .pricing-section .col-lg-4,
    .pricing-section .col-md-6 {
        max-width: 100%; /* Utiliser toute la largeur disponible */
        flex: 0 0 100%;
        margin-bottom: 15px; /* Ajouter un espacement entre les blocs */
    }
}

@media (max-width: 576px) {
    .modal-title {
        font-size: 1.2rem; /* Réduire la taille du titre */
    }

    .modal-body {
        font-size: 0.9rem; /* Adapter la taille du texte */
    }

    .pricing-card ul li {
        font-size: 0.9rem; /* Réduire la taille des éléments de liste */
    }
}

@media (max-width: 576px) {
    .modal-content {
        max-height: 80vh; /* Limiter la hauteur du modal */
        overflow-y: auto; /* Activer le défilement vertical */
    }
}

/*End of detail page*/

/* Resources */
.documentations-section {
    padding: 50px;
    background-color: transparent;
}

.form-select-lg {
    border-radius: 8px;
    border: 2px solid #6c757d;
    padding: 10px;
    background-color: #f9f9f9;
    font-size: 16px;
    color: #495057;
}

.documentation-row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.documentation-card {
    width: 200px;
    height: 150px;
    background-color: rgb(var(--primary-black-color));
    border: 1px solid rgb(var(--primary-black-color));
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
    margin: 20px 0;
    z-index: 1;
}

.documentation-card h3 {
    margin: 0 0 10px 0;
    color: white;
}

.documentation-card a {
    text-decoration: none;
    color: rgb(var(--primary-yellow-color));
}

@media (max-width: 768px) {
    .documentation-row {
        flex-direction: column; /* Les cartes passent en colonne */
        align-items: center; /* Centre les cartes */
        gap: 40px; /* Ajoute de l'espace vertical pour les connexions */
        margin-bottom: 40px; /* Plus d'espace entre les rangées */
    }

    .documentation-card {
        width: 90%; /* Les cartes occupent presque toute la largeur */
        height: auto; /* Hauteur flexible */
        margin: 20px 0; /* Espacement vertical entre les cartes */
        padding: 15px; /* Réduction du padding */
    }
}

@media (max-width: 576px) {
    .documentation-card h3 {
        font-size: 1.2em; /* Réduction des titres */
    }

    .documentation-card a {
        font-size: 0.9em; /* Réduction des liens */
    }

    .documentations-section {
        padding: 20px;
    }

    .documentation-row {
        gap: 50px;
    }
}

.resources-section {
    padding: 40px 0;
    background-color: transparent;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.resource-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.resource-card-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.resource-card {
    background-color: rgb(0, 0, 0);
    border: 1px solid #3d3d3d;
    border-radius: 4px;
    padding: 20px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(var(), 0.1);
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: scale(1.05);
}

.resource-card h3 {
    margin-bottom: 10px;
    font-size: 1.5em;
    color: white;
}

.resource-card p {
    margin-bottom: 15px;
    color: rgb(var(--green-color));
}

.resource-card-link {
    text-decoration: none;
    color: rgb(var(--primary-yellow-color));
    font-weight: 300;
}

.resource-card-link:hover {
    text-decoration: none;
    color: wheat;
}

@media (max-width: 768px) {
    .resource-card-row {
        flex-direction: column;
        align-items: center;
    }

    .resource-card {
        width: 90%;
        margin-bottom: 20px;
    }

    .resources-section {
        padding: 20px;
        height: auto;
    }
}

@media (max-width: 576px) {
    .resource-card h3 {
        font-size: 1.2em;
    }

    .resource-card p {
        font-size: 0.9em; /* Réduit la taille du texte */
    }

    .resource-card-link {
        font-size: 0.9em; /* Ajuste la taille du lien */
    }
}

.about-us-section {
    display: flex;
    height: 90vh;
    padding: 0;
}

.about-us-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 50px;
    background-color: rgba(var(--secondary-black-color));
}

#map {
    flex: 1;
    height: 90vh;
}

.about-us-content h2 {
    margin-bottom: 20px;
    font-size: 2.5em;
    color: rgb(var(--primary-yellow-color));
}

.about-us-content p {
    max-width: 600px;
    line-height: 1.6;
    font-size: 17px;
    color: #ffffff;
}

/* Responsivité : pour les écrans plus petits, ajuster la disposition */
@media (max-width: 768px) {
    .about-us-section {
        flex-direction: column;
        padding: 15px;
    }

    .about-us-content {
        padding: 20px;
    }

    #map {
        width: 100%;
        height: 500px;
    }

    .about-us-content h2 {
        font-size: 2em; /* Ajuster la taille du titre */
    }

    .about-us-content p {
        font-size: 15px;
    }
}

.store-product{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.card {
    width: 300px;
    background-color: #1b1b1b;
    border-radius: 8px;
    overflow: hidden;
    color: white;
    font-family: Arial, sans-serif;
    margin: 16px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-header {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    position: absolute;
    top: 0;
    width: 100%;
}

.badge {
    margin-top: 2rem;
    z-index: 100;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.subtag {
    z-index: 100;
    background-color: rgb(var(--green-color));
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.card-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}


.card-content {
    padding: 16px;
    text-align: center;
}

.card-title {
    font-size: 18px;
    margin-bottom: 16px;
}

.card-button {
    width: 100%;
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-top: 1rem;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 1.3s;
    background-color: rgba(var(--primary-black-color), 0.15);
    border: 1px solid rgb(var(--secondary-yellow-color));
}

.card-button:hover {
    background-color: #e68900;
    color: white;
}

.aucun-kit {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: red;
}

.badge.freemium {
    background-color: rgba(var(--primary-yellow-color), 0.7);
    color: white;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.badge.promo {
    right: 0;
    background-color: rgba(var(--primary-black-color));
    color: white;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}


.refund-section {
    background-color: transparent;
    padding: 50px 20px;
    display: flex;
    justify-content: center;
}

.refund-content {
    max-width: 800px;
    background: #000;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.refund-content h2 {
    color: #e68900;
    font-size: 2rem;
    margin-bottom: 15px;
    text-align: center;
}

.refund-content h4 {
    color: #444;
    font-size: 1.5rem;
    margin-top: 20px;
}

.refund-content p {
    font-size: 1rem;
    color: #888888;
    line-height: 1.6;
    margin-bottom: 15px;
}

.refund-content ul {
    padding-left: 20px;
}

.refund-content ul li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

.refund-content a {
    color: #007bff;
    text-decoration: none;
}

.refund-content a:hover {
    text-decoration: underline;
}
