/*
                                @@    @@  @@@@@@@@  @@   @@   @@@@@   @@@   @@      @@    @@  @@@@@@@@  @@@@@@@   @@@@@@@@  @@@   @@  @@@@@@@@                                
                                @@@  @@@  @@    @@  @@   @@  @@   @@  @@@@  @@      @@@  @@@  @@    @@  @@    @@  @@        @@@@  @@  @@    @@                                
                                @@ @@ @@  @@    @@  @@@@@@@  @@@@@@@  @@ @@ @@      @@ @@ @@  @@    @@  @@@@@@@   @@@@@@@@  @@ @@ @@  @@    @@                                
                                @@    @@  @@    @@  @@   @@  @@   @@  @@  @@@@      @@    @@  @@    @@  @@   @@   @@        @@  @@@@  @@    @@                                
                                @@    @@  @@@@@@@@  @@   @@  @@   @@  @@   @@@      @@    @@  @@@@@@@@  @@    @@  @@@@@@@@  @@   @@@  @@@@@@@@                                
www.mohanmoreno.ch
*/
/* Reset et Variables */
@font-face {
    font-family: "Everett Regular";
    src: url('fonts/twkeverett-regular-web.woff2');
}
@font-face {
    font-family: "Everett Medium";
    src: url('fonts/twkeverett-medium-web.woff2');
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Everett Regular";
}
:root {
    --primary-color: #fefefe;
    --secondary-color: #101010;
    --accent-color: #6e31f4;
    --text-color: #101010;
    --bg-color: #fefefe;
    --white: #FFFFFF;
    /* --shadow: rgba(0, 0, 0, 0.1); */
    --transition: all 0.3s ease;
  padding: 1em;
}

body {
    /* font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; */
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);

}

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

/* Header Sticky */
.header-sticky {
    position: sticky;
    top: 0;
    background-color: #fefefe;
    border-bottom: 1px solid #101010;
    z-index: 1000;
    padding: 1em;
}

h2, h3{
    color: #101010;
    font-family: "Everett Medium";
    font-family: "Everett Regular";

}

.search-bar-container {
    display: flex;
    align-items: center;
    position: relative;
}

.global-search {
    padding: 0.6rem 2.5rem 0.6rem 1rem;
    border: 2px solid #101010;
    border-radius: 25px;
    font-size: 0.9rem;
    width: 100%;
    background-color: #fefefe;
    color: #6e31f4;

}
input::placeholder {
    color: #6e31f4;
}

.global-search:focus {
    outline: none;
    border-color: #6e31f4;
    /* box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.1); */
    width: 100%;
}

/* Products Grid - Responsive */
.products-section {
    padding: 4rem 0;
    background-color: #fefefe;
}

.products-section h2 {
    color: #101010;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: #fefefe;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #101010;
    /* cursor: pointer; */
}
.disciplines{
    color: #101010;
}
.branche{
    font-size: 1.1em;
    text-transform: uppercase;
    color: #101010;
}

.product-info {
    padding: 1rem;
}

.product-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 0.5rem 0;
}

.product-stock {
    color: #101010;
    font-size: 0.9rem;
    /* margin-bottom: 1rem; */
}
.the-lien{
    font-size: 1.25em;
    font-weight: 900;
}
/* Responsive Design */
@media (max-width: 1025px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .search-bar-container {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }

    .global-search {
        width: 100%;
    }

    .global-search:focus {
        width: 100%;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        width: 100%;
        padding: 2rem;
        transition: var(--transition);
        gap: 1rem;
    }

    .nav-links.active {
        left: 0;
    }

    .carousel-content h2 {
        font-size: 1.8rem;
    }

    .carousel-content p {
        font-size: 1rem;
    }

    .carousel-image {
        font-size: 4rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .modal-body {
        flex-direction: column;
    }

    .cart-table {
        font-size: 0.9rem;
    }

    .cart-table th,
    .cart-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 660px) {
    .products-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 0.75rem;
    }

    .product-info {
        padding: 1rem;
    }

    .product-info h3 {
        font-size: 0.9rem;
    }

    .product-price {
        font-size: 1.1rem;
    }

    .btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    .hero {
        height: 400px;
    }

    .carousel-content h2 {
        font-size: 1.5rem;
    }

    .toast-notification {
        right: 10px;
        left: 10px;
        min-width: auto;
    }

    .cart-table {
        font-size: 0.8rem;
    }
}


#decouvrir{
    margin-top: 5em;
}

a {color:#6e31f4;
    font-family: "Everett Medium";
}
a:hover{
    color: #fefefe;
    background-color: #6e31f4;
}
.footer-container{display: flex;flex-direction: row;justify-content: space-between;align-items: center;
    width: 100%;
}
@media screen and (max-width: 1100px) {
    .footer-container {flex-direction: column;gap: 10px;text-align: center;}
}
/*=================================================*/

h1{
    margin-bottom: 1em;
}
table {
  border-collapse: collapse;
    border: 1px solid #444;

  width: 100%;
}

th, td {
  border-right: 1px solid #444;
  border-left: 1px solid #444;
  height: 1em;
  text-align: center;
  width: 16%;
    font-size: 1em;
    line-height: 1em;
}
.periode{
    border-bottom: 1px solid #444;
}
.pause{
    border-bottom: 2px solid #00ff00;
}
th {
  background-color: #6e31f4;
  color: ivory;
}

.time {
  text-align: right;
  background-color: #f5f5f5;
  color: #6e31f4;
  padding-right: 0.5em;
}
.ct{
  background-color: #81cb95;
  border: none;
  border-left: 1px solid #444;
  border-right: 1px solid #444;
  border-bottom: 2px solid #81cb95;
}
.cp{
  background-color: #FBE2D5;
  border: none;
  border-left: 1px solid #444;
  border-right: 1px solid #444;
    border-bottom: 2px solid #FBE2D5;
}
.lab{
  background-color: #9c5bec;
  border: none;
  border-left: 1px solid #444;
  border-right: 1px solid #444;
  border-bottom: 2px solid #9c5bec;
}
.graphisme-projets{
  background-color: #daf9ff;
  border: none;
  border-left: 1px solid #444;
  border-right: 1px solid #444;
  border-bottom: 2px solid #daf9ff;
}
.tdg{
  background-color: #e9d7ff;
  border: none;
  border-left: 1px solid #444;
  border-right: 1px solid #444;
  border-bottom: 2px solid #e9d7ff;
}
.df{
  background-color: #FFFF00;
  border: none;
  border-left: 1px solid #444;
  border-right: 1px solid #444;
  border-bottom: 2px solid #FFFF00;

}
.ms{
  background-color: #a459ff;
  border: none;
  border-left: 1px solid #444;
  border-right: 1px solid #444;
  border-bottom: 2px solid #a459ff;
}
.pa{
  background-color: #25fff8;
  border: none;
  border-left: 1px solid #444;
  border-right: 1px solid #444;
  border-bottom: 2px solid #25fff8;
}
.bordure{
  border-bottom: 1px solid #444;
}
*::selection{
    background-color: rgba(0, 0, 0, 0);
    color: rgba(0, 0, 0, 0);
    text-shadow: 0px 0px 0.2em #6e31f4;
}
th::selection{
    background-color: rgba(0, 0, 0, 0);
    color: rgba(0, 0, 0, 0);
    text-shadow: 0px 0px 0.2em #ffffff;
}