.mf-buche-page-text {
    width: 70%;
}

/* === GRID PRINCIPALE === */
.mf-buches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    padding: 20px 20px 5rem;
}

/* === CARD === */
.mf-buche-card {
    background: #ab654b14;
    display: block;
    border-radius: 4px;
    padding: 16px;
    text-decoration: none !important;
    color: #222;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
    min-height: 450px;
}

.mf-buche-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* === IMAGE === */
.mf-buche-image-cont {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.mf-buche-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* === BADGE COUP DE CŒUR === */
.mf-buche-badge {
    display: flex;
    align-items: center;
    gap: .5rem;
    position: absolute;
    top: 10px;
    right: 10px;
    background: #e63d00;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* === TEXTE === */
.mf-buche-info {
    margin-top: 8px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.mf-buche-title {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
}

.mf-buche-price {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
}





/* --- PAGE SINGLE BÛCHE --- */

.mf-buche-single-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    padding: 4rem 0;
    align-items: start;
}

.mf-buche-single-image img {
    width: 100%;
    border-radius: 14px;
    object-fit: contain;
    box-shadow: 0 10px 40px #00000010;
}

.mf-buche-single-infos {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.mf-buche-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: #241411;
}

.mf-buche-desc {
    font-size: 1.1rem;
    line-height: 1.6rem;
    font-weight: 300;
    color: #241411;
}

.mf-buche-label strong {
    font-weight: 600;
}

.mf-buche-badge-single {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background-color: #e63d0015;
    border-radius: 50px;
    padding: .4rem 1rem;
    color: #e63d00;
    font-size: .95rem;
    font-weight: 500;
}

.mf-buche-badge-single img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.mf-buche-price-cont {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: .5rem 0;
}

.mf-buche-price {
    font-size: 1.2rem !important;
    font-weight: 300 !important;
    color: #000000;
}

.mf-buche-unit {
    font-size: 1rem;
    color: #999;
    margin-top: -4px;
}

.mf-buche-cta {
    display: block;
    margin-top: 1rem;
    padding: 0.9rem;
    background: linear-gradient(to bottom, #000000, #241411);
    color: white;
    text-align: center;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: .3s ease;
    text-decoration: none;
}

.mf-buche-cta:hover {
    background: #000;
}

/* --- AUTRES BÛCHES --- */

.mf-buche-sim-title {
    margin-top: 4rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: #241411;
}

.mf-buche-sim-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-bottom: 4rem;
}

.mf-buche-sim {
    display: block;
    background: #f7ede8;
    padding: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: .2s ease;
}

.mf-buche-sim:hover {
    transform: translateY(-4px);
}

.mf-buche-sim img {
    width: 100%;
    border-radius: 10px;
    object-fit: contain;
}

.mf-sim-info {
    margin-top: .8rem;
    display: flex;
    justify-content: space-between;
}

.mf-sim-info h3 {
    font-size: 1rem;
    color: #241411;
}

.mf-sim-info span {
    font-size: .95rem;
    color: #000;
}

.mf-buche-add-cart {
    display: block;
    width: 100% !important;
    border: none !important;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    border-radius: 8px !important;
    background: linear-gradient(180deg, #000000, #333333, #000000);
    color: #ffffff !important;
    font-size: 1.2rem !important;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    transition:
        transform .4s cubic-bezier(0.075, 0.82, 0.165, 1),
        box-shadow .25s ease,
        background .25s ease;
}

.mf-buche-add-cart:hover {
    transform: translateY(-2px) scale(0.97);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.35);
}


/* --- MINIATURES --- */
.mf-buche-thumbs {
    display: none;
    margin-top: 0.8rem;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

/* Afficher seulement au survol sur desktop */
@media (min-width: 900px) {
    .mf-buche-card:hover .mf-buche-thumbs {
        display: grid;
    }
}

.mf-buche-thumb-btn {
    border: none !important;
    padding: 0;
    background: transparent !important;
    cursor: pointer;
}

.mf-buche-thumb-btn img {
    width: 100%;
    height: 48px !important;
    border-radius: 8px !important;
    border: none !important;
    object-fit: contain;
    background: #f8ece6;
    transition: transform .2s ease, box-shadow .2s ease;
}

.mf-buche-thumb-btn img:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);

}


/* --- RESPONSIVE --- */

@media (max-width: 900px) {
    .mf-buche-thumbs {
        display: grid !important;
    }

    .mf-buche-page-text {
        width: 100%;
    }

    .mf-buche-single-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mf-buche-title {
        font-size: 2.2rem;
    }

    .mf-buche-sim-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .mf-buche-sim-grid {
        grid-template-columns: 1fr;
    }
}