/** IMPORTS**/
/*** TYPOS ***/
@import url('../fonts/dm-sans/dm-sans.css');

/** BOOTSTRAP OVERRIDE **/
@import url('bootstrap-override.css');

/** VARIABLES **/
:root {
    /*** COULEURS ***/
    --color-white: #ffffff;
    --color-black: #000000;
    --color-mirage: #192025;
    --color-burnt-sienna: #f26c4f;
    --color-red-damask: #d2623a;
    --color-mine-shaft: #202020;

    --color-body: var(--color-mirage);
    --color-primary: var(--color-burnt-sienna);
    --color-dark: var(--color-mine-shaft);

    /*** BORDER RADIUS ***/
    --br-default: .8rem;
    --br-sm: .4rem;
}

::selection {
    background-color: var(--color-primary);
}

/** THEME **/
body {
    font-family: 'DM Sans 9pt', sans-serif;
    color: var(--color-body);
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-body);
}

.label,
label {
    color: var(--color-body);
}

a {
    color: var(--color-primary);

    &:hover {
        color: var(--color-primary);
    }
}

/*** HEADER ***/
#header {
    margin-bottom: 50px;

    .header-top {
        border-bottom: 0;
        max-width: 100vw;

        .header-top__row {
            .header-top__block--logo {
                .logo {
                    max-height: 25px;
                    width: auto;
                }
            }

            .header-top__block--menu {
                .main-menu__item-link {
                    font-size: 1rem;
                    font-weight: 400;

                    &:hover {
                        color: var(--color-primary);
                    }
                }
            }

            .header-top__block--user,
            .header-top__block--cart {
                .header-top__link {
                    background: #e4e4e4;
                    border-radius: 25px;
                    width: 35px;
                    height: 35px;


                    .header-top__icon-container {
                        width: 100%;
                        height: 100%;
                        display: flex;
                        align-items: center;
                        justify-content: center;

                        .header-top__icon {
                            display: block;
                            color: var(--color-body);
                            font-size: 1.5rem;
                        }

                        .header-top__badge {
                            right: 1.5em;
                            top: -1.2em;
                            background: var(--color-primary);
                        }
                    }
                }
            }

            .header-top__block--menu-toggle {
                .header-top__icon-container {
                    display: flex;
                }
            }

            .wk_become_seller_header_link {
                display: none;
            }

            .mp_advertise {
                display: none;
            }
        }
    }

    @media (min-width: 768px) {
        .header-top {
            .header-top__row {
                .header-top__block--logo {
                    .logo {
                        max-height: 40px;
                    }
                }

                .mp_advertise {
                    display: initial;
                }
            }
        }
    }
}

/*** MENU ***/
#mobile_top_menu_wrapper {
    .wk_become_seller_header_link {
        display: none;
    }
}

/*** PAGE ACCUEIL ***/
.page-index {
    background: #f4efe7;

    .home-h1 {
        text-align: center;
        font-size: 2.5rem;
        font-weight: 800;
        text-wrap: balance;
        margin: 2rem auto;
    }

    #main {
        .prettyblocks-custom-content {
            text-align: center;
            font-size: 1.25rem;
        }
    }

    .search-widgets {
        margin: 5rem auto;
    }

    .ecb-categoryslider {
        margin-bottom: 5rem !important;
    }

    .ecb-homecontent {
        margin: 5rem 0;
    }

    .ecb-categorylist {
        margin: 4rem 1rem;
    }

    @media (min-width: 768px) {
        .search-widgets {
            max-width: 80%;
        }
    }

    @media (min-width: 992px) {
        .home-h1 {
            font-size: 4.5rem;
        }

        #main {
            .prettyblocks-custom-content {
                font-size: 2rem;
            }
        }

        .ecb-categorylist {
            margin: 8rem 5rem;
        }
    }
}

