/*
Theme Name: Montagne Child
Theme URI: https://montagne.qodeinteractive.com
Description: A child theme of Montagne
Author: Select Themes
Author URI: https://qodeinteractive.com
Version: 1.0
Text Domain: montagne
Template: montagne
*/

/* Shimmer animation */
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Shimmer subtitle badge */
.qodef-m-subtitle.qodef-m-subtitle--shimmer {
    display: inline-block;
    background: linear-gradient(90deg, #000 40%, #444 50%, #000 60%);
    background-size: 200% auto;
    -webkit-animation: shimmer 4s ease-in-out infinite;
    animation: shimmer 4s ease-in-out infinite;
    color: #ffffff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 4px;
}

/* Mobile Sticky Categories Button */
.qodef-mobile-categories-sticky {
    display: none;
}

@media only screen and (max-width: 1024px) {
    .qodef-mobile-categories-sticky {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 99999 !important;
        background-color: #000 !important;
        padding: 12px 15px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .qodef-mobile-categories-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        color: #fff !important;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .qodef-mobile-categories-btn i.qodef-arrow-animated {
        font-size: 16px;
        animation: arrowPulse 1.5s ease-in-out infinite;
    }

    @keyframes arrowPulse {
        0%, 100% {
            transform: translateX(0);
            opacity: 1;
        }
        50% {
            transform: translateX(5px);
            opacity: 0.7;
        }
    }

    .qodef-mobile-categories-btn:hover {
        color: #fff !important;
    }

    /* Add top padding to body to account for sticky button */
    body.qodef-mobile-categories-active {
        padding-top: 50px !important;
    }

    /* Hide sticky when side area is open */
    body.qodef-side-area--opened .qodef-mobile-categories-sticky {
        display: none !important;
    }
}

/* Product Slider - Navigation Row: <- BUTTON -> */
.qodef-qi-woo-shortcode-product-slider .qodef-nav-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

/* Pagination above the nav row */
.qodef-qi-woo-shortcode-product-slider .swiper-pagination {
    position: static !important;
    margin-top: 20px;
}

.qodef-qi-woo-shortcode-product-slider .qodef-nav-row .swiper-button-prev,
.qodef-qi-woo-shortcode-product-slider .qodef-nav-row .swiper-button-next {
    position: static !important;
    transform: none !important;
    margin: 0 !important;
}

/* Fallback wrapper if no nav row */
.qodef-qi-woo-shortcode-product-slider .qodef-nav-custom-button-wrapper {
    text-align: center;
    margin-top: 25px;
}

.qodef-nav-custom-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.qodef-nav-custom-button:hover {
    background-color: #333;
    color: #fff;
}

/* WooCommerce Product List - Limit image height */
.qodef-woo-product-list .qodef-woo-product-image {
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.qodef-woo-product-list .qodef-woo-product-image img {
    max-height: 450px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* WooCommerce Variation Buttons Styling */
.variations th.label {
    padding-right: 15px !important;
    white-space: nowrap;
}

.variations th.label label {
    display: inline !important;
    vertical-align: middle;
}

/* Size info tooltip */
.size-info-tooltip {
    display: inline !important;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
}

.size-info-tooltip:hover {
    color: #101010;
}

/* Tooltip popup */
.size-info-popup {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #101010;
    color: #fff;
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    font-family: "Syne", sans-serif;
}

.size-info-popup::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #101010;
}

.size-info-tooltip:hover .size-info-popup,
.size-info-tooltip.active .size-info-popup {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .size-info-popup {
        position: fixed;
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        white-space: normal;
        max-width: 280px;
        text-align: center;
    }

    .size-info-popup::after {
        display: none;
    }
}

.variations .value {
    position: relative;
}

/* Hide the default select dropdown completely */
.variations .value select {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    width: 0 !important;
}

/* Hide select2 container completely */
.variations .value .select2-container,
.variations .value .select2,
.variations .value span.select2 {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
    position: absolute !important;
}

/* Variation buttons wrapper */
.variation-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 15px;
}

/* Individual variation button - Style inspired by theme buttons */
.variation-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    font-family: "Syne", sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: 0.96px;
    text-transform: uppercase;
    padding: 14px 24px;
    border: 1px solid #101010;
    background-color: transparent;
    color: #101010;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    outline: none;
    -webkit-appearance: none;
    min-width: 90px;
}

