/*
CTC Separate Stylesheet
Updated: 2025-07-21 15:34:05
*/

main#content {
    /*margin-top: 86px;*/
    margin-bottom: 40px;
}

.elementor-location-header {
    min-height: 100px;
}

.elementor-widget-video .elementor-wrapper iframe, .elementor-widget-video .elementor-wrapper video {
    max-height: 550px !important;
}

footer a, footer a:hover {
    color: #ffffff;
}

div#menubar-261 {
    width: auto !important;
    --stretch-width: unset !important;
    --stretch-left: -180px !important;
    min-width: 220px;
    margin-top: 20px;
    box-shadow: 0px 6px 12px -5px #000;
}

.contactformelementor {
    width: 80%;
    padding-left: 20%;
    max-width: 625px;
    min-width: 500px;
}

#currentsouscategoriestab, #souscat {
    display: none;
}

.elementor-page-253 #souscat {
    display: block;
}

.btn-options span.elementor-button-content-wrapper {
    justify-content: space-between !important;
}

.btn-options {
    width: 100% !important;
    opacity: 0;
}

.myproduct:hover .btn-options {
    opacity: 1;
}

/*.product.type-product {
    margin-top: 130px;
}*/

table tbody > tr:nth-child(odd) > td, table tbody > tr:nth-child(odd) > th {
    background-color: unset;
}

table tbody tr:hover > td, table tbody tr:hover > th {
    background-color: unset;
}

.wc-pao-addons-container {
    margin-top: 50px;
}

.variations th, .variations td {
    padding: 0;
}

.variations tr {
    display: inline-flex;
    flex-direction: column;
    align-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
}

.variations_form .variations a.reset_variations {
    display: none !important;
}

.woocommerce-Price-amount.amount bdi {
    font-weight: 700;
    color: #6c8162;
}

span.wc-pao-addon-name {
    display: block;
    font-weight: 700;
}

span.wc-pao-addon-value {
    font-weight: 400;
}

.single-product div.product div.product-addon-totals .wc-pao-subtotal-line p.price {
    margin: 0;
    color: #6c8162;
    font-weight: 600;
}

.adf-main-qoute-page .addify-quote-form.template_one .af-quote-field-table {
    width: 100% !important;
    max-width: 100% !important;
}

button.button {
    background-color: #6c8162 !important;
    border-radius: 0 20px 0 20px !important;
    padding: 15px 25px !important;
    color: #fff;
    font-family: 'Source Sans Pro';
    text-transform: uppercase;
    /*border: 2px solid #6c8162 !important;*/
}

h1.entry-title {
    font-family: 'Playfair Display';
}

.button.wc-backward, .button.wc-forward, .woocommerce-button.view {
    font-family: 'Darker Grotesque' !important;
    text-transform: uppercase !important;
    border-radius: 0 20px !important;
    padding: 15px 25px !important;
}

#filters-wc > div {
    padding: 15px;
}

/*devis*/
.product-name a {
    color: #6c8162;
    font-family: 'Montserrat';
    font-weight: 600;
    font-size: 16px;
}

.woocommerce-message, .woocommerce-error, .woocommerce-info {
    border-top-color: #6c8162;
}

.af_quote_fields input {
    background-color: #ffffff !important;
}

.afrfq_success_message {
    background-color: #6c8162;
}

#quote-li span#total-items {
    display: none !important;
}

.page-id-16 tr.order-total {
    font-size: 18px;
}


p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    text-align: center;
    width: fit-content;
    margin: 50px auto 60px;
    font-family: 'Montserrat';
    font-size: 1.7em;
    color: #000000;
    border-bottom: 1px solid;
}

ul.woocommerce-order-overview.woocommerce-thankyou-order-details.order_details {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.elementor-widget-woocommerce-checkout-page a {
    color: #6c8162;
}

button[aria-selected="true"] .e-n-tab-title-text::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: #6c8162;
    position: absolute;
    bottom: 0;
    left: calc(50% - 40px);
}


body.logged-in #usermenu-createaccount {
    display: none;
}

body:not(.logged-in) #usermenu-myaccount {
    display: none;
}

.elementor-24 .elementor-element.elementor-element-b0520b6 .elementor-menu-toggle:hover {
    color: #6c8162;
}

/* Marquee container */
#container-txt-defil {
    overflow: hidden;
    position: relative;
    --marquee-gap: 50px;
    --marquee-duration: 30s; /* valeur par défaut, écrasée par le JS */
}

/* Viewport (on crée ce wrapper en JS) */
#container-txt-defil .marquee-viewport {
    width: 100%;
    overflow: hidden;
}

/* Track : contient 2 copies du contenu */
#container-txt-defil .marquee-track {
    display: flex;
    gap: var(--marquee-gap);
    align-items: center;
    white-space: nowrap;
    width: max-content;
    will-change: transform;
    animation-name: marquee;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-duration: var(--marquee-duration);
}

