.main-header {
    position: relative;
    width: 100%;
    height: 50vw;
    max-height: 77vh;
    background: #EAEAEA;
}

.catalog-header {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 0 8vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;

    /* default styling */
    opacity: 0;
    transition: opacity 2s ease 0s;
}

.main-header[data-category="default"] .catalog-header[data-name="default"],
.main-header[data-category="parfums-femme"] .catalog-header[data-name="parfums-femme"],
.main-header[data-category="parfums-homme"] .catalog-header[data-name="parfums-homme"] {
    transition: opacity 2s ease 0s;
    opacity: 1;
}



/**
 * Filters section
 */

.top-section {
    position: relative;
    width: 100%;
}

.above-filters {
    position: absolute;
    width: 100%;
    font-size: 15px;
    line-height: 20px;
    border-bottom: 1px solid #E4E4E4;
    padding: 40px 8vw 30px;
    text-transform: uppercase;
}

.count {
    font-size: 1.16em;
}

details {
    position: relative;
    margin-top: 40px;
}

details:not([open]) {
    margin-bottom: 17px;
}

.filter-btn {
    position: absolute;
    top: 0;
    right: 8vw;
    display: inline-block;
    color: #001F71;
    outline: none;
    cursor: pointer;

    text-transform: initial;
    letter-spacing: initial;
    font-size: 16px;
    line-height: 18px;
    line-height: 26px;
    padding: 0 !important;
    --underline-color: #001F71;
}

.filter-btn::before {
    content: "";
    display: inline-flex;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    vertical-align: text-bottom;
    transform-origin: center;
    background: url(../images/filter-icon.svg);
    background-position: center;
    background-repeat: no-repeat;
}

.filters-container {
    justify-content: flex-start;
    padding-top: 3em;
}

.filters-container .wpgb-facet.wpgb-facet-2 {
    flex: 1;
    display: flex;
}

.filters-container .wpgb-facet.wpgb-facet-5 {
    flex: 2;
}

.filters-container .wpgb-facet>fieldset:last-child {
    margin-bottom: 0;
}

.filters-container .wpgb-facet .wpgb-hierarchical-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}

.filters-container .wpgb-facet .wpgb-hierarchical-list li,
.filters-container .wpgb-facet .wpgb-hierarchical-list:first-child>li:first-child {
    margin: 0;
    margin-bottom: 16px;
}

.filters-container .wpgb-facet .wpgb-checkbox-label {
    font-family: Austin, serif;
    font-weight: 600;
}






.disko-fake-component-catalogue-grid {
    width: 100%;

    background-color: #E4E4E4;
    background-size: 100% 100%;
    background-repeat: repeat;
}

.wpgb-content,
.wpgb-content-2,
.wpgb-search-results {
    display: grid;
    --min-width: calc(100px + 15vw);
    grid-template-columns: repeat(auto-fill, minmax(var(--min-width), 1fr));
}

.wpgb-grid-rochas_catalog {
    opacity: 1;
    transition: opacity 0.35s ease 0s;
}

.wpgb-grid-rochas_catalog.wpgb-loading {
    opacity: 0;
}

.disko-fake-component-catalogue-grid .flex-item {
    position: relative;
    height: 100%;

    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    align-items: center;

    background: white;
    border-right: 1px solid #E4E4E4;
    border-bottom: 1px solid #E4E4E4;

    overflow: hidden;
}

.disko-fake-component-catalogue-grid .tag {
    position: absolute;
    top: 35px;

    padding: 0.7em 1.5em .7em;
    font-size: 13px;
    line-height: 1em;

    text-transform: uppercase;
    color: #FCC200;
    text-align: center;

    border: 1px solid #FCC200;
    border-radius: 2em;

}

.disko-fake-component-catalogue-grid a:not(.card__vetement) {
    flex: 1;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-evenly;
    /*padding: 75px 8vw 4.6vw;*/
    padding: 45px 4vw 4vw;
}