.variation-button > span {
    position: relative;
    display: block;
}

.variation-button > span:after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    display: block;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease-out;
}

.variation-button:hover {
    background-color: #101010;
    color: #ffffff;
}

.variation-button:hover > span:after {
    width: 100%;
}

.variation-button.selected {
    background-color: #101010;
    color: #ffffff;
    border-color: #101010;
}

.variation-button.selected > span:after {
    width: 100%;
    background-color: #ffffff;
}

.variation-button:disabled,
.variation-button.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
    border-color: #e1e1e1;
    color: #999;
}

/* Reset variations link */
.variations .reset_variations {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    text-decoration: underline;
    color: #101010;
    font-family: "Syne", sans-serif;
    letter-spacing: 0.96px;
    text-transform: uppercase;
}

.variations .reset_variations:hover {
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .variation-button {
        padding: 12px 20px;
        font-size: 11px;
        min-width: 80px;
    }

    .variation-buttons-wrapper {
        gap: 10px;
    }
}

@media (min-width: 768px) {
	#qodef-page-header .qodef-header-logo-link {
    	height: 185px !important;
	}	
}


/* Positionnement des flèches en dessous du slider, centrées et côte à côte */
 .swiper-button-next,
.swiper-button-prev {
    position: absolute !important;
    top: auto !important;
    bottom: 0px !important;
    transform: none !important;
    margin: 0 !important;
}

 .swiper-button-prev {
    left: calc(50% - 40px) !important;
    right: auto !important;
}

 .swiper-button-next {
    right: calc(50% - 40px) !important;
    left: auto !important;
}

/* Ajout d'espace en bas du conteneur pour les flèches */
.qodef-qi-swiper-container {
    margin-bottom: 80px !important;
}

.swiper-container-horizontal>.swiper-pagination-bullets, .swiper-horizontal>.swiper-pagination-bullets {
    bottom: 30px !important;
}

.qodef-qi-woo-shortcode-product-slider.qodef-qi-swiper-container {
    padding-bottom: 65px !important;
}

/* ============================================
   MEGA MENU CATEGORIES - Side Area Widget
   ============================================ */

/* Side Area overrides */
#qodef-side-area {
    padding: 50px 0px 20px 20px !important;
}

/* Hide main scrollbar when side area is open */
.qodef-side-area--opened {
    overflow: hidden !important;
}

.qodef-side-area--opened body,
.qodef-side-area--opened html {
    overflow: hidden !important;
}

.qodef-mega-menu-categories {
    padding: 0;
}

/* ---- Catégorie principale (Snow, Outdoor, City) ---- */
.qodef-mm-main-category {
    margin-bottom: 25px;
    padding-bottom: 0;
    border-bottom: 1px solid rgba(16, 16, 16, 0.08);
}

.qodef-mm-main-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.qodef-mm-main-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 12px;
    background-color: #202020;
}

.qodef-mm-main-header i {
    font-size: 16px;
    color: #ffffff;
}

.qodef-mm-main-header span {
    font-family: "Syne", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
}

/* ---- Sections (Textile, Matos, etc.) ---- */
.qodef-mm-sections {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qodef-mm-row {
    display: flex;
    gap: 15px;
}

.qodef-mm-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.qodef-mm-section {

}

.qodef-mm-section-title {
    font-family: "Syne", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: #202020;
    margin-bottom: 4px;
    padding: 5px 10px;
    position: relative;
}

.qodef-mm-section-title::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 1px;
    background-color: #fff;
    margin-right: 8px;
    vertical-align: middle;
}

