/* =========================================================
   PRODUCTEUR BIOSPG
========================================================= */

.producer-page {
    background: #f6f8f3;
    color: #333;
}


/* =========================================================
   HERO
========================================================= */

.producer-hero {
    position: relative;
    min-height: 520px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.producer-hero-bg {
    position: absolute;
    inset: 0;
}

.producer-hero-bg img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.producer-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(24,65,30,.96),
            rgba(38,87,43,.82),
            rgba(30,60,30,.35)
        );
}

.producer-hero-content {
    position: relative;
    z-index: 2;

    padding: 65px 0;

    color: #fff;
}


/* Breadcrumb */

.producer-breadcrumb {
    margin-bottom: 30px;

    font-size: 13px;
}

.producer-breadcrumb a {
    color: rgba(255,255,255,.75);
    text-decoration: none;
}

.producer-breadcrumb span {
    margin: 0 7px;

    color: rgba(255,255,255,.55);
}


/* Hero grid */

.producer-hero-grid {
    display: grid;

    grid-template-columns: 270px 1fr;

    gap: 45px;

    align-items: center;
}


/* Photo */

.producer-photo {
    height: 300px;

    position: relative;

    overflow: hidden;

    border-radius: 14px;

    border: 5px solid rgba(255,255,255,.35);

    box-shadow:
        0 15px 40px rgba(0,0,0,.25);
}

.producer-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.producer-verified {
    position: absolute;

    bottom: 12px;
    left: 12px;
    right: 12px;

    padding: 9px;

    text-align: center;

    background: rgba(37,85,42,.92);

    border-radius: 5px;

    font-size: 12px;

    font-weight: 600;
}


/* Informations */

.producer-badge {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    padding: 8px 15px;

    border-radius: 30px;

    background: rgba(255,255,255,.14);

    border: 1px solid rgba(255,255,255,.25);

    font-size: 12px;

    margin-bottom: 15px;
}

.producer-main-info h1 {
    color: #fff;

    font-size: 52px;

    margin: 0 0 12px;

    font-weight: 700;
}

.producer-location {
    font-size: 16px;

    margin-bottom: 18px;
}

.producer-main-info > p {
    max-width: 650px;

    color: rgba(255,255,255,.88);

    font-size: 16px;

    line-height: 1.7;

    margin-bottom: 25px;
}


/* Actions */

.producer-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.producer-actions a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 13px 20px;

    border-radius: 5px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;
}

.producer-whatsapp {
    background: #25D366;
    color: #fff;
}

.producer-call {
    background: #fff;
    color: #333;
}


/* =========================================================
   STATS
========================================================= */

.producer-stats {
    position: relative;

    margin-top: -35px;

    z-index: 5;
}

.producer-stats-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    background: #fff;

    border-radius: 12px;

    box-shadow:
        0 10px 35px rgba(0,0,0,.08);

    overflow: hidden;
}

.producer-stat {
    display: flex;

    align-items: center;

    gap: 14px;

    padding: 25px;

    border-right: 1px solid #eee;
}

.producer-stat:last-child {
    border-right: none;
}

.producer-stat-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #edf6e9;

    color: #579344;

    font-size: 18px;
}

.producer-stat strong {
    display: block;

    font-size: 19px;

    color: #333;
}

.producer-stat span {
    display: block;

    color: #888;

    font-size: 12px;
}


/* =========================================================
   CONTENT
========================================================= */

.producer-content {
    padding: 75px 0;
}

.producer-box {
    background: #fff;

    padding: 35px;

    margin-bottom: 28px;

    border-radius: 12px;

    box-shadow:
        0 5px 25px rgba(0,0,0,.035);
}

.producer-label {
    display: block;

    color: #579344;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    margin-bottom: 7px;
}

.producer-box h2 {
    font-size: 28px;

    margin: 0 0 20px;

    color: #292929;
}

.producer-box p {
    color: #666;

    font-size: 15px;

    line-height: 1.85;
}


/* =========================================================
   ENGAGEMENTS
========================================================= */

