/* =========================================================
   GENERAL
========================================================= */

.bio-market-page {
    background: #f6f8f4;
    color: #333;
}

.bio-market-page img {
    max-width: 100%;
}


/* =========================================================
   HERO
========================================================= */

.market-hero {
    position: relative;
    min-height: 500px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.market-hero-image {
    position: absolute;
    inset: 0;
}

.market-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.market-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(24, 68, 30, .95),
            rgba(36, 91, 42, .78),
            rgba(36, 91, 42, .25)
        );
}

.market-hero-content {
    position: relative;
    z-index: 2;

    max-width: 850px;
    padding: 70px 0;

    color: #fff;
}


/* Breadcrumb */

.market-breadcrumb {
    margin-bottom: 25px;

    font-size: 13px;
}

.market-breadcrumb a {
    color: rgba(255,255,255,.75);
    text-decoration: none;
}

.market-breadcrumb span {
    margin: 0 7px;
    color: rgba(255,255,255,.6);
}


/* Badge */

.market-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 15px;

    background: rgba(255,255,255,.15);

    border: 1px solid rgba(255,255,255,.25);

    border-radius: 30px;

    font-size: 13px;

    margin-bottom: 18px;
}

.market-badge i {
    color: #8bd36b;
}


/* Title */

.market-hero h1 {
    color: #fff;

    font-size: 52px;
    line-height: 1.15;

    font-weight: 700;

    margin: 0 0 15px;
}

.market-location {
    font-size: 17px;

    margin-bottom: 18px;
}

.market-location i {
    margin-right: 7px;
}

.market-intro {
    max-width: 700px;

    color: rgba(255,255,255,.9);

    font-size: 17px;
    line-height: 1.7;

    margin-bottom: 28px;
}


/* =========================================================
   BUTTONS
========================================================= */

.market-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.market-actions a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 13px 20px;

    border-radius: 5px;

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;

    transition: all .3s ease;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
    color: #fff;
    transform: translateY(-2px);
}

.btn-call {
    background: #fff;
    color: #333;
}

.btn-call:hover {
    background: #f1f1f1;
    color: #333;
}

.btn-direction {
    color: #fff;

    background: rgba(255,255,255,.12);

    border: 1px solid rgba(255,255,255,.35);
}

.btn-direction:hover {
    background: rgba(255,255,255,.2);
    color: #fff;
}


/* =========================================================
   QUICK INFO
========================================================= */

.market-quick-section {
    position: relative;

    margin-top: -45px;

    z-index: 5;
}

.quick-info {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    background: #fff;

    border-radius: 12px;

    box-shadow:
        0 12px 40px rgba(0,0,0,.08);

    overflow: hidden;
}

.quick-item {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 25px;

    border-right: 1px solid #eee;
}

.quick-item:last-child {
    border-right: none;
}

.quick-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #edf6e9;

    color: #579344;

    font-size: 18px;
}

.quick-item span {
    display: block;

    color: #888;

    font-size: 12px;

    margin-bottom: 4px;
}

.quick-item strong {
    display: block;

    color: #333;

    font-size: 15px;
}


/* =========================================================
   CONTENT
========================================================= */

.market-content-section {
    padding: 80px 0;
}

.market-box {
    background: #fff;

    border-radius: 12px;

    padding: 35px;

    margin-bottom: 30px;

    box-shadow:
        0 5px 25px rgba(0,0,0,.04);
}

.section-label {
    display: block;

    color: #579344;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 7px;
}

.market-box h2 {
    font-size: 29px;

    font-weight: 700;

    margin: 0 0 20px;

    color: #292929;
}

.market-box p {
    color: #666;

    font-size: 15px;

    line-height: 1.85;

    margin-bottom: 15px;
}


/* =========================================================
   SECTION HEADER
========================================================= */

.section-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 25px;
}

.section-header h2 {
    margin-bottom: 0;
}