.disko-fake-component-catalogue-grid .name {
    height: 2em;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    font-size: 26px;
    font-weight: 400;
    line-height: 1.07em;
    margin-top: 30px;
}

.disko-fake-component-catalogue-grid .pic:not(.pic--vetement) {
    /*max-height: 200px; */
    object-fit: contain;
    object-position: center;

    margin-top: 60px;
}

.disko-fake-component-catalogue-grid .flex-item.push-info {
    display: none;
}

.disko-fake-component-catalogue-grid .push-info>a {
    flex-direction: column;
    background-size: cover;
    background-position: center center;
}

.disko-fake-component-catalogue-grid .push-info .title {
    font-size: clamp(25px, 3vw, 40px);
    line-height: 1.25em;
    font-weight: bold;
    text-align: center;
    position: relative;
}

.disko-fake-component-catalogue-grid .push-info .underlined-cta {
    font-size: 16px;
    line-height: 1.125em;
    letter-spacing: 1.78px;
    position: relative;
}

.disko-fake-component-catalogue-grid .push-info .bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    filter: contrast(0.5) brightness(1.5);
}

.wpgb-facet-4 li:empty,
.wpgb-facet-11 li:empty,
.wpgb-facet-12 li:empty {
    margin-bottom: 0 !important;
}

.wpgb-grid-rochas_catalog>.flex-item .pic {
    transition: transform 0.6s ease 0s;
    transform-origin: 50% 66%;
}

.wpgb-grid-rochas_catalog>.flex-item:hover .pic {
    transform: rotateZ(-7deg);
}


/* CARD VETEMENT */
.card__vetement {
    display: flex;
    border: 1px solid #bbbbbb;
    height: auto;
}

.card__vetement-content,
.card__vetement-pic-container {
    position: relative;
}
.card__vetement-content {
    width: 100%;
    
    display: flex; /* added by co (on en discute si besoin) */
    flex-flow: column nowrap; /* added by co (on en discute si besoin) */
}

.card__vetement  .tag {
    position: absolute;
    z-index: 1;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.7em 1.5em .7em;
    font-size: 13px;
    line-height: 1em;
    text-transform: uppercase;
    color: #001F71;
    text-align: center;
    border: 1px solid #001F71;
    border-radius: 2em;
}

.card__vetement .pic {
    display: flex;
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 479 / 599;
    transition: opacity 500ms ease-in-out;
}

.card__vetement .pic--hover{
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 2;
}

.card__vetement:hover .pic--hover{
    opacity: 1;
}

.card__vetement-bottom {
    display: flex;
    justify-content: center;
    flex-flow: column nowrap;
    align-items: center;
    text-align: center;
    padding: 25px 5%;
    background-color: white;
    
    flex: 1; /* added by co (on en discute si besoin) */
    justify-content: space-between; /* added by co (on en discute si besoin) */
}

.card__vetement-name {
    font-size: 18px;
    line-height: 24px;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 5px;
}

.card__vetement-price {
    font-family: var(--sofia-rochas);
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
    font-weight: 300;
}
.page-template-template-catalog-vetements .above-filters,
.page-template-template-catalog-vetements .filters-container {
    border-bottom-color: #979797;
}
.page-template-template-catalog-vetements .filters-container {
    gap: 20px;
}
.page-template-template-catalog-vetements .disko-fake-component-catalogue-grid {
    width: 100%;
    /*background-color: #E4E4E4;*/
    background-color: #FFF;
}
.page-template-template-catalog-vetements .card__vetement {
    border-top: 0px;
    border-left: 0px;
}

.wpgb-checkbox-label[data-fr-slug]::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 7px;
    margin-right: 4px;
    box-sizing: border-box;
    vertical-align: text-top;
}