.engagement-grid {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 20px;

    margin-top: 25px;
}

.engagement-item {
    display: flex;

    gap: 14px;

    padding: 20px;

    border: 1px solid #eee;

    border-radius: 9px;
}

.engagement-icon {
    width: 45px;
    height: 45px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #edf6e9;

    color: #579344;

    border-radius: 50%;
}

.engagement-item h3 {
    font-size: 16px;

    margin: 0 0 6px;
}

.engagement-item p {
    font-size: 12px;

    line-height: 1.6;

    margin: 0;
}


/* =========================================================
   PRODUITS
========================================================= */

.producer-section-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 25px;
}

.producer-section-header h2 {
    margin-bottom: 0;
}

.product-count {
    color: #888;

    font-size: 13px;
}

.producer-products {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}

.producer-product-card {
    border: 1px solid #eee;

    border-radius: 9px;

    overflow: hidden;

    transition: .3s;
}

.producer-product-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 25px rgba(0,0,0,.08);
}

.producer-product-image {
    height: 190px;

    position: relative;
}

.producer-product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.bio-tag {
    position: absolute;

    top: 10px;
    right: 10px;

    padding: 5px 10px;

    background: #fff;

    color: #579344;

    border-radius: 20px;

    font-size: 10px;

    font-weight: 700;
}

.producer-product-content {
    padding: 17px;
}

.producer-product-content h3 {
    font-size: 17px;

    margin: 0 0 4px;
}

.product-category {
    color: #999;

    font-size: 12px;
}

.product-availability {
    color: #579344;

    font-size: 12px;

    margin: 12px 0;
}

.product-buy {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 7px;

    width: 100%;

    padding: 10px;

    background: #edf6e9;

    color: #579344;

    border-radius: 5px;

    font-size: 12px;

    font-weight: 600;

    text-decoration: none;
}

.product-buy:hover {
    background: #579344;

    color: #fff;
}


/* =========================================================
   GALERIE
========================================================= */

.producer-gallery {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr;

    grid-template-rows:
        160px 160px;

    gap: 10px;
}

.producer-gallery > div {
    overflow: hidden;

    border-radius: 8px;
}

.producer-gallery img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: .4s;
}

.producer-gallery img:hover {
    transform: scale(1.05);
}

.gallery-main {
    grid-row: span 2;
}


/* =========================================================
   MAP
========================================================= */

.producer-map {
    height: 400px;

    background: #e8eee6;

    border-radius: 9px;

    overflow: hidden;
}

.producer-map-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    color: #638060;
}

.producer-map-placeholder i {
    font-size: 45px;

    margin-bottom: 10px;
}

.producer-map-placeholder strong {
    font-size: 16px;
}

.producer-map-placeholder span {
    margin-top: 5px;

    font-size: 12px;
}


/* =========================================================
   CONTACT CARD
========================================================= */

.producer-contact-card {
    background: #fff;

    padding: 28px;

    border-radius: 12px;

    margin-bottom: 25px;

    box-shadow:
        0 7px 30px rgba(0,0,0,.06);
}

.contact-card-header {
    display: flex;

    gap: 13px;

    align-items: center;

    padding-bottom: 18px;

    border-bottom: 1px solid #eee;
}

.contact-card-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #edf6e9;

    color: #579344;

    border-radius: 50%;
}

.contact-card-header span {
    color: #579344;

    font-size: 10px;

    font-weight: 700;
}

.contact-card-header h3 {
    font-size: 19px;

    margin: 3px 0 0;
}

.contact-description {
    color: #666;

    font-size: 13px;

    line-height: 1.7;

    margin: 18px 0;
}

.main-whatsapp {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 14px;

    background: #25D366;

    color: #fff;

    border-radius: 5px;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;
}

.main-call {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 12px;

    margin-top: 10px;

    border: 1px solid #579344;

    color: #579344;

    border-radius: 5px;

    font-size: 13px;

    text-decoration: none;
}

.contact-details {
    margin-top: 18px;
}

