@font-face {
    font-family: "kps-3";
    src: url(../fonts/kps-3.eot);
    src: url(../fonts/kps-3.eot#iefix) format("embedded-opentype"), url(../fonts/kps-3.ttf) format("truetype"),
    url(../fonts/kps-3.woff) format("woff"), url(./../images/kps-3.svg#kps-3) format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.hide-outlines a, .hide-outlines button, .hide-outlines input, .hide-outlines select, .hide-outlines textarea {
    outline: none;
}

#app-abaque-selector button, #app-abaque-selector input[type='button'] {
    display: inline-block;
    position: relative;
    font-size: 16px;
    font-family: Tahoma, Arial, sans-serif;
    font-weight: bold;
    line-height: 1.375rem;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    color: var(--abaque-secondaire, #00abef);
    background: transparent;
    border: none;
    border-radius: 2px;
    transform-origin: center center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 300ms ease-in-out, background-color 300ms ease-in-out;
    -webkit-appearance: none;
    cursor: pointer;
    background-repeat: no-repeat;
}

[class^="icon-"],
[class*=" icon-"] {
    font-family: "kps-3" !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-hamburger:before {
    content: "\E900";
}

.icon-search:before {
    content: "\E900";
}

.icon-whatsapp:before {
    content: "\E901";
}

.icon-email:before {
    content: "\E902";
}

.icon-youtube:before {
    content: "\E903";
}

.icon-arrow-down:before {
    content: "\E904";
}

.icon-user:before {
    content: "\E906";
}

.icon-cart:before {
    content: "\E907";
}

.icon-degrees:before {
    content: "\E908";
}

.icon-play:before {
    content: "\E909";
}

.icon-check-big:before {
    content: "\E90A";
}

.icon-warning:before {
    content: "\E90B";
}

.icon-check:before {
    content: "\E90C";
}

.icon-truck:before {
    content: "\E90D";
}

.icon-edit:before {
    content: "\E90E";
}

.icon-close:before {
    content: "\E90F";
}

.icon-arrow-right:before {
    content: "\E911";
}

.icon-pinterest:before {
    content: "\F231";
}

.icon-facebook:before {
    content: "\EA90";
}

.icon-instagram:before {
    content: "\EA92";
}

.icon-twitter:before {
    content: "\EA96";
}

.icon-chevron-left:before {
    content: "\F053";
}

.icon-chevron-right:before {
    content: "\F054";
}

.icon-chevron-up:before {
    content: "\F077";
}

.icon-chevron-down:before {
    content: "\F078";
}

.icon-filter:before {
    content: "\F1DE";
}

.icon-remove-sign:before {
    content: "\F057";
}

.icon-ok-sign:before {
    content: "\F058";
}

.icon-question-sign:before {
    content: "\F059";
}

.icon-info-sign:before {
    content: "\F05A";
}

.icon-warning-sign:before {
    content: "\F071";
}

.icon-plus:before {
    content: "\F067";
}

.icon-address-card:before {
    content: "\F2C2";
}

.icon-clock:before {
    content: "\E94F";
}

.icon-home:before {
    content: "\F015";
}

@keyframes spin-spinner {
    0% {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(1turn);
    }
}

.icon-spinner,
.icon-spinner2 {
    display: inline-block;
    animation: spin-spinner 2s linear infinite;
}

.icon-spinner:before {
    content: "\E97D";
}

.icon-spinner2:before {
    content: "\E982";
}

#price_calculator {
    display: block;
    border: 1px solid var(--abaque-secondaire-clair2, #cceefc);
    background-color: var(--abaque-secondaire-clair, #e5f6fd);
    border-radius: 2px;
    width: 100%;
    margin-bottom: 20px;
}

#price_calculator tbody {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#price_calculator tbody span {
    font-weight: bold;
    font-size: 16px;
}

#price_calculator tbody .price-table-row {
    width: 100%;
    color: var(--abaque-secondaire-fonce, #0074b5);
}

#price_calculator tbody .price-table-row td {
    padding: 10px 10px;
    position: relative;
}

#price_calculator tbody .price-table-row[class$="-input"] {
    padding: 10px 10px 25px;
    background: white;
    width: 50%;
    display: flex;
    flex-direction: column;
    color: #666;
}

#price_calculator tbody .price-table-row[class$="-input"] td:nth-child(1),
#price_calculator tbody .price-table-row[class$="-input"] td:nth-child(2) {
    padding: 0;
}

#price_calculator tbody .price-table-row[class$="-input"] td input {
    height: 40px;
    line-height: 40px;
    padding: 0 10px;
    background: #f2f2f2;
    border: 1px solid #b2b2b2;
    border-radius: 2px;
    width: 100%;
    text-align: left;
    margin-top: 5px;
}

#price_calculator tbody .price-table-row.length-input td,
#price_calculator tbody .price-table-row.width-input td {
    display: block;
}

#price_calculator tbody .price-table-row.total-amount {
    position: relative;
    display: inline-block;
}

#price_calculator tbody .price-table-row.total-amount:before {
    content: "";
    display: block;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    border-bottom-color: var(--abaque-secondaire-clair, #e5f6fd);
    position: absolute;
    right: 45px;
    bottom: 100%;
}

#price_calculator tbody .price-table-row.calculated-price {
    border-top: 1px solid #7fd6f7;
    margin: 0 10px;
    display: inline-block;
}

#price_calculator tbody .price-table-row.calculated-price td:first-child {
    padding-left: 0;
}

.product-delivery {
    margin-bottom: 20px;
    overflow: auto;
}

.product-delivery .stock {
    font-size: 12px;
    font-size: 0.75rem;
    line-height: 1.5em;
    display: inline-block;
    padding-left: 20px;
    padding-right: 30px;
    position: relative;
    margin-right: 20px;
    color: #fb3775;
    margin-bottom: 5px;
    font-weight: bold;
}

.product-delivery .stock:before {
    font-size: 11px;
    font-size: 0.6875rem;
    content: "";
    font-family: "kps-3", sans-serif;
    position: absolute;
    top: 1px;
    left: 0;
}

.product-delivery .stock.in-stock {
    color: #69be28;
}

.product-delivery .stock.in-stock:before {
    content: "\E90C";
}

.product-delivery .stock.on-backorder {
    color: orange;
}

.product-delivery .stock.on-backorder:before {
    content: "\E94F";
}

.product-delivery .estimated-date {
    font-size: 12px;
    font-size: 0.75rem;
    line-height: 1.5em;
    display: inline-block;
    color: #8a898a;
}

.product-delivery .estimated-date:before {
    font-size: 11px;
    font-size: 0.6875rem;
    font-family: "kps-3", sans-serif;
    content: "\E90D";
    color: #b2b2b2;
    margin-right: 5px;
}

#kps_bulk_price_table {
    margin-top: 40px;
    width: 100%;
}

#kps_bulk_price_table td {
    width: 25%;
    height: 30px;
    line-height: 30px;
    padding: 0 5px;
}

#kps_bulk_price_table td:nth-child(odd) {
    text-align: right;
}