/*** PAGE PRODUIT ***/
body.page-product {
    .product-main-images {
        .swiper-button-custom {
            color: var(--color-primary);
        }
    }

    .product-container {
        h1 {
            margin-bottom: 2em;
            font-weight: 600;
            font-size: 1.5rem;
        }
    }

    .wk-product-page-seller-rating {
        box-shadow: none;

        .wk-sold-by-box {
            background: none;
            padding: 0;

            .wk-shop-default-icon {
                width: 24px;
                height: 24px;
                margin-right: 8px;
            }

            .wk-profile-name {
                font-weight: 600;
            }
        }
    }

    .product-prices {
        .product-price {
            .price {
                color: var(--color-body);
                display: flex;
                align-items: center;
                font-weight: 600;
                font-size: 1.5rem;

                &::before,
                &::after {
                    display: block;
                    content: '';
                    height: 1px;
                    background: #d4cfcd;
                    width: 100%;
                }

                &::before {
                    margin-right: 25px;
                }

                &::after {
                    margin-left: 25px;
                }
            }
        }
    }

    .product-information {
        .product-customization {
            .card {
                border: 0;

                .card-title {
                    font-size: 1rem;
                    font-weight: 600;
                }

                .card-body {
                    padding: 1.25rem 0;

                    .product-customization-item {
                        label {
                            color: var(--color-primary);
                        }

                        .product-message {
                            border: solid 1px #d4cfcd;
                            background: #f8f7f7;
                            border-radius: var(--br-sm);
                            height: 43px;
                            line-height: 31px;
                            padding: 5px 20px;

                            &::placeholder {
                                color: #99999A;
                            }
                        }

                        small {
                            font-size: .75rem;
                        }
                    }

                    [name="submitCustomizedData"] {
                        margin-top: .5rem;
                    }
                }
            }
        }

        .product-actions {
            label {
                font-weight: 600;
            }

            .product-quantity {
                .input-group {
                    justify-content: space-between;
                }

                .bootstrap-touchspin {
                    max-width: none;
                    padding: 5px;
                    background: #f8f7f7;

                    >input {
                        background: none;
                        border: 0;
                        height: 31px;
                    }

                    .btn {
                        background: #b8b7b7;
                        width: 31px;
                        height: 31px;
                        border-radius: var(--br-sm);
                        color: var(--color-white);

                        &:hover {
                            background: var(--color-dark);
                        }
                    }
                }

                .add-to-cart {
                    font-weight: 600;
                    font-size: 1.25rem;
                }
            }
        }
    }

    .product-additional-info {
        margin-top: 1rem;
    }

    .product-isbn {
        font-size: .875em;
        margin-bottom: .5rem;

        strong {
            font-weight: 600;
        }
    }

    .product-quantities {
        &.badge {
            label {
                font-weight: inherit;
                color: inherit;
                margin: 0;
            }
        }
    }

    .product-delivery {
        display: flex;
        align-items: center;
        margin-top: .5rem;
        font-size: .875rem;

        span {
            margin-right: .5rem;
        }
    }

    .product-categories {
        display: flex;
        margin-top: 1em;

        li+li {
            margin-left: .75rem;
        }

        .badge {
            font-weight: 500;
        }
    }

    .product-tabs {
        .tab {
            .tab-title {
                font-size: 1rem;
                font-weight: 600;
                margin-bottom: 1rem;
            }

            &+.tab {
                margin-top: 3rem;
            }
        }

        /* TODO : cacher l'onglet uniquement si il est vide */
        #product-details {
            display: none;
        }
    }

    .product-footer {
        display: flex;
        flex-wrap: wrap;

        & > *:not(.social-sharing, .wishlist-button-add) {
            flex-basis: 100%;
        }
    }

    .featured-products {
        border-top: solid 2px #d4cfcd;

        .featured-products__header {
            margin: 1rem 0;
        }
    }

    .wk_soldby_link {
        order: -1;
        padding-bottom: 5px;
    }

    #product-modal {
        .swiper-button-custom {
            color: var(--color-primary);
        }
    }
}

/*** CATEGORIE ***/
.page-category {
    background: #f6f6f6;

    #main {
        .block-category {
            background: var(--color-white);
            border-radius: var(--br-default);
            padding: 25px;
            margin-bottom: 10px;

            h1 {
                text-transform: uppercase;
                font-weight: 600;
                font-size: 2rem;
            }
        }

        .block-subcategories {
            margin-bottom: 10px;

            .category-link {
                margin: .5rem;
                display: inline-block;
                border-radius: var(--br-default);
                padding: 14px 30px;
                background: var(--color-white);
                color: var(--color-body);
                font-weight: 600;

                &.active {
                    background: #f7eaea;
                    color: #ff5e5b;
                    text-transform: uppercase;
                    font-weight: 500;
                }
            }
        }
    }

    &.category-masonry {
        background: var(--color-white);

        #main {
            .block-subcategories {
                .category-link:not(.active) {
                    background: #f6f6f6;
                }
            }
        }

        .products-list {
            align-items: start;
            margin-bottom: 5rem;

            .products-list__block {
                width: 33.33%;

                .product-miniature {
                    height: auto !important;

                    .product-miniature__thumb {
                        border-radius: 25px;

                        .product-flags {
                            display: none !important;
                        }
                    }

                    .product-miniature__description,
                    .product-miniature__pricing,
                    .product-miniature__actions {
                        display: none;
                    }

                    .product-miniature__seller {
                        display: block;
                    }
                }

                &:nth-child(2n) {
                    transform: translateY(5rem);
                }
            }
        }
    }

    @media (min-width: 992px) {
        &.category-masonry {
            .products-list {
                .products-list__block {
                    &:nth-child(2n) {
                        transform: none !important;
                    }

                    &:nth-child(3n+2) {
                        transform: translateY(5rem) !important;
                    }
                }
            }
        }
    }
}

