/* Global container for sirops */
.sirop-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

/* Container principal des sirops */
.sirop-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100vw;
    height: 100vh; /* Pleine hauteur */
    padding: 0px;
    box-sizing: border-box;
    overflow: hidden; /* Empêche tout scroll */
    background-color: #f9f9f9; /* Couleur de fond */
}

/* Section image */
.sirop-image-container {
    flex: 0 0 50%; /* Image occupe 50% de la largeur */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #eee; /* Couleur de fond de l'image */
}

.sirop-image-container img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    object-fit: cover; /* Ajuste l'image */
}

/* Section contenu */
.sirop-content {
    flex: 0 0 50%; /* Contenu occupe 50% de la largeur */
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    background-color: #fff; /* Fond blanc */
}

.sirop-content h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
}

.sirop-content p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* Bouton pour voir les recettes */
.sirop-content .see-recipes-btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.sirop-content .see-recipes-btn:hover {
    background-color: #005a87;
}


/* Title styling */
.sirop-container h1 {
    font-size: 2em;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

/* Thumbnail styling */
.sirop-thumbnail img {
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Description styling */
.sirop-description {
    font-size: 1.1em;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}

/* Metadata styling */
.sirop-meta {
    font-size: 0.9em;
    color: #666;
    background-color: #fff;
    padding: 10px;
    border-top: 1px solid #ddd;
}

/* Buttons for selecting sirops */
.sirop-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.sirop-item {
    flex: 0 1 calc(20% - 10px); /* Responsive grid */
    text-align: center;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sirop-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Buttons inside sirop items */
.sirop-item button {
    display: block;
    margin: 10px auto 0;
    padding: 8px 12px;
    border: none;
    background-color: #0073aa;
    color: #fff;
    font-size: 1em;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.sirop-item button:hover {
    background-color: #005a87;
}

/* Dropdown filter */
.sirop-list + p {
    margin-top: 20px;
    text-align: center;
}

.sirop-list select {
    padding: 8px 12px;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    transition: border-color 0.2s ease;
}

.sirop-list select:focus {
    border-color: #0073aa;
    outline: none;
}