/* ── FIX SMART SLIDER 3 : annuler le translateX appliqué par JS ── */
ss3-force-full-width {
    transform: none !important;
    position: relative !important;
    left: auto !important;
    right: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.distillerie-diaporama-fullwidth .wp-block-group__inner-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/*
 * Styles pour les fiches Distilleries ET Dégustations
 * Style inspiré de Whisky Advocate
 * Couleur d'accent : Orange #d4622d
 */

/* ========================================= */
/* VARIABLES CSS (pour personnalisation facile) */
/* ========================================= */

:root {
    --color-accent: #d4622d;
    --color-accent-dark: #b54f22;
    --color-dark: #212121;
    --color-light: #f8f8f8;
    --color-text: #333;
    --color-border: #e0e0e0;
    --spacing-small: 20px;
    --spacing-medium: 40px;
    --spacing-large: 60px;
}

/* ========================================= */
/* RESET ET BASE */
/* ========================================= */

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

.distillery-article {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--color-text);
    line-height: 1.7;
}

.distillery-article h2,
.distillery-article h3,
.distillery-article h4 {
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.distillery-article h2 {
    font-size: 1.8rem;
    border-bottom: 3px solid var(--color-accent);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.distillery-article h3 {
    font-size: 1.4rem;
}

.distillery-article h4 {
    font-size: 1.2rem;
}

.distillery-article p {
    margin-bottom: 1rem;
}

.distillery-article a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.distillery-article a:hover {
    color: var(--color-accent-dark);
    text-decoration: underline;
}

/* ========================================= */
/* HEADER : Fil d'Ariane + Titre + Badges + Meta */
/* ========================================= */

.distillery-header {
    padding: var(--spacing-medium) 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--spacing-medium);
}

/* Fil d'Ariane */
.breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #666;
}
body.single-distillerie article.tasting-article nav.breadcrumb { margin-bottom: 0.5rem !important; }

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb .separator {
    margin: 0 0.5rem;
    color: #999;
}

.breadcrumb .current {
    color: var(--color-text);
    font-weight: 500;
}

/* Titre principal */
.distillery-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--color-dark);
}

/* Badges */
.distillery-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--color-light);
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.badge.iconic {
    background: #ffd700;
    border-color: #ffd700;
    color: var(--color-dark);
}

.badge.beginner {
    background: #4caf50;
    border-color: #4caf50;
    color: white;
}

