/* Configurator Menu */
.wpc-page-overflow-hidden {
    height: 100dvh !important;
    width: 100dvw !important;
    overflow: hidden !important;
}

/* Sidebar */
.wpc-main-controls {
    /* width: 33% !important; */
    position: relative;
    height: 100dvh;
    background-color: #f6f6f5;
    background-color: white;
    box-shadow: -2px 0 2px -2px rgba(0, 0, 0, 0.2);
}

/* .wpc-control-lists .wpc-parent-control {
	display: none !important;
} */

.wpc-control-lists.wpc-parent-control {
    display: none !important;
}

.wpc-controls-parent-wrap.wpc-config-element.popover {
    max-height: none;
    height: 100%;
}

.wpc-sub-label {
    color: #1d1d1d99;
    font-size: 14px;
}

.wpc-control-list.wpc-hide-control-set:has(.wpc-sub-label.no-label) {
    transform: translateY(-15px);
}

/* Card Items */
.popover .wpc-parent-control > .wpc-control-lists-inner > .wpc-control-item > .wpc-layer-title-wrap {
    position: relative;
    background-color: white !important;
    box-shadow: none;
    margin: 0;
    border-radius: 0;
    border-top: 0;
    border-left: 0;
    transition: all 0.3s;
    padding-top: 20px;
    padding-bottom: 20px;
}

.popover .wpc-parent-control > .wpc-control-lists-inner > .wpc-control-item > .wpc-layer-title-wrap:hover {
    background-color: #f5f5f5 !important;
}

.wpc-arrow-icon {
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 50%;
}

.wpc-arrow-icon svg {
    width: 20px;
    fill: #1d1d1d99;
}

.popover .wpc-parent-control > .wpc-control-lists-inner > .wpc-control-item > .wpc-layer-title-wrap:hover .wpc-arrow-icon {
    /* background-color: black; */
    /* border-radius: 50px; */
    transform: translateX(4px);
}

.popover .wpc-parent-control > .wpc-control-lists-inner > .wpc-control-item > .wpc-layer-title-wrap:hover .wpc-arrow-icon svg {
    fill: black;
}

/* Collapsed list */
.wpc-collapsed ul {
    display: flex;
    flex-wrap: wrap;
}

.wpc-collapsed ul > li {
    flex: 1 0 45%;
}

.wpc-collapsed ul > li.wpc-layer-link-group-wrapper {
    flex: 1 0 100% !important;
}

/* Properly hide items */
/* .wpc-hide-control-set:has(.wpc-cl-hide-layer) {
	display: none !important;
} */

/* Drawer Modal */
.popover .wpc-sub-control {
    /* height: calc(100dvh - 145px) !important; */
    /* height: 100dvh !important; */
    box-shadow: none !important;
}

@media (min-width: 992px) {
    .popover .wpc-sub-control {
        height: 100dvh !important;
    }
}

.wpc-main-controls .wpc-cart-form-parent-wrap.wpc-config-element{
    display: none !important;
}

.wpc-control-header {
    padding: 10px 0;
    padding-bottom: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: saturate(180%) blur(5px);
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
}

.wpc-primary-btn.next-step-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    outline: none;
    margin: 0;
}

.wpc-control-next-btn {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 0 0 0;
    pointer-events: all;
}

.wpc-btn-text {
    font-size: 14px;
}

.wpc-control-prev-btn{
    width: 100%;
}

.wpc-link.prev-step-btn {
    color: #1d1d1d99;
    -webkit-user-select: initial;
    -moz-user-select: initial;
    user-select: initial;
    border: none;
    padding: 0;
    font-size: 14px;
    border-radius: 0;
    transition: all 0.3s;
    text-decoration: underline 1px #1d1d1d99;
    outline: none;
    background: none;
    pointer-events: all;
}

.wpc-link.prev-step-btn:hover {
    background-color: transparent !important;
    color: black;
}

.wpc-config-steps {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
    pointer-events: none;
}

.wpc-control-header .wpc-layer-title-wrap {
    padding-right: 0 !important;
}

.wpc-control-header .wpc-cart-form {
    gap: 0;
    margin: 0 !important;
}

.wpc-cart-form-wrapper {
    margin: 0 0 0 auto;
    pointer-events: all;
}

.wpc-control-header {
    padding: 0;
}

.wpc-form.wpc-cart-form.cart {
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}

.wpc-control-header .wpc-control-header-content {
    display: none !important;
    width: 100%;
    background-color: transparent;
    display: flex;
    align-items: center;
}