/*** COMPTE CLIENT ***/
body:has(.customer-links) {
    .customer-links {
        a {
            i {
                color: var(--color-primary);
            }

            &:hover,
            &:focus {
                color: var(--color-primary);
            }

            &.active {
                background: var(--color-primary);

                i {
                    color: var(--color-white);
                }

                &:hover,
                &:focus {
                    color: var(--color-white);
                }
            }
        }
    }
}

/*** PANIER ***/
body#cart {
    /*.card {
        border: 0;

        .card-header {
            background: none;
            border: 0;
            padding: 0;
            margin-bottom: 1rem;

            .card-title {
                font-size: 2rem;
            }
        }
    }

    .cart-container {
        border: 0;
    }*/

    .cart-overview {
        .wk-sellerWiseProduct-block {
            border: 0;
        }

        .wk-seller-block {
            border-radius: 0;
            color: var(--color-black);
            background: #f4efe7;
            margin-bottom: .5rem;

            a {
                color: inherit;
                font-weight: 600;
            }
        }
    }

    /*.cart-summary {
        background: #f4efe7;
        padding: 1.5rem;
    }*/
}

/*** CHECKOUT ***/
body#checkout {
    #header {
        .logo {
            max-height: 40px;
            width: auto;
        }
    }

    .checkout-option-block {
        &.selected{
            .card {
                border-color: var(--color-primary);
            }
        }
    }
}

/*** CONFIRMATION DE COMMANDE ***/
body#order-confirmation {
    #content-hook_order_confirmation {
        text-align: center;
    }

    .page-order-confirmation.card {
        border: 0;

        .card-header {
            margin-top: 1rem;
            border-bottom: 0;
            border-radius: 0;
        }
    }

    .package {
        border: 0;
        padding: 1rem 2rem 1.5rem;
        background: #f4efe7;
        margin-bottom: 1rem;
    }

    .wk-order-package {
        font-weight: 700;
        text-transform: uppercase;
        color: var(--color-primary);
        margin-bottom: 0;
    }

    .order-confirmation-table {
        width: 100%;

        .product-table {
            th,
            td {
                border: 0;
            }

            .product-line__cell {
                &.product-line__cell--price,
                &.product-line__cell--qty {
                    > * {
                        color: var(--color-body);
                    }
                }

                &.product-line__cell--img {
                    width: 15%;
                }
            }
        }
    }
}

/*** FOOTER ***/
.footer-before {
    display: none;
    margin: 0 auto;
    text-align: center;

    [data-prettyblocks-zone="displayFooterBefore"] {
        max-width: 600px;
        margin: 0 auto;
    }

    .prettyblocks-custom-content {
        font-size: 1.25rem;
    }

    @media (min-width: 768px) {
        width: 80%;
    }

    body#category:not(.category-masonry) &,
    body#module-mpsellerlist-viewmorelist & {
        display: initial;
    }

    body#category & {
        @media (min-width: 768px) {
            width: 66.66%;
            margin-right: 0;
        }

        @media (min-width: 992px) {
            width: 75%;
        }
    }
}

#footer {
    .footer-container {
        background: none;
    }

    .footer-inner {
        background: var(--color-white);
        border-radius: 25px;
        padding: 2rem 3rem;

        .h4 {
            font-size: 1rem;
        }

        .links-list__elem:not(:last-child) {
            margin-bottom: 5px;
        }
    }

    [data-prettyblocks-zone="displayFooter"] {
        width: 100%;
        display: flex;
        flex-direction: column;
        text-align: center;

        .ecb-button {
            margin-bottom: 1rem;
        }
    }

    @media (min-width: 576px) {
        [data-prettyblocks-zone="displayFooter"] {
            width: 100%;
            flex-direction: row;
            justify-content: center;
            align-items: center;
    
            .ecb-button {
                margin-bottom: 0;
            }

            p {
                margin: 0;
            }

            [data-id-prettyblocks] {
                margin: 0 10px;
            }
        }
    }

    @media (min-width: 1400px) {
        .footer-inner {
            margin: 0 -5rem 5rem;
        }
    }
}