/* ---- Items (liens vers catégories) ---- */
.qodef-mm-items {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-left: 16px;
    font-family: "Syne", sans-serif;
}

.qodef-mm-items,
.qodef-mm-items li,
.qodef-mm-items li a,
.qodef-mm-items * {
    font-family: "Syne", sans-serif !important;
}

.qodef-mm-items li,
#qodef-side-area .widget .qodef-mm-items li {
    margin: 7px 0 0 0 !important;
    padding: 0;
    font-size: 0;
}

.qodef-mm-items li a {
    font-family: "Syne", sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: #444;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    line-height: 1.25;
    display: block;
}

.qodef-mm-items li a::before {
    content: "·";
    margin-right: 6px;
    color: #ccc;
    transition: color 0.2s ease;
}

.qodef-mm-items li a:hover {
    color: #101010;
}

.qodef-mm-items li a:hover::before {
    color: #101010;
}

/* ---- Lien "Voir la catégorie" ---- */
.qodef-mm-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-family: "Syne", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #101010;
    text-decoration: none;
    padding: 8px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.qodef-mm-view-all:hover {
    border-bottom-color: #101010;
}

.qodef-mm-view-all i {
    font-size: 17px;
    transition: transform 0.3s ease;
}

.qodef-mm-view-all:hover i {
    transform: translateX(4px);
}

/* ---- Widget Title dans Side Area ---- */
#qodef-side-area .widget_montagne_mega_menu_categories .qodef-widget-title {
    font-family: "Syne", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #101010;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #101010;
}

/* ---- Scrollbar personnalisé pour Side Area ---- */
#qodef-side-area-inner {
    overflow-y: auto;
    max-height: calc(100vh - 100px);
}

#qodef-side-area-inner::-webkit-scrollbar {
    width: 3px;
}

#qodef-side-area-inner::-webkit-scrollbar-track {
    background: #f5f5f5;
}

#qodef-side-area-inner::-webkit-scrollbar-thumb {
    background: #101010;
}

#qodef-side-area-inner::-webkit-scrollbar-thumb:hover {
    background: #333;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .qodef-mm-main-header span {
        font-size: 13px;
    }

    .qodef-mm-section-title {
        font-size: 9px;
    }

    .qodef-mm-items li a {
        font-size: 11px;
        padding: 2px 0;
    }

    .qodef-mm-view-all {
        font-size: 9px;
    }
}

/* ============================================
   PRODUCT SLIDER - Titre sur une seule ligne
   ============================================ */