.wpc-control-breadcrumb {
    /* margin-top: 10px; */
    overflow-x: auto;
    padding: 0 20px;
    height: 65px;
    width: 100%;
    z-index: 1;
    /* border-top: 1px solid rgba(0, 0, 0, 0.1); */
    display: flex;
    align-items: center;
    gap: 20px;
}

.wpc-control-breadcrumb span {
    color: #c2c2c2;
    font-size: 16px;
    cursor: pointer;
    white-space: nowrap;
}

.wpc-control-breadcrumb span.finished {
    color: black;
}

.wpc-next-arrow:before {
    font-weight: bold !important;
}

.wpc-control-footer {
    position: absolute;
    bottom: 0;
    backdrop-filter: saturate(180%) blur(5px);
    background-color: rgba(255, 255, 255, 0.75) !important;
    width: 100%;
    z-index: 10;
    border-top: 1px solid var(--wpc-control-separator-color);
    padding: 0 !important;
}

.wpc-control-footer .wpc-total-price-parent-wrap {
    width: 100%;
}

.wpc-control-footer .wpc-total-price-parent-wrap .wpc-single-price {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.wpc-control-lists-inner .wpc-control-list .wpc-layer-title-wrap .wpc-arrow-icon {
    display: none !important;
}

.wpc-sub-control .wpc-control-list {
    padding: 10px 20px !important;
    margin: 0 !important;
}

.wpc-sub-control .wpc-control-lists-inner {
    display: flex;
    flex-direction: column;
    padding: 10px 0px !important;
    gap: 10px;
}

.wpc-sub-control .wpc-control-lists-inner .wpc-layer-title-text {
    font-size: 18px;
    text-transform: capitalize;
}

.wpc-custom-popover-space#before {
    min-height: 65px;
    width: 100%;
}

.wpc-custom-popover-space#after {
    min-height: 150px;
    width: 100%;
}

.wpc-icon-semi-round.custom-icon-size{

}
/* Color Picker */

.wpc-control-item.wpc-control-type-icon.wpc-layer-type-image.wpc-icon-semi-round.custom-icon-size{
    border: none !important;
    border-radius: none;
    padding: 0 !important;
    width: 35px;
}

.wpc-sub-control .custom-icon-color{
    border: 1px solid #f4f4f4;
    border-radius: 10px !important;
    padding: 20px !important;
}

.popover .wpc-sub-control .wpc-control-item .wpc-control-item-color {
    width: 35px !important;
    height: 35px !important;
    border-radius: 50%;
}

.wpc-sub-control .custom-icon-color.current {
    border: 2px solid #0071e3;
}

.popover .wpc-sub-control .wpc-control-item.current {
    box-shadow: none !important;
}

.popover .wpc-sub-control .wpc-control-item:not(.wpc-control-type-label).current:after {
    filter: invert(1);
}

.popover .wpc-control-item .wpc-control-item-info {
    left: 50% !important;
    transform: translateX(-50%);
    top: -10px !important;
    border: 1px solid rgb(0, 0, 0, 0.1);
    border-radius: 3px;
}

.custom-icon-color.wpc-control-item.wpc-control-type-color.wpc-layer-type-image.wpc-icon-semi-round.custom-icon-size {
    padding: 0 !important;
    border: 1px solid #c2c2c2 !important;
    border-radius: 50px !important;
    background-color: transparent !important;
}

.custom-icon-color.wpc-control-item.wpc-control-type-color.wpc-layer-type-image.wpc-icon-semi-round.custom-icon-size.current {
    border: 1px solid black !important;
}

.popover .wpc-control-item .wpc-control-item-info .wpc-control-item-info-inner .wpc-hover-price {
    display: flex !important;
}