.contact-details > div {
    display: flex;

    gap: 10px;

    padding: 11px 0;

    border-bottom: 1px solid #eee;

    color: #666;

    font-size: 12px;
}

.contact-details i {
    color: #579344;

    width: 17px;
}


/* =========================================================
   TRUST
========================================================= */

.trust-card {
    padding: 28px;

    background: #fff;

    border-radius: 12px;

    margin-bottom: 25px;
}

.trust-icon {
    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #edf6e9;

    color: #579344;

    border-radius: 50%;

    font-size: 20px;
}

.trust-card h3 {
    font-size: 19px;

    margin: 16px 0;
}

.trust-card ul {
    list-style: none;

    padding: 0;
    margin: 0;
}

.trust-card li {
    padding: 9px 0;

    border-bottom: 1px solid #eee;

    color: #666;

    font-size: 13px;
}

.trust-card li i {
    color: #579344;

    margin-right: 8px;
}


/* =========================================================
   BIOSPG CARD
========================================================= */

.producer-biospg-card {
    padding: 30px;

    color: #fff;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #286534,
            #67974b
        );
}

.biospg-leaf {
    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.15);

    border-radius: 50%;

    font-size: 20px;
}

.producer-biospg-card h3 {
    color: #fff;

    font-size: 20px;

    margin: 17px 0 8px;
}

.producer-biospg-card p {
    color: rgba(255,255,255,.85);

    font-size: 13px;

    line-height: 1.7;
}

.producer-biospg-card a {
    color: #fff;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;
}


/* =========================================================
   CTA
========================================================= */

.producer-cta {
    padding: 45px 0;

    background:
        linear-gradient(
            100deg,
            #286534,
            #619348
        );
}

.producer-cta-content {
    display: flex;

    align-items: center;

    gap: 20px;

    color: #fff;
}

.producer-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;
}

.producer-cta-text {
    flex: 1;
}

.producer-cta-text span {
    color: rgba(255,255,255,.75);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;
}

.producer-cta-text h2 {
    color: #fff;

    font-size: 25px;

    margin: 5px 0;
}

.producer-cta-text p {
    color: rgba(255,255,255,.82);

    font-size: 13px;

    margin: 0;
}

.producer-cta-button {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 14px 22px;

    background: #25D366;

    color: #fff;

    border-radius: 5px;

    font-size: 13px;

    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .producer-hero-grid {
        grid-template-columns: 220px 1fr;

        gap: 30px;
    }

    .producer-main-info h1 {
        font-size: 42px;
    }

    .producer-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .producer-stat:nth-child(2) {
        border-right: none;
    }

    .producer-stat:nth-child(3),
    .producer-stat:nth-child(4) {
        border-top: 1px solid #eee;
    }

    .producer-cta-content {
        flex-wrap: wrap;
    }

}


@media (max-width: 767px) {

    .producer-hero {
        min-height: auto;
    }

    .producer-hero-grid {
        grid-template-columns: 1fr;
    }

    .producer-photo {
        width: 220px;
        height: 220px;
    }

    .producer-main-info h1 {
        font-size: 35px;
    }

    .producer-stats {
        margin-top: 0;
    }

    .producer-stats-grid {
        grid-template-columns: 1fr;
    }

    .producer-stat {
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .producer-stat:last-child {
        border-bottom: none;
    }

    .producer-content {
        padding: 45px 0;
    }

    .producer-box {
        padding: 23px;
    }

    .engagement-grid {
        grid-template-columns: 1fr;
    }

    .producer-products {
        grid-template-columns: 1fr;
    }

    .producer-gallery {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 160px 160px;
    }

    .gallery-main {
        grid-row: span 1;
    }

    .producer-cta-content {
        display: block;
    }

    .producer-cta-icon {
        margin-bottom: 15px;
    }

    .producer-cta-button {
        display: inline-flex;
        margin-top: 20px;
    }

}


@media (max-width: 480px) {

    .producer-actions {
        flex-direction: column;
    }

    .producer-actions a {
        width: 100%;
    }

    .producer-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 180px);
    }

}