.qodef-e-product-title.qodef-e-title.entry-title {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

.qodef-e-product-title .qodef-e-product-title-link,
.qodef-e-product-title a.qodef-e-product-title-link,
h5.qodef-e-product-title a {
    display: block !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
}

/* Bouton "Select options" sur une seule ligne */
.qodef-e-to-swap .qodef-qi-button,
.qodef-e-to-swap .qodef-qi-button .qodef-m-text {
    white-space: nowrap !important;
}

/* Espacement au-dessus du prix/bouton */
.qodef-qi-woo-shortcode-product-slider .qodef-e-swap-holder {
    margin-top: 15px !important;
}

/* Fond gris pour les images produit */
.qodef-e-product-image-holder {
    background-color: #f6f6f6 !important;
}

/* Hauteur fixe des images dans le Product Slider */
.qodef-qi-woo-shortcode-product-slider .qodef-e-product-image-holder {
    height: 350px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.qodef-qi-woo-shortcode-product-slider .qodef-e-product-image-holder img {
    width: auto !important;
    height: 100% !important;
    max-height: 350px !important;
    object-fit: contain !important;
}

.qodef-qi-woo-shortcode-product-slider .qodef-e-product-content {
    margin-top: 5px !important;
}

/* ============================================
   BOUTON CATEGORIES (Side Area Opener)
   ============================================ */
.qodef-categories-button {
    display: inline-flex !important;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: #101010 !important;
    color: #ffffff !important;
    font-family: "Syne", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qodef-categories-button:hover {
    background-color: #333333 !important;
    color: #ffffff !important;
}

.qodef-categories-button .qodef-m-text {
    display: inline-block;
}

.qodef-categories-button i {
    font-size: 18px;
    animation: arrow-bounce 1s ease-in-out infinite;
}

@keyframes arrow-bounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

.qodef-categories-button:hover i {
    animation: none;
    transform: translateX(5px);
}

/* Checkout : bouton "Commander" stylisé comme le thème Montagne */
.wc-block-components-checkout-place-order-button {
    font-family: "Syne", sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 17px 28px !important;
    color: #fff !important;
    background-color: #101010 !important;
    border: 2px solid #101010 !important;
    border-radius: 0 !important;
    transition: color 0.3s ease-out, background-color 0.3s ease-out, border-color 0.3s ease-out !important;
    cursor: pointer;
}

.wc-block-components-checkout-place-order-button:hover {
    background-color: #333 !important;
    border-color: #333 !important;
}

/* Bandeau promo SNOW2026 : taille du texte réduite sur mobile */
@media only screen and (max-width: 1024px) {
    #qodef-content-bottom .qodef-content-bootom-custom h3 {
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
}

/* Page panier et checkout : suppression du padding-top */
.woocommerce-cart #qodef-page-inner,
.woocommerce-checkout #qodef-page-inner {
    padding-top: 0 !important;
}

/* Panier dans le header mobile : alignement vertical */
#qodef-page-mobile-header #montagne_core_woo_dropdown_cart-3 {
    margin-top: 40px;
}

/* Petites résolutions PC : bouton catégories décalé en dessous */
@media only screen and (max-width: 1280px) {
    #montagne_categories_button-3 {
        position: absolute !important;
        top: 100px !important;
        right: 15px !important;
        margin: 0 !important;
        z-index: 100 !important;
        white-space: nowrap !important;
    }
}

/* Masquer l'icône hamburger du Side Area Opener */
.widget_montagne_core_side_area_opener {
    display: none !important;
}

/* Largeur du Side Area */
#qodef-side-area {
    width: 50vw !important;
    max-width: 850px !important;
}

@media (max-width: 768px) {
    #qodef-side-area {
        width: 100vw !important;
        max-width: 100vw !important;
    }
}

/* ============================================
   MODALE AJOUT AU PANIER
   ============================================ */

