/* =========================================================
   PLAISIRS MARKET - TOP + NOUVEAUTES V2
   ========================================================= */

.pm-top-page > .container {
    max-width: 1380px !important;
}


/* RETOUR */

.pm-top-page .retour-wrap {
    justify-content: flex-start !important;

    margin: 0 0 20px !important;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.pm-top-section {
    scroll-margin-top: 105px;

    margin-bottom: 65px;
}

.pm-new-section {
    padding-top: 10px;
}


/* =========================================================
   TITRES
   ========================================================= */

.pm-top-heading {
    margin: 22px 0 25px;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;
}

.pm-top-heading > div {
    max-width: 760px;
}

.pm-top-kicker {
    display: block;

    margin-bottom: 9px;

    color: #858990;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.pm-top-heading h1 {
    margin: 0 0 8px !important;

    font-size:
        clamp(32px, 5vw, 48px) !important;

    line-height: 1.05 !important;

    letter-spacing: -2px !important;
}

.pm-top-heading p {
    margin: 0;

    max-width: 680px;

    color: #74787e;

    font-size: 14px;

    line-height: 1.65;
}

.pm-top-section-number {
    width: 48px;
    height: 48px;

    flex: 0 0 48px;

    display: grid;

    place-items: center;

    background: #202225;

    color: #fff;

    border-radius: 13px;

    font-size: 14px;

    font-weight: 800;
}


/* =========================================================
   RECHERCHE
   ========================================================= */

.pm-top-search {
    width: 100%;

    max-width: 720px;

    height: 50px;

    margin: 20px 0 28px;

    display: flex;

    gap: 7px;

    padding: 4px;

    background: #fff;

    border: 1px solid #e1e3e6;

    border-radius: 11px;
}

.pm-top-search input {
    flex: 1;

    min-width: 0;

    padding: 0 13px;

    background: transparent;

    border: 0;

    outline: 0;

    font-family: inherit;

    font-size: 14px;
}

.pm-top-search button {
    padding: 0 18px;

    background: #202225;

    color: #fff;

    border: 0;

    border-radius: 8px;

    font-family: inherit;

    font-size: 14px;

    font-weight: 750;

    cursor: pointer;
}


/* =========================================================
   GRILLES
   ========================================================= */

.pm-top-page .grid {
    display: grid !important;

    grid-template-columns:
        repeat(4, minmax(0, 1fr)) !important;

    gap: 15px !important;
}


/* =========================================================
   CARTES
   ========================================================= */

.pm-top-page .card {
    position: relative;

    min-width: 0;

    overflow: hidden;

    background: #fff !important;

    border: 1px solid #e1e3e6 !important;

    border-radius: 14px !important;

    box-shadow:
        0 2px 8px rgba(0,0,0,.035) !important;

    transition:
        transform .18s ease,
        box-shadow .18s ease !important;
}

.pm-top-page .card:hover {
    transform: translateY(-4px) !important;

    box-shadow:
        0 14px 30px rgba(0,0,0,.08) !important;
}

.pm-top-page .card > a {
    color: inherit !important;

    text-decoration: none !important;
}


/* MEDIA */

.pm-top-page .pm-media-frame {
    position: relative !important;

    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #eff0f1;
}

.pm-top-page .card img,
.pm-top-page .card video {
    width: 100% !important;
    height: 100% !important;

    display: block;

    object-fit: cover !important;
}


/* CORPS */

.pm-top-page .card-body {
    padding: 14px !important;
}

.pm-top-page .title {
    display: block;

    min-height: 40px;

    margin-bottom: 7px !important;

    color: #202225 !important;

    font-size: 15px !important;

    font-weight: 700 !important;

    line-height: 1.4 !important;
}

.pm-top-page .price {
    color: #202225 !important;

    font-size: 16px !important;

    font-weight: 800 !important;
}

.pm-top-page .meta {
    margin-top: 8px !important;

    color: #858990 !important;

    font-size: 13px !important;
}


/* =========================================================
   BADGES
   ========================================================= */

.pm-top-page .badge,
.pm-top-page .sponsored-label {
    position: absolute;

    top: 9px !important;
    left: 9px !important;

    z-index: 10;

    padding: 5px 8px !important;

    background:
        rgba(28,30,33,.94) !important;

    color: #fff !important;

    border-radius: 7px !important;

    box-shadow: none !important;

    font-size: 13px !important;

    font-weight: 750 !important;
}


/* petit accent pour TOP seulement */

.pm-top-grid .badge {
    border:
        1px solid rgba(255,255,255,.16);
}


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

@media (max-width: 1150px) {

    .pm-top-page .grid {
        grid-template-columns:
            repeat(3, minmax(0,1fr)) !important;
    }
}


@media (max-width: 760px) {

    .pm-top-heading {
        align-items: flex-start;

        flex-direction: column-reverse;

        gap: 12px;
    }

    .pm-top-section-number {
        width: 38px;
        height: 38px;

        flex-basis: 38px;

        border-radius: 10px;
    }

    .pm-top-page .grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr)) !important;

        gap: 9px !important;
    }

    .pm-top-search {
        width: 100%;

        margin-bottom: 20px;
    }

    .pm-top-page .title {
        min-height: 34px;

        font-size: 14px !important;
    }

    .pm-top-page .price {
        font-size: 14px !important;
    }
}


@media (max-width: 430px) {

    .pm-top-search button {
        padding: 0 11px;

        font-size: 13px;
    }
}