/*** MARKETPLACE : SHOPSTORE ***/
body#module-marketplace-shopstore {
    background: #fafafa;

    #header {
        margin-bottom: 0;
    }

    #wrapper {
        background: none;
    }

    .wk_profile_header {
        background-color: var(--color-white);
        padding-bottom: 1rem;
        margin-bottom: 1rem;
        padding-top: 100px;
        min-height: 215px;

        &:has(.wk_banner) {
            padding-top: 0;
        }

        .wk_profile_header_body {
            padding: 0 1rem 0 100px;
            position: relative;
        }

        .wk_banner {
            height: 125px;
            overflow: hidden;
            margin-left: -.625rem;
            margin-right: -.625rem;

            img {
                width: 100%;
                height: 100% !important;
                object-fit: cover;
            }
        }

        .wk_profile_img {
            width: 75px;
            height: 75px;
            padding: 0;
            border-radius: 100%;
            border: solid 2px var(--color-white);
            overflow: hidden;
            margin: 0;
            position: absolute;
            top: 0;
            transform: translateY(-55%);
            left: 1rem;
            box-shadow: none !important;
        }

        .wk_profile_seller_name {
            padding: 0;
            border: 0;
            margin-right: 35px;

            h1 {
                text-transform: none !important;
                font-size: 1.2rem;
                margin-bottom: .5rem;
            }
        }

        .wk-social-icon {
            margin-bottom: 1rem;
            color: #bdbdbd;

            a {
                color: inherit;
                text-decoration: none;

                .icon {
                    font-size: 1.5rem;
                }
            }

            .wk-twitter-button {
                .icon-bluesky {
                    background-image: url('../../assets/icon/bluesky.svg');
                    width: 18px;
                    height: 18px;
                    display: inline-block;
                    background-repeat: no-repeat;
                    background-position: center;
                    margin: 2px;
                    filter: brightness(0) saturate(100%) invert(76%) sepia(0%) saturate(0%) hue-rotate(237deg) brightness(99%) contrast(95%);
                }
            }
        }

        .wk-email {
            position: absolute;
            right: 0;
            top: 0;
            width: 48px;
            height: 48px;
            background-color: #e0dbd9;
            border-radius: 25px;
            color: var(--color-body);
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;

            .material-icons {
                font-size: 1.25rem;
            }
        }
    }

    #left-column {
        .card {
            .card-title {
                font-size: 1rem;
                text-transform: none;
            }
        }
    }

    .wk-mp-block {
        background: none;
    }

    .wk_about_shop {
        p {
            color: var(--color-body) !important;
        }
    }

    .wk-mp-content {
        background: none;
        box-shadow: none;
    }

    .wk_catg_list {
        width: 100%;
    }

    .wk_payment_means,
    .wk_badges {
        &.card {
            padding-top: 10px;
            padding-bottom: 15px;

            .card-title {
                text-align: center;
                font-size: .875rem !important;
                margin-bottom: 0;
            }
        }

        .payment-list,
        .badge-list {
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            margin-left: -5px;
            margin-right: -5px;

            img {
                height: 20px;
                width: auto;
                margin: 5px;
            }
        }

        .badge-list {
            justify-content: center;

            img {
                height: 35px;
            }
        }
    }

    .product_img_link {
        &:hover {
            text-decoration: none;
        }
    }

    .wk_product_collection {
        .wk-collection-top {
            display: flex;
            flex-direction: column;
            align-items: center;

            .wk_collection_total_products {
                padding-bottom: .625rem;
            }
        }

        .wk-collection-bottom {
            text-align: center;

            .pagination {
                justify-content: center;
            }
        }
    }

    @media (min-width: 576px) {
        .wk_profile_header {
            .wk_banner {
                width: 100%;
                border-radius: 0 0 .8rem .8rem;
                margin-left: 0;
                margin-right: 0;
            }
        }

        .wk_product_collection {
            .wk-collection-top {
                flex-direction: row;
                margin-top: 1rem;
            }
        }
    }

    @media (min-width: 768px) {
        .wk_profile_header {
            &:has(.wk_banner) {
                min-height: 300px;
            }

            .wk_profile_header_body {
                padding-left: 175px;
            }

            .wk_banner {
                height: 200px;
            }

            .wk_profile_img {
                width: 150px;
                height: 150px;
            }
        }

        .wk_product_collection {
            .wk-collection-top {
                margin-top: 0;
            }
        }
    }

    @media (min-width: 992px) {
        .wk_profile_header {
            &:has(.wk_banner) {
                min-height: 400px;
            }

            .wk_profile_header_body {
                padding-left: 250px;
            }

            .wk_banner {
                height: 280px;
            }

            .wk_profile_img {
                width: 190px;
                height: 190px;
            }

            .wk_profile_seller_name {
                h1 {
                    margin-bottom: 1rem;
                }
            }
        }

        .wk_product_collection {
            .wk-collection-bottom {
                text-align: left;
            }
        }
    }
}

