.wp-block-sphere-product-desc-tabs {
    --product-desc-tabs-border: 1px solid #fff;
    --product-desc-tabs-radius: 4px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left top;
    position: relative;
    &::before{
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.53);
        z-index: 0;
    }
}

.product-desc-tabs__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #fff;
    position: relative;
}

.product-desc-tabs__tab {
    margin: 0;
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0.75em 1.25em;
    font: inherit;
    font-weight: 600;
    color: inherit;
    cursor: pointer;
    position: relative;
    border: none;
    padding: 50px;
    display: flex;
    color: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    gap: 20px;
    text-transform: uppercase;
    font-weight: 300;
    order: 0;
    font-size: var(--wp--preset--font-size--subtitle);
    @media screen and (max-width: 768px) {
        font-size: 16px;
        padding: 20px;
    }
    @media screen and (max-width: 576px) {
        flex: 0 0 100%;
        max-width: 100%;
    }
    svg, img, span{
        position: relative;
        z-index: 1;
    }

    &:first-child:last-child{
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.panel-appellations{
    background: var(--wp--preset--color--primary);
    color:#fff;
    h1, h2, h3, h4, h5, h6{
        color:#fff;
    }
}

.appellation-link{
    .domaine-read-more{
        border: 1px solid #fff;
    }
}

.domain-name{
 display: block;
}

.product-desc-tabs__tab:hover {
    /* opacity: 0.9; */
}

.product-desc-tabs__tab--active {
    /* background: var(--wp--preset--color--base, #fff); */
    /* border-bottom: 1px solid var(--wp--preset--color--base, #fff); */
    @media screen and (max-width: 576px) {
        order: 2;
    }
    &::before{
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--wp--preset--color--primary);
        opacity: .65;
        z-index: 0;
    }

    .domaine-read-more::after{
        transform: rotate(0deg);
    }

}

.product-desc-title{
    text-align: center;
    h1, h2, h3, h4, h5, h6{
        color: #fff;
    }
}

.product-desc-content{
    max-width: 70%;
    margin: auto;
    color: #fff;
    @media screen and (max-width: 768px) {
        max-width: 100%;
    }
}

.product-desc-tabs__panels {
    border: none;
    border-radius: 0 var(--product-desc-tabs-radius) var(--product-desc-tabs-radius);
    overflow: hidden;
    position: relative;
}

.product-desc-tabs__panel {
    display: none;
}

.product-desc-tabs__panel--active {
    display: block;
}

.product-desc-tabs__panel[hidden] {
    display: none !important;
}

.product-desc-tabs__content {
    padding: 140px 1.5em 200px 1.5em;
    @media screen and (max-width: 768px) {
        padding: 40px 1.5em 80px 1.5em;
    }
}

.product-desc-tabs__content p:first-child { margin-top: 0; }
.product-desc-tabs__content p:last-child { margin-bottom: 0; }


.domaine-read-more{
    display: inline-flex;
    align-items: center;
    background: var(--wp--preset--color--primary);
    color: #fff;
    text-transform: uppercase;
    width: -moz-fit-content;
    width: fit-content;
    font-weight: 300;
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    font-size: var(--wp--preset--font-size--extra-small) !important;
    &::after {
            content: "";
            display: block;
            background: url('../../src/svg/arrow-down.svg') no-repeat center center;
            width: 14px;
            height: 14px;
            margin-left: 10px;
            background-size: contain;
            transform: rotate(-90deg);
            transition: all .2s ease-in-out;
        }
}

.tab-more-link-container{
    padding: 60px 0 0 0;
    @media screen and (max-width: 768px) {
        padding: 20px 0 0 0;
    }

    .wp-block-button__link{
        margin: 0 auto;
        border-radius: 0;
    }
}