/* Overlay plein écran */
.qodef-cart-modal-holder {
    position: fixed;
    top: -0.7em;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.qodef-cart-modal-holder.qodef-opened {
    opacity: 1;
    visibility: visible;
}

/* Fond semi-transparent */
.qodef-cart-modal-overlay {
    position: absolute;
    top: -0.7em;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

/* Contenu de la modale */
.qodef-cart-modal-inner {
    position: relative;
    background-color: #ffffff;
    width: 90%;
    max-width: 480px;
    padding: 40px;
    transform: translateY(30px);
    transition: transform 0.3s ease;
    z-index: 1;
}

.qodef-cart-modal-holder.qodef-opened .qodef-cart-modal-inner {
    transform: translateY(0);
}

/* Bouton fermer */
.qodef-cart-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #101010;
    transition: all 0.3s ease;
    cursor: pointer;
}

.qodef-cart-modal-close:hover {
    color: #666;
    transform: rotate(90deg);
}

/* Contenu */
.qodef-cart-modal-content {
    text-align: center;
}

/* Icône check */
.qodef-cart-modal-icon {
    margin-bottom: 20px;
}

.qodef-cart-modal-icon svg {
    display: inline-block;
}

/* Titre */
.qodef-cart-modal-title {
    font-family: "Syne", sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #101010;
    margin: 0 0 25px 0;
}

/* Info produit */
.qodef-cart-modal-product {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: #f6f6f6;
    margin-bottom: 25px;
    text-align: left;
}

.qodef-cart-modal-product-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qodef-cart-modal-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.qodef-cart-modal-product-info {
    flex: 1;
    min-width: 0;
}

.qodef-cart-modal-product-name {
    display: block;
    font-family: "Syne", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #101010;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qodef-cart-modal-product-price {
    display: block;
    font-family: "Syne", sans-serif;
    font-size: 14px;
    color: #666;
}

.qodef-cart-modal-product-price del {
    opacity: 0.5;
    margin-right: 8px;
}

.qodef-cart-modal-product-price ins {
    text-decoration: none;
    font-weight: 600;
    color: #101010;
}

/* Boutons d'action */
.qodef-cart-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qodef-cart-modal-continue,
.qodef-cart-modal-view-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Syne", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.96px;
    text-transform: uppercase;
    padding: 14px 24px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.qodef-cart-modal-continue {
    background-color: transparent;
    border: 1px solid #101010;
    color: #101010;
}

.qodef-cart-modal-continue:hover {
    background-color: #101010;
    color: #ffffff;
}

.qodef-cart-modal-view-cart {
    background-color: #101010;
    border: 1px solid #101010;
    color: #ffffff;
}

.qodef-cart-modal-view-cart:hover {
    background-color: #333;
    border-color: #333;
}

/* Bloquer le scroll du body quand modale ouverte */
body.qodef-cart-modal-opened {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 576px) {
    .qodef-cart-modal-inner {
        padding: 30px 20px;
    }

    .qodef-cart-modal-title {
        font-size: 16px;
    }

    .qodef-cart-modal-product {
        padding: 15px;
    }

    .qodef-cart-modal-product-image {
        width: 60px;
        height: 60px;
    }

    .qodef-cart-modal-product-name {
        font-size: 13px;
    }

    .qodef-cart-modal-continue,
    .qodef-cart-modal-view-cart {
        padding: 12px 20px;
        font-size: 11px;
    }
}

/* ============================================
   BOUTON CHECKOUT (Page Panier)
   ============================================ */

.wc-block-cart__submit-container {
    margin-top: 20px;
}

.wc-block-cart__submit-button,
.wc-block-cart__submit-button.contained {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 30px !important;
    background-color: #101010 !important;
    color: #ffffff !important;
    font-family: "Syne", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border: 2px solid #101010 !important;
    border-radius: 0 !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    min-height: 60px;
}

.wc-block-cart__submit-button:hover,
.wc-block-cart__submit-button.contained:hover {
    background-color: #ffffff !important;
    color: #101010 !important;
    border-color: #101010 !important;
}

.wc-block-cart__submit-button .wc-block-components-button__text {
    font-family: "Syne", sans-serif !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
}

/* Ajouter une icône flèche après le texte */
.wc-block-cart__submit-button .wc-block-components-button__text::after {
    content: "\f054";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 12px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.wc-block-cart__submit-button:hover .wc-block-components-button__text::after {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 768px) {
    .wc-block-cart__submit-button,
    .wc-block-cart__submit-button.contained {
        padding: 16px 24px !important;
        font-size: 12px !important;
        min-height: 50px;
    }

    .wc-block-cart__submit-button .wc-block-components-button__text {
        font-size: 12px !important;
    }
}

/* ============================================
   CONFIGURATEUR MONTAGE FIXATIONS
   ============================================ */

.montagne-binding-configurator {
    margin: 20px 0;
    padding: 20px;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
}

.montagne-binding-configurator .configurator-title {
    font-family: "Syne", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 15px 0;
    color: #101010;
}

.montagne-binding-configurator .configurator-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.montagne-binding-configurator .configurator-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: #fff;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.montagne-binding-configurator .configurator-option:hover {
    border-color: #101010;
}

.montagne-binding-configurator .configurator-option:has(input:checked) {
    border-color: #101010;
    background-color: #101010;
}

.montagne-binding-configurator .configurator-option:has(input:checked) .option-label,
.montagne-binding-configurator .configurator-option:has(input:checked) .option-info {
    color: #fff;
}

.montagne-binding-configurator .configurator-option.configured {
    border-color: #28a745;
    background-color: #28a745;
}

.montagne-binding-configurator .configurator-option input[type="radio"] {
    display: none;
}

.montagne-binding-configurator .option-label {
    font-family: "Syne", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #101010;
}

.montagne-binding-configurator .option-info {
    font-size: 11px;
    color: #666;
}

/* Modale de configuration */
.binding-config-modal {
    position: fixed;
    top: -0.7em;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.binding-config-modal.open {
    opacity: 1;
    visibility: visible;
}

.binding-modal-overlay {
    position: absolute;
    top: -0.7em;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.binding-modal-inner {
    position: relative;
    background-color: #fff;
    width: 95%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    transform: translateY(30px);
    transition: transform 0.3s ease;
    z-index: 1;
}

.binding-config-modal.open .binding-modal-inner {
    transform: translateY(0);
}

.binding-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    font-size: 30px;
    cursor: pointer;
    color: #101010;
    transition: transform 0.3s ease;
}

.binding-modal-close:hover {
    transform: rotate(90deg);
}

.binding-modal-content h3 {
    font-family: "Syne", sans-serif;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #101010;
}

/* Sections du formulaire */
.config-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.config-section:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.config-section h4 {
    font-family: "Syne", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 20px 0;
    color: #101010;
    display: flex;
    align-items: center;
    gap: 10px;
}

.config-section .section-icon {
    font-size: 18px;
}

/* Champs du formulaire */
.form-row {
    margin-bottom: 18px;
}

.form-row > label {
    display: block;
    font-family: "Syne", sans-serif;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #101010;
}

.form-row .required {
    color: #dc3545;
}

.form-row-half {
    display: flex;
    gap: 20px;
}

.form-row-half .form-field {
    flex: 1;
}

.form-field > label {
    display: block;
    font-family: "Syne", sans-serif;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #101010;
}

/* Inputs */
.binding-modal-content input[type="text"],
.binding-modal-content input[type="number"],
.binding-modal-content select,
.binding-modal-content textarea {
    width: 100%;
    padding: 12px 15px;
    font-family: "Syne", sans-serif;
    font-size: 14px;
    border: 1px solid #ddd;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.binding-modal-content input:focus,
.binding-modal-content select:focus,
.binding-modal-content textarea:focus {
    outline: none;
    border-color: #101010;
}

.binding-modal-content input.error,
.binding-modal-content select.error,
.binding-modal-content textarea.error {
    border-color: #dc3545;
}

.form-row.error label {
    color: #dc3545;
}

.input-with-unit {
    display: flex;
}

.input-with-unit input,
.input-with-unit .unit {
    height: 44px !important;
    line-height: 44px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box !important;
}

.input-with-unit input {
    flex: 1;
    border-right: none;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.input-with-unit .unit {
    padding-left: 12px !important;
    padding-right: 12px !important;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-left: none;
    font-family: "Syne", sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #666;
}

/* Radio et checkbox groups */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "Syne", sans-serif;
    font-size: 13px;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #101010;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    position: relative;
    top: 5px;
    accent-color: #101010;
    flex-shrink: 0;
}

.checkbox-label span {
    font-family: "Syne", sans-serif;
    font-size: 13px;
    line-height: 1.5;
    margin-left: 2px;
}

.checkbox-confirm {
    align-items: flex-start;
}

.checkbox-confirm input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 0;
}

.checkbox-confirm span {
    font-size: 12px;
    color: #666;
    line-height: 18px;
}

/* Info text */
.info-text {
    font-family: "Syne", sans-serif;
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    padding: 10px 15px;
    background-color: #f8f8f8;
    border-left: 3px solid #101010;
}

.help-link {
    display: inline-block;
    margin-top: 5px;
    font-size: 11px;
    color: #666;
    text-decoration: underline;
}

.help-link:hover {
    color: #101010;
}

/* Boutons d'action */
.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.form-actions .btn-cancel,
.form-actions .btn-validate {
    flex: 1;
    padding: 15px 25px;
    font-family: "Syne", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #101010;
}

.form-actions .btn-cancel {
    background-color: #fff;
    color: #101010;
}

.form-actions .btn-cancel:hover {
    background-color: #f0f0f0;
}

.form-actions .btn-validate {
    background-color: #101010;
    color: #fff;
}

.form-actions .btn-validate:hover {
    background-color: #333;
}

/* Body quand modale ouverte */
body.binding-modal-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .binding-modal-inner {
        padding: 25px 20px;
        max-height: 95vh;
    }

    .binding-modal-content h3 {
        font-size: 18px;
    }

    .form-row-half {
        flex-direction: column;
        gap: 15px;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .form-actions {
        flex-direction: column;
    }

    .montagne-binding-configurator .configurator-options {
        flex-direction: column;
    }

    .montagne-binding-configurator .configurator-option {
        justify-content: center;
    }
}

/* Technical Specification Tab - Table spacing */
.c-product-attributes__technical-specification-text table {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Additional Information Tab - 2 columns layout */
#tab-additional_information .woocommerce-product-attributes {
    width: 100%;
}

#tab-additional_information .woocommerce-product-attributes tbody {
    column-count: 2;
    column-gap: 40px;
    display: block;
}

#tab-additional_information .woocommerce-product-attributes tr {
    display: block;
    break-inside: avoid;
    margin-bottom: 8px;
}