.wpgb-checkbox-label[data-fr-slug="noir"]::before {
    background-color: rgb(0, 0, 0);
}
.wpgb-checkbox-label[data-fr-slug="marron"]::before {
    background-color: rgba(102, 50, 0, 1);
}
.wpgb-checkbox-label[data-fr-slug="gris"]::before {
    background-color: rgba(145, 145, 145, 1);
}
.wpgb-checkbox-label[data-fr-slug="beige"]::before {
    background-color: rgb(244, 224, 200);
}
.wpgb-checkbox-label[data-fr-slug="beige-fonce"]::before {
    background-color: rgb(180, 176, 161);
}
.wpgb-checkbox-label[data-fr-slug="beige-clair"]::before {
    background-color: rgb(218, 204, 201);
}
.wpgb-checkbox-label[data-fr-slug="rose"]::before {
    background-color: rgba(255, 0, 128, 1);
}
.wpgb-checkbox-label[data-fr-slug="violet"]::before {
    background-color: rgba(129, 0, 127, 1);
}
.wpgb-checkbox-label[data-fr-slug="rouge"]::before {
    background-color: rgba(205, 51, 1, 1);
}
.wpgb-checkbox-label[data-fr-slug="jaune"]::before {
    background-color: rgba(254, 242, 0, 1);
}
.wpgb-checkbox-label[data-fr-slug="bleu"]::before {
    background-color: rgba(1, 123, 196, 1);
}
.wpgb-checkbox-label[data-fr-slug="vert"]::before {
    background-color: rgba(55, 154, 61, 1);
}
.wpgb-checkbox-label[data-fr-slug="vert-clair"]::before {
    background-color: rgb(143, 193, 154);
}
.wpgb-checkbox-label[data-fr-slug="vert-pastel-clair"]::before {
    background-color: rgb(201, 221, 209);
}
.wpgb-checkbox-label[data-fr-slug="abricot"]::before,
.wpgb-checkbox-label[data-fr-slug="orange"]::before {
    background-color: rgba(254, 165, 0, 1);
}
.wpgb-checkbox-label[data-fr-slug="blanc"]::before {
    border: 1px solid rgb(204, 204, 204);
}
.wpgb-checkbox-label[data-fr-slug="argente"]::before {
    border: 1px solid rgba(204, 204, 204, 1);
    background-image: linear-gradient(rgba(255, 255, 255, 1), rgba(153, 153, 153, 1));
}
.wpgb-checkbox-label[data-fr-slug="dore"]::before {
    background-image: linear-gradient(rgba(148, 98, 6, 1), rgba(238, 201, 65, 1));
}
.wpgb-checkbox-label[data-fr-slug="multicolore"]::before {
    background-image: radial-gradient(farthest-side at 50% 100%, yellow, orange, pink, red, purple, blue, green, purple 90%);
    background-size: 200% 100%;
    background-position: 50% 0%;
}

.main-header-vetements {
    padding: 0 8vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
}

.wpgb-facet.wpgb-facet-18[data-grid="rochas_catalog_vetements"] {
    display: flex;
    justify-content: center;
    align-items: center;
} 

.wpgb-facet.wpgb-facet-18[data-grid="rochas_catalog_vetements"] .wpgb-load-more {
    border: 1px solid black;
    border-radius: 0;
    background-color: white !important;
    padding: 18px 36px 15px;
    font-size: 14px;
    line-height: 14px;
    text-decoration: none !important;
    margin: 80px 0 !important;
    transition: all 500ms ease-in-out;
}
.wpgb-facet.wpgb-facet-18[data-grid="rochas_catalog_vetements"] .wpgb-load-more:hover {
    background-color: black !important;
    color: white !important;
}


@media screen and (min-width: 768px) {
    .card__vetement-name {
        font-size: 24px;
        line-height: 28px;
    }
}

@media screen and (max-width: 768px) {
     .card__vetement .tag {
        width: max-content;
        top: 12px;
        left: 50%;
        font-size: 11px;
        transform: translateX(-50%);
        padding: 0.7em 1.5em .35em;
    }
}