/*** MARKETPLACE : SELLER LIST ***/
body#module-mpsellerlist-viewmorelist {
    #wrapper {
        background: none;
    }

    .wk_seller_container {
        border: 0;
    }

    .heading_list {
        .search_container {
            width: 90%;
            margin: 50px auto;

            .input-group {
                position: relative;

                .mp_search_box {
                    flex: 1;
                    background: #F8F7F7;
                    border: solid 1px #A19792;
                    border-radius: 25px;
                    padding: 12px 125px 12px 12px;

                    &::placeholder {
                        color: #A19792;
                    }
                }

                #mpseller-search {
                    border: 0;
                    position: absolute;
                    right: 6px;
                    top: 5px;
                    padding: 8px 22px;
                }
            }
        }

        .wk_seller_list {
            background: none;

            .wk_p_header {
                text-transform: uppercase;
                font-weight: 600;
                font-size: 2rem !important;
            }
        }
    }

    .wk_seller_item {
        padding: .5rem;
    }

    .wk_seller_card {
        background: #f7f7f7;
        border-radius: var(--br-default);
        overflow: hidden;

        .thumbnail {
            height: 60px;
            width: 100%;
            display: block;
            margin: 0;

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }

        .wk_seller_details {
            text-align: left;

            .wk_seller_name {
                font-weight: 600;
                margin-bottom: 3px;
                font-size: 1rem;
                height: auto;
            }

            .wk_seller_product_count {
                font-size: .875rem;
                font-weight: 600;
                color: #454b4f;
                margin-bottom: 5px;
            }

            .wk_seller_desc {
                font-size: .875rem;
                color: #454b4f;
            }

            .btn_seller_shop {
                font-weight: 600;
            }
        }
    }
}

/**** MARKETPLACE : SELLER LOGIN ****/
body#module-marketplace-sellerlogin {
    #header {
        margin-bottom: 0;

        #wk-header-container {
            height: auto;
            background: #202020;
        }
    }

    .wk-header-left {
        float: none;
        margin: 0 !important;
        text-align: center;

        #wk-header-logo {
            img {
                max-width: none !important;
                max-height: none;
                width: 130px;
            }
        }
    }

    .wk-header-right {
        float: none;
        margin-bottom: -25px;
    }

    #header_login {
        background: var(--color-primary);
        padding: 1.5rem 2.5rem;
        max-width: 80%;
        margin: 0 auto;
        position: relative;
        z-index: 2;

        .wk_mp_seller_login_form {
            justify-content: center;
        }

        #mp_login_form {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100%;

            .wk-seller-login-text {
                font-size: 1rem;
            }

            .wk_mp_seller_login_field {
                border: solid var(--color-white);
                border-width: 0 0 1px 0;
                background: none;
                font-size: .875rem;
                color: var(--color-white);
                width: 100%;

                &::placeholder {
                    color: var(--color-white);
                    opacity: .5;
                }
            }
        }

        button[type="submit"] {
            border-radius: var(--br-sm);
        }

        .wk-forgot {
            float: none;
            width: 100%;
            text-align: center;
            margin-right: 0 !important;

            a {
                &:hover {
                    color: var(--color-body) !important;
                }
            }
        }
    }

    .banner_block {
        margin-top: 35px;
        background-repeat: no-repeat;
        background-position: bottom right;

        .seller__img {
            max-width: 175px;
        }

        .seller__title {
            background: none;
            padding: 0;
            margin: 0;
        }

        .seller__subtitle {
            text-align: center;
        }
    }

    .feature_block {
        table {
            font-size: .875rem;

            tbody {
                tr {
                    display: flex;
                    flex-direction: column;
                    text-align: center;

                    td {
                        padding: 0 1rem;
                        display: flex;
                        flex-direction: column;
                    }

                    div:has(img) {
                        margin-bottom: 1rem;

                        img {
                            height: 40px !important;
                            width: auto !important;
                        }
                    }

                    p {
                        strong {
                            font-weight: 600;
                        }

                        &:has(strong) {
                            flex: 1;
                        }
                    }
                }
            }
        }
    }

    #mp_register_form,
    #form_shop_info {
        .form_wrapper {
            background: var(--color-white);
            border: 0;
            border-radius: 25px;
            padding: 1rem 2rem 2rem;
        }
    }

    .hr_style {
        border-color: var(--color-primary);
    }

    .tc_cont {
        background: var(--color-dark);
    }

    @media (min-width: 576px) {
        .wk-margin-container {
            display: flex;
            justify-content: space-between;
            position: relative;
            height: 50px;

            .wk-header-right {
                width: 300px;
                margin: 0 !important;

                #header_login {
                    max-width: none;
                }
            }
        }

        .banner_block {
            margin-top: 250px;
        }
    }

    @media (min-width: 768px) {
        .banner_block {
            margin-top: 0;
        }

        .seller__img {
            position: absolute;
            right: 0;
            bottom: 0;
            transform: translateX(150%) translateY(-75%);
        }
    }

    @media (min-width: 992px) {
        .banner_block {
            margin-top: 0;

            .seller__img {
                max-width: 250px;
                transform: translateX(140%) translateY(-35%);
            }
        }

        .feature_block {
            table {
                tbody {
                    tr {
                        flex-direction: row;
                    }
                }
            }
        }
    }
}