#tab-additional_information .woocommerce-product-attributes th,
#tab-additional_information .woocommerce-product-attributes td {
    display: inline;
    padding: 0;
}

#tab-additional_information .woocommerce-product-attributes th {
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

#tab-additional_information .woocommerce-product-attributes th::after {
    content: " :";
}

#tab-additional_information .woocommerce-product-attributes td p {
    margin: 0;
    display: inline;
}

@media (max-width: 768px) {
    #tab-additional_information .woocommerce-product-attributes tbody {
        column-count: 1;
    }
}

/* Product page - Binding configurator full width + quantity/add to cart below */
.single-product .woocommerce-variation-add-to-cart {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.single-product .woocommerce-variation-add-to-cart .montagne-binding-configurator {
    width: 100%;
    flex-basis: 100%;
}

/* Related products - View more button */
.related-products-view-more {
    text-align: center;
    margin-top: 30px;
}

.related-products-view-more .button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #101010;
    color: #fff;
    text-decoration: none;
    font-family: "Syne", sans-serif;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.related-products-view-more .button:hover {
    background-color: #333;
    color: #fff;
}

.related-products-view-more .button .arrow {
    display: inline-block;
    margin-left: 8px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.related-products-view-more .button:hover .arrow {
    animation: arrow-bounce 0.6s ease infinite;
}

@keyframes arrow-bounce {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
}

/* Empty cart - Products grid 4 columns */
.empty-cart-products .products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .empty-cart-products .products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .empty-cart-products .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .empty-cart-products .products {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   DECORATION STAR - Classe utilitaire Elementor
   Usage: Ajouter la classe "with-star" à un élément
   ============================================ */
.with-star {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.with-star::before {
    content: "";
    display: inline-block;
    width: 40px;
    height: 38px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='126.6' height='121.5' viewBox='0 0 126.6 121.5'%3E%3Cpath d='M129.6,87.2l9.3,28.5-40.2,12,26.7,34.5-24.3,17.7L75,142.1,49.2,179.9,24.9,162.2l26.7-34.5L12.3,116l9.3-28.8,39.6,14.1L60,58.4H90l-1.5,43.2Z' transform='translate(-12.3 -58.4)' fill='%23d7fc69'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Variante petite */
.with-star-sm::before {
    width: 25px;
    height: 24px;
}

/* Variante grande */
.with-star-lg::before {
    width: 60px;
    height: 57px;
}

/* Etoile APRES l'élément */
.with-star-after {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.with-star-after::after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 38px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='126.6' height='121.5' viewBox='0 0 126.6 121.5'%3E%3Cpath d='M129.6,87.2l9.3,28.5-40.2,12,26.7,34.5-24.3,17.7L75,142.1,49.2,179.9,24.9,162.2l26.7-34.5L12.3,116l9.3-28.8,39.6,14.1L60,58.4H90l-1.5,43.2Z' transform='translate(-12.3 -58.4)' fill='%23d7fc69'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ============================================
   TITRE AVEC SEPARATOR POINTILLÉ
   Usage: Ajouter la classe "with-dot-separator" à un titre
   ============================================ */
.with-dot-separator {
    display: flex;
    align-items: baseline;
    gap: 15px;
    width: 100%;
}

.with-dot-separator::after {
    content: "";
    flex: 1;
    border-bottom: 2px dashed #c4e65f;
    position: relative;
    top: -0.7em;
}

/* Variante sombre */
.with-dot-separator-dark {
    display: flex;
    align-items: baseline;
    gap: 15px;
    width: 100%;
}

.with-dot-separator-dark::after {
    content: "";
    flex: 1;
    border-bottom: 1px dashed rgba(16, 16, 16, 0.5);
    position: relative;
    top: -0.7em;
}

/* Variante claire (sur fond sombre) */
.with-dot-separator-light {
    display: flex;
    align-items: baseline;
    gap: 15px;
    width: 100%;
}

.with-dot-separator-light::after {
    content: "";
    flex: 1;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
    position: relative;
    top: -0.7em;
}

/* Variante avec points (dotted au lieu de dashed) */
.with-dotted-separator {
    display: flex;
    align-items: baseline;
    gap: 15px;
    width: 100%;
}

.with-dotted-separator::after {
    content: "";
    flex: 1;
    border-bottom: 2px dotted rgba(67, 67, 67, 0.3);
    position: relative;
    top: -0.7em;
}

/* ============================================
   LINKED IMAGES - Sous-liens
   ============================================ */
.qodef-linked-images .qodef-e-sublinks {
    list-style: none;
    margin: 10px 0 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 2px 5px;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.qodef-linked-images .qodef-e-sublinks li {
    margin: 0;
}

.qodef-linked-images .qodef-e-sublinks a {
    font-family: "Syne", sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-left: 18px;
    display: inline-block;
    text-transform: uppercase;
}

.qodef-linked-images .qodef-e-sublinks a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='126.6' height='121.5' viewBox='0 0 126.6 121.5'%3E%3Cpath d='M129.6,87.2l9.3,28.5-40.2,12,26.7,34.5-24.3,17.7L75,142.1,49.2,179.9,24.9,162.2l26.7-34.5L12.3,116l9.3-28.8,39.6,14.1L60,58.4H90l-1.5,43.2Z' transform='translate(-12.3 -58.4)' fill='%23d7fc69'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.qodef-linked-images .qodef-e-sublinks a:hover {
    color: #c4e65f;
}

.qodef-linked-images .qodef-e-sublinks a:hover::before {
    color: #c4e65f;
}

/* ============================================
   BLOG LIST - Excerpt avec ellipsis (...)
   ============================================ */
.qodef-blog .qodef-e-excerpt::after,
.qodef-addons-blog-list .qodef-e-excerpt::after {
    content: "...";
}

/* ============================================
   PAGE TITLE - Hauteur réduite sur mobile
   ============================================ */
@media only screen and (max-width: 768px) {
    .qodef-page-title.qodef--has-image {
        height: 20vh !important;
        min-height: 150px;
    }
}