.badge.value {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.badge.peated {
    background: #795548;
    border-color: #795548;
    color: white;
}

.badge.sherry {
    background: #8b4513;
    border-color: #8b4513;
    color: white;
}

.badge.fruity {
    background: #ff6b6b;
    border-color: #ff6b6b;
    color: white;
}

/* Meta informations */
.distillery-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.distillery-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.distillery-meta .meta-item strong {
    color: var(--color-dark);
}

/* ========================================= */
/* SECTION L'ESSENTIEL (Fond noir) */
/* ========================================= */

.essential-info {
    background: var(--color-dark);
    color: white;
    padding: var(--spacing-large) 0;
    margin: var(--spacing-medium) 0;
}

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

.essential-info h2 {
    color: white;
    border-bottom-color: var(--color-accent);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.essential-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.essential-item h3 {
    color: var(--color-accent);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.essential-item p {
    line-height: 1.8;
    color: #f0f0f0;
}

.recommended-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recommended-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.recommended-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

/* ========================================= */
/* SECTION PRÉSENTATION (Contenu principal) */
/* ========================================= */

.distillery-content {
    padding: var(--spacing-medium) 0;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.featured-image {
    margin: 2rem 0;
    text-align: center;
}

.featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-content {
    margin-top: 2rem;
}

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

.main-content p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

/* ========================================= */
/* SECTION DÉTAILS TECHNIQUES (Accordéon) */
/* ========================================= */

.technical-details {
    background: var(--color-light);
    padding: var(--spacing-medium) 0;
    margin: var(--spacing-medium) 0;
}

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

/* Bouton accordéon - Version mobile optimisée */
.accordion-toggle {
    width: 100%;
    background: white;
    border: 2px solid var(--color-accent);
    color: var(--color-dark);
    padding: 1.2rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 6px;
    transition: all 0.3s ease;
    
    /* Optimisations mobile iOS/Android */
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    touch-action: manipulation;
    position: relative;
}

.accordion-toggle:active {
    transform: scale(0.98);
}

.accordion-toggle:hover {
    background: var(--color-accent);
    color: white;
}

.accordion-toggle.is-open {
    background: var(--color-accent);
    color: white;
}

.toggle-icon {
    transition: transform 0.3s ease;
    font-size: 1rem;
    display: inline-block;
}

.accordion-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

/* Contenu accordéon */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s ease-in-out;
}

.accordion-toggle[aria-expanded="true"] + .accordion-content {
    max-height: 10000px;
    transition: max-height 1s ease-in-out;
}

.technical-section {
    background: white;
    padding: 2rem;
    margin-top: 1.5rem;
    border-radius: 6px;
    border: 1px solid var(--color-border);
}

.technical-section:first-child {
    margin-top: 1.5rem;
}

.technical-section h3 {
    color: var(--color-accent);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent);
}

/* Grille d'informations */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.info-item {
    padding: 1rem;
    background: var(--color-light);
    border-radius: 4px;
    border-left: 3px solid var(--color-accent);
}

.info-item strong {
    display: block;
    color: var(--color-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.info-item .value {
    color: var(--color-text);
    line-height: 1.6;
}

/* Éléments de processus */
.process-item {
    margin: 1.5rem 0;
}

.process-item h4 {
    color: var(--color-dark);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.process-item .value {
    line-height: 1.8;
    color: var(--color-text);
}

/* ========================================= */
/* SECTION DISTILLERIES SIMILAIRES */
/* ========================================= */

.similar-distilleries {
    padding: var(--spacing-large) 0;
    background: white;
}

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

.similar-distilleries h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.similar-intro {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Grille de cartes */
.distillery-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.distillery-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.distillery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-image {
    overflow: hidden;
    height: 200px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.distillery-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.card-title a {
    color: var(--color-dark);
    text-decoration: none;
}

.card-title a:hover {
    color: var(--color-accent);
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.card-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Bouton Découvrir - Version renforcée */
.distillery-cards .distillery-card .card-button,
.distillery-card .card-content .card-button,
.similar-distilleries .card-button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--color-accent) !important;
    color: white !important;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
    text-decoration: none !important;
}

.distillery-cards .distillery-card .card-button:hover,
.distillery-card .card-content .card-button:hover,
.similar-distilleries .card-button:hover {
    background: var(--color-accent-dark) !important;
    color: white !important;
    text-decoration: none !important;
}

.distillery-cards .distillery-card .card-button:visited,
.distillery-card .card-content .card-button:visited,
.similar-distilleries .card-button:visited {
    color: white !important;
}

.distillery-cards .distillery-card .card-button:active,
.distillery-card .card-content .card-button:active,
.similar-distilleries .card-button:active {
    color: white !important;
}

.distillery-cards .distillery-card .card-button:focus,
.distillery-card .card-content .card-button:focus,
.similar-distilleries .card-button:focus {
    color: white !important;
}

/* ========================================= */
/* SECTION INFORMATIONS PRATIQUES (Fond noir) */
/* ========================================= */

.practical-info {
    background: var(--color-dark);
    color: white;
    padding: var(--spacing-medium) 0;
    margin-top: var(--spacing-medium);
}

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

.practical-info h2 {
    color: white;
    border-bottom-color: var(--color-accent);
    margin-bottom: 2rem;
}

.practical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmin(250px, 1fr));
    gap: 2rem;
}

.practical-item strong {
    display: block;
    color: var(--color-accent);
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.practical-item .value {
    color: #f0f0f0;
    line-height: 1.6;
}

.practical-item .value a {
    color: white;
    text-decoration: underline;
}

.practical-item .value a:hover {
    color: var(--color-accent);
}

/* ========================================= */
/* RESPONSIVE DISTILLERIES */
/* ========================================= */

@media (max-width: 768px) {
    .distillery-title {
        font-size: 2rem;
    }

    .essential-grid,
    .info-grid,
    .distillery-cards,
    .practical-grid {
        grid-template-columns: 1fr;
    }

    .distillery-meta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .essential-info,
    .technical-details,
    .similar-distilleries,
    .practical-info {
        padding: var(--spacing-small) 0;
    }

    .technical-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .distillery-single {
        padding: 0 15px;
    }

    .distillery-title {
        font-size: 1.6rem;
    }

    .distillery-article h2 {
        font-size: 1.5rem;
    }

    .accordion-toggle {
        padding: 1rem;
        font-size: 1.1rem;
    }

    .card-image {
        height: 180px;
    }
}

/* ========================================= */
/* STYLES FICHES DÉGUSTATIONS */
/* ========================================= */

/* Container principal */
.tasting-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tasting-article {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--color-text);
    line-height: 1.7;
}

/* ========================================= */
/* HEADER : Titre + Badges */
/* ========================================= */

.tasting-header {
    padding: var(--spacing-medium) 0;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: var(--spacing-medium);
}

.tasting-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--color-dark);
}

/* ========================================= */
/* IMAGE MISE EN AVANT (Pleine largeur) */
/* ========================================= */

.featured-image-full {
    margin: 2rem 0;
    margin-bottom: 2.5rem;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.featured-image-full img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Badges dégustations */
.tasting-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.tasting-badges .badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--color-light);
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

/* Badges niveau */
.badge.niveau-debutant {
    background: #4caf50;
    border-color: #4caf50;
    color: white;
}

.badge.niveau-intermediaire {
    background: #ff9800;
    border-color: #ff9800;
    color: white;
}

.badge.niveau-expert {
    background: #9c27b0;
    border-color: #9c27b0;
    color: white;
}

/* Badges rapport qualité/prix */
.badge.rapport-excellent {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.badge.rapport-bon {
    background: #4caf50;
    border-color: #4caf50;
    color: white;
}

.badge.rapport-moyen {
    background: #ffc107;
    border-color: #ffc107;
    color: var(--color-dark);
}

.badge.rapport-faible {
    background: #f44336;
    border-color: #f44336;
    color: white;
}

/* Badge tourbe (style uniforme) */
.badge.tourbe {
    background: #8B4513;
    border-color: #8B4513;
    color: white;
}

/* ========================================= */
/* LAYOUT 2 COLONNES : Sidebar + Contenu */
/* ========================================= */

.tasting-content-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    margin: var(--spacing-medium) 0;
}

/* SIDEBAR (Fiche technique) - STICKY sur desktop */
.tasting-sidebar {
    align-self: start;
}

@media (min-width: 993px) {
    .tasting-sidebar {
        position: sticky;
        top: 20px;
    }
}

.technical-card {
    background: var(--color-light);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
}

.technical-card h3 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
    font-size: 1.3rem;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 0.5rem;
}

.tech-item {
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--color-border);
}