/**** MARKETPLACE : COMPTE VENDEUR ****/
body:has(#header #wk-header-container) {
    background: #fafafa;

    #header {
        margin-bottom: 0;

        #wk-header-container {
            background: #202020 !important;
        }
    }

    #content-wrapper {
        .wk-mp-block {
            background: none !important;

            .nav-tabs {
                margin-bottom: 1rem;

                .nav-link {
                    display: flex;
                    align-items: center;
                    margin-bottom: 0 !important;

                    i {
                        margin-right: 2px !important;
                    }
                }
            }

            .btn {
                &:has(i.material-icons) {
                    display: inline-flex;
                    align-items: center;

                    i {
                        margin-right: 2px !important;
                    }
                }
            }
        }

        .wk_menu_item {
            .menutitle {
                background: #f4efe7 !important;
            }

            li {
                padding: 0;

                span {
                    a {
                        display: flex;
                        align-items: center;
                        position: relative;

                        &:hover {
                            text-decoration: none;
                        }

                        &:has(.wkbadge-primary) {
                            padding-right: 35px;
                        }

                        i {
                            margin-right: 2px !important;
                        }

                        .wkbadge-primary {
                            position: absolute;
                            right: 10px;
                        }
                    }
                }

                &.menu_active {
                    a {
                        color: var(--color-primary) !important;
                    }
                }

                &:hover {
                    a {
                        color: var(--color-primary) !important;
                    }
                }
            }
        }

        .wk-mp-content {
            .page-title {
                background: #202020 !important;
            }
        }

        .dataTables_paginate {
            ul.pagination {
                > .active {
                    > a  {
                        background: var(--color-primary);
                        border-color: var(--color-primary);
                    }
                }

                .disabled {
                    a {
                        opacity: .5;
                        background: var(--color-white) !important;
                    }
                }

                li:first-child {
                    a {
                        border-radius: .4rem 0 0 .4rem;
                    }
                }

                li:last-child {
                    a {
                        border-radius: 0 .4rem .4rem 0;
                    }
                }
            }
        }
    }
}

/*** COMPOSANTS ***/
/**** LISTING PRODUITS ****/
#products {
    .products-selection {
        justify-content: end;

        [data-action="search-select"],
        .selectMpProductSort {
            background: var(--color-white) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5'%3E%3Cpath fill='%23343a40' d='M2 0 0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E") right 1rem center/8px 10px no-repeat !important;
            background-color: #dbd6d4 !important;
            border: 0 !important;
            border-radius: 25px;
            color: var(--color-body) !important;
            padding: .5rem 2rem .5rem 1rem !important;
            font-size: 1rem !important;
            height: auto !important;
        }

        .wk_collection_total_products {
            flex: 1;
            color: var(--color-body);
        }
    }

    .page-not-found {
        background: none;
    }
}

.products-list {}

/**** MINIATURE PRODUIT ****/
.product-miniature {
    border: 0;

    .product-miniature-body {
        position: relative;
    }

    .product-miniature__thumb {
        border-radius: .4rem .4rem 0 0;
        overflow: hidden;
        margin: 0;

        .product-miniature__thumb-link {
            display: block;
            width: 100%;

            img {
                width: 100%;
            }
        }
    }

    .product-miniature__title {
        font-weight: 600;
        height: auto;
        margin-bottom: 3px;
        font-size: 1rem;
    }

    .product-miniature__description {
        font-size: .875rem;
        color: #989b9d;
    }

    .product-miniature__pricing {
        .price {
            font-weight: 500;
            font-size: .875rem;
            color: var(--color-body);
        }
    }

    .product-miniature__seller {
        display: none;
    }

    .product-miniature__form,
    .product-miniature__actions>.btn {
        position: absolute;
        top: -50px;
        right: 10px;

        .add-to-cart {
            &::after {
                content: '+';
            }
        }
    }
}

.wk_product_collection {
    padding: 0;

    .wk_collection_data {
        border: 0;
        border-radius: var(--br-default);
        overflow: hidden;
    }

    .wk_collecion_details {
        position: relative;
        text-align: left;

        .mp-product-name {
            text-align: inherit;
            font-weight: 600;
            height: auto;
            margin-bottom: 3px;
            font-size: 1rem;
            color: var(--color-body);
        }

        .mp-product-description {
            font-size: .875rem;
            color: #84878a;
        }

        .mp-product-price {
            text-align: inherit;
            font-weight: 500;
            font-size: .875rem;
            color: var(--color-body);
        }

        form,
        .mp-product-actions>.btn {
            position: absolute;
            top: -50px;
            right: 10px;

            [data-button-action="add-to-cart"] {
                &::after {
                    content: '+';
                }
            }
        }
    }
}