#kps_bulk_price_table thead {
    background-color: var(--abaque-secondaire-fonce, #0074b5);
    color: rgba(255, 255, 255, 0.75);
    font-family: Helvetica, Arial, Lucida, sans-serif;
    font-weight: 700;
    font-size: 14px;
}

#kps_bulk_price_table tbody tr {
    border-bottom: 1px solid #dadada;
}

#price_calculator_result_bulk td {
    position: relative;
}

#price_calculator_result_bulk td .product_price {
    color: #2ea3f2;
    font-size: 18px;
    font-weight: 600;
}

.similar-products {
    border: 1px solid var(--abaque-secondaire-clair2, #cceefc);
    padding: 20px !important;
    border-radius: 2px;
}

.similar-products__header {
    font-size: 16px;
    font-size: 1rem;
    color: var(--abaque-secondaire-fonce, #0074b5);
    text-align: left !important;
    margin-bottom: 20px;
    font-weight: 700;
}

.abaque-selector small {
    font-size: 80%;
}

.abaque-selector__section-title {
    font-size: 13px;
    font-size: 0.8125rem;
    line-height: 1.38462em;
    font-weight: bold;
    padding-bottom: 15px;
    display: inline-flex;
    align-items: center;
}

@media (min-width: 992px) {
    .abaque-selector__section-title {
        font-size: 21px;
        font-size: 1.3125rem;
        line-height: 1.2381em;
    }
}

.abaque-selector__section {
    border: 1px solid var(--abaque-secondaire-clair2, #cceefc);
    border-radius: 3px;
    padding: 15px;
    padding-bottom: 10px;
    margin: 10px 0;
    color: var(--abaque-secondaire-fonce, #0074b5);
}

.abaque-selector__section > header {
    font-size: 13px;
    font-size: 0.8125rem;
    display: flex;
    position: relative;
    padding: 0 20px 0 0;
}

.abaque-selector__section > header span {
    line-height: 31px;
    margin: 14px 0;
}

.abaque-selector__section > header:before {
    font-family: "kps-3" !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 13px;
    font-size: 0.8125rem;
    content: "\F067";
    color: #7fd6f7;
    line-height: 31px;
    margin: 14px 0;
}

.abaque-selector__section--state-will-choose {
    cursor: pointer;
}

.abaque-selector__section--state-will-choose .abaque-selector__section-title {
    font-size: 13px;
    font-size: 0.8125rem;
    padding: 0 10px;
    width: 45%;
}

.abaque-selector__section--state-will-choose header:before {
    color: var(--abaque-secondaire-clair2, #cceefc);
}

.abaque-selector__section--state-choosing {
    padding-bottom: 10px;
}

.abaque-selector__section--state-choosing header:before {
    content: "";
}

.abaque-selector__section--state-chosen {
    background: var(--abaque-secondaire-clair, #e5f6fd);
    cursor: pointer;
    border: none;
}

.abaque-selector__section--state-chosen .abaque-selector__section-title {
    font-size: 13px;
    font-size: 0.8125rem;
    padding: 0 10px;
    width: 45%;
}

.abaque-selector__section--state-chosen header:after {
    font-size: 10px;
    font-size: 0.625rem;
    font-family: "kps-3" !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\E90E";
    color: var(--abaque-secondaire, #00abef);
    position: absolute;
    right: 2px;
    top: 24px;
}

.abaque-selector__sub-section {
    background-color: var(--abaque-secondaire-clair, #e5f6fd);
    margin: 5px 0;
    /* v4.8 — padding uniforme demandé par Emmanuel, les trois surcharges
       ci-dessous (--no-top, et les remises à zéro de l'accordéon) sont retirées */
    padding: 15px;
    border-radius: 3px;
    border-top: 3px solid white;
}



.abaque-selector__sub-section--collapse-top {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.abaque-selector__sub-section--collapse-bottom {
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.abaque-selector__menu {
    display: flex;
    justify-content: left;
}

#app-abaque-selector .abaque-selector__menu-button {
    font-size: 10px;
    font-size: 0.625rem;
    line-height: 1.3em;
    background-color: var(--abaque-secondaire-clair, #e5f6fd);
    color: var(--abaque-secondaire-fonce, #0074b5);
    margin-left: 5px;
    width: calc(25% - 4px);
    padding: 0 0 6px;
    opacity: 0.6;
    transition: opacity 300ms;
}

#app-abaque-selector .abaque-selector__menu-button:first-child {
    margin-left: 0;
}

#app-abaque-selector .abaque-selector__menu-button--active {
    border: 2px solid var(--abaque-secondaire, #00abef);
    padding: 0 0 4px;
    background-color: var(--abaque-secondaire-clair2, #cceefc);
    opacity: 1;
}

#app-abaque-selector .abaque-selector__menu-button--active path,
#app-abaque-selector .abaque-selector__menu-button--active circle,
#app-abaque-selector .abaque-selector__menu-button--active ellipse {
    fill: white;
    stroke-width: 2px;
}

#app-abaque-selector .abaque-selector__menu-button svg {
    display: inline-block;
    pointer-events: none;
}

@media (min-width: 992px) {
    #app-abaque-selector .abaque-selector__menu-button {
        padding: 5px 0 9px;
    }

    #app-abaque-selector .abaque-selector__menu-button svg {
        margin-bottom: 6px;
        pointer-events: none;
    }
}

#app-abaque-selector .abaque-selector__menu-button:active,
#app-abaque-selector .abaque-selector__menu-button:focus {
    opacity: 1;
}

@media not all and (hover: none), (-ms-high-contrast: none) {
    #app-abaque-selector .abaque-selector__menu-button:hover {
        opacity: 1;
    }
}

#app-abaque-selector .abaque-selector__simple-shapes {
    padding: 0px;
    display: flex;
    flex-wrap: wrap;
    justify-content: end;
}

.abaque-selector__shape-button {
    min-width: 50px;
    width: calc(20%);
    height: 60px;
    padding: 5px;
    margin: 5px 0;
    background: transparent;
    vertical-align: middle;
}

.abaque-selector__shape-button svg {
    pointer-events: none;
}

.abaque-selector__shape-button circle,
.abaque-selector__shape-button path,
.abaque-selector__shape-button rect,
.abaque-selector__shape-button ellipse {
    fill: #cceefb;
    stroke: var(--abaque-secondaire-fonce, #0074b5);
}

.abaque-selector__shape-button--active circle,
.abaque-selector__shape-button--active path,
.abaque-selector__shape-button--active rect,
.abaque-selector__shape-button--active ellipse {
    fill: white;
    stroke-width: 2px;
}

.abaque-selector__shape-button--rejected circle,
.abaque-selector__shape-button--rejected path,
.abaque-selector__shape-button--rejected rect,
.abaque-selector__shape-button--rejected ellipse {
    fill: #dbf3fc;
    stroke: #89c2e0;
}

.abaque-selector__preview {
    padding: 21px 0 25px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.abaque-selector__preview svg {
    height: auto;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    min-width: 300px;
}

@media (min-width: 992px) {
    .abaque-selector__preview svg {
        min-width: 380px;
    }
}

@media (min-width: 1280px) {
    .abaque-selector__preview svg {
        min-width: 600px;
    }
}

@media (min-width: 992px) {
    .abaque-selector__preview {
        margin-top: 5px;
        border-radius: 3px;
        padding: 60px 50px 115px;
    }
}

.abaque-selector__preview-inner-container {
    display: flex;
    justify-content: center;
}

.single-product div.type-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs .abaque-selector__gallery-button {
    font-size: 10px;
    font-size: 0.625rem;
    font-weight: bold;
    line-height: 16px;
    line-height: 1.23077em;
    padding: 8px 0 0 0;
    color: var(--abaque-secondaire, #00abef);
    text-align: center;
    background-color: white;
    width: 80px;
    flex: 1 1 0;
}

.single-product div.type-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs .abaque-selector__gallery-button img {
    width: 21px;
    margin-bottom: 4px;
    box-shadow: none;
}

.single-product div.type-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs .abaque-selector__gallery-button img.flex-active {
    box-shadow: none;
    border: none;
}

@media (min-width: 1280px) {
    .single-product div.type-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs .abaque-selector__gallery-button {
        font-size: 13px;
        font-size: 0.8125rem;
        padding: 18px 0 0 0;
    }

    .single-product div.type-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs .abaque-selector__gallery-button img {
        width: 28px;
        margin-bottom: 9px;
    }
}

.abaque-selector__gallery-button--hidden {
    display: none;
}

.abaque-selector__gallery-button--active {
    border: 1px solid #ccc;
}

.abaque-selector__preview-shape {
    fill: white;
    stroke: var(--abaque-secondaire-fonce, #0074b5);
    stroke-width: 1;
    stroke-opacity: 1;
}

.abaque-selector__preview-shape--gloss {
    fill: url(#glossGradient);
}

.abaque-selector__preview-shape--matte {
    fill: url(#matteGradient);
}

.abaque-selector__preview-arrow {
    stroke: #89d0f2;
}

.abaque-selector__preview-label {
    font-size: 13px;
    font-size: 0.8125rem;
    fill: var(--abaque-secondaire-fonce, #0074b5);
    line-height: 13px;
    text-align: center;
    background-color: white;
}

.abaque-selector__preview-arrow {
    stroke: var(--abaque-secondaire, #00abef);
    fill: transparent;
}

.abaque-selector__preview-guideline {
    stroke: var(--abaque-secondaire-fonce, #0074b5);
    stroke-opacity: 0.5;
    stroke-dasharray: 5;
}

.abaque-selector__preview-controls {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 20px;
}

@media (min-width: 992px) {
    .abaque-selector__preview-controls {
        position: absolute;
        top: 20px;
        right: 15px;
        z-index: 9;
        padding-bottom: 0;
    }
}

.abaque-selector__preview-controls-container {
    display: flex;
    justify-content: space-between;
    width: 150px;
    float: right;
}

.abaque-selector__preview-control {
    background: white;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    padding: 2px 0 0 1px;
}

.abaque-selector__message {
    font-size: 10px;
    font-size: 0.625rem;
    font-weight: bold;
}

.abaque-selector__input-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.abaque-selector__input-container > .abaque-selector__input-container {
    width: 100%;
}


.abaque-selector__input-section.customer_email {
    margin-left: auto;
    margin-right: auto;
}

.abaque-selector__input-section {
    flex: 0 1 auto;
    width: 55%;
    max-width: calc(50% - 7.5px);
    position: relative;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.abaque-selector__input-section--full-width {
    width: 100%;
    max-width: 100%;
}

.abaque-selector__input-section--no-flex {
    display: block;
}

.abaque-selector__input-section--no-flex .abaque-selector__dimension-label {
    width: 100%;
}

.abaque-selector__text-input {
    height: 50px;
    border-radius: 3px;
    width: 1000px;
    max-width: 100%;
}

textarea.abaque-selector__text-input
{
    height: 100px;
}

.abaque-selector input[type="email"],
.abaque-selector input[type="number"],
.abaque-selector input[type="text"],
.abaque-selector textarea {
    border: none;
    padding: 2px 15px;
}



.abaque-selector__toggle {
    font-size: 11px;
    font-size: 0.6875rem;
    line-height: 2.09091em;
    background: #d5ecf8;
    height: 23px;
    display: inline-block;
    border-radius: 12px;
    margin-top: 10px;
    cursor: pointer;
}

.abaque-selector__toggle__label {
    padding: 0 10px;
    height: 23px;
    display: inline-block;
}

.abaque-selector__toggle__label--active {
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 0 6px 0 rgba(0, 116, 181, 0.25);
}

.abaque-selector__side-toggle {
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    margin: 10px 0;
}

.abaque-selector__side-toggle__label {
    height: 120px;
    display: flex;
    width: calc(50% - 5px);
    border-radius: 12px;
    overflow: hidden;
    justify-content: center;
    align-items: flex-end;
    border: 2px solid transparent;
    max-width: 180px;
    margin-right: 10px;
    position: relative;
    opacity: 1;
    cursor: pointer;
}

.abaque-selector__side-toggle__label--active {
    border: 2px solid var(--abaque-secondaire, #00abef);
    opacity: 1;
}

.abaque-selector__side-toggle__label__text {
    z-index: 2;
    text-shadow: 2px 0 20px #fff;
    display: flex;
    width: 100%;
    background: var(--abaque-secondaire-clair2, #cceefc);
    padding: 10px;
    justify-content: center;
}

.abaque-selector__side-toggle__label__image {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    height: auto;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.abaque-selector__side-toggle__label__color {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    mix-blend-mode: color;
}

.abaque-selector__font-select img {
    width: auto;
    max-width: 100%;
    min-height: 15px;
    max-height: 20px;
}

.abaque-selector__dimension-label {
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 24px;
    margin: 0 0 6px 0;
    display: inline-block;
    text-align: left;
}

.abaque-selector__input-unit {
    font-size: 16px;
    font-size: 1rem;
    position: absolute;
    /*bottom: 13px;*/
    top: 15px;
    color: #89c2e0;
    right: 35px;
}

.isTouch .abaque-selector__input-unit {
    right: 15px;
}

.abaque-selector__meta-information {
    font-size: 14px;
    font-size: 0.875rem;
    border-radius: 3px;
    margin: 10px 0 20px;
}

.abaque-selector__pricing {
    padding: 12px 18px;
    background-color: #f2f2f2;
    border-radius: 3px 3px 0 0;
}

.abaque-selector__pricing-table {
    width: 100%;
}

.abaque-selector__pricing-table td {
    padding: 4px 16px 4px 18px;
}

.abaque-selector__pricing-table td:first-child {
    padding-left: 0;
}

.abaque-selector__pricing-table td:last-child {
    padding-right: 0;
}

.abaque-selector__pricing-table__addition {
    border-top: 1px dashed #b2b2b2;
}

.abaque-selector__pricing-table__addition td:last-child {
    position: relative;
}

.abaque-selector__pricing-table__addition td:last-child::after {
    content: "+";
    position: absolute;
    top: -13px;
    right: -13px;
}

.abaque-selector__pricing-section {
    border-left: 1px solid #e6e6e6;
    padding-left: 10px;
    vertical-align: top;
    width:50%;
}

.abaque-selector__pricing-section:first-child {
    border-left: none;
    padding-left: 0;
}

.abaque-selector__pricing-section em {
    font-style: normal;
    font-weight: 600;
}

.abaque-selector__pricing-section strong {
    font-size: 16px;
    font-size: 1rem;
}

.abaque-selector__pricing-structure {
    font-size: 14px;
    font-size: 0.875rem;
}

.abaque-selector__toggle-price-structure {
    font-size: 12px;
    font-size: 0.75rem;
    background: none;
    padding: 0 0 0 1px;
    margin-top: 3px;
    display: inline;
}

.abaque-selector__availability {
    padding: 10px 18px 5px;
    border: 1px solid #e6e6e6;
    border-radius: 0 0 3px 3px;
    border-top: none;
}

.abaque-selector__availability p {
    display: none;
}

.abaque-selector__availability .product-delivery {
    margin-bottom: 0;
}

.abaque-selector__file-dropbox {
    display: inline-block;
    border: 1px dashed var(--abaque-secondaire-fonce, #0074b5);
    text-align: center;
    position: relative;
    padding: 10px;
    width: 100%;
    margin-top: 5px;
}

.abaque-selector__file-dropbox--hovering {
    border-style: solid;
}

.abaque-selector__file-dropbox--uploaded {
    border-style: none;
}

.abaque-selector__file-dropbox p {
    text-align: center;
}

.abaque-selector__label-file-upload {
    display: inline-block;
    position: relative;
    font-size: 16px;
    font-family: Tahoma, Arial, sans-serif;
    font-weight: bold;
    line-height: 1.375rem;
    padding: calc((40px - 1.375rem) / 2) 15px;
    text-align: center;
    text-decoration: none;
    color: var(--abaque-secondaire, #00abef);
    background-color: white;
    border: none;
    border-radius: 2px;
    transform-origin: center center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 300ms ease-in-out, background-color 300ms ease-in-out;
    -webkit-appearance: none;
    cursor: pointer;
    background-repeat: no-repeat;
    background-color: var(--abaque-secondaire, #00abef);
    color: white;
    margin: 8px 0 0 0;
}

.abaque-selector__label-file-upload:disabled {
    color: #b2b2b2;
    background-color: #f2f2f2;
    cursor: default;
    pointer-events: none;
    opacity: 1;
}

.abaque-selector__label-file-upload:focus,
.abaque-selector__label-file-upload:active,
.abaque-selector__label-file-upload:hover {
    text-decoration: underline;
    color: var(--abaque-secondaire, #00abef);
}

.abaque-selector__label-file-upload:focus,
.abaque-selector__label-file-upload:active,
.abaque-selector__label-file-upload:hover {
    color: white;
    background-color: var(--abaque-secondaire, #00abef);
}

.abaque-selector__label-file-upload.button--arrow-right {
    background-image: url(./../images/arrow_right_bg_blue_light.svg);
    background-color: var(--abaque-secondaire, #00abef);
    background-image: url(./../images/arrow_right_bg.svg);
}

.abaque-selector__file-upload {
    cursor: pointer;
}

.abaque-selector__text-bigger {
    font-size: 18px;
    font-size: 1.125rem;
}

.abaque-selector__text-file-extensions {
    font-size: 14px;
    font-size: 0.875rem;
}

.abaque-selector__text-or {
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: 600;
}

.abaque-selector__file-indicator {
    font-size: 12px;
    font-size: 0.75rem;
    border: 1px solid rgba(0, 116, 181, 0.4);
    border-radius: 2px;
    margin: 0 5px;
    background-color: rgba(36, 135, 191, 0.08);
    display: flex;
    line-height: 30px;
    height: 30px;
    text-align: left;
    padding: 0 6px 0 6px;
}

.abaque-selector__file-indicator * {
    flex: 0 0 auto;
}

.abaque-selector__file-indicator strong {
    flex-grow: 1;
    margin-left: 8px;
}

.abaque-selector__remove-upload {
    padding: 0;
    background: transparent url(./../images/trash.svg) center center no-repeat;
    background-size: 14px 14px;
    width: 15px;
    height: 28px;
}

.abaque-selector__shape-upload-slot {
    padding: 0 30px;
}

.abaque-selector__drawing-rules {
    font-size: 12px;
    font-size: 0.75rem;
    background: var(--abaque-secondaire-clair, #e5f6fd);
    font-weight: 600;
}

.abaque-selector__drawing-rules__text-link {
    margin-left: 10px;
    text-decoration: underline;
}

.abaque-selector__drawing-rules__icon {
    font-size: 18px;
    font-size: 1.125rem;
    position: relative;
    top: 2px;
}

.abaque-selector__drawing-explainer {
    font-size: 12px;
    font-size: 0.75rem;
    margin: 12px 0 18px;
}

.abaque-selector__drawing-explainer a {
    text-decoration: underline;
    font-weight: 600;
}

.abaque-selector__error {
    font-size: 10px;
    font-size: 0.625rem;
    font-weight: bold;
    color: var(--abaque-erreur, #f93f7b);
}

.abaque-selector__error .fa {
    font-size: 13px;
    font-size: 0.8125rem;
}

.abaque-selector__notice {
    font-size: 10px;
    font-size: 0.625rem;
    font-weight: bold;
    color: var(--abaque-secondaire-fonce, #0074b5);
}

.abaque-selector__notice a {
    color: var(--abaque-secondaire-fonce, #0074b5);
}

.abaque-selector__notice .fa {
    font-size: 13px;
    font-size: 0.8125rem;
    color: var(--abaque-secondaire, #00abef);
    display: inline-block;
    margin-right: 0.25em;
}

.kps-gallery {
    position: relative;
    min-height: 330px;
}

@media (min-width: 992px) {
    .kps-gallery {
        position: -webkit-sticky;
        position: sticky;
        top: 214px;
    }

    .admin-bar .kps-gallery {
        top: calc(214px + 32px);
    }
}

@media (min-width: 1280px) {
    .kps-gallery {
        top: 187px;
    }

    .admin-bar .kps-gallery {
        top: calc(187px + 32px);
    }
}

.kps-gallery__content--loading > .keen-slider__slide:not(:first-child) {
    display: none;
}

.kps-gallery__content .video-360__container {
    pointer-events: none;
}

.kps-gallery__navigation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.kps-gallery__navigation-item {
    padding: 0;
    margin: 15px 0 15px 15px;
    max-width: 80px;
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.1);
    flex: 1 1 0;
    border: 1px solid transparent;
}

.kps-gallery__navigation-item img {
    pointer-events: none;
    opacity: 1;
    display: block;
    width: 100%;
}

.kps-gallery__navigation-item--active {
    border: 1px solid #ccc;
}

.kps-gallery__navigation-item--preview {
    font-size: 10px;
    font-size: 0.625rem;
    text-align: center;
}

@media (min-width: 1280px) {
    .kps-gallery__navigation-item--preview {
        font-size: 13px;
        font-size: 0.8125rem;
    }
}

.kps-gallery__navigation-item--preview img {
    width: 28px;
    height: 28px;
    margin: 10px auto;
}

.usage-calculator {
    margin: 15px 0;
}

.usage-calculator__inner {
    border: 1px solid var(--abaque-secondaire-clair2, #cceefc);
    border-radius: 2px;
}

.usage-calculator__inner--no-border-bottom {
    border-bottom: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.usage-calculator__title {
    font-weight: bold;
    color: #666;
}

.usage-calculator__input-field {
    position: relative;
}

.usage-calculator__input-field label {
    font-size: 13px;
    font-size: 0.8125rem;
    line-height: 1.38462em;
    display: block;
    margin-bottom: 5px;
    color: #8a898a;
}

.usage-calculator__input-field span {
    position: absolute;
    right: 10px;
    bottom: 8px;
}

.usage-calculator__input-field .usage-calculator__field-size {
    width: 85px;
    background-color: #f4f4f4;
    border-radius: 2px;
    padding: 10px;
    padding-right: 30px;
}

@media (min-width: 375px) {
    .usage-calculator__input-field .usage-calculator__field-size {
        width: 75px;
    }
}

@media (min-width: 768px) {
    .usage-calculator__input-field .usage-calculator__field-size {
        width: 85px;
    }
}

@media (min-width: 375px) {
    .usage-calculator__input-field--hidden-label label {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        border: 0;
        word-wrap: normal !important;
    }
}

.usage-calculator__header {
    padding: 15px;
}

.usage-calculator__message {
    position: relative;
    background-color: var(--abaque-secondaire-clair, #e5f6fd);
    color: var(--abaque-secondaire-fonce, #0074b5);
    margin-bottom: 30px;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
}

.usage-calculator__message:after {
    content: "";
    position: absolute;
    left: 15px;
    bottom: -15px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid var(--abaque-secondaire-clair, #e5f6fd);
}

.usage-calculator__body {
    padding: 15px;
    overflow: hidden;
}

.usage-calculator__body > * + * {
    margin-top: 15px;
}

.usage-calculator__rows > span {
    margin-bottom: 15px;
}

.usage-calculator__rows > span > * + * {
    margin-top: 20px;
}

@media (min-width: 768px) {
    .usage-calculator__rows > span > * + * {
        margin-top: 15px;
    }
}

.usage-calculator__row {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
}

@media (min-width: 375px) {
    .usage-calculator__row {
        flex-wrap: nowrap;
    }
}

.usage-calculator__row-notice {
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 1.28571em;
    color: #666;
    position: relative;
    padding-top: 12px;
    padding-left: 20px;
    margin: 0;
    margin-left: 53px;
}

.usage-calculator__row-notice:before {
    content: "";
    display: inline-block;
    position: absolute;
    top: 8px;
    left: 0;
    width: 12px;
    height: 12px;
    border-left: 2px solid #e6e6e6;
    border-bottom: 2px solid #e6e6e6;
    border-bottom-left-radius: 5px;
}

.usage-calculator__field-group {
    display: flex;
    align-items: flex-end;
    margin-top: 5px;
}

@media (min-width: 375px) {
    .usage-calculator__field-group {
        margin-top: 0;
    }
}

.usage-calculator__seperator {
    display: flex;
    align-items: center;
    padding: 10px 5px;
}

@media (min-width: 992px) {
    .usage-calculator__seperator {
        padding: 10px;
    }
}

.usage-calculator__add-btn {
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    background: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    font-size: 13px;
    font-size: 0.8125rem;
    line-height: 1.53846em;
    display: flex;
    align-items: center;
    padding: 10px 5px;
    margin-top: 15px;
}

.usage-calculator__add-btn:hover,
.usage-calculator__add-btn:focus {
    cursor: pointer;
    background: none;
}

.usage-calculator__add-btn .icon {
    font-size: 10px;
    font-size: 0.625rem;
    position: relative;
    display: inline-block;
    background-color: var(--abaque-secondaire-clair, #e5f6fd);
    color: #2ea3f2;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    margin-right: 5px;
}

.usage-calculator__add-btn .icon:before {
    position: absolute;
    top: 50%;
    left: calc(50% + 1px);
    transform: translate(-50%, -50%);
}

.usage-calculator__add-btn--white {
    margin: 0;
}

.usage-calculator__add-btn--white .icon {
    background-color: #fff;
}

.usage-calculator__remove-btn {
    width: auto;
    height: auto;
    min-width: 0;
    min-height: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    background: none;
    margin: 0;
    padding: 0;
    overflow: visible;
    font-size: 8px;
    font-size: 0.5rem;
    position: relative;
    color: #8a898a;
    border-radius: 50%;
    padding: 20px;
}

.usage-calculator__remove-btn:hover,
.usage-calculator__remove-btn:focus {
    cursor: pointer;
    background: none;
}

.usage-calculator__remove-btn:before {
    content: "";
    display: block;
    background-color: #f2f2f2;
    border-radius: 50%;
    height: 20px;
    width: 20px;
}

.usage-calculator__remove-btn:before,
.usage-calculator__remove-btn .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.usage-calculator .fade-enter-active,
.usage-calculator .fade-leave-active {
    transition: opacity 500ms;
}

.usage-calculator .fade-enter,
.usage-calculator .fade-leave-to {
    opacity: 0;
}

.usage-calculator .slide-enter-active,
.usage-calculator .slide-leave-active {
    transition: opacity 300ms, transform 300ms ease-in-out;
}

.usage-calculator .slide-enter,
.usage-calculator .slide-leave-to {
    opacity: 0;
}

.usage-calculator .slide-leave-to {
    transform: translateX(60%);
}

.usage-calculator-advice__header {
    background-color: rgba(0, 116, 181, 0.2);
    opacity: 0.4;
    padding: 10px 15px;
}

.usage-calculator-advice__body {
    display: flex;
    padding: 15px;
}

.usage-calculator-advice__footer {
    padding-left: 15px;
    padding-bottom: 15px;
}

.usage-calculator-advice__seperator:after {
    content: "";
    display: block;
    height: 100%;
    margin: 0 20px;
    width: 1px;
    background-color: var(--abaque-secondaire-clair2, #cceefc);
}

.usage-calculator-advice__group {
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.25em;
}

.usage-calculator-advice__group--fade-out * {
    opacity: 0.5;
}

.usage-calculator-advice__label {
    display: block;
    margin-bottom: 5px;
}

.usage-calculator-advice__text {
    display: block;
    font-weight: bold;
    transition: color 300ms;
}

.usage-calculator-advice__text--fail {
    color: #fb3775;
}

.glue-calculator {
    background-color: #fff;
    padding: 30px;
}

.glue-calculator__inner > * + * {
    margin-top: 15px;
}

.glue-calculator__title {
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.3125em;
    color: var(--abaque-secondaire-fonce, #0074b5);
}

.glue-calculator__subtitle {
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 1.28571em;
    color: #8a898a;
    background-color: #f2f2f2;
    margin: 0;
    padding: 10px;
}

@media (min-width: 768px) {
    .glue-calculator__items {
        display: flex;
    }
}

.glue-calculator__items > * + * {
    margin-top: 15px;
}

@media (min-width: 768px) {
    .glue-calculator__items > * + * {
        margin-left: 15px;
        margin-top: 0;
    }
}

.glue-calculator--small {
    padding: 0;
}

.glue-calculator--small .glue-calculator__items {
    display: block;
    padding: 15px;
    border: 1px solid #e6e6e6;
}

.glue-calculator--small .glue-calculator__items > * + * {
    margin-left: 0;
    margin-top: 15px;
}

.glue-calculator--small .card-product__button {
    width: auto;
}

.material-select {
    width: 100%;
}

.material-select .v-select {
    height: 100%;
}

.material-select .vs__dropdown-toggle {
    border-color: #e6e6e6;
    height: 100%;
}

.material-select-teaser {
    display: flex;
    align-items: center;
}

.material-select-teaser__thumbnail-container {
    position: relative;
    margin-right: 15px;
    width: 50px;
    height: 50px;
    background-color: #f2f2f2;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
}

.material-select-teaser__image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.material-select-teaser__inner {
    display: flex;
    flex-direction: column;
}

.material-select-teaser__title {
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.125em;
    color: gray;
    font-weight: bold;
}

.material-select-teaser__subtitle {
    font-size: 14px;
    font-size: 0.875rem;
    line-height: 1.14286em;
    color: gray;
    font-style: italic;
}

.variations_form .variations {
    margin: 0.5 0;
    width: 100%;
}

.variations_form .variations .label {
    padding-bottom: 0.5em;
}

.variations_form .variations .value {
    padding-left: 1em;
    padding-bottom: 0.5em;
}

.variations_form .variations .value select {
    width: 100%;
}

.variations_form .variations .reset_variations {
    margin-top: 0.5em;
    display: inline-block;
    position: relative;
    font-size: 16px;
    font-family: Tahoma, Arial, sans-serif;
    font-weight: bold;
    line-height: 1.375rem;
    padding: calc((40px - 1.375rem) / 2) 15px;
    text-align: center;
    text-decoration: none;
    color: var(--abaque-secondaire, #00abef);
    background-color: white;
    border: none;
    border-radius: 2px;
    transform-origin: center center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 300ms ease-in-out, background-color 300ms ease-in-out;
    -webkit-appearance: none;
    cursor: pointer;
    background-repeat: no-repeat;
    display: inline-block;
    position: relative;
    font-size: 16px;
    font-family: Tahoma, Arial, sans-serif;
    font-weight: bold;
    line-height: 1.375rem;
    padding: calc((40px - 1.375rem) / 2) 15px;
    text-align: center;
    text-decoration: none;
    color: var(--abaque-secondaire, #00abef);
    background-color: white;
    border: none;
    border-radius: 2px;
    transform-origin: center center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 300ms ease-in-out, background-color 300ms ease-in-out;
    -webkit-appearance: none;
    cursor: pointer;
    background-repeat: no-repeat;
    background-color: #f2f2f2;
    color: #2ea3f2;
    display: block;
    width: 100%;
}

.variations_form .variations .reset_variations:disabled {
    color: #b2b2b2;
    background-color: #f2f2f2;
    cursor: default;
    pointer-events: none;
    opacity: 1;
}

.variations_form .variations .reset_variations:focus,
.variations_form .variations .reset_variations:active,
.variations_form .variations .reset_variations:hover {
    text-decoration: underline;
    color: var(--abaque-secondaire, #00abef);
}

.variations_form .variations .reset_variations:disabled {
    color: #b2b2b2;
    background-color: #f2f2f2;
    cursor: default;
    pointer-events: none;
    opacity: 1;
}

.variations_form .variations .reset_variations:focus,
.variations_form .variations .reset_variations:active,
.variations_form .variations .reset_variations:hover {
    text-decoration: underline;
    color: var(--abaque-secondaire, #00abef);
}

.variations_form .variations .reset_variations:focus,
.variations_form .variations .reset_variations:active,
.variations_form .variations .reset_variations:hover {
    color: #2ea3f2;
    background-color: #f2f2f2;
}

.variations_form .woocommerce-variation.single_variation {
    border-top: 1px solid #e5e5e5;
    padding: 0.5em 0;
}

.variations_form .woocommerce-variation.single_variation .woocommerce-variation-price .price {
    color: #8a898a;
}

.variations_form .woocommerce-variation.single_variation .woocommerce-variation-price .price ins {
    text-decoration: none;
}

.variations_form .woocommerce-variation.single_variation .woocommerce-variation-price .price ins span.amount {
    color: #fb3775;
}

.variations_form .woocommerce-variation.single_variation .woocommerce-variation-price .price ins + .woocommerce-price-suffix {
    color: #fb3775;
}

.variations_form .woocommerce-variation.single_variation .woocommerce-variation-price .price del span.amount {
    font-size: 18px;
    font-size: 1.125rem;
    line-height: 1.33333em;
    color: #bfbfbf;
}

.variations_form .woocommerce-variation.single_variation .woocommerce-variation-price .price span.amount {
    font-size: 22px;
    font-size: 1.375rem;
    line-height: 1.22727em;
    font-weight: bold;
    color: #666;
}

.variations_form .woocommerce-variation.single_variation .woocommerce-variation-price .price .woocommerce-price-suffix {
    display: inline-block;
}


.vs__dropdown-option--highlight {
    background: #5897fb;
    color: #fff;
}

.vs__dropdown-option {
    line-height: 1.42857143;
    display: block;
    padding: 3px 20px;
    clear: both;
    color: #333;
    white-space: nowrap;
}

.vs__dropdown-menu {
    display: block;
    box-sizing: border-box;
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    z-index: 1000;
    padding: 5px 0;
    margin: 0;
    width: 100%;
    max-height: 350px;
    min-width: 160px;
    overflow-y: auto;
    box-shadow: 0px 3px 6px 0px rgb(0 0 0 / 15%);
    border: 1px solid #e6e6e6;
    border-top-style: none;
    border-radius: 0 0 2px 2px;
    text-align: left;
    list-style: none;
    background: #fff;
}

.vs__dropdown-menu {
    padding-top: 0;
}

.vs__open-indicator {
    fill: rgba(60, 60, 60, 0.5);
    transform: scale(1);
    transition: transform 150ms cubic-bezier(1, -0.115, 0.975, 0.855);
    transition-timing-function: cubic-bezier(1, -0.115, 0.975, 0.855);
}

.vs__clear {
    fill: rgba(60, 60, 60, 0.5);
    padding: 0;
    border: 0;
    background-color: transparent;
    cursor: pointer;
    margin-right: 8px;
}

.vs__actions {
    display: flex;
    align-items: center;
    padding: 4px 6px 0 3px;
}

.vs__selected-options {
    display: flex;
    flex-basis: 100%;
    flex-grow: 1;
    flex-wrap: wrap;
    padding: 0 2px;
    position: relative;
}

.vs__search, .vs__search:focus {
    -webkit-appearance: none;
    appearance: none;
    line-height: 2.5;
    font-size: 1em;
    border: 1px solid transparent;
    border-left: none;
    outline: none;
    margin: 4px 0 0 0;
    padding: 0 7px;
    background: none;
    box-shadow: none;
    width: 0;
    max-width: 100%;
    flex-grow: 1;
    z-index: 1;
}

.vs__selected {
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    color: #333;
    line-height: 2.5;
    margin: 4px 2px 0px 2px;
    padding: 0 0.25em;
    z-index: 0;
}

.vs__dropdown-toggle {
    transition: box-shadow 0.15s, border 0.15s;
}

.vs__dropdown-toggle {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    padding: 0 0 4px 0;
    background: white;
    border-radius: 2px;
    white-space: normal;
}


.product-quantity #abaque_quantity_wanted {
    color: #232323;
    background-color: #fff;
    height: 2.75rem;
    padding: .175rem .5rem;
    width: 3rem;
}



.single-product div.type-product .summary .price-information {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 15px;
}



.single-product div.type-product .summary .price-information .kps-price:first-child {
    border-right: 1px solid #e5e5e5;
    margin-right: 20px;
    padding-right: 20px;
}

.single-product div.type-product .summary .price-information .kps-price {
    color: gray;
}

.single-product div.type-product .summary .price-information .kps-price .woocommerce-price-suffix {
    font-size: 14px;
    font-size: .875rem;
    line-height: 1.28571em;
    color: #8a898a;
    display: block;
}

.single-product div.type-product .summary .price-information .kps-price {
    color: gray;
}

.abaque_field_error
{
    border:1px solid var(--abaque-erreur, red) !important;
}

/* v5.0 — le contour rouge du champ fautif ne s'affichait plus.
   Le reglage de couleur du BO ecrit, dans le <style> en ligne de hook.tpl :
       #app-abaque-selector .abaque-selector__text-input { border:1px solid <couleur> !important }
   Specificite (1,1,0), et ce bloc est dans le corps de page donc APRES la
   feuille du module : la regle ci-dessus, qui ne pese que (0,1,0), perdait —
   !important des deux cotes ne departage pas, c'est la specificite qui tranche.
   On redit donc l'erreur avec un poids superieur (1,1,1).
   ATTENTION : ne pas faire la meme chose pour .abaque_field_success. Les champs
   valides sont aujourd'hui a la couleur du theme ; les forcer en vert serait un
   changement visuel que personne n'a demande. */
#app-abaque-selector input.abaque_field_error,
#app-abaque-selector textarea.abaque_field_error,
#app-abaque-selector select.abaque_field_error
{
    border:1px solid var(--abaque-erreur, red) !important;
}

.abaque_text_error
{
    color:var(--abaque-erreur, red) !important;
}

.abaque_field_success
{
    border:1px solid var(--abaque-valide, green) !important;
}

.abaque-amount-price
{
    font-size:24px;
}

.abaque-box-input
{
    position:relative;
}


.abaque-selector__input-section .modele_troncon > .abaque_remove_troncon
{
    display:none !important;
}

.block_troncons .abaque-selector__dimension-label
{
    width:100%;
}

.abaque-selector__input-section.block_troncons
{
    width: 100%;
    max-width: 100%;
}

/*
.abaque_m2
{
    display:none !important;
}
*/


#abaque_sample_text
{
    color:black;
    font-size:19px;
    margin-top: 10px;
    display: none;
}


/* ===== Bouton [X] d'une découpe supplémentaire (v1.7 ; v8.6 : le bouton
   d'ajout de l'ancien écran « Découpe interne » est retiré) ===== */
#app-abaque-selector .pd_remove {
    font-size: 14px !important;
    font-weight: 400 !important;
    padding: 4px !important;   /* v9.4 — icône seule : 8 px d'air faisaient un bouton trop gros */
}


/* ============================================================
   v3.4 — accordéon du configurateur
   ============================================================ */
#app-abaque-selector .abaque-acc { width: 100%; }
#app-abaque-selector .abaque-acc__sec { border: 1px solid #e3e3e3; border-radius: 6px; background: #fff; margin-bottom: 8px; overflow: hidden; }
#app-abaque-selector .abaque-acc__sec--open { border-color: var(--abaque-accent, #f5a623); }
#app-abaque-selector .abaque-acc__sec--hidden { display: none; }
#app-abaque-selector .abaque-acc__hd { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; margin: 0; background: #fff; border: none; border-radius: 0; text-align: left; font-size: 15px; font-weight: 600; color: #2f2f2f; cursor: pointer; line-height: 1.3; }
#app-abaque-selector .abaque-acc__hd:focus { outline: none; }
#app-abaque-selector .abaque-acc__num { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cfcfcf; color: #9a9a9a; font-size: 12px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex: none; box-sizing: border-box; }
#app-abaque-selector .abaque-acc__sec--open .abaque-acc__num { background: var(--abaque-accent, #f5a623); border-color: var(--abaque-accent, #f5a623); color: #fff; }
#app-abaque-selector .abaque-acc__sec--done .abaque-acc__num { background: var(--abaque-valide, #3b6d11); border-color: var(--abaque-valide, #3b6d11); color: #fff; }
#app-abaque-selector .abaque-acc__ttl { flex: none; }
#app-abaque-selector .abaque-acc__sum { margin-left: auto; font-size: 12px; font-weight: 400; color: #777; text-align: right; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#app-abaque-selector .abaque-acc__chev { font-size: 12px; color: #999; margin-left: 6px; flex: none; }
#app-abaque-selector .abaque-acc__body { display: none; padding: 2px 12px 12px; }
#app-abaque-selector .abaque-acc__sec--open .abaque-acc__body { display: block; }

/* cartes de choix (anciens boutons d'onglet) */
#app-abaque-selector .abaque-acc__cards { display: flex; gap: 8px; margin: 6px 0 10px; }
#app-abaque-selector .abaque-acc__card,
#app-abaque-selector .abaque-acc__card.abaque-selector__menu-button,
#app-abaque-selector .abaque-acc__card.abaque-selector__menu-button--active { flex: 1 1 0; min-width: 0; width: auto; margin: 0; padding: 8px 4px 7px; border: 1.5px solid #e3e3e3; border-radius: 6px; background: #fff; opacity: 1; font-size: 11px; line-height: 1.3; color: #2f2f2f; cursor: pointer; text-transform: none; }
#app-abaque-selector .abaque-acc__card.abaque-acc__card--on { border-color: var(--abaque-accent, #f5a623); background: var(--abaque-accent-clair, #fff8ec); }
#app-abaque-selector .abaque-acc__card svg { display: block; width: 38px; height: 38px; margin: 0 auto 4px; }
#app-abaque-selector .abaque-acc__card br { display: none; }
#app-abaque-selector .abaque-acc__card.abaque-selector__menu-button--active path,
#app-abaque-selector .abaque-acc__card.abaque-selector__menu-button--active circle,
#app-abaque-selector .abaque-acc__card.abaque-selector__menu-button--active ellipse,
#app-abaque-selector .abaque-acc__card.abaque-selector__menu-button--active rect { fill: none; stroke-width: 1px; }
#app-abaque-selector .abaque-acc__card--on path,
#app-abaque-selector .abaque-acc__card--on circle,
#app-abaque-selector .abaque-acc__card--on ellipse,
#app-abaque-selector .abaque-acc__card--on rect { stroke-width: 1.6px; }

/* sous-sections d'origine : à plat dans l'accordéon */
#app-abaque-selector .abaque-acc .abaque-selector__sub-section { background: transparent; border-top: none; margin: 0; }

/* formes : icônes plus petites, écart réduit */
#app-abaque-selector .abaque-acc .abaque-selector__simple-shapes { justify-content: flex-start; gap: 2px; }
#app-abaque-selector .abaque-acc .abaque-selector__shape-button { width: calc(100% / 7 - 2px); min-width: 42px; height: 46px; padding: 3px; margin: 2px 0; }

/* emplacement du schéma sur mobile */
#abaque_acc_schema { display: none; }

/* v7.1 — et sur grand écran, DANS le formulaire, sous « Ajouter une découpe ».

   Le dessin de la colonne de gauche est centré sur la hauteur du bloc image :
   dès qu'on descend saisir la troisième découpe, il est sorti de l'écran par le
   haut. Mesuré sur la dev, plaque 1500 × 1200 avec trois découpes, au moment où
   le client saisit la dernière : ligne de saisie entre 241 et 488 px, dessin
   entre −1046 et −446 px, soit 446 px au-dessus de la fenêtre.

   Plutôt que de faire courir le dessin après le défilement (tenté en 6.5, et
   contrarié par trois conteneurs du thème en overflow:hidden), on en pose une
   copie là où le client tape. Le module sait déjà la dessiner : c'est celle du
   mobile, qui n'était que masquée sur grand écran.

   La règle est volontairement portée par #abaque_mode_schema : la copie
   n'apparaît que dans le bloc des découpes, jamais dans les autres sections. */
/* La taille se règle par la LARGEUR, pas par la hauteur : le tracé a un viewBox
   de 500 × 400 et garde son rapport, donc une hauteur maximale ne ferait rien —
   mesuré sur la dev, la boîte suivait le rapport quoi qu'il arrive (483 × 387).
   Un plafond en largeur borne les deux d'un coup. */
#app-abaque-selector #abaque_mode_schema #abaque_acc_schema {
    display: block; min-height: 150px; max-width: 520px; margin: 8px auto 4px;
    border: 1px solid #eee; border-radius: 6px; overflow: hidden; background: #fff;
}
#app-abaque-selector #abaque_mode_schema #abaque_acc_schema svg {
    width: 100%; height: auto; display: block;
}

/* v7.1 — les découpes en gras dans le panier. Le libellé du panier est un
   simple div en graisse normale (vérifié : font-weight 400) : le thème ne met
   rien en gras, contrairement à ce que j'avais annoncé. Le CSS ne sachant pas
   lire un texte, c'est un court script du module qui pose cette classe sur les
   seuls libellés « Découpe n » — aucun fichier de thème n'est touché. */
.abaque-decoupe-libelle { font-weight: 700; }
@media (max-width: 767px) {
    #abaque_acc_schema { display: block; min-height: 180px; margin: 4px 0 10px; border: 1px solid #eee; border-radius: 6px; overflow: hidden; background: #fff; }
    #abaque_acc_schema svg { width: 100%; height: auto; max-height: 260px; display: block; }
    #app-abaque-selector .abaque-acc__card { font-size: 10px; padding: 6px 2px 5px; }
    #app-abaque-selector .abaque-acc__card svg { width: 32px; height: 32px; }
    #app-abaque-selector .abaque-acc__hd { font-size: 14px; padding: 9px 10px; }
    #app-abaque-selector .abaque-acc__sum { font-size: 11px; }
}

/* v3.5 — bouton Continuer (fin de section) */
#app-abaque-selector .abaque-acc__foot { display: flex; justify-content: flex-end; margin-top: 10px; }
#app-abaque-selector .abaque-acc__next { border: 1.5px solid #e3e3e3; background: #fff; color: #2f2f2f; border-radius: 4px; padding: 7px 14px; font-size: 13px; cursor: pointer; }
#app-abaque-selector .abaque-acc__next--ready { border-color: var(--abaque-accent, #f5a623); background: var(--abaque-accent, #f5a623); color: #fff; }


/* ===========================================================================
   v8.1 — Le prix s'estompe dès que la saisie ne lui correspond plus, avant
   d'être remplacé par le message. La règle vit ICI, dans la feuille du module,
   et non dans celle injectée par le JavaScript : la règle d'or du projet veut
   que la feuille injectée ne vise que ses propres blocs.
   =========================================================================== */
.abaque_ajax_price { transition: opacity .18s ease; }
.abaque_ajax_price.abaque-prix-attente { opacity: .32; }

/* v8.9 — « Ajouter un tronçon » prend l'apparence de « + Ajouter une découpe ».
   Il n'avait aucune classe : il tombait sur la règle de tous les boutons du
   module (texte bleu 16 px gras) et aucun réglage ne l'atteignait (Emmanuel,
   test Y2 du 25/09). */
/* v9.9 — plus petit, comme « + Ajouter une découpe » (Emmanuel, 19/10).
   v9.10 — test B2 du 19/10 : le bloc des tronçons range tout en colonne (flex),
   le bouton s'étirait donc sur toute la largeur, collé au tronçon au-dessus et à
   « Chute » en dessous ; et son texte restait foncé sur le fond orange du réglage
   « Fond des boutons ». Il garde maintenant sa taille, prend un peu d'air, et a
   la même allure que « + Ajouter une découpe » (texte blanc sur la couleur
   principale). */
#app-abaque-selector .abaque_add_troncon{align-self:flex-start;width:auto;max-width:100%;margin:8px 0;white-space:normal;border:1px solid transparent;background:var(--abaque-accent, #f5a623);color:#fff;border-radius:4px;padding:2px 10px;font-size:12px;font-weight:400;line-height:1.4;cursor:pointer}
#app-abaque-selector .abaque_add_troncon:hover{filter:brightness(.9)}


/* ============================================================
   v9.5 — LE CADRE DU MODULE ET SES TEXTES, RÉGLÉS PAR LE MODULE
   Jusqu'ici, le CSS personnalisé du thème mettait un contour orange
   (#F5A623) et le texte en gris foncé ; sans lui, le module retombait sur
   son ancien réglage : un contour très pâle (20 % de la couleur principale)
   et le texte dans une version foncée de la couleur principale.
   Emmanuel a retiré la règle du thème le 30/09 : le module fait maintenant
   lui-même ce qu'elle faisait, avec la couleur principale PLEINE pour le
   contour. Les réglages « Titres de section » et « Textes et libellés »
   passent toujours devant (ils sont en !important dans hook.tpl).
   ============================================================ */
#app-abaque-selector .abaque-selector__section {
    border: 1px solid var(--abaque-accent, #f5a623);
    color: #2f2f2f;
    font-weight: 400;
}
#app-abaque-selector .abaque-selector__section--state-chosen { border: none; }
#app-abaque-selector .abaque-selector__section-title { font-weight: 400; }