/* Label Picker */
.popover .wpc-sub-control .wpc-control-item {
    border: 1px solid rgb(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 5px 10px !important;
    transition: all 0.3s;
}

.popover .wpc-sub-control .wpc-control-item:hover {
    background-color: #f4f4f4;
}

.popover .wpc-sub-control .wpc-control-item.current {
    border: 1px solid #390052;
    background-color: #f4f4f4;
}

.wpc-sub-control .wpc-control-item.wpc-control-type-label .wpc-control-item-name {
    font-weight: normal;
    text-transform: none;
}

/* Inline Text Picker */

.popover .wpc-sub-control .wpc-control-item:not(.wpc-control-type-color).current:after {
    display: none !important;
}

.wpc-controls-wrap .wpc-sub-control .wpc-control-item.wpc-control-type-inline-text {
    border: 1px solid rgb(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 10px !important;
    transition: all 0.3s;
    text-align: center;
    min-width: 50px;
}

.wpc-controls-wrap .wpc-sub-control .wpc-control-item.wpc-control-type-inline-text.current {
    border: 1px solid black;
    background-color: #f4f4f4;
}

.popover .wpc-control-item:not(.wpc-control-type-color) .wpc-control-item-info {
    display: none;
}

/* Payments */
.wpc-custom-price-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Not allowed */
.wpc-cl-disable-layer:after,
.wpc-cl-disable-group .wpc-controls-img-list .wpc-controls-list-img:after {
    display: none !important;
}

.wpc-cl-disable-layer:before,
.wpc-cl-disable-group .wpc-controls-img-list .wpc-controls-list-img:before {
    content: "\e901" !important;
    color: black !important;
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    font-size: 25px;
    font-family: "wp-configurator" !important;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    text-align: center;
}

/* Out of stock */
.wpc-out-of-stock {
    pointer-events: none;
    cursor: not-allowed;
}

.wpc-out-of-stock-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff99;
    border-radius: 10px;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpc-out-of-stock-container.color {
    background-color: #fffffff5;
}

.wpc-out-of-stock-content {
    background-color: #1d1d1d;
    padding: 5px 10px;
    color: white;
    border-radius: 50px;
    font-size: 14px;
}

.wpc-out-of-stock-container svg {
    height: 40%;
}

.popover .wpc-sub-control .wpc-control-item.wpc-out-of-stock:hover {
    background-color: transparent;
}

/* Share */
.wpc-popup-inner .wpc-share-inner .wpc-share-icon a {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.wpc-popup-inner .wpc-share-inner .wpc-share-icon span {
    margin: 0 !important;
}

/* Floating icons */
.wpc-floating-icons {
    left: 10px;
    top: 10px;
}

.wpc-floating-icons li:before {
    visibility: visible !important;
    opacity: 1 !important;
    left: 40px !important;
    white-space: nowrap;
}

/* Préconfiguration popover */
.wpc-flyin-wrap .wpc-close-btn {
    background: transparent;
    transition: all 0.3s;
}

.wpc-flyin-wrap .wpc-close-btn:hover .wpc-close:before {
    color: #0071e3;
}

.wpc-close:before {
    font-weight: bold;
    transition: all 0.3s;
}

/* Save préconfiguration tab */
.wpc-field-group.wpc-button {
    display: flex;
    margin: 0;
    width: auto;
}

[type="button"]:focus,
[type="button"]:hover,
[type="submit"]:focus,
[type="submit"]:hover,
button:focus,
button:hover {
    background-color: white !important;
    color: #1d1d1d !important;
}

.wpc-link-cancel {
    color: #1d1d1d !important;
}

.form-notice {
    position: initial;
}

@media (max-width: 991px) {
    /* body {
        overflow: hidden !important;
    } */
    .wpc-custom-popover-space#before,
    .wpc-custom-popover-space#after {
        display: none;
    }

    .wpc-sub-control .wpc-control-lists-inner {
        padding: 0 !important;
    }

    .wpc-control-header {
        position: initial;
        top: unset;
    }

    .wpc-control-lists-inner {
        height: calc(100dvh - 58dvw);
    }

    .wpc-config-banner {
        display: none;
    }

    .wpc-control-footer {
        position: initial;
    }

    .wpc-controls-parent-wrap.wpc-config-element.popover {
        height: auto;
        width: 100vw;
    }
}

@media (max-width: 800px) {
    .wpc-main-controls {
        /* height: calc(100dvh - 290px); */
        overflow: hidden;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .wpc-control-header,
    .wpc-custom-summary-content {
        background-color: white !important;
        backdrop-filter: none;
    }

    .wpc-control-lists-inner {
        /* height: calc(100dvh - 58dvw); */
        height: 68dvh;
    }

    .wpc-control-header-content .wpc-control-next-btn,
    .wpc-control-header-content .wpc-cart-form-wrapper {
        display: none;
    }
    /*
    footer.wpc-control-footer {
        padding-bottom: 100px !important;
    } */
}

.wpc-sub-control .wpc-control-list .wpc-control-list-inner{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

@media (max-width: 1024px) {
    .popover .wpc-configurator;
    .wpc-sub-control.wpc-show-control-set{
        height: auto !important;
    }
}

.fourches, .batteriePlus{
    display:none !important;
}

.popover .wpc-configurator .configurator-view{
    align-content: center;
    height: 100%;
}