/**** PRODUCT FLAGS ****/
.product-flags__flag--on-sale,
.product-flags__flag--new,
.product-flags__flag--out_of_stock {
    background: var(--color-primary);
}

/**** FILTRES DE RECHERCHE ****/
#search_filters {
    .search-filters__slider {
        .noUi-target {
            background: #818181;
        }

        .noUi-connect {
            background: var(--color-body);
        }

        .noUi-handle {
            background: var(--color-white);
            border-color: var(--color-body);
            width: 8px;
            height: 24px;
            border-radius: 20px;
            right: -4px;
            top: -8px;
        }
    }
}

/**** PRICE ****/
.price {
    color: var(--color-primary);
}

/**** FORMULAIRE ****/
.form-control {
    &:focus {
        box-shadow: 0 0 0 .2rem rgba(242, 108, 79, .5);
        border-color: var(--color-primary);
    }
}

.custom-control-input {
    &:checked {
        &~.custom-control-label {
            &::before {
                background-color: var(--color-primary);
                border-color: var(--color-primary);
            }
        }
    }

    &:focus {
        &~.custom-control-label {
            &::before {
                box-shadow: 0 0 0 .2rem rgba(242, 108, 79, .5);
            }
        }
    }

    &:not(:disabled) {
        &:active {
            &~.custom-control-label {
                &::before {
                    background-color: rgba(242, 108, 79, .5);
                    border-color: rgba(242, 108, 79, .5);
                }
            }
        }
    }
}

/**** MODALES ****/
.modal {
    max-width: 100vw;
}

/*** UTILITAIRES ***/
.drop-shadow {
    border: solid 1px var(--color-black);
    position: relative;
    margin-right: 20px !important;

    &::before {
        content: '';
        display: block;
        width: 100%;
        height: 100%;
        background: #f7c687;
        border: solid 1px var(--color-black);
        position: absolute;
        left: 20px;
        top: 20px;
        z-index: -1;
        border-radius: 2rem;
    }
}

/**** COLONNE ****/
#left-column {
    .card {
        background: var(--color-white);
        border: 0;
        padding: 25px 25px 40px;
        border-radius: var(--br-default);
        margin-bottom: 1rem;

        .card-header {
            background: none;
            border: 0;
            padding: 0 0 1rem;

            .card-title {
                text-transform: uppercase;
                font-weight: 600;
                font-size: 2rem;
            }
        }

        .list-group {
            .list-group-item {
                background: #f5f4f1;
                border: 0;
                padding: 10px;
                border-radius: var(--br-sm);
                color: #818181;

                a {
                    text-decoration: underline;

                    &:hover {
                        background: initial;
                    }

                    &.icon-collapse {
                        display: none;
                    }
                }

                &:not(:first-child) {
                    margin-top: 10px;
                }
            }
        }

        &:last-child {
            margin-bottom: 0;
        }
    }
}

/** MODULES **/
/*** is_searchbar ***/
.search-widgets {
    .input-group {
        background: #f8f7f7;
        border: solid 2px #d4cfcd;
        border-radius: 35px;
        overflow: hidden;
        align-items: center;

        .input-group-prepend,
        .input-group-append {
            .input-group-text {
                border: 0;
                background: none;
                color: var(--color-body);
            }

            .btn {
                padding: 8px 22px;
                border-radius: 25px;
                margin: 5px 6px;
                font-weight: 600;
            }
        }

        .input-group-prepend {
            .input-group-text {
                padding-right: 5px;
            }
        }

        .form-control {
            border: 0;
            background: none;
            color: var(--color-body);
            padding-left: 5px;
            padding-right: 5px;

            &::placeholder {
                color: #A19792;
            }
        }
    }
}

/*** prettyblocks ***/
.prettyblocks-faq {
    background: var(--color-white);
    padding: 2rem 1rem !important;
    margin: 2rem auto;
    border-radius: var(--br-default);

    .accordion {
        .accordion-item {
            border: 0;
            margin-bottom: 1rem;

            button {
                background: #f7c687;
                border: solid 1px var(--color-black);
                color: var(--color-body);
                padding: 1rem;
                border-radius: var(--br-default);
                font-weight: 600;

                .icon {
                    border: 0;
                    right: 1rem;
                }
            }
        }
    }

    @media (min-width: 992px) {
        padding: 2rem 3rem !important;
        max-width: 80%;
    }
}

/*** mprelatedproduct ***/
.seller-products {
    margin: .5rem 0;
}