.tech-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tech-item strong {
    display: block;
    color: var(--color-dark);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.tech-item .value {
    color: var(--color-text);
    font-size: 1rem;
}

.tech-item .value.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-accent);
}

.tech-item .value.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-accent);
}

/* Note prix approximatif */
.price-note {
    font-size: 0.75rem;
    color: #666;
    margin-top: 0.3rem;
    font-style: italic;
    font-weight: normal;
}

.tech-item .value a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
}

.tech-item .value a:hover {
    text-decoration: underline;
}

/* Note dans la fiche technique */
.tech-item.tech-score {
    background: var(--color-accent);
    color: white;
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    border: none;
    margin-bottom: 1.5rem;
}

.tech-item.tech-score strong {
    color: white;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.score-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
}

.score-big {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.score-small {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* ========================================= */
/* CONTENU PRINCIPAL */
/* ========================================= */

.tasting-main-content {
    min-width: 0;
}

.tasting-main-content section {
    margin-bottom: 3rem;
}

.tasting-main-content h2 {
    font-size: 1.8rem;
    color: var(--color-dark);
    border-bottom: 3px solid var(--color-accent);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Section Présentation */
.presentation-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}

.presentation-content {
    line-height: 1.8;
    font-size: 1.05rem;
}

.presentation-content p {
    margin-bottom: 1.2rem;
}

/* Section Notes de dégustation (fond noir) */
.tasting-notes {
    background: var(--color-dark);
    color: white;
    padding: 2.5rem;
    border-radius: 8px;
}

.tasting-notes h2 {
    color: white;
    border-bottom-color: var(--color-accent);
}

.note-section {
    margin-bottom: 2rem;
}

.note-section:last-child {
    margin-bottom: 0;
}

.note-section h3 {
    color: var(--color-accent);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.note-section p {
    color: #f0f0f0;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Section Où acheter */
.where-to-buy {
    background: var(--color-light);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-accent);
}

.buy-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.buy-content li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.05rem;
}

.buy-content li:last-child {
    border-bottom: none;
}

.buy-content li:before {
    content: "🛒";
    position: absolute;
    left: 0;
    top: 0.8rem;
}

.buy-content a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
}

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

/* ========================================= */
/* SECTION ALTERNATIVES (Whiskies similaires) */
/* ========================================= */

.similar-tastings {
    padding: var(--spacing-large) 0;
    background: white;
    margin-top: var(--spacing-medium);
}

.similar-tastings h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
    border-bottom: 3px solid var(--color-accent);
    padding-bottom: 0.5rem;
}