.product-total {
    color: #777;

    font-size: 13px;

    white-space: nowrap;
}


/* =========================================================
   PRODUCTS
========================================================= */

.products-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.product-card {
    overflow: hidden;

    border: 1px solid #eee;

    border-radius: 9px;

    background: #fff;

    transition: .3s;
}

.product-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 25px rgba(0,0,0,.08);
}

.product-image {
    height: 155px;

    position: relative;

    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .4s;
}

.product-card:hover .product-image img {
    transform: scale(1.06);
}

.product-badge {
    position: absolute;

    top: 10px;
    right: 10px;

    padding: 5px 10px;

    border-radius: 20px;

    background: #fff;

    color: #579344;

    font-size: 11px;

    font-weight: 700;
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    font-size: 17px;

    margin: 0 0 5px;
}

.product-info > span {
    color: #888;

    font-size: 12px;
}

.product-footer {
    display: flex;

    justify-content: space-between;

    align-items: center;

    border-top: 1px solid #eee;

    margin-top: 13px;

    padding-top: 12px;

    font-size: 12px;
}

.product-footer strong {
    color: #579344;
}

.product-footer i {
    color: #579344;
}


/* =========================================================
   GALERIE
========================================================= */

.market-gallery {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    grid-template-rows:
        170px 170px;

    gap: 12px;
}

.market-gallery > div {
    overflow: hidden;

    border-radius: 8px;
}

.market-gallery img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .4s;
}

.market-gallery img:hover {
    transform: scale(1.05);
}

.gallery-large {
    grid-row: span 2;
}


/* =========================================================
   MAP
========================================================= */

.market-map {
    height: 400px;

    border-radius: 9px;

    overflow: hidden;

    background: #e9eee7;
}

.map-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    color: #6b8b68;
}

.map-placeholder i {
    font-size: 45px;

    margin-bottom: 10px;
}


/* =========================================================
   CONTACT
========================================================= */

.market-contact-box {
    background: #fff;

    padding: 28px;

    border-radius: 12px;

    margin-bottom: 25px;

    box-shadow:
        0 5px 25px rgba(0,0,0,.05);
}

.contact-heading {
    display: flex;

    align-items: center;

    gap: 13px;

    padding-bottom: 20px;

    border-bottom: 1px solid #eee;
}

.contact-icon {
    width: 45px;
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #edf6e9;

    color: #579344;

    border-radius: 50%;
}

.contact-heading span {
    display: block;

    color: #579344;

    font-size: 11px;

    font-weight: 700;
}

.contact-heading h3 {
    font-size: 18px;

    margin: 4px 0 0;
}

.contact-item {
    display: flex;

    gap: 13px;

    padding: 16px 0;

    border-bottom: 1px solid #eee;
}

.contact-item > i {
    width: 20px;

    color: #579344;

    font-size: 17px;
}

.contact-item span {
    display: block;

    color: #999;

    font-size: 11px;

    margin-bottom: 3px;
}

.contact-item strong,
.contact-item a {
    color: #333;

    font-size: 14px;

    text-decoration: none;
}

.contact-item a:hover {
    color: #579344;
}


/* WhatsApp */

.whatsapp-button {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    width: 100%;

    padding: 14px;

    margin-top: 20px;

    background: #25D366;

    color: #fff;

    border-radius: 5px;

    font-size: 14px;

    font-weight: 600;

    text-decoration: none;

    transition: .3s;
}

.whatsapp-button:hover {
    color: #fff;

    background: #1ebe5d;

    transform: translateY(-2px);
}


/* =========================================================
   SIDEBAR
========================================================= */

.sidebar-box {
    background: #fff;

    padding: 28px;

    border-radius: 12px;

    margin-bottom: 25px;

    box-shadow:
        0 5px 25px rgba(0,0,0,.04);
}

.sidebar-box h3 {
    font-size: 21px;

    margin: 4px 0 20px;
}


/* Horaires */