/* Pause au survol */
#container-txt-defil:hover .marquee-track {
    animation-play-state: paused;
}

/* L’animation translate de 0 à -50% (la piste fait 2 copies, donc -50% = la largeur d'une copie) */
@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

p.stock.out-of-stock {
    display: none;
}

.sfi-product-type-variable #sfi-product-price {
    display: none;
}

.sfi-product-variations-1 #sfi-product-price {
    display: block !important;
}


ul.mysubcategories {
    display: grid;
    list-style: none;
    align-content: space-between;
    justify-content: start;
    align-items: center;
    justify-items: center;
    padding: 0;
    margin: 0;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
}

/*on met que 2 colonnes si on est sur mobile*/
@media (max-width: 768px) {
    ul.mysubcategories {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}


.mysubcategories li {
    width: 100%;
}

.mysubcategories img {
    width: 100%;
    margin-bottom: -10px;
}

.mysubcategories a.titresubcat {
    background-color: #6c8162;
    padding: 10px 5px;
    margin: 0 auto;
    display: flex;
    color: #ffffff;
    font-family: "Montserrat", Sans-serif;
    flex-direction: row;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

span.more {
    font-size: 45px;
    line-height: 0;
}

div#mainmenuheader li:hover {
    background-color: #6c8162;
    border-radius: 0 15px;
}

div#mainmenuheader li:hover a {
    color: #ffffff;
}

/*.col-puces a {
    display: block;
    width: fit-content;
}

.col-puces p a::after {
    content: "";
    width: 100%;
    height: 1px;
    display: block;
    background-color: transparent;
}

.col-puces p:hover a::after {
    background-color: #6c8162;
}*/

a {
    color: unset;
}

.d-none{
    display: none;
}

.elementor-editor-active .d-none{
    display: block;
}

.tab-header {
    position: relative;
    display: inline-block;
    cursor: pointer;
    padding-bottom: 4px; /* espace entre le texte et le trait */
}

.tab-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px; /* épaisseur du trait */
    width: 0%;
    background-color: #6c8162; /* couleur du soulignement */
    transition: width 0.3s ease-in-out; /* durée et style de l’animation */
}

.tab-header:hover::after {
    width: 100%;
}

.tab-header::after {
    transition: width 0.3s ease-in-out;
    transform-origin: left;
}

.wcpf-price-slider-min-max-inputs {
    display: none !important;
}

.wcpf-price-slider.wcpf-field-title.wcpf-heading-label, .wcpf-checkbox.wcpf-field-title.wcpf-heading-label {
    color: #6c8162;
    font-size: 20px;
    font-family: 'Montserrat';
    text-transform: none;
}


.wcpf-field-checkbox-list .wcpf-checkbox-list .wcpf-checkbox-item .wcpf-checkbox-label {
    color: #6c8162;
    font-size: 14px !important;
    font-family: 'Montserrat';
}

.wcpf-field-checkbox-list .wcpf-checkbox-list .wcpf-checkbox-item .wcpf-input-container {
    border-color:#6c816275;
}

.wcpf-field-price-slider .ui-slider-horizontal {
    height: 0.2em !important;
}

.wcpf-field-price-slider .ui-slider .ui-slider-range {
    background-color: #6c8162;
}

.wcpf-field-price-slider .ui-slider .ui-slider-handle {
    top: -0.4em;
    margin-left: -0.5em;
    border: 1px solid #6c8162;
}

.priceSliderAmount {
    .priceLabel {
        display: flex !important;
        justify-content: space-between;
    }
    span.price-text, span.delimiter {
        display: none !important;
    }
}

.myproduct:hover h2 {
    font-weight: 600 !important;
}

.variations select {
     white-space: break-spaces;
     min-height: 70px;
 }

table.variations tr {
    width: 100%;
}

table.variations {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}

@media (min-width: 768px) {
    div#content-garantie {
        columns: 2;
    }
}

#usermenutop svg g path {
    fill: #000000 !important;
}

textarea[name="devis-message"] {
    height: 100px !important;
}

li.itemdevis a:first-child {
    display: none;
}

li.itemdevis {
    background-color: #e6d3a3;
    border-radius: 0 15px;
}

.wcpf-item-box-hide {
    display: block !important;
}

div#filters-wc button.box-item-toggle {
    display: none;
}

.wcpf-item.wcpf-checkbox-item[data-item-key="les-accessoires-alu"]{
    display: none !important;
}

.wcpf-checkbox-item:has(> .wcpf-item-inner > .wcpf-item-label > .box-item-toggle) > .wcpf-item-inner > .wcpf-item-label .wcpf-title {
    font-weight: bold;
    font-size: 15px;
}