.mp-related-products {
    border-top: solid 2px #d4cfcd;

    .mp-related-products__header {
        display: flex;
        align-items: center;
        justify-content: space-between;

        .page-product-heading {
            margin: 1rem 0
        }
    }
}

/*** productcomments ***/
#product-comments-list-header {
    border-top: solid 2px #d4cfcd;
    padding-top: 30px;

    .comments-nb {
        i {
            display: none;
        }
    }
}

/*** blockwishlist ***/
.wishlist-button-add {
    border-radius: var(--br-sm) !important;
    background: #e4e4e4 !important;
    color: var(--color-body);
    box-shadow: none !important;
    /* display: inline-flex !important; */

    i {
        color: inherit !important;
        font-size: 1.25rem;
    }

    &:hover {
        background: var(--color-dark) !important;
        color: var(--color-white);
        opacity: 1 !important;
    }
}

/*** ps_sharebuttons ***/
.social-sharing {
    margin: 0 0 0 auto !important;
    /* display: inline-block !important; */

    .h6 {
        display: none;
    }

    ul {
        li {
            a {
                width: 40px;
                height: 40px;
                background: #e4e4e4;
                border-radius: var(--br-sm) !important;
                box-shadow: none;
                border: 0;

                &:hover {
                    background: var(--color-dark);
                    color: var(--color-white);
                }
            }
        }
    }
}

/*** ps_emailsubscription ***/
.block_newsletter {
    #block-newsletter-label {
        font-size: 1.5rem;
        line-height: 1em;
        max-width: 85%;
        margin: 2rem auto .5rem;
        text-wrap: balance;
    }

    .input-group {
        background: var(--color-white);
        border-radius: 35px;
        overflow: hidden;
        align-items: center;
        padding-left: 25px;

        .input-group-append {
            .input-group-text {
                border: 0;
                background: none;
                color: var(--color-body);
            }

            .btn {
                padding: 8px 22px;
                border-radius: 25px;
                margin: 5px 6px;
                font-weight: 600;
            }
        }

        .form-control {
            border: 0;
            background: none;
            color: var(--color-body);

            &::placeholder {
                color: #A19792;
            }
        }
    }

    @media (min-width: 992px) {
        #block-newsletter-label {
            font-size: 3rem;
        }
    }

    @media (min-width: 1200px) {
        #block-newsletter-label {
            max-width: 60%;
        }
    }
}

/*** is_searchbar ***/
#_desktop_search_from,
#_mobile_search_from {
    .search-form {
        .search-form__input {
            &:focus {
                border-color: var(--color-primary);
                background: var(--color-white);
            }
        }

        .search-form__btn {
            color: var(--color-body);

            &:hover {
                color: var(--color-primary);
            }
        }
    }
}

#_desktop_search_from {
    .js-search-result {
        top: 100px;
        width: 500px;
        border-radius: var(--br-sm);
    }

    .search-result {
        .search-result__products {
            margin-top: 0;

            .products-list__block {
                width: 100%;
                flex-basis: 100%;
                max-width: none;
                margin-bottom: 10px;

                .product-miniature {
                    flex-direction: row;

                    .product-miniature__thumb {
                        max-width: 75px;
                    }

                    .product-miniature-body {
                        padding-top: 0 !important;
                        padding-bottom: 0 !important;
                    }

                    .product-miniature__title {
                        font-size: .75rem;
                    }

                    .product-miniature__description {
                        display: none;
                    }
                }
            }
        }
    }
}

/*** ps_socialfollow ***/
.block-social {

    .icon-ps-socialfollow-bluesky,
    .icon-ps-socialfollow-substack,
    .icon-ps-socialfollow-mastodon {
        width: 18px;
        height: 18px;
        background-position: center;
        background-size: 14px auto;
        background-repeat: no-repeat;
    }

    .icon-ps-socialfollow-bluesky {
        background-image: url('../../assets/icon/bluesky.svg');
    }

    .icon-ps-socialfollow-substack {
        background-image: url('../../assets/icon/substack.svg');
    }

    .icon-ps-socialfollow-mastodon {
        background-image: url('../../assets/icon/mastodon.svg');
    }
}

/*** blockreassurance ***/
.blockreassurance_product {
    font-size: .875rem;

    .item-product {
        margin-right: 10px;

        svg {
            path {
                fill: var(--color-primary);
            }
        }
    }

    .block-title {
        font-weight: 600;
    }
}

/*** blockwhishlist ***/
.wishlist-add-to-new {
    i {
        color: var(--color-primary) !important;
    }
}

.wishlist-list {
    .wishlist-list-item {
        &:hover {
            .wishlist-list-item-title {
                color: var(--color-primary);
            }
        }
    }
}

.wishlist-chooselist {
    .wishlist-list {
        .wishlist-list-item {
            &:hover {
                background: #f8f7f7 !important;
            }
        }
    }
}