.opening-hours > div {
    display: flex;

    justify-content: space-between;

    padding: 10px 0;

    border-bottom: 1px solid #eee;

    font-size: 13px;
}

.opening-hours strong {
    color: #999;
}

.opening-hours .today {
    padding: 12px 10px;

    background: #edf6e9;

    border-radius: 5px;

    color: #579344;
}

.opening-hours .today strong {
    color: #579344;
}


/* Adresse */

.address {
    display: flex;

    gap: 12px;
}

.address > i {
    color: #579344;

    margin-top: 4px;
}

.address p {
    color: #666;

    line-height: 1.7;

    font-size: 14px;
}

.direction-link {
    display: block;

    text-align: center;

    padding: 12px;

    border: 1px solid #579344;

    border-radius: 5px;

    color: #579344;

    font-weight: 600;

    font-size: 13px;

    text-decoration: none;
}

.direction-link:hover {
    background: #579344;

    color: #fff;
}


/* =========================================================
   BIOSPG CARD
========================================================= */

.biospg-card {
    padding: 30px;

    border-radius: 12px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #2e6d36,
            #659848
        );
}

.biospg-icon {
    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.15);

    border-radius: 50%;

    font-size: 21px;
}

.biospg-card h3 {
    color: #fff;

    font-size: 21px;

    margin: 17px 0 9px;
}

.biospg-card p {
    color: rgba(255,255,255,.85);

    font-size: 13px;

    line-height: 1.7;
}

.biospg-card a {
    color: #fff;

    font-weight: 600;

    font-size: 13px;

    text-decoration: none;
}


/* =========================================================
   CTA WHATSAPP
========================================================= */

.market-whatsapp-cta {
    padding: 45px 0;

    background:
        linear-gradient(
            100deg,
            #286634,
            #5c9347
        );
}

.cta-content {
    display: flex;

    align-items: center;

    gap: 20px;

    color: #fff;
}

.cta-icon {
    width: 65px;
    height: 65px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.15);

    font-size: 30px;
}

.cta-text {
    flex: 1;
}

.cta-text span {
    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: rgba(255,255,255,.75);
}

.cta-text h2 {
    color: #fff;

    font-size: 27px;

    margin: 5px 0;
}

.cta-text p {
    margin: 0;

    color: rgba(255,255,255,.82);

    font-size: 14px;
}

.cta-button {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 15px 23px;

    background: #25D366;

    color: #fff;

    border-radius: 5px;

    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;
}

.cta-button:hover {
    color: #fff;

    background: #1ebe5d;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .market-hero h1 {
        font-size: 42px;
    }

    .quick-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .quick-item:nth-child(2) {
        border-right: none;
    }

    .quick-item:nth-child(3),
    .quick-item:nth-child(4) {
        border-top: 1px solid #eee;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-content {
        flex-wrap: wrap;
    }

}


@media (max-width: 767px) {

    .market-hero {
        min-height: 560px;
    }

    .market-hero h1 {
        font-size: 35px;
    }

    .market-intro {
        font-size: 15px;
    }

    .market-quick-section {
        margin-top: 0;
    }

    .quick-info {
        grid-template-columns: 1fr;
    }

    .quick-item {
        border-right: none !important;
        border-bottom: 1px solid #eee;
    }

    .quick-item:last-child {
        border-bottom: none;
    }

    .market-content-section {
        padding: 45px 0;
    }

    .market-box {
        padding: 23px;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
    }

    .market-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 160px 160px;
    }

    .gallery-large {
        grid-row: span 1;
    }

    .cta-content {
        display: block;
    }

    .cta-icon {
        margin-bottom: 15px;
    }

    .cta-button {
        display: inline-flex;
        margin-top: 20px;
    }

}


@media (max-width: 480px) {

    .market-actions {
        flex-direction: column;
    }

    .market-actions a {
        width: 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .market-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 180px);
    }

    .market-box h2 {
        font-size: 25px;
    }

}