.similar-intro {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Grille de cartes dégustations */
.tasting-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tasting-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tasting-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.tasting-card .card-image {
    overflow: hidden;
    height: 200px;
}

.tasting-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tasting-card:hover .card-image img {
    transform: scale(1.05);
}

.tasting-card .card-content {
    padding: 1.5rem;
}

.tasting-card .card-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.tasting-card .card-title a {
    color: var(--color-dark);
    text-decoration: none;
}

.tasting-card .card-title a:hover {
    color: var(--color-accent);
}

.tasting-card .card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.meta-note {
    font-weight: 600;
    color: var(--color-accent);
}

.meta-price {
    font-weight: 600;
}

.tasting-card .card-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.tasting-card .card-button {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: var(--color-accent) !important;
    color: white !important;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease;
    text-decoration: none !important;
}

.tasting-card .card-button:hover {
    background: var(--color-accent-dark) !important;
    color: white !important;
    text-decoration: none !important;
}

/* ========================================= */
/* RESPONSIVE DÉGUSTATIONS */
/* ========================================= */

@media (max-width: 992px) {
    .tasting-content-wrapper {
        display: block !important;
        grid-template-columns: none !important;
    }

    .tasting-sidebar {
        position: static;
        width: 100%;
        margin-bottom: 2rem;
    }

    .tasting-main-content {
        width: 100%;
    }

    .technical-card {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .tech-item {

/* ================================================
   OPTION A — CORRECTIONS MISE EN PAGE v2
   Fiches distillerie + dégustation
   Appliquées dans style-distillerie.css (fichier actif sur ces pages)
   ================================================ */

/* 1. RÉDUIRE L'ESPACE BLANC SOUS LE BREADCRUMB */
body.single-distillerie .breadcrumb,
body.single-degustation .breadcrumb {
    margin-bottom: 0.75rem !important;
}

/* 2. RESSERRER LE TASTING-HEADER (titre + badges)
   Actuellement : padding 40px haut+bas + margin-bottom 40px = 120px d'air */
.tasting-header {
    padding: 1rem 0 1.25rem 0 !important;
    margin-bottom: 1rem !important;
    border-bottom: none !important;
}

/* 3. RÉDUIRE LE PADDING DU WRAPPER PRINCIPAL */
.tasting-content-wrapper {
    margin: 0.5rem 0 !important;
    padding-top: 1.5rem !important;
}

/* 4. DENSIFIER LA SIDEBAR — tech-items */
body.single-distillerie .tech-item,
body.single-degustation .tech-item {
    margin-bottom: 0.65rem !important;
    padding-bottom: 0.55rem !important;
}

/* 5. LABELS — réduire pour éviter les cassures sur deux lignes */
body.single-distillerie .tech-item strong,
body.single-degustation .tech-item strong {
    font-size: 0.7rem !important;
    letter-spacing: 0.03em !important;
    margin-bottom: 0.2rem !important;
    line-height: 1.25 !important;
}

/* 6. VALEUR — légèrement plus compact */
body.single-distillerie .tech-item .value {
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
}

/* 7. PADDING SIDEBAR — moins d'air intérieur */
body.single-distillerie .technical-card,
body.single-distillerie .tasting-sidebar > div {
    padding: 1.1rem !important;
}

/* 8. TITRE SIDEBAR */
body.single-distillerie .technical-card h3,
body.single-distillerie .tasting-sidebar h3 {
    margin-bottom: 0.75rem !important;
    padding-bottom: 0.6rem !important;
    font-size: 1rem !important;
}

/* 9. RESPONSIVE mobile */
@media (max-width: 768px) {
    .tasting-header {
        padding: 0.75rem 0 1rem 0 !important;
    }
    body.single-distillerie .tech-item,
    body.single-degustation .tech-item {
        margin-bottom: 0.5rem !important;
        padding-bottom: 0.4rem !important;
    }
}

/* ================================================
   OPTION B — RESTRUCTURATION HEADER DISTILLERIE
   ================================================ */

/* Chapô profil aromatique dans le header */
.distillerie-chapo {
    font-size: 0.95rem;
    color: #555;
    font-style: italic;
    margin: 0.5rem 0 0 0;
    line-height: 1.6;
    border-left: 3px solid #d4622d;
    padding-left: 0.75rem;
}

/* Image hero intégrée dans la colonne de contenu */
.distillerie-hero--inline {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}
.distillerie-hero--inline img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.distillerie-hero--inline + .distillerie-hero-caption {
    margin-top: -1.25rem;
    margin-bottom: 1.5rem;
}

/* Supprimer l'image hero pleine largeur (remplacée par inline) */
body.single-distillerie .distillerie-hero:not(.distillerie-hero--inline) {
    display: none;
}
body.single-distillerie p.distillerie-hero-caption:not(.distillerie-hero--inline + p) {
    display: none;
}

/* Supprimer le border-bottom du header */
.tasting-header {
    border-bottom: none !important;
}