/* Pure Man Care — Store vendor hero (Figma 522-18146)
   Banda blu full-width con avatar, nome, città • rating • venduti, tagline.
   Nasconde la sidebar Dokan: store a colonna singola. */

/* --- Layout store a colonna singola (no sidebar Dokan) --- */
/* clip: l'hero full-bleed usa 100vw (include la scrollbar) -> evita gli ~8px di scroll orizzontale */
body.dokan-store {
    overflow-x: clip;
}

/* Sfondo sezione prodotti: gradiente crema del Figma (522-18171).
   L'hero blu è full-bleed e si copre da solo. */
body.dokan-store section.for_shop {
    background: linear-gradient(180deg, #FCEFD8 0%, #EDDEC1 100%);
}

/* Niente striscia bianca tra fine prodotti e primo Reusable Block:
   il canvas (bianco) affiorava per ~20px tra </main> e il block.
   Canvas in crema scuro (fine gradiente) = cucitura invisibile. */
body.dokan-store .l-main {
    padding-bottom: 0;
    margin-bottom: 0;
}
body.dokan-store .l-canvas {
    background: #EDDEC1;
}
body.dokan-store .dokan-store-wrap.layout-left {
    display: block;
}
body.dokan-store .dokan-store-sidebar {
    display: none;
}
body.dokan-store .dokan-single-store {
    width: 100% !important; /* dokan.css la restringe su mobile (spazio vuoto a destra) */
    float: none;
    margin: 0;
}

/* --- Hero full-bleed (rompe il contenitore per andare edge-to-edge) --- */
.pmc-store-hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: linear-gradient(168deg, #5B618B 0%, #373B56 100%);
}

.pmc-store-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 78px;
    box-sizing: border-box;
}

.pmc-store-hero__head {
    display: flex;
    align-items: center;
    gap: 32px;
}

.pmc-store-hero__avatar {
    flex: none;
    width: 100px;
    height: 100px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, .1);
}
.pmc-store-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pmc-store-hero__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.pmc-store-hero__name.store-name {
    margin: 0;
    padding: 0;
    font-family: 'Lora', Georgia, serif;
    font-weight: 600;
    font-style: italic;
    font-size: 48px;
    line-height: 1.2;
    color: #fff;
}

.pmc-store-hero__sub {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
}

.pmc-store-hero__dot {
    flex: none;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    opacity: .6;
}

.pmc-store-hero__rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.pmc-store-hero__stars {
    display: inline-flex;
    gap: 2px;
    color: #F5B301;
    font-size: 15px;
}
.pmc-store-hero__stars .far {
    color: rgba(255, 255, 255, .35);
}
.pmc-store-hero__rating-val {
    font-weight: 500;
}

.pmc-store-hero__bio {
    margin: 0;
    max-width: 645px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: rgba(255, 255, 255, .9);
}

/* --- Tab store (Follow/Get Support/Share + Products/Reviews):
   il Figma non le prevede -> nascoste. Markup mantenuto nel template
   (hook Dokan attivi) per poterle riattivare da CSS se servisse. --- */
.dokan-store-tabs.pmc-store-tabs {
    display: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .pmc-store-hero__inner { padding: 28px 40px; }
    .pmc-store-hero__name.store-name { font-size: 38px; }
}
/* Mobile (Figma 522-17749): hero centrato, avatar sopra, nome/meta/tagline centrati.
   width:100% sui testi: senza, align-items:center li stringe al contenuto -> overflow. */
@media (max-width: 600px) {
    .pmc-store-hero__inner {
        padding: 32px 16px;
        gap: 20px;
        text-align: center;
    }
    .pmc-store-hero__head {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        width: 100%;
    }
    .pmc-store-hero__meta {
        align-items: center;
        gap: 12px;
        width: 100%;
    }
    .pmc-store-hero__name.store-name {
        width: 100%;
        text-align: center;
        font-size: 40px;
        line-height: 1.15;
        white-space: normal;
        overflow-wrap: break-word;
    }
    /* Niente scroll orizzontale + tab Dokan che vanno a capo */
    body.dokan-store { overflow-x: hidden; }
    .pmc-store-tabs .dokan-list-inline,
    .pmc-store-tabs .dokan-modules-button { flex-wrap: wrap; }
    .pmc-store-hero__sub {
        justify-content: center;
        gap: 12px;
    }
    .pmc-store-hero__bio {
        width: 100%;
        max-width: none;
        text-align: center;
